/* Shared control tokens; scoped to settings, never the account or billing UI. */
/* Match the two motif controls without changing their selection behavior. */
html body :is(#rollerMotifLayoutRow,#stencilMotifLayoutRow){display:grid!important;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:12px!important;margin:20px 0 24px!important;color:var(--studio-pink,#ff6594)!important;font-weight:700!important}
html body :is(#rollerMotifLayoutRow,#stencilMotifLayoutRow)[hidden]{display:none!important}
html body :is(#rollerMotifLayoutRow,#stencilMotifLayoutRow)>.hc-feature-heading{grid-column:1 / -1;grid-row:1;color:var(--studio-pink,#ff6594)!important}
html body :is(#rollerMotifLayoutRow,#stencilMotifLayoutRow)>:is(.beta-help,.hc-feature-help,button[aria-label^="About "]){grid-column:2;grid-row:1;position:static!important;margin:0!important}
html body :is(#rollerMotifLayout,#stencilMotifLayout){grid-column:1 / -1;grid-row:2;display:block!important;width:100%!important;min-width:0;margin:0!important;box-sizing:border-box;color:var(--hc-control-ink,#382e3b)!important;font-weight:500!important}
html body :is(aside.side,#rollerSide) details.hc-settings-card>summary{list-style:none}
html body :is(aside.side,#rollerSide) details.hc-settings-card>summary::-webkit-details-marker{display:none}
html body :is(aside.side,#rollerSide) details.hc-settings-card>summary::after{content:'›';display:inline-block;margin-left:auto;transform:none}
html body :is(aside.side,#rollerSide) details.hc-settings-card[open]>summary::after{transform:rotate(90deg)}
html body .hc-settings-toggle[aria-expanded="false"] .hc-settings-caret{transform:rotate(-90deg)}
html body .hc-settings-toggle[aria-expanded="true"] .hc-settings-caret{transform:none}
:is(aside.side,#rollerSide){--hc-control-ink:#382e3b;--hc-control-pink:#ef7895;--hc-control-teal:#197b80;font-family:Quicksand,sans-serif;color:var(--hc-control-ink)}
:is(aside.side,#rollerSide) :is(label,.lab,.ctllab,.ctlname,.togl,.togtext){font-family:Quicksand,sans-serif!important;font-size:13px!important;line-height:1.45!important;color:var(--hc-control-ink)}
:is(aside.side,#rollerSide) :is(input[type=number],select,.numbox,.hc-mirrorbox){font-family:Quicksand,sans-serif!important;font-size:13px!important;color:var(--hc-control-ink)}
:is(aside.side,#rollerSide) :is(summary,.hc-settings-toggle){font-family:'Baloo 2',Quicksand,sans-serif!important;font-size:16px!important;color:var(--hc-control-ink)}
:is(aside.side,#rollerSide) :is(.unitlabel,.ctlunit,#depVal,#cellVal){font:700 13px/1.45 Quicksand,sans-serif!important;color:var(--hc-control-pink)!important}
:is(aside.side,#rollerSide) :is(.beta-help,.stencil-toggle-help,.hc-feature-help,button[aria-label^="About "]){box-sizing:border-box;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;flex:0 0 18px!important;padding:0!important;border:1px solid var(--hc-control-teal)!important;border-radius:50%!important;background:#fff!important;color:var(--hc-control-teal)!important;font:700 12px/16px Quicksand,sans-serif!important;box-shadow:none!important;cursor:pointer}
:is(aside.side,#rollerSide) .hc-feature-heading{display:flex;align-items:center;gap:8px;width:100%}
:is(aside.side,#rollerSide) .hc-feature-heading>.hc-feature-help{margin-left:auto!important}
:is(aside.side,#rollerSide) .hc-feature-select{display:block!important;width:100%;margin-top:8px}
:is(aside.side,#rollerSide) .hc-feature-help:focus-visible{outline:2px solid var(--hc-control-teal);outline-offset:3px}
/* No information icons on disclosure headings (including Advanced). */
/* Keep repeat-layout help above its select, including legacy inline helpers. */
html body #rollerSide #rollerMotifLayoutRow{display:grid!important;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;box-sizing:border-box}
html body #rollerSide #rollerMotifLayoutRow[hidden]{display:none!important}
html body #rollerSide #rollerMotifLayoutRow>.hc-feature-heading{grid-column:1 / -1;grid-row:1}
html body #rollerSide #rollerMotifLayoutRow>:is(.beta-help,.hc-feature-help,button[aria-label^="About "]){grid-column:2;grid-row:1;position:static!important;margin:0!important}
html body #rollerSide #rollerMotifLayout{grid-column:1 / -1;grid-row:2;display:block!important;width:100%!important;min-width:0;margin:0!important;box-sizing:border-box}
:is(aside.side,#rollerSide) :is(summary,.hc-settings-toggle) :is(.beta-help,.stencil-toggle-help,.hc-feature-help,button[aria-label^="About "]),
:is(aside.side,#rollerSide) .hc-header-help{display:none!important}

/* Higher-tier previews stay editable; restricted exports use pale pink. */
html body .hc-app-header :is(#exportBtn,#rlHeaderExport,#stencilDownload).hc-download-plan-restricted,
html body #rlExportBtn.hc-download-plan-restricted{background:#f6bfd1!important;color:#fff!important;box-shadow:none!important}

/* Shared label alignment and artwork color across all three studios. */
:is(aside.side,#rollerSide) :is(label,.lab,.ctllab):not(:has(select)):has(> .beta-help,> .hc-feature-help,> .stencil-toggle-help,> .beta-unit-help){display:flex!important;align-items:center;gap:8px;width:100%;box-sizing:border-box}
:is(aside.side,#rollerSide) :is(label,.lab,.ctllab)>:is(.beta-help,.hc-feature-help,.stencil-toggle-help,.beta-unit-help){margin-left:auto!important;flex-shrink:0}
:is(aside.side,#rollerSide) .hc-feature-heading{gap:8px}
:is(aside.side,#rollerSide) .hc-feature-heading:has([aria-label="About Uploaded artwork"]){color:var(--studio-pink,#ff6594)!important;font-weight:700}
