/* ARTech OS — the ARTech brand (cream ground, ink sidebar, signal red), built for long days at a desk and quick
   taps on the shop floor. */
:root{--bg:#f2f0eb;--paper:#fff;--ink:#1c1c1a;--ink2:#56524d;--mute:#8a847d;--line:#ddd9d2;--line2:#e9e6e0;--side:#191919;--side2:#30302e;--red:#e84b39;--red-d:#c43a2a;--red-soft:#fbe6e2;--green:#2f7a45;--green-soft:#e3f1e6;--amber:#b7791f;--amber-soft:#fbf1dc;--blue:#2b5f9e;--blue-soft:#e3ecf7;--purple:#6b4fa3;--purple-soft:#eee8f7;--r:8px;color-scheme:light}
*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;height:100%}
body{font:15px/1.5 "DM Sans",system-ui,-apple-system,Arial,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:Manrope,"DM Sans",sans-serif;letter-spacing:-.02em;margin:0;text-wrap:balance}
button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}
.tabnum{font-variant-numeric:tabular-nums}
/* layout */
.app{display:flex;min-height:100vh}
.side{position:sticky;top:0;height:100vh;width:236px;flex:none;background:var(--side);color:#ddd;display:flex;flex-direction:column;padding:22px 14px 16px;overflow-y:auto}
.brand{display:flex;flex-direction:column;color:#fff;text-decoration:none;padding:0 10px 18px}.brand strong{font:600 27px/1 Manrope,sans-serif;letter-spacing:-1.5px}.brand span{font-size:9.5px;letter-spacing:3.5px;margin-top:7px;color:#bbb}
.side-label{font-size:10px;letter-spacing:2px;color:#7c7873;margin:16px 10px 6px;text-transform:uppercase}
.nav{display:grid;gap:2px}.nav button{display:flex;align-items:center;gap:10px;border:0;background:none;text-align:left;color:#b8b4ae;padding:9px 10px;border-radius:6px;font-size:14px;min-height:38px}
.nav button:hover{background:#262624;color:#fff}.nav button.on{background:var(--side2);color:#fff}.nav button .ic{width:18px;text-align:center;opacity:.9}
.nav button .badge{margin-left:auto;background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:1px 7px;border-radius:9px}
.nav button.locked{opacity:.55}.nav button.locked::after{content:"🔒";margin-left:auto;font-size:11px}
.side-foot{margin-top:auto;padding:12px 10px 0;border-top:1px solid #333;font-size:12.5px;color:#9a958f}.side-foot b{color:#fff;font-weight:600;display:block}.side-foot button{background:none;border:0;color:#cfcac3;padding:6px 0;text-decoration:underline}
.main{flex:1;min-width:0;display:flex;flex-direction:column}
.top{position:sticky;top:0;z-index:20;height:60px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;padding:0 24px}
.top .search{flex:1;max-width:520px;position:relative}.top .search input{width:100%;height:40px;border:1px solid var(--line);border-radius:20px;padding:0 16px 0 38px;background:#f8f7f4}.top .search::before{content:"⌕";position:absolute;left:14px;top:7px;color:var(--mute);font-size:18px}
.top .search .results{position:absolute;top:44px;left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.12);max-height:420px;overflow:auto;z-index:30}
.top .search .results button{display:block;width:100%;text-align:left;border:0;background:none;padding:10px 14px;border-bottom:1px solid var(--line2)}.top .search .results button:hover{background:#f6f4f0}
.top-r{margin-left:auto;display:flex;align-items:center;gap:8px}
.icon-btn{position:relative;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center;font-size:17px}
.icon-btn .dot{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 4px}
.plan-chip{font-size:12px;border:1px solid var(--line);border-radius:14px;padding:5px 11px;background:#faf9f6;color:var(--ink2);white-space:nowrap}
.demo-chip{font-size:11.5px;color:#9c3b2f;background:var(--red-soft);border-radius:12px;padding:4px 10px;white-space:nowrap}
#menuBtn{display:none}
.view{padding:28px 28px 80px;max-width:1600px;width:100%;margin:0 auto}
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.head h1{font-size:clamp(26px,3vw,38px);font-weight:600}.head p{margin:6px 0 0;color:var(--ink2);max-width:720px}
.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--mute);font-weight:700}
/* surfaces */
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--r)}
.pad{padding:20px}.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.metric{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}.metric b{display:block;font:600 32px/1.1 Manrope,sans-serif;letter-spacing:-1px}.metric span{color:var(--ink2);font-size:13px}.metric.alert b{color:var(--red)}.metric.warn b{color:var(--amber)}
.sec-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.sec-h h2{font-size:19px;font-weight:600}
.help{font-size:13px;color:var(--ink2);line-height:1.55;background:#faf8f4;border:1px solid var(--line2);border-radius:8px;padding:10px 12px}.help b{color:var(--ink)}
.muted{color:var(--mute)}.small{font-size:13px}
/* buttons & controls (§1.8) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;border-radius:7px;border:1px solid var(--red);background:var(--red);color:#fff;font-weight:600;font-size:14px;text-decoration:none;white-space:nowrap}
.btn:hover{background:var(--red-d);border-color:var(--red-d)}.btn.ghost{background:#fff;color:var(--ink);border-color:#cbc6be}.btn.ghost:hover{background:#f6f4f0}.btn.dark{background:var(--ink);border-color:var(--ink)}.btn.sm{min-height:32px;padding:4px 11px;font-size:13px}.btn.lg{min-height:50px;font-size:16px;padding:10px 22px}
.btn:focus-visible,.nav button:focus-visible,.icon-btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.chk input:focus-visible+span{outline:3px solid #f2a99f;outline-offset:2px}
.btn[disabled]{opacity:.5;cursor:not-allowed}.btn.working,.btn.working[disabled]{opacity:1;cursor:wait}
.spin{width:16px;height:16px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;display:inline-block;flex:none}.btn.ghost .spin,.polish-btn .spin{border-color:rgba(0,0,0,.15);border-top-color:var(--ink)}
@keyframes spin{to{transform:rotate(360deg)}}
.field{display:grid;gap:6px;font-size:13px;color:var(--ink2)}.field>span{font-weight:600;color:var(--ink)}.field small{color:var(--mute)}
input[type=text],input[type=email],input[type=date],input[type=number],input[type=search],input[type=password],input[type=time],input[type=datetime-local],select,textarea{width:100%;min-height:42px;border:1px solid #cfcac2;border-radius:7px;background:#fff;padding:9px 12px}
select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2356524d' stroke-width='2'/%3E%3C/svg%3E") right 12px center/12px no-repeat;padding-right:34px}
textarea{min-height:200px;resize:vertical;line-height:1.55}textarea.short{min-height:120px}
.chk{display:inline-flex;align-items:center;gap:10px;cursor:pointer;min-height:36px;font-size:14px;color:var(--ink)}.chk input{position:absolute;opacity:0;width:1px;height:1px}
.chk span.box{width:22px;height:22px;border:2px solid #b9b3aa;border-radius:6px;background:#fff;display:grid;place-items:center;flex:none;transition:.15s}.chk input:checked+span.box{background:var(--red);border-color:var(--red)}
.chk input:checked+span.box::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}.chk:hover span.box{border-color:var(--red)}
.seg{display:inline-flex;border:1px solid #cbc6be;border-radius:8px;overflow:hidden;background:#fff}.seg button{border:0;background:none;padding:7px 14px;min-height:36px;font-size:13.5px;font-weight:600;color:var(--ink2)}.seg button+button{border-left:1px solid #e1ddd6}.seg button.on{background:var(--ink);color:#fff}
.file-btn{position:relative;overflow:hidden}.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}
/* polish */
.polish{position:relative;display:flex;justify-content:flex-end;margin-top:6px}.polish-btn{border:1px solid #d9d3ca;background:#fff;border-radius:16px;padding:4px 12px;font-size:12.5px;font-weight:600;color:var(--ink2);display:inline-flex;gap:6px;align-items:center;min-height:30px}.polish-btn:hover{border-color:var(--red);color:var(--red)}
.polish-btn.working{color:var(--ink)}
.polish-menu{position:absolute;right:0;top:34px;z-index:40;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 26px rgba(0,0,0,.14);padding:5px;display:grid;min-width:170px}.polish-menu button{border:0;background:none;text-align:left;padding:9px 12px;border-radius:6px}.polish-menu button:hover{background:#f5f2ee}
/* pills */
.pill{display:inline-flex;align-items:center;gap:5px;border-radius:12px;padding:2px 9px;font-size:12px;font-weight:600;white-space:nowrap;background:#efece6;color:var(--ink2)}
.pill.red{background:var(--red-soft);color:#a3322a}.pill.amber{background:var(--amber-soft);color:#8a5a12}.pill.green{background:var(--green-soft);color:var(--green)}.pill.blue{background:var(--blue-soft);color:var(--blue)}.pill.purple{background:var(--purple-soft);color:var(--purple)}
/* spreadsheet */
.sheet-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.sheet-tools input[type=search]{max-width:300px}.sheet-tools select{width:auto;min-width:150px}
.sheet-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:auto;max-height:calc(100vh - 230px)}
table.sheet{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:13.5px}
.sheet th{position:sticky;top:0;z-index:2;background:#f7f5f1;border-bottom:1px solid var(--line);border-right:1px solid var(--line2);padding:8px 10px;text-align:left;font-size:12px;color:var(--ink2);font-weight:700;white-space:nowrap;cursor:pointer;user-select:none}
.sheet th.stage-h{background:#f1eee8;text-align:center;min-width:92px}.sheet th .arrow{color:var(--red)}
.sheet td{border-bottom:1px solid var(--line2);border-right:1px solid var(--line2);padding:0;white-space:nowrap;max-width:280px;height:38px}
.sheet td>.cell{padding:8px 10px;overflow:hidden;text-overflow:ellipsis;min-height:38px}
.sheet td.ed{cursor:text}.sheet td.ed:hover{background:#fbfaf7}.sheet td input,.sheet td select{border:2px solid var(--red);border-radius:0;min-height:38px;height:38px;padding:6px 9px;font-size:13.5px}
.sheet td.stage{text-align:center;cursor:pointer}.sheet td.stage .cell{display:flex;justify-content:center}.sheet td.stage.done{background:#eef6ef}.sheet td.stage.now{background:#fdeee9}.sheet td.stage .d{font-size:12px;color:var(--green)}.sheet td.stage.now .d{color:#a3322a;font-weight:700}
.sheet tr:hover td{background-color:#fcfbf8}.sheet tr.late td:first-child{box-shadow:inset 4px 0 0 var(--red)}.sheet tr.risk td:first-child{box-shadow:inset 4px 0 0 var(--amber)}
.sheet td.sticky,.sheet th.sticky{position:sticky;left:0;z-index:1;background:#fff}.sheet th.sticky{z-index:3;background:#f7f5f1}
.sheet .open-link{border:0;background:none;color:var(--red);font-weight:700;padding:0;text-decoration:underline;text-underline-offset:2px}
.sheet-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 2px;font-size:13px;color:var(--ink2);flex-wrap:wrap}
.colmenu{position:absolute;z-index:40;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.14);padding:10px 14px;display:grid;gap:2px;max-height:420px;overflow:auto}
/* board */
.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:12px;overflow-x:auto;padding-bottom:10px}
.lane{background:#e9e6df;border-radius:10px;padding:10px;min-height:420px}.lane h3{font-size:14px;display:flex;justify-content:space-between;margin:2px 4px 10px}.lane.drop{outline:3px dashed var(--red);outline-offset:-3px}
.card{background:#fff;border:1px solid #d9d3ca;border-radius:8px;padding:10px 12px;margin-bottom:8px;cursor:grab;font-size:13px}.card b{font-size:13.5px}.card .row{display:flex;justify-content:space-between;gap:6px;margin-top:6px;align-items:center}.card.late{border-left:4px solid var(--red)}.card.risk{border-left:4px solid var(--amber)}
/* calendar */
.cal-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}.cal-head h2{font-size:22px;min-width:220px}
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.cal .dow{background:#f7f5f1;padding:8px;font-size:12px;font-weight:700;color:var(--ink2);border-bottom:1px solid var(--line)}
.cal .day{min-height:118px;border-right:1px solid var(--line2);border-bottom:1px solid var(--line2);padding:6px;display:flex;flex-direction:column;gap:3px}.cal .day:nth-child(7n){border-right:0}
.cal .day .n{font-size:12px;font-weight:700;color:var(--ink2);display:flex;justify-content:space-between}.cal .day.other{background:#fbfaf8}.cal .day.other .n{color:#bbb}.cal .day.today .n span{background:var(--red);color:#fff;border-radius:10px;padding:0 7px}
.cal .day.drop{background:#fdeee9}
.ev{font-size:12px;border-radius:5px;padding:2px 6px;cursor:grab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-left:3px solid}
.ev.due{background:var(--red-soft);border-color:var(--red);color:#7d261d}.ev.due.late{background:#f6cfc8}.ev.fitting{background:var(--purple-soft);border-color:var(--purple);color:#45306c}.ev.shipment{background:var(--blue-soft);border-color:var(--blue);color:#1d4473}.ev.delivery{background:var(--amber-soft);border-color:var(--amber);color:#6d460d}.ev.dayoff{background:#ecebe8;border-color:#8a847d;color:#4b4741}.ev.meeting,.ev.event{background:var(--green-soft);border-color:var(--green);color:#1f5230}
.cal .more{font-size:11.5px;color:var(--ink2);border:0;background:none;text-align:left;padding:0 4px}
.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.week .col{background:#fff;border:1px solid var(--line);border-radius:8px;min-height:420px;padding:8px;display:flex;flex-direction:column;gap:4px}.week .col h4{margin:0 0 6px;font-size:13px}.week .col.today h4{color:var(--red)}
.legend{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}
/* drawer */
.drawer-back{position:fixed;inset:0;background:rgba(20,18,16,.35);z-index:50;display:flex;justify-content:flex-end}
.drawer{width:min(860px,100%);height:100%;background:var(--bg);overflow:auto;box-shadow:-10px 0 40px rgba(0,0,0,.2);animation:slide .18s ease-out}
@keyframes slide{from{transform:translateX(40px);opacity:.4}}
.drawer-top{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line);padding:16px 22px;display:flex;align-items:flex-start;gap:12px}.drawer-top h2{font-size:24px}.drawer-body{padding:18px 22px 60px;display:grid;gap:16px}
.close-x{margin-left:auto;border:0;background:none;font-size:28px;line-height:1;color:var(--ink2);min-width:40px;min-height:40px}
.steps-bar{display:flex;gap:4px;flex-wrap:wrap}.steps-bar button{flex:1;min-width:88px;border:1px solid #d9d3ca;background:#fff;border-radius:7px;padding:8px 6px;font-size:12px;text-align:center;line-height:1.25}
.steps-bar button.done{background:var(--green-soft);border-color:#b7dcc0;color:#1f5a32}.steps-bar button.now{background:var(--red);border-color:var(--red);color:#fff;font-weight:700}.steps-bar button small{display:block;opacity:.8;font-size:11px}
.kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px 18px}.kv label{display:grid;gap:4px;font-size:12px;color:var(--mute)}.kv label>span{font-weight:600}
.timeline{list-style:none;margin:0;padding:0;font-size:13px}.timeline li{padding:7px 0;border-bottom:1px solid var(--line2);display:flex;gap:10px}.timeline li time{color:var(--mute);min-width:96px}
.prior{border:1px solid #e3d7c3;background:#fffaf0;border-radius:8px;padding:12px}
/* chat */
.chat{position:fixed;right:22px;bottom:22px;z-index:45}
.chat-fab{height:52px;border-radius:26px;padding:0 20px;background:var(--ink);color:#fff;border:0;font-weight:700;box-shadow:0 10px 28px rgba(0,0,0,.25);display:flex;align-items:center;gap:8px}
.chat-box{position:fixed;right:22px;bottom:86px;width:min(460px,calc(100vw - 32px));height:min(640px,calc(100vh - 120px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.chat-box header{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center}.chat-box header b{font-family:Manrope,sans-serif;font-size:17px}
.chat-log{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#faf9f6}
.msg{max-width:88%;padding:10px 13px;border-radius:12px;font-size:14px;line-height:1.5;white-space:pre-wrap}.msg.me{align-self:flex-end;background:var(--ink);color:#fff}.msg.ai{align-self:flex-start;background:#fff;border:1px solid var(--line)}
.msg .cite{border:0;background:var(--red-soft);color:#a3322a;border-radius:6px;padding:0 5px;font-weight:700;font-size:13px}.msg .fb{display:flex;gap:6px;margin-top:6px}.msg .fb button{border:1px solid var(--line);background:#fff;border-radius:6px;font-size:12px;padding:2px 8px}
.chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}.chat-form textarea{min-height:46px;height:46px;resize:none}
.suggest{display:flex;flex-wrap:wrap;gap:6px}.suggest button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:5px 11px;font-size:12.5px;text-align:left}
/* misc */
.list-row{display:flex;gap:12px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--line2)}.list-row:last-child{border-bottom:0}.list-row .grow{flex:1;min-width:0}
.bar-row{display:grid;grid-template-columns:190px 1fr 70px;gap:12px;align-items:center;font-size:13px;padding:4px 0}.bar{height:12px;background:#ece8e1;border-radius:6px;overflow:hidden}.bar i{display:block;height:100%;background:var(--ink)}.bar i.red{background:var(--red)}.bar i.target{background:#c7c1b8}
.brief{font-size:15.5px;line-height:1.65;white-space:pre-wrap}.brief .cite{border:0;background:var(--red-soft);color:#a3322a;border-radius:5px;padding:0 5px;font-weight:700;font-size:14px}
.empty{padding:30px;text-align:center;color:var(--mute)}
.locked-view{max-width:640px;margin:60px auto;text-align:center}.locked-view .lock{font-size:40px}
.modal-back{position:fixed;inset:0;z-index:60;background:rgba(20,18,16,.45);display:grid;place-items:center;padding:16px}
.modal{background:#fff;border-radius:12px;padding:24px;width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;position:relative;display:grid;gap:14px}.modal.wide{width:min(980px,100%)}.modal-x{position:absolute;top:10px;right:12px;border:0;background:none;font-size:26px;color:var(--ink2);width:40px;height:40px}
#toasts{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:80;display:grid;gap:8px}.toast{background:var(--ink);color:#fff;padding:11px 18px;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:14px;transition:.4s}.toast.bad{background:#9f2f22}.toast.out{opacity:0;transform:translateY(8px)}
.notif{position:absolute;right:0;top:48px;width:min(380px,92vw);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.18);max-height:480px;overflow:auto;z-index:40}.notif button.n{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line2);background:none;padding:11px 14px;font-size:13.5px}.notif button.n.unread{background:#fff6f4}.notif button.n small{display:block;color:var(--mute)}
.ticket{background:#fff;border:1px solid var(--line);padding:24px}
.plan-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:22px;display:grid;gap:10px;align-content:start}.plan-card.on{border:2px solid var(--red);box-shadow:0 10px 30px rgba(232,75,57,.12)}.plan-card .price{font:600 34px Manrope,sans-serif}.plan-card ul{margin:0;padding-left:18px;line-height:1.75}
@media print{.side,.top,.chat,.no-print,.drawer-back{display:none!important}body{background:#fff}.view{padding:0}.panel{border:0}.print-only{display:block!important}}
.print-only{display:none}
@media(max-width:1100px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.side{position:fixed;z-index:60;left:0;transform:translateX(-100%);transition:.2s;box-shadow:10px 0 30px rgba(0,0,0,.3)}.side.open{transform:none}#menuBtn{display:grid}.top{padding:0 12px}.view{padding:18px 14px 90px}.g2,.g3{grid-template-columns:1fr}.plan-chip{display:none}.bar-row{grid-template-columns:120px 1fr 50px}.week{grid-template-columns:1fr}.cal .day{min-height:76px}.cal .ev{font-size:10.5px}}
@media(max-width:560px){.g4{grid-template-columns:1fr 1fr}.demo-chip{display:none}.top .search{max-width:none}}

.view:focus{outline:none}
.cite{border:0;background:var(--red-soft);color:#a3322a;border-radius:5px;padding:0 5px;font-weight:700;font-size:.92em;font-family:inherit;cursor:pointer}
.md ul{margin:4px 0 8px;padding-left:20px}.md li{margin:2px 0}.md p{margin:0 0 8px}.md h4{margin:10px 0 4px;font:700 14px Manrope,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--ink2)}
.brief.md,.msg.md{white-space:normal}

/* The floating Ask ARTech button (52px tall, 22px from the bottom) must never cover the last line of a page. */
.view{padding-bottom:calc(52px + 22px + 40px + env(safe-area-inset-bottom,0px))}
@media(max-width:860px){.view{padding-bottom:calc(52px + 22px + 40px + env(safe-area-inset-bottom,0px))}}

/* Dictation */
.btn.on{background:#fff4f2;border-color:var(--red);color:#a3322a}
.rec-dot{width:10px;height:10px;border-radius:50%;background:var(--red);display:inline-block;animation:pulse 1s ease-in-out infinite}
@keyframes pulse{50%{opacity:.25;transform:scale(.8)}}

/* What's this page? */
.help-btn{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px 0 6px;border:1px solid var(--line);border-radius:18px;background:#fff;font-size:13px;font-weight:600;color:var(--ink2);white-space:nowrap}
.help-btn>span:first-child{width:24px;height:24px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px}
.help-btn:hover{border-color:var(--red);color:var(--red)}.help-btn:focus-visible{outline:3px solid #f2a99f;outline-offset:2px}
.tv-help{position:fixed;right:14px;bottom:14px;opacity:.35;padding:0 6px;z-index:5}.tv-help:hover{opacity:1}
.help-back{position:fixed;inset:0;z-index:70;background:rgba(20,18,16,.35);display:flex;justify-content:flex-end}
.help-panel{width:min(520px,100%);height:100%;overflow:auto;background:#fff;box-shadow:-10px 0 40px rgba(0,0,0,.2);animation:slide .18s ease-out;color:var(--ink)}
.help-top{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:16px 20px;display:flex;align-items:flex-start;gap:10px}.help-top h2{font-size:24px}
.help-body{padding:18px 20px 40px;line-height:1.6;font-size:15px}.help-purpose{font-size:17px;margin:0 0 14px}
.help-picture{background:#fff8ef;border:1px solid #f0d9b8;border-radius:10px;padding:12px 14px;margin-bottom:16px}.help-picture p{margin:4px 0 0}
.help-body h3{font-size:15px;margin:18px 0 8px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink2)}
.help-body dt{font-weight:700;margin-top:10px}.help-body dd{margin:2px 0 0}
@media(max-width:860px){.help-lbl{display:none}.help-btn{padding:0 6px}}
