:root{--navy:#1c2a44;--navy2:#2b3d5f;--cream:#f7f5f0;--accent:#e39a62;--accent-d:#a8551b;--ink:#1d2330;--muted:#5b6474;--line:#dcd8cf;--ok:#1f6f43;--okbg:#e5f4ea;--err:#a1262b;--errbg:#fbe9e9;--warnbg:#fff4e2;--radius:10px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--cream)}
a{color:var(--navy2);text-underline-offset:2px}
a:hover{color:var(--accent-d)}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:.5rem 1rem;z-index:10}
.skip:focus{left:.5rem}
.wrap{max-width:960px;margin:0 auto;padding:0 1rem}
.wrap.wide{max-width:1180px}
main.wrap{padding-top:1.25rem;padding-bottom:3rem;min-height:60vh}
.site-header{background:var(--navy);color:#fff}
.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding-top:.6rem;padding-bottom:.6rem}
.wordmark{display:flex;align-items:center;gap:.5rem;color:#fff;text-decoration:none;font-weight:700;font-size:1.1rem}
.wordmark:hover{color:#fff}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem .9rem;align-items:center}
.nav a,.nav .linklike{color:#e9ecf3;text-decoration:none;font-size:.95rem}
.nav a[aria-current=page]{color:#fff;border-bottom:2px solid var(--accent)}
.nav a.btn{color:var(--navy)}
.linklike{background:none;border:0;padding:0;font:inherit;cursor:pointer;text-decoration:underline}
form.inline{display:inline}
h1{font-size:1.75rem;line-height:1.2;margin:.5rem 0 1rem;color:var(--navy)}
h2{font-size:1.3rem;color:var(--navy);margin:1.6rem 0 .6rem}
h3{font-size:1.08rem;margin:.2rem 0 .4rem}
.hero{padding:1.5rem 0 1rem}
.hero h1{font-size:2rem}
.eyebrow{color:var(--accent-d);font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;margin:0}
.lede{font-size:1.15rem;color:#333c4d;max-width:40em}
.muted{color:var(--muted)} .small{font-size:.88rem}
.btn{display:inline-block;background:var(--navy);color:#fff;border:2px solid var(--navy);border-radius:var(--radius);padding:.7rem 1.1rem;font-family:inherit;font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;cursor:pointer;min-height:44px}
.btn:hover{background:var(--navy2);color:#fff}
.btn.secondary{background:transparent;color:var(--navy)}
.btn.secondary:hover{background:#ebe7dd}
.btn.accent{background:var(--accent);border-color:var(--accent);color:#1c2a44}
.btn.danger{background:#fff;color:var(--err);border-color:var(--err)}
.btn.small{padding:.4rem .75rem;min-height:36px;font-size:.9rem}
.nav .btn.small{background:var(--accent);border-color:var(--accent);color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.section{padding:.5rem 0 1rem}
.grid{display:grid;gap:1rem}
@media(min-width:720px){.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.1rem;margin:0 0 1rem}
.card > :first-child{margin-top:0}
.steps{padding-left:1.25rem} .steps li{margin:.4rem 0}
.price-card{background:#fff;border:2px solid var(--navy);border-radius:14px;padding:1.25rem;max-width:420px}
.plan{font-weight:700;margin:0;color:var(--navy)}
.price{font-size:2.2rem;font-weight:800;margin:.2rem 0;color:var(--navy)} .price span{font-size:1rem;font-weight:500;color:var(--muted)}
details{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:.7rem 1rem;margin:.5rem 0}
summary{cursor:pointer;font-weight:600}
.narrow{max-width:460px}
.stack > *{margin-bottom:1rem}
fieldset{border:1px solid var(--line);border-radius:var(--radius);padding:.75rem 1rem 0;margin:0 0 1rem;background:#fff}
legend{font-weight:700;color:var(--navy);padding:0 .3rem}
.field{margin-bottom:1rem}
.field label{display:block;font-weight:600;margin-bottom:.3rem}
.field.check{display:flex;gap:.6rem;align-items:flex-start}.field.check label{font-weight:400;margin:0}
.field.check input{width:1.3rem;height:1.3rem;margin-top:.15rem;flex:none}
input:not([type]),input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=url],input[type=file],select,textarea{width:100%;font:inherit;padding:.6rem .7rem;border:1.5px solid #b9b4a8;border-radius:8px;background:#fff;color:var(--ink);min-height:44px}
textarea{min-height:5rem}
input:focus,select:focus,textarea:focus{border-color:var(--navy)}
.hint{font-size:.88rem;color:var(--muted);margin:.25rem 0 0}
.req{color:var(--err)}
.flash{padding:.7rem 1rem;border-radius:var(--radius);font-weight:600}
.flash.ok{background:var(--okbg);color:var(--ok)}
.flash.err{background:var(--errbg);color:var(--err)}
.notes{margin:0 0 1rem}
.note{background:var(--warnbg);border-left:4px solid var(--accent);padding:.55rem .8rem;margin:.4rem 0;border-radius:6px;font-size:.93rem}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin:1rem 0}
@media(min-width:720px){.stats{grid-template-columns:repeat(5,1fr)}}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:.7rem .9rem}
.stat b{display:block;font-size:1.6rem;color:var(--navy)} .stat span{font-size:.85rem;color:var(--muted)}
.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{text-align:left;padding:.55rem .7rem;border-bottom:1px solid #ece8df;vertical-align:top}
th{background:#f0ede6;font-weight:700;color:var(--navy)}
td.num,th.num{text-align:right;white-space:nowrap}
.pill{display:inline-block;padding:.1rem .55rem;border-radius:99px;font-size:.8rem;font-weight:700;background:#e8e6e0;color:#3d4554;white-space:nowrap}
.pill-sent,.pill-confirmed,.pill-accepted,.pill-paid,.pill-google{background:var(--okbg);color:var(--ok)}
.pill-feedback,.pill-cancelled,.pill-no_show,.pill-declined{background:var(--errbg);color:var(--err)}
.pill-opened,.pill-invoiced,.pill-pending_payment,.pill-to_send{background:var(--warnbg);color:#7a4a12}
.actions{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:.5rem;margin:.5rem 0 1rem}
.slots label{display:block}
.slots input{position:absolute;opacity:0}
.slots span{display:block;text-align:center;padding:.6rem 0;border:1.5px solid var(--navy);border-radius:8px;background:#fff;font-weight:600;cursor:pointer}
.slots input:checked + span{background:var(--navy);color:#fff}
.slots input:focus-visible + span{outline:3px solid var(--accent)}
.days{display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.4rem;margin-bottom:.5rem}
.days a{flex:none;text-align:center;text-decoration:none;border:1.5px solid var(--line);background:#fff;border-radius:8px;padding:.4rem .6rem;min-width:64px;color:var(--ink)}
.days a[aria-current=date]{border-color:var(--navy);background:var(--navy);color:#fff}
.days a.closed{opacity:.45}
.days small{display:block;font-size:.75rem}
.items .item{display:grid;grid-template-columns:1fr;gap:.4rem;border-bottom:1px dashed var(--line);padding:.6rem 0}
@media(min-width:640px){.items .item{grid-template-columns:4fr 1fr 1.4fr}}
.items label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.15rem}
.totals{margin-left:auto;max-width:320px}
.totals td{border:0;padding:.2rem .4rem}
.totals tr.grand td{font-size:1.15rem;font-weight:800;border-top:2px solid var(--navy)}
.doc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem;max-width:820px}
.doc-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}
.copybox{display:flex;gap:.4rem}.copybox input{flex:1}
.drafts .card p{white-space:pre-wrap}
.site-footer{background:#ebe7dd;padding:1.25rem 0;font-size:.92rem;color:#3d4554}
.site-footer .tools a{margin-right:.8rem}
.stars{display:flex;gap:.4rem;flex-wrap:wrap}.stars label{border:1.5px solid var(--line);border-radius:8px;padding:.4rem .7rem;background:#fff;cursor:pointer}
.big-choice{display:grid;gap:1rem}
@media(min-width:640px){.big-choice{grid-template-columns:1fr 1fr}}
.big-choice .btn{display:block;text-align:center;padding:1.1rem}
@media print{
  .site-header,.site-footer,.no-print,.flash,.notes,.skip{display:none!important}
  body{background:#fff} main.wrap{padding:0} .doc{border:0;padding:0;max-width:none}
  a{color:inherit;text-decoration:none}
}
.pre{white-space:pre-wrap}
@media(max-width:480px){th,td{padding:.45rem .4rem;font-size:.88rem}.doc{padding:.9rem}}
/* ---- DeskKit round-two additions (rota, compliance, receptionist) ---- */
.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
code{background:#efece5;padding:0 .25rem;border-radius:4px;font-size:.9em}
.weeknav{margin:.5rem 0 1rem;gap:.6rem}
.rota-wrap{max-height:none}
table.rota th[scope=row]{position:sticky;left:0;background:#fff;z-index:1;min-width:7.5rem;box-shadow:1px 0 0 #ece8df}
table.rota thead th:first-child{position:sticky;left:0;z-index:2}
table.rota td{min-width:6.6rem;position:relative}
table.rota td input{min-height:40px;padding:.35rem .4rem;font-size:.92rem;padding-right:1.3rem}
table.rota td.hol{background:#eef4ff}
table.rota td.off{color:var(--muted)}
table.rota td.bad input{border-color:var(--err);background:var(--errbg)}
table.rota tr.me th,table.rota tr.me td{background:#fff7ee}
table.rota tfoot td,table.rota tfoot th{font-weight:700;background:#f7f5f0}
.grip{position:absolute;right:.55rem;top:50%;transform:translateY(-50%);cursor:grab;color:#9a9486;font-size:.9rem;user-select:none}
td.drop-target{outline:2px dashed var(--accent);outline-offset:-3px}
.palette{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.5rem 0}
.chip{border:1.5px solid var(--navy);background:#fff;border-radius:99px;padding:.35rem .75rem;font:inherit;font-size:.9rem;cursor:pointer;min-height:36px}
.chip[aria-pressed=true]{background:var(--navy);color:#fff}.chip[aria-pressed=true] .muted{color:#d6dbe6}
body.filling table.rota td input{cursor:copy}
.shift-list{list-style:none;padding:0;margin:0 0 1rem}
.shift-list li{display:flex;justify-content:space-between;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:8px;padding:.6rem .8rem;margin:.35rem 0}
.shift-list li.on{border-left:4px solid var(--accent)}
.days-pick{display:flex;flex-wrap:wrap;gap:.4rem;padding-bottom:.75rem}
.daybox{display:inline-flex;align-items:center;gap:.3rem;border:1.5px solid var(--line);border-radius:8px;padding:.35rem .6rem;background:#fff;cursor:pointer;min-height:40px}
.daybox input{width:1.1rem;height:1.1rem}
/* compliance */
.big-log{display:grid;gap:.75rem}
@media(min-width:720px){.big-log{grid-template-columns:repeat(2,1fr)}}
.temp-input{font-size:1.6rem!important;font-weight:700;text-align:center}
.status-dot{display:inline-block;width:.7rem;height:.7rem;border-radius:50%;margin-right:.35rem;vertical-align:middle;background:#bbb}
.status-dot.ok{background:var(--ok)}.status-dot.due{background:#d88b1d}.status-dot.over{background:var(--err)}
.alert-list li{margin:.3rem 0}
.check-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid #ece8df;padding:.55rem 0}
.check-row:last-child{border-bottom:0}
.report h2{page-break-after:avoid}.report table{page-break-inside:auto}.report tr{page-break-inside:avoid}
.tbad{color:var(--err);font-weight:700}
/* receptionist chat */
.chat{display:flex;flex-direction:column;height:min(70vh,640px);background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.chat.embed{height:100vh;border:0;border-radius:0}
.chat-head{background:var(--chat,var(--navy));color:#fff;padding:.7rem 1rem;font-weight:700;display:flex;justify-content:space-between;align-items:center}
.chat-log{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.55rem;background:#faf9f6}
.msg{max-width:85%;padding:.55rem .8rem;border-radius:14px;white-space:pre-wrap;word-wrap:break-word;line-height:1.4}
.msg.a{background:#fff;border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.msg.u{background:var(--chat,var(--navy));color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.msg.a a{color:var(--navy2)}
.msg.typing{color:var(--muted);font-style:italic}
.chat-form{display:flex;gap:.4rem;padding:.6rem;border-top:1px solid var(--line);background:#fff}
.chat-form input{flex:1}
.chat-lead{padding:.75rem 1rem;border-top:1px solid var(--line);background:#fffaf2}
.chat-lead .field{margin-bottom:.5rem}
.chat-foot{font-size:.75rem;color:var(--muted);text-align:center;padding:.3rem;background:#fff}
.chat-foot a{color:var(--muted)}
.convo .u{font-weight:600}.convo p{margin:.3rem 0}
body.embed-body{background:#fff}
body.embed-body main.wrap{padding:0;max-width:none;min-height:0}
@media print{.no-print{display:none!important}table.rota td input{border:0;padding:0}.grip,.palette{display:none}}
input.w-auto{width:auto}input.w-9{width:9rem}input.w-7{width:7rem}input.w-5{width:5.5rem}
.theme-navy{--chat:#1c2a44}.theme-teal{--chat:#0f6b63}.theme-plum{--chat:#5b2a6e}.theme-forest{--chat:#1f5a37}.theme-berry{--chat:#9b1d4a}.theme-charcoal{--chat:#33363d}
.snippet{width:100%;font:13px/1.4 ui-monospace,Menlo,Consolas,monospace;min-height:5.5rem}
.chat-x{background:none;border:0;color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;padding:.1rem .4rem;min-height:36px}
.lead-err:empty{display:none}
table.rota td{min-width:7.6rem}
table.rota td input{font-size:.88rem;letter-spacing:-.01em}
.chat-lead{max-height:62%;overflow-y:auto;padding:.6rem .9rem}
.chat-lead .grid.two{grid-template-columns:1fr 1fr;gap:.5rem}
.chat-lead .field{margin-bottom:.4rem}.chat-lead textarea{min-height:2.6rem}
.chat-lead p{margin:.2rem 0 .5rem}
.check-row .actions{flex-wrap:nowrap}
@media(max-width:480px){.check-row .actions{flex-wrap:wrap}.check-row input.w-9{flex:1 1 100%;width:auto}}
