/* Shared controls; the maquette palette is scoped away from legacy Next pages. */
html{color-scheme:light}html[data-theme=dark]{color-scheme:dark}
.pd-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:100px;background:var(--surface);color:var(--ink);font:inherit;font-size:.82rem;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{border-color:var(--clay,var(--accent-ink))}.theme-toggle:focus-visible{outline:3px solid var(--clay,var(--accent-ink));outline-offset:3px}
.theme-light-icon{display:none}[data-theme=dark] .theme-light-icon{display:inline-block}[data-theme=dark] .theme-dark-icon{display:none}
.next-theme-toggle{position:fixed;right:16px;bottom:16px;z-index:40}
.header-tools{display:flex;align-items:center;gap:10px;margin-left:auto}
.pd-site{--button-bg:#344d3e;--button-text:#fff;--button-hover:#263e2f;--featured:#e9efe5;--subtle:#edf0e8;--sand:#f2e9dd;--blue:#e0e8ec;--positive:#304629;--positive-bg:#e9efe3;--saved:#9b5252;--hero-bg:#344d3e;--hero-text:#fff}
.pd-site[data-theme=dark]{--ink:#edf2eb;--muted:#b4c0b6;--paper:#141c18;--surface:#1c2721;--line:#3b4b40;--sage:#293b2e;--green:#b4d0b6;--clay:#e0aa90;--peach:#352c26;--button-bg:#b4d0b6;--button-text:#14231a;--button-hover:#c8dfc6;--featured:#25372b;--subtle:#202e25;--sand:#372f27;--blue:#23353c;--positive:#c4ddba;--positive-bg:#2b3f2b;--saved:#edabab;--hero-bg:#293f31;--hero-text:#edf2eb}
.pd-site .btn{background:var(--button-bg);border-color:var(--button-bg);color:var(--button-text)}
.pd-site .btn:hover{background:var(--button-hover)}
.pd-site .btn.secondary{background:transparent;color:var(--green);border-color:var(--line)}
.pd-site .btn.secondary:hover{background:var(--sage);border-color:var(--green)}
.pd-site .btn.clay{background:var(--clay);border-color:var(--clay);color:var(--paper)}
.pd-site .cover-card{background:var(--hero-bg);color:var(--hero-text)}
.pd-site .cover-card p,.pd-site .cover-card .pill{color:#e2e9df}
.pd-site .cover-card .media-icon{background:#e2e9df;color:#344d3e}
.pd-site :is(.compare,.mobile-plan,.resource,.workspace-card,.metric,.booking-gate,.calendar-host,.search,.auth-form-card input,.app-toolbar select,.payment-choice,.chips span,.skip){background:var(--surface);color:var(--ink)}
.pd-site :is(.compare .featured,.mobile-plan.featured){background:var(--featured)}
.pd-site .compare tbody tr:hover>*{background:var(--subtle)}
.pd-site .compare tbody tr:hover>.featured{background:var(--sage)}
.pd-site :is(.muted-panel,.center-panel){background:var(--subtle)}
.pd-site .resource-art.sand{background:var(--sand)}.pd-site .resource-art.blue{background:var(--blue)}
.pd-site .resource-art{min-height:140px;gap:14px}.pd-site .resource-art .pd-icon{width:42px;height:42px;stroke-width:1.5}
.pd-site .library-symbol{display:flex;align-items:center;justify-content:center;line-height:1}
.pd-site .library-art-label{text-transform:none;letter-spacing:0;font-size:.88rem}
.pd-site .library-save{color:var(--green);display:flex;align-items:center;justify-content:center}.pd-site .library-save[aria-pressed=true]{color:var(--saved)}.pd-site .library-save[aria-pressed=true] .pd-icon{fill:currentColor}
.pd-site :is(.library-count,.library-meta){color:var(--muted)!important}
.pd-site .library-toolbar button[aria-pressed=true],.pd-site .payment-choice button[aria-pressed=true],.pd-site .side button.active{background:var(--button-bg)!important;color:var(--button-text);border-color:var(--button-bg)}
.pd-site .yes{color:var(--positive);background:var(--positive-bg);border-color:var(--line)}.pd-site .no{color:var(--muted)}
.pd-site .admin-table th,.pd-site .admin-table td span{color:var(--muted)}
.pd-site .admin-table th,.pd-site .admin-table td,.pd-site .library-transcript{border-color:var(--line)}
.pd-site .demo-tag{background:var(--peach);color:var(--clay)}
.pd-site :is(input,select,textarea){color:var(--ink)}.pd-site input::placeholder{color:var(--muted);opacity:1}
.pd-site .mini+.mini,.pd-site .booking-notice{border-color:var(--line)}
.pd-site .chart>div{background:var(--green)}
@media(min-width:901px){.header-tools{order:2}.pd-site header nav{gap:16px}.theme-toggle .theme-label{display:none}}
@media(max-width:900px){.pd-site header{flex-wrap:wrap}.pd-site header .header-tools{margin-left:auto}.pd-site header nav{flex-basis:100%;background:var(--paper)}.theme-toggle .theme-label{display:none}}
@media(max-width:480px){.header-tools{gap:7px}.theme-toggle{padding:9px}.pd-site .brand{font-size:1rem;gap:7px}.pd-site .brand svg{width:26px;height:26px}.pd-site .mobile-menu{padding:9px 11px}.pd-site .resource-art{min-height:130px}}
@media(min-width:901px){.pd-site header nav{margin-left:auto}.pd-site .header-tools{margin-left:0}}

/* Action icons: consistent stroke, no flex shrink, labels may wrap. */
.pd-site .action-icon{width:18px;height:18px;min-width:18px;flex:0 0 18px;vertical-align:-3px;stroke-width:1.8}
.pd-site .btn{gap:10px;min-height:48px;line-height:1.4;overflow-wrap:normal}
.pd-site .btn .action-icon{align-self:center}
.pd-site .note a .action-icon{width:15px;height:15px;min-width:15px;margin-left:3px;vertical-align:-3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.pd-site .btn .action-icon{transition:transform 180ms ease-out}.pd-site .btn:hover .action-icon{transform:translateX(2px)}}
@media(max-width:480px){.pd-site .btn{padding-inline:17px}.pd-site .hero .actions>.btn{justify-content:center}.pd-site .oneshot-side>.btn{width:100%}}
