:root{
  --ground:#EEF1F4;--surface:#FBFCFD;--ink:#0E1A2B;--muted:#56667A;--line:#D8DFE7;
  --primary:#C2410C;--primary-tint:#FFEDD5;--accent:#F97316;--accent-ink:#9A3412;--teal:#0F8F80;--teal-tint:#DDF2EF;
  --amber:#F2A900;--amber-tint:#FCEFCB;--danger:#BF3328;--danger-tint:#F8E0DD;--green:#2E8B4F;--green-tint:#DDF0E3;--on:#FBFCFD;
  --display:'Manrope',system-ui,sans-serif;--body:'IBM Plex Sans',system-ui,sans-serif;--mono:'IBM Plex Mono',ui-monospace,monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:var(--body);color:var(--ink);background:var(--ground);font-size:14px;line-height:1.4;-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;text-align:inherit}
input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--amber);outline-offset:2px;border-radius:8px}
.ic{display:inline-flex;flex:none;width:var(--s,20px);height:var(--s,20px)}.ic svg{width:100%;height:100%}
.mono{font-family:var(--mono);font-weight:500}
.muted{color:var(--muted)}
[hidden]{display:none!important}

/* proto bar */
.pbar{position:fixed;top:0;left:0;right:0;height:44px;background:#1F140C;color:#d8cbd3;display:flex;align-items:center;gap:12px;padding:0 16px;z-index:100;font-size:13px}
.pbar b{color:#fff;font-family:var(--display);font-weight:800;white-space:nowrap}
.pbar label{display:flex;align-items:center;gap:6px;white-space:nowrap}
.pbar select{background:#33231a;border:1px solid #5a4030;color:#fff;border-radius:8px;padding:5px 8px;font-size:13px;max-width:170px}
.pbar .sp{flex:1}
.pbar button{border:1px solid #5a4030;border-radius:8px;padding:5px 10px;color:#fff;font-size:13px;white-space:nowrap}
.pbar button.offl{background:var(--amber);color:var(--ink);border-color:var(--amber);font-weight:600}
.app{position:fixed;top:44px;left:0;right:0;bottom:0}
.screen{position:absolute;inset:0;display:none;background:var(--ground)}
.screen.active{display:flex}

/* sidebar */
.side{width:232px;flex:none;background:var(--ink);color:var(--line);display:flex;flex-direction:column;padding:22px 14px 16px;gap:4px;overflow:auto}
.brand{display:flex;align-items:center;gap:10px;padding:0 6px 20px}
.brand i{width:34px;height:34px;border-radius:10px;background:var(--accent);color:var(--ink);display:grid;place-items:center;font-style:normal}
.brand b{display:block;font-family:var(--display);font-weight:800;color:var(--on);font-size:16px;letter-spacing:-.01em;line-height:1.1}
.brand small{color:var(--muted);font-size:11px}
.side nav{display:flex;flex-direction:column;gap:4px}
.nv{display:flex;align-items:center;gap:12px;height:44px;padding:0 12px;border-radius:10px;font-weight:500;color:var(--line);width:100%;position:relative}
.nv:hover{background:#1c2c42}
.nv.on{background:var(--accent);color:var(--ink);font-weight:700}
.nv .bdg{margin-left:auto;background:var(--amber);color:var(--ink);border-radius:10px;font-size:11px;font-weight:700;padding:1px 7px}
.side .sp{flex:1}
.sfoot{border:1px solid #2a3b55;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}
.sfoot b{color:var(--on);font-size:13px}.sfoot small{color:#8fa0b5}
.net{display:flex;align-items:center;gap:6px;background:var(--teal);color:var(--on);border-radius:10px;padding:4px 10px 4px 8px;font-weight:600;font-size:12px;width:fit-content}
.net.off{background:var(--amber);color:var(--ink)}

.main{flex:1;min-width:0;display:flex;flex-direction:column}
.banner{display:none;background:var(--amber);color:var(--ink);padding:9px 28px;font-weight:600;font-size:13px;align-items:center;gap:10px}
body.offline .banner{display:flex}
.top{flex:none;display:flex;align-items:center;gap:12px;padding:16px 28px;background:var(--surface);border-bottom:1px solid var(--line)}
.ttl{flex:1;min-width:0}.ttl h1{font-family:var(--display);font-weight:800;font-size:24px;letter-spacing:-.02em;line-height:1.1}.ttl p{color:var(--muted);font-size:13px}
.acts{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.content{flex:1;overflow:auto;padding:24px 28px 40px;display:flex;flex-direction:column;gap:20px}
.content>*{flex-shrink:0}

/* parts */
.btn{height:44px;border-radius:10px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:14px;white-space:nowrap;transition:transform .08s}
.btn:active{transform:scale(.985)}
.btn.sm{height:34px;padding:0 12px;font-size:13px;border-radius:8px}
.btn.primary{background:var(--primary);color:var(--on)}.btn.teal{background:var(--teal);color:var(--on)}
.btn.secondary{background:var(--surface);border:1.5px solid var(--line)}
.btn.danger{background:var(--danger-tint);border:1.5px solid var(--danger);color:var(--danger)}
.btn.ghost{color:var(--primary)}.btn.block{width:100%}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 11px 4px 9px;border-radius:12px;font-size:12px;font-weight:600;width:fit-content;white-space:nowrap}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.pill.booked,.pill.process{background:var(--primary-tint);color:var(--primary)}.pill.arrived,.pill.held{background:var(--amber-tint);color:#7a5600}.pill.inservice{background:var(--teal-tint);color:var(--teal)}.pill.done{background:var(--green-tint);color:var(--green)}.pill.paid{background:var(--green-tint);color:var(--green)}.pill.cancelled,.pill.collected{background:var(--ground);color:var(--muted)}.pill.owing,.pill.noshow,.pill.late{background:var(--danger-tint);color:var(--danger)}
.tagc{display:inline-block;padding:2px 8px;border-radius:8px;font-size:11px;font-weight:600;background:var(--ground);color:var(--muted)}
.tagc.warn{background:var(--amber-tint);color:#7a5600}.tagc.bad{background:var(--danger-tint);color:var(--danger)}.tagc.good{background:var(--green-tint);color:var(--green)}.tagc.soon{background:var(--primary-tint);color:var(--primary)}
.chip{padding:8px 14px;border-radius:18px;border:1px solid var(--line);background:var(--surface);font-weight:500;font-size:13px;white-space:nowrap}
.chip.on{background:var(--primary);color:var(--on);border-color:var(--primary)}
.chip[disabled]{opacity:.45;cursor:not-allowed}
.chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px}
.card.pad0{padding:0;overflow:hidden}
.h2{font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.02em}
.h3{font-family:var(--display);font-weight:800;font-size:16px;letter-spacing:-.01em}
.lbl{font-size:12px;font-weight:500;color:var(--muted)}
.cols{display:flex;gap:20px;align-items:stretch}.cols>.grow{flex:1;min-width:0}.cols>.side2{width:380px;flex:none}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.stats.s3{grid-template-columns:repeat(3,1fr)}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:4px}
.stat span{font-size:12px;color:var(--muted);font-weight:500}.stat b{font-family:var(--display);font-weight:800;font-size:26px;letter-spacing:-.02em}.stat small{font-size:12px;color:var(--muted)}
.red{color:var(--danger)}.grn{color:var(--green)}.amb{color:#9a6a00}
.field{display:flex;flex-direction:column;gap:6px}
.input{display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border-radius:10px;background:var(--surface);border:1px solid var(--line)}
.input:focus-within{border:2px solid var(--primary);padding:0 13px}
.input input,.input select{flex:1;min-width:0;border:0;background:transparent;outline:0;height:100%;font-weight:500}
.input.search{background:var(--ground);width:280px}
textarea.in{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:var(--surface);min-height:70px;width:100%;resize:vertical}
.tw{overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:14px}
table{border-collapse:collapse;width:100%;min-width:640px}
th{font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--muted);text-align:left;padding:10px 16px;background:var(--ground);white-space:nowrap}
td{padding:12px 16px;border-top:1px solid var(--line);vertical-align:middle}
td.mono,td .mono{white-space:nowrap}
tr.click{cursor:pointer}tr.click:hover td{background:#fbf3ec}
.r{text-align:right}th.r{text-align:right}
.seg{display:flex;gap:4px;padding:4px;background:var(--ground);border-radius:10px}
.seg button{flex:1;padding:8px 10px;border-radius:8px;font-weight:600;font-size:13px;text-align:center}
.seg button.on{background:var(--primary);color:var(--on)}
.seg.white{background:var(--surface);border:1px solid var(--line)}
.note{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:10px;background:var(--primary-tint);color:var(--primary);font-weight:500;font-size:13px}
.note.warn{background:var(--amber-tint);color:var(--ink)}.note.good{background:var(--green-tint);color:var(--green)}.note.bad{background:var(--danger-tint);color:var(--danger)}
.opt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 10px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-weight:600;font-size:13px;text-align:center;flex:1}
.opt[aria-checked=true]{border:2px solid var(--primary);padding:13px 9px;background:var(--primary-tint);color:var(--primary)}
.row{display:flex;align-items:center;gap:12px}.row.sp{justify-content:space-between}.row.wrap{flex-wrap:wrap}
.col{display:flex;flex-direction:column;gap:2px;min-width:0}.grow{flex:1;min-width:0}
.divider{height:1px;background:var(--line)}
.sw{width:42px;height:26px;border-radius:13px;background:var(--line);padding:3px;display:flex;flex:none;transition:background .15s}
.sw i{width:20px;height:20px;border-radius:50%;background:var(--surface);transition:transform .15s}
.sw[aria-checked=true]{background:var(--primary)}.sw[aria-checked=true] i{transform:translateX(16px)}
.sw[disabled]{opacity:.5;cursor:not-allowed}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:-4px 0 0;overflow:auto}
.tabs button{padding:10px 14px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap}
.tabs button.on{color:var(--primary);border-bottom-color:var(--primary)}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--primary);color:var(--on);display:grid;place-items:center;font-family:var(--display);font-weight:800;flex:none}
.avatar.sm{width:30px;height:30px;font-size:12px}
.tile{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);text-align:left}
.tile:hover{border-color:var(--primary)}.tile[disabled]{opacity:.45;cursor:not-allowed}
.tile .pr{font-family:var(--mono);font-weight:500;font-size:13px;color:var(--muted)}
.gar{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pick{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);width:100%}
.pick[aria-checked=true]{border:2px solid var(--primary);background:var(--primary-tint);padding:11px}
.cb{width:24px;height:24px;border-radius:7px;border:2px solid var(--line);display:grid;place-items:center;background:var(--surface);color:transparent;flex:none}
[aria-checked=true]>.cb{background:var(--primary);border-color:var(--primary);color:var(--on)}
.qty{display:flex;align-items:center;gap:8px}.qty button{width:26px;height:26px;border-radius:7px;border:1px solid var(--line);display:grid;place-items:center;background:var(--surface)}
.paper{background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:22px;font-family:var(--mono);font-size:12px;line-height:1.55;white-space:pre-wrap;width:320px;box-shadow:0 8px 20px -12px rgba(14,26,43,.35)}
.bars{display:flex;align-items:flex-end;gap:10px;height:170px;padding-left:34px;position:relative;border-bottom:1px solid var(--line)}
.bars .ax{position:absolute;left:0;top:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;font-family:var(--mono);font-size:11px;color:var(--muted);width:30px;text-align:right}
.bars .b{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;height:100%;position:relative}
.bars .b i{display:block;width:100%;max-width:34px;border-radius:4px 4px 0 0;background:var(--primary)}
.bars .b.hi i{background:var(--amber)}
.bars .b span{position:absolute;bottom:-20px;font-size:11px;color:var(--muted);white-space:nowrap}
.hbar{height:10px;border-radius:5px;background:var(--ground);overflow:hidden}.hbar i{display:block;height:100%;background:var(--primary);border-radius:5px}
.heat{display:grid;grid-template-columns:54px repeat(6,1fr);gap:3px;font-size:11px}
.heat div{padding:7px 4px;text-align:center;border-radius:5px;background:var(--ground)}
.heat .hh{background:none;color:var(--muted);font-weight:600}
.scrim{position:fixed;inset:44px 0 0 0;background:rgba(31,20,12,.5);z-index:60;display:none;align-items:center;justify-content:center}
.scrim.open{display:flex}
.modal{background:var(--surface);border-radius:16px;padding:22px;width:min(460px,calc(100vw - 32px));display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 80px);overflow:auto}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,10px);background:var(--ink);color:var(--on);padding:12px 18px;border-radius:12px;font-weight:600;z-index:200;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 32px)}
.toast.show{opacity:1;transform:translate(-50%,0)}
.login{display:flex;width:100%}
.login .l{width:520px;background:var(--ink);color:var(--on);padding:56px;display:flex;flex-direction:column;gap:20px}
.login .l h2{font-family:var(--display);font-weight:800;font-size:40px;letter-spacing:-.03em;line-height:1.1;margin-top:auto}
.login .l li{list-style:none;display:flex;gap:12px;color:var(--line);align-items:center}
.login .r{flex:1;display:grid;place-items:center;padding:24px}
.login form{width:380px;max-width:100%;display:flex;flex-direction:column;gap:16px}
.login h1{font-family:var(--display);font-weight:800;font-size:32px;letter-spacing:-.03em}

/* calendar */
.calbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.calwrap{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:auto;max-height:calc(100vh - 300px);min-height:320px}
.cal{display:grid;grid-template-columns:54px repeat(var(--n),minmax(150px,1fr));min-width:calc(54px + var(--n)*150px)}
.cal .hd{position:sticky;top:0;z-index:6;background:var(--surface);border-bottom:1px solid var(--line);border-left:1px solid var(--line);padding:8px 10px;display:flex;flex-direction:column}
.cal .hd:first-child{border-left:0}
.cal .hd b{font-family:var(--display);font-weight:800}.cal .hd small{color:var(--muted)}
.cal .axis,.cal .cb2{position:relative;height:720px}
.cal .axis{position:sticky;left:0;z-index:5;background:var(--surface)}
.cal .axis span{position:absolute;right:6px;font-family:var(--mono);font-size:11px;color:var(--muted);transform:translateY(-7px)}
.cal .cb2{border-left:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,var(--line) 35px,var(--line) 36px)}
.cal .cell{position:absolute;left:0;right:0;height:36px;border-radius:0}
.cal .cell:hover{background:var(--primary-tint)}
.cal .cell[disabled]{cursor:default}.cal .cell[disabled]:hover{background:none}
.cal .past{position:absolute;left:0;right:0;top:0;background:rgba(14,26,43,.045);pointer-events:none}
.cal .nowl{position:absolute;left:0;right:0;height:2px;background:var(--danger);z-index:3;pointer-events:none}
.cal .nowl::before{content:"";position:absolute;left:-1px;top:-4px;width:10px;height:10px;border-radius:50%;background:var(--danger)}
.cal .off{margin:20px 10px;color:var(--muted);font-weight:600;text-align:center}
.bk{position:absolute;left:3px;right:3px;border-radius:8px;padding:4px 7px;font-size:12px;overflow:hidden;border-left:4px solid var(--primary);background:var(--primary-tint);z-index:2;display:flex;flex-direction:column;gap:0;line-height:1.25}
.bk b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.bk span{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk.st-arrived{border-color:var(--amber);background:var(--amber-tint)}
.bk.st-inservice{border-color:var(--teal);background:var(--teal-tint)}
.bk.st-done{border-color:var(--green);background:var(--green-tint)}
.bk.st-paid{border-color:var(--muted);background:var(--ground)}
.bk.st-late,.bk.st-noshow{border-color:var(--danger);background:var(--danger-tint)}
.bk.st-noshow{opacity:.75;text-decoration:line-through}
.bk.st-held{border-color:var(--amber);background:repeating-linear-gradient(45deg,var(--amber-tint),var(--amber-tint) 6px,#fff6dc 6px,#fff6dc 12px)}
.bk.blk{border-color:var(--muted);background:repeating-linear-gradient(45deg,#e4e8ed,#e4e8ed 6px,#eef1f4 6px,#eef1f4 12px);color:var(--muted)}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}

/* public booking page */
#p-site{background:#e8dccf;align-items:flex-start;justify-content:center;overflow:auto;padding:12px 0}
.pubwrap{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}
.pubcap{color:#6b5646;font-size:12px;text-align:center;padding:0 16px}
.phone{width:390px;max-width:100%;height:min(790px,calc(100vh - 44px - 70px));background:var(--surface);border-radius:30px;box-shadow:0 24px 50px -20px rgba(31,20,12,.5),0 0 0 8px #2a1a10;display:flex;flex-direction:column;overflow:hidden;position:relative}
.ph-top{flex:none;padding:16px 18px 12px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px;background:var(--surface)}
.ph-top .row b{font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.02em}
.ph-body{flex:1;overflow:auto;padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.ph-body>*{flex-shrink:0}
.ph-foot{flex:none;padding:12px 18px 16px;border-top:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:8px}
.prog{display:flex;gap:5px}.prog i{height:4px;flex:1;border-radius:2px;background:var(--line)}.prog i.on{background:var(--primary)}
.svcrow{display:flex;align-items:center;gap:12px;padding:13px;border-radius:12px;background:var(--surface);border:1px solid var(--line);width:100%;min-height:56px}
.svcrow:hover{border-color:var(--primary)}
.svcrow[aria-checked=true]{border:2px solid var(--primary);padding:12px;background:var(--primary-tint)}
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.slot{padding:11px 4px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-family:var(--mono);font-weight:500;text-align:center;font-size:13px}
.slot.on{background:var(--primary);color:var(--on);border-color:var(--primary)}
.days{display:flex;gap:8px;overflow:auto;padding-bottom:4px}
.dayc{flex:none;width:58px;padding:8px 0;border-radius:12px;border:1px solid var(--line);background:var(--surface);text-align:center;display:flex;flex-direction:column;gap:2px;font-size:12px}
.dayc b{font-family:var(--display);font-size:17px}.dayc.on{background:var(--primary);color:var(--on);border-color:var(--primary)}.dayc[disabled]{opacity:.4;cursor:not-allowed}
.ruleb{background:var(--amber-tint);border-radius:12px;padding:12px;font-size:13px;display:flex;gap:10px}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:13px;text-align:left;padding:2px 0}
.paytabs{display:flex;gap:6px}.paytabs button{flex:1;padding:10px 4px;border-radius:10px;border:1px solid var(--line);text-align:center;font-weight:600;font-size:13px;display:flex;flex-direction:column;align-items:center;gap:4px}
.paytabs button.on{border:2px solid var(--primary);background:var(--primary-tint);color:var(--primary);padding:9px 3px}
.spin{width:22px;height:22px;border:3px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:sp .8s linear infinite;display:inline-block}
@keyframes sp{to{transform:rotate(360deg)}}
.big{font-family:var(--display);font-weight:800;font-size:34px;letter-spacing:-.03em}

@media (max-width:860px){
  .screen.active{flex-direction:column}
  .side{width:auto;order:2;flex-direction:row;padding:6px 8px;gap:2px;overflow-x:auto;border-top:1px solid #2a3b55;flex:none}
  .side .brand,.side .sfoot,.side .sp{display:none}.side nav{flex-direction:row;gap:2px;width:max-content;justify-content:flex-start}
  .nv{flex-direction:column;gap:2px;height:52px;padding:6px 8px;font-size:10px;width:auto;min-width:60px;justify-content:center}
  .nv .bdg{position:absolute;top:2px;right:6px;margin:0;padding:0 5px;font-size:10px}
  .main{order:1;overflow:hidden}
  .top{padding:12px 16px;flex-wrap:wrap}.ttl h1{font-size:20px}.content{padding:16px 16px 28px}.banner{padding:8px 16px}
  .stats,.stats.s3{grid-template-columns:1fr 1fr}.cols{flex-direction:column}.cols>.side2{width:auto}.gar{grid-template-columns:1fr 1fr}
  .login .l{display:none}.input.search{width:100%}
  .pbar{gap:8px;padding:0 10px}.pbar .hide-s{display:none}.pbar label{font-size:12px}.pbar select{max-width:110px}
  .ttl{flex:1 1 100%}
  .calwrap{max-height:calc(100vh - 340px)}
  .paper{width:100%}
}
@media (max-width:480px){
  #p-site{padding:0;align-items:stretch}.pubcap{display:none}.pubwrap{height:100%;gap:0}
  .phone{width:100%;height:auto;flex:1;min-height:0;border-radius:0;box-shadow:none}
  .stats,.stats.s3{grid-template-columns:1fr 1fr}.stat b{font-size:22px}
  .pbar select#role{max-width:96px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.center{text-align:center}
body[data-role=manager] .o-only,body[data-role=staff] .o-only,body[data-role=manager] .o-only{display:none!important}
.pbar .tx{flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pbar .sp{flex:1 0 0}

/* ===== catering additions ===== */
.pill.new{background:var(--amber-tint);color:#7a5600}.pill.quoted{background:var(--primary-tint);color:var(--accent-ink)}.pill.deposit{background:var(--teal-tint);color:var(--teal)}.pill.confirmed{background:var(--green-tint);color:var(--green)}.pill.lost{background:var(--ground);color:var(--muted)}.pill.over{background:var(--danger-tint);color:var(--danger)}.pill.ok{background:var(--green-tint);color:var(--green)}.pill.warn{background:var(--amber-tint);color:#7a5600}
.tagc.src{background:#FFF4E6;color:var(--accent-ink)}
.btn.accent{background:var(--accent);color:var(--ink);font-weight:700}
.chip.on,.seg button.on,.avatar{background:var(--primary)}
.cap{height:8px;border-radius:4px;background:var(--ground);overflow:hidden;min-width:40px}.cap i{display:block;height:100%;background:var(--green);border-radius:4px}.cap.mid i{background:var(--accent)}.cap.hi i{background:#E0A100}.cap.full i{background:var(--danger)}
.cap.lg{height:12px;border-radius:6px}
.mgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.mday{min-width:0;overflow:hidden}.card{min-width:0}
.mgrid .dh{font-size:11px;font-weight:600;color:var(--muted);text-align:center;padding:2px 0}
.mday{min-height:78px;border-radius:10px;border:1px solid var(--line);background:var(--surface);padding:6px;display:flex;flex-direction:column;gap:4px;text-align:left;position:relative}
.mday:hover{border-color:var(--accent)}.mday.sel{border:2px solid var(--primary);padding:5px}.mday.today{background:#FFF7ED}.mday.empty{visibility:hidden}.mday.over{border-color:var(--danger);background:var(--danger-tint)}
.mday b{font-family:var(--display);font-size:13px}.mday small{font-size:11px;color:var(--muted);line-height:1.2}.mday .n{font-family:var(--mono);font-size:11px}
.kan{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:12px;overflow:auto;padding-bottom:6px}
.kcol{background:#E8EDF2;border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:200px}
.kcol>h3{font-family:var(--display);font-size:13px;display:flex;justify-content:space-between;align-items:center;padding:2px 4px}
.lcard{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:11px;display:flex;flex-direction:column;gap:6px;text-align:left;width:100%}
.lcard:hover{border-color:var(--accent)}.lcard b{font-weight:600}
.lcard .row small{color:var(--muted)}
.kv{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid var(--line)}.kv:first-child{border-top:0}.kv span{color:var(--muted)}
.kv.tot{font-weight:700;font-size:16px}
.stepper{display:flex;align-items:center;gap:8px}.stepper button{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;font-weight:700;font-size:18px}
.stepper input{width:80px;height:36px;border:1px solid var(--line);border-radius:10px;text-align:center;font-weight:600;background:var(--surface)}
.task{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);width:100%;text-align:left}
.task[aria-checked=true]{background:var(--green-tint);border-color:var(--green)}.task[aria-checked=true] .tt{text-decoration:line-through;color:var(--muted)}
.task .cb{margin-top:1px}[aria-checked=true]>.cb{background:var(--green);border-color:var(--green)}
.task .tt{font-weight:500}.task small{display:block;color:var(--muted)}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.bar2{display:flex;align-items:center;gap:10px}.bar2 .hbar{flex:1}.bar2 span{min-width:96px;font-size:13px}.bar2 b{font-family:var(--mono);font-weight:500;font-size:12px;min-width:84px;text-align:right}
.rota{display:grid;grid-template-columns:130px repeat(7,minmax(70px,1fr));gap:4px;font-size:12px;min-width:640px}
.rota div{padding:8px 6px;border-radius:8px;background:var(--surface);border:1px solid var(--line);min-height:40px}.rota .rh{background:none;border:0;font-weight:600;color:var(--muted)}.rota .rn{font-weight:600}
.rota .busy{background:var(--primary-tint);border-color:#FDBA74;font-weight:500}.rota .off{background:var(--ground);color:var(--muted)}
.ph-mini{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.ph-mini .dh{font-size:10px;text-align:center;color:var(--muted)}
.pday{aspect-ratio:1;border-radius:8px;display:grid;place-items:center;font-size:12px;font-weight:600;border:1px solid transparent}
.pday.av{background:var(--green-tint);color:var(--green)}.pday.li{background:var(--amber-tint);color:#7a5600}.pday.fu{background:var(--danger-tint);color:var(--danger);text-decoration:line-through}.pday.sel{border:2px solid var(--primary)}.pday.empty{visibility:hidden}.pday.past{background:var(--ground);color:var(--muted)}
/* public site */
.hero{border-radius:16px;padding:22px 18px;background:linear-gradient(135deg,#7C2D12,#C2410C 55%,#F97316);color:#fff;display:flex;flex-direction:column;gap:10px}
.hero h2{font-family:var(--display);font-weight:800;font-size:25px;letter-spacing:-.02em;line-height:1.1}.hero p{opacity:.95}
.hero .btn{background:#fff;color:#7C2D12}
.pkc{border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px;background:var(--surface);text-align:left}
.pkc.on{border:2px solid var(--primary);padding:13px;background:#FFF7ED}.pkc .pp{font-family:var(--display);font-weight:800;font-size:22px;color:var(--primary)}
.pkc ul{padding-left:18px;color:var(--muted);font-size:13px}
.ph-sec{display:flex;flex-direction:column;gap:10px}.ph-sec>h3{font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.01em}
.gal{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.gal i{aspect-ratio:1;border-radius:10px;background:repeating-linear-gradient(45deg,#FFEDD5,#FFEDD5 8px,#FED7AA 8px,#FED7AA 16px);display:grid;place-items:center;font-style:normal;font-size:10px;color:#9A3412;text-align:center;padding:4px}
.res{background:#FFF7ED;border:1px solid #FDBA74;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}
.res .big{color:var(--primary)}
.addon{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px;width:100%;background:var(--surface);text-align:left}
.addon[aria-checked=true]{border:2px solid var(--primary);padding:9px;background:#FFF7ED}
.stickyq{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line);padding:10px 0 0}
.finput{height:44px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:var(--surface);width:100%}
.finput:focus{outline:0;border:2px solid var(--primary);padding:0 11px}
.err{color:var(--danger);font-size:12px}
/* login */
.rolecard{display:flex;gap:14px;align-items:center;padding:16px;border-radius:14px;background:var(--surface);border:1px solid var(--line);width:100%;text-align:left}
.rolecard:hover{border-color:var(--accent)}.rolecard b{font-family:var(--display);font-size:16px}.rolecard small{color:var(--muted);display:block}
/* kitchen phone view */
#c-kitchen{background:#e8dccf;align-items:flex-start;justify-content:center;overflow:auto;padding:12px 0}
#c-kitchen .phone{height:min(790px,calc(100vh - 44px - 30px))}
.kt{display:flex;gap:6px}.kt button{flex:1;padding:10px 4px;border-radius:10px;border:1px solid var(--line);text-align:center;font-weight:600;font-size:13px}.kt button.on{background:var(--primary);color:#fff;border-color:var(--primary)}
.phasehd{font-family:var(--display);font-weight:800;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-ink);margin-top:6px}
.sample{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--accent-ink);background:#FFEDD5;border-radius:6px;padding:1px 6px;text-transform:uppercase;vertical-align:middle}
.skip{position:absolute;left:-999px}
@media (max-width:860px){
  .kan{grid-template-columns:repeat(5,230px)}
  .mday{min-height:52px;padding:4px}.mday small{display:none}.mday b{font-size:12px}
  .rota{grid-template-columns:100px repeat(7,64px)}
  .bar2 span{min-width:70px}
  .nv.on{background:var(--accent)}
  .cols>.side2{width:auto}
}
@media (max-width:480px){
  #c-kitchen{padding:0;align-items:stretch}#c-kitchen .phone{width:100%;height:auto;flex:1;min-height:0;border-radius:0;box-shadow:none}
  .pcap{display:none}
}

@media (max-width:480px){.mgrid{gap:3px}.mday .n{font-size:10px}.card{padding:12px}}

/* ===== CaterDesk demo upgrade ===== */
:root{--brand:#EA580C;--cream:#FFF7EE;--wink:#1E130C}
.btn.wa{background:#25D366;color:#073b1a;font-weight:700}
.brand i.bmark{background:none;width:38px;height:38px}.brand i.bmark svg{width:38px;height:38px;border-radius:10px}
.brand small{color:#9fb0c4}
.nv.on{background:var(--brand);color:#fff}
.login-wait{display:grid;place-items:center;width:100%}
/* dashboard polish */
.top{min-height:76px}
.stat{box-shadow:0 1px 2px rgba(14,26,43,.04)}
.card{box-shadow:0 1px 2px rgba(14,26,43,.04)}
.mcard{background:linear-gradient(180deg,#FFF7EE,var(--surface) 60%);border-color:#FBD3B4}
.mgrid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mgrid3>div{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column}.mgrid3 small{color:var(--muted);font-size:11px}.mgrid3 b{font-family:var(--display);font-size:18px;letter-spacing:-.02em}
.owe{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line);width:100%;text-align:left}.owe:hover b{color:var(--primary)}
.io{display:flex;flex-direction:column;gap:10px}.io-r{display:grid;grid-template-columns:110px 1fr 130px;gap:12px;align-items:center}.io-b{height:14px;border-radius:7px;background:var(--ground);overflow:hidden}.io-b i{display:block;height:100%;border-radius:7px}.io-r b{text-align:right}
table.lines{min-width:600px}table.lines td{padding:8px 8px;vertical-align:middle}table.lines .input{height:40px;padding:0 10px}table.lines .input select{max-width:100%}table.lines input.r{text-align:right}
.sticky-sum{position:sticky;top:0}
.kwrap{max-width:880px;width:100%;display:flex;flex-direction:column;gap:12px}
.kwrap .kt{max-width:520px}
/* A4 document */
.a4{background:#fff;width:100%;max-width:794px;margin:0 auto;padding:48px 52px;border-radius:6px;box-shadow:0 1px 3px rgba(14,26,43,.1),0 18px 40px -20px rgba(14,26,43,.35);display:flex;flex-direction:column;gap:22px;color:#111827}
.doc-hd{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:20px;border-bottom:2px solid #111827}
.doc-logo{width:64px;height:64px;border-radius:12px;border:1.5px dashed #cbd5e1;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;color:#64748b}.doc-logo b{font-family:var(--display);font-size:20px;color:var(--primary)}.doc-logo small{font-size:9px}
.doc-biz{font-family:var(--display);font-size:18px;font-weight:800}.doc-hd small{color:#4b5563;font-size:12px}
.doc-ttl{text-align:right;display:flex;flex-direction:column;gap:2px;font-size:13px}.doc-ttl h2{font-family:var(--display);font-weight:800;font-size:30px;letter-spacing:-.02em;text-transform:uppercase;color:var(--primary)}.doc-ttl span{color:#6b7280}
.doc-to{display:flex;flex-direction:column;gap:2px}.doc-to small{text-transform:uppercase;letter-spacing:.06em;font-size:11px;color:#6b7280;font-weight:600}.doc-to b{font-size:16px}
.doc-t{min-width:0;width:100%}.doc-t th{background:#f3f4f6;color:#374151}.doc-t td{border-top:1px solid #e5e7eb;padding:10px 16px}.doc-t .doc-tot td{font-weight:700;font-size:15px;border-top:2px solid #111827}
.doc-sum{align-self:flex-end;width:min(340px,100%)}.doc-sum .kv{border-color:#e5e7eb}.doc-sum .kv.tot span{color:#111827}.doc-bal{background:#FFF7ED;padding:8px 10px!important;border-radius:8px;border:0!important;margin-top:4px}.doc-bal b{color:var(--primary)}
.doc-big{display:flex;flex-direction:column;background:#FFF7ED;border-radius:12px;padding:16px 20px}.doc-big small{color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:11px}.doc-big b{font-family:var(--display);font-size:36px;letter-spacing:-.02em;color:var(--primary)}
.doc-note{color:#4b5563;font-size:13px}
.doc-ft{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;border-top:1px solid #e5e7eb;padding-top:16px;margin-top:auto}
.doc-bank{display:flex;flex-direction:column;gap:2px;font-size:12px;color:#4b5563;border:1px dashed #cbd5e1;border-radius:10px;padding:10px 12px;max-width:360px}.doc-bank b{color:#111827}
.doc-by{display:flex;align-items:center;gap:6px;font-size:11px;color:#6b7280}.doc-by svg{width:18px;height:18px;border-radius:5px}
@media print{
  @page{size:A4;margin:12mm}
  body,html{height:auto!important;background:#fff!important}
  .pbar,.side,.top,.tabs,.banner,#demo-pill,#demo-login,.toast,.scrim{display:none!important}
  .app,.screen.active,.main,.content{position:static!important;display:block!important;overflow:visible!important;height:auto!important;padding:0!important;background:#fff!important}
  .screen:not(.active){display:none!important}
  .a4{box-shadow:none;max-width:none;padding:0;border-radius:0}
  .doc-big,.doc-bal,.doc-t th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ===== public website ===== */
html:has(#p-site.active),body:has(#p-site.active){height:auto;background:#fff}
.app:has(#p-site.active){position:static}
#p-site.active{display:block;position:static;background:#fff;padding:0;overflow:visible}
body:not(.demo-public) #p-site.active{padding-top:44px}
.site{font-size:16px;line-height:1.55;color:#1f1712;background:#fff}
.site .wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.site section{scroll-margin-top:76px}
.site h1,.site h2,.site h3{font-family:var(--display);letter-spacing:-.025em;line-height:1.1;color:inherit}
.s-hd{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid #f1e4d8}
body:not(.demo-public) .s-hd{top:0}
.s-hd-in{display:flex;align-items:center;gap:24px;height:72px}
.s-logo{display:flex;align-items:center;gap:10px;text-align:left}.s-logo b{display:block;font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.02em;line-height:1.1}.s-logo small{display:block;font-size:12px;color:#8a6d5a}
.s-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(140deg,#9A3412,#EA580C);color:#fff;display:grid;place-items:center;flex:none;box-shadow:0 6px 14px -6px rgba(194,65,12,.7)}.s-mark svg{width:24px;height:24px}
.s-nav{display:flex;gap:2px;flex:1;justify-content:center}.s-nav button{padding:8px 12px;border-radius:8px;font-weight:500;font-size:15px;color:#4a3528;white-space:nowrap}.s-nav button:hover{background:#FFF1E6;color:#9A3412}
.s-hd-act{display:flex;align-items:center;gap:14px}.s-link{font-weight:600;font-size:14px;color:#8a6d5a}.s-link:hover{color:#9A3412}
.btn.s-cta,.btn.s-btn{background:linear-gradient(180deg,#F26B1D,#D9480B);color:#fff;font-weight:700;box-shadow:0 8px 18px -8px rgba(217,72,11,.8);border-radius:12px;transition:transform .15s,box-shadow .15s}
.btn.s-cta:hover,.btn.s-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px -10px rgba(217,72,11,.9)}
.btn.s-btn-o{border:1.5px solid rgba(255,255,255,.7);color:#fff;border-radius:12px;backdrop-filter:blur(4px);background:rgba(255,255,255,.08)}.btn.s-btn-o:hover{background:rgba(255,255,255,.18)}
.btn.s-btn-l{border:1.5px solid #F3C9A8;color:#9A3412;border-radius:12px;background:#fff}.btn.s-btn-l:hover{background:#FFF1E6}
.btn.s-wa{background:#25D366;color:#073b1a;font-weight:700;border-radius:12px}
.s-btn,.s-btn-o,.s-btn-l,.s-wa{height:50px;padding:0 24px;font-size:16px}
/* hero */
.s-hero{position:relative;color:#fff;overflow:hidden;background:#2a160b}
.s-hero-bg{position:absolute;inset:0;background:url(catering-hero.jpg) center 60%/cover no-repeat}
.s-hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(30,15,6,.92) 0%,rgba(30,15,6,.78) 42%,rgba(30,15,6,.25) 75%,rgba(30,15,6,.15) 100%)}
.s-hero-in{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:48px;align-items:end;padding-top:110px;padding-bottom:88px;min-height:640px}
.s-hero-txt{display:flex;flex-direction:column;gap:22px;max-width:640px}
.s-eye{font-size:13px;font-weight:600;letter-spacing:.04em;color:#FDBA74;text-transform:uppercase}
.s-hero h1{font-size:clamp(38px,5.2vw,64px);font-weight:800;letter-spacing:-.035em;line-height:1.02}
.s-hero p{font-size:19px;color:#f5e6da;max-width:560px}
.s-ctas{display:flex;gap:12px;flex-wrap:wrap}
.s-trust{display:flex;gap:36px;flex-wrap:wrap;padding-top:14px;border-top:1px solid rgba(255,255,255,.18)}.s-trust b{display:block;font-family:var(--display);font-size:26px;font-weight:800;letter-spacing:-.02em}.s-trust span{font-size:13px;color:#e8d5c6}
.s-hero-card{background:rgba(255,255,255,.96);color:#1f1712;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px;box-shadow:0 30px 60px -25px rgba(0,0,0,.6)}
.s-hero-card>.row b{font-family:var(--display);font-size:17px}
.s-sat{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid #f1e4d8;border-radius:12px;width:100%;text-align:left;transition:border-color .15s,background .15s}.s-sat:hover{border-color:#EA580C;background:#FFF7EE}.s-sat b{display:block;font-size:15px}.s-sat small{color:var(--green);font-weight:600;font-size:12px}
/* sections */
.s-sec{padding:96px 0}
.s-cream{background:var(--cream)}
.s-dark{background:var(--wink);color:#f8ece2}
.s-head{max-width:720px;margin:0 auto 44px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}
.s-head.l{text-align:left;align-items:flex-start;margin:0}
.s-head h2{font-size:clamp(30px,3.6vw,44px);font-weight:800}
.s-head p{font-size:17px;color:#6f5848}.s-dark .s-head p{color:#d9c3b2}
.s-kick{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#C2410C;background:#FFEDD5;padding:5px 12px;border-radius:999px}
.s-dark .s-kick{background:rgba(234,88,12,.18);color:#FDBA74}
.s-fine{font-size:13px;color:#8a7262;margin-top:18px;text-align:center}
.s-pk{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.s-pkc{position:relative;background:#fff;border:1px solid #f0e2d6;border-radius:20px;padding:26px 22px;display:flex;flex-direction:column;gap:10px;box-shadow:0 1px 2px rgba(60,30,10,.04),0 12px 30px -18px rgba(60,30,10,.25);transition:transform .2s,box-shadow .2s}
.s-pkc:hover{transform:translateY(-4px);box-shadow:0 24px 44px -22px rgba(60,30,10,.35)}
.s-pkc.pop{border:2px solid #EA580C;background:linear-gradient(180deg,#FFF7EE,#fff 40%)}
.s-pkc h3{font-size:24px;font-weight:800}
.s-badge{position:absolute;top:-13px;left:22px;background:#EA580C;color:#fff;font-size:12px;font-weight:700;padding:4px 12px;border-radius:999px}
.s-price{font-family:var(--display);font-weight:800;font-size:34px;letter-spacing:-.03em;color:#C2410C;display:flex;align-items:baseline;gap:6px}.s-price span{font-size:14px;font-weight:600;color:#8a7262;letter-spacing:0}
.s-pkc ul{list-style:none;display:flex;flex-direction:column;gap:6px;font-size:14px;flex:1;padding:6px 0}.s-pkc li{display:flex;gap:8px;align-items:flex-start}.s-pkc li .ic{color:#EA580C;margin-top:4px}
.s-pkc .btn{margin-top:6px;height:46px;font-size:15px}
.s-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:start}
.s-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.s-tabs button{padding:9px 16px;border-radius:999px;border:1px solid #efd9c6;background:#fff;font-weight:600;font-size:14px;color:#6f5848}.s-tabs button.on{background:#1E130C;color:#fff;border-color:#1E130C}
.s-menu{background:#fff;border-radius:20px;padding:10px 26px 22px;box-shadow:0 12px 30px -18px rgba(60,30,10,.25);border:1px solid #f0e2d6}
.s-dish{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 0;border-bottom:1px dashed #efd9c6}.s-dish b{font-size:17px;font-family:var(--display)}.s-dish span{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.s-dish i{font-style:normal;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:#FFF1E6;color:#9A3412}
.s-menu .s-fine{text-align:left}
.s-calc{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px;align-items:start}
.s-calc-in{display:flex;flex-direction:column;gap:20px;background:#fff;border:1px solid #f0e2d6;border-radius:20px;padding:28px}
.site .lbl{font-size:14px;font-weight:600;color:#4a3528}
.site .finput{height:50px;border-radius:12px;font-size:16px;border-color:#e8d6c7}
.site .finput:focus{border-color:#EA580C}
.s-seg{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.s-seg button{border:1px solid #e8d6c7;border-radius:12px;padding:10px;text-align:center;display:flex;flex-direction:column;gap:2px}.s-seg button small{color:#8a7262;font-family:var(--mono);font-size:12px}.s-seg button.on{border:2px solid #EA580C;background:#FFF7EE;padding:9px}.s-seg button.on b{color:#C2410C}
.s-adds{display:grid;grid-template-columns:1fr 1fr;gap:8px}.site .addon{border-radius:12px;border-color:#e8d6c7;font-size:14px}
.s-res{position:sticky;top:96px;background:linear-gradient(160deg,#2a160b,#1E130C);color:#f8ece2;border-radius:22px;padding:28px;display:flex;flex-direction:column;gap:6px;box-shadow:0 30px 60px -30px rgba(30,15,6,.8)}
.s-res>span{color:#d9c3b2;font-size:14px}
.s-total{font-family:var(--display);font-weight:800;font-size:46px;letter-spacing:-.03em;color:#fff;margin-bottom:8px}
.s-res .kv{border-color:rgba(255,255,255,.12);font-size:14px}.s-res .kv span{color:#d9c3b2}.s-res .s-dep b{color:#FDBA74}
.s-res small{color:#bfa894;font-size:12px;margin:6px 0 10px}
.s-res .err{color:#fecaca}
.s-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.s-step{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:10px}
.s-step span{width:44px;height:44px;border-radius:12px;background:#EA580C;color:#fff;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:20px}
.s-step h3{font-size:22px;color:#fff}.s-step p{color:#d9c3b2}
.s-why{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:40px}
.s-whyc{padding:24px;border-radius:18px;border:1px solid #f0e2d6;background:#fff;display:flex;flex-direction:column;gap:8px}.s-whyc .ic{color:#EA580C;width:44px;height:44px;padding:10px;border-radius:12px;background:#FFF1E6}.s-whyc h3{font-size:18px}.s-whyc p{font-size:15px;color:#6f5848}
.s-gal{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:200px 200px;gap:14px}
.s-gal figure{border-radius:18px;overflow:hidden;position:relative;margin:0}
.s-gph{grid-row:span 2}.s-gimg{position:absolute;inset:0;background:url(catering-hero.jpg) center/cover no-repeat;transition:transform .5s}.s-gph:hover .s-gimg{transform:scale(1.04)}
.s-gph figcaption{position:absolute;left:14px;bottom:14px;background:rgba(0,0,0,.55);color:#fff;font-size:13px;padding:5px 10px;border-radius:8px}
.s-gt{padding:20px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;color:#fff}.s-gt b{font-family:var(--display);font-size:22px;letter-spacing:-.02em}.s-gt span{font-size:13px;opacity:.85}
.s-gt.t0{background:radial-gradient(120% 120% at 100% 0%,#F97316 0%,#C2410C 50%,#7C2D12 100%)}
.s-gt.t1{background:radial-gradient(120% 120% at 0% 0%,#F59E0B 0%,#B45309 60%,#78350F 100%)}
.s-gt.t2{background:radial-gradient(120% 120% at 100% 100%,#65A30D 0%,#3F6212 60%,#1A2E05 100%)}
.s-gt.t3{background:radial-gradient(120% 120% at 0% 100%,#E11D48 0%,#9F1239 60%,#4C0519 100%)}
.s-revs{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.s-rev{background:#fff;border-radius:20px;padding:26px;margin:0;display:flex;flex-direction:column;gap:14px;border:1px solid #f0e2d6;box-shadow:0 12px 30px -20px rgba(60,30,10,.3)}
.s-stars{display:flex;gap:2px;color:#F59E0B}.s-stars svg{fill:#F59E0B}
.s-rev blockquote{font-size:17px;line-height:1.5;margin:0;flex:1}
.s-rev figcaption{display:flex;flex-direction:column}.s-rev figcaption span{font-size:13px;color:#8a7262}
.s-corp{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.s-corp h2{font-size:clamp(28px,3.2vw,40px);font-weight:800;margin:14px 0 12px}.s-corp>div>p{font-size:17px;color:#6f5848}
.s-ticks{list-style:none;display:flex;flex-direction:column;gap:10px;margin-top:20px}.s-ticks li{display:flex;gap:10px;align-items:center}.s-ticks .ic{color:#fff;background:#EA580C;border-radius:50%;padding:3px;width:22px;height:22px}
.s-form{background:#fff;border:1px solid #f0e2d6;border-radius:22px;padding:28px;display:flex;flex-direction:column;gap:16px;box-shadow:0 24px 50px -30px rgba(60,30,10,.35)}
.s-form h3{font-size:22px}
.s-g2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.s-quote{background:linear-gradient(180deg,#fff,#FFF7EE)}
.s-qgrid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;align-items:start}
.s-avail{background:#fff;border:1px solid #f0e2d6;border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:14px;position:sticky;top:96px}
.s-avail h3{font-size:20px}
.s-avail .ph-mini{gap:6px}.s-avail .pday{font-size:14px;border-radius:10px}
.s-date{display:flex;align-items:center}
.site .chk{font-size:14px}
.s-contact{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.s-cc{background:#fff;border:1px solid #f0e2d6;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.s-cc .ic{color:#EA580C}.s-cc h3{font-size:18px}.s-cc p{color:#6f5848;font-size:15px;flex:1}.s-cc .btn{height:44px;font-size:15px}
.s-ft{background:var(--wink);color:#d9c3b2;padding:56px 0 24px}
.s-ft-in{display:grid;grid-template-columns:1.2fr 1.5fr 1fr;gap:40px;align-items:start}
.s-logo-ft b{color:#fff}.s-logo-ft small{color:#bfa894}
.s-ft-links{display:flex;flex-wrap:wrap;gap:6px 18px}.s-ft-links button{color:#d9c3b2;font-size:14px}.s-ft-links button:hover{color:#fff}
.s-by{display:flex;align-items:center;gap:10px;justify-self:end;font-size:13px;background:rgba(255,255,255,.06);padding:8px 14px 8px 8px;border-radius:12px}.s-by svg{width:28px;height:28px;border-radius:8px}.s-by b{color:#fff}
.s-credit{margin-top:36px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}.s-credit small{font-size:12px;color:#9c8573}
@media (max-width:1100px){
  .s-nav{display:none}
  .s-pk{grid-template-columns:1fr 1fr}.s-why{grid-template-columns:1fr 1fr}.s-contact{grid-template-columns:1fr 1fr}
}
@media (max-width:860px){
  .site .wrap{padding:0 16px}
  .s-hd-in{height:64px;gap:10px}.s-link{display:none}.s-cta{height:42px;padding:0 16px;font-size:14px}
  .s-hero-in{grid-template-columns:1fr;min-height:0;padding-top:56px;padding-bottom:40px;gap:28px}
  .s-hero p{font-size:17px}.s-trust{gap:20px}.s-trust b{font-size:22px}
  .s-sec{padding:64px 0}.s-head{margin-bottom:28px}
  .s-split,.s-calc,.s-corp,.s-qgrid{grid-template-columns:1fr;gap:24px}
  .s-res,.s-avail{position:static}
  .s-steps,.s-revs{grid-template-columns:1fr}
  .s-gal{grid-template-columns:1fr 1fr;grid-template-rows:220px 150px 150px}.s-gph{grid-column:span 2;grid-row:auto}
  .s-ft-in{grid-template-columns:1fr;gap:24px}.s-by{justify-self:start}
  .s-sec{scroll-margin-top:64px}
}
@media (max-width:560px){
  .s-pk,.s-why,.s-contact,.s-adds,.s-g2{grid-template-columns:1fr}
  .s-seg{grid-template-columns:1fr 1fr}
  .s-logo small{display:none}.s-logo b{font-size:16px}.s-mark{width:36px;height:36px}
  .s-ctas .btn{flex:1 1 100%}
  .s-calc-in,.s-form,.s-avail,.s-res{padding:18px;border-radius:18px}
  .s-total{font-size:38px}
  .s-dish{flex-direction:column;align-items:flex-start;gap:6px}.s-dish span{justify-content:flex-start}
  .a4{padding:24px 18px}.doc-ttl{text-align:left}.doc-hd{flex-direction:column}
  .io-r{grid-template-columns:80px 1fr 100px}
}
#c-kitchen{background:var(--ground);padding:0;align-items:stretch;justify-content:flex-start;overflow:hidden}
body.demo-public .scrim{inset:0}
@media (max-width:860px){#c-kitchen.active{flex-direction:column}}
@media (max-width:560px){.doc-t th,.doc-t td{padding:8px 5px;font-size:12px}.doc-t td.mono,.doc-t .mono{font-size:11px}.a4{padding:20px 12px}}

/* ===== Shop and payments ===== */
/* public shop pages behave like the public website page */
html:has(.screen.pub.active),body:has(.screen.pub.active){height:auto;background:#fff}
.app:has(.screen.pub.active){position:static}
.screen.pub.active{display:block;position:static;background:#fff;padding:0;overflow:visible}
body:not(.demo-public) .screen.pub.active{padding-top:44px}
.s-nav button.on{background:#FFF1E6;color:#9A3412;font-weight:600}
.s-shopl{display:none;align-items:center;gap:6px;height:42px;padding:0 12px;border-radius:12px;font-weight:600;font-size:14px;color:#4a3528;border:1px solid #f0e2d6;background:#fff}
.s-shopl.on,.s-shopl:hover{background:#FFF1E6;color:#9A3412;border-color:#FBD3B4}
.s-cartb{position:relative;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#4a3528;border:1px solid #f0e2d6;background:#fff;flex:none}
.s-cartb:hover{background:#FFF1E6;color:#9A3412}
.s-cartb em{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;border-radius:10px;background:#EA580C;color:#fff;font:700 11px/20px var(--body);font-style:normal;text-align:center;padding:0 5px;box-shadow:0 0 0 2px #fff}
.sh-art{display:grid;place-items:center;border-radius:14px;color:#9A3412;background:linear-gradient(150deg,#FFF4E8,#FFE2C7);flex:none}
.sh-art.c0{background:linear-gradient(150deg,#FFF1DC,#FFD9A8);color:#9A3412}
.sh-art.c1{background:linear-gradient(150deg,#FFE9DD,#FDC7A5);color:#9A3412}
.sh-art.c2{background:linear-gradient(150deg,#FDEBF0,#F8C9D6);color:#9D2449}
.sh-art.c3{background:linear-gradient(150deg,#FFF6D8,#F6DE95);color:#7A4B00}
.sh-art.c4{background:linear-gradient(150deg,#E4F6F2,#B7E6DB);color:#0F6F63}
.sh-art.c5{background:linear-gradient(150deg,#EEF1F4,#D6DEE7);color:#3A4B5F}
.sh-art.c6{background:linear-gradient(150deg,#FFE8D6,#F8B98A);color:#8A2C0A}
.sh-art.xs{width:36px;height:36px;border-radius:9px}.sh-art.sm{width:46px;height:46px;border-radius:11px}
.sh-art.lg{width:100%;aspect-ratio:4/3;border-radius:22px}
.sh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.sh-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #f0e2d6;border-radius:18px;overflow:hidden;text-align:left;transition:transform .15s,box-shadow .15s}
.sh-card:hover{transform:translateY(-2px);box-shadow:0 16px 30px -18px rgba(154,52,18,.45)}
.sh-card>.sh-art{width:100%;aspect-ratio:4/3;border-radius:0}
.sh-badge{position:absolute;top:12px;left:12px;background:#fff;color:#9A3412;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:4px 9px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.sh-badge.k{background:#1E130C;color:#FFD9B8}
.sh-cb{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px;flex:1}
.sh-cb small{font-size:12px;color:#8a6d5a;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.sh-cb b{font-family:var(--display);font-size:17px;line-height:1.25;letter-spacing:-.01em;flex:1}
.sh-cf{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}
.sh-price{font-family:var(--display);font-weight:800;font-size:19px;color:#9A3412}
.sh-av{font-size:12px;font-weight:600;color:#2E8B4F;background:#E3F3E8;padding:3px 9px;border-radius:999px}
.sh-av.mto{color:#7a5600;background:#FCEFCB}.sh-av.out{color:#BF3328;background:#F8E0DD}
.sh-head{background:var(--cream);padding:56px 0 28px;border-bottom:1px solid #f1e4d8}
.sh-head h1{font-size:44px;max-width:20ch;margin:10px 0 12px}
.sh-head p{font-size:17px;color:#6f5848;max-width:62ch}
.sh-bar{margin-top:22px;max-width:520px}
.sh-search{display:flex;align-items:center;gap:10px;height:52px;padding:0 16px;border-radius:14px;background:#fff;border:1px solid #e8d6c7;color:#8a6d5a}
.sh-search:focus-within{border:2px solid #EA580C;padding:0 15px}
.sh-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px;color:#1f1712}
.sh-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.sh-chips button{padding:9px 16px;border-radius:999px;border:1px solid #e8d6c7;background:#fff;font-weight:600;font-size:14px;color:#4a3528}
.sh-chips button.on{background:#1E130C;border-color:#1E130C;color:#fff}
.site .s-sec.sh-list,.site .s-sec.sh-pg{padding:40px 0 72px}
.sh-back{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:#9A3412;margin-bottom:18px}
.sh-pd{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.sh-pd-art{position:relative}
.sh-pd-in{display:flex;flex-direction:column;gap:14px}
.sh-pd-in h1{font-size:38px}
.sh-lead{font-size:17px;color:#6f5848}
.sh-pd-price{font-family:var(--display);font-weight:800;font-size:32px;color:#9A3412;display:flex;align-items:center;gap:10px}
.sh-vars{display:flex;gap:8px;flex-wrap:wrap}
.sh-vars button{padding:10px 16px;border-radius:12px;border:1px solid #e8d6c7;font-weight:600;background:#fff}
.sh-vars button.on{border:2px solid #EA580C;padding:9px 15px;background:#FFF1E6;color:#9A3412}
.sh-kit{display:flex;flex-direction:column;gap:4px;background:#FFF7EE;border:1px solid #f6dcc4;border-radius:14px;padding:14px 16px;font-size:15px}
.sh-kit small{color:#8a6d5a;margin-top:4px}
.site .stepper button{width:46px;height:50px;border-radius:12px;font-size:20px}
.site .stepper input{width:64px;height:50px;border-radius:12px;font-size:17px}
.btn.sh-add{height:50px;padding:0 28px;font-size:16px;flex:1;max-width:320px}
.sh-inl{color:#9A3412;font-weight:700;text-decoration:underline}
.sh-h1{font-size:36px;margin-bottom:20px}
.sh-box{background:#fff;border:1px solid #f0e2d6;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px}
.sh-box h3{font-size:20px}
.sh-empty{align-items:center;text-align:center;padding:48px 24px;color:#8a6d5a}.sh-empty h3{color:#1f1712}
.sh-cartg{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;align-items:start}
.sh-cl{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #f3e7dc}
.sh-cl .col b{font-weight:600}
.sh-amt{min-width:90px;text-align:right}
.sh-sum{background:#FFF7EE;border-radius:14px;padding:6px 14px}
.sh-sum .kv{border-color:#f3dfcc}
.sh-co{position:sticky;top:90px}
.sh-pay{display:flex;flex-direction:column;gap:8px}
.sh-pay button{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:14px;border:1px solid #e8d6c7;background:#fff;text-align:left}
.sh-pay button .ic{color:#9A3412;margin-top:2px}
.sh-pay button span{display:flex;flex-direction:column;gap:2px}.sh-pay button small{color:#8a6d5a;font-size:13px}
.sh-pay button.on{border:2px solid #EA580C;padding:13px;background:#FFF7EE}
.btn.sh-go{height:54px;font-size:17px;width:100%}
.sh-narrow{max-width:720px}
.sh-donec{align-items:flex-start}
.sh-ok{width:56px;height:56px;border-radius:50%;background:#E3F3E8;color:#2E8B4F;display:grid;place-items:center}
.sh-dl{width:100%;display:flex;flex-direction:column;border:1px solid #f0e2d6;border-radius:14px;padding:6px 16px}
.sh-dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #f3e7dc}.sh-dl>div:first-child{border-top:0}
.sh-dl .t{font-weight:700}
.sh-bank{display:flex;gap:14px;align-items:flex-start;background:#FFF7EE;border:1px dashed #e8b98f;border-radius:14px;padding:16px;width:100%;color:#4a3528}
.sh-bank>div{display:flex;flex-direction:column;gap:3px}.sh-bank .ic{color:#9A3412}
.sh-rc{display:flex;flex-direction:column;gap:2px;border:1px solid #f0e2d6;border-radius:14px;padding:14px 16px;width:100%}
.sh-rc small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#8a6d5a;font-weight:700}.sh-rc b{font-size:20px;color:#9A3412}.sh-rc span{color:#6f5848;font-size:14px}
/* dashboard */
.sh-sgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.sh-tile{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:var(--surface);border:1px solid var(--line);text-align:left}
.sh-tile:hover{border-color:var(--primary)}.sh-tile[disabled]{opacity:.45;cursor:not-allowed}
.sh-tile b{font-weight:600;font-size:13px;line-height:1.25}.sh-tile .mono{font-size:13px}
.sh-bad{border-color:#E8A79F;background:linear-gradient(180deg,#FDF1EF,var(--surface) 55%)}
.modal.wide{width:min(720px,calc(100vw - 32px))}
.input b{font-weight:600;color:var(--muted)}
.input.search{max-width:520px}
.stat b.amb{color:#9a6a00}
/* Paystack demo sheet */
#modal.psm{background:rgba(1,27,51,.55)}
.ps{width:min(400px,calc(100vw - 32px));border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(1,27,51,.35);font-family:var(--body);color:#011B33}
.ps-top{background:#011B33;color:#fff;padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.ps-top small{color:#9fb3c8;font-size:12px}.ps-top b{font-size:15px}
.ps-demo{align-self:flex-start;background:#F2A900;color:#1a1300;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.ps-amt{font-size:22px!important;font-family:var(--display)}
.ps-body{padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.ps-tabs{display:flex;gap:6px}.ps-tabs button{flex:1;padding:9px;border-radius:10px;border:1px solid #dbe3ea;font-weight:600;font-size:13px}
.ps-tabs button.on{border-color:#3BB75E;background:#ECF8F0;color:#1d7a3a}
.ps-panel p{font-size:13px;color:#4c6074}
.ps-fake{display:flex;flex-direction:column;gap:8px;margin-top:10px}.ps-fake span{height:40px;border-radius:8px;background:#F2F5F8;border:1px solid #e3e9ef}.ps-fake span.s{width:50%}
.ps-pay{height:48px;border-radius:10px;background:#3BB75E;color:#fff;font-weight:700;font-size:15px;text-align:center}
.ps-pay:hover{filter:brightness(1.05)}
.ps-cancel{text-align:center;color:#4c6074;font-weight:600;font-size:14px}
.ps-foot{display:flex;align-items:center;justify-content:center;gap:6px;color:#7b8ea2;font-size:12px}
@media (max-width:1100px){
  .s-shopl{display:inline-flex}
  .sh-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:860px){
  .sh-grid{grid-template-columns:1fr 1fr;gap:14px}
  .sh-head{padding:36px 0 22px}.sh-head h1{font-size:32px}
  .sh-pd{grid-template-columns:1fr;gap:24px}.sh-pd-in h1{font-size:30px}
  .sh-cartg{grid-template-columns:1fr}.sh-co{position:static}
  .s-hd-act{gap:8px}
}
@media (max-width:560px){
  .s-shopl span{display:none}.s-shopl{width:44px;padding:0;justify-content:center}
  .s-hd-act .s-cta{padding:0 12px;font-size:13px}
  .sh-grid{gap:10px}
  .sh-cb{padding:10px 12px 12px}.sh-cb b{font-size:15px}.sh-price{font-size:16px}.sh-cf{flex-direction:column;align-items:flex-start;gap:6px}
  .sh-badge{top:8px;left:8px;font-size:10px;padding:3px 7px}
  .sh-head h1{font-size:27px}.sh-head p{font-size:15px}
  .sh-box{padding:18px;border-radius:16px}
  .sh-cl{flex-wrap:wrap}.sh-cl .col{flex-basis:calc(100% - 60px)}.sh-cl .qty{margin-left:58px}.sh-amt{margin-left:auto}
  .sh-h1{font-size:28px}
  .sh-pd-price{font-size:26px}
}
.s-logo b,.s-link{white-space:nowrap}
.s-hd-in{gap:18px}.s-nav button{padding:8px 10px}
@media (max-width:1320px){.s-nav button{padding:8px 7px;font-size:14px}.s-hd-act{gap:10px}}
.screen.pub .site{min-height:100vh;display:flex;flex-direction:column}.screen.pub .site>.s-ft{margin-top:auto}
@media (max-width:560px){.s-shopl{display:none!important}.s-hd-in{gap:8px}}
.sh-box .s-fine,.sh-pd-in .s-fine{text-align:left;margin:0}.sh-empty .s-fine{text-align:center}
