/* Compact native-inspired windows. Authored colors and category membership stay intact. */
#properties-toggle{display:none}
.started .category-browser details{margin:0}
.started .workbench{display:grid;grid-template-rows:minmax(0,1fr)}
.started .properties{grid-column:auto;max-height:none}
@media(max-width:900px) and (min-width:801px){.started .workbench{grid-template-columns:205px minmax(0,1fr) 190px}}
@media(max-width:800px){#properties-toggle{display:inline-flex}.started.properties-open .properties{display:block;position:fixed;right:8px;top:125px;bottom:35px;width:min(260px,85vw);z-index:15;box-shadow:0 6px 24px #000a}.started .workbench{overflow:hidden}.started .library{max-height:none}.started .simulation-stage{min-height:0}.started .transport-end .mono{display:block;font-size:9px}}

.started{--accent:#a9c9ed;--surface:#181c22;--raised:#252b34;--line:#424b58;font-size:12px}
.started .app-header{height:44px;padding:0 12px}.started .brand{font-size:15px}.started .brand small{display:none}.started .brand>svg{width:21px;height:25px}
.started #workspace{height:calc(100dvh - 44px)}.started .transport{min-height:40px;padding:4px 8px;gap:6px}.started .transport button,.started .transport select{height:28px}
.started .workbench{grid-template-columns:270px minmax(0,1fr) 220px;gap:5px;padding:5px;background:#101216}
.started .panel{border:1px solid var(--line);border-radius:5px;box-shadow:0 3px 10px #0004}
.started .library{padding:8px 8px 0}.started .panel-heading{margin-bottom:8px}.started .panel-heading .eyebrow{display:none}.started h2{font-size:14px;letter-spacing:0}
.started .search-box{margin-bottom:6px}.started .search-box input{padding:7px 0}.started .library>select{padding:5px;font-size:11px}
.category-browser{flex:0 1 38%;min-height:100px;overflow:auto;border-bottom:1px solid var(--line);margin-top:7px;scrollbar-width:thin}
.category-browser details{padding:0;margin:0;border:0}.category-browser summary{font-size:11px;padding:7px 4px;color:var(--text);background:#202630;cursor:pointer;border-bottom:1px solid #343d49}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px 0}
.category-grid button{min-width:0;min-height:55px;padding:5px 3px;gap:3px;flex-direction:column;font-size:10px;line-height:1.2;border-radius:4px;background:#1b2027}
.category-grid button svg{width:24px;height:24px;color:#a4bed8;stroke-width:1.35}.category-grid button span{overflow-wrap:anywhere}
.category-grid button[aria-pressed=true]{background:#344456;border-color:#9fbddc;color:#eef6ff}.category-grid button[aria-pressed=true] svg{color:#d4e9ff}
.started .library-meta{padding:7px 0}.started .material-grid{grid-template-columns:1fr;gap:3px;min-height:90px;align-content:start;flex:1;scrollbar-width:thin}
.started .material-card{display:grid;grid-template-columns:25px minmax(0,1fr) auto;grid-template-rows:auto auto;min-height:38px;height:auto;padding:4px 6px;gap:0 7px;border-radius:4px;align-items:center;text-align:left}
.started .material-card .swatch{position:static;grid-column:1;grid-row:1/3;width:24px;height:24px;margin:0;border:1px solid #aaa6;border-radius:3px;box-shadow:none}
.started .material-card strong{grid-column:2;grid-row:1;font-size:12px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-weight:500;margin:0}
.started .material-card .formula{grid-column:2;grid-row:2;font-size:9px;margin:0}.started .material-card .phase{grid-column:3;grid-row:1/3;font-size:8px;letter-spacing:0;margin:0;color:#aab4c1}
.started .material-card[aria-pressed=true]{background:#344456;border-color:#bed6ed}.started .selection-card{padding:8px 0}.started .swatch.large{width:26px;height:26px}
.started .properties{padding:0 10px 10px;overflow:auto}.started .property-tabs{margin-bottom:10px}.started .property-tabs button{padding:9px 3px}.started .field-label{margin-top:12px}
.started .simulation-stage{padding:0 5px 5px;min-width:0}.started .stage-heading{height:25px;padding:0 3px}.started .stage-footer{min-height:27px;font-size:10px;padding:3px 0}.started .tool-dock{padding:5px;gap:2px;border-radius:5px;box-shadow:none;max-width:100%;flex-wrap:wrap;justify-content:center}
.started .tool-dock button{min-width:38px;width:43px;padding:5px 2px;gap:3px;border-radius:4px}.started .tool-dock button svg{width:17px;height:17px}.started .tool-dock button span{font-size:8px}
.started .canvas-wrap{border-radius:3px}.started .statusbar{padding:4px 10px}.started .microcopy{font-size:10px}.started details{margin-top:10px}
.hover-inspector{position:absolute;right:8px;top:8px;width:235px;max-width:calc(100% - 16px);padding:0 10px 9px;background:#181c22f5;color:#e9edf1;border:1px solid #607184;border-radius:5px;box-shadow:0 5px 18px #0006;pointer-events:none;z-index:5;text-align:left}
.window-title{display:flex;justify-content:space-between;font-size:11px;font-weight:600;background:#303945;margin:0 -10px 8px;padding:6px 8px;border-bottom:1px solid #607184;border-radius:4px 4px 0 0}.window-title span{font-size:8px;letter-spacing:1px;color:#adc3dc}
.hover-inspector strong{display:block;font-size:12px;margin-bottom:6px;overflow-wrap:anywhere}.hover-inspector .reading{font-size:10px;padding:4px 0}.hover-inspector small{display:block;font:9px Consolas,monospace;color:#aab6c6;margin-top:7px}
.loading{margin-top:20px;max-width:480px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:6px}.loading>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.loading span{color:var(--muted);font-size:10px;white-space:nowrap}.loading progress{width:100%;height:10px;margin:12px 0;accent-color:var(--accent)}.loading p{font-size:11px;margin:0}.loading.failed progress{display:none}.loading.failed{border-color:var(--danger)}
.started dialog{border-radius:6px;border-color:#617084;box-shadow:0 10px 40px #000a}.started .dialog-heading{background:#2b3440;padding:10px 14px}.started .dialog-heading .eyebrow{display:none}.started #dialog-content{padding:14px}.started .menu-card{padding:12px;border-radius:4px}.started .menu-card strong{font-size:13px}
@media(max-width:1100px){.started .workbench{grid-template-columns:225px minmax(0,1fr) 195px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.started .tool-dock button{width:37px;min-width:34px}.started .stage-footer #tool-hint{display:none}}
@media(max-width:800px){.started .workbench{grid-template-columns:195px minmax(0,1fr)}.started .properties{display:none}.started .transport{flex-wrap:wrap}.started .transport-group{gap:3px}.started .view-control{padding-left:6px}.started .hover-inspector{width:195px}.started .document-name{display:none}}
@media(max-width:560px){.started .workbench{grid-template-columns:135px minmax(0,1fr)}.started .material-card{grid-template-columns:20px minmax(0,1fr)}.started .material-card .phase{display:none}.started .material-card .swatch{width:18px;height:24px}.started .material-card strong{font-size:10px}.category-grid button{font-size:9px}.started .header-actions button{padding:5px}.started .stage-heading{font-size:9px}.hover-inspector .reading{font-size:9px}.hover-inspector{right:3px;top:3px}.started .transport-end{margin-left:0}.started .tool-dock{max-height:145px;overflow:auto}}
