:root{--c:#00A3E0;--m:#E6007E;--y:#FFD400;--line:#D9D4CA;--mute:#5E594F;}
*{box-sizing:border-box;} body{margin:0;font-family:Figtree,system-ui,sans-serif;color:#000;background:#EEECE8;}
button,input,select{font:inherit;}
.tm-demo{margin:0;padding:8px 16px;background:var(--y);font-size:14px;font-weight:600;text-align:center;} .tm-demo button{font-weight:700;background:none;border:0;text-decoration:underline;cursor:pointer;padding:0 4px;}
.tm-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:20px;height:60px;padding:0 20px;background:#000;color:#fff;}
.tm-logo{display:flex;align-items:center;gap:4px;font-weight:900;font-size:24px;letter-spacing:-.04em;color:#fff;text-decoration:none;}
.tm-logo i{width:7px;height:7px;border-radius:50%;background:var(--c);} .tm-logo i:nth-of-type(1){margin-left:6px;} .tm-logo i:nth-of-type(2){background:var(--m);} .tm-logo i:nth-of-type(3){background:var(--y);} .tm-logo i:nth-of-type(4){background:#fff;}
.tm-logo span{font-size:13px;font-weight:700;letter-spacing:0;background:#fff;color:#000;border-radius:4px;padding:2px 8px;margin-left:8px;}
.tm-tabs{display:flex;gap:4px;margin-right:auto;} .tm-tabs button{background:none;border:0;color:#CFCBC3;font-weight:700;font-size:15px;padding:8px 12px;border-radius:4px;cursor:pointer;}
.tm-tabs button[aria-selected=true]{background:#fff;color:#000;} .tm-tabs i{font-style:normal;font-weight:800;margin-left:4px;font-variant-numeric:tabular-nums;}
.tm-new{background:var(--y);color:#000;border:0;border-radius:4px;font-weight:800;padding:8px 16px;cursor:pointer;box-shadow:0 4px 0 #A88C00;transition:transform .08s,box-shadow .08s;} .tm-new:active{transform:translateY(3px);box-shadow:0 1px 0 #A88C00;}
.tm-me{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;} .tm-me b{width:28px;height:28px;border-radius:50%;background:var(--m);display:grid;place-items:center;font-weight:800;}
.tm-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:20px;align-items:start;}
.tm-src-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;} .tm-src-row button{background:#fff;border:1.5px solid #000;border-radius:4px;padding:8px 12px;font-weight:700;font-size:14px;cursor:pointer;} .tm-src-row button[aria-pressed=true]{background:#000;color:#fff;}
.tm-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px 20px;}
.tm-none{font-size:18px;font-weight:700;color:var(--mute);}
.tm-ticket{position:relative;background:#FFFEFA;padding:16px 16px 28px;box-shadow:0 10px 22px -12px rgba(40,34,24,.55);-webkit-mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% 100%/14px 100%;mask:conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50% 100%/14px 100%;}
.tm-ticket::before{content:"";position:absolute;left:50%;top:-8px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#8D8A84;box-shadow:inset 0 -2px 0 rgba(0,0,0,.3);}
.tm-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;color:var(--mute);}
.tm-src{display:inline-block;font-size:12px;font-weight:800;padding:2px 8px;border-radius:4px;background:#000;color:#fff;margin:0;} .tm-src--amazon{background:#FF9900;color:#000;} .tm-src--etsy{background:#F1641E;} .tm-src--walkin{background:var(--c);color:#000;}
.tm-pic{display:grid;place-items:center;width:100%;aspect-ratio:4/3;background:#EEECE8;border:0;border-radius:4px;overflow:hidden;cursor:pointer;padding:0;color:var(--mute);font-weight:600;} .tm-pic img{width:100%;height:100%;object-fit:cover;display:block;}
.tm-ticket h3{font-size:20px;font-weight:800;letter-spacing:-.02em;margin:12px 0 2px;} .tm-specs{font-size:14px;color:#33302B;margin:0 0 12px;line-height:1.4;}
.tm-rows{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;border-top:1.5px dashed #9B958A;padding-top:8px;} .tm-rows div{display:flex;justify-content:space-between;gap:12px;padding:2px 0;} .tm-rows dt{color:var(--mute);} .tm-rows dd{margin:0;text-align:right;overflow-wrap:anywhere;}
.tm-rows .is-soon dd{background:var(--y);padding:0 4px;font-weight:700;} .tm-rows .is-late dd{background:var(--m);color:#fff;padding:0 4px;font-weight:700;}
.tm-foot{display:flex;gap:8px;margin-top:12px;} .tm-open{flex:none;background:#fff;border:1.5px solid #000;border-radius:4px;font-weight:700;padding:8px 12px;cursor:pointer;}
.tm-done{position:relative;flex:1;overflow:hidden;background:#000;color:#fff;border:0;border-radius:4px;font-weight:800;padding:8px 12px;cursor:pointer;touch-action:none;user-select:none;-webkit-user-select:none;}
.tm-done::before{content:"";position:absolute;inset:0;background:var(--c);transform:scaleX(0);transform-origin:left;} .tm-done.is-holding::before{transform:scaleX(1);transition:transform .7s linear;} .tm-done span{position:relative;}
.tm-ticket.is-done h3,.tm-ticket.is-done .tm-specs{text-decoration:line-through;color:var(--mute);} .tm-ticket.is-done .tm-pic{opacity:.5;}
.tm-stamp{position:absolute;right:12px;top:44px;border:3px solid var(--m);color:var(--m);font-weight:900;font-size:20px;text-transform:uppercase;letter-spacing:.06em;padding:2px 12px;border-radius:4px;transform:rotate(-10deg);background:rgba(255,254,250,.85);}
.tm-side{position:sticky;top:80px;} .tm-side h2{font-size:22px;font-weight:900;letter-spacing:-.03em;margin:0 0 12px;}
#tmNoteForm{display:flex;gap:8px;margin-bottom:16px;} #tmNoteForm input{flex:1;min-width:0;height:40px;border:1.5px solid #000;border-radius:4px;padding:0 12px;background:#fff;} #tmNoteForm button{background:#000;color:#fff;border:0;border-radius:4px;font-weight:800;padding:0 16px;cursor:pointer;}
.tm-notes{display:grid;gap:12px;} .tm-note{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:12px;background:#FFF3A6;box-shadow:0 6px 12px -8px rgba(40,34,24,.6);cursor:pointer;transform:rotate(-.6deg);} .tm-note:nth-child(even){transform:rotate(.7deg);}
.tm-note--c{background:#C9ECFA;} .tm-note--m{background:#FBD0E6;} .tm-note input{width:20px;height:20px;accent-color:#000;margin:0;} .tm-note-t{font-size:15px;font-weight:600;line-height:1.35;}
.tm-note-by{grid-column:2;display:flex;align-items:center;gap:8px;font-size:12px;color:#33302B;} .tm-note-by b{width:20px;height:20px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-size:11px;}
.tm-note.is-done{opacity:.55;} .tm-note.is-done .tm-note-t{text-decoration:line-through;} .tm-hint{font-size:13px;color:var(--mute);margin:16px 0 0;}
.tm-drawer{position:fixed;top:0;right:0;bottom:0;z-index:40;width:min(480px,100vw);background:#fff;border-left:1.5px solid #000;box-shadow:-12px 0 32px -16px rgba(0,0,0,.4);padding:20px 24px 32px;overflow:auto;} .tm-drawer[hidden],.tm-modal[hidden]{display:none;}
.tm-close{float:right;background:#fff;border:1.5px solid #000;border-radius:4px;font-weight:700;padding:8px 12px;cursor:pointer;} .tm-drawer h2{font-size:28px;font-weight:900;letter-spacing:-.03em;margin:12px 0 4px;} .tm-drawer h4{font-size:15px;font-weight:800;margin:20px 0 8px;}
.tm-art{background:#EEECE8;border-radius:6px;padding:16px;display:grid;place-items:center;} .tm-art img{max-width:100%;max-height:300px;display:block;}
.tm-files{list-style:none;margin:0;padding:0;display:grid;gap:8px;} .tm-files li{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;} .tm-ext{font-size:11px;font-weight:800;background:#000;color:#fff;border-radius:4px;padding:2px 8px;min-width:40px;text-align:center;} .tm-mini{margin-left:auto;background:#fff;border:1.5px solid #000;border-radius:4px;font-size:13px;font-weight:700;padding:4px 8px;cursor:pointer;}
.tm-addr{white-space:pre-line;font-size:15px;line-height:1.45;margin:0;} .tm-label{display:flex;align-items:center;gap:8px;margin-top:12px;padding:12px;background:#F7F5F2;border-radius:4px;font-size:14px;font-weight:600;} .tm-rows--wide{margin-top:20px;font-size:13px;}
.tm-modal{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:16px;overflow:auto;}
.tm-form{background:#fff;border:1.5px solid #000;border-radius:8px;box-shadow:6px 6px 0 var(--c),12px 12px 0 var(--m);padding:24px;width:min(640px,100%);display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;} .tm-form h2{grid-column:1/-1;font-size:26px;font-weight:900;letter-spacing:-.03em;margin:0 0 4px;}
.tm-form label{display:grid;gap:4px;font-size:13px;font-weight:700;} .tm-form input,.tm-form select{height:40px;border:1.5px solid #000;border-radius:4px;padding:0 12px;background:#fff;font-weight:500;} .tm-wide{grid-column:1/-1;}
.tm-drop input{height:auto;padding:12px;border-style:dashed;} .tm-drop span{font-weight:500;color:var(--mute);} .tm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px;} .tm-actions button{border:1.5px solid #000;border-radius:4px;background:#fff;font-weight:700;padding:12px 16px;cursor:pointer;} .tm-actions .tm-save{background:#000;color:#fff;}
@media (max-width:900px){.tm-wrap{grid-template-columns:1fr;padding:12px;} .tm-side{position:static;} .tm-bar{flex-wrap:wrap;height:auto;padding:8px 12px;gap:8px;} .tm-tabs{order:3;width:100%;margin:0;overflow-x:auto;} .tm-me span,.tm-me{font-size:0;} .tm-form{grid-template-columns:1fr;}}
@media (prefers-reduced-motion:reduce){.tm-done.is-holding::before{transition:none;}}
.tm-staff-btn{background:none;border:1.5px solid #fff;color:#fff;border-radius:4px;font-weight:700;padding:8px 12px;cursor:pointer;} .tm-staff-btn[hidden],.tm-demo[hidden],.tm-gate[hidden],.tm-err[hidden]{display:none;}
.tm-err{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:80;background:#B00020;color:#fff;font-weight:700;padding:12px 16px;border-radius:4px;margin:0;max-width:calc(100vw - 32px);}
.tm-gate{position:fixed;inset:0;z-index:70;background:#EEECE8;display:grid;place-items:center;padding:16px;}
.tm-gate-card{background:#fff;border:1.5px solid #000;border-radius:8px;box-shadow:6px 6px 0 var(--c),12px 12px 0 var(--m);padding:32px;width:min(420px,100%);}
.tm-logo--dark{color:#000;margin-bottom:20px;} .tm-logo--dark i:nth-of-type(4){background:#000;} .tm-logo--dark span{background:#000;color:#fff;}
.tm-gate-card h2{font-size:26px;font-weight:900;letter-spacing:-.03em;margin:0 0 8px;} .tm-gate-card p{font-size:15px;line-height:1.5;color:#33302B;margin:0 0 16px;}
#tmGateForm{display:grid;gap:12px;} #tmGateForm[hidden]{display:none;} #tmGateForm input{height:48px;border:1.5px solid #000;border-radius:6px;padding:0 12px;font-size:16px;}
#tmGateForm button{height:52px;background:#000;color:#fff;border:0;border-radius:6px;font-weight:800;font-size:17px;cursor:pointer;box-shadow:0 6px 0 #3A3832;transition:transform .08s,box-shadow .08s;} #tmGateForm button:active{transform:translateY(5px);box-shadow:0 1px 0 #3A3832;}
.tm-gate-msg{font-weight:700;min-height:1em;margin:16px 0 0 !important;} .tm-form--one{grid-template-columns:1fr;} .tm-addfile{display:inline-block;margin:12px 0 0;} #tmStaffList li{padding:8px 0;border-bottom:1px solid var(--line);}

/* ---- vertical board: one big ticket per row, with the downloads and Done right on it ---- */
.tm-board{display:flex;flex-direction:column;gap:22px;max-width:1040px;}
.tm-ticket{display:grid;grid-template-columns:240px minmax(0,1fr) 216px;gap:24px;align-items:start;padding:22px 22px 34px;}
.tm-ticket::before{left:28px;margin-left:0;}
.tm-pic{aspect-ratio:1;position:relative;}
.tm-top{margin-bottom:8px;font-size:14px;justify-content:flex-start;gap:12px;flex-wrap:wrap;}
.tm-ticket h3{font-size:30px;font-weight:900;letter-spacing:-.03em;margin:0 0 4px;line-height:1.05;}
.tm-specs{font-size:17px;margin:0 0 14px;}
.tm-rows{font-size:15px;padding-top:10px;} .tm-rows div{justify-content:flex-start;gap:16px;padding:3px 0;} .tm-rows dt{flex:none;width:96px;} .tm-rows dd{text-align:left;}
.tm-foot{flex-direction:column;gap:8px;margin-top:0;}
.tm-foot button{width:100%;min-height:44px;font-size:15px;}
.tm-get{background:#fff;border:1.5px solid #000;border-radius:4px;font-weight:700;padding:8px 12px;cursor:pointer;text-align:left;padding-left:40px;position:relative;}
.tm-get::before{content:"";position:absolute;left:14px;top:50%;width:16px;height:16px;margin-top:-8px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5M4 20h16'/%3E%3C/svg%3E");}
.tm-get:hover:not(:disabled){background:#000;color:#fff;} .tm-get:hover:not(:disabled)::before{filter:invert(1);}
.tm-get:disabled{border-style:dashed;border-color:#9B958A;color:#6B665E;cursor:default;} .tm-get:disabled::before{opacity:.35;}
.tm-open{flex:none;text-align:center;}
.tm-tick{background:#12A150;color:#fff;border:0;border-radius:4px;font-weight:800;cursor:pointer;margin-top:8px;} .tm-tick:hover{background:#0E8743;}
.tm-tick.is-on{background:#fff;color:#000;border:1.5px solid #000;}
.tm-done{flex:none;}
.tm-check{position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,254,250,.55);} .tm-check svg{filter:drop-shadow(0 4px 8px rgba(0,0,0,.25));}
.tm-ticket.is-checked{background:#F1F8F2;} .tm-ticket.is-checked h3{color:#33302B;}
.tm-checked-by{background:#12A150;color:#fff;font-weight:800;font-size:13px;padding:3px 8px;border-radius:3px;}
.tm-stamp{right:auto;left:150px;top:30px;}
@media (max-width:1100px){.tm-ticket{grid-template-columns:180px minmax(0,1fr);} .tm-foot{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;} .tm-foot button{width:auto;flex:1 1 150px;} .tm-tick{margin-top:0;}}
@media (max-width:620px){.tm-ticket{grid-template-columns:1fr;gap:14px;padding:16px 16px 30px;} .tm-pic{aspect-ratio:16/10;} .tm-ticket h3{font-size:24px;} .tm-stamp{left:auto;right:16px;}}
.tm-filters{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin-bottom:16px;} .tm-filters .tm-src-row{margin-bottom:0;}
.tm-type{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;} .tm-type select{font:700 14px Figtree,sans-serif;border:1.5px solid #000;border-radius:4px;padding:8px 10px;background:#fff;color:#000;min-height:38px;cursor:pointer;}
.tm-src-row button{font-size:15px;padding:9px 14px;}
/* notes: urgent pinned in red, manager notes yellow, staff notes blue */
#tmNoteForm{display:flex;flex-direction:column;gap:8px;} #tmNoteForm input[type=text],#tmNoteIn{width:100%;box-sizing:border-box;}
.tm-note-go{display:flex;gap:8px;align-items:stretch;} .tm-note-go button{flex:1;}
.tm-urgent{display:flex;align-items:center;gap:6px;border:1.5px solid #C4161C;color:#C4161C;border-radius:4px;padding:0 10px;font-weight:800;font-size:14px;cursor:pointer;background:#fff;user-select:none;}
.tm-urgent input{accent-color:#C4161C;width:16px;height:16px;margin:0;} .tm-urgent:has(input:checked){background:#C4161C;color:#fff;}
.tm-notegroup{margin-top:18px;} .tm-notegroup h3{font-size:13px;font-weight:800;margin:0 0 8px;display:flex;align-items:center;gap:8px;}
.tm-notegroup h3::before{content:"";width:12px;height:12px;border-radius:2px;background:#FFE45C;border:1px solid rgba(0,0,0,.25);}
.tm-notegroup--staff h3::before{background:#BFE6F7;} .tm-notegroup--urgent h3::before{background:#C4161C;} .tm-notegroup--urgent h3{color:#C4161C;}
.tm-note.tm-note--manager{background:#FFE45C;} .tm-note.tm-note--staff{background:#CDEBF9;}
.tm-note.tm-note--urgent{background:#C4161C;color:#fff;box-shadow:0 0 0 3px #fff,0 0 0 5px #C4161C;margin:6px 4px 14px;} .tm-note.tm-note--urgent .tm-note-by,.tm-note.tm-note--urgent .tm-note-by span{color:#fff;} .tm-note.tm-note--urgent .tm-note-t{font-weight:700;font-size:16px;}
.tm-note-flag{position:absolute;right:8px;top:-9px;background:#fff;color:#C4161C;border:1.5px solid #C4161C;font-weight:900;font-size:11px;padding:2px 6px;border-radius:3px;text-transform:uppercase;letter-spacing:.05em;}
.tm-note{position:relative;}
.tm-mail{margin-top:28px;padding-top:20px;border-top:1.5px dashed #9B958A;} .tm-mail h2{font-size:18px !important;margin-bottom:6px !important;}
#tmMailForm{display:flex;gap:8px;margin-top:8px;} #tmMailForm input{flex:1;min-width:0;border:1.5px solid #000;border-radius:4px;padding:9px 10px;font:500 14px Figtree,sans-serif;} #tmMailForm input:disabled{background:#F1EFEA;border-color:#9B958A;color:#33302B;}
#tmMailForm button{background:#000;color:#fff;border:0;border-radius:4px;font-weight:800;padding:0 14px;cursor:pointer;}
.tm-mailed{font-size:13px;font-weight:600;color:#6B665E;border:1px dashed #9B958A;border-radius:3px;padding:2px 7px;} .tm-mailed.is-sent{color:#0E6B37;border:1px solid #12A150;background:#EAF7EE;}
#tmNoteForm #tmNoteIn{flex:none;height:42px;} #tmNoteForm .tm-urgent input{flex:none;height:16px;width:16px;padding:0;border:0;}
.tm-notes{display:block;} .tm-notegroup{display:grid;gap:12px;} .tm-notegroup h3{margin-bottom:0;}
.tm-paid{font-size:13px;font-weight:800;color:#0E6B37;border:1.5px solid #12A150;border-radius:3px;padding:1px 7px;} .tm-paid.is-due{background:#C4161C;border-color:#C4161C;color:#fff;}
.tm-trail{margin:10px 0 0;font:600 13px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#33302B;}
.tm-trail::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#12A150;margin-right:8px;}
.tm-trail-list{list-style:none;margin:0;padding:0;font-size:14px;} .tm-trail-list li{padding:6px 0;border-bottom:1px dashed #C9C3B8;} .tm-addr a{color:#000;}
/* walk-in sales tracker */
.tm-walk{background:#000;color:#fff;border-radius:6px;padding:18px 20px 16px;margin-bottom:20px;max-width:1040px;box-sizing:border-box;box-shadow:5px 5px 0 var(--c),10px 10px 0 var(--m);}
.tm-walk-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;} .tm-walk h2{font-size:18px;font-weight:800;margin:0;letter-spacing:-.01em;} .tm-walk h2 span{font-weight:500;color:#C9C6BF;margin-left:6px;}
.tm-walk .tm-mini{background:#fff;color:#000;}
.tm-walk-nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;} .tm-walk-nums b{display:block;font-size:34px;font-weight:900;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums;} .tm-walk-nums div:first-child b{color:var(--y);}
.tm-walk-nums span{display:block;margin-top:6px;font-size:13px;color:#C9C6BF;font-weight:600;}
.tm-walk-bar{height:14px;background:#33302B;border-radius:3px;margin-top:16px;overflow:hidden;} .tm-walk-bar i{display:block;height:100%;width:0;background:var(--y);transition:width .5s ease;} .tm-walk.is-hit .tm-walk-bar i{background:#2BD46B;}
.tm-walk .tm-hint{color:#C9C6BF;margin:10px 0 0;font-size:13px;}
.tm-goal-in{width:130px;font:900 26px Figtree,sans-serif;padding:2px 6px;border:0;border-radius:4px;}
@media (max-width:700px){.tm-walk-nums{grid-template-columns:1fr 1fr;} .tm-walk-nums b{font-size:28px;}}
@media (prefers-reduced-motion:reduce){.tm-walk-bar i{transition:none;}}
.tm-note-go{min-height:42px;} .tm-note-go button{font-size:15px;} .tm-urgent{padding:0 14px;}
.tm-nofile{color:#6B665E;font-size:14px;border:0 !important;padding:2px 0 !important;} .tm-addfile{display:inline-block;margin:8px 0 4px;}
.tm-form .tm-drop span{display:block;}
.tm-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);} .tm-form label{min-width:0;} .tm-form input[type=file]{width:100%;max-width:100%;box-sizing:border-box;}
@media (max-width:900px){.tm-form{grid-template-columns:minmax(0,1fr);}}

/* ---- board v3: cards side by side again with smaller pictures; notes in two columns ---- */
.tm-wrap{grid-template-columns:minmax(0,1fr) 470px;}
.tm-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:26px 20px;max-width:none;}
.tm-walk{max-width:none;}
.tm-ticket{display:block;padding:16px 16px 30px;}
.tm-ticket::before{left:50%;margin-left:-6px;}
.tm-pic{aspect-ratio:auto;height:132px;margin-bottom:12px;}
.tm-check svg{width:56px;height:56px;}
.tm-top{font-size:13px;gap:8px;margin-bottom:10px;}
.tm-ticket h3{font-size:22px;margin:0 0 2px;}
.tm-specs{font-size:15px;margin:0 0 10px;}
.tm-rows{font-size:13px;} .tm-rows dt{width:78px;}
.tm-foot{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;}
.tm-foot button{min-height:40px;font-size:14px;width:auto;}
.tm-get{padding-left:34px;} .tm-get::before{left:11px;width:14px;height:14px;margin-top:-7px;}
.tm-tick{margin-top:0;}
.tm-stamp{left:auto;right:12px;top:44px;}
@media (max-width:1100px){.tm-ticket{display:block;} .tm-foot{display:grid;}}
@media (max-width:1250px){.tm-wrap{grid-template-columns:minmax(0,1fr) 340px;}}
@media (max-width:900px){.tm-wrap{grid-template-columns:1fr;}}
@media (max-width:620px){.tm-pic{height:150px;aspect-ratio:auto;} .tm-ticket h3{font-size:22px;}}
.tm-notecols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start;}
.tm-notecols .tm-notegroup{margin-top:18px;} .tm-notegroup h3{font-size:14px;padding-bottom:8px;border-bottom:2px solid #000;}
.tm-notecols .tm-note{padding:10px;} .tm-notecols .tm-note-t{font-size:14px;}
@media (max-width:1250px) and (min-width:901px){.tm-notecols{grid-template-columns:1fr;}}
.tm-board .tm-pic{display:block;height:140px;} .tm-board .tm-pic img{width:100%;height:100%;object-fit:contain;} .tm-board .tm-pic>span:not(.tm-check){display:grid;place-items:center;height:100%;}

/* customer notes */
.tm-form textarea{width:100%;box-sizing:border-box;border:1.5px solid #000;border-radius:4px;padding:8px 12px;font:500 15px/1.4 Figtree,sans-serif;resize:vertical;min-height:58px;background:#fff;}
.tm-cnote{margin:10px 0 0;padding:8px 10px;background:#FFF3A6;border-left:4px solid #000;font-size:14px;line-height:1.4;} .tm-cnote b{font-weight:800;display:block;font-size:12px;margin-bottom:2px;}
.tm-cnote-full{background:#FFF3A6;border-left:4px solid #000;padding:10px 12px;}
/* dashboard */
.tm-dash[hidden],.tm-board[hidden],.tm-filters[hidden],.tm-walk[hidden]{display:none !important;}

/* compact walk-in strip: one line */
.tm-walk{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 14px;box-shadow:3px 3px 0 var(--c),6px 6px 0 var(--m);margin-bottom:18px;}
.tm-walk h2{font-size:14px;white-space:nowrap;} .tm-walk h2 span{margin-left:4px;}
.tm-walk-line{margin:0;font-size:14px;color:#D9D6CF;white-space:nowrap;} .tm-walk-line b{color:var(--y);font-size:20px;font-weight:900;letter-spacing:-.02em;} .tm-walk-line span{color:#fff;font-weight:700;} .tm-walk-line i{font-style:normal;margin:0 4px;color:#8E8A82;}
.tm-walk .tm-walk-bar{flex:1 1 120px;height:8px;margin-top:0;min-width:80px;}
.tm-walk .tm-mini{padding:4px 9px;font-size:12.5px;}
.tm-goal-in{width:92px;font-size:15px;padding:1px 4px;}
.tm-main{min-width:0;}
/* note ping */
.tm-ping{display:flex;align-items:center;gap:6px;border:1.5px solid #000;border-radius:4px;padding:0 10px;font-weight:700;font-size:13.5px;cursor:pointer;background:#fff;user-select:none;white-space:nowrap;} .tm-ping:has(input:checked){background:#000;color:#fff;}
#tmNoteForm .tm-ping input{flex:none;height:16px;width:16px;padding:0;border:0;margin:0;accent-color:#000;}
.tm-urgent{padding:0 10px;font-size:13.5px;} #tmNotePingTo{flex:none;height:40px;} #tmNotePingTo[hidden]{display:none;}
.tm-note-ping{display:block;font-size:12px;margin-top:2px;opacity:.85;overflow-wrap:anywhere;}
.tm-note-by{flex-wrap:wrap;}
.tm-board .tm-pic img.is-mock{object-fit:contain;transform:scale(1.12);}
/* tracking, right under the picture: service, then the number with its first five characters in bold */
.tm-track{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-4px 0 12px;padding:8px 10px;background:#F1EFEA;border-radius:4px;font-size:14px;}
.tm-track-c{font-weight:700;font-size:13px;white-space:nowrap;}
.tm-track-n{background:none;border:0;padding:0;cursor:copy;font:500 15px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#000;letter-spacing:.02em;overflow-wrap:anywhere;text-align:left;} .tm-track-n b{font-weight:900;font-size:16px;}
.tm-track-n.is-copied::after{content:" Copied";font:700 12px Figtree,sans-serif;color:#0E6B37;}
.tm-track-e,.tm-track-add{margin-left:auto;background:none;border:0;padding:0;font:600 13px Figtree,sans-serif;color:#33302B;text-decoration:underline;text-underline-offset:2px;cursor:pointer;} .tm-track-add{margin-left:0;font-weight:700;color:#000;}
.tm-track-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:6px;width:100%;} .tm-track-form input{min-width:0;border:1.5px solid #000;border-radius:4px;padding:6px 8px;font:500 14px Figtree,sans-serif;} .tm-track-form button{background:#000;color:#fff;border:0;border-radius:4px;font-weight:800;padding:0 12px;cursor:pointer;}
.tm-track--big{margin:0;padding:12px;}
/* new order: product dropdown, and one address block */
.tm-form [hidden]{display:none !important;}
.tm-modal{place-items:start center;} .tm-form{margin:auto;}
.tm-ship{border:1.5px solid #000;border-radius:6px;padding:12px 16px 16px;margin:4px 0 0;min-width:0;background:#FBFAF7;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px;}
.tm-ship legend{font-size:15px;font-weight:900;padding:0 8px;margin-left:-8px;}
.tm-form .tm-shipto-pick{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer;} .tm-form .tm-shipto-pick input{width:18px;height:18px;padding:0;margin:0;accent-color:#000;border:0;}
.tm-ship-lines{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;}
.tm-ship-street{grid-column:span 8;} .tm-ship-apt{grid-column:span 4;} .tm-ship-city{grid-column:span 5;} .tm-ship-state{grid-column:span 3;} .tm-ship-zip{grid-column:span 4;} .tm-ship-country{grid-column:span 6;}
.tm-form select{min-width:0;width:100%;} .tm-form input{min-width:0;width:100%;}
@media (max-width:900px){.tm-ship{grid-template-columns:minmax(0,1fr);} .tm-ship-street,.tm-ship-apt,.tm-ship-city,.tm-ship-country{grid-column:1/-1;} .tm-ship-state,.tm-ship-zip{grid-column:span 6;}}
.tm-rows dd{white-space:pre-line;}
/* notes: tag an order */
.tm-note-about{display:grid;gap:4px;font-size:12.5px;font-weight:700;} .tm-note-about select{height:38px;width:100%;min-width:0;border:1.5px solid #000;border-radius:4px;padding:0 8px;background:#fff;font-weight:500;font-size:14px;text-overflow:ellipsis;}
.tm-note-tag{grid-column:2;justify-self:start;max-width:100%;background:#000;color:#fff;border:0;border-radius:3px;padding:3px 8px;font:700 12px/1.3 Figtree,sans-serif;cursor:pointer;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tm-note-tag:hover{background:var(--m);} .tm-note-tag:disabled{background:#77726A;cursor:default;} .tm-note--urgent .tm-note-tag{background:#fff;color:#C4161C;}
.tm-onote{display:flex;gap:8px;margin-top:10px;} .tm-onote input{flex:1;min-width:0;height:38px;border:1.5px solid #000;border-radius:4px;padding:0 10px;font:500 14px Figtree,sans-serif;} .tm-onote button{background:#000;color:#fff;border:0;border-radius:4px;font-weight:800;padding:0 14px;cursor:pointer;}
.tm-trail-list li.is-done b{text-decoration:line-through;font-weight:600;}
/* dashboard: figures you click, a panel that drops open under them */
.tm-dash{--ok:#12A150;--warn:#E8A400;--bad:#C4161C;}
.tm-dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;} .tm-dash-head h2{font-size:30px;font-weight:900;letter-spacing:-.03em;margin:0;} .tm-dash-head p{margin:2px 0 0;font-size:14px;color:#55514A;}
.tm-dash-nav{display:flex;align-items:center;gap:10px;} .tm-dash-nav b{font-size:17px;min-width:150px;text-align:center;} .tm-dash-nav button{margin:0;} .tm-dash-nav button:disabled{opacity:.35;cursor:default;}
.tm-dash-group{display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap;margin:30px 0 12px;padding-bottom:8px;border-bottom:2px solid #000;} .tm-dash-group h3{font-size:17px;font-weight:900;margin:0;} .tm-dash-group p{margin:0;font-size:13.5px;color:#55514A;} .tm-dash-group .tm-mini,.tm-dash-group .tm-goal-in{margin-left:auto;}
.tm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.tm-tile{position:relative;text-align:left;background:#FFFEFA;color:#000;border:1.5px solid #000;border-radius:6px;padding:14px 16px 16px;display:flex;flex-direction:column;gap:4px;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease;}
.tm-tile:hover{transform:translate(-2px,-2px);box-shadow:3px 3px 0 var(--c),6px 6px 0 var(--m);}
.tm-tile:focus-visible,.tm-barcol:focus-visible,.tm-line:focus-visible{outline:3px solid var(--c);outline-offset:2px;}
.tm-tile b{font-size:36px;font-weight:900;letter-spacing:-.03em;line-height:1.05;font-variant-numeric:tabular-nums;} .tm-tile-l{font-size:14px;font-weight:700;padding-right:22px;} .tm-tile-s{font-size:13px;color:#55514A;}
.tm-tile-v{position:absolute;right:12px;top:13px;display:grid;transition:transform .2s ease;} .tm-tile[aria-expanded=true] .tm-tile-v{transform:rotate(180deg);}
.tm-tile.is-alert .tm-tile-s{color:var(--bad);font-weight:800;} .tm-tile.is-alert>b{color:var(--bad);} .tm-tile.is-ok>b{color:#0E6B37;}
.tm-tile[aria-expanded=true]{background:#000;color:#fff;transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--c),8px 8px 0 var(--m);} .tm-tile[aria-expanded=true]>b{color:var(--y);} .tm-tile[aria-expanded=true] .tm-tile-s{color:#D9D6CF;font-weight:500;}
/* the completion-rate tile */
.tm-tile--gauge{grid-column:span 2;flex-direction:row;align-items:center;gap:18px;padding:14px 18px;}
.tm-ring{position:relative;flex:none;width:128px;height:128px;display:grid;place-items:center;} .tm-ring svg{position:absolute;inset:0;} .tm-ring b{font-size:30px;}
.tm-ring circle{fill:none;stroke-width:13;} .tm-ring-t{stroke:#E6E2DA;} .tm-ring-v{stroke:#9B958A;stroke-linecap:butt;transition:stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1);} .tm-ring-g{stroke:#000;stroke-width:3;}
.tm-tile--gauge.is-ok .tm-ring-v{stroke:var(--ok);} .tm-tile--gauge.is-warn .tm-ring-v{stroke:var(--warn);} .tm-tile--gauge.is-alert .tm-ring-v{stroke:var(--bad);}
.tm-tile--gauge[aria-expanded=true] .tm-ring-t{stroke:#3A3833;} .tm-tile--gauge[aria-expanded=true] .tm-ring-g{stroke:#fff;} .tm-tile--gauge[aria-expanded=true] .tm-ring b{color:#fff;}
.tm-gauge-t{display:flex;flex-direction:column;gap:4px;min-width:0;} .tm-gauge-s{font-size:17px;font-weight:800;line-height:1.2;}
.tm-tile--gauge.is-ok .tm-gauge-s{color:#0E6B37;} .tm-tile--gauge.is-warn .tm-gauge-s{color:#8A6100;} .tm-tile--gauge.is-alert .tm-gauge-s{color:var(--bad);} .tm-tile--gauge[aria-expanded=true] .tm-gauge-s{color:var(--y);}
.tm-dots{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;} .tm-dots i{width:12px;height:12px;border-radius:2px;background:var(--ok);} .tm-dots i.is-alert{background:var(--bad);}
.tm-people{margin-top:14px;background:#FFFEFA;border:1.5px solid #000;border-radius:6px;padding:14px 16px;} .tm-people h4{margin:0 0 8px;font-size:15px;font-weight:800;}
.tm-person{display:grid;grid-template-columns:28px minmax(70px,130px) minmax(0,1fr) auto 52px;gap:12px;align-items:center;padding:7px 0;border-top:1px dashed #C9C3B8;font-size:14px;}
.tm-person-a{width:28px;height:28px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-size:13px;} .tm-person-n{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tm-person-bar{display:flex;gap:3px;height:16px;} .tm-person-bar i{flex:1;max-width:28px;border-radius:2px;background:var(--ok);} .tm-person-bar i.is-alert{background:var(--bad);}
.tm-person-c{color:#55514A;font-size:13px;white-space:nowrap;} .tm-person-p{font-weight:900;font-size:16px;text-align:right;font-variant-numeric:tabular-nums;} .tm-person.is-ok .tm-person-p{color:#0E6B37;} .tm-person.is-warn .tm-person-p{color:#8A6100;} .tm-person.is-alert .tm-person-p{color:var(--bad);}
.tm-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0 0;font-size:12.5px;color:#33302B;} .tm-legend span{display:inline-flex;align-items:center;gap:6px;} .tm-legend i{width:12px;height:12px;border-radius:2px;background:var(--ok);} .tm-legend .is-warn i{background:var(--warn);} .tm-legend .is-alert i{background:var(--bad);}
/* the panel that drops open */
.tm-panel{position:relative;margin-top:22px;background:#fff;border:1.5px solid #000;border-radius:6px;padding:18px 20px 16px;}
.tm-panel::before{content:"";position:absolute;top:-9px;left:var(--notch,60px);width:16px;height:16px;margin-left:-8px;background:#fff;border-left:1.5px solid #000;border-top:1.5px solid #000;transform:rotate(45deg);}
.tm-panel.is-opening{animation:tmDrop .28s cubic-bezier(.2,.7,.2,1);} @keyframes tmDrop{from{opacity:0;transform:translateY(-12px);}to{opacity:1;transform:none;}}
.tm-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;} .tm-panel-head h3{margin:0;font-size:22px;font-weight:900;letter-spacing:-.02em;} .tm-panel-head p{margin:4px 0 0;font-size:14px;color:#33302B;max-width:62ch;} .tm-panel-head .tm-mini{margin:0;flex:none;}
.tm-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:14px 0 0;border:1.5px solid #000;border-radius:4px;background:#FBFAF7;overflow:hidden;} .tm-facts div{padding:10px 14px;box-shadow:-1px 0 0 #C9C3B8,0 -1px 0 #C9C3B8;} .tm-facts dt{font-size:12.5px;font-weight:700;color:#55514A;} .tm-facts dd{margin:2px 0 0;font-size:20px;font-weight:900;font-variant-numeric:tabular-nums;} .tm-facts .is-alert dd{color:var(--bad);} .tm-facts .is-ok dd{color:#0E6B37;}
.tm-chart-h,.tm-lines-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 8px;} .tm-chart-h h4,.tm-lines-h h4{margin:0;font-size:15px;font-weight:800;} .tm-chart-h span{font-size:12.5px;color:#55514A;} .tm-lines-h .tm-mini{margin:0;}
.tm-bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px;height:210px;}
.tm-barcol{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit;}
.tm-barcol-v{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;} .tm-barcol-l{font-size:12.5px;font-weight:700;white-space:nowrap;padding:1px 8px;border-radius:3px;}
.tm-barcol-t{position:relative;flex:1;width:100%;max-width:88px;display:flex;align-items:flex-end;background:#F1EFEA;border-radius:3px 3px 0 0;transition:background .15s;} .tm-barcol:hover .tm-barcol-t{background:#E4E0D8;}
.tm-barcol-t i{display:block;width:100%;background:#000;border-radius:3px 3px 0 0;transition:height .55s cubic-bezier(.2,.8,.2,1),background .3s;}
.tm-barcol.is-on .tm-barcol-t i{background:var(--m);} .tm-barcol.is-ok .tm-barcol-t i{background:var(--ok);} .tm-barcol.is-warn .tm-barcol-t i{background:var(--warn);} .tm-barcol.is-alert .tm-barcol-t i{background:var(--bad);}
.tm-barcol.is-on .tm-barcol-l{background:#000;color:#fff;}
.tm-barcol-goal{position:absolute;left:-6px;right:-6px;border-top:2px dashed #000;pointer-events:none;} .tm-barcol-goal em{position:absolute;left:6px;top:4px;font-style:normal;font-size:11.5px;font-weight:800;background:#fff;padding:0 4px;white-space:nowrap;}
.tm-lines{border-top:1.5px solid #000;} .tm-lines-none{margin:0;padding:18px 4px;font-weight:700;color:#55514A;}
.tm-line{display:grid;grid-template-columns:48px minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.2fr);gap:4px 14px;align-items:center;width:100%;text-align:left;background:none;border:0;border-bottom:1px dashed #C9C3B8;padding:9px 6px;cursor:pointer;font:inherit;color:inherit;} .tm-line.has-amt{grid-template-columns:48px minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.2fr) 84px;}
.tm-line:hover{background:#FFF8CF;} .tm-line img,.tm-line-x{width:48px;height:48px;object-fit:contain;background:#F1EFEA;border-radius:4px;display:block;}
.tm-line-a,.tm-line-b,.tm-line-c{display:flex;flex-direction:column;gap:2px;min-width:0;} .tm-line-a b{font-size:15px;font-weight:800;} .tm-line-a span,.tm-line-b span{font-size:13px;color:#55514A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tm-line-b .tm-line-ref{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#000;font-size:12.5px;}
.tm-line-c{align-items:flex-end;gap:5px;} .tm-line-when{font-size:13px;font-weight:700;text-align:right;} .tm-line-when.is-late{color:var(--bad);} .tm-line-when.is-ok{color:#0E6B37;}
.tm-line-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;} .tm-line-chips .tm-paid{font-size:12px;} .tm-chip{font-size:12px;font-weight:700;border:1.5px dashed #77726A;border-radius:3px;padding:1px 6px;color:#33302B;}
.tm-line-amt{text-align:right;font-weight:900;font-size:15px;font-variant-numeric:tabular-nums;} .tm-line-amt.is-none{font-weight:600;font-size:13px;color:#77726A;}
.tm-lines-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;} .tm-lines-f .tm-mini{margin:0;} .tm-lines-total{margin:0 6px 0 auto;font-size:15px;} .tm-lines-total b{font-size:18px;font-weight:900;margin-left:8px;}
@media (max-width:1180px){.tm-tiles{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:700px){.tm-tile b{font-size:28px;} .tm-tile--gauge{flex-direction:column;align-items:flex-start;} .tm-bars{gap:6px;height:180px;} .tm-barcol-l{font-size:10.5px;padding:1px 3px;} .tm-barcol-v{font-size:11px;}
  .tm-line,.tm-line.has-amt{grid-template-columns:48px minmax(0,1fr);} .tm-line-b,.tm-line-c,.tm-line-amt{grid-column:2;align-items:flex-start;text-align:left;} .tm-line-chips{justify-content:flex-start;} .tm-line-when{text-align:left;}
  .tm-person{grid-template-columns:28px minmax(0,1fr) 52px;} .tm-person-bar,.tm-person-c{grid-column:2/-1;} .tm-dash-nav b{min-width:0;}}
@media (prefers-reduced-motion:reduce){.tm-panel.is-opening{animation:none;} .tm-barcol-t i,.tm-ring-v,.tm-tile,.tm-tile-v{transition:none;}}
/* tabs: icons and the Notes tab only show in the phone bottom bar */
.tm-tabs svg,#tmTab-notes{display:none;}
button,select,a,label{touch-action:manipulation;} .tm-done{-webkit-touch-callout:none;}
/* ---------- phones ---------- */
@media (max-width:900px){
  body{padding-bottom:calc(74px + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%;}
  .tm-demo{font-size:12.5px;padding:6px 12px;line-height:1.35;}
  .tm-bar{flex-wrap:nowrap;height:56px;padding:0 12px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));gap:10px;}
  .tm-logo{font-size:21px;margin-right:auto;} .tm-logo span{font-size:12px;padding:2px 6px;margin-left:6px;}
  .tm-new{min-height:42px;padding:8px 14px;font-size:15px;white-space:nowrap;} .tm-staff-btn{min-height:42px;white-space:nowrap;font-size:14px;padding:8px 10px;}
  .tm-logo span{display:none;}
  .tm-me{font-size:0;gap:0;} .tm-me b{font-size:14px;width:34px;height:34px;}
  /* bottom bar: big thumb-reach tabs */
  .tm-tabs{position:fixed;left:0;right:0;bottom:0;z-index:30;order:0;width:auto;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;background:#000;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #33302B;overflow:visible;}
  .tm-tabs svg,#tmTab-notes{display:block;} .tm-tabs button svg{margin:0 auto;}
  .tm-tabs button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;padding:6px 2px;font-size:11.5px;font-weight:700;line-height:1.1;border-radius:10px;color:#CFCBC3;white-space:nowrap;}
  .tm-tabs button[aria-selected=true]{background:#fff;color:#000;}
  .tm-tabs i{position:absolute;top:3px;left:calc(50% + 5px);margin:0;min-width:18px;height:18px;border-radius:9px;background:var(--y);color:#000;font-size:11px;line-height:18px;text-align:center;padding:0 4px;box-sizing:border-box;} .tm-tabs i:empty{display:none;}
  .tm-tabs .is-urgent i{background:#C4161C;color:#fff;}
  /* Notes tab: notes take the screen, the board steps aside */
  .tm-side{display:none;margin-top:0;} body.is-notes .tm-side{display:block;} body.is-notes .tm-main{display:none;}
  .tm-wrap{padding:12px;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));}
  /* every control is at least 44px tall, and text fields are 16px so the iPhone does not zoom in when you tap one */
  input,select,textarea{font-size:16px !important;}
  .tm-mini{min-height:44px;padding:8px 14px;font-size:14.5px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;}
  .tm-filters{gap:10px;} .tm-src-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;} .tm-src-row button{min-height:48px;font-size:15.5px;border-radius:6px;}
  .tm-type{width:100%;} .tm-type select{width:100%;min-height:48px;border-radius:6px;}
  .tm-walk .tm-mini{min-height:40px;padding:6px 14px;font-size:14px;}
  .tm-foot{gap:10px;} .tm-foot button{min-height:52px;font-size:15.5px;border-radius:8px;} .tm-foot .tm-tick,.tm-foot .tm-done{min-height:56px;font-size:16.5px;}
  .tm-track{padding:6px 8px 6px 12px;} .tm-track-add,.tm-track-e{min-height:44px;padding:0 10px;font-size:14.5px;} .tm-track-add{margin-left:-10px;} .tm-track-n{min-height:44px;display:inline-flex;align-items:center;flex-wrap:wrap;}
  .tm-track-form{grid-template-columns:minmax(0,1fr);} .tm-track-form input,.tm-track-form button{height:48px;}
  .tm-drawer{width:100vw;border-left:0;padding:0 16px calc(28px + env(safe-area-inset-bottom));padding-top:env(safe-area-inset-top);}
  .tm-close{float:none;position:sticky;top:0;z-index:2;display:block;width:calc(100% + 32px);margin:0 -16px 8px;min-height:52px;border:0;border-bottom:1.5px solid #000;border-radius:0;font-size:16px;font-weight:800;background:#fff;}
  .tm-files li{flex-wrap:wrap;} .tm-addfile{display:flex;margin:12px 0 0;} .tm-label{flex-wrap:wrap;} .tm-label .tm-mini{flex:1 1 100%;margin-left:0;}
  .tm-onote{flex-wrap:wrap;} .tm-onote input{flex:1 1 100%;height:48px;} .tm-onote button{flex:1;min-height:48px;font-size:15.5px;}
  /* new order: a full-screen sheet with the two buttons pinned at the bottom */
  .tm-modal{padding:0;display:block;background:#fff;} .tm-modal[hidden]{display:none;} .tm-form{width:100%;min-height:100vh;min-height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none;padding:18px 16px 0;align-content:start;gap:14px;}
  .tm-form input,.tm-form select{height:50px;border-radius:6px;} .tm-form label{font-size:14px;gap:6px;} .tm-form .tm-shipto-pick{min-height:46px;font-size:15.5px;} .tm-form .tm-shipto-pick input{width:24px;height:24px;}
  .tm-form .tm-drop input{height:auto;}
  .tm-ship{padding:10px 12px 14px;} .tm-ship-lines{gap:14px 12px;}
  .tm-actions{position:sticky;bottom:0;margin:6px -16px 0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1.5px solid #000;display:grid;grid-template-columns:1fr 2fr;gap:10px;} .tm-actions button{min-height:52px;font-size:16px;border-radius:8px;}
  .tm-form--one .tm-actions{grid-template-columns:1fr;}
  /* notes */
  #tmNoteForm #tmNoteIn{height:50px;} .tm-note-about select{height:50px;border-radius:6px;} #tmNotePingTo{height:50px;}
  .tm-note-go{display:grid;grid-template-columns:1fr 1fr;gap:8px;} .tm-note-go button{grid-column:1/-1;min-height:52px;font-size:16px;border-radius:8px;} .tm-urgent,.tm-ping{min-height:48px;justify-content:center;font-size:15px;border-radius:6px;}
  #tmNoteForm .tm-urgent input,#tmNoteForm .tm-ping input{width:20px;height:20px;}
  .tm-notecols{grid-template-columns:minmax(0,1fr);} .tm-note{padding:14px;gap:6px 14px;transform:none !important;} .tm-note input{width:26px;height:26px;} .tm-note-t,.tm-notecols .tm-note-t{font-size:16px;}
  .tm-note-tag{min-height:38px;padding:6px 12px;font-size:13.5px;border-radius:6px;} .tm-note-by{font-size:13px;}
  #tmMailForm{display:grid;gap:8px;} #tmMailForm input{height:50px;} #tmMailForm button{min-height:50px;border-radius:8px;}
  /* dashboard */
  .tm-dash-head{align-items:flex-start;} .tm-dash-nav{width:100%;justify-content:space-between;} .tm-dash-nav b{flex:1;}
  .tm-dash-group .tm-mini{min-height:40px;} .tm-panel{padding:14px 12px 12px;} .tm-panel-head h3{font-size:19px;} .tm-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tm-line{padding:12px 4px;} .tm-lines-f .tm-mini{flex:1;}
  /* sign-in card */
  .tm-gate-card{width:100%;} #tmGateForm input,#tmGateForm button{height:52px;border-radius:8px;} #tmStaffList li{flex-wrap:wrap;gap:8px;} #tmStaffList .tm-mini{margin-left:0 !important;flex:1;}
}
/* several designs in one order */
.tm-pic{position:relative;} .tm-board .tm-pic>span.tm-pic-n{position:absolute;left:8px;top:8px;display:block;height:auto;background:#000;color:#fff;font-size:12.5px;font-weight:800;line-height:1.3;padding:3px 9px;border-radius:3px;}
.tm-board .tm-pic>span.tm-pic-more{position:absolute;right:8px;bottom:8px;display:flex;flex-direction:row;gap:4px;height:auto;} .tm-board .tm-pic .tm-pic-more img{width:38px;height:38px;object-fit:cover;border:2px solid #fff;border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.3);background:#fff;transform:none;}
.tm-designs{border:1.5px solid #000;border-radius:6px;padding:12px 16px 14px;margin:4px 0 0;min-width:0;background:#FBFAF7;} .tm-designs legend{font-size:15px;font-weight:900;padding:0 8px;margin-left:-8px;} .tm-designs .tm-hint{margin:10px 0 0;}
.tm-drow{display:grid;grid-template-columns:96px minmax(0,1fr) minmax(0,1fr);gap:10px 14px;align-items:start;padding:4px 0 14px;} .tm-drow+.tm-drow{border-top:1.5px dashed #9B958A;padding-top:14px;}
.tm-drow-h{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;} .tm-drow-h b{font-size:15px;font-weight:900;} .tm-drow-x{background:none;border:0;padding:6px 0 6px 12px;font:700 13px Figtree,sans-serif;text-decoration:underline;text-underline-offset:2px;cursor:pointer;color:#33302B;}
.tm-drow .tm-drop input{padding:8px;} .tm-drow-files{grid-column:1/-1;} .tm-drow-files .tm-mini{padding:2px 8px;}
.tm-designs-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;} .tm-designs-foot .tm-mini{margin:0;} #tmDesignTotal{font-weight:800;font-size:14px;}
.tm-dcard{border:1.5px solid #000;border-radius:6px;padding:12px 14px 14px;margin-top:10px;background:#FBFAF7;} .tm-dcard--one{border:0;padding:0;margin:0;background:none;}
.tm-dcard-h{display:flex;align-items:center;gap:10px;} .tm-dcard-h img,.tm-dcard-x{width:52px;height:52px;object-fit:cover;border-radius:4px;background:#E6E2DA;flex:none;} .tm-dcard-x{display:grid;place-items:center;font-weight:900;color:#55514A;} .tm-dcard-h b{font-size:17px;font-weight:900;margin-right:auto;}
.tm-dcard-q{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;} .tm-dcard-q input{width:72px;height:38px;border:1.5px solid #000;border-radius:4px;padding:0 8px;font:700 15px Figtree,sans-serif;background:#fff;} .tm-dcard-h .tm-mini{margin:0;}
.tm-dcard h5{font-size:13px;font-weight:800;margin:14px 0 6px;color:#33302B;} .tm-adddesign{display:block;margin:14px 0 0;}
@media (max-width:900px){.tm-drow{grid-template-columns:minmax(0,1fr);} .tm-drow-q input{max-width:140px;} .tm-dcard-q input{height:46px;width:84px;} .tm-adddesign{width:100%;} .tm-designs-foot .tm-mini{flex:1 1 100%;}}
/* sign-in card on the gate */
.tm-gate{overflow:auto;place-items:start center;} .tm-gate-card{margin:auto;} #tmGateSign[hidden]{display:none;}

/* locked: while the sign-in or waiting card is up, the board is not on screen at all */
body.tm-locked>:not(.tm-gate){display:none !important;}
.tm-staff-btn.has-wait{background:#fff;color:#000;}
/* designs from a website checkout: what is different about each one, and the other orders paid for at the same time */
.tm-dcard-note{display:block;font-size:13px;font-weight:600;color:#55514A;margin-top:2px;line-height:1.3;}
.tm-sib{font-size:13px;font-weight:800;color:#000;border:1.5px dashed #000;border-radius:3px;padding:1px 7px;}
.tm-sibs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;font-size:14px;} .tm-sibs .tm-mini{margin:0;}
/* small phones: the bar holds the logo, Team, + New and the avatar on one line */
.tm-staff-btn{white-space:nowrap;}
@media (max-width:480px){.tm-bar .tm-sb-x{display:none;}}
/* ---- saved messages, account menu, search, file removal, order email, carrier menu */
.tm-say{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:80;background:#0E6B37;color:#fff;font-weight:700;padding:12px 16px;border-radius:4px;margin:0;max-width:calc(100vw - 32px);} .tm-say[hidden]{display:none;}
.tm-me-wrap{position:relative;} button.tm-me{background:none;border:0;padding:4px;margin:-4px;color:inherit;font-family:inherit;cursor:pointer;border-radius:4px;} button.tm-me:focus-visible{outline:2px solid #fff;outline-offset:2px;}
.tm-me-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:40;min-width:230px;max-width:calc(100vw - 24px);background:#fff;color:#000;border:1.5px solid #000;border-radius:6px;padding:14px;box-shadow:4px 4px 0 #000;} .tm-me-menu[hidden]{display:none;}
.tm-me-name{margin:0;font-weight:900;font-size:17px;} .tm-me-role{margin:2px 0 12px;font-size:13px;color:#55514A;overflow-wrap:anywhere;}
.tm-me-menu button{width:100%;min-height:44px;background:#000;color:#fff;border:0;border-radius:4px;font:800 15px Figtree,sans-serif;cursor:pointer;} .tm-me-menu button[hidden]{display:none;}
.tm-search{display:flex;gap:8px;flex:1 1 280px;min-width:0;max-width:460px;} .tm-search input{flex:1;min-width:0;height:44px;border:1.5px solid #000;border-radius:4px;padding:0 12px;font:500 15px Figtree,sans-serif;background:#fff;}
.tm-search button{border:1.5px solid #000;border-radius:4px;background:#fff;font:700 14px Figtree,sans-serif;padding:0 12px;cursor:pointer;} .tm-search button[hidden],.tm-found[hidden]{display:none;}
.tm-found{flex:1 1 100%;margin:0;font-size:14px;font-weight:600;color:#33302B;} .tm-where{font-size:13px;font-weight:800;background:#000;color:#fff;border-radius:3px;padding:1px 7px;}
.tm-rmfile{color:#8A1218;border-color:#8A1218;} .tm-rmfile.is-armed{background:#C4161C;border-color:#C4161C;color:#fff;} .tm-files li .tm-mini+.tm-mini{margin-left:6px;}
.tm-labfiles{margin:-4px 0 4px;} .tm-filehint{margin:6px 0 14px;font-size:13px;}
.tm-mailrow span{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere;} .tm-stale{color:#8A1218;font-weight:800;font-size:13.5px;} .tm-mailrow.is-stale{border-color:#C4161C;}
.tm-mini--go{background:#000;color:#fff;} .tm-mailed.is-stale{background:#C4161C;border-color:#C4161C;color:#fff;border-style:solid;}
.tm-track-form select{min-width:0;border:1.5px solid #000;border-radius:4px;padding:6px 8px;font:600 14px Figtree,sans-serif;background:#fff;height:100%;min-height:34px;} .tm-track-other{grid-column:1/-1;} .tm-track-other[hidden]{display:none;}
.tm-field-hint{display:block;font-size:12.5px;font-weight:500;color:var(--mute);margin-top:4px;line-height:1.35;}
@media (max-width:900px){.tm-search{max-width:none;flex-basis:100%;} .tm-search input{height:48px;font-size:16px;} .tm-track-form select{height:48px;font-size:16px;} .tm-rmfile{min-height:36px;}}
/* room for "Print/Ship by" on one line; long file names wrap inside their row; messages sit above the phone tab bar */
.tm-rows dt{width:104px;white-space:nowrap;} .tm-rows--wide dt{width:auto;}
.tm-files li>span:not(.tm-ext){min-width:0;overflow-wrap:anywhere;} .tm-labfiles{margin:10px 0 4px;}
.tm-mailrow{flex-wrap:wrap;} .tm-mailrow>span{flex:1 1 220px;} .tm-mailrow .tm-mini{white-space:nowrap;flex:none;}
@media (max-width:900px){.tm-say,.tm-err{bottom:calc(88px + env(safe-area-inset-bottom));width:max-content;} .tm-mailrow .tm-mini{flex:1 1 100%;}}

/* open order: quick downloads at the top, and a full Download label button beside Replace label (Nov 15) */
.tm-dquick{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px;}
.tm-dquick .tm-get{flex:1 1 150px;padding-top:11px;padding-bottom:11px;font-size:14.5px;}
.tm-dquick .tm-get--label:not(:disabled){background:#000;color:#fff;}
.tm-dquick .tm-get--label:not(:disabled)::before{filter:invert(1);}
.tm-dquick .tm-get--label:hover:not(:disabled){background:#2B2925;}
.tm-label .tm-get{margin-left:auto;}
.tm-label .tm-get + .tm-mini{margin-left:0;}
@media (max-width:640px){.tm-label .tm-get{flex:1 1 100%;margin-left:0;}}

/* notes: drag to reorder or move, and a trash (Nov 15) */
.tm-notes-h{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;}
.tm-notes-h h2{margin:0;}
.tm-trash{position:relative;display:inline-flex;align-items:center;gap:6px;background:#fff;color:#000;border:1.5px solid #000;border-radius:4px;padding:7px 10px 7px 32px;font-family:inherit;font-weight:700;font-size:13px;line-height:1;cursor:pointer;}
.tm-trash::before{content:"";position:absolute;left:10px;top:50%;width:16px;height:16px;margin-top:-8px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v5M14 11v5'/%3E%3C/svg%3E");}
.tm-trash span{min-width:18px;padding:2px 5px;border-radius:999px;background:#EDEAE4;font-size:12px;text-align:center;}
.tm-trash.has span{background:#000;color:#fff;}
.tm-trash[aria-expanded=true]{background:#000;color:#fff;} .tm-trash[aria-expanded=true]::before{filter:invert(1);} .tm-trash[aria-expanded=true] span{background:#fff;color:#000;}
body.is-notedrag .tm-trash{position:fixed;right:20px;bottom:20px;z-index:60;padding:20px 22px 20px 50px;font-size:16px;border-style:dashed;border-width:2px;box-shadow:0 14px 34px rgba(0,0,0,.3);background:#fff;color:#000;}
body.is-notedrag .tm-trash::before{left:20px;width:22px;height:22px;margin-top:-11px;filter:none;}
body.is-notedrag .tm-trash.is-over{background:#C4161C;border-color:#C4161C;border-style:solid;color:#fff;transform:scale(1.06);}
body.is-notedrag .tm-trash.is-over::before{filter:invert(1);}
.tm-trashbox{border:1.5px solid #000;border-radius:4px;background:#fff;padding:12px;margin:10px 0 4px;}
.tm-trashbox h3{font-size:14px;font-weight:800;margin:0 0 2px;}
.tm-trashbox .tm-hint{margin:0;}
.tm-trashbox ul{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px;}
.tm-trashbox li{display:grid;gap:4px;padding:10px;background:#F7F5F2;border-radius:4px;}
.tm-trash-t{font-size:14px;font-weight:600;line-height:1.35;overflow-wrap:anywhere;}
.tm-trash-by{font-size:12px;color:#55514A;}
.tm-trash-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px;}
.tm-trash-acts .tm-mini{margin:0;}
.tm-note[draggable=true]{cursor:grab;}
.tm-note.is-drag{opacity:.35;}
.tm-note.is-dropbefore::before{content:"";position:absolute;left:0;right:0;top:-9px;height:4px;border-radius:2px;background:#000;}
.tm-notegroup.is-drop{outline:2px dashed #000;outline-offset:6px;border-radius:2px;}
.tm-notegroup{position:relative;}
.tm-notegroup.is-dropend::after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:4px;border-radius:2px;background:#000;}
/* the Urgent box is always there, so nothing jumps when a drag starts */
.tm-notegroup--urgent.is-empty .tm-hint{border:1.5px dashed #C9C3B8;padding:10px 12px;border-radius:4px;margin:0;}
body.is-notedrag .tm-notegroup--urgent.is-empty .tm-hint{border-color:#C4161C;color:#C4161C;font-weight:700;}
.tm-note-tools{grid-column:1 / -1;display:flex;gap:6px;justify-content:flex-end;margin-top:2px;}
.tm-ni{width:30px;height:30px;padding:0;border:1.5px solid rgba(0,0,0,.3);border-radius:4px;background:rgba(255,255,255,.65) no-repeat center/15px;cursor:pointer;}
.tm-ni:hover,.tm-ni:focus-visible{background-color:#fff;border-color:#000;}
.tm-ni--bin{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14M10 11v5M14 11v5'/%3E%3C/svg%3E");}
.tm-ni--flag{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h12l-2 4 2 4H5'/%3E%3C/svg%3E");}
.tm-ni--flag.is-on{background-color:#fff;border-color:#C4161C;}

/* Nov 16: a new order shows at once; this chip says its artwork is still going up */
.tm-board .tm-pic>span.tm-pic-up{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:6px;height:auto;background:#000;color:#fff;font-size:12px;font-weight:700;line-height:1.3;padding:4px 9px;border-radius:3px;}
.tm-pic-up::before{content:"";width:9px;height:9px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#FFE600;animation:tmSpin .8s linear infinite;flex:none;}
@keyframes tmSpin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce){.tm-pic-up::before{animation:none;}}

/* Nov 16: buttons answer the press at once */
.tm-mini,.tm-get{transition:transform .08s ease,background-color .12s ease;}
.tm-mini:not(:disabled):active,.tm-get:not(:disabled):active{transform:translateY(1px);background:#F1EFEA;}
.tm-get.is-going,.tm-dl.is-going{background:#FFF3A6;}
.tm-dl.is-going::after,.tm-get.is-going::after{content:"";display:inline-block;width:10px;height:10px;margin-left:8px;border-radius:50%;border:2px solid rgba(0,0,0,.25);border-top-color:#000;animation:tmSpin .7s linear infinite;vertical-align:-1px;}
.tm-files li.is-up{opacity:.7;} .tm-upnote{margin-left:auto;font-size:12.5px;font-weight:700;color:#55514A;display:inline-flex;align-items:center;gap:6px;}
.tm-upnote::before{content:"";width:10px;height:10px;border-radius:50%;border:2px solid rgba(0,0,0,.25);border-top-color:#000;animation:tmSpin .7s linear infinite;}
@media (prefers-reduced-motion:reduce){.tm-mini,.tm-get{transition:none;} .tm-dl.is-going::after,.tm-get.is-going::after,.tm-upnote::before{animation:none;}}
/* a size for each design: in the new order form and on each design in an open order */
.tm-drow--sz{grid-template-columns:96px 150px minmax(0,1fr) minmax(0,1fr);}
.tm-dcard-h{flex-wrap:wrap;} .tm-dcard-s{flex:1 1 100%;order:5;} .tm-dcard-s input{flex:1;width:auto;min-width:0;font-weight:600;}
@media (max-width:900px){.tm-drow--sz{grid-template-columns:minmax(0,1fr);} .tm-drow-s input{max-width:none;}}
/* open order: mark a shipped order delivered */
.tm-track--big{flex-wrap:wrap;} .tm-track-d{flex:1 1 100%;text-align:left;background:none;border:0;border-top:1.5px dashed #9B958A;margin-top:8px;padding:10px 0 2px;font:700 13.5px Figtree,sans-serif;color:#000;text-decoration:underline;text-underline-offset:2px;cursor:pointer;} .tm-track-d.is-on{text-decoration:none;color:#0B7A3B;}

/* an empty file spot on a ticket: dashed, and a click uploads into it */
.tm-get--add{border-style:dashed;border-color:#6B665E;color:#33302B;cursor:pointer;}
.tm-get--add::before{transform:rotate(180deg);opacity:.7;}
.tm-get--add:hover:not(:disabled),.tm-get--add:focus-visible{border-style:solid;border-color:#000;background:#FFD400;color:#000;} .tm-get--add:hover:not(:disabled)::before{filter:none;opacity:1;}
.tm-dquick .tm-get--label.tm-get--add{background:#fff;color:#33302B;} .tm-dquick .tm-get--label.tm-get--add:hover{background:#FFD400;color:#000;} .tm-dquick .tm-get--label.tm-get--add::before{filter:none;}
