/* Everyday workflows share the same navigation, selection and keyboard paths. */
.primary-navigation{padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:12px}
.nav-group{border-bottom:1px solid #26362e70;margin:2px 0;padding-bottom:5px}
.nav-group summary{padding:11px 10px;color:#b9cabe;font-size:12px;font-weight:650;list-style:none;display:flex;justify-content:space-between}
.nav-group summary::after{content:'+';font-size:15px;color:var(--muted)}.nav-group[open] summary::after{content:'−'}
.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:6px}
.nav-group .nav-link{font-size:12px;margin:2px 0;padding-left:12px}.nav-count{margin-left:auto;border-radius:20px;background:#01ff9020;padding:0 7px}
.topbar{position:sticky;top:0;z-index:45;background:#0e1714f5;backdrop-filter:blur(12px);gap:18px}
.workspace-finder{justify-content:space-between;flex:1;max-width:360px;margin-left:auto;color:var(--muted);font-size:12px;min-width:160px;background:#17231d;border-color:#34483b}
kbd{font:11px ui-monospace,monospace;border:1px solid #496052;border-radius:4px;padding:1px 4px;color:#c6d7cd;white-space:nowrap}
.workflow-start{margin-bottom:26px}.workflow-start h2{font-size:21px;margin-bottom:0}.workflow-start .panel-head{margin-bottom:16px}
.workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.workflow-card{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid #355142;border-radius:12px;text-decoration:none;background:linear-gradient(145deg,#192b21,#111b17);color:var(--text);transition:border-color .12s,background .12s}
.workflow-card:hover{border-color:var(--accent);background:#1b3225}.workflow-card>span{font-size:25px;color:var(--accent)}.workflow-card strong{font-size:15px}.workflow-card small{font-size:12px;color:#a8bbae;line-height:1.6}
.connect-prompt{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid var(--line);border-radius:10px;margin-top:15px;background:#13241b}.connect-prompt strong{font-size:13px}.connect-prompt p{margin:4px 0 0;font-size:12px;color:var(--muted)}
.inventory-presets{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.inventory-presets .button{margin-left:auto}
.inventory-presets button[aria-pressed=true],.view-switch button[aria-pressed=true]{background:#01ff901c;border-color:#48b681;color:#b5ffda}
.view-switch{display:flex;gap:3px;padding:3px;background:#0c1510;border:1px solid var(--line);border-radius:8px}.view-switch button{min-height:28px;padding:3px 10px;border-color:transparent}
.search-help{margin-top:12px;font-size:12px;color:var(--muted)}.inventory-list td{vertical-align:middle}.inventory-list .list-item{display:flex;align-items:center;gap:10px;min-width:180px}.inventory-list .item-art{width:38px;height:38px;flex-shrink:0}.inventory-list .item-name{padding:0;border:0;background:none;justify-content:flex-start;text-align:left;min-height:24px;font-size:13px}.inventory-list small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.inventory-list .list-perks{max-width:300px;line-height:1.65;font-size:11px}
.advanced-filters{margin:4px 0 14px;border:1px solid var(--line);border-radius:8px;background:#111e17}.advanced-filters>summary{padding:10px 13px;font-size:12px;color:#c0d4c7;font-weight:600}.advanced-filters>.filters{padding:0 13px 13px;margin:0;align-items:flex-end}.advanced-filters .actions{flex-basis:100%;padding-top:7px}
.compare-tray{position:sticky;bottom:12px;z-index:48;display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 24px 12px;padding:12px 16px;background:#193324f5;border:1px solid #599e76;border-radius:12px;box-shadow:0 8px 35px #0009;backdrop-filter:blur(14px)}
.compare-picks{display:flex;gap:10px;min-width:0;overflow-x:auto}.compare-pick{display:flex;align-items:center;gap:6px;max-width:180px;flex-shrink:0}.compare-pick>span{font-size:11px;white-space:nowrap;max-width:110px;text-overflow:ellipsis;overflow:hidden}.compare-pick .item-art{width:28px;height:28px;flex-shrink:0}.compare-pick button{font-size:19px;padding:0 4px;min-height:32px}.compare-tray .actions{flex-shrink:0}.compare-tray .button{font-size:12px}
.palette-search{margin-bottom:18px}.palette-search input{font-size:17px;min-height:48px}.palette-section{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin:18px 0 7px}
.palette-result{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;border:1px solid transparent;border-radius:7px;padding:11px 13px;background:transparent;color:var(--text);text-decoration:none;min-height:45px;font-weight:400}
.palette-result strong{font-size:13px}.palette-result small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.palette-result>span:last-child{color:var(--muted);font-size:11px;white-space:nowrap}.palette-result:hover,.palette-result:focus-visible{background:#1c3527;border-color:#4e8461}.nav-backdrop{display:none}
.login{max-width:460px;margin:12vh auto}.login h1{font-size:29px;letter-spacing:-.8px}.login p{color:var(--muted);line-height:1.7;font-size:13px}.login .eyebrow{margin-bottom:12px}
@media(min-width:1101px){.sidebar{width:230px}.shell{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:1180px){.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crumb{display:none}.workspace-finder{max-width:none}.topbar{gap:12px}.top-actions{flex-shrink:0}}
@media(max-width:760px){.topbar{height:auto;min-height:64px;padding:12px 16px;flex-wrap:wrap;gap:10px}.workspace-finder{order:3;flex-basis:100%;min-width:0;min-height:38px}.workspace-finder kbd{display:none}.top-actions{flex:1;justify-content:flex-end}.topbar .mobile-menu{min-height:40px;min-width:40px}.workflow-grid{gap:9px}.workflow-card{padding:15px;gap:6px}.workflow-card small{font-size:11px}.workflow-card strong{font-size:13px}.connect-prompt{flex-direction:column;align-items:flex-start;gap:12px}.connect-prompt .button{width:100%}.inventory-presets{gap:6px}.inventory-presets .button{margin-left:0}.inventory-presets .small{min-height:38px}.inventory-list .list-perks{display:none}.inventory-list th,.inventory-list td{padding:10px 8px}.inventory-list .list-item{min-width:150px}.inventory-list .item-art{width:30px;height:30px}.compare-tray{margin:0 9px 8px;padding:10px;gap:9px;bottom:calc(8px + env(safe-area-inset-bottom));flex-wrap:wrap}.compare-picks{width:100%}.compare-tray .actions{width:100%;justify-content:space-between}.compare-tray .button{flex:1;min-height:42px}.compare-pick{max-width:155px}.compare-pick>span{max-width:88px}.nav-backdrop{display:block;position:fixed;inset:0;z-index:110;border:0;border-radius:0;background:#0009;padding:0}.sidebar.open{box-shadow:none;width:260px}.login{margin:9vh 16px;max-width:none}body:has(.sidebar.open){overflow:hidden}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.inventory-page .page-head{margin-bottom:10px}.inventory-page .page-head p{display:none}.inventory-page>.toolbar{font-size:10px;margin-bottom:7px}.inventory-page>.toolbar>span:last-child{display:none}.inventory-presets{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;margin:11px 0}.inventory-presets button{flex-shrink:0}.inventory-page>.filters{margin-bottom:9px}.inventory-page>.toolbar>.actions{gap:5px}.inventory-page>.toolbar>label{max-width:90px}.advanced-filters{margin-bottom:9px}.advanced-filters>summary{padding:8px 12px}}
@media print{.workflow-start,.workspace-finder,.compare-tray,.nav-backdrop,.search-help{display:none!important}}
