/* 삽타이쿤 자원통 최적화 전용 */
.sh-craft{margin-bottom:16px}
.sh-c-top,.sh-c-tabs,.sh-c-res-title,.sh-c-bin-head,.sh-c-removal,.sh-c-item{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sh-c-tabs,.sh-c-families,.sh-c-actions{display:flex;flex-wrap:wrap;gap:6px}
.sh-c-tabs button,.sh-c-families button,.sh-c-actions button{border:1px solid var(--line,#d5dce5);border-radius:9px;background:var(--card,#fff);color:inherit;padding:7px 12px;font-weight:650;cursor:pointer}
.sh-c-tabs button.on,.sh-c-families button.on,.sh-c-actions button.on{background:#1769a5;color:#fff;border-color:#1769a5}
.sh-c-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:15px 0}
.sh-c-kpis>div{background:var(--surface,#f2f6fa);border-radius:10px;padding:12px}
.sh-c-kpis span,.sh-c-kpis strong{display:block}.sh-c-kpis span{font-size:12px;opacity:.73}.sh-c-kpis strong{font-size:23px;line-height:1.5}
.sh-c-good,.sh-c-alert{border-radius:10px;padding:12px 14px;line-height:1.6;margin:12px 0;background:#edf6f0;color:#1f6542}
.sh-c-good small{display:block;opacity:.8}
.sh-c-alert{background:#fff2e9;color:#814520}.sh-c-alert p{margin:5px 0}
.sh-c-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sh-c-resource{border:1px solid var(--line,#d9e0e8);border-radius:12px;padding:12px;min-width:0}
.sh-c-resource.missing{border-color:#f0bca9;background:rgba(237,133,83,.06)}
.sh-c-res-title b{font-size:15px}.sh-c-res-title span{font-size:11px;opacity:.68}
.sh-c-resource p{font-size:13px;line-height:1.5;margin:10px 0 4px}.sh-c-resource strong{font-size:20px}
.sh-c-resource small{display:block;font-size:11px;min-height:22px;color:var(--muted,#64748b)}
.sh-c-resource button,.sh-c-removal button,.sh-c-bin-line button{margin-top:7px;border:1px solid var(--line,#d6dce2);padding:6px 8px;border-radius:8px;background:var(--card,#fff);font-size:12px;cursor:pointer;color:inherit}
.sh-c-removal{border-bottom:1px solid var(--line,#e1e5eb);padding:11px 0;flex-wrap:wrap}
.sh-c-removal>div{flex:1;min-width:195px}.sh-c-removal b,.sh-c-removal small{display:block}.sh-c-removal small{color:var(--muted,#64748b);font-size:12px}
.sh-c-removal>span{font-size:12px;font-weight:750}
.sh-c-removal.ok>span{color:#248353}.sh-c-removal.bad>span{color:#b65d46}
.sh-c-removal button:disabled{opacity:.4;cursor:not-allowed}
.sh-c-settings{border-top:1px solid var(--line,#ddd);padding-top:10px;margin-top:6px}
.sh-c-settings summary{font-weight:700;cursor:pointer}
.sh-c-settings-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.sh-c-settings label,.sh-c-bin-group label{font-size:12px;color:var(--muted,#64748b);display:flex;flex-direction:column;gap:4px}
.sh-c-settings input,.sh-c-filter input[type=search]{border:1px solid var(--line,#cbd5e1);border-radius:8px;padding:8px;color:inherit;background:var(--card,#fff);min-width:0;width:100%}
.sh-c-bin-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sh-c-bin-group{border:1px solid var(--line,#e1e5eb);border-radius:10px;padding:10px;min-width:0}
.sh-c-bin-head{margin-bottom:10px}.sh-c-bin-head label{max-width:140px}
.sh-c-bin-line{display:flex;align-items:end;gap:8px;margin:8px 0}.sh-c-bin-line span{font-size:12px;white-space:nowrap;margin-bottom:8px}
.sh-c-bin-line label{width:90px;min-width:0}.sh-c-bin-line button{margin:0 0 1px auto;white-space:nowrap}
.sh-c-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.sh-c-filter input[type=search]{max-width:240px;flex:1 1 180px}
.sh-c-filter label{font-size:12px;display:flex;gap:4px;align-items:center;white-space:nowrap}
.sh-c-item{padding:12px 0;border-bottom:1px solid var(--line,#e2e8f0);align-items:center}
.sh-c-item-body{flex:1 1 220px;min-width:0}.sh-c-item-body b,.sh-c-item-body span,.sh-c-item-body small{display:block}
.sh-c-item-body b{font-size:14px}.sh-c-item-body span{font-size:11px;color:var(--muted,#64748b)}
.sh-c-item-body small{font-size:12px;color:var(--muted,#64748b);line-height:1.5;margin-top:4px}
.sh-c-availability{font-size:12px;font-weight:700;max-width:165px;text-align:right}
.sh-c-availability.ok{color:#258458}.sh-c-availability.bad{color:#bb614d}
.sh-c-actions{flex:0 0 auto}.sh-c-actions button{font-size:11px;padding:5px 8px}
.sh-c-footer{font-size:12px;line-height:1.65;margin:8px 0 18px}
@media(max-width:760px){
 .sh-c-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sh-c-bin-list{grid-template-columns:1fr}
 .sh-c-settings-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sh-c-item{flex-wrap:wrap;gap:6px}
 .sh-c-item-body{flex-basis:100%}
 .sh-c-availability{max-width:none;text-align:left;flex:1}
 .sh-c-top{flex-wrap:wrap}
}
@media(max-width:400px){
 .sh-c-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sh-c-settings-row{grid-template-columns:1fr}
 .sh-c-bin-line label{width:70px}
}

.sh-c-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 4px}
.sh-c-family-grid button{border:1px solid var(--line,#d7dfe7);border-radius:10px;background:var(--surface,#f3f7fb);color:inherit;padding:10px;cursor:pointer;text-align:left}
.sh-c-family-grid strong,.sh-c-family-grid span{display:block}.sh-c-family-grid strong{font-size:13px}.sh-c-family-grid span{font-size:11px;margin-top:3px;opacity:.75}
@media(max-width:760px){.sh-c-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sh-c-item{align-items:flex-start;flex-wrap:wrap}
.sh-c-item-body{flex:1 1 205px}
.sh-c-item-body small{word-break:keep-all}
.sh-c-progress{display:flex;flex:0 1 265px;flex-wrap:wrap;gap:5px 9px;align-items:center;border:1px solid var(--line,#d9dfe6);border-radius:9px;padding:8px;min-width:225px}
.sh-c-progress label{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:650}
.sh-c-progress input[type=number]{width:74px;min-width:0;border:1px solid var(--line,#cbd5e1);background:var(--card,#fff);color:inherit;border-radius:7px;padding:6px}
.sh-c-progress>small{font-size:11px;color:var(--muted,#64748b)}
.sh-c-progress .sh-c-unlock,.sh-c-progress .sh-c-prev{flex-basis:100%;font-size:12px}
.sh-c-progress .sh-c-unlock{display:flex;align-items:center;gap:6px}
.sh-c-progress .sh-c-unlock input{accent-color:#267caa}
.sh-c-progress .sh-c-unlock-reason{flex-basis:100%;font-size:11px}
.sh-c-progress .sh-c-prev{justify-content:space-between}
.sh-c-actions{align-self:center}
.sh-c-availability{flex:0 1 135px;align-self:center}
@media(max-width:900px){
 .sh-c-progress{flex:1 1 260px}
 .sh-c-actions{flex:1 1 100%;justify-content:flex-end}
 .sh-c-availability{flex:0 1 145px}
}
@media(max-width:550px){
 .sh-c-progress,.sh-c-item-body{flex-basis:100%}
 .sh-c-availability{flex:1 1 100%;max-width:none;text-align:left}
 .sh-c-actions{justify-content:flex-start}
}


/* === Compact crafting view 2026-11: dense table-like lines, not cards === */
.sh-c-compact{--sc-border:var(--line,#dce2e9);--sc-mute:var(--muted,#667582);font-size:13px}
.sh-c-compact .sh-c-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px}
.sh-c-compact .sh-c-head h2{margin:0;font-size:19px;letter-spacing:-.04em}
.sh-c-compact .sh-c-head p{font-size:12px;margin:2px 0 0;color:var(--sc-mute)}
.sh-c-compact .sh-c-save{padding:8px 11px;font-size:12px;white-space:nowrap}
.sh-c-mini-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-block:1px solid var(--sc-border);padding:7px 0;margin-bottom:9px;font-size:12px}
.sh-c-mini-stats span{display:flex;gap:5px;align-items:center}
.sh-c-mini-stats span+span{border-left:1px solid var(--sc-border);padding-left:10px}
.sh-c-mini-stats b{font-variant-numeric:tabular-nums}
.sh-c-panel{border:1px solid var(--sc-border);background:var(--card,#fff);border-radius:11px;padding:12px 13px;margin:10px 0}
.sh-c-panel-head{display:flex;gap:10px;align-items:baseline;justify-content:space-between;margin-bottom:8px}
.sh-c-panel-head h3{font-size:15px;margin:0;letter-spacing:-.025em}
.sh-c-panel-head span{font-size:11px;color:var(--sc-mute);text-align:right}
.sh-c-compact .sh-c-current-tip,.sh-c-compact .sh-c-next-stage{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:6px 0 10px;padding:7px 10px;background:var(--surface,#f5f8fb);border-radius:7px;font-size:12px}
.sh-c-current-tip small{font-size:11px;color:var(--sc-mute)}
.sh-c-compact .sh-c-notice{font-size:11px;margin:4px 0}
.sh-c-compact .sh-c-back-tier{display:flex;gap:5px;margin:5px 0}
.sh-c-back-tier button{font-size:11px;background:none;color:inherit;border:1px solid var(--sc-border);padding:4px 8px;border-radius:5px;cursor:pointer}
.sh-c-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 0;border-bottom:1px solid var(--sc-border);margin-bottom:2px}
.sh-c-toolbar input[type=search]{width:165px;max-width:100%;min-width:90px;padding:6px 8px;font-size:12px;background:var(--card,#fff);border:1px solid var(--sc-border);color:inherit;border-radius:6px}
.sh-c-compact .sh-c-families{display:flex;flex-wrap:wrap;gap:3px;flex:1}
.sh-c-compact .sh-c-families button{font-size:11px;padding:4px 7px;border-radius:5px;white-space:nowrap}
.sh-c-check{display:inline-flex;gap:4px;align-items:center;white-space:nowrap;color:var(--sc-mute);font-size:11px;cursor:pointer}
.sh-c-check input{accent-color:#317eaf}
.sh-c-compact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.sh-c-line{padding:7px 0 8px;border-bottom:1px solid var(--sc-border);min-width:0}
.sh-c-line.completed{opacity:.68}
.sh-c-line-main{display:grid;grid-template-columns:58px minmax(95px,1fr) auto 77px 42px 25px;gap:5px;align-items:center;min-width:0}
.sh-c-type{border:1px solid var(--sc-border);border-radius:5px;padding:4px 3px;text-align:center;font-size:11px;font-weight:700;line-height:1.25;word-break:keep-all}
.sh-c-name{min-width:0;line-height:1.3}
.sh-c-name b{display:block;font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-c-name small{display:block;font-size:10px;color:var(--sc-mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.sh-c-name small:first-of-type:not(:last-child){opacity:.68}
.sh-c-line-flag{font-size:10px;white-space:nowrap;font-weight:700}
.sh-c-line-flag.ok{color:#238157}.sh-c-line-flag.warn{color:#a76c2f}
.sh-c-count{display:flex;align-items:center;gap:3px;white-space:nowrap}
.sh-c-count input{width:42px;min-width:0;text-align:right;background:var(--card,#fff);border:1px solid var(--sc-border);border-radius:5px;color:inherit;padding:5px 3px;font-size:12px}
.sh-c-count small{color:var(--sc-mute);font-size:10px;white-space:nowrap}
.sh-c-quick-complete,.sh-c-detail-btn{background:var(--card,#fff);border:1px solid var(--sc-border);color:inherit;border-radius:5px;padding:5px 3px;cursor:pointer;font-size:11px;white-space:nowrap}
.sh-c-quick-complete.on{color:#23794c;border-color:#5eb38a}
.sh-c-detail-btn{font-size:14px;font-weight:700}
.sh-c-next-line{display:flex;gap:5px;align-items:center;min-width:0;overflow:hidden;white-space:nowrap;padding:3px 0 0 63px;font-size:11px;color:var(--sc-mute)}
.sh-c-next-line span{font-size:10px;opacity:.8}
.sh-c-next-line b{font-size:11px;font-weight:650;overflow:hidden;text-overflow:ellipsis}
.sh-c-next-line small{font-size:10px;white-space:nowrap}
.sh-c-line-extra{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:8px 0 1px 0;color:var(--sc-mute);font-size:11px}
.sh-c-line-extra>span{flex-basis:100%;font-size:11px}
.sh-c-line-extra input[type=number]{width:52px;padding:4px;border:1px solid var(--sc-border);border-radius:5px;color:inherit;background:var(--card,#fff)}
.sh-c-line-extra label:not(.sh-c-check){display:flex;align-items:center;gap:4px}
.sh-c-line-extra button{font-size:11px;padding:5px 8px;background:var(--card,#fff);border:1px solid var(--sc-border);border-radius:5px;color:inherit;cursor:pointer}
.sh-c-resource-compact table{border-collapse:collapse;width:100%;font-size:12px;table-layout:fixed;font-variant-numeric:tabular-nums}
.sh-c-resource-compact th,.sh-c-resource-compact td{padding:6px 8px;border-bottom:1px solid var(--sc-border);text-align:right}
.sh-c-resource-compact th:first-child{text-align:left}
.sh-c-resource-compact thead th{color:var(--sc-mute);font-weight:600;font-size:11px}
.sh-c-resource-compact tbody th{font-weight:650}
.sh-c-cond{font-weight:700}.sh-c-cond.ok{color:#287e59}.sh-c-cond.bad{color:#bc6248}
.sh-c-removal-summary{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.sh-c-removal-summary>b{font-size:12px;margin-right:5px;white-space:nowrap}
.sh-c-removal-summary>small{flex:1 1 100%;font-size:10px;color:var(--sc-mute);margin:3px 0}
.sh-c-removal-chips{display:flex;flex-wrap:wrap;gap:5px;flex:1 1 auto}
.sh-c-removal-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 2px 2px 7px;background:var(--surface,#f2f6f9);border-radius:6px;font-size:11px;white-space:nowrap}
.sh-c-removal-chip small{font-size:10px;color:var(--sc-mute)}
.sh-c-removal-chip button{background:var(--card,#fff);border:1px solid var(--sc-border);border-radius:5px;color:inherit;font-size:10px;cursor:pointer;padding:3px 5px}
.sh-c-upgrades{margin-top:8px;padding:8px 10px;border-radius:7px;background:rgba(225,145,70,.08);font-size:11px}
.sh-c-upgrades b{display:block;margin-bottom:5px}
.sh-c-upgrades span{display:inline-block;margin:2px 12px 2px 0}
.sh-c-compact .sh-card.sh-craft{padding:10px 12px;margin:9px 0;border-radius:10px}
.sh-c-compact .sh-card.sh-craft h3{font-size:13px;margin:0}
.sh-c-compact .sh-card.sh-craft header small{font-size:11px}
.sh-c-compact .sh-c-settings summary{font-size:12px}
.sh-c-compact .sh-c-source{color:var(--sc-mute);font-size:10px;margin:12px 0 3px}
.sh-c-empty{padding:14px 4px;font-size:12px}
@media(max-width:1150px){.sh-c-compact-list{grid-template-columns:1fr}}
@media(max-width:620px){
  .sh-c-compact .sh-c-head h2{font-size:17px}
  .sh-c-compact .sh-c-head p{font-size:11px}
  .sh-c-compact .sh-c-save{font-size:11px}
  .sh-c-panel{padding:9px}
  .sh-c-line-main{grid-template-columns:49px minmax(74px,1fr) 61px 39px 23px;gap:3px}
  .sh-c-line-flag{display:none}
  .sh-c-name b{font-size:12px}
  .sh-c-type{font-size:10px}
  .sh-c-next-line{padding-left:53px}
  .sh-c-toolbar input[type=search]{flex:1 1 100%}
  .sh-c-mini-stats{gap:6px}
  .sh-c-mini-stats span+span{padding-left:6px}
}
@media(max-width:400px){
  .sh-c-line-main{grid-template-columns:44px minmax(70px,1fr) 61px 38px 21px}
  .sh-c-count input{width:40px}
  .sh-c-quick-complete{font-size:10px}
  .sh-c-next-line{padding-left:48px}
}


/* === Material-first four-column craft dashboard === */
@media(min-width:681px){
  html body[data-app-area="shop"]:has(#shop .sh-c-four) main{
    width:min(1860px,calc(100vw - 32px))!important;
    max-width:none!important;
    padding:10px 0 44px!important;
  }
}
#shop .sh-shell:has(.sh-c-four){width:100%;max-width:none;padding:13px 16px}
#shop .sh-c-four{color:#24354b;font-size:13px}
#shop .sh-c-four .sh-c-head h2{font-size:21px;color:#1e344e}
#shop .sh-c-four .sh-c-head p{font-size:12px;color:#64748b}
#shop .sh-c-four .sh-c-panel-head h3,#shop .sh-c-four .sh-c-board h3{font-size:16px;color:#213952}
#shop .sh-c-four .sh-c-panel-head span{font-size:12px;color:#64748b}
#shop .sh-c-four .sh-c-panel{border:1px solid #d9e2ed;border-radius:12px;background:#fff;padding:13px 15px}
#shop .sh-c-four .sh-c-head .act{background:#1668ad!important;color:#fff!important;border:1px solid #1668ad!important;font-weight:700}
#shop .sh-c-four button:not(.act){background:#f7fafc;color:#28435d;border:1px solid #ccd8e6}
#shop .sh-c-four button:not(.act):hover:not(:disabled){background:#eaf3fd;border-color:#8fb6e2}
#shop .sh-c-four button:disabled{opacity:.38;cursor:not-allowed}
#shop .sh-c-four input[type="number"],#shop .sh-c-four input[type="search"]{
  background:#fff;color:#172c41;border:1px solid #b8c8da;opacity:1
}
#shop .sh-c-four .sh-c-storage-first{margin-top:6px}
#shop .sh-c-four .sh-c-storage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#shop .sh-c-four .sh-c-storage-family{border:1px solid #dbe4ef;border-radius:10px;background:#f8fbff;padding:11px 12px;min-width:0}
#shop .sh-c-four .sh-c-storage-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;border-bottom:1px solid #e1eaf4;padding-bottom:8px;margin-bottom:5px}
#shop .sh-c-four .sh-c-storage-title b{color:#1d3b5b;font-size:14px}
#shop .sh-c-four .sh-c-storage-title>span{color:#657992;font-size:11px;white-space:nowrap}
#shop .sh-c-four .sh-c-storage-entry{display:grid;grid-template-columns:55px minmax(0,1fr) 47px;gap:5px;align-items:center;padding:6px 0;border-bottom:1px solid #e5edf5;font-variant-numeric:tabular-nums}
#shop .sh-c-four .sh-c-storage-resource{font-size:12px;font-weight:700;color:#405b78}
#shop .sh-c-four .sh-c-storage-amount{justify-self:end;font-size:15px;font-weight:800;color:#1b344f;white-space:nowrap}
#shop .sh-c-four .sh-c-storage-amount small{font-size:12px;font-weight:550;color:#687d95}
#shop .sh-c-four .sh-c-storage-state{font-size:11px;font-weight:800;text-align:right;white-space:nowrap}
#shop .sh-c-four .sh-c-storage-state.ok,#shop .sh-c-four .sh-c-storage-extra span.ok{color:#168154}
#shop .sh-c-four .sh-c-storage-state.bad,#shop .sh-c-four .sh-c-storage-extra span.bad{color:#c34b32}
#shop .sh-c-four .sh-c-storage-foot{padding-top:7px;display:grid;gap:5px;font-size:11px}
#shop .sh-c-four .sh-c-storage-foot-title{color:#61758c;font-weight:700}
#shop .sh-c-four .sh-c-storage-recommend{display:flex;align-items:center;gap:7px;justify-content:space-between}
#shop .sh-c-four .sh-c-storage-recommend>span{font-size:12px;color:#176a4a;font-weight:750}
#shop .sh-c-four .sh-c-storage-recommend small{color:#5c7b74;font-size:11px;font-weight:500}
#shop .sh-c-four .sh-c-storage-recommend button{border-radius:5px;padding:4px 7px;font-size:11px;font-weight:700}
#shop .sh-c-four .sh-c-storage-neutral{color:#8491a0;font-size:11px}
#shop .sh-c-four .sh-c-storage-extra{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-top:1px solid #e3eaf3;margin-top:11px;padding-top:9px;font-size:12px}
#shop .sh-c-four .sh-c-storage-extra strong{font-size:12px;color:#334c66}
#shop .sh-c-four .sh-c-storage-extra span{font-weight:700}
#shop .sh-c-four .sh-c-upgrades{color:#85451a}
#shop .sh-c-four .sh-card.sh-craft{padding:10px 13px;background:#fff;border:1px solid #dbe4ef;margin:8px 0}
#shop .sh-c-four .sh-c-settings{color:#334b62}
#shop .sh-c-four .sh-c-settings summary{font-size:13px;padding:1px 0}
#shop .sh-c-four .sh-c-board{margin-top:12px}
#shop .sh-c-four .sh-c-board-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:0 0 8px}
#shop .sh-c-four .sh-c-board-top h3{margin:0}
#shop .sh-c-four .sh-c-toolbar{padding:0;margin:0;border:0;justify-content:flex-end}
#shop .sh-c-four .sh-c-toolbar input[type="search"]{width:215px;min-width:110px;padding:6px 9px}
#shop .sh-c-four .sh-c-check{font-size:12px;color:#49637d;font-weight:650}
#shop .sh-c-four .sh-c-check input{accent-color:#216aa6}
#shop .sh-c-four .sh-c-family-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:11px}
#shop .sh-c-four .sh-c-family-column{min-width:0;border:1px solid #dae3ee;border-radius:11px;background:#fff;overflow:hidden}
#shop .sh-c-four .sh-c-family-header{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;border-bottom:1px solid #dbe5f1;background:#f0f6fd;padding:10px 10px 9px;min-height:67px}
#shop .sh-c-four .sh-c-family-heading{min-width:105px}
#shop .sh-c-four .sh-c-family-heading h4{margin:0;font-size:15px;color:#1b4775;line-height:1.3}
#shop .sh-c-four .sh-c-family-heading small{display:block;color:#657d95;font-size:11px;margin-top:3px}
#shop .sh-c-four .sh-c-family-controls{display:flex;align-items:center;gap:4px}
#shop .sh-c-four .sh-c-family-controls button{padding:4px 7px!important;border-radius:5px;font-size:11px;font-weight:700;min-height:28px}
#shop .sh-c-four .sh-c-family-tier{color:#145c99;background:#dceafa;border-radius:5px;padding:5px 6px;font-weight:850;font-size:12px;white-space:nowrap}
#shop .sh-c-four .sh-c-family-ready{font-size:11px;background:#ecf8f0;color:#24754c;padding:5px 10px}
#shop .sh-c-four .sh-c-family-column .sh-c-compact-list{display:block;grid-template-columns:none}
#shop .sh-c-four .sh-c-family-column .sh-c-line{padding:9px 10px 10px;background:#fff}
#shop .sh-c-four .sh-c-family-column .sh-c-line:nth-child(even){background:#fcfdff}
#shop .sh-c-four .sh-c-family-column .sh-c-line-main{display:grid;grid-template-columns:41px minmax(0,1fr) 55px 36px 29px 22px;gap:3px;align-items:center}
#shop .sh-c-four .sh-c-family-column .sh-c-line-flag{display:none}
#shop .sh-c-four .sh-c-family-column .sh-c-type{font-size:11px;font-weight:800;padding:4px 2px;border-color:#d2ddeb;background:#f4f8fc;color:#45617d}
#shop .sh-c-four .sh-c-family-column .sh-c-name b{font-size:13px;color:#1d344b}
#shop .sh-c-four .sh-c-family-column .sh-c-name small{font-size:11px;color:#5c738c}
#shop .sh-c-four .sh-c-family-column .sh-c-count{gap:3px}
#shop .sh-c-four .sh-c-family-column .sh-c-count input{width:35px;padding:5px 2px;font-size:12px;text-align:center}
#shop .sh-c-four .sh-c-family-column .sh-c-count small{font-size:11px;color:#5b6f84}
#shop .sh-c-four .sh-c-family-column .sh-c-quick-complete{font-size:11px;font-weight:700;padding:5px 3px}
#shop .sh-c-four .sh-c-family-column .sh-c-quick-complete.on{background:#e6f7ec;color:#18794c;border-color:#8fcda4}
#shop .sh-c-four .sh-c-family-column .sh-c-detail-btn{font-size:16px;font-weight:800;padding:3px;min-height:27px}
#shop .sh-c-four .sh-c-family-column .sh-c-next-line{padding:4px 0 0 46px;gap:5px;white-space:nowrap;color:#627991;font-size:11px}
#shop .sh-c-four .sh-c-family-column .sh-c-next-line span{font-size:11px;white-space:nowrap}
#shop .sh-c-four .sh-c-family-column .sh-c-next-line b{font-size:11px;color:#315b83}
#shop .sh-c-four .sh-c-family-column .sh-c-next-line small{font-size:10px;color:#7b8da3}
#shop .sh-c-four .sh-c-family-column .sh-c-line-extra{padding:8px 2px;border-top:1px dashed #dbe4f0;margin-top:7px;color:#4c6884}
#shop .sh-c-four .sh-c-family-column .sh-c-line.completed{opacity:.62}
#shop .sh-c-four .sh-c-source{font-size:11px;color:#71829b}
@media(max-width:1349px){
  #shop .sh-c-four .sh-c-family-board{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1040px){
  #shop .sh-c-four .sh-c-storage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:790px){
  #shop .sh-c-four .sh-c-family-board{grid-template-columns:1fr}
}
@media(max-width:600px){
  #shop .sh-shell:has(.sh-c-four){padding:8px}
  #shop .sh-c-four .sh-c-panel{padding:10px}
  #shop .sh-c-four .sh-c-storage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #shop .sh-c-four .sh-c-storage-family{padding:8px}
  #shop .sh-c-four .sh-c-storage-title{display:block}
  #shop .sh-c-four .sh-c-storage-title>span{display:block;margin-top:2px}
  #shop .sh-c-four .sh-c-storage-entry{grid-template-columns:40px minmax(0,1fr);gap:2px}
  #shop .sh-c-four .sh-c-storage-amount{font-size:13px}
  #shop .sh-c-four .sh-c-storage-state{grid-column:2;font-size:10px}
  #shop .sh-c-four .sh-c-board-top{align-items:flex-start}
  #shop .sh-c-four .sh-c-toolbar{justify-content:flex-start}
}

#shop .sh-c-four .sh-c-family-column .sh-c-item-status{font-size:11px;font-weight:800;letter-spacing:-.01em}
#shop .sh-c-four .sh-c-family-column .sh-c-item-status.ok{color:#168053}
#shop .sh-c-four .sh-c-family-column .sh-c-item-status.locked{color:#a56820}
#shop .sh-c-four .sh-c-family-column .sh-c-item-status.short{color:#c54b36}

/* Six controls after introducing the reversible exclude button: never let the
   controls create an implicit second grid row in the 4-column dashboard. */
#shop .sh-c-four .sh-c-family-column .sh-c-line-main>*{min-width:0}
#shop .sh-c-four .sh-c-family-column .sh-c-quick-complete{min-width:0;padding:4px 1px;font-size:10px;white-space:nowrap}
#shop .sh-c-four .sh-c-family-column .sh-c-line.excluded{background:#f7f9fc;opacity:.78}
#shop .sh-c-four .sh-c-family-column .sh-c-line.excluded [data-c-excluded]{background:#e6f2ff;color:#245c8b;border-color:#bed6ed}
#shop .sh-c-four .sh-c-family-column .sh-c-order-heading{padding:5px 9px;min-height:0}
#shop .sh-c-four .sh-c-family-column .sh-c-order-heading small{display:none}
@media(max-width:600px){
  #shop .sh-c-four .sh-c-family-column .sh-c-line-main{grid-template-columns:38px minmax(0,1fr) 52px 33px 28px 21px;gap:2px}
}
