/* Structural components extracted from Physics; opt in with data-study-layout="classic". Theme tokens remain in study-theme.css. */
:where(html[data-study-layout="classic"]) .skip-link{position:fixed;left:12px;top:-80px;padding:12px 20px;background:var(--accent);color:var(--surface);z-index:100}
:where(html[data-study-layout="classic"]) .skip-link:focus{top:12px}
:where(html[data-study-layout="classic"]) .sidebar{width:244px;position:fixed;left:0;top:0;height:100dvh;padding:30px 20px 22px;border-right:1px solid var(--border);background:var(--sidebar);z-index:40;display:flex;flex-direction:column;overflow:auto}
:where(html[data-study-layout="classic"]) .brand-symbol{display:flex;align-items:center;justify-content:center;width:42px;height:46px;background:var(--hero);border-radius:13px;color:var(--hero-text);font:italic var(--study-size-hero) Georgia,serif}
:where(html[data-study-layout="classic"]) .sidebar nav{display:grid;gap:4px}
:where(html[data-study-layout="classic"]) .nav-item{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 13px;border-radius:9px;font-size:var(--study-size-sm);color:var(--muted);transition:background .15s}
:where(html[data-study-layout="classic"]) .side-bottom{display:flex;align-items:flex-start;gap:9px;margin-top:auto;padding:24px 12px 0;color:var(--muted);font-size:var(--study-size-xs)}
:where(html[data-study-layout="classic"]) .side-bottom small{display:block;margin-top:3px;font-size:var(--study-size-xs)}
:where(html[data-study-layout="classic"]) .status-dot{width:6px;height:6px;border-radius:50%;background:#79a087;margin-top:7px;flex-shrink:0}
:where(html[data-study-layout="classic"]) .app-shell{margin-left:244px;min-height:100vh}
:where(html[data-study-layout="classic"]) .topbar{height:78px;padding:0 42px;display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--border);background:var(--sidebar);position:sticky;top:0;z-index:30}
:where(html[data-study-layout="classic"]) .icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;vertical-align:middle}
:where(html[data-study-layout="classic"]) .page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:3px 0 25px}
:where(html[data-study-layout="classic"]) .page-head h1{font-size:var(--study-size-h1);line-height:1.35;margin:8px 0 7px;letter-spacing:-.8px;font-weight:700}
:where(html[data-study-layout="classic"]) .page-head p{color:var(--muted);margin:0;font-size:var(--study-size-sm)}
:where(html[data-study-layout="classic"]) .page-head .actions{display:flex;gap:8px}
:where(html[data-study-layout="classic"]) .pill,:where(html[data-study-layout="classic"]) .tag{font-size:var(--study-size-xs);line-height:1.6;padding:4px 9px;border:1px solid var(--border);border-radius:20px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
:where(html[data-study-layout="classic"]) .tag{border:0;border-radius:5px;background:var(--accent-light);color:var(--accent);padding:3px 8px}
:where(html[data-study-layout="classic"]) .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 15px;border-radius:8px;border:1px solid var(--border);font-size:var(--study-size-sm);line-height:1.4;font-weight:550;white-space:nowrap;background:var(--surface)}
:where(html[data-study-layout="classic"]) .button:hover{border-color:var(--accent);box-shadow:var(--shadow)}
:where(html[data-study-layout="classic"]) .button.primary{background:var(--accent);border-color:var(--accent);color:var(--surface)}
:where(html[data-study-layout="classic"]) .button.small{padding:7px 10px;min-height:31px;font-size:var(--study-size-xs)}
:where(html[data-study-layout="classic"]) .text-link{color:var(--accent);font-size:var(--study-size-sm);font-weight:600}
:where(html[data-study-layout="classic"]) .text-link:hover{text-decoration:underline}
:where(html[data-study-layout="classic"]) .stats{display:grid;grid-template-columns:repeat(4,1fr);margin:22px 0 32px;gap:12px}
:where(html[data-study-layout="classic"]) .stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:17px 19px;display:flex;align-items:center;gap:13px}
:where(html[data-study-layout="classic"]) .stat-label{font-size:var(--study-size-xs);line-height:1.7;color:var(--muted)}
:where(html[data-study-layout="classic"]) .stat-label strong{font-weight:550;color:var(--text);display:block;font-size:var(--study-size-xs)}
:where(html[data-study-layout="classic"]) .section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0 15px}
:where(html[data-study-layout="classic"]) .section-heading h2{font-size:var(--study-size-h3);font-weight:650;margin:0}
:where(html[data-study-layout="classic"]) .section-heading p{font-size:var(--study-size-xs);color:var(--muted);margin:4px 0 0}
:where(html[data-study-layout="classic"]) .chapter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
:where(html[data-study-layout="classic"]) .chapter-card{display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:20px 21px;transition:transform .15s,border-color .15s}
:where(html[data-study-layout="classic"]) .chapter-card:hover{transform:translateY(-2px);border-color:#9bbcb0}
:where(html[data-study-layout="classic"]) .chapter-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}
:where(html[data-study-layout="classic"]) .chapter-mark{display:flex;align-items:center;justify-content:center;width:33px;height:33px;font:italic var(--study-size-h2) Georgia,serif;background:var(--accent-light);border-radius:9px;color:var(--accent)}
:where(html[data-study-layout="classic"]) .chapter-card h3{font-size:var(--study-size-body);font-weight:600;margin:0 0 3px}
:where(html[data-study-layout="classic"]) .chapter-card .en{font-size:var(--study-size-xs);color:var(--muted);letter-spacing:.4px}
:where(html[data-study-layout="classic"]) .chapter-card p{font-size:var(--study-size-xs);color:var(--muted);line-height:1.9;margin:12px 0 17px;min-height:41px}
:where(html[data-study-layout="classic"]) .chapter-card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:var(--study-size-xs);color:var(--muted);border-top:1px solid var(--border);padding-top:13px}
:where(html[data-study-layout="classic"]) .chapter-card-bottom span:last-child{font-size:var(--study-size-body);color:var(--accent)}
:where(html[data-study-layout="classic"]) .bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}
:where(html[data-study-layout="classic"]) .panel{border:1px solid var(--border);border-radius:13px;background:var(--surface);padding:23px}
:where(html[data-study-layout="classic"]) .panel h3{font-size:var(--study-size-ui);margin:0 0 12px}
:where(html[data-study-layout="classic"]) .panel p{font-size:var(--study-size-sm);color:var(--muted);margin:7px 0;line-height:1.85}
:where(html[data-study-layout="classic"]) .filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;border:1px solid var(--border);background:var(--surface);padding:17px;border-radius:12px;margin-bottom:16px}
:where(html[data-study-layout="classic"]) .filter-field{display:grid;gap:5px;min-width:128px;flex:1}
:where(html[data-study-layout="classic"]) .filter-field label{font-size:var(--study-size-xs);color:var(--muted);font-weight:550}
:where(html[data-study-layout="classic"]) .filter-field input,:where(html[data-study-layout="classic"]) .filter-field select{width:100%;border-radius:7px;min-height:37px;padding:7px 10px;font-size:var(--study-size-sm);background:var(--bg)}
:where(html[data-study-layout="classic"]) .site-footer{margin:0 42px;padding:19px 0 25px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:15px;font-size:var(--study-size-xs);color:var(--muted);letter-spacing:.2px}
:where(html[data-study-layout="classic"]) .toast{position:fixed;left:calc(50% + 122px);bottom:25px;transform:translate(-50%,20px);background:var(--text);color:var(--surface);border-radius:9px;padding:11px 18px;font-size:var(--study-size-sm);z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 30px);box-shadow:var(--shadow)}
:where(html[data-study-layout="classic"]) .toast.show{opacity:1;transform:translate(-50%,0)}
:where(html[data-study-layout="classic"]) .hero{border-radius:18px;background:var(--hero);color:var(--hero-text);padding:34px 34px 28px;display:grid;grid-template-columns:1.5fr 1fr;gap:20px;overflow:hidden;position:relative}
:where(html[data-study-layout="classic"]) .hero .eyebrow{color:#b0cebf;font-size:var(--study-size-xs)}
:where(html[data-study-layout="classic"]) .hero h2{font-size:var(--study-size-hero);line-height:1.5;letter-spacing:-1px;font-weight:600;margin:14px 0 15px}
:where(html[data-study-layout="classic"]) .hero p{color:#c2d7cf;font-size:var(--study-size-sm);line-height:1.9;margin:0 0 23px;max-width:455px}
:where(html[data-study-layout="classic"]) .hero .button{background:#e6f0df;color:#244438;border:0}
:where(html[data-study-layout="classic"]) .hero-note{font-size:var(--study-size-xs);color:#a8c5ba;margin-left:14px}
:where(html[data-study-layout="classic"]) .hero-lab{display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;margin:10px 0;border-left:1px solid #cce3d218;padding:10px 0 10px 28px}
:where(html[data-study-layout="classic"]) .hero-lab .formula-big{font:italic var(--study-size-h1) Georgia,serif;letter-spacing:3px;color:#e7e4c5}
:where(html[data-study-layout="classic"]) .hero-lab .formula-big sub{font-size:var(--study-size-body)}
:where(html[data-study-layout="classic"]) .lab-rule{width:135px;height:1px;background:#a8cbb13b;margin:17px auto}
:where(html[data-study-layout="classic"]) .lab-label{color:#a9c5b8;font-size:var(--study-size-xs);letter-spacing:3px}
:where(html[data-study-layout="classic"]) .lab-flow{display:flex;align-items:center;gap:8px;margin-top:25px;flex-wrap:wrap;justify-content:center}
:where(html[data-study-layout="classic"]) .lab-flow span{background:#ffffff0a;border:1px solid #a7d5b827;border-radius:6px;font-size:var(--study-size-xs);padding:7px 9px}
:where(html[data-study-layout="classic"]) .lab-flow b{font-size:var(--study-size-sm);color:#8dac99;font-weight:400}
@media(max-width:800px){:where(html[data-study-layout="classic"]) .hero{display:block;padding:27px 24px}:where(html[data-study-layout="classic"]) .hero-lab{display:none}}
