/* Flag Command: parchment, painted timber and brass, inspired by Puzzle Pirates. */
:root{--ink:#302d23;--muted:#6f6959;--paper:#f5ecd4;--paper-light:#fff9e8;--line:#d8c69d;--gold:#cfad60;--green:#255e50;--wood:#32261f;--radius:6px;color-scheme:light}
body{color:var(--ink);background:#e9ddbf;background-image:radial-gradient(ellipse at 75% 0,#faf3df88,transparent 60%),repeating-linear-gradient(0deg,#8c754805 0 1px,transparent 1px 4px);font-family:'Segoe UI',Arial,sans-serif}
h1,h2,.brand-name,.hero h2,.login-story h1,.metric-value{font-family:Georgia,'Times New Roman',serif}
h1{font-weight:700;letter-spacing:-.8px;font-size:2rem;color:#3b3324}h2{font-size:1.16rem;color:#433923}h3{color:#403b2c}
button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a36b16}
button:disabled{opacity:.5}.icon{stroke-width:1.8}
.skip-link{position:fixed;top:-90px;left:20px;z-index:200;background:#fff7dd;color:#283c32;padding:12px 20px;border:2px solid #a47832;border-radius:4px}.skip-link:focus{top:12px}
.shell{grid-template-columns:248px minmax(0,1fr)}
.sidebar{background-color:var(--wood);background-image:linear-gradient(90deg,#0003,transparent 12%,#f3c67c04 88%,#0005),repeating-linear-gradient(0deg,transparent 0 82px,#d4a96012 83px,#0004 85px,#0000 88px);border-right:4px solid #80623a;box-shadow:inset -1px 0 #d7b77788;padding:26px 15px 18px;color:#e0d3b1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#7d6847 #32261f}
.brand{border-bottom:1px solid #a080464d;margin-bottom:7px;padding:0 12px 24px;gap:12px}.brand-mark{color:#ecd69d;border:1px solid #a6874e;border-radius:50%;width:45px;height:48px;background:linear-gradient(140deg,#59604a,#2c3c31);box-shadow:inset 0 0 0 3px #28382c,0 2px 6px #0004;flex-shrink:0}.brand-mark svg{width:28px;height:28px}.brand-name{font-size:1.08rem;color:#f6e7b9;letter-spacing:.9px}.brand-sub{font-size:.75rem;letter-spacing:2.4px;color:#c0aa79}
.nav-caption{color:#ba9f6f;font-size:.75rem;letter-spacing:1.8px;padding:19px 14px 8px;text-transform:uppercase}.nav-link{padding:11px 14px;border:1px solid transparent;margin:3px 0;border-radius:4px;color:#e2d7bc;font-size:.94rem;min-height:45px}.nav-link .icon{color:#c7ae79}.nav-link:hover{background:#67513744;border-color:#92714166}.nav-link.active{color:#fff1c8;background:linear-gradient(#476850,#284a3c);border-color:#b49b5c;box-shadow:inset 0 0 0 2px #1b382d99,0 2px 5px #0003}.nav-link.active .icon{color:#f0d17e}.nav-link[aria-current=page]{font-weight:600}.badge-count{background:#d9be79;color:#362e20;border:1px solid #ead395}
.sidebar-bottom{padding-top:18px}.ocean{background:linear-gradient(#234d47,#193c39);border:1px solid #8a7950;margin:12px 7px 17px;padding:13px;border-radius:4px;box-shadow:inset 0 0 0 3px #132d2b55}.ocean strong{color:#ecd79c;letter-spacing:.3px}.ocean span{color:#c2cab3}.user-card{border-color:#9e7c443d;padding:14px 7px 0}.avatar{background:linear-gradient(#d4b66f,#9b7844);border:2px solid #e4cc95;color:#362c1c}.user-name{color:#f5e8c6}.user-role,.logout{color:#c0b18f}.user-role{font-size:.75rem}
.topbar{height:74px;background:linear-gradient(#fffae9,#ede0bf);border-bottom:1px solid #bea674;box-shadow:0 2px 8px #6e54230c;padding:0 34px}.breadcrumb{color:#796b50}.breadcrumb strong{color:#443c2c;font-weight:600}.flag-label{background:#e0e5cb;border:1px solid #b8bf99;border-radius:4px;color:#3a5944;font-size:.8rem}.languages{background:#dacba8;border:1px solid #c4ae7b;border-radius:4px}.languages button{color:#61553c;font-size:.8rem;min-height:28px}.languages button.chosen{background:#fff6dc;color:#314e3c;box-shadow:0 1px 3px #6b4f2730}.refresh,.mobile-menu{color:#6d633e}.refresh{min-width:36px;min-height:36px}
.clocks{display:flex;gap:6px;align-items:center}.clock{display:inline-flex;align-items:center;gap:6px;border:1px solid #c8b789;border-radius:4px;padding:5px 9px;background:#fff6dc66;font-size:.78rem;color:#4a4130;white-space:nowrap;min-height:36px}.clock-label{text-transform:uppercase;letter-spacing:1px;font-size:.66rem;color:#7a6742}.clock time{font-variant-numeric:tabular-nums;font-weight:600}
html[data-theme="dark"] .clock{background:#1b2828;border-color:#3a4e4e;color:#eee4cf}html[data-theme="dark"] .clock-label{color:#9fb0a6}
body.compact .clock{min-height:30px;padding:3px 7px;font-size:.72rem}
@media(max-width:980px){.clock-label{display:none}}
.density-toggle{background:transparent;color:#62573f;border:1px solid #c8b789;border-radius:4px;padding:6px 10px;min-height:36px;font-size:.8rem}.density-toggle[aria-pressed=true]{background:#3d5d46;color:#f8eac5;border-color:#3d5d46}
.content{padding:30px 34px 40px;max-width:1720px}.page-head{margin-bottom:23px}.eyebrow{color:#79633c;font-size:.75rem;letter-spacing:2px}.subtitle{color:var(--muted);font-size:.94rem}.page-head .subtitle{margin-top:7px}
.btn{border:1px solid #254d38;background:linear-gradient(#45704e,#2c573d);color:#fff3ce;box-shadow:inset 0 1px #99b78166,0 2px 2px #654f2310;border-radius:4px;min-height:42px;font-size:.875rem}.btn:hover{background:linear-gradient(#527e5c,#365f45);box-shadow:inset 0 1px #b1d39166,0 3px 8px #4a3c2922}.btn.secondary{color:#5c4928;background:linear-gradient(#fff8df,#e9dab2);border-color:#c1a770;box-shadow:inset 0 1px #fffdf3}.btn.secondary:hover{background:linear-gradient(#fffcef,#efddb0)}.btn.ghost{background:transparent;border-color:transparent;box-shadow:none;color:#355f42}.btn.ghost:hover{background:#d9d3ad55}.btn.danger{background:linear-gradient(#a85b42,#8f3f32);border-color:#823f2e;color:#fff4db}.btn.small{font-size:.875rem}.button-row{gap:8px}
.hero{min-height:268px;background:#173b41 url('/deck-scene.svg') center right/cover no-repeat;border:1px solid #a5894d;border-radius:6px;box-shadow:inset 0 0 0 4px #d1b06430,0 4px 12px #67522c1a;padding:30px 32px;display:block;isolation:isolate}.hero:after{display:none}.hero>div:first-child{position:relative;max-width:56%;z-index:1}.hero .eyebrow{color:#dfc58a;letter-spacing:2.6px}.hero h2{font-size:2.15rem;line-height:1.17;color:#fff2cb;font-weight:700;max-width:470px;margin:12px 0}.hero p{color:#d7ddc8;max-width:470px;font-size:.94rem;margin-bottom:18px}.hero .pill.outline{color:#e6d3a2;border-color:#a2946266;background:#163b3c66}.hero-chart{display:none}.hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}.hero-actions .btn.secondary{background:#e6d3a8;color:#394834;border-color:#ddc897}.hero-kicker{position:absolute;right:23px;bottom:19px;font-size:.75rem;color:#d5d8b9;letter-spacing:1.5px;text-transform:uppercase;z-index:2}
.grid-main>div,.panel{min-width:0}.table-wrap{max-width:100%}
.yoweb-controls{display:flex;align-items:center;justify-content:flex-end;gap:15px;flex-wrap:wrap}.yoweb-controls label{display:inline-flex;align-items:center;gap:8px;color:#645b40;font-size:.875rem;cursor:pointer;min-height:36px}.yoweb-controls input{width:18px;height:18px;accent-color:#3e798b;flex-shrink:0}
.metrics{gap:16px;margin-bottom:24px}.metric{background:linear-gradient(120deg,#fff9e7,#efe4c6);border:1px solid #d0ba88;border-radius:5px;padding:18px 21px;box-shadow:inset 0 0 0 3px #ffffff44,0 2px 5px #6c512710;position:relative}.metric:before{content:'';position:absolute;inset:10px auto 10px 0;width:3px;background:#8c9a69}.metric-title{color:#6b614b;font-size:.875rem}.metric-title .icon{color:#7b7851}.metric-value{font-size:2rem;line-height:1.25;margin:8px 0 5px;color:#353e2b;font-weight:700;letter-spacing:-.7px}.metric-foot{color:#756c55;font-size:.8rem}
.panel{background:var(--paper-light);border:1px solid #c9b27e;border-radius:5px;box-shadow:0 2px 6px #76592d0d;margin-bottom:23px}.panel-header{padding:16px 21px;border-bottom:1px solid #dccb9f;margin-bottom:0;background:linear-gradient(#faf1d9,#eee0bb);min-height:63px}.panel-header h2{font-weight:700}.panel-body{padding:20px 21px}.panel .subtitle{font-size:.875rem}.tasks{padding:21px;gap:18px}.task{align-items:flex-start}.task h3{font-size:.875rem;font-weight:600}.task p{color:#786d55;font-size:.8rem;line-height:1.55}.task-symbol,.task-symbol.green{background:#e5ddba;border:1px solid #d3c48e;color:#797045;border-radius:4px}.task-symbol.green{background:#e1e8cd;color:#496a42;border-color:#c7d2ae}.task .btn{flex-shrink:0}.fleet-chart{padding:22px 21px}.donut text{fill:#3e4d32}.legend{color:#70674f}.legend-line strong{color:#3a4930}.swatch{background:#6d9268}.swatch.gray{background:#d7d0b9}.swatch.orange{background:#c49a4a}
table{font-size:.875rem}th{background:#eee4c9;color:#75613e;border-color:#dfd1aa;font-weight:600;font-size:.875rem;padding:12px 19px}td{color:#504a37;border-bottom:1px solid #e7dbbb;padding:14px 19px}td strong{color:#3b3c2b}td small{color:#786f58;font-size:.8rem}tbody tr:nth-child(even){background:#f3e9d033}tbody tr:hover{background:#e5dfbb55}.row-link{color:#315c40}.table-wrap{scrollbar-color:#cbb786 #f7eed4;scrollbar-width:thin}.source{color:#797056;font-size:.8rem}.source-box{border-color:#ddd0ad;color:#74694e;background:#f6edd6}.panel .source-box{font-size:.8rem}
.pill{border:1px solid #d3c7a3;background:#eee7cd;color:#675e44;border-radius:4px;font-size:.875rem;white-space:nowrap}.pill.green{background:#e0e8ce;border-color:#c6d1aa;color:#426535}.pill.orange{background:#f1e1b5;border-color:#ddc283;color:#846018}.pill.red{background:#f1d8c8;border-color:#dcb09d;color:#984831}.pill.blue{background:#dde6dd;border-color:#becfc8;color:#3c6566}.progress{color:#5c6044}.progress progress{accent-color:#708b4d}.progress progress::-webkit-progress-bar{background:#e2dbc2}.progress progress::-webkit-progress-value{background:linear-gradient(90deg,#527343,#8ba363)}
.notice{background:#f5e9bf;border-color:#d6bd7d;color:#7a602c;border-radius:4px}.notice.demo{background:#e5e8d3;color:#546444;border-color:#c5c9a8;padding:8px 34px;font-size:.8rem}.notice.info{background:#e2e9de;border-color:#c3d1bd;color:#49644e}.notice.success,.db-check{background:#e6edd7;border-color:#c5d0a6;color:#49633b}.empty{color:#7a7057;padding:38px 24px}.empty .icon{color:#9d8a52}.empty h3{color:#655535}.empty p{font-size:.9rem;max-width:520px;margin:7px auto 17px}.positive{color:#467136}.amber{color:#90661c}.muted,.small-copy,.form-note,.scope-note,.inline-form-label{color:#766d54}.form-note{font-size:.875rem}.small-copy{font-size:.875rem}.warning-line{color:#855b1a}
.view-tabs{gap:7px;border-bottom:2px solid #baa06b;padding-bottom:0;margin-top:22px}.view-tabs button{border:1px solid #d1bc8c;border-bottom:0;background:#e4d6b4;color:#766347;border-radius:5px 5px 0 0;padding:10px 17px;font-size:.875rem;min-height:44px}.view-tabs button.selected{background:linear-gradient(#657c4d,#405f3a);color:#fff0be;border-color:#536942;box-shadow:inset 0 1px #b9bd83}.view-tabs button:hover{background:#d9c79f}.view-tabs button.selected:hover{background:#46663e}
.search,.inline-select,.form-field input,.form-field select,.form-field textarea,.loadout-fields input,.grant input.scope{background-color:#fffbed;border-color:#c8b486;border-radius:4px;color:#463f2e;box-shadow:inset 0 1px 3px #8a6b2410}.search::placeholder{color:#8b7d5e}.search{min-height:43px}.form-field label{color:#685638;font-size:.875rem}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#866b34}.form-field.check label{color:#5c533a}.checklist label,.grant{border-color:#d8c69c;border-radius:4px}.checklist input,.grant input[type=checkbox],.form-field input[type=checkbox]{accent-color:#496b3c}.detail-list{padding-top:20px}.detail-list dt{color:#82704b;font-size:.875rem}.detail-list dd{color:#4b4732}.detail-list.compact{padding:0}.results{padding-top:16px}.results p{color:#786c50}.team{border-color:#d2c39d;background:#fff7df}.team small,.yoweb-live small{color:#746b52}.team.ours{border-color:#84905c;background:#e8ecd4}.integration p{color:#776c53}.integration .icon{color:#65794a}.scope-note{font-size:.875rem}
dialog{background:#fff8e3;border:2px solid #9c7e46;border-radius:6px;color:#4b412d;box-shadow:0 25px 110px #171b1766,inset 0 0 0 3px #dcc48f}dialog::backdrop{background:#172e2bd1;backdrop-filter:blur(3px)}.dialog-header{background:linear-gradient(#f4e7c4,#e9d7aa);border-color:#c9b17b}.dialog-header h2{font-size:1.3rem}.dialog-header button{color:#80683a;min-width:32px;min-height:32px}.dialog-actions{background:#eee2c3;border-color:#d4be8b}.dialog-body{scrollbar-width:thin;scrollbar-color:#bca16b #fff8e3}.form-error{color:#8d3f28;background:#f3ddcf;border:1px solid #dfb6a2}
.route-distance{border:1px solid var(--line);background:var(--paper-light);border-radius:4px;padding:12px 14px;justify-content:center}
.route-distance output{display:block;font-weight:600;font-size:1.1rem;color:var(--ink)}
.route-distance small{color:var(--muted);overflow-wrap:anywhere}
.footer{color:#857759;font-size:.75rem;border-top:1px solid #d5c49a;gap:15px;margin-top:10px;padding-top:18px;flex-wrap:wrap}.footer a{text-decoration:underline;text-underline-offset:3px}.boot{color:#786441}#toast{background:#354d36;color:#fff1c7;border:1px solid #b3995c;border-radius:4px;box-shadow:0 6px 30px #342d2433;max-width:calc(100vw - 36px)}
.login-screen{background:var(--paper);grid-template-columns:1.2fr 1fr}.login-story{position:relative;background:#153c42 url('/deck-scene.svg') 65% center/auto 100% no-repeat;border-right:5px solid #9b7b42;color:#f4e7bf;padding:10vh 10%;overflow:hidden}.login-story .brand{border:0;position:relative;margin:0 0 55px;padding:0}.login-story .eyebrow{color:#d8bc77}.login-story h1{color:#fff0c2;font-size:3.3rem;max-width:520px;position:relative;text-shadow:0 2px 20px #102c2c}.login-story p{color:#e0e0c8;font-size:1rem;position:relative;max-width:420px;text-shadow:0 2px 6px #0c2829}.login-story .data-note{color:#c9c9a9;max-width:390px;position:relative}.login-box{background:radial-gradient(ellipse at top,#fff8e5,#e9dbb8);padding:45px}.login-box form{max-width:405px;padding:30px;border:1px solid #c6ad75;border-radius:5px;background:#fff8e5;box-shadow:0 8px 40px #71572712,inset 0 0 0 4px #eadcb63d}.login-box h2{font-size:1.8rem;color:#514026}.login-box .subtitle{line-height:1.6}.login-box .data-note{color:#867651}.divider{color:#887854}.login-box .languages{width:max-content;margin-top:24px}.install .login-box form{max-width:560px}.login-screen.install .login-story{min-height:100vh}.db-check.warn{background:#f5e9c8;border-color:#dec184}
/* Fleet cards, combined filters, and the harbor watch share real workspace data. */
.fleet-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.fleet-stat{display:flex;align-items:center;gap:14px;text-align:left;padding:15px 18px;border:1px solid #cbb483;border-radius:5px;background:linear-gradient(120deg,#fff9e6,#eee2bf);color:#6b5d3c;min-width:0}.fleet-stat strong{font-family:Georgia,serif;font-size:1.7rem;color:#434e31;font-weight:700}.fleet-stat span{font-size:.875rem}.fleet-stat[aria-pressed=true]{border-color:#6b7d49;background:#e0e4c7;box-shadow:inset 0 0 0 1px #899765}.fleet-stat:hover{border-color:#957d48}
.fleet-filters{display:flex;flex-wrap:wrap;gap:12px;padding:18px 20px;background:#f7eed5;border:1px solid #d2bd8f;border-radius:5px;margin-bottom:15px;align-items:end}.fleet-filters .search-field{flex:2;min-width:200px}.fleet-filters label{display:flex;flex-direction:column;gap:6px;flex:1;min-width:150px;color:#7a6742;font-size:.8rem}.fleet-filters input,.fleet-filters select{width:100%;min-width:0;min-height:43px}.fleet-result-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:17px 0;color:#796b50;font-size:.875rem;flex-wrap:wrap}.view-switch{display:flex;border:1px solid #c7ae79;border-radius:4px;background:#e6d6ae;padding:3px;gap:3px}.view-switch button{background:transparent;color:#766243;padding:6px 11px;border-radius:3px;font-size:.875rem;display:flex;align-items:center;gap:7px;min-height:35px}.view-switch button[aria-pressed=true]{background:#fff7df;color:#405837;box-shadow:0 1px 4px #725b2820}.view-switch .icon{width:17px;height:17px}
.ship-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.ship-card{border:1px solid #c5ad78;background:#fff7e0;border-radius:5px;overflow:hidden;box-shadow:0 3px 8px #68522e10}.ship-card-art{height:126px;background:radial-gradient(ellipse,#d8e7d2,#b7ccc0);display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #bdc5a2;background-image:linear-gradient(#dbe7d5a0,#aac6bcbb),repeating-linear-gradient(0deg,transparent 0 28px,#63857a44 29px,transparent 30px)}.ship-card-art>img{max-height:104px;max-width:150px;width:auto;height:auto;image-rendering:auto;filter:drop-shadow(1px 5px 2px #233e3540)}.ship-card-art>.icon{width:80px;height:80px;color:#5d7d69}.ship-card-art .pill{position:absolute;right:10px;top:10px;box-shadow:0 1px 4px #32432920}.ship-card-body{padding:18px}.ship-card h2{font-size:1.13rem;overflow-wrap:anywhere}.ship-card-class{font-size:.8rem;color:#8a764a;margin-top:3px}.ship-card dl{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:17px 0}.ship-card dt{color:#8b7953;font-size:.75rem}.ship-card dd{margin:3px 0 0;font-size:.875rem;color:#4b4b35;overflow-wrap:anywhere}.ship-card .button-row{border-top:1px solid #dfd0aa;padding-top:12px}.ship-cell{display:flex;align-items:center;gap:12px}.ship-cell img{width:48px;height:42px;object-fit:contain}.ship-cell>.icon{width:34px;height:34px;color:#7c8052}.commodity-name{display:inline-flex;align-items:center;gap:10px}.commodity-icon{width:58px;height:36px;object-fit:contain;flex-shrink:0;image-rendering:auto}.commodity-name span{white-space:normal}.supply-locker{display:flex;gap:0;flex-wrap:wrap;padding:13px 18px;background:#efe4c4;border-top:1px solid #d5c194}.supply-locker .locker-item{display:flex;align-items:center;gap:7px;padding:7px 13px;border-right:1px solid #d7c59a;flex:1;min-width:155px}.locker-item img{width:55px;height:34px;object-fit:contain}.locker-item span{font-size:.8rem;color:#72613f}.harbor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px}.harbor-card{border:1px solid #d0bf91;border-radius:4px;background:#f9f0d7;padding:17px;color:#5e563d;text-align:left;min-width:0}.harbor-card:hover{background:#eee6c8;border-color:#938151}.harbor-card .icon{color:#78865b;margin-bottom:12px}.harbor-card strong{display:block;font-family:Georgia,serif;font-size:1.05rem;overflow-wrap:anywhere;color:#494d31}.harbor-card p{font-size:.8rem;margin-top:8px;color:#7b7051}.harbor-card .harbor-count{font-family:Georgia,serif;font-size:1.7rem;margin-top:10px;color:#52683f}.harbor-card small{font-size:.8rem;color:#7c7154}.deck-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 25px}.deck-shortcuts .btn{min-height:43px}.nav-scrim{display:none}.artwork-note{font-size:.75rem;color:#877959}.commodity-strip{display:flex;align-items:center;gap:14px;margin-top:25px;padding-top:20px;border-top:1px solid #d5bf8750}.commodity-strip img{max-width:55px;max-height:35px;object-fit:contain;filter:drop-shadow(1px 2px 1px #0002)}
body.compact td{padding-top:9px;padding-bottom:9px}body.compact .metric{padding:13px 18px}body.compact .panel-header{padding-top:12px;padding-bottom:12px;min-height:53px}body.compact .tasks{gap:12px;padding-block:16px}body.compact .ship-card-art{height:90px}body.compact .ship-card-art>img{max-height:75px}body.compact .ship-card-body{padding:14px}
/* Kompaktansicht: spürbar dichter als der Standard. Nur Abstände, Größen und Höhen; Inhalte bleiben gleich. */
body.compact .topbar{height:54px;padding:0 22px}
body.compact .sidebar{padding:14px 10px 12px}
body.compact .brand{padding:0 8px 12px;margin-bottom:4px}
body.compact .brand-mark{width:34px;height:36px}
body.compact .brand-mark svg{width:20px;height:20px}
body.compact .brand-name{font-size:.9rem;line-height:1.15}
body.compact .brand-sub{font-size:.62rem}
body.compact .nav-caption{padding:10px 10px 4px;font-size:.66rem}
body.compact .nav-link{padding:6px 10px;min-height:32px;font-size:.84rem;margin:1px 0}
body.compact .nav-link .icon{width:16px;height:16px}
body.compact .ocean{margin:8px 4px 10px;padding:8px}
body.compact .user-card{padding-top:8px}
body.compact .content{padding:14px 20px 22px}
body.compact .page-head{margin-bottom:10px}
body.compact .page-head h1{font-size:1.45rem}
body.compact .eyebrow{font-size:.66rem}
body.compact .subtitle{font-size:.8rem}
body.compact .page-head .subtitle{margin-top:2px}
body.compact .hero{min-height:0;padding:14px 18px;margin-bottom:12px}
body.compact .hero h2{font-size:1.3rem;margin:4px 0}
body.compact .hero p{font-size:.8rem;margin-bottom:8px}
body.compact .hero-actions{margin-top:8px}
body.compact .hero .eyebrow{font-size:.62rem}
body.compact .hero-kicker{display:none}
body.compact .btn{min-height:30px;padding:6px 11px;font-size:.8rem}
body.compact .btn.small{font-size:.75rem}
body.compact .button-row{gap:5px}
body.compact .deck-shortcuts{margin-bottom:12px}
body.compact .deck-shortcuts .btn{min-height:30px}
body.compact .view-tabs{margin-top:10px}
body.compact .view-tabs button{min-height:32px;padding:6px 12px;font-size:.8rem}
body.compact .metrics{gap:8px;margin-bottom:12px}
body.compact .metric{padding:8px 12px}
body.compact .metric:before{inset:6px auto 6px 0}
body.compact .metric-title{font-size:.75rem}
body.compact .metric-value{font-size:1.35rem;margin:2px 0 1px;line-height:1.15}
body.compact .metric-foot{font-size:.76rem}
body.compact .panel{margin-bottom:12px}
body.compact .panel-header{padding:7px 12px;min-height:0}
body.compact .panel-header h2{font-size:.95rem}
body.compact .panel-body{padding:10px 12px}
body.compact .tasks{gap:8px;padding:10px}
body.compact .task h3{font-size:.8rem}
body.compact .task p{font-size:.76rem;line-height:1.3}
body.compact .task-symbol{width:24px;height:24px}
body.compact .fleet-chart{padding:10px 12px}
body.compact .detail-list{padding-top:10px}
body.compact .panel .subtitle{font-size:.75rem}
body.compact table{font-size:.8rem}
body.compact th{padding:5px 10px;font-size:.74rem}
body.compact td{padding-top:4px;padding-bottom:4px;padding-left:10px;padding-right:10px;font-size:.8rem}
body.compact td small{font-size:.76rem}
body.compact .pill{font-size:.75rem;padding:2px 7px}
body.compact .form-field label{font-size:.78rem}
body.compact .search,body.compact .fleet-filters input,body.compact .fleet-filters select{min-height:32px}
body.compact .fleet-filters{padding:9px 12px;margin-bottom:8px;gap:8px}
body.compact .fleet-stat{padding:8px 12px}
body.compact .fleet-stat strong{font-size:1.3rem}
body.compact .fleet-result-bar{margin:8px 0}
body.compact .view-switch button{min-height:28px;padding:3px 8px}
body.compact .ship-cards{gap:10px;margin-bottom:12px}
body.compact .ship-card dl{gap:6px;margin:8px 0}
body.compact .ship-card h2{font-size:.98rem}
body.compact .ship-card .button-row{padding-top:8px}
body.compact .harbor-grid{padding:10px;gap:8px}
body.compact .harbor-card{padding:9px}
body.compact .harbor-card .icon{margin-bottom:6px}
body.compact .harbor-card .harbor-count{font-size:1.3rem;margin-top:4px}
body.compact .supply-locker{padding:6px 10px}
body.compact .commodity-strip{margin-top:10px;padding-top:10px}
body.compact .notice{padding:6px 10px;font-size:.8rem}
body.compact .footer{margin-top:6px;padding-top:8px}
/* Kompaktansicht, Teil 2: Flottenübersicht, Leerzustände, Dialoge und Formulare. */
@media(min-width:1200px){body.compact .ship-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
body.compact .ship-card-art{height:64px}
body.compact .ship-card-art>img{max-height:52px;max-width:96px}
body.compact .ship-card-art>.icon{width:40px;height:40px}
body.compact .ship-card-art .pill{top:6px;right:6px}
body.compact .ship-card-body{padding:10px}
body.compact .ship-card-class{font-size:.72rem;margin-top:1px}
body.compact .ship-card dt{font-size:.74rem}
body.compact .ship-card dd{font-size:.78rem}
body.compact .ship-card dl{row-gap:4px}
body.compact .ship-card .button-row .btn{min-height:28px}
body.compact .supply-locker{gap:0}
body.compact .supply-locker .locker-item{min-width:120px;padding:4px 8px}
body.compact .locker-item img{width:40px;height:26px}
body.compact .empty{padding:14px 12px}
body.compact .empty p{margin:4px auto 8px}
body.compact .empty h3{font-size:.95rem}
body.compact .empty .icon{width:26px;height:26px}
body.compact .dialog-header{padding:9px 16px}
body.compact .dialog-body{padding:12px 16px}
body.compact .dialog-actions{padding:9px 16px}
body.compact .detail-list dt{font-size:.75rem}
body.compact .detail-list dd{font-size:.82rem}
body.compact .form-field{gap:3px}
body.compact .form-field input,body.compact .form-field select{min-height:30px;padding-top:4px;padding-bottom:4px}
body.compact .checklist label{padding:4px 8px}
body.compact .grant{padding:6px 8px}
body.compact .results{padding-top:8px}
body.compact .source-box{padding:6px 8px}
body.compact .fleet-result-bar{font-size:.8rem}
body.compact .page-head .btn{min-height:30px}
body.compact .yoweb-controls label{min-height:28px}
body.compact .task .btn{min-height:28px}
body.compact .row-link{font-size:.8rem}
body.compact .ship-cell img{width:34px;height:30px}
body.compact .ship-cell>.icon{width:26px;height:26px}
body.compact .commodity-icon{width:40px;height:26px}
body.compact .ship-cell{gap:8px}
/* The original client pairs ochre tabs and olive panels with blue controls. */
.btn{background:linear-gradient(#73a5b3,#397b91);border-color:#285768;color:#fff9de;box-shadow:inset 0 1px #b9d4d8,0 2px 2px #654f2318}
.btn:hover{background:linear-gradient(#87b6c1,#4c8c9e)}
.btn.secondary{background:linear-gradient(#fff7d3,#e1ca8a);border-color:#b39958;color:#594821}
.btn.ghost{background:transparent;border-color:transparent;color:#336779;box-shadow:none}
.btn.danger{background:linear-gradient(#b7684c,#8f4432);border-color:#813e2b;color:#fff2d8}
.view-tabs button{background:linear-gradient(#dfc15d,#ad913a);color:#544915;border-color:#a08a45;box-shadow:inset 0 1px #f5e39a}
.view-tabs button.selected{background:linear-gradient(#ffe58a,#e4b82d);border-color:#a88728;color:#3c3c21;box-shadow:inset 0 1px #fff0b2;font-weight:700}
.view-tabs button.selected:hover{background:linear-gradient(#ffeaa1,#e3be43)}
.nav-link.active{background:linear-gradient(#698e91,#3e6570);border-color:#c6a753;color:#fff0ba;box-shadow:inset 0 0 0 2px #223e4544,0 2px 5px #0003}
.panel-header{border-top:2px solid #c5a34f;background:linear-gradient(#eee3bb,#e2d4a6)}
.ship-card-art>img{image-rendering:pixelated}
@media(min-width:1600px){.hero{min-height:285px;padding:35px 38px}.hero h2{font-size:2.5rem}.content{padding-top:34px}.ship-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px;padding-inline:12px}.brand{gap:9px;padding-inline:5px}.brand-name{font-size:.96rem}.brand-sub{font-size:.7rem;letter-spacing:1.8px}.content{padding:26px}.topbar{padding:0 26px}.metrics{gap:12px}.metric{padding:16px}.hero{padding:27px;min-height:262px}.hero h2{font-size:1.9rem}.grid-main{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.ship-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.harbor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.density-toggle span{display:none}}
@media(max-width:980px){.grid-main{grid-template-columns:1fr}.hero>div:first-child{max-width:68%}.hero{background-position:60% center}.metric-value{font-size:1.7rem}.fleet-stat{padding:13px;gap:9px}.fleet-stat span{font-size:.8rem}.login-story{padding-inline:8%}.login-story h1{font-size:2.6rem}.login-box{padding:28px}.login-box form{padding:25px}}
@media(max-width:740px){.shell{display:block}.sidebar{width:248px;padding-top:24px;z-index:30;transform:translateX(-100%);transition:transform .18s ease}.sidebar.open{transform:translateX(0);box-shadow:10px 0 45px #14231c66}.nav-scrim.visible{display:block;position:fixed;inset:0;background:#12282199;z-index:29;border:0}.topbar{height:64px;padding:0 16px;gap:8px;position:sticky;top:0;z-index:15}.topbar-tools{gap:6px}.breadcrumb{gap:7px;font-size:.8rem}.breadcrumb>span:first-of-type{display:none}.breadcrumb>span:nth-of-type(2){display:none}.languages button{padding:4px 7px}.density-toggle{padding:5px 7px}.density-toggle .icon{width:17px}.refresh{padding:5px;min-width:29px}.mobile-menu{display:block;min-width:32px;min-height:38px;padding:5px}.content{padding:22px 15px}.page-head{gap:12px;align-items:flex-start}.page-head h1{font-size:1.7rem}.page-head .btn{font-size:.8rem;min-height:40px;padding:8px 11px}.subtitle{font-size:.875rem}.hero{padding:23px 21px;min-height:280px;background-position:58% center}.hero>div:first-child{max-width:85%}.hero h2{font-size:1.85rem;max-width:320px}.hero p{font-size:.875rem;color:#dde2cc;max-width:330px}.hero .eyebrow{font-size:.7rem}.hero-kicker{display:none}.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:16px}.metric-value{font-size:1.8rem}.metric-title{font-size:.8rem}.metric-foot{font-size:.75rem}.notice.demo{padding:8px 16px;font-size:.75rem}.panel-header{padding:15px 17px;gap:10px}.panel-header h2{font-size:1.1rem}.tasks{padding:18px;gap:17px}.panel-body{padding:17px}.task{gap:10px}.task-symbol{width:30px;height:30px}.task h3{font-size:.875rem}.task .btn{font-size:.8rem}.fleet-chart{padding:20px}.fleet-summary{grid-template-columns:1fr 1fr;gap:10px}.fleet-stat{padding:11px 15px;gap:12px}.fleet-stat strong{font-size:1.65rem}.fleet-stat span{font-size:.875rem}.fleet-filters{padding:15px;gap:11px}.fleet-filters label{min-width:calc(50% - 12px)}.fleet-filters .search-field{flex-basis:100%}.fleet-filters label:last-of-type{flex-basis:100%}.ship-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ship-card-body{padding:14px}.ship-card h2{font-size:1.05rem}.ship-card dl{grid-template-columns:1fr;gap:9px}.ship-card-art{height:109px}.ship-card-art>img{max-height:87px;max-width:110px}.ship-card-art .pill{font-size:.75rem;right:6px;top:6px;padding:3px 6px}.ship-card .button-row{gap:3px;align-items:flex-start;flex-direction:column}.harbor-grid{padding:15px;gap:11px}.harbor-card{padding:14px}.harbor-card strong{font-size:1rem}.harbor-card .harbor-count{font-size:1.55rem}.supply-locker{padding:9px}.supply-locker .locker-item{min-width:145px;padding:6px}.login-screen{display:block}.login-story{padding:32px 28px;min-height:285px;background-position:60% center;border-right:0;border-bottom:4px solid #9b7b42}.login-story .brand{margin-bottom:24px}.login-story h1{font-size:2rem;margin:12px 0;max-width:330px}.login-story p{display:none}.login-story .data-note{display:none}.login-box{padding:25px 18px}.login-box form{max-width:440px;padding:24px}.login-screen.install .login-story{min-height:260px}.login-box h2{font-size:1.6rem}.commodity-strip{display:none}.dialog-header{padding:19px 20px}.dialog-body{padding:20px}.dialog-actions{padding:15px 20px}.detail-list{padding:18px}.detail-list.compact{padding:0}.deck-shortcuts{gap:7px}.deck-shortcuts .btn{font-size:.8rem}.footer{display:flex;flex-direction:column;gap:8px}.view-tabs{margin-top:20px}.view-tabs button{padding:10px 13px}.form-field.full{grid-column:1/-1}.form-field textarea{font-size:1rem}.toolbar .button-row{flex-wrap:wrap}.view-switch button{padding:6px 10px}#toast{right:18px;bottom:18px}}
@media(max-width:740px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}body.nav-open{overflow:hidden}.skip-link{z-index:200}.panel-header{flex-wrap:wrap}.login-story .brand{width:max-content}}
@media(max-width:380px){.ship-cards{grid-template-columns:1fr}.hero>div:first-child{max-width:100%}.density-toggle{display:none}.fleet-filters label{min-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.notice.demo,.nav-scrim,.page-head>.btn,.deck-shortcuts,.fleet-filters,.view-switch,.row-actions,.footer a{display:none!important}.shell{display:block}.workspace{display:block}.content{padding:0;max-width:none}.panel,.metric,.ship-card{break-inside:avoid;box-shadow:none}body{background:white;color:#222}.hero{min-height:0;background:#fff;color:#222;border:1px solid #777}.hero h2,.hero p,.hero .eyebrow{color:#222}.hero .pill,.hero-actions{display:none}.hero>div:first-child{max-width:100%}th,td{color:#222}.table-wrap{overflow:visible}.ship-cards{grid-template-columns:repeat(3,1fr)}.ship-card-art{background:#eee}}

/* Dunkles Farbschema "Laterne bei Nacht". Greift nur bei html[data-theme="dark"]. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] dialog{background:#1b2828;color:#eee4cf;border-color:#8a7950;box-shadow:0 25px 110px #0009,inset 0 0 0 3px #243535}
html[data-theme="dark"] .dialog-header,html[data-theme="dark"] .dialog-actions{background:#152121;border-color:#3a4e4e}
html[data-theme="dark"] .dialog-header button{color:#c7ae79}
html[data-theme="dark"] .dialog-body{background:#1b2828;scrollbar-color:#52645d #1b2828}
html[data-theme="dark"] dialog .form-field label{color:#b5c2bb}
html[data-theme="dark"] dialog .form-error{background:#3d2220;border-color:#6b3a33;color:#f0b1a4}
html[data-theme="dark"] .route-distance{background:#152121;border-color:#3a4e4e}
html[data-theme="dark"] .route-distance output{color:#eee4cf}
html[data-theme="dark"] body{background:#111a1a;color:#eee4cf}
html[data-theme="dark"] .topbar .topbar,html[data-theme="dark"] .topbar{background:#152121;border-bottom-color:#243535;box-shadow:none}
html[data-theme="dark"] .breadcrumb{color:#9fb0a6}
html[data-theme="dark"] .breadcrumb strong{color:#eee4cf}
html[data-theme="dark"] .flag-label{color:#9fb0a6}
html[data-theme="dark"] aside{background:#152121;border-right-color:#243535;color:#eee4cf}
html[data-theme="dark"] .panel,html[data-theme="dark"] .metric,html[data-theme="dark"] .ship-card,html[data-theme="dark"] .login-box form{background:#1b2828;border-color:#243535;color:#eee4cf}
html[data-theme="dark"] .panel-body,html[data-theme="dark"] .panel-header,html[data-theme="dark"] .panel h2,html[data-theme="dark"] .panel h3{background:#1b2828;color:#eee4cf;border-color:#243535}
html[data-theme="dark"] .login-box,html[data-theme="dark"] .login-box .login-box{background:#111a1a;color:#eee4cf}
html[data-theme="dark"] table,html[data-theme="dark"] tr,html[data-theme="dark"] th,html[data-theme="dark"] td{border-color:#243535;color:#eee4cf}
html[data-theme="dark"] th{color:#9fb0a6;background:#152121}
html[data-theme="dark"] tbody tr:hover td{background:#1f3030}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#152121;color:#eee4cf;border-color:#3a4e4e}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#6f8580}
html[data-theme="dark"] .btn{background:#e0a84b;color:#111a1a;border-color:#e0a84b}
html[data-theme="dark"] .btn.secondary,html[data-theme="dark"] .secondary{background:#1f3030;color:#eee4cf;border-color:#3a4e4e}
html[data-theme="dark"] .ghost{color:#e0a84b;border-color:#3a4e4e;background:transparent}
html[data-theme="dark"] .languages,html[data-theme="dark"] .density-toggle{background:#1b2828;border-color:#3a4e4e;color:#9fb0a6}
html[data-theme="dark"] .languages button,html[data-theme="dark"] .density-toggle{color:#9fb0a6}
html[data-theme="dark"] .languages button.chosen{background:#e0a84b;color:#111a1a}
html[data-theme="dark"] .notice{background:#1f3030;color:#eee4cf;border-color:#3a4e4e}
html[data-theme="dark"] .muted,html[data-theme="dark"] .form-note,html[data-theme="dark"] .small-copy,html[data-theme="dark"] .subtitle,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] small{color:#9fb0a6}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] strong{color:#eee4cf}
html[data-theme="dark"] .form-error{color:#d1644f}
/* Dunkles Theme: Lesbarkeit der Kacheln, Kennzahlen und Filter. */
html[data-theme="dark"] .metric-value{color:#eee4cf}
html[data-theme="dark"] .metric-title,html[data-theme="dark"] .metric-foot{color:#9fb0a6}
html[data-theme="dark"] .metric-title .icon{color:#e0a84b}
html[data-theme="dark"] .harbor-card{background:#1b2828;border-color:#3a4e4e;color:#9fb0a6}
html[data-theme="dark"] .harbor-card:hover{background:#243535;border-color:#e0a84b}
html[data-theme="dark"] .harbor-card strong{color:#eee4cf}
html[data-theme="dark"] .harbor-card .harbor-count{color:#e0a84b}
html[data-theme="dark"] .harbor-card p,html[data-theme="dark"] .harbor-card small{color:#b5c2bb}
html[data-theme="dark"] .harbor-card .icon{color:#e0a84b}
html[data-theme="dark"] .fleet-stat{background:#1b2828;border-color:#3a4e4e;color:#b5c2bb}
html[data-theme="dark"] .fleet-stat strong{color:#e0a84b}
html[data-theme="dark"] .fleet-stat[aria-pressed=true]{background:#243535;border-color:#e0a84b;box-shadow:none}
html[data-theme="dark"] .fleet-filters{background:#1b2828;border-color:#3a4e4e}
html[data-theme="dark"] .fleet-filters label,html[data-theme="dark"] .fleet-result-bar{color:#b5c2bb}
html[data-theme="dark"] .supply-locker{background:#152121;border-color:#243535}
html[data-theme="dark"] .locker-item span{color:#b5c2bb}
html[data-theme="dark"] .empty{color:#b5c2bb}
html[data-theme="dark"] .empty h3{color:#eee4cf}
html[data-theme="dark"] .task h3{color:#eee4cf}
html[data-theme="dark"] .task p,html[data-theme="dark"] .legend{color:#b5c2bb}
html[data-theme="dark"] .task-symbol{background:#1f3030;border-color:#3a4e4e;color:#e0a84b}
html[data-theme="dark"] .donut text{fill:#eee4cf}
html[data-theme="dark"] .panel .subtitle,html[data-theme="dark"] .subtitle{color:#b5c2bb}
html[data-theme="dark"] .panel td small,html[data-theme="dark"] td small{color:#9fb0a6}
html[data-theme="dark"] .source-box{background:#152121;color:#b5c2bb;border-color:#3a4e4e}
html[data-theme="dark"] .fleet-bulk{background:#1f3030;color:#eee4cf;border-color:#3a4e4e}
html[data-theme="dark"] .fleet-table tr.is-selected td,html[data-theme="dark"] .ship-card.is-selected{background:#1f3030}
html[data-theme="dark"] .notice.fleet-import-expired{background:#3d2220;color:#e88a7a;border-color:#6b3a33}
/* Flotte: Auswahl, Sortierung, Import-Gültigkeit, Versand an Blockade, kleinere Schiffskarten. */
.ship-check{width:18px;height:18px;margin:0;accent-color:#3d5d46;cursor:pointer;flex-shrink:0}
.fleet-table .check-col{width:44px;text-align:center}
.fleet-table tr.is-selected td{background:#e4ead0}
.sort-btn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;font-weight:600;text-align:inherit}
.sort-btn span{opacity:.7;font-size:.75em}
.sort-btn:hover{text-decoration:underline}
.fleet-bulk{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;margin:8px 0;border:1px solid #6b7d49;background:#e4ead0;border-radius:5px;color:#2f3d24}
.notice.fleet-import-expired{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f3ddcf;border-color:#dfb6a2;color:#8d3f28;margin-bottom:14px;padding:10px 14px}
.notice.fleet-import-ok{display:flex;gap:10px;align-items:center;margin-bottom:14px;padding:8px 14px}
.move-preview{width:100%;font-size:.85rem}.move-preview th,.move-preview td{padding:6px 8px;text-align:left}
.ship-card.is-selected{border-color:#3d5d46;box-shadow:0 0 0 2px #7fa98a}
.ship-card-art .ship-check{position:absolute;left:8px;top:8px;z-index:2}
@media(min-width:1500px){.ship-cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
.ship-card-art{height:70px}
.ship-card-art>img{max-height:56px;max-width:110px}
.ship-card-body{padding:12px}
.ship-card h2{font-size:1rem}
.ship-card dl{gap:8px;margin:10px 0}

/* Eigene Schiffseigner-Liste mit Typbildern und aufklappbaren Schiffsnamen. */
.owner-panel .ship-cell{min-width:180px;white-space:normal}
.owner-panel .ship-cell img{width:72px;height:54px;object-fit:contain}
.owner-panel td:not(:first-child){font-variant-numeric:tabular-nums}
.owner-ship-names{min-width:160px;max-width:340px;white-space:normal}
.owner-ship-names summary{cursor:pointer}
.owner-ship-names ul{padding-left:20px;max-height:280px;overflow:auto}
.owner-ship-names li{padding:4px 0;overflow-wrap:anywhere}
.deedholder-filter{display:flex;align-items:center;gap:8px;margin:12px 0 18px;cursor:pointer}
.deedholder-filter input{width:18px;height:18px;margin:0}
/* Inventory: one row per location, grouped by island. */
.stock-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px}
.stock-total{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:5px;padding:14px;background:var(--paper-light)}
.stock-total>strong{font-size:1.7rem;line-height:1.2;font-variant-numeric:tabular-nums}
.stock-total>span,.stock-total>small{color:var(--muted)}
.stock-goods{display:flex;flex-wrap:wrap;gap:10px;min-width:220px}
.stock-good{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:4px 12px;border:1px solid var(--line);border-radius:5px;padding:10px 12px;min-width:210px;flex:0 1 280px;background:var(--paper-light);white-space:normal}
.stock-good>strong{font-variant-numeric:tabular-nums;text-align:right}
.stock-good>small{grid-column:1/-1;color:var(--muted)}
.stock-notes{max-width:300px;white-space:normal}.stock-notes summary,.inventory-details>summary{cursor:pointer;color:var(--green)}
.stock-notes p{overflow-wrap:anywhere;font-size:.85rem}
.inventory-heading{margin:24px 0 14px}.inventory-heading h2{margin:0 0 5px}.inventory-heading p{margin:0;color:var(--muted)}
.inventory-details{margin:18px 0}.inventory-details>summary{padding:12px 0;font-weight:600}.inventory-details[open]>.panel{margin-top:8px}
@media(max-width:700px){.stock-totals{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}.stock-total{padding:10px}.stock-total .commodity{flex-wrap:wrap}.stock-good{min-width:190px}.stock-total>small{font-size:.8rem}}

html[data-theme="dark"] .stock-total,html[data-theme="dark"] .stock-good{background:#152121;color:#eee4cf;border-color:#3a4e4e}
html[data-theme="dark"] .stock-total>span,html[data-theme="dark"] .stock-total>small,html[data-theme="dark"] .stock-good>small,html[data-theme="dark"] .inventory-heading p{color:#acbcb5}
html[data-theme="dark"] .stock-notes summary,html[data-theme="dark"] .inventory-details>summary{color:#b6d1bb}
@media(min-width:701px) and (max-width:1100px){.stock-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
