/* VolunHere V0.5 - Marci's Baseline (Excel) layout is the initial default [Chuck t9u] */
:root{
  --navy:#1F3A5F; --ink:#1d2330; --muted:#5b6475; --bg:#F5F3EE; --card:#fff; --line:#c9ccd3;
  --blue:#B4C6E7; --green:#A9D08E; --peach:#F8CBAD; --grey:#D9D9D9; --yellow:#FFEB3B; --mine:#2E7D32;
  --off:#eceef1; --offink:#8a909c; --radius:12px;
  --safe-t:env(safe-area-inset-top,0px); --safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);padding-bottom:var(--safe-b)}
button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2b6cb0;outline-offset:2px}
[hidden]{display:none!important}
.top{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:calc(8px + var(--safe-t)) 12px 8px;background:var(--navy);color:#fff}
.brand{display:flex;gap:10px;align-items:center}.brand img{border-radius:8px}
.bname{font-weight:700;font-size:19px}.btag{font-size:12px;opacity:.8}
.topright{display:flex;gap:8px;align-items:center}
.chip{background:#fff;color:var(--navy);border:0;border-radius:999px;padding:9px 14px;min-height:44px;font-weight:600;max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.icon-btn{background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff;border-radius:10px;min-width:44px;min-height:44px;font-size:20px}
.adminbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 12px;background:#7a4b00;color:#fff}
.adminbar button{background:#fff;color:#7a4b00;border:0;border-radius:8px;padding:8px 12px;min-height:40px;font-weight:600}
.weeknav{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 4px}
.nav-arrow{width:52px;height:52px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:30px;line-height:1}
.nav-arrow:disabled{opacity:.35;cursor:not-allowed}
.weeklabel{text-align:center;font-weight:800;font-size:22px}
.weeksub{font-weight:400;font-size:13px;color:var(--muted)}
.tabs{display:flex;gap:6px;padding:8px 12px;position:sticky;top:calc(60px + var(--safe-t));z-index:15;background:var(--bg)}
.tabs button{flex:1;min-height:46px;border:1px solid var(--line);background:#fff;border-radius:10px;font-weight:600}
.tabs button[aria-selected=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
main{padding:4px 12px 20px;max-width:1400px;margin:0 auto;outline:none}
.foot{font-size:13px;color:var(--muted);text-align:center;padding:16px 12px 24px;border-top:1px solid var(--line)}
.notice{background:#fff8d6;border:1px solid #e8d77a;border-radius:var(--radius);padding:10px 12px;margin:6px 0 12px;font-size:15px}
.legend{display:flex;flex-wrap:wrap;gap:10px 14px;font-size:14px;color:var(--muted);margin:4px 0 10px}
.legend span{display:inline-flex;align-items:center;gap:6px}
.sw{width:18px;height:18px;border-radius:4px;border:1px solid #999;display:inline-block}
.sw.open{background:var(--yellow)}.sw.mine{background:#d7f0d9;border-color:var(--mine)}.sw.off{background:repeating-linear-gradient(45deg,#e6e8ec 0 4px,#f6f7f9 4px 8px)}

/* ---- Week wall = copy of Marci's "2026.11 MASTER.xlsm" sheet [Chuck t1059u, t926u] ----
   Calibri 11 bold, thin black grid, 15 pt rows, header text left in each column, yellow #FFFF00 = open,
   ship tiles 8.5 pt bold centered, colored by cruise line. Do not restyle: copy her format as is. */
.wallwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;padding:14px 0 10px;margin:0 -12px}
table.wall{border-collapse:collapse;width:868px;table-layout:fixed;margin:0 auto;background:#fff;color:#000;
  font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-weight:700}
.wall col{width:124px}
.wall th,.wall td{border:1px solid #000;padding:0;font-size:14.5px;line-height:19px;height:20px;text-align:left;vertical-align:bottom;white-space:nowrap;overflow:hidden}
.wall thead th{border:0;background:#fff;text-align:center;font-size:15px;line-height:21px;padding:0 0 1px;vertical-align:bottom}
.wall thead .dname,.wall thead .ddate{font-weight:700}
.wall .sechead td{padding:0 2px;font-weight:700;letter-spacing:0}
.wall .sechead td.long{font-size:12.4px;letter-spacing:-.2px}
.cell{display:block;width:100%;height:19px;border:0;margin:0;padding:0 2px;background:#fff;color:#000;font:inherit;font-weight:700;
  text-align:left;white-space:nowrap;overflow:hidden;text-overflow:clip;line-height:19px;border-radius:0}
.cell.open,.cell.openoff{background:#FFFF00}
.cell.open.noy{background:#fff}
.cell.tent{background:#FFFF00}
.cell.mine{color:#000;text-decoration:underline;text-decoration-thickness:2px}
.cell.blank{cursor:default}
.wall td.ship{text-align:center;vertical-align:middle;white-space:normal;font-size:11.3px;line-height:16px;height:36px;padding:0 1px;background:#fff;color:#000}
.wall td.ship.disney{background:#002060;color:#FFFF00}
.wall td.ship.royal{background:#0070C0;color:#fff}
.wall td.ship.carnival{background:#FF0000;color:#fff}
.wall td.ship.norwegian{background:#00B0F0;color:#fff}
.wall td.ship.msc{background:#000;color:#fff}
.wall td.ship.poc{background:#FFFF00;color:#000}
.wall td.ship.none{border-left:0;border-right:0;border-bottom:0}
.wallhint{font-size:13px;color:var(--muted);text-align:center;margin:6px 0 10px}
.events{margin-top:12px;border:1px solid #888;border-radius:6px;background:#fff}
.events h3{margin:0;background:var(--grey);padding:6px 10px;font-size:14px;letter-spacing:.5px}
.events ul{margin:0;padding:8px 10px 10px 28px}.events p{margin:0;padding:10px}

/* ---- Day view (phone-first) ---- */
.daystrip{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
.daybtn{flex:0 0 auto;scroll-snap-align:start;min-width:74px;min-height:66px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:6px 8px;text-align:center}
.daybtn .d1{font-weight:800;font-size:14px}.daybtn .d2{font-size:20px;font-weight:800}.daybtn .d3{font-size:11px;color:var(--muted)}
.daybtn[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.daybtn[aria-pressed=true] .d3{color:#dfe6f0}
.daybtn.past{opacity:.55}
.dayhead{display:flex;justify-content:space-between;align-items:baseline;margin:2px 0 8px}
.dayhead h2{margin:0;font-size:22px}.dayhead .cov{color:var(--muted);font-size:14px}
.sec{background:var(--card);border-radius:var(--radius);margin:0 0 12px;overflow:hidden;border:1px solid #c7cbd2}
.sec>h3{margin:0;padding:10px 12px;font-size:16px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.sec>h3 small{font-weight:600;font-size:13px;opacity:.85}
.slots{padding:8px;display:grid;gap:8px;grid-template-columns:1fr}
@media (min-width:520px){.slots{grid-template-columns:1fr 1fr}}
.slot{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;width:100%;border:1px solid #c7cbd2;border-radius:10px;background:#fff;padding:8px 12px;text-align:left;font-size:17px}
.slot .act{font-size:13px;font-weight:700;white-space:nowrap}
.slot.open{background:var(--yellow);border-color:#d9c200;font-weight:700}
.slot.open.noy{background:#fff;border:2px dashed #c9b24a}
.slot.mine{background:#d7f0d9;border:2px solid var(--mine);font-weight:800;color:#0f4d14}
.slot.off{background:repeating-linear-gradient(45deg,#eceef1 0 6px,#f7f8fa 6px 12px);color:var(--offink)}
.slot.off .act{font-weight:600}
.slot .nt{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.shipcard{background:#fff;border:1px solid #c7cbd2;border-radius:var(--radius);margin:0 0 12px}
.shipcard h3{margin:0;background:var(--grey);padding:8px 12px;font-size:15px;border-radius:var(--radius) var(--radius) 0 0}
.shipcard ul{list-style:none;margin:0;padding:6px 12px}.shipcard li{padding:6px 0;border-bottom:1px solid #eee;font-size:15px}
.shipcard li:last-child{border:0}.shipcard .meta{color:var(--muted);font-size:13px}

/* ---- My schedule ---- */
.mine-list{display:grid;gap:10px}
.mcard{background:#fff;border:1px solid #c7cbd2;border-left:8px solid var(--mine);border-radius:var(--radius);padding:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.mcard.past{border-left-color:#9aa0aa;opacity:.8}
.mcard .w{font-weight:800}.mcard .s{color:var(--muted);font-size:14px}
.btn{min-height:48px;padding:10px 16px;border-radius:10px;border:1px solid var(--line);background:#fff;font-weight:700}
.btn.primary{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn.danger{background:#b3261e;color:#fff;border-color:#b3261e}
.btn.small{min-height:40px;padding:6px 10px;font-size:14px}
.btn:disabled{opacity:.4;cursor:not-allowed}
h2.sect{font-size:18px;margin:18px 0 8px}

/* ---- Sheets / modal ---- */
.overlay{position:fixed;inset:0;background:rgba(10,20,35,.45);z-index:50;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:#fff;width:100%;max-width:560px;max-height:88vh;overflow:auto;border-radius:18px 18px 0 0;padding:18px 16px calc(18px + var(--safe-b));box-shadow:0 -6px 30px rgba(0,0,0,.25)}
@media (min-width:700px){.overlay{align-items:center}.sheet{border-radius:18px;max-width:640px}}
.sheet h2{margin:0 0 6px;font-size:21px}.sheet p{margin:6px 0 12px}
.sheet .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.sheet .row .btn{flex:1}
.sheet input[type=text],.sheet input[type=search],.sheet input[type=password],.sheet input[type=number],.sheet select,.sheet input[type=date]{width:100%;min-height:48px;font-size:18px;padding:8px 12px;border:1px solid #9aa0aa;border-radius:10px;background:#fff}
.sheet label{display:block;font-weight:700;margin:12px 0 4px}
.plist{display:grid;gap:6px;margin-top:10px;max-height:45vh;overflow:auto}
.plist button{min-height:50px;text-align:left;padding:8px 12px;border:1px solid #c7cbd2;border-radius:10px;background:#fff;font-size:17px}
.plist button .q{float:right;font-size:12px;color:var(--muted);margin-top:3px}
.err{color:#b3261e;font-weight:600;min-height:1.2em}
.am-item{border:1px solid #c7cbd2;border-radius:12px;padding:10px;margin:8px 0;background:#fff}
.am-item.retired{background:#f1f2f4;color:var(--offink)}
.am-top{display:flex;align-items:center;gap:8px;justify-content:space-between}
.am-name{font-weight:800;font-size:17px;display:flex;align-items:center;gap:8px}
.am-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.am-hist{font-size:12px;color:var(--muted);margin-top:4px}
.needgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:6px}
.needgrid label{margin:0;font-size:11px;text-align:center;font-weight:600}
.needgrid input{width:100%;min-height:42px;text-align:center;font-size:16px;border:1px solid #9aa0aa;border-radius:8px}
.toast{position:fixed;left:50%;bottom:calc(20px + var(--safe-b));transform:translateX(-50%) translateY(150%);background:#1d2330;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;z-index:60;transition:transform .25s;max-width:92vw;text-align:center}
.toast{visibility:hidden}.toast.show{visibility:visible;transform:translateX(-50%) translateY(0)}
@media (max-width:420px){.weeklabel{font-size:19px}.bname{font-size:17px}.btag{display:none}}
@media print{.top,.tabs,.weeknav button,.adminbar,.foot,.toast{display:none}}
/* point-and-click controls [Chuck t12u] */
.choices,.abc{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.choice{min-height:46px;min-width:46px;padding:8px 12px;border:1px solid #9aa0aa;border-radius:10px;background:#fff;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.abc .choice{min-width:44px;justify-content:center;padding:6px}
.choice.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.steps{display:grid;grid-template-columns:1fr;gap:6px;margin-top:4px}
@media (min-width:520px){.steps{grid-template-columns:1fr 1fr}}
.steps.one{grid-template-columns:1fr}
.step{display:flex;align-items:center;gap:8px;border:1px solid #c7cbd2;border-radius:10px;padding:4px 8px}
.step .sd{font-weight:700;width:42px}
.step b{min-width:34px;text-align:center;font-size:20px}
.sb{min-width:48px;min-height:46px;border:1px solid #9aa0aa;border-radius:10px;background:#f3f5f8;font-size:22px;font-weight:700}
.plist button:disabled{opacity:.5}
