/* Semantic accents add identity while common dimensions keep collections stable. */
#duck-panel [data-ui-tone=nature]{--dk-tone:#9bdd8a;--dk-tint:#243e32}
#duck-panel [data-ui-tone=mint]{--dk-tone:#70dfc7;--dk-tint:#203e3e}
#duck-panel [data-ui-tone=sky]{--dk-tone:#8ac8ff;--dk-tint:#263a52}
#duck-panel [data-ui-tone=ember]{--dk-tone:#ffb17b;--dk-tint:#49382e}
#duck-panel [data-ui-tone=gold]{--dk-tone:#f0d184;--dk-tint:#433e2b}
#duck-panel [data-ui-tone=rose]{--dk-tone:#f7a7b7;--dk-tint:#462e3c}
#duck-panel [data-ui-tone=violet]{--dk-tone:#c5a8ff;--dk-tint:#36324c}
#duck-panel .dk-shell-dialog{background:linear-gradient(145deg,color-mix(in srgb,var(--dk-tint,#233c41),#111b27 66%),#121c28 72%);border-color:color-mix(in srgb,var(--dk-tone,#8acfc8),transparent 50%)}
#duck-panel .dk-shell-header{background:linear-gradient(100deg,var(--dk-tint,#233c41),#1c2a39);border-bottom:1px solid color-mix(in srgb,var(--dk-tone,#8acfc8),transparent 65%)}
#duck-panel .dk-shell-header h2{color:var(--dk-tone,#d5e5e0)}
#duck-panel :is(.dk-shell-menu-action,.dk-shell-actions>button,.dk-shell-favorites>button,.dk-shell-dock>button){border-color:color-mix(in srgb,var(--dk-tone,#80c8c1),transparent 60%);background:linear-gradient(130deg,var(--dk-tint,#243b3c),#1d2b3a 80%)}
#duck-panel :is(.dk-shell-menu-action,.dk-shell-actions>button,.dk-shell-favorites>button,.dk-shell-dock>button)>span:first-child{color:var(--dk-tone,#80c8c1)}
#duck-panel .dk-shell-menu-item{height:78px;background:transparent;border-color:#63808b55;overflow:hidden}
#duck-panel .dk-shell-menu-item>.dk-shell-menu-action{grid-template-columns:32px minmax(0,1fr);grid-template-rows:22px 18px;gap:2px 10px;padding:12px;height:78px}
#duck-panel .dk-shell-menu-action>span:first-child{grid-row:1/3}
#duck-panel .dk-shell-menu-action>strong{font-size:13px;padding-right:40px}
#duck-panel .dk-shell-menu-action>small{grid-column:2;grid-row:2;font-size:10px;line-height:18px;white-space:nowrap;display:block;text-overflow:ellipsis;overflow:hidden;padding-right:40px}
#duck-panel .dk-shell-menu-item>.dk-shell-favorite{top:17px;right:7px;background:#101b2880}
#duck-panel .dk-shell-page :is(.dk-card,.dk-tracking-card){background:linear-gradient(145deg,color-mix(in srgb,var(--dk-tint,#233c41),#1a2936 55%),#192a36);border-color:color-mix(in srgb,var(--dk-tone,#8acfc8),transparent 75%)}
#duck-panel .dk-shell-page[data-shell-page=squad]{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);gap:20px;align-items:start}
#duck-panel .dk-shell-page[data-shell-page=squad][hidden]{display:none!important}
#duck-panel .dk-shell-dialog .dk-squad-column{display:flex;flex-direction:column;gap:12px;min-width:0}
#duck-panel .dk-squad-column>.dk-card{width:100%;box-sizing:border-box}
#duck-panel .dk-squad-column .dk-card h3{font-size:15px;margin-bottom:15px}
#duck-panel .dk-empty-squad{padding:16px 8px}
#duck-panel .dk-empty-squad .dk-squad-glyph{font-size:24px;width:40px;height:40px;margin:0 auto 8px}
#duck-panel .dk-empty-squad p{display:none}
#duck-panel .dk-empty-squad strong{font-size:12px}
#duck-panel .dk-side-tip{padding:12px 16px;background:#473b2e66;border:1px solid #ae825443;border-radius:8px}
#duck-panel .dk-side-tip p{font-size:11px;line-height:1.8}
#duck-panel .dk-sortie-config,#duck-panel .dk-operation-directory{min-width:0;display:flex;flex-direction:column;gap:12px}
#duck-panel .dk-op-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0}
#duck-panel .dk-op-heading h3{font-size:13px;margin:0;color:#e6e9e2}
#duck-panel .dk-op-heading>span{font-size:9px;color:#9fbbca}
#duck-panel .dk-sortie-summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:74px;padding:12px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--region),transparent 50%);border-left:3px solid var(--region);border-radius:8px;background:linear-gradient(110deg,color-mix(in srgb,var(--region),#172735 82%),#1a2938)}
#duck-panel .dk-sortie-summary>div{min-width:0}
#duck-panel .dk-sortie-summary strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#duck-panel .dk-sortie-summary small{font-size:9px;color:#a7bfcc;letter-spacing:.04em}
#duck-panel .dk-op-symbol{width:32px;height:32px;display:grid;place-items:center;color:var(--region,#ceb1f4);background:color-mix(in srgb,var(--region,#ceb1f4),transparent 90%);border-radius:7px;flex-shrink:0}
#duck-panel .dk-op-symbol svg{width:23px;height:23px}
#duck-panel .dk-operation-regions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}
#duck-panel .dk-operation-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;height:58px;box-sizing:border-box;min-width:0;border:1px solid #58738066;border-radius:7px;overflow:hidden;background:linear-gradient(115deg,color-mix(in srgb,var(--region),#162534 90%),#172634)}
#duck-panel .dk-operation-row>button[data-region]{display:flex;align-items:center;gap:8px;min-width:0;min-height:0;height:56px;margin:0;padding:7px;border:0;background:transparent;text-align:left;border-radius:0}
#duck-panel .dk-operation-row>button[data-region]>span:nth-child(2){flex:1;min-width:0}
#duck-panel .dk-operation-row strong{display:block;font-size:11px;line-height:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e7ede7}
#duck-panel .dk-operation-row small{display:block;font-size:9px;line-height:15px;color:#9cb6c7;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#duck-panel .dk-operation-row em{font-style:normal;font-size:8px;white-space:nowrap;color:var(--region)}
#duck-panel .dk-operation-row .dk-op-symbol{width:27px;height:27px}
#duck-panel .dk-operation-row .dk-op-symbol svg{width:20px;height:20px}
#duck-panel .dk-operation-row.is-selected{border-color:var(--region);box-shadow:inset 2px 0 var(--region);background:color-mix(in srgb,var(--region),#162534 82%)}
#duck-panel .dk-operation-row .dk-op-info,#duck-panel .dk-risk-option .dk-op-info{height:100%;width:34px;min-height:0;border:0;border-left:1px solid #ffffff0a;background:#ffffff03;padding:0;border-radius:0;font-size:15px;color:#a6c1d1}
#duck-panel .dk-op-info:hover{background:#ffffff12!important;color:#fff!important}
#duck-panel .dk-operation-risks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#duck-panel .dk-risk-option{position:relative;min-width:0;display:flex;height:76px;border:1px solid color-mix(in srgb,var(--risk),transparent 65%);border-radius:7px;overflow:hidden;background:color-mix(in srgb,var(--risk),#172331 94%)}
#duck-panel .dk-risk-option>button[data-difficulty]{width:100%;height:100%;min-height:0;border:0;display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:22px 17px;align-content:center;gap:2px 7px;padding:10px 24px 10px 10px;background:transparent;text-align:left}
#duck-panel .dk-risk-option>button[data-difficulty]>svg{width:24px;height:24px;grid-row:1/3;align-self:center;color:var(--risk)}
#duck-panel .dk-risk-option strong{font-size:12px;color:var(--risk);line-height:22px;white-space:nowrap}
#duck-panel .dk-risk-option small{font-size:9px;color:#b5c7cb;line-height:17px;white-space:nowrap}
#duck-panel .dk-risk-option .dk-op-info{position:absolute;right:0;top:0;width:24px;color:var(--risk)}
#duck-panel .dk-risk-option:has([aria-pressed=true]){border-color:var(--risk);background:color-mix(in srgb,var(--risk),#172331 82%);box-shadow:inset 0 -2px var(--risk)}
#duck-panel .dk-risk-badge{display:grid;grid-template-columns:20px auto;gap:0 5px;color:var(--risk);align-items:center;flex-shrink:0}
#duck-panel .dk-risk-badge svg{width:20px;height:20px;grid-row:1/3}
#duck-panel .dk-risk-badge b{font-size:11px;line-height:17px}
#duck-panel .dk-risk-badge small{color:var(--risk);font-size:8px;line-height:13px}
#duck-panel .dk-region-quest{display:flex;gap:10px;align-items:center;min-width:0;width:100%;height:66px;min-height:66px;text-align:left;padding:10px 12px;border:1px solid #b395d555;border-left:3px solid #bda0e2;border-radius:7px;background:linear-gradient(100deg,#3c3151,#202c40)}
#duck-panel .dk-region-quest>span:nth-child(2){min-width:0;flex:1}
#duck-panel .dk-region-quest strong{display:block;font-size:12px;line-height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e7d9ff}
#duck-panel .dk-region-quest small{font-size:9px;color:#bdaed2;line-height:17px}
#duck-panel .dk-region-quest em{font-style:normal;color:#cbb3eb}
#duck-panel .dk-operation-note{font-size:10px;line-height:1.8;color:#a9bbc8;margin:0}
#duck-panel .dk-op-continue{height:46px;min-height:46px;border-color:#c39368;background:linear-gradient(110deg,#654b32,#3c3a33);color:#ffe0aa;margin-top:5px;font-size:12px}
#duck-panel .dk-operation-dialog{color:#e4eee7;background:#172634;border:1px solid #6f889b;border-radius:10px;padding:0;width:min(520px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);box-sizing:border-box;box-shadow:0 22px 100px #0009;overflow:hidden}
#duck-panel .dk-operation-dialog::backdrop{background:#060c16ba;backdrop-filter:blur(4px)}
#duck-panel .dk-operation-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid color-mix(in srgb,var(--detail-accent),transparent 60%);background:linear-gradient(100deg,color-mix(in srgb,var(--detail-accent),#172634 83%),#172634)}
#duck-panel .dk-operation-dialog h2{font-size:16px;margin:0;color:var(--detail-accent)}
#duck-panel .dk-operation-dialog header>button{width:40px;height:40px;min-height:40px;padding:0;border:1px solid #718c9b66;background:#ffffff06;color:#e4eee7}
#duck-panel .dk-operation-detail-body{overflow:auto;max-height:calc(100dvh - 112px);padding:18px;box-sizing:border-box;font-size:12px;line-height:1.9}
#duck-panel .dk-operation-detail-body p{margin:12px 0;color:#b4cad6}
#duck-panel .dk-operation-detail-body h3{font-size:13px;margin:18px 0 10px;color:#dbc7ef}
#duck-panel .dk-operation-detail-body ol{padding-left:20px;color:#dac5f3}
#duck-panel .dk-detail-symbol svg{width:46px;height:46px;color:#b5d4d8}
#duck-panel .dk-operation-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
#duck-panel .dk-operation-stats>span{display:flex;flex-direction:column;justify-content:center;height:62px;padding:9px 12px;box-sizing:border-box;background:#233847;border:1px solid #526e7b44;border-radius:5px;font-size:10px;color:#abc2cf;min-width:0}
#duck-panel .dk-operation-stats b{font-size:13px;color:#edf1db;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#duck-panel .dk-operation-loot{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
#duck-panel .dk-operation-loot>button{position:relative;aspect-ratio:1;width:100%;height:auto;min-height:0;padding:2px;border:1px solid color-mix(in srgb,var(--grade),transparent 40%);border-top:2px solid var(--grade);background:#29404b;border-radius:5px}
#duck-panel .dk-operation-loot .dk-icon{width:100%;height:100%}
@media(max-width:900px){#duck-panel .dk-shell-page[data-shell-page=squad]{grid-template-columns:minmax(0,1fr)}#duck-panel .dk-squad-column .dk-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#duck-panel .dk-code-entry{grid-column:1/-1}#duck-panel .dk-squad-column .dk-actions>button{font-size:11px;min-width:0}#duck-panel .dk-risk-option>button[data-difficulty]{grid-template-columns:20px minmax(0,1fr);gap:2px 5px;padding-left:8px}#duck-panel .dk-risk-option>button[data-difficulty]>svg{width:20px;height:20px}}
@media(max-width:600px){#duck-panel .dk-operation-regions{grid-template-columns:minmax(0,1fr)}#duck-panel .dk-operation-row{height:54px}#duck-panel .dk-operation-row>button[data-region]{height:52px}#duck-panel .dk-operation-row strong{font-size:12px}#duck-panel .dk-sortie-summary{padding:9px;gap:7px;grid-template-columns:30px minmax(0,1fr) auto}#duck-panel .dk-sortie-summary strong{font-size:13px}#duck-panel .dk-sortie-summary small{font-size:8px}#duck-panel .dk-operation-risks{gap:5px}#duck-panel .dk-risk-option{height:82px}#duck-panel .dk-risk-option>button[data-difficulty]{grid-template-columns:minmax(0,1fr);grid-template-rows:22px 18px 14px;justify-items:center;gap:0;padding:5px 18px 5px 3px;text-align:center}#duck-panel .dk-risk-option>button[data-difficulty]>svg{grid-row:1;align-self:center}#duck-panel .dk-risk-option strong{font-size:11px;line-height:18px}#duck-panel .dk-risk-option small{font-size:8px;line-height:14px}#duck-panel .dk-risk-option .dk-op-info{width:20px;font-size:13px}#duck-panel .dk-shell-menu-grid{grid-template-columns:1fr;gap:8px}#duck-panel .dk-shell-menu-item{height:70px}#duck-panel .dk-shell-menu-item>.dk-shell-menu-action{height:70px;grid-template-columns:28px minmax(0,1fr);grid-template-rows:20px 18px;padding:10px 12px}#duck-panel .dk-shell-menu-action>strong{font-size:13px}#duck-panel .dk-shell-menu-action>small{font-size:10px}#duck-panel .dk-shell-menu-item>.dk-shell-favorite{top:12px}#duck-panel .dk-operation-detail-body{padding:14px}#duck-panel .dk-operation-dialog h2{font-size:14px}}
/* Stable information architecture and equal-size navigation at every level. */
#duck-panel .dk-shell-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
#duck-panel .dk-shell-title>small{font-size:9px;color:var(--dk-tone,#91c8c3);opacity:.8}
#duck-panel .dk-shell-title h2{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:17px}
#duck-panel .dk-shell-subnav{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:7px;padding:12px 20px;margin:0;border-bottom:1px solid #829aab22;background:#142230;flex-shrink:0}
#duck-panel .dk-shell-subnav[hidden]{display:none}
#duck-panel .dk-shell-subnav>button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:44px;min-height:44px;max-height:44px;box-sizing:border-box;padding:6px 9px;background:#203240;border:1px solid #58738366;border-radius:6px;min-width:0;overflow:hidden}
#duck-panel .dk-shell-subnav>button>span{font-size:17px;flex-shrink:0;color:var(--dk-tone,#a8c9d2)}
#duck-panel .dk-shell-subnav>button>strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#duck-panel .dk-shell-subnav>button>small{display:none}
#duck-panel .dk-shell-subnav>button[aria-current=page]{background:var(--dk-tint,#28454a);border-color:var(--dk-tone,#93cac7);box-shadow:inset 0 -2px var(--dk-tone,#93cac7);color:#f0f1df}
#duck-panel .dk-shell-menu-grid:has(.dk-shell-menu-group){display:flex;flex-direction:column;gap:20px}
#duck-panel .dk-shell-menu-group{display:flex;flex-direction:column;gap:10px}
#duck-panel .dk-shell-menu-group>h3{font-size:12px;color:var(--dk-tone);display:flex;align-items:center;gap:8px;margin:0}
#duck-panel .dk-shell-menu-group>h3:before{content:'';width:3px;height:13px;background:var(--dk-tone);border-radius:2px}
#duck-panel .dk-shell-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#duck-panel [role=tablist]{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:7px;min-width:0}
#duck-panel [role=tablist]>button{width:100%;height:44px;min-height:44px;max-height:44px;box-sizing:border-box;margin:0;padding:7px 10px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#duck-panel :is(.dk-arsenal-filters,.dk-bestiary-regions){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-width:0}
#duck-panel :is(.dk-arsenal-filters,.dk-bestiary-regions)>button{width:100%;height:44px;min-height:44px;max-height:44px;box-sizing:border-box;padding:7px;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#duck-panel .dk-ux-flags{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0}
#duck-panel .dk-ux-flags>button{width:100%;height:32px;min-height:32px!important;max-height:32px;padding:5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
@media(max-width:600px){#duck-panel .dk-shell-subnav{padding:10px;gap:5px}#duck-panel .dk-shell-subnav>button{padding:5px 3px;gap:3px}#duck-panel .dk-shell-subnav>button>strong{font-size:10px}#duck-panel .dk-shell-subnav>button>span{display:none}#duck-panel .dk-shell-group-grid{grid-template-columns:minmax(0,1fr)}#duck-panel :is(.dk-arsenal-filters,.dk-bestiary-regions){grid-template-columns:repeat(2,minmax(0,1fr))}#duck-panel .dk-shell-title h2{font-size:15px}#duck-panel .dk-hideout-nav [role=tablist]{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(0,1fr)}}
/* Content-first density: plain facts, short labels, one shared action row. */
#duck-panel .dk-shell-body{padding:18px}
#duck-panel .dk-shell-page p{line-height:1.6;margin-block:8px}
#duck-panel :is(.dk-overline,.dk-section-title small,.dk-logo small,.dk-preview-title small,.dk-shell-header small,.dk-floating header small){letter-spacing:.025em}
#duck-panel .dk-shell-menu-group{gap:8px}
#duck-panel .dk-shell-menu-grid:has(.dk-shell-menu-group){gap:16px}
#duck-panel .dk-op-heading>span:empty,#duck-panel .dk-operation-note:empty{display:none}
#duck-panel .dk-squad-column .dk-member{padding-block:10px}
#duck-panel .dk-operation-stats>span{height:50px;background:transparent;border:0;border-bottom:1px solid #68818f33;border-radius:0;padding:6px 0}
#duck-panel .dk-operation-stats{column-gap:16px;row-gap:0}
#duck-panel .dk-report{max-width:880px;margin:24px auto;padding:20px;box-sizing:border-box}
#duck-panel .dk-report-heading{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
#duck-panel .dk-report-heading>span{color:#9db5c5;font-size:11px;line-height:1.4}
#duck-panel .dk-report-heading>h2{font-size:26px;line-height:1.25;margin:0;letter-spacing:-.025em}
#duck-panel .dk-report-heading>small{color:#b4c7ce;font-size:11px;line-height:1.5}
#duck-panel .dk-result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px;padding:12px 0;border-top:1px solid #67808b44;border-bottom:1px solid #67808b44}
#duck-panel .dk-result-stats>span{display:flex;flex-direction:column;gap:4px;justify-content:center;height:52px;min-height:52px;padding:0;border:0;border-radius:0;background:transparent;box-sizing:border-box}
#duck-panel .dk-result-stats small{font-size:10px;color:#a1b9c7;line-height:1.4}
#duck-panel .dk-result-stats b{font-size:22px;line-height:1.25;color:#e2e8cf}
#duck-panel .dk-report>h3{font-size:13px;line-height:1.5;margin:0 0 10px}
#duck-panel .dk-report-empty{grid-column:1/-1;font-size:11px;color:#91a9b8;margin:0;padding:2px 0;background:transparent;border:0}
#duck-panel .dk-report-actions,#duck-panel .dk-ux-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#duck-panel .dk-report-actions{margin-top:20px;padding-top:16px;border-top:1px solid #67808b33}
#duck-panel .dk-report-actions>button{height:44px;min-height:44px;box-sizing:border-box;margin:0;font-size:12px;padding:8px 14px;flex:1 1 160px}
#duck-panel .dk-report [data-ux-result]:empty{display:none}
#duck-panel .dk-report [data-ux-result]{margin-top:16px}
#duck-panel .dk-operation-detail-body :is(.dk-death-recap,.dk-contribution-recap){padding:0;margin:0 0 14px;border:0;border-radius:0;background:transparent}
#duck-panel .dk-operation-detail-body :is(.dk-death-recap,.dk-contribution-recap) p{font-size:11px;line-height:1.6;margin:6px 0}
@media(max-width:600px){#duck-panel .dk-shell-body{padding:12px}#duck-panel .dk-report{padding:12px;margin:16px auto}#duck-panel .dk-result-stats{gap:8px;margin-bottom:14px}#duck-panel .dk-result-stats b{font-size:18px}#duck-panel .dk-result-stats small{font-size:8px}#duck-panel .dk-report-actions{gap:8px;margin-top:16px;padding-top:12px}#duck-panel .dk-report-actions>button{flex-basis:100%;height:44px;min-height:44px}#duck-panel .dk-report-heading>h2{font-size:23px}}
#duck-panel .dk-report>.dk-report-heading{position:static;inset:auto;display:flex;align-items:flex-start;justify-content:flex-start;text-align:left;width:auto;height:auto;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
#duck-panel .dk-shell-title>small:empty{display:none}
#duck-panel .dk-operation-row>button[data-region]:disabled,#duck-panel .dk-risk-option>button[data-difficulty]:disabled{opacity:.65}
#duck-panel .dk-sortie-region-picker{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0;height:62px;min-width:0;border:1px solid color-mix(in srgb,var(--region),transparent 25%);border-left:3px solid var(--region);border-radius:7px;overflow:hidden;background:linear-gradient(100deg,color-mix(in srgb,var(--region),#152533 86%),#182a39)}
#duck-panel .dk-sortie-region-picker>button{height:60px;min-height:60px;border:0;border-radius:0;background:transparent;min-width:0}
#duck-panel .dk-sortie-region-picker>button:first-child{display:flex;align-items:center;gap:10px;padding:8px 12px;text-align:left}
#duck-panel .dk-sortie-region-picker>button:first-child>span:nth-child(2){flex:1;min-width:0}
#duck-panel .dk-sortie-region-picker strong{display:block;color:#e6eddf;font-size:14px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#duck-panel .dk-sortie-region-picker small{display:block;color:#a9c0c9;font-size:10px;line-height:17px}
#duck-panel .dk-sortie-region-picker em{font-style:normal;font-size:20px;color:var(--region)}
#duck-panel .dk-sortie-region-picker>button:last-child{border-left:1px solid #ffffff0b;padding:0;color:var(--region);font-size:17px}
#duck-panel .dk-sortie-config{gap:10px}
#duck-panel .dk-operation-dialog .dk-operation-regions{grid-template-columns:1fr}
@media(max-width:600px){#duck-panel .dk-sortie-region-picker strong{font-size:13px}#duck-panel .dk-sortie-region-picker small{font-size:9px}}
#duck-panel .dk-operation-dialog>header>h2{flex:1;min-width:0}
#duck-panel .dk-shell-menu-item{height:60px}
#duck-panel .dk-shell-menu-item>.dk-shell-menu-action{height:60px;grid-template-rows:22px;align-content:center;padding:10px 12px}
#duck-panel .dk-shell-menu-action>span:first-child{grid-row:1}
#duck-panel .dk-shell-menu-action>small{display:none}
#duck-panel .dk-shell-menu-item>.dk-shell-favorite{top:7px}
#duck-panel .dk-squad-column .dk-actions>button{height:48px;min-height:48px;max-height:48px;box-sizing:border-box;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Ammo artwork must fit its own cell, including inside weapon detail tooltips. */
.dk-tooltip-ammo>.dk-icon{display:flex!important;align-items:center;justify-content:center;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px;min-height:32px;max-width:32px;max-height:32px;margin:0!important;padding:0!important;float:none;overflow:hidden;box-sizing:border-box}
.dk-tooltip-ammo>.dk-icon>svg{display:block!important;flex:none;width:24px!important;height:24px!important;min-width:0;max-width:24px!important;max-height:24px!important;margin:0!important;padding:0;object-fit:contain}
.dk-tooltip-ammo>span:not(.dk-icon){flex:1;min-width:0;line-height:1.45;font-size:11px}
.dk-tooltip-ammo{gap:8px;padding:8px;margin-top:8px}
.dk-tooltip-ammo small{font-size:9px;line-height:1.4;margin-top:2px}
#duck-panel .dk-sortie-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#duck-panel .dk-sortie-modes>button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;min-height:48px;max-height:48px;box-sizing:border-box;padding:8px 12px;border:1px solid #66829666;background:#1f3040;color:#afc8d6}
#duck-panel .dk-sortie-modes svg{width:22px;height:22px;flex:none}
#duck-panel .dk-sortie-modes strong{font-size:13px;line-height:20px}
#duck-panel .dk-sortie-modes [aria-pressed=true]{background:#4a392f;border-color:#f6b07b;color:#ffdbba;box-shadow:inset 0 -2px #f6b07b}
#duck-panel .dk-sortie-modes [data-sortie-mode=multi][aria-pressed=true]{background:#293f50;border-color:#87cafa;color:#c8e8ff;box-shadow:inset 0 -2px #87cafa}
#duck-panel .dk-shell-favorite-status:empty{display:none}
#duck-panel .dk-squad-return{padding:14px 0 0;margin:14px 0 0;border:0;border-top:1px solid #66829333;background:transparent}
#duck-panel .dk-squad-return>header{position:static;display:flex;justify-content:space-between;align-items:center;gap:10px;background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 10px;min-height:0;text-align:left}
#duck-panel .dk-squad-return h3{font-size:12px;margin:0;color:#a8c3d2}
#duck-panel .dk-squad-return>header>small{font-size:10px;color:#a0b6c4}
#duck-panel .dk-squad-return-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin-bottom:12px}
#duck-panel .dk-squad-return-members>span{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;line-height:1.5}
#duck-panel .dk-squad-return-members b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#duck-panel .dk-squad-return-members small{white-space:nowrap;flex-shrink:0;color:#b4c9a3;font-size:10px}
#duck-panel .dk-squad-return .dk-ux-actions>button{height:44px;min-height:44px;flex:1 1 120px;box-sizing:border-box;margin:0;font-size:11px;padding:7px}
#duck-panel .dk-report{display:flex;flex-direction:column;min-height:calc(100dvh - 240px)}
#duck-panel .dk-report-loot{flex:0 0 auto;margin-bottom:20px}
#duck-panel .dk-report-actions{position:sticky;bottom:0;margin-top:auto;padding-block:16px 0;background:#141e28f2;flex-shrink:0}
@media(max-width:600px){#duck-panel .dk-report{min-height:calc(100dvh - 190px)}#duck-panel .dk-report-actions{padding-top:12px;background:#141e28f2}}
#duck-panel .dk-shell-header>[data-shell-back]{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;padding:0;gap:0}
#duck-panel .dk-shell-header>[data-shell-back]>svg{display:block;width:20px;height:20px;margin:0}
#duck-panel .dk-item-grid>.dk-item>.dk-item-buttons,#duck-panel .dk-item-grid>.dk-item>.dk-ux-flags{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:40px;grid-auto-rows:40px;height:auto;min-height:40px;max-height:88px;gap:6px;padding:0;flex-shrink:0;overflow:visible;align-content:start}
#duck-panel .dk-item-grid>.dk-item>.dk-item-buttons>button.dk-icon-action,#duck-panel .dk-item-grid>.dk-item>.dk-ux-flags>button.dk-icon-action{width:100%;height:40px;min-height:40px!important;max-height:40px;grid-column:auto;padding:0!important;margin:0;display:grid;place-items:center;box-sizing:border-box}
#duck-panel .dk-icon-action>svg{display:block;width:20px;height:20px;max-width:70%;max-height:70%;margin:0;pointer-events:none}
#duck-panel .dk-icon-action[data-action-kind=favorite]{color:#ebd18b}
#duck-panel .dk-icon-action[data-action-kind=protected]{color:#9fcff0}
#duck-panel .dk-icon-action[data-action-kind=junk],#duck-panel .dk-icon-action[data-action-kind=scrap]{color:#eeb89a}
.dk-weapon-tooltip.is-action{width:max-content;max-width:min(300px,calc(100vw - 24px));min-height:0;padding:8px 12px;border-radius:6px;font-size:11px;line-height:1.5;white-space:normal;pointer-events:none}
.dk-weapon-tooltip.is-action strong{font-size:11px;line-height:1.5;margin:0}
.dk-weapon-tooltip.is-action small{display:block;font-size:10px;line-height:1.5;color:#afc5d0}
#duck-panel select:not([multiple]){appearance:none;-webkit-appearance:none;box-sizing:border-box;padding-left:12px!important;padding-right:42px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M1 2l8 8 8-8' fill='none' stroke='%23d4e6ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:18px 12px;background-position:right 12px center;min-height:44px}
#duck-panel :is(.dk-category-chip,.dk-grade,.dk-ux-chip),.dk-weapon-tooltip :is(.dk-category-chip,.dk-grade,.dk-ux-chip){border:0!important;background:none!important;box-shadow:none!important;border-radius:0;padding:0!important;height:18px!important;min-height:18px!important;max-height:18px!important;line-height:18px!important;letter-spacing:0;vertical-align:middle}
#duck-panel .dk-item-badges,.dk-weapon-tooltip .dk-item-badges{gap:8px;min-height:18px}
#duck-panel .dk-item-badges>.dk-grade:before{content:'·';margin-right:6px;color:#7894a6}
