/* P305 — configurable account-wide depot tabs, derived from the existing depot_v95 atlas. */
#infoModal.depot-mode .p305-tabs-shell{margin:0 0 13px;background:linear-gradient(145deg,#0c2841,#081c30);border:1px solid #315b78;border-radius:10px;padding:10px 12px}
#infoModal.depot-mode .p305-tabs-list{display:flex;gap:6px;max-width:100%;overflow-x:auto;padding:4px 0 9px;scrollbar-width:thin}
#infoModal.depot-mode .p305-tab{position:relative;border:1px solid #47718d;border-radius:6px 6px 4px 4px;background:#0e2944 url('../assets/ui/depot_v95/tab_inactive.png') center/100% 100%;color:#d0dfea;font-weight:800;padding:9px 15px;min-width:96px;cursor:pointer;white-space:nowrap;font-size:11px}
#infoModal.depot-mode .p305-tab.active{border-color:#ffd38b;background:#224363 url('../assets/ui/depot_v95/tab_active.png') center/100% 100%;color:#ffe6b3;box-shadow:inset 0 -2px 0 #ffcb72,0 0 13px #bb994537}
#infoModal.depot-mode .p305-tab::before{content:'';display:inline-block;width:6px;height:6px;border-radius:100%;background:var(--tab-accent,#489fdb);margin-right:7px;vertical-align:middle;box-shadow:0 0 9px var(--tab-accent,#489fdb)}
#infoModal.depot-mode .p305-tab-add{min-width:115px;background:#163c3d;border-color:#3a8c91;color:#a8f2d6}
#infoModal.depot-mode .p305-tab-info{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#91b2c4;font-size:11px;line-height:1.55}
#infoModal.depot-mode .p305-tab-info strong{color:#f5d49c}
#infoModal.depot-mode .p305-tab-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#infoModal.depot-mode .p305-tab-tools input{min-width:0;width:160px;max-width:32vw;border:1px solid #446b86;background:#06182b;color:#ebf5fa;border-radius:5px;padding:6px 8px;font:inherit}
#infoModal.depot-mode .p305-tab-tools button{border:1px solid #4b6f87;background:#143752;color:#ddeafa;border-radius:6px;padding:7px 9px;cursor:pointer;font-size:11px;font-weight:700}
#infoModal.depot-mode .p305-tab-tools button:hover{border-color:#cba567}
#infoModal.depot-mode .p305-empty{display:flex;align-items:center;justify-content:center;min-height:170px;color:#7298b3;font-size:12px;text-align:center}
#infoModal.depot-mode .p305-tab-editor{position:relative;display:grid;gap:9px;margin-top:11px;padding:14px;background:#081d31;border:1px solid #5c8294;border-radius:8px}
#infoModal.depot-mode .p305-editor-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#infoModal.depot-mode .p305-tab-editor label{display:grid;gap:4px;color:#b2d2e0;font-size:11px;font-weight:700}
#infoModal.depot-mode .p305-tab-editor input,#infoModal.depot-mode .p305-tab-editor select{height:33px;color:#e1edf6;border:1px solid #496880;border-radius:5px;padding:5px 8px;background:#122c45;width:100%}
#infoModal.depot-mode .p305-affinity-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#infoModal.depot-mode .p305-affinity-button{display:flex;align-items:center;gap:7px;text-align:left;padding:9px;border:1px solid #416a83;border-radius:5px;background:#15334c;color:#bdd7e6;cursor:pointer;font-size:11px}
#infoModal.depot-mode .p305-affinity-button.on{background:#234931;border-color:#62ad8b;color:#a9ffd0}
#infoModal.depot-mode .p305-origin{display:block;color:#829daf;font-size:10px;margin-top:2px}
#infoModal.depot-mode .p305-depot-contents{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;min-height:200px}
#infoModal.depot-mode .p305-depot-contents .depot-slot{aspect-ratio:1;min-width:0;position:relative}
#infoModal.depot-mode .p305-depot-contents .depot-slot img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
@media(max-width:720px){#infoModal.depot-mode .p305-tab-info{flex-wrap:wrap}#infoModal.depot-mode .p305-affinity-list{grid-template-columns:repeat(2,minmax(0,1fr))}#infoModal.depot-mode .p305-editor-row{grid-template-columns:1fr}#infoModal.depot-mode .p305-depot-contents{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Accessible controls and distinct physical-tab presentation, no item hiding. */
#infoModal.depot-mode .p305-tab-editor > button[data-p305-save]{background:linear-gradient(180deg,#ecca87,#b68635)!important;color:#082032!important;font-size:12px!important;letter-spacing:.04em;font-weight:900!important;box-shadow:0 2px 7px #02090f7a;border:1px solid #ebd09a!important;border-radius:6px;height:36px;cursor:pointer}
#infoModal.depot-mode .p305-tab-editor > button[data-p305-save]:hover{filter:brightness(1.09)}
#infoModal.depot-mode .p305-depot-contents[data-layout="materials"]{grid-template-columns:repeat(4,minmax(0,1fr))}
#infoModal.depot-mode .p305-depot-contents[data-layout="materials"] .depot-slot.filled{display:flex;align-items:center;gap:4px;min-height:53px;aspect-ratio:auto;text-align:left;padding:4px 6px}
#infoModal.depot-mode .p305-depot-contents[data-layout="materials"] .depot-slot.filled img{width:35px;height:35px;flex-shrink:0}
#infoModal.depot-mode .p305-slot-name{color:#b9d3e3;font-size:9px;line-height:1.2;white-space:normal;overflow:hidden;max-height:33px;display:none}
#infoModal.depot-mode .p305-depot-contents[data-layout="materials"] .p305-slot-name{display:block}
#infoModal.depot-mode .p305-depot-contents[data-layout="equipment"]{grid-template-columns:repeat(7,minmax(0,1fr))}
#infoModal.depot-mode .p305-depot-contents[data-layout="equipment"] .depot-slot.filled{outline:1px solid #6a9bc245;outline-offset:-1px}
#infoModal.depot-mode .p305-depot-contents[data-layout="materials"] .depot-slot.filled span:not(.p305-slot-name){position:absolute;right:3px;bottom:1px;font-size:10px;color:#ffdd9a}
@media(max-width:720px){#infoModal.depot-mode .p305-depot-contents[data-layout="materials"]{grid-template-columns:repeat(2,minmax(0,1fr))}#infoModal.depot-mode .p305-depot-contents[data-layout="equipment"]{grid-template-columns:repeat(5,minmax(0,1fr))}}
