/* CamuflaAds / application design system. Authored media and canvases are excluded. */
:root{
  --pd-bg:var(--custom-background,var(--bg,#0b0b0b));
  --pd-panel:var(--custom-surface,var(--panel,#141414));
  --pd-raised:var(--custom-raised,var(--panel-raised,#202020));
  --pd-border:color-mix(in srgb,var(--custom-border,var(--border,#303030)) 72%,transparent);
  --pd-text:var(--custom-text,var(--text,#f4f4f4));
  --pd-muted:var(--custom-muted,var(--muted,#a1a1a1));
  --pd-shadow:0 8px 28px #0000000d,0 1px 2px #00000012;
  --pd-radius:16px;
  --pd-hover:color-mix(in srgb,var(--pd-text) 5%,var(--pd-panel));
  --sidebar:248px;
}
html[data-color-mode=light]{--pd-shadow:0 5px 22px #15151506,0 1px 3px #15151505}
body{font-weight:450;-webkit-font-smoothing:antialiased}
.sidebar,.commerce-sidebar{
  width:248px;padding:25px 14px 16px;gap:0;
  border-right:1px solid var(--pd-border);overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--pd-muted) 22%,transparent) transparent;
}
.app-shell,.commerce-shell{margin-left:248px}
.sidebar .brand,.commerce-sidebar .brand-lockup{padding:0 12px;font-size:24px;letter-spacing:-1px;flex-shrink:0}
.sidebar .brand img,.commerce-sidebar .brand-lockup img{width:32px;height:32px}
.workspace-label,.commerce-sidebar .workspace-switch{margin:28px 4px 22px;padding:13px 12px;border-radius:12px;gap:10px;box-shadow:inset 0 1px 0 #ffffff04}
.workspace-label strong,.workspace-switch strong{font-size:12px;line-height:1.4;font-weight:650}
.workspace-label div>span,.workspace-switch small{font-size:10px;line-height:1.5;margin-top:3px}
.workspace-avatar,.workspace-symbol{width:32px;height:32px;flex-shrink:0;border-radius:10px}
.sidebar .nav-caption,.commerce-sidebar .nav-caption{font-size:9px;font-weight:700;letter-spacing:1.65px;margin:0 15px 10px;color:var(--pd-muted)}
.sidebar .nav-links,.commerce-nav{display:grid;gap:4px}
.sidebar .nav-link,.sidebar .account-bridge-link,.commerce-nav>a{
  position:relative;display:flex;align-items:center;gap:11px;min-height:38px;padding:9px 13px;
  font-size:12px;font-weight:550;line-height:1.45;border-radius:9px;white-space:normal;
  transition:background .16s,color .16s,box-shadow .16s;
}
.sidebar .nav-link .icon,.sidebar .account-bridge-link svg,.commerce-nav>a .c-icon{width:17px;height:17px;opacity:.8;flex-shrink:0}
html:root .sidebar .nav-link.active,html:root .sidebar .account-bridge-link.active,html:root .commerce-nav>a.active{
  background:var(--pd-text)!important;color:var(--pd-bg)!important;box-shadow:0 2px 8px #00000010!important;font-weight:700;
}
html:root .sidebar .nav-link.active .icon,html:root .sidebar .account-bridge-link.active svg,html:root .commerce-nav>a.active .c-icon{color:inherit!important;opacity:1}
html:root .sidebar .nav-link.active .nav-dot{background:currentColor!important;width:4px;height:4px}
.sidebar .account-bridge-links{margin-top:20px;padding-top:16px}
.sidebar-bottom{padding-top:20px}
.sidebar .sidebar-note{display:none}
.sidebar .sidebar-signature,.sidebar-mini{margin-top:14px;padding:14px 12px 0;font-size:8px;letter-spacing:1px;color:var(--pd-muted);border-color:var(--pd-border)}
.sidebar-studio{border-radius:10px;font-size:12px;padding:12px}
.commerce-sidebar .nav-group{margin-bottom:22px}
.topbar,.commerce-topbar{height:72px;padding:0 32px;gap:20px;border-color:var(--pd-border)}
.breadcrumb,.breadcrumbs{font-size:12px;gap:12px}
.breadcrumb strong,.breadcrumbs strong{font-weight:650}
.topbar-actions,.topbar-right{gap:12px}
.topbar .service-badge{font-size:10px;padding:8px 11px;border:1px solid var(--pd-border);border-radius:30px}
.topbar .help-button,.topbar .color-mode-toggle,.commerce-topbar .color-mode-toggle{min-height:36px;border-radius:9px;font-size:11px}
.topbar .avatar,.topbar .account-bridge-avatar,.commerce-topbar .avatar{width:35px;height:35px;border-radius:11px;font-size:11px}
.topbar-date{font-size:11px}
.app-shell>main,.commerce-shell>.commerce-main{width:100%;max-width:1500px;margin-inline:auto;padding:30px 34px 0}
.app-shell>main>#account-access-panel{border:1px solid var(--pd-border);border-radius:10px;padding:10px 14px;font-size:11px;margin-bottom:20px;background:var(--pd-panel)}
.app-shell>main>footer,.commerce-footer{border-color:var(--pd-border);padding:26px 0;margin-top:30px;color:var(--pd-muted)}
.commerce-footer>span,.commerce-footer>a,.commerce-footer>button{font-size:10px}
/* A compact introduction keeps the working area close to the top of the page. */
.studio-hero{height:auto;min-height:252px;border-radius:var(--pd-radius);border-color:var(--pd-border);box-shadow:var(--pd-shadow)}
.hero-content{padding:28px 32px;max-width:650px}
.hero-content h1{font-size:34px;line-height:1.13;letter-spacing:-1.15px;margin:14px 0 12px;font-weight:700}
.hero-content>p{font-size:12px;line-height:1.6}
.hero-content>.eyebrow{font-size:9px;letter-spacing:1.5px}
.hero-specs{margin-top:16px;font-size:9px;gap:16px}
.hero-art{object-position:right center}
.hero-edition{font-size:8px}
.project-heading{margin:28px 0 18px}
.project-heading h2{font-size:24px;font-weight:650;letter-spacing:-.65px}
.project-heading .eyebrow{font-size:9px;font-weight:600;letter-spacing:1.4px}
.project-status{font-size:11px}
.workflow-banner{min-height:164px;border-radius:var(--pd-radius);margin-top:24px;padding:26px 30px;border-color:var(--pd-border)}
.workflow-content>h2{font-size:26px;font-weight:650;letter-spacing:-.6px;margin-top:8px}
.workflow-content>p{font-size:12px;line-height:1.7}
/* Shared account and administration surfaces, without touching editor canvases. */
.commerce-body .page-heading,.commerce-surface .page-heading{margin-bottom:28px;gap:24px}
.commerce-body .page-heading h1,.commerce-surface .page-heading h1{font-size:clamp(27px,2.7vw,36px);font-weight:700;line-height:1.2;letter-spacing:-1px;margin:10px 0}
.commerce-body .page-heading p,.commerce-surface .page-heading p{font-size:13px;line-height:1.7;max-width:680px}
.commerce-body .page-heading .eyebrow,.commerce-surface .page-heading .eyebrow{font-size:10px;letter-spacing:1.7px}
.commerce-body :is(.panel,.metric-card,.plan-card,.integration-card),.commerce-surface :is(.panel,.metric-card,.plan-card,.integration-card){border-radius:var(--pd-radius);border-color:var(--pd-border);box-shadow:var(--pd-shadow);overflow-wrap:anywhere}
.commerce-body .panel-head,.commerce-surface .panel-head{padding:22px 24px;gap:16px;border-color:var(--pd-border)}
.commerce-body .panel-head h2,.commerce-surface .panel-head h2{font-size:16px;letter-spacing:-.2px;font-weight:650}
.commerce-body .panel-head p,.commerce-surface .panel-head p{font-size:12px;line-height:1.6;margin-top:5px}
.commerce-body .panel-body,.commerce-surface .panel-body{padding:24px}
.commerce-body .metric-card,.commerce-surface .metric-card{padding:23px 24px}
.commerce-body .metric-top,.commerce-surface .metric-top{font-size:12px;line-height:1.5}
.commerce-body .metric-value,.commerce-surface .metric-value{font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:17px 0 10px}
.commerce-body .metric-bottom,.commerce-surface .metric-bottom{font-size:11px;line-height:1.6}
.commerce-body .metric-top .c-icon,.commerce-surface .metric-top .c-icon{width:18px;height:18px;opacity:.7}
.commerce-body .button,.commerce-surface .button{min-height:39px;padding:10px 14px;border-radius:9px;font-size:12px;font-weight:650;gap:8px;transition:background .16s,border-color .16s,box-shadow .16s}
.commerce-body .button.small,.commerce-surface .button.small{min-height:32px;padding:7px 11px;font-size:11px}
.commerce-body .button.primary:not(:disabled),.commerce-surface .button.primary:not(:disabled){box-shadow:0 2px 6px #00000010}
.commerce-body .button:focus-visible,.commerce-surface .button:focus-visible{outline:2px solid var(--pd-text);outline-offset:3px}
.commerce-body .form-field>label,.commerce-surface .form-field>label{font-size:12px;font-weight:650}
.commerce-body .form-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.commerce-surface .form-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:9px;min-height:43px;font-size:13px;padding:11px 13px}
.commerce-body .field-note,.commerce-surface .field-note{font-size:11px;line-height:1.7}
.commerce-body .data-table th,.commerce-surface .data-table th{padding:14px 20px;font-size:10px;font-weight:650;letter-spacing:.3px;background:var(--pd-panel);border-color:var(--pd-border)}
.commerce-body .data-table td,.commerce-surface .data-table td{padding:17px 20px;font-size:12px;border-color:var(--pd-border);line-height:1.6}
.commerce-body .data-table tbody tr:hover,.commerce-surface .data-table tbody tr:hover{background:var(--pd-hover)}
.commerce-body .table-toolbar,.commerce-surface .table-toolbar{padding:18px 22px;gap:12px}
.commerce-body .search-input,.commerce-surface .search-input{min-height:40px;border-radius:9px;font-size:12px}
.commerce-body .badge,.commerce-surface .badge{border-radius:30px;padding:4px 10px;font-size:10px;font-weight:600}
.commerce-body .empty-state,.commerce-surface .empty-state{padding:50px 24px;min-height:240px}
.commerce-body .empty-state h3,.commerce-surface .empty-state h3{font-size:18px;letter-spacing:-.3px}
.commerce-body .empty-state p,.commerce-surface .empty-state p{font-size:13px;line-height:1.8;max-width:420px}
.commerce-body .empty-icon,.commerce-surface .empty-icon{width:52px;height:52px;border-radius:16px;margin-bottom:18px}
.commerce-body .plan-card,.commerce-surface .plan-card{padding:28px}
.commerce-body .plan-card h2,.commerce-surface .plan-card h2{font-size:21px;font-weight:650}
.commerce-body .plan-price,.commerce-surface .plan-price{letter-spacing:-1.8px;font-weight:650}
.commerce-body .plan-features,.commerce-surface .plan-features{font-size:13px;line-height:1.65}
.commerce-dialog{border-radius:20px;border-color:var(--pd-border);box-shadow:0 28px 90px #00000045;max-height:calc(100dvh - 48px)}
.commerce-dialog::backdrop{background:#0008;backdrop-filter:blur(5px)}
.user-menu-popover{border-radius:13px;box-shadow:0 16px 50px #0003;border-color:var(--pd-border)}
.toast{border-radius:12px;box-shadow:var(--pd-shadow)}
/* Login keeps the same fields and authentication flow. */
.auth-layout{padding:16px;gap:16px;background:var(--pd-bg);grid-template-columns:minmax(0,1.06fr) minmax(400px,.94fr)}
.auth-story{border:1px solid var(--pd-border);border-radius:22px;padding:36px 42px;min-height:calc(100dvh - 32px)}
.auth-story-content{padding:52px 0 25px;max-width:600px}
.auth-story h1{font-size:clamp(42px,4.3vw,66px);font-weight:650;letter-spacing:-2.4px}
.auth-story-content>p{font-size:15px;line-height:1.8;max-width:390px}
.auth-story .story-labels>span{font-size:10px;border-radius:30px;padding:7px 12px}
.auth-art{height:215px;opacity:.85}
.auth-panel{border-radius:22px;background:transparent!important;padding:55px 36px}
.auth-card{max-width:395px;margin:42px 0 26px}
.auth-card h2{font-size:32px;font-weight:700;letter-spacing:-1px}
.auth-mark{width:48px;height:48px;border-radius:14px;margin-bottom:26px;box-shadow:var(--pd-shadow)}
.auth-card .auth-description{font-size:14px;line-height:1.7;margin-bottom:28px}
.auth-card .form-field{margin-bottom:20px}
.auth-card .button.primary{min-height:47px;margin-top:10px;border-radius:10px;font-size:13px}
.auth-toplink{font-size:12px}
.auth-switch{font-size:12px;line-height:1.8;margin-top:26px}
.auth-footnote{font-size:11px;max-width:370px}
.mobile-navigation{border-radius:20px 20px 0 0;border-color:var(--pd-border)}
.mobile-navigation .nav-link{min-height:44px;font-size:13px;padding:12px;border-radius:9px}
@media(min-width:980px) and (max-width:1199px){
  :root{--sidebar:220px}.sidebar,.commerce-sidebar{width:220px;padding-inline:11px}.app-shell,.commerce-shell{margin-left:220px}
  .sidebar .nav-link,.sidebar .account-bridge-link,.commerce-nav>a{font-size:11px;padding-inline:10px}
  .app-shell>main,.commerce-shell>.commerce-main{padding:25px 24px 0}.topbar,.commerce-topbar{padding-inline:24px}
  .topbar .service-badge{display:none}.hero-content{padding:25px}.hero-content h1{font-size:31px}
}
@media(max-width:979px){
  :root{--sidebar:0px}.app-shell{margin-left:0}.sidebar{display:none}
  .commerce-sidebar{width:248px}.topbar,.commerce-topbar{height:64px;padding-inline:22px}
  .app-shell>main,.commerce-shell>.commerce-main{padding:24px 22px 0}
  .auth-layout{grid-template-columns:1fr 1fr}.auth-story{padding:30px}.auth-panel{padding-inline:24px}.auth-story h1{font-size:45px}
}
/* Administration keeps its sidebar until its existing 760 px drawer boundary. */
@media(min-width:760px) and (max-width:979px){
  .commerce-body{--sidebar:220px}
  .commerce-sidebar{width:220px;padding-inline:11px}
  .commerce-shell{margin-left:220px}
}
@media(max-width:759px){
  .commerce-shell{margin-left:0}
  .auth-layout{display:block;padding:0}.auth-story{display:none}.auth-panel{min-height:100dvh;border-radius:0;padding:24px}
  .auth-card{margin:40px 0 24px}.auth-card h2{font-size:30px}.auth-panel>.color-mode-toggle{position:static}
  .auth-toplink{top:31px;right:24px}.auth-footnote{padding-bottom:12px}
  .commerce-body .form-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
  .commerce-surface .form-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
}
@media(max-width:739px){
  .app-shell>main,.commerce-shell>.commerce-main{padding:20px 16px 0}
  .topbar,.commerce-topbar{padding:0 16px;gap:10px}.topbar-actions,.topbar-right{gap:8px}
  .topbar .service-badge{display:none}.topbar .help-button{padding:9px;font-size:11px}
  .studio-hero{height:auto;min-height:218px}.hero-content{padding:25px 22px}.hero-content h1{font-size:31px}.hero-art{opacity:.45}
  .hero-content>.eyebrow{font-size:8px;letter-spacing:1.1px}.hero-specs{font-size:8px;gap:11px}.hero-edition{display:none}
  .project-heading{margin:24px 0 16px}.project-heading h2{font-size:22px}.project-status{font-size:10px}
  .workflow-banner{padding:24px;min-height:188px}.workflow-content>h2{font-size:24px}
  .commerce-body .page-heading,.commerce-surface .page-heading{gap:18px;margin-bottom:22px}
  .commerce-body .panel-head,.commerce-surface .panel-head{padding:20px}
  .commerce-body .panel-body,.commerce-surface .panel-body{padding:20px}
  .commerce-body .metric-card,.commerce-surface .metric-card{padding:20px}
  .commerce-body .metric-value,.commerce-surface .metric-value{font-size:29px}
  .commerce-body .plan-card,.commerce-surface .plan-card{padding:24px}
  .commerce-dialog{border-radius:16px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
}
@media(max-width:379px){
  .app-shell>main,.commerce-shell>.commerce-main{padding-inline:12px}.topbar,.commerce-topbar{padding-inline:12px}
  .hero-content{padding:22px 19px}.hero-content h1{font-size:28px}.hero-content>.eyebrow{font-size:7px}
  .topbar .help-button{font-size:10px;gap:5px}.topbar .help-button>.icon{width:13px}
  .project-status{max-width:120px;font-size:9px}.auth-panel{padding-inline:20px}.auth-toplink{right:20px}
}
@media(prefers-reduced-motion:reduce){
  .sidebar .nav-link,.sidebar .account-bridge-link,.commerce-nav>a,.commerce-body .button,.commerce-surface .button{transition:none}
}

/* Subscription guidance belongs to the signed-in studio. */
#studio-commerce #subscription-tool-notice,
.app-shell > main > #account-access-panel[data-subscription-notice] {
  display:flex;
  align-items:center;
  gap:16px;
  padding:clamp(16px, 2.5vw, 26px);
  margin:0 0 20px;
  border:1px solid var(--brand-border);
  border-inline-start:4px solid var(--brand-primary);
  border-radius:14px;
  background:var(--brand-surface);
  color:var(--brand-text);
}
#studio-commerce #subscription-tool-notice > div,
#account-access-panel[data-subscription-notice] > div {flex:1;min-width:0}
#studio-commerce #subscription-tool-notice h2,
#account-access-panel[data-subscription-notice] strong {
  margin:0;
  color:var(--brand-text);
  font-size:clamp(18px, 2vw, 24px);
  font-weight:650;
  line-height:1.25;
}
#studio-commerce #subscription-tool-notice p,
#account-access-panel[data-subscription-notice] p {
  margin:6px 0 0;
  color:var(--brand-muted);
  line-height:1.5;
  font-size:14px;
}
.app-shell [data-subscription-notice] .subscription-plans-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 20px;
  margin:0;
  border:0;
  border-radius:12px;
  background:var(--brand-primary);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
  white-space:nowrap;
}
.app-shell [data-subscription-notice] .subscription-plans-link[hidden],
.app-shell > main > #account-access-panel[data-subscription-notice][hidden] {display:none}
.app-shell [data-subscription-notice] a:focus-visible {
  outline:2px solid var(--brand-focus);
  outline-offset:4px;
}
html[data-color-mode] body .user-dashboard .ud-overview-main.ud-needs-subscription {
  grid-template-columns:minmax(0,1fr);
}
@media(max-width:600px){
  #studio-commerce #subscription-tool-notice,
  .app-shell > main > #account-access-panel[data-subscription-notice] {flex-wrap:wrap;align-items:flex-start}
  #studio-commerce #subscription-tool-notice > div,
  #account-access-panel[data-subscription-notice] > div {flex:1 1 75%}
}


/* Only displayed after the tool itself confirms the current plan excludes it. */
camufla-tool-upgrade[data-tool-upgrade] {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  margin-block:12px 20px; padding:clamp(16px,2.5vw,26px);
  color:var(--brand-text); background:var(--brand-surface);
  border:1px solid var(--brand-border); border-inline-start:4px solid var(--brand-primary); border-radius:14px;
}
camufla-tool-upgrade strong {display:block; font-size:clamp(17px,2vw,22px); line-height:1.25}
camufla-tool-upgrade p {margin:6px 0 0; color:var(--brand-muted); font-size:14px; line-height:1.5}
.app-shell .account-access-panel:not([hidden]):has(>camufla-tool-upgrade) {display:block; padding:0; border:0; background:transparent}
.account-access-panel>camufla-tool-upgrade {margin:0}
.app-shell [data-tool-upgrade] a.subscription-plans-link {
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
  min-height:44px; padding:10px 20px; border:0; border-radius:12px;
  color:white; background:var(--brand-primary); font-size:14px; font-weight:650; text-decoration:none;
}
.app-shell [data-tool-upgrade] a[hidden] {display:none}
.app-shell [data-tool-upgrade] a:focus-visible {outline:2px solid var(--brand-focus); outline-offset:4px}
@media(max-width:600px){camufla-tool-upgrade[data-tool-upgrade]{align-items:flex-start;flex-wrap:wrap}}

.profile-plan-dialog .profile-plan-actions a[hidden] {display:none}
.profile-plan-dialog [data-tool-upgrade] a.subscription-plans-link:not([hidden]) {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding:8px 16px; border-radius:10px; background:var(--brand-primary); color:white; text-decoration:none;
}


/* Plan indicators in the studio navigation. The regular tool icon stays visible. */
:is(.sidebar, .commerce-sidebar, #mobile-navigation) a[data-sidebar-plan-lock] [data-sidebar-lock] {
  display: inline-block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-inline-start: auto;
  color: var(--brand-link);
  pointer-events: none;
}
:is(.sidebar, .commerce-sidebar, #mobile-navigation) a.active[data-sidebar-plan-lock] [data-sidebar-lock] {
  color: currentColor;
}
@media (min-width: 981px) {
  html[data-sidebar-compact=true][data-color-mode] :is(.sidebar, .commerce-sidebar) a[data-sidebar-plan-lock] svg[data-sidebar-lock] {
    display: block !important;
    position: absolute;
    inset-block-end: 2px;
    inset-inline-end: 1px;
    box-sizing: content-box;
    width: 11px !important;
    height: 11px !important;
    margin: 0;
    padding: 2px;
    border-radius: 5px;
    background: var(--brand-surface);
    color: var(--brand-link);
  }
}

#sidebar-upgrade-dialog {
  box-sizing: border-box;
  width: min(28rem, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  overflow: auto;
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  background: var(--brand-surface);
  color: var(--brand-text);
  box-shadow: var(--brand-float-shadow);
}
#sidebar-upgrade-dialog::backdrop { background: rgb(0 0 0 / .62); }
#sidebar-upgrade-dialog :is(.sidebar-upgrade-close, .sidebar-upgrade-symbol) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
#sidebar-upgrade-dialog .sidebar-upgrade-close {
  float: right;
  padding: 0;
  border: 1px solid var(--brand-border);
  background: transparent;
  color: var(--brand-text);
  cursor: pointer;
}
#sidebar-upgrade-dialog .sidebar-upgrade-close svg { width: 18px; height: 18px; }
#sidebar-upgrade-dialog .sidebar-upgrade-symbol { background: var(--brand-soft); color: var(--brand-link); }
#sidebar-upgrade-dialog .sidebar-upgrade-symbol svg { width: 22px; height: 22px; }
#sidebar-upgrade-dialog :is(camufla-tool-upgrade[data-tool-upgrade], .sidebar-subscribe-notice) {
  clear: both;
  display: block;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow-wrap: anywhere;
}
#sidebar-upgrade-title { display: block; font-size: clamp(19px, 4vw, 24px); line-height: 1.3; color: var(--brand-text); }
#sidebar-upgrade-description { margin: 8px 0 0; line-height: 1.55; font-size: 14px; color: var(--brand-muted); }
#sidebar-upgrade-dialog .subscription-plans-link:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-block-start: 24px;
  box-sizing: border-box;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  font-weight: 650;
  text-decoration: none;
}
#sidebar-upgrade-dialog [hidden] { display: none; }
#sidebar-upgrade-dialog :is(a, button):focus-visible { outline: 2px solid var(--brand-focus); outline-offset: 3px; }
@media (forced-colors: active) {
  #sidebar-upgrade-dialog .subscription-plans-link { border: 1px solid ButtonText; }
}
