:root{color-scheme:dark;--bg:#050a12;--panel:#0d1725;--panel2:#152235;--line:#41546c;--text:#f1f5fc;--muted:#a7b5c9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 55% 95%,#14263d 0,transparent 55%),#040910;color:var(--text);font:15px/1.5 Inter,Segoe UI,Arial,sans-serif}.shell{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 15px 24px;background:linear-gradient(150deg,#131f30,#060c15 55%,#111d2b);border-right:1px solid #273950;overflow:hidden}.brand{text-align:center;padding:0 10px 30px}.mark{font-size:74px;font-weight:1000;letter-spacing:-12px;line-height:1.25;padding-right:13px;background:linear-gradient(150deg,#fff,#7d91b2 38%,#f6f8fd 54%,#64748b 75%,#fff);color:transparent;background-clip:text;filter:drop-shadow(0 4px 9px #6b8cbd44)}.brandname{font-weight:900;font-size:26px;letter-spacing:1px}.subbrand{font-size:10px;letter-spacing:5px;color:#a8b5ca}.sidebar nav{display:grid;gap:12px;z-index:1}.sidebar nav a{display:flex;align-items:center;gap:20px;color:#c6d0e0;text-decoration:none;border:1px solid transparent;border-radius:10px;padding:15px 20px;font-size:16px}.sidebar nav a span{font-size:25px;line-height:1}.sidebar nav a.selected{background:linear-gradient(115deg,#263b57,#192a40);border-color:#7793b6;box-shadow:inset 0 0 18px #93b2e121,0 0 13px #7997bf1e;color:white;font-weight:650}.sidebar nav a:hover{background:#22354b}.sideart{margin-top:auto;min-height:260px;opacity:.3;background:linear-gradient(0deg,#172b43,transparent),repeating-linear-gradient(125deg,transparent 0 35px,#4b65801c 36px 37px);mask-image:linear-gradient(transparent,#000)}.sidebar small{color:#8495ad;padding:0 20px;z-index:1}.main{padding:24px 34px 25px;min-width:0;max-width:1900px;width:100%;margin:auto}header{min-height:186px;display:flex;justify-content:space-between;gap:12px;background:linear-gradient(90deg,#060d18e8 30%,#08111bd4),radial-gradient(circle at 80% 40%,#334b65 0,transparent 45%);border-radius:15px;padding:6px 0}.eyebrow{letter-spacing:3px;font-size:15px;color:#e0e7f2}h1{margin:0 0 2px;font-weight:1000;letter-spacing:-2px;font-size:clamp(35px,4.3vw,66px);line-height:1.18;background:linear-gradient(180deg,#fff 20%,#b2c3dc 65%,#60718a);color:transparent;background-clip:text;text-shadow:0 8px 26px #a9c1e21c}h1 em{font-style:normal}header p{color:#c6d1e0;margin:4px 0}.topmeta{display:flex;gap:14px;align-items:flex-start;white-space:nowrap}.topmeta>span{padding:9px 13px;border:1px solid #344359;border-radius:11px;background:#08111bc9}.live{color:#2af38b;font-weight:750}.live i{display:inline-block;background:#23e78b;border-radius:50%;width:10px;height:10px;margin-right:7px;box-shadow:0 0 10px #24f29a}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:10px 0 20px}.stat{min-height:118px;display:flex;align-items:center;gap:22px;padding:18px;border-radius:13px;border:1px solid #5c7595;background:linear-gradient(145deg,#1b2b41,#0c1624 75%,#233752);box-shadow:inset 0 -3px 12px #708cb421}.stat-icon{display:grid;place-items:center;width:82px;height:80px;border-radius:13px;font-size:39px;background:linear-gradient(145deg,#405775,#26374e);color:#dce6f7}.stat-icon.blue{color:#a9c5ff;background:linear-gradient(145deg,#344d75,#1b2c49)}.stat span:not(.stat-icon){display:block;color:#d0daea;font-weight:600}.stat strong{font-size:43px;line-height:1.1;letter-spacing:-1px}.stat small{color:#c2cfe0}.toolbar{display:flex;gap:16px;margin-bottom:20px}.search{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#1b2a3e,#111c2c);border:1px solid #50657e;border-radius:11px;flex:1;padding:0 19px}.search span{font-size:30px}.search input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:white;padding:16px 0;font:inherit}.search input::placeholder{color:#8d9cb0}select{border:1px solid #50657e;border-radius:11px;padding:0 17px;color:white;background:#1b2a3e;font:inherit;min-width:145px}.columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.queue-column{border:1px solid #516985;background:linear-gradient(145deg,#101c2b,#080f19 72%,#1a2b41);border-radius:14px;padding:15px;min-width:0;min-height:540px;box-shadow:inset 0 -8px 18px #637b9c15}.colhead{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #667b96;padding:0 3px 13px;margin-bottom:17px}.colhead h2{font-size:19px;margin:0;white-space:nowrap}.colhead span{font-size:12px;color:#bdc9da;white-space:nowrap}.items{display:grid;align-content:start;gap:7px;max-height:490px;overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#526882 transparent}.order{background:linear-gradient(120deg,#1c2b3e,#111c2b);border:1px solid #2c3d52;border-radius:10px;padding:12px 11px;display:flex;gap:10px;align-items:flex-start}.number{flex-shrink:0;border-radius:6px;background:#4d6386;color:#fff;padding:3px 6px;font-weight:800;font-size:12px}.details{min-width:0;flex:1}.buyer{font-weight:700;color:#d2e1ff;overflow-wrap:anywhere}.product{font-size:13px;color:#f0f3f9;overflow-wrap:anywhere}.when{font-size:12px;color:#9daec6;margin-top:8px}.tag{font-size:10px;font-weight:700;border-radius:6px;padding:5px 7px;white-space:nowrap;background:#35475f;color:#dce6f4}.tag.progress{background:#153e92;color:#cfe0ff}.tag.done{background:#0d533c;color:#8ef2bd}.empty{padding:35px 8px;text-align:center;color:#8296b0}.info{margin-top:35px;color:#aebcd0;border-top:1px solid #26384e;padding-top:20px}.info p{margin:5px 0}footer{display:flex;justify-content:space-between;gap:10px;color:#859ab2;font-size:12px;padding:17px 3px}@media(max-width:1200px){.shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.main{padding:20px}.stat{gap:10px;padding:12px}.stat-icon{width:60px;height:60px;font-size:30px}.columns{gap:10px}.queue-column{padding:10px}.colhead h2{font-size:16px}.order{flex-wrap:wrap}.tag{margin-left:auto}}@media(max-width:850px){.shell{display:block}.sidebar{position:relative;width:100%;height:auto;padding:10px 15px}.brand{padding:0;display:flex;align-items:center;gap:12px;text-align:left}.mark{font-size:37px;letter-spacing:-7px;padding-right:7px}.brandname{font-size:17px}.subbrand,.sideart,.sidebar small{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav a{font-size:12px;padding:9px 11px;white-space:nowrap;gap:7px}.sidebar nav a span{font-size:16px}.main{padding:16px}header{min-height:auto;flex-direction:column;padding:8px 0 16px}.topmeta{font-size:12px}.stats{gap:7px}.stat{min-height:85px;gap:7px;padding:9px}.stat-icon{width:36px;height:36px;font-size:19px}.stat strong{font-size:28px}.stat span:not(.stat-icon){font-size:11px}.stat small{font-size:10px}.columns{grid-template-columns:1fr}.queue-column{min-height:180px}.items{max-height:380px}.colhead h2{font-size:19px}}@media(max-width:440px){.toolbar{flex-direction:column}.search input{font-size:12px}.stat-icon{display:none}.stat strong{font-size:25px}.stat{justify-content:center;text-align:center}.topmeta{flex-wrap:wrap}h1{font-size:36px}}

/* WILSTORE v2: SVG iconography, navigation and interaction */
.icon{width:22px;height:22px;display:inline-block;flex:none;vertical-align:middle;stroke:currentColor}.brand-logo{width:100%;max-width:235px;height:180px;object-fit:contain;filter:drop-shadow(0 5px 13px #9ab0d332)}.brand{padding-bottom:22px}.sidebar nav .navitem{display:flex;align-items:center;gap:18px;width:100%;padding:15px 20px;text-align:left;background:transparent;color:#c6d0e0;border:1px solid transparent;border-radius:10px;font:inherit;font-size:16px;cursor:pointer;transition:transform .16s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}.sidebar nav .navitem .icon{width:25px;height:25px}.sidebar nav .navitem.selected{background:linear-gradient(115deg,#263b57,#192a40);border-color:#7793b6;box-shadow:inset 0 0 18px #93b2e121,0 0 13px #7997bf1e;color:white;font-weight:650}.sidebar nav .navitem:hover{background:#22354b;transform:translateX(3px)}.sidebar nav .navitem:active,.action:active{transform:scale(.965)}.navitem:focus-visible,.action:focus-visible,select:focus-visible,.search:focus-within{outline:2px solid #afc4e3;outline-offset:2px}.stat-icon .icon{width:43px;height:43px}.search .icon{width:23px;height:23px}.filter-wrap{position:relative;display:flex;align-items:center}.filter-wrap>.icon{position:absolute;left:15px;pointer-events:none;width:19px}.filter-wrap select{height:100%;padding-left:43px;cursor:pointer;transition:background .2s ease}.filter-wrap select:hover{background:#283c55}.colhead h2{display:flex;align-items:center;gap:10px}.colhead h2 .icon{width:23px;height:23px}.when{display:flex;align-items:center;gap:5px}.when .icon{width:13px;height:13px}.order{transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;animation:cardIn .23s ease both}.order:hover{transform:translateY(-2px);border-color:#6c84a5;box-shadow:0 7px 20px #0003}@keyframes cardIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.page[hidden]{display:none!important}.page.active{animation:pageIn .24s ease both}@keyframes pageIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}.content-card{border:1px solid #506784;border-radius:16px;background:linear-gradient(145deg,#18283c,#0b1421);padding:35px;max-width:950px;margin:12px auto 20px;min-height:410px;box-shadow:inset 0 -8px 24px #657b9c15}.content-card h2{font-size:30px;margin:12px 0}.content-card p{color:#c1cee0;max-width:680px}.content-icon{width:64px;height:64px;display:grid;place-items:center;background:#2a3e58;border:1px solid #627a9c;border-radius:14px}.content-icon .icon{width:32px;height:32px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0}.feature-grid>div{padding:18px;border:1px solid #354b66;border-radius:12px;background:#152337}.feature-grid p{font-size:13px}.action{display:inline-flex;align-items:center;gap:10px;margin:8px 12px 0 0;padding:12px 17px;border:1px solid #8098b9;border-radius:10px;background:linear-gradient(125deg,#395476,#243750);color:white;text-decoration:none;font:inherit;font-weight:650;cursor:pointer;transition:transform .16s ease,filter .2s ease,box-shadow .2s ease}.action:hover{filter:brightness(1.2);box-shadow:0 6px 18px #0005}.action.secondary{background:#142236}.action .icon{width:18px;height:18px}.hint{font-size:13px;color:#96a9c2!important}#copy-feedback{color:#9ec5fa;min-height:24px;margin-top:14px}@media(max-width:850px){.brand-logo{width:90px;height:62px}.sidebar nav .navitem{font-size:12px;padding:9px 11px;white-space:nowrap;gap:7px}.sidebar nav .navitem .icon{width:17px;height:17px}.stat-icon .icon{width:23px;height:23px}.feature-grid{grid-template-columns:1fr}.content-card{padding:22px;min-height:340px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* V3 - balanced layout, authentic brand and responsive pages */
.shell{grid-template-columns:250px minmax(0,1fr)}
.sidebar{padding:20px 13px 18px}.brand{padding:0 8px 22px}.brand-logo{width:100%;max-width:210px;height:155px;object-fit:contain;filter:drop-shadow(0 6px 10px #ffffff17)}
.main{max-width:none;margin:0;padding:22px 28px 18px;display:flex;flex-direction:column;min-height:100vh}
header{min-height:155px;padding:18px 20px 20px;align-items:flex-start;border:1px solid #24364b;background:linear-gradient(110deg,#0b1726,#070e19 70%,#132338)}
.hero{min-width:0}h1{font-size:clamp(34px,3.7vw,56px)}.eyebrow{font-size:12px}header p{font-size:13px}
.page{width:100%}.content-card{max-width:none;width:100%;min-height:0;margin:16px 0 0;padding:30px 34px}.content-card h2{font-size:26px}.feature-grid{margin:22px 0}.feature-grid>div{min-height:112px}
.sidebar nav .navitem{font-size:14px;padding:12px 16px}.sidebar nav .navitem .icon{width:22px;height:22px}.sidebar nav{gap:6px}
.stat{min-height:105px}.stat-icon{width:65px;height:65px}.stat-icon .icon{width:34px;height:34px}.stat strong{font-size:37px}
.stats{margin:14px 0}.toolbar{margin-bottom:14px}.queue-column{min-height:440px}.items{max-height:calc(100vh - 460px);min-height:230px}.order{min-height:84px}.buyer{font-size:13px;overflow-wrap:anywhere}.number{font-size:11px}.tag{font-size:9px}
footer{margin-top:auto;padding:15px 2px 3px}.sidebar small{font-size:11px}.navitem,.action{user-select:none}.navitem:active,.action:active{filter:brightness(1.35);transform:scale(.975)!important}
@media(max-width:1150px){.shell{grid-template-columns:205px minmax(0,1fr)}.main{padding:18px}.brand-logo{height:125px}.stat{gap:9px}.stat-icon{width:50px;height:50px}.stat-icon .icon{width:27px;height:27px}.columns{gap:10px}.queue-column{padding:10px}.order{flex-wrap:wrap}.tag{margin-left:auto}}
@media(max-width:850px){.shell{display:block}.sidebar{height:auto;position:relative;padding:8px 12px}.brand-logo{width:85px;height:60px}.main{min-height:calc(100vh - 120px);padding:14px}header{min-height:0;padding:15px}.content-card{padding:22px;margin-top:12px}.feature-grid{grid-template-columns:1fr}.items{max-height:370px;min-height:0}.queue-column{min-height:160px}.sidebar nav .navitem{font-size:12px;padding:9px 11px}}
@media(max-width:560px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{flex-direction:column;text-align:center;gap:3px}.stat-icon{display:none}.stat strong{font-size:30px}.toolbar{flex-direction:column}.filter-wrap select{height:44px;width:100%}.topmeta{flex-wrap:wrap}.feature-grid>div{min-height:0}}

/* V4 - Desktop viewport-fit dashboard. Only the order lists scroll. */
@media (min-width:851px){
  html,body{height:100%;overflow:hidden}
  .shell{height:100dvh;min-height:0;overflow:hidden}
  .sidebar{height:100dvh;min-height:0}
  .main{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:clamp(10px,1.6vh,22px) 28px 10px}
  .main>header{flex:0 0 auto;min-height:0;padding:clamp(10px,1.6vh,18px) 18px}
  .main>header h1{font-size:clamp(30px,3.1vw,52px)}
  .main>header p{margin:2px 0;line-height:1.35}
  #page-queue{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  #page-queue[hidden]{display:none!important}
  #page-queue .stats{flex:0 0 auto;margin:clamp(7px,1vh,13px) 0;gap:14px}
  #page-queue .stat{min-height:clamp(76px,11vh,105px);padding:10px 15px}
  #page-queue .stat-icon{width:clamp(43px,6.5vh,65px);height:clamp(43px,6.5vh,65px)}
  #page-queue .stat strong{font-size:clamp(29px,4.3vh,37px)}
  #page-queue .toolbar{flex:0 0 auto;margin-bottom:clamp(7px,1vh,14px)}
  #page-queue .search input{padding:clamp(9px,1.2vh,14px) 0}
  #page-queue .columns{flex:1 1 auto;min-height:0;overflow:hidden;align-items:stretch}
  #page-queue .queue-column{min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}
  #page-queue .colhead{flex:0 0 auto;margin-bottom:10px;padding-bottom:10px}
  #page-queue .items{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}
  .main>footer{flex:0 0 auto;margin-top:0;padding:8px 2px 0}
  #page-about,#page-contact{flex:1 1 auto;min-height:0;overflow-y:auto}
}
@media (min-width:851px) and (max-height:700px){
  .main{padding-top:8px;padding-bottom:5px}
  .main>header{padding:7px 14px}
  .main>header h1{font-size:32px}
  .main>header p{font-size:11px}
  #page-queue .stats{margin:6px 0}
  #page-queue .stat{min-height:64px;padding:6px 12px}
  #page-queue .stat-icon{height:43px;width:43px}
  #page-queue .toolbar{margin-bottom:6px}
  #page-queue .search input{padding:8px 0}
  #page-queue .colhead{margin-bottom:7px;padding-bottom:7px}
  .main>footer{padding-top:4px}
}

/* WILSTORE contact actions: aligned and responsive */
.contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}.contact-actions .action{margin:0;min-height:46px;justify-content:center}.contact-actions .action:active{transform:scale(.96)}#page-contact .content-card{min-height:0}#page-contact .hint{max-width:660px;line-height:1.65}@media(max-width:540px){.contact-actions{align-items:stretch;flex-direction:column}.contact-actions .action{width:100%}}

/* WILSTORE V6 - Premium live/date/time header */
.topmeta{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.topmeta>.live-sync,.topmeta>.datetime-premium{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border:1px solid #36516c;border-radius:11px;background:linear-gradient(145deg,#16283c,#0c1726);box-shadow:inset 0 1px 0 #a8c5e012,0 5px 18px #00000020;transition:border-color .18s ease,transform .18s ease,background .18s ease}
.topmeta>.live-sync:hover,.topmeta>.datetime-premium:hover{border-color:#6c88a9;transform:translateY(-1px);background:linear-gradient(145deg,#1c314a,#101d2f)}
.topmeta>.live-sync{gap:9px;color:#51f0aa;font-size:12px;font-weight:800;letter-spacing:.7px}
.live-sync .sync-dot{width:9px;height:9px;margin:0;background:#25ed90;border-radius:50%;box-shadow:0 0 0 4px #22e58b18,0 0 12px #22f3a28c;animation:ws-live-pulse 2.3s ease-in-out infinite;flex:none}
@keyframes ws-live-pulse{0%,100%{box-shadow:0 0 0 3px #22e58b12,0 0 8px #22f3a26b}50%{box-shadow:0 0 0 6px #22e58b19,0 0 15px #22f3a2b0}}
.topmeta>.datetime-premium{gap:13px;color:#e3edfb;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.1px}
.datetime-premium .date-part,.datetime-premium .time-part{display:inline-flex;align-items:center;gap:8px}
.datetime-premium .icon{width:17px;height:17px;color:#bdcee5;flex:none}
.datetime-premium .meta-separator{height:18px;width:1px;background:#405671;flex:none}
@media(max-width:850px){.topmeta{justify-content:flex-start}.topmeta>.live-sync,.topmeta>.datetime-premium{min-height:37px;padding:7px 10px}.topmeta>.datetime-premium{gap:9px}}
@media(max-width:420px){.datetime-premium .date-part,.datetime-premium .time-part{gap:5px}.topmeta>.datetime-premium{font-size:11px}}
@media(prefers-reduced-motion:reduce){.live-sync .sync-dot{animation:none}}

/* V7 — prevent accidental blue selection and mouse focus rings. */
body, body *:not(input):not(textarea) {
  -webkit-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}
button, a, select, .navitem, .action {
  -webkit-tap-highlight-color: transparent;
}
/* A pointer click should not leave a white browser outline. */
.navitem:focus:not(:focus-visible),
.action:focus:not(:focus-visible),
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none;
}
/* Keep keyboard navigation accessible, styled in WILSTORE navy/silver. */
.sidebar nav .navitem:focus-visible,
.action:focus-visible,
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid #7895b9;
  outline-offset: 1px;
}

/* V8 — remove the remaining double focus ring on sidebar navigation.
   The selected state already provides a clear visible indicator. */
.sidebar nav .navitem:focus,
.sidebar nav .navitem:focus-visible,
.sidebar nav .navitem:focus:not(:focus-visible) {
  outline: none !important;
  outline-offset: 0 !important;
}
.sidebar nav .navitem.selected:focus,
.sidebar nav .navitem.selected:focus-visible {
  box-shadow: inset 0 0 18px #93b2e121, 0 0 13px #7997bf1e !important;
}
.sidebar nav .navitem:not(.selected):focus-visible {
  background: #22354b;
  border-color: #7793b6;
}

/* WILSTORE Storage — scoped styling, existing Queue UI unchanged */
.storage-card{max-width:1100px}.storage-form{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin-top:22px}.storage-form label{display:grid;gap:8px;flex:1;min-width:220px;color:#d2dbe7;font-size:13px}.storage-form input{background:#0b1625;border:1px solid #34455b;border-radius:10px;color:#fff;padding:13px 14px;outline:none}.storage-form input:focus{border-color:#9aaec8}.storage-message{margin:12px 0;color:#b9cee4;min-height:20px;font-size:13px}.storage-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0}.storage-upload{display:grid;gap:7px;color:#d2dbe7;font-size:13px}.storage-upload input{max-width:260px}.storage-list{display:grid;gap:10px;margin-top:18px}.storage-item{border:1px solid #2a3a50;background:#101e30;border-radius:12px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.storage-file-info{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.storage-file-info strong{color:#f0f4fa}.storage-file-info small{color:#a1b2c6}.storage-actions{display:flex;flex-wrap:wrap;gap:7px}.storage-actions .action{font-size:12px;padding:10px 12px;min-height:auto}

/* Admin navigation must remain hidden until authenticated. */
.sidebar nav .navitem[hidden], #storage-login[hidden], #storage-panel[hidden] { display:none !important; }

/* Storage layout v2: isolated from Working Queue */
#page-storage{width:100%;min-width:0}
#page-storage .storage-card{max-width:none;width:100%;min-height:0;margin:16px 0 20px;padding:32px clamp(22px,3vw,48px);border-color:#455d7a;background:linear-gradient(135deg,#17283d 0%,#0d1828 68%,#111f32 100%);box-shadow:inset 0 1px 0 #ffffff0a,0 12px 40px #00000020}
#page-storage .storage-heading{display:flex;align-items:center;gap:22px;padding-bottom:26px;border-bottom:1px solid #34475e}
#page-storage .storage-heading .content-icon{flex:0 0 64px}
#page-storage .storage-heading h2{margin:0 0 4px;font-size:clamp(24px,2.3vw,34px)}
#page-storage .storage-heading p{margin:0;max-width:none}
#page-storage #storage-login{max-width:680px;margin:42px auto 24px;padding:28px;border:1px solid #344a64;border-radius:16px;background:linear-gradient(145deg,#0d1929,#101e30)}
#page-storage #storage-login::before{content:'AKSES ADMIN';display:block;color:#c7d5e7;letter-spacing:2.5px;font-size:12px;font-weight:750;margin-bottom:18px}
#page-storage .storage-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:0}
#page-storage .storage-form label{min-width:0}
#page-storage .storage-form input{width:100%;min-height:46px}
#page-storage .storage-form .action{min-height:46px;white-space:nowrap}
#page-storage #storage-panel{width:100%;padding:12px 0}
#page-storage .storage-toolbar{border:1px solid #334961;border-radius:14px;padding:18px;background:#101d2e;gap:14px}
#page-storage .storage-list{grid-template-columns:1fr;gap:12px}
#page-storage .storage-item{padding:18px 20px}
#page-storage .storage-message:empty{display:none}
#page-storage .storage-message:not(:empty){padding:11px 14px;border:1px solid #3c536d;background:#102138;border-radius:10px;margin-top:20px}
body.view-storage footer{margin-top:10px}
@media(max-width:650px){#page-storage .storage-card{padding:20px 16px}#page-storage .storage-heading{align-items:flex-start;gap:13px}#page-storage .storage-heading .content-icon{flex-basis:48px;width:48px;height:48px}#page-storage .storage-heading .content-icon .icon{width:25px;height:25px}#page-storage #storage-login{margin:24px 0 8px;padding:18px}#page-storage .storage-form{grid-template-columns:1fr}#page-storage .storage-form .action{width:100%}#page-storage .storage-item{padding:14px}}

/* Storage reference dashboard — scoped to storage page only */
#page-storage{margin-top:16px}#page-storage .storage-auth-wrap{max-width:760px;margin:30px auto;background:linear-gradient(145deg,#182a40,#0b1726);border:1px solid #354d69;border-radius:15px;padding:32px}#page-storage .storage-auth-head{display:flex;gap:25px;align-items:center}#page-storage .storage-auth-head img{width:170px;object-fit:contain}#page-storage .storage-auth-head h2{font-size:27px;margin:8px 0}#page-storage .storage-auth-head p{color:#afbed1}#page-storage .storage-overline{font-size:11px;letter-spacing:2px;color:#a9bfd8;font-weight:700}#page-storage .storage-banner{display:flex;align-items:center;gap:38px;min-height:182px;padding:28px 42px;border:1px solid #314965;border-radius:15px;background:linear-gradient(125deg,#102033,#1b2c40 68%,#0c1827);margin-bottom:18px}#page-storage .storage-banner img{width:210px;max-height:125px;object-fit:contain}#page-storage .storage-banner h2{font-size:clamp(25px,2.4vw,38px);margin:10px 0 8px;letter-spacing:.4px;color:#e7eef9}#page-storage .storage-banner p{color:#b9c7d8;font-size:13px;margin:0}#page-storage .storage-mini-button{margin-left:auto;background:#1c3048;color:#dbe6f5;border:1px solid #47627f;border-radius:9px;padding:11px 15px;cursor:pointer;white-space:nowrap}#page-storage .storage-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}#page-storage .storage-metric{display:flex;align-items:center;gap:16px;min-height:112px;padding:20px 17px;background:linear-gradient(115deg,#192c42,#0d1b2c);border:1px solid #344d69;border-radius:12px;min-width:0}#page-storage .storage-metric-icon{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#28435e;color:#bdd2ea;font-size:23px}#page-storage .storage-metric div{display:grid;gap:5px;min-width:0}#page-storage .storage-metric small{font-size:11px;color:#9eafc4}#page-storage .storage-metric strong{font-size:26px;color:#eef4ff;white-space:nowrap}#page-storage .storage-metric div>span{font-size:11px;color:#9eafc4}#page-storage .storage-dashboard-grid{display:grid;grid-template-columns:minmax(380px,.96fr) minmax(0,1.04fr);gap:16px}#page-storage .storage-section{background:linear-gradient(140deg,#132338,#0b1828);border:1px solid #354c66;border-radius:14px;padding:26px;min-width:0;min-height:360px}#page-storage .storage-section h3{font-size:19px;margin:0 0 22px;color:#eaf0fa}#page-storage .storage-section h3 span{margin-right:9px;color:#b8cde4}#page-storage .storage-upload-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:16px}#page-storage .storage-drop{position:relative;border:1px dashed #537397;border-radius:11px;min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;cursor:pointer;background:#122239;padding:15px;color:#dbe6f6}#page-storage .storage-drop.dragging,#page-storage .storage-drop:hover{background:#1b334d;border-color:#a3bedb}#page-storage .storage-drop input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}#page-storage .storage-drop-icon{font-size:51px;line-height:1;color:#aecae8}#page-storage .storage-drop strong{font-size:14px;max-width:100%;overflow-wrap:anywhere}#page-storage .storage-drop small{font-size:11px;color:#9eb4cf}#page-storage .storage-upload-fields{display:grid;align-content:start;gap:14px}#page-storage .storage-upload-fields label{display:grid;gap:8px;font-size:13px;font-weight:650;color:#d8e3f1}#page-storage .storage-upload-fields input{height:46px;width:100%;border:1px solid #39516d;border-radius:10px;background:#081625;padding:0 13px;color:#e8f0fc;outline:none}#page-storage .storage-upload-fields input:focus{border-color:#98b4d4}#page-storage .storage-upload-button{min-height:49px;border:1px solid #d7e5f5;border-radius:10px;background:linear-gradient(#f1f5fb,#9dafc6);font-weight:800;color:#101e30;cursor:pointer}#page-storage .storage-upload-button:disabled{opacity:.6;cursor:wait}#page-storage .storage-upload-hint{font-size:11px;color:#91a9c4;margin:14px 0 0}#page-storage .storage-progress{height:5px;border-radius:5px;background:#263b52;overflow:hidden}#page-storage .storage-progress[hidden]{display:none}#page-storage .storage-progress div{height:100%;width:0;background:#c2d4ea;transition:width .15s}#page-storage .storage-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px}#page-storage .storage-count{background:#2a415b;color:#cbdcf0;border-radius:7px;padding:8px 10px;font-size:11px}#page-storage .storage-table-wrap{overflow-x:auto}#page-storage .storage-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap;text-align:left}#page-storage .storage-table th{color:#a8bcd3;font-size:11px;font-weight:700;padding:15px 10px;border-bottom:1px solid #344a63}#page-storage .storage-table td{padding:15px 10px;border-bottom:1px solid #263d55;color:#dbe6f5;max-width:145px}#page-storage .storage-table td:first-child{font-weight:800}#page-storage .storage-ellipsis{overflow:hidden;text-overflow:ellipsis}#page-storage .storage-status{display:inline-block;padding:6px 10px;border-radius:6px;font-size:11px;font-weight:700}#page-storage .storage-status.enabled{background:#154b42;color:#9aebc8}#page-storage .storage-status.disabled{background:#493e31;color:#f0d0a1}#page-storage .storage-row-actions{white-space:nowrap}#page-storage .storage-icon-button{padding:7px 9px;margin-right:4px;border-radius:7px;border:1px solid #49637e;background:#233b54;color:#e1edfa;cursor:pointer;font-size:14px}#page-storage .storage-icon-button:hover{background:#385779}#page-storage .storage-icon-button.danger{background:#4b283b;color:#f3c0ce;border-color:#694054}#page-storage .storage-empty{text-align:center;color:#9eb2cb;padding:35px!important}#page-storage .storage-message:not(:empty){margin:14px 0;padding:11px 14px;border:1px solid #415b76;background:#12253a;border-radius:10px;color:#cbdcf0}#page-storage .storage-message:empty{display:none}#page-storage [hidden]{display:none!important}
@media(max-width:1250px){#page-storage .storage-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#page-storage .storage-dashboard-grid{grid-template-columns:1fr}}@media(max-width:640px){#page-storage .storage-banner{padding:22px;gap:12px;flex-wrap:wrap}#page-storage .storage-banner img{width:130px}#page-storage .storage-mini-button{margin-left:0}#page-storage .storage-metrics{gap:9px}#page-storage .storage-metric{padding:13px;gap:9px}#page-storage .storage-metric strong{font-size:19px}#page-storage .storage-metric-icon{width:33px;height:33px}#page-storage .storage-section{padding:17px}#page-storage .storage-upload-grid{grid-template-columns:1fr}#page-storage .storage-auth-head{flex-wrap:wrap}#page-storage .storage-auth-wrap{padding:18px}}

/* Compact admin action bar: no duplicate logo or heading above Storage metrics. */
#page-storage .storage-actions-bar{display:flex;justify-content:flex-end;align-items:center;margin:0 0 12px;min-height:36px}
#page-storage .storage-actions-bar .storage-mini-button{margin-left:0;padding:8px 13px;font-size:12px}

/* Storage V4: full-height panels, responsive table without horizontal scrolling */
#page-storage .storage-svg{width:21px;height:21px;display:block;flex-shrink:0}
#page-storage .storage-metric-icon .storage-svg{width:23px;height:23px}
#page-storage .storage-drop-icon .storage-svg{width:51px;height:51px}
#page-storage .storage-section h3 span{display:inline-flex;vertical-align:middle;align-items:center}
#page-storage .storage-section h3 span .storage-svg{width:20px;height:20px}
#page-storage .storage-upload-button{display:flex;align-items:center;justify-content:center;gap:8px}
#page-storage .storage-upload-button .storage-svg{width:17px;height:17px}
#page-storage .storage-icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:34px;padding:5px;margin-right:3px}
#page-storage .storage-icon-button .storage-svg{width:17px;height:17px}
#page-storage .storage-table-wrap{width:100%;min-width:0;overflow-x:hidden;overflow-y:auto}
#page-storage .storage-table{width:100%;min-width:0;table-layout:fixed;white-space:normal}
#page-storage .storage-table th,#page-storage .storage-table td{padding:13px 5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-storage .storage-table th:nth-child(1){width:6%}
#page-storage .storage-table th:nth-child(2){width:19%}
#page-storage .storage-table th:nth-child(3){width:19%}
#page-storage .storage-table th:nth-child(4){width:18%}
#page-storage .storage-table th:nth-child(5){width:11%}
#page-storage .storage-table th:nth-child(6){width:10%}
#page-storage .storage-table th:nth-child(7){width:17%}
#page-storage .storage-row-actions{white-space:normal!important;overflow:visible!important}
#page-storage .storage-row-actions .storage-icon-button{margin:2px}
@media(min-width:851px){
 body.view-storage #page-storage{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 body.view-storage #page-storage #storage-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
 body.view-storage #page-storage .storage-metrics{flex:0 0 auto}
 body.view-storage #page-storage .storage-dashboard-grid{flex:1 1 auto;min-height:0;align-items:stretch}
 body.view-storage #page-storage .storage-section{min-height:0;height:100%;display:flex;flex-direction:column}
 body.view-storage #page-storage .storage-table-wrap{flex:1 1 auto;min-height:0}
}
@media(max-width:1250px){#page-storage .storage-dashboard-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){#page-storage .storage-table{font-size:10px}#page-storage .storage-table th,#page-storage .storage-table td{padding:8px 3px}#page-storage .storage-icon-button{width:27px;height:29px}#page-storage .storage-icon-button .storage-svg{width:14px;height:14px}}

/* Storage V5 — balanced content and non-blocking bottom-right toast */
#page-storage .storage-section{padding:clamp(18px,1.45vw,26px)}
#page-storage .storage-upload-section .storage-upload-grid{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:16px;align-items:stretch}
#page-storage .storage-upload-section .storage-drop{min-height:260px;height:100%}
#page-storage .storage-upload-section .storage-upload-fields{align-content:stretch;grid-template-rows:auto auto auto 1fr;gap:14px}
#page-storage .storage-upload-section .storage-upload-fields label{align-content:start}
#page-storage .storage-upload-section .storage-upload-button{align-self:start;min-height:48px}
#page-storage .storage-table-wrap{overflow-x:hidden!important}
#page-storage .storage-table{table-layout:fixed;width:100%}
#page-storage .storage-table th:nth-child(1){width:6%}
#page-storage .storage-table th:nth-child(2){width:18%}
#page-storage .storage-table th:nth-child(3){width:19%}
#page-storage .storage-table th:nth-child(4){width:18%}
#page-storage .storage-table th:nth-child(5){width:10%}
#page-storage .storage-table th:nth-child(6){width:10%}
#page-storage .storage-table th:nth-child(7){width:19%}
#page-storage .storage-table th,#page-storage .storage-table td{vertical-align:middle;padding:13px 5px}
#page-storage .storage-row-actions{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#page-storage .storage-row-actions .storage-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;align-items:center;width:100%}
#page-storage .storage-row-actions .storage-icon-button{width:100%;min-width:0;height:30px;padding:4px;margin:0;border-radius:6px}
#page-storage .storage-row-actions .storage-icon-button .storage-svg{width:15px;height:15px}
#page-storage .storage-message{position:fixed!important;right:22px;bottom:22px;left:auto;top:auto;z-index:5000;max-width:min(400px,calc(100vw - 32px));min-height:0!important;margin:0!important;padding:13px 42px 13px 16px!important;background:#152b43!important;border:1px solid #4d6b89!important;box-shadow:0 12px 34px #0008;border-radius:11px!important;color:#e4eefb!important;font-size:13px;line-height:1.5;pointer-events:none;opacity:0;transform:translateY(14px);transition:opacity .2s,transform .2s}
#page-storage .storage-message.storage-toast-visible:not(:empty){opacity:1;transform:translateY(0);pointer-events:auto}
#page-storage .storage-message:empty{display:none!important}
#page-storage .storage-toast-close{position:absolute;right:9px;top:8px;display:grid;place-items:center;width:25px;height:25px;border:0;border-radius:5px;background:transparent;color:#cbdcf0;cursor:pointer;font-size:20px;line-height:1}
#page-storage .storage-toast-close:hover{background:#ffffff18}
@media(max-width:1250px){#page-storage .storage-upload-section .storage-drop{min-height:220px}}
@media(max-width:640px){#page-storage .storage-upload-section .storage-upload-grid{grid-template-columns:1fr}#page-storage .storage-row-actions .storage-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}#page-storage .storage-message{right:12px;bottom:12px}}

/* Storage V6 — fill the unused vertical space inside the upload panel */
@media (min-width: 851px) {
  body.view-storage #page-storage .storage-upload-section .storage-upload-grid {
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
  }
  body.view-storage #page-storage .storage-upload-section .storage-drop {
    height: 100%;
    min-height: 260px;
  }
  body.view-storage #page-storage .storage-upload-section .storage-upload-fields {
    height: 100%;
    min-height: 260px;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto auto;
    align-content: stretch;
  }
  body.view-storage #page-storage .storage-upload-section .storage-upload-fields label {
    align-content: center;
  }
  body.view-storage #page-storage .storage-upload-section .storage-upload-button {
    align-self: stretch;
  }
  body.view-storage #page-storage .storage-upload-section .storage-upload-hint {
    flex: 0 0 auto;
  }
}

/* Storage V7 — compact spacing between order name, customer email and upload action */
@media (min-width: 851px) {
  body.view-storage #page-storage .storage-upload-section .storage-upload-fields {
    grid-template-rows: auto auto auto 1fr;
    align-content: start;
    gap: 14px;
  }
  body.view-storage #page-storage .storage-upload-section .storage-upload-fields label {
    align-content: start;
  }
  body.view-storage #page-storage .storage-upload-section .storage-upload-button {
    align-self: start;
  }
}

/* Storage V8 — center Aksi heading and use a slim orders scrollbar */
#page-storage .storage-table thead th:last-child {
  text-align: center;
}
#page-storage .storage-table td.storage-row-actions {
  text-align: center;
}
#page-storage .storage-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #526b86 transparent;
}
#page-storage .storage-table-wrap::-webkit-scrollbar {
  width: 5px;
  height: 0;
}
#page-storage .storage-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}
#page-storage .storage-table-wrap::-webkit-scrollbar-thumb {
  background: #526b86;
  border-radius: 999px;
}
#page-storage .storage-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #7992b0;
}

/* V9 — align the midpoint of the four summary cards with the two lower panels. */
@media (min-width:1251px) {
  #page-storage .storage-dashboard-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Storage V10: keep order table column labels visible while rows scroll */
#page-storage .storage-table {
  border-collapse: separate;
  border-spacing: 0;
}
#page-storage .storage-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #112035;
  box-shadow: inset 0 -1px 0 #344a63;
}

/* Multi-file selector, preserve existing dashboard styling */
#page-storage .storage-upload-fields select{height:46px;width:100%;border:1px solid #39516d;border-radius:10px;background:#081625;padding:0 13px;color:#e8f0fc;outline:none}
#page-storage .storage-upload-fields input:disabled{opacity:.55;cursor:not-allowed}
#page-storage .storage-upload-fields{grid-template-rows:none!important;align-content:start!important}

/* V12: multi-file and multi-customer controls */
#page-storage .storage-upload-section .storage-upload-fields{grid-template-rows:none!important;gap:12px!important}
#page-storage .storage-email-hint{font-weight:400;color:#9eb4cf;font-size:11px}
#page-storage .storage-add-email{border:1px solid #49637e;background:#233b54;color:#e1edfa;border-radius:8px;padding:9px 12px;cursor:pointer;font-weight:650}
#page-storage .storage-email-list,#page-storage .storage-selected-files{display:flex;flex-wrap:wrap;gap:6px;max-height:95px;overflow:auto;min-width:0}
#page-storage .storage-selected-files{max-width:100%;position:relative;z-index:2}
#page-storage .storage-chip{display:inline-flex;align-items:center;gap:5px;background:#28435e;border:1px solid #49637e;border-radius:6px;color:#dceafa;padding:4px 7px;font-size:11px;max-width:100%;overflow-wrap:anywhere}
#page-storage .storage-chip button{border:0;background:transparent;color:#dceafa;font-size:16px;cursor:pointer;padding:0 2px}
#page-storage .storage-upload-section .storage-drop input{z-index:1}

/* V13: compact multi-upload without nested scrollbars */
#page-storage .storage-upload-grid{align-items:start}
#page-storage .storage-upload-section .storage-upload-grid{grid-template-rows:auto auto}
#page-storage .storage-upload-section .storage-drop{grid-column:1;grid-row:1;min-height:260px;height:auto!important}
#page-storage .storage-upload-section .storage-selected-files{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap;align-content:start;gap:6px;max-height:none!important;overflow:visible!important;min-width:0;margin-top:0}
#page-storage .storage-upload-section .storage-selected-files:empty{display:none}
#page-storage .storage-upload-section .storage-upload-fields{grid-column:2;grid-row:1 / span 2;min-width:0;gap:12px!important}
#page-storage .storage-email-entry{display:flex;align-items:stretch;position:relative;min-width:0}
#page-storage .storage-email-entry input{min-width:0;flex:1;padding-right:55px!important}
#page-storage .storage-email-entry .storage-add-email{position:absolute;right:5px;top:5px;bottom:5px;width:37px;display:grid;place-items:center;padding:0;border:1px solid #49637e;border-radius:7px;background:#233b54;color:#dceafa;font-size:25px;font-weight:400;line-height:1;cursor:pointer}
#page-storage .storage-email-entry .storage-add-email:hover{background:#36536f}
#page-storage .storage-email-list{display:flex;flex-wrap:wrap;gap:6px;max-height:none!important;overflow:visible!important;min-width:0}
#page-storage .storage-email-list:empty{display:none}
#page-storage .storage-selected-files .storage-chip,#page-storage .storage-email-list .storage-chip{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
#page-storage .storage-selected-files .storage-chip{max-width:100%;text-align:left}
@media(max-width:800px){#page-storage .storage-upload-section .storage-upload-grid{display:flex;flex-direction:column}#page-storage .storage-upload-section .storage-drop,#page-storage .storage-upload-section .storage-upload-fields,#page-storage .storage-upload-section .storage-selected-files{width:100%}}

/* V14: restore the full-height file drop area while keeping V13 chips and email + */
@media (min-width: 851px) {
  body.view-storage #page-storage .storage-upload-section .storage-upload-grid {
    min-height: 430px;
    grid-template-rows: minmax(260px, 1fr) auto;
    align-items: stretch;
  }
  body.view-storage #page-storage .storage-upload-section .storage-drop {
    height: 100% !important;
    min-height: 260px;
    align-self: stretch;
  }
}
