/* The Hub, November 2026: one look for dropdowns, buttons, status pills and wide tables on every page.
   Loaded after style.css and navigation.css so it wins over the older per-page styles. */
:root{--ctl-h:42px;--ctl-r:10px;--ctl-line:#c9d3c4;--ctl-hover:#8fa58a;--ring:0 0 0 3px rgba(32,79,61,.16)}

/* Dropdowns: white box, clear border, readable text, a proper arrow, green when focused. */
select:not([multiple]){-webkit-appearance:none;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23204f3d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px;border:1px solid var(--ctl-line);border-radius:var(--ctl-r);color:var(--ink);font-size:var(--fs-m,15px);font-weight:500;line-height:1.2;min-height:var(--ctl-h);padding:8px 40px 8px 12px;box-shadow:0 1px 2px rgba(24,59,49,.05);cursor:pointer;transition:border-color .15s,box-shadow .15s;text-overflow:ellipsis}
select:not([multiple]):hover{border-color:var(--ctl-hover)}
select:not([multiple]):focus,select:not([multiple]):focus-visible{outline:none;border-color:var(--green);box-shadow:var(--ring)}
select:not([multiple]):disabled{background-color:#f3f5f0;color:#6b7768;cursor:not-allowed}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus,textarea:focus{outline:none;border-color:var(--green);box-shadow:var(--ring)}

/* Buttons: green for the main action, white with a border for the rest, same size everywhere. */
button.primary,a.primary,.button.primary{border-radius:var(--ctl-r);font-size:var(--fs-s,14px);font-weight:650;min-height:var(--ctl-h)}
button.secondary,a.secondary{border-radius:var(--ctl-r);font-size:var(--fs-s,14px);font-weight:600;min-height:var(--ctl-h);background:#fff;color:var(--ink);border:1px solid var(--ctl-line)}
button.secondary:hover,a.secondary:hover{border-color:var(--ctl-hover);background:#f7f9f5}
button.primary.small,button.secondary.small,.small.primary,.small.secondary{min-height:34px;font-size:13px;padding:6px 12px}

/* Status pills: the same colours on every page. */
.badge,.pill{border-radius:999px;font-size:12px;font-weight:600;padding:3px 10px;letter-spacing:0}
.badge.warn,.pill.amber{background:#fbefda;border-color:#f0d9ad;color:#7a5418}
.badge.danger,.pill.red{background:#fcebea;border-color:#f3cdc9;color:#8f2f24}
.badge.good,.pill.green{background:#e6f1e3;border-color:#cfe2ca;color:#2f5a3c}
.pill.blue{background:#e6f1fb;border-color:#c7def3;color:#0c447c}
.pill.grey{background:#f1f2ee;border-color:#e0e3dc;color:#5d6659}

/* A row of choices instead of a dropdown (status, filters). The chosen one is coloured. */
.switch{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border:1px solid var(--ctl-line);border-radius:999px;background:#fff}
.switch button{background:none;border:0;border-radius:999px;min-height:32px;padding:5px 14px;font-size:13px;font-weight:600;color:#5f6b5c;cursor:pointer;white-space:nowrap}
.switch button:hover{background:#f1f4ee;color:var(--ink)}
.switch button[aria-pressed=true]{background:var(--green);color:#fff}
.switch button[aria-pressed=true].is-open{background:#fbefda;color:#7a5418}
.switch button[aria-pressed=true].is-progress{background:#e6f1fb;color:#0c447c}
.switch button:disabled{opacity:.6}
.switch .count{font-weight:500;opacity:.75;margin-left:4px}

/* Wider pages: use the room beside the menu. */
body.hub-shell main,body main{max-width:1600px}

/* Wide tables: when they don't fit, the first column stays put and the right edge fades to show there's more. */
.x-scroll{-webkit-overflow-scrolling:touch}
.x-scroll.x-more-right{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent)}
.x-scroll.x-more-left.x-more-right{-webkit-mask-image:linear-gradient(to right,#000,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,#000,#000 calc(100% - 56px),transparent)}
.x-scroll.x-wide table th:first-child,.x-scroll.x-wide table td:first-child{position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 0 var(--line)}
.x-scroll.x-wide table thead th:first-child{background:#f7f8f4}
.x-hint{display:none;font-size:12px;color:var(--muted);margin:4px 2px 0;text-align:right}
.x-scroll.x-more-right+.x-hint{display:block}

/* Issues: one row per issue, actions on the right; stacks on phones. No sideways scrolling. */
.issue-list{border-top:1px solid var(--line)}
.issue-row{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line)}
.issue-row>div:first-child{flex:1 1 340px;min-width:0}
.issue-row>.issue-actions{flex:0 1 auto}
.issue-row>.issue-more{flex:1 1 100%}
.issue-row:hover{background:#fbfcf9}
.issue-title{margin:0;font-size:var(--fs-m,15px);font-weight:600;color:var(--ink);display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.issue-meta{margin:3px 0 0;font-size:13px;color:#667263}
.issue-meta b{font-weight:600;color:#3f5747}
.issue-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
.issue-actions .primary{width:auto;margin:0;min-width:0;padding:6px 14px;min-height:36px}
.issue-actions .icon-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--ctl-line);border-radius:var(--ctl-r);min-height:36px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--ink)}
.issue-actions .icon-btn:hover{border-color:var(--ctl-hover)}
.issue-actions .icon-btn[aria-expanded=true]{background:var(--pale);border-color:var(--green)}
.issue-more{background:#f8f9f5;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.issue-more[hidden]{display:none}
.issue-more .issue-updates p{margin:0 0 10px}
.issue-more form{display:grid;gap:8px;margin-top:6px}
.issue-more textarea{min-height:70px}
.issue-more form .secondary{justify-self:start}
.issue-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:0 22px 16px}
.issue-filters .help{margin:0;max-width:520px}
@media(max-width:760px){
 .issue-row{padding:14px 16px}
 .issue-actions{justify-content:flex-start}
 .issue-filters{padding:0 16px 14px}
 .switch{border-radius:14px}
}

/* @mentions: the pick list under the update box, and tags in updates. */
.mention-pop{position:absolute;left:0;right:0;z-index:30;margin-top:4px;background:#fff;border:1px solid var(--ctl-line,#c9d3c4);border-radius:12px;box-shadow:0 10px 30px rgba(24,59,49,.14);padding:4px;max-height:280px;overflow:auto}
.mention-pop[hidden]{display:none}
.mention-pop button{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:12px;background:none;border:0;border-radius:8px;padding:9px 12px;min-height:0;text-align:left;font-size:14px;color:var(--ink);cursor:pointer}
.mention-pop button small{color:var(--muted);font-size:12px}
.mention-pop button.on,.mention-pop button:hover{background:var(--pale,#eaf0e8)}
b.mention{color:var(--green);font-weight:650;background:#e6f1e3;border-radius:5px;padding:0 3px}

/* Locations */
.loc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.loc-card{display:block;text-decoration:none;color:inherit;padding:20px 22px;transition:border-color .15s,box-shadow .15s}
.loc-card:hover{border-color:var(--ctl-hover,#8fa58a);box-shadow:0 4px 16px rgba(24,59,49,.08)}
.loc-card h2{margin:0;font-size:var(--fs-l,18px)}
.loc-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.loc-today{margin:10px 0 6px;font-size:14px}.loc-today b{color:var(--green)}.loc-today.is-closed b{color:#8f2f24}
.loc-week{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:#5f6b5c}.loc-week b{color:var(--ink);font-weight:600}
.loc-meta{margin:10px 0 0;font-size:12px;color:var(--muted)}
.loc-fhrs{display:inline-flex;align-items:baseline;gap:1px;background:#e6f1e3;color:#2f5a3c;border-radius:10px;padding:3px 10px;font-weight:700;font-size:20px}.loc-fhrs small{font-size:12px;font-weight:600}
.loc-fhrs-row{display:flex;align-items:center;gap:12px;margin:6px 0 12px}
.loc-fhrs-act{display:flex;align-items:end;gap:10px;padding-bottom:4px}
.loc-form .card,.loc-sec{margin-bottom:16px}
.loc-hours{width:auto;border-collapse:collapse;margin:6px 0 16px}.loc-hours td,.loc-hours th{padding:6px 14px 6px 0;text-align:left;font-size:14px}.loc-hours input[type=time]{width:130px;min-height:38px;padding:6px 8px}
.loc-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}.loc-row input:not([type=checkbox]){flex:1 1 160px;width:auto;min-height:38px;padding:7px 10px}.loc-row input[type=date],.loc-row input[type=time]{flex:0 1 150px}.loc-row .check{display:flex;gap:6px;align-items:center;font-size:14px;white-space:nowrap}
.loc-bb{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:12px;background:#fbfcf9}
.loc-pw{display:flex;gap:6px;align-items:center}.loc-pw input{flex:1}
.loc-sec-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.loc-sec-head h2{margin:0}
.loc-show{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);font-weight:500}.loc-show select{width:auto}
.loc-save{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;background:var(--paper);padding:12px 0;border-top:1px solid var(--line)}.loc-save .help{margin:0;margin-right:auto}.loc-save .primary{width:auto;margin:0}
.loc-people th{font-size:11px;white-space:nowrap}.loc-people td{text-align:center}.loc-people td:first-child{text-align:left;min-width:200px}.loc-people tr.is-off{opacity:.55}
.loc-bb-view{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}.loc-bb-view:first-of-type{border-top:0}
.today-closed{background:#fcebea;color:#8f2f24;border-radius:12px;padding:12px 16px;margin:0 0 8px;font-weight:600}
.field-grid .span2{grid-column:span 2}
@media(max-width:760px){.field-grid .span2{grid-column:auto}.loc-hours input[type=time]{width:110px}}

/* Photos on issue updates */
.up-photos{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}
.up-pick{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px dashed var(--ctl-line,#c9d3c4);border-radius:10px;padding:7px 12px;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
.up-pick:hover{border-color:var(--green)}
.up-chosen{display:flex;flex-wrap:wrap;gap:6px}
.up-chip{display:inline-flex;align-items:center;gap:4px;background:var(--pale,#eaf0e8);border-radius:999px;padding:3px 4px 3px 10px;font-size:12px}
.up-chip button{background:none;border:0;min-height:0;padding:0 6px;font-size:15px;color:var(--muted);cursor:pointer}
.up-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.up-actions .primary,.up-actions .secondary{width:auto;margin:0}
.up-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.up-thumbs img{width:110px;height:110px;object-fit:cover;border-radius:10px;border:1px solid var(--line);display:block}
.up-video{display:inline-flex;align-items:center;justify-content:center;width:110px;height:110px;border-radius:10px;border:1px solid var(--line);background:#f3f5f0;font-size:13px}
.issue-branch{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);font-weight:600;margin:0}.issue-branch select{width:auto;min-width:220px}

/* Add The Hub to your phone (after staff sign in) */
.install-sheet{position:fixed;inset:auto 0 0 0;z-index:1000;padding:12px;background:linear-gradient(to top,rgba(24,59,49,.18),transparent);animation:install-up .25s ease-out}
@keyframes install-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.install-card{max-width:520px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(24,59,49,.25);padding:18px 18px 14px;display:grid;grid-template-columns:auto 1fr;gap:4px 14px}
.install-card>*:not(.install-icon):not(div:nth-child(2)){grid-column:1/-1}
.install-icon{width:56px;height:56px;border-radius:14px}
.install-card h2{margin:2px 0 4px;font-size:var(--fs-l,18px)}.install-card p{margin:0;font-size:14px;color:#55625a}
.install-steps{margin:10px 0 4px;padding-left:22px;font-size:15px;line-height:1.55}.install-steps li{margin:4px 0}
.install-ico{display:inline-flex;vertical-align:-3px;color:#0a7aff}
.install-note{font-size:12px!important;color:var(--muted)!important;margin:2px 0 8px!important}
.install-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.install-actions .primary,.install-actions .secondary{width:auto;margin:0;min-width:0}

.new-issue{margin:0 22px 18px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:#fbfcf9;display:grid;gap:8px}
.new-issue textarea{min-height:80px}
.table-header .primary.small{width:auto;margin:0}

.loc-flag{display:inline-block;background:#fbefda;color:#7a5418;border-radius:8px;padding:2px 8px;font-size:12px;font-weight:600;margin:4px 0}
.loc-row .loc-wide{flex:2 1 320px}
.field-grid .span3{grid-column:1/-1}

.loc-alerts{margin-bottom:16px}.loc-alerts h2{margin:0 0 4px}
.loc-alert{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;border:1px solid var(--line);margin-top:8px;text-decoration:none;color:var(--ink);font-size:14px}
.loc-alert span{color:#5f6b5c}.loc-alert.is-soon{background:#fbefda;border-color:#f0d9ad}.loc-alert.is-ended{background:#fcebea;border-color:#f3cdc9}.loc-alert.is-ended span{color:#8f2f24;font-weight:600}

/* Equipment register */
.eq-head-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-start}
.eq-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 16px;align-items:end;margin-bottom:16px}
.eq-filters .check{margin:0}
.eq-missing{background:#fbefda;border-color:#f0d9ad;margin-bottom:16px}
.eq-group{margin-bottom:16px}.eq-group h2{margin:0 0 6px}
.eq-row{display:flex;gap:12px;align-items:center;padding:10px 4px;border-top:1px solid var(--line);text-decoration:none;color:var(--ink)}
.eq-row:first-of-type{border-top:0}
.eq-row img,.eq-noimg{width:56px;height:56px;border-radius:10px;object-fit:cover;flex:none;background:#f0efe9;display:grid;place-items:center;font-size:24px;color:#9a9a90}
.eq-main{display:flex;flex-direction:column;gap:2px;min-width:0}.eq-main small{color:var(--muted,#6b6b63)}
.eq-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.eq-chip{display:inline-block;font-size:12px;font-weight:650;border-radius:999px;padding:2px 9px;background:#eef0ea;color:#4a5148;white-space:nowrap}
.eq-chip.ok{background:#e3f1e8;color:#17603a}.eq-chip.warn{background:#fbefda;color:#8a5a00}.eq-chip.bad{background:#fdecea;color:#b42318}.eq-chip.muted{background:#f0f0ee;color:#777}
p.warn b{color:#8a5a00}p.bad b{color:#b42318}
.eq-approve{background:#fbefda;border-color:#f0d9ad;margin-bottom:16px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.eq-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-bottom:16px}
.eq-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 16px;margin:0 0 12px}.eq-facts dt{font-size:12px;color:var(--muted,#6b6b63)}.eq-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.eq-notes{white-space:pre-wrap}
.eq-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin-bottom:10px}.eq-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}
.eq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:4px 16px}
.eq-form textarea,.eq-panel textarea{width:100%}
.eq-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.eq-panel{margin-bottom:16px;border-color:var(--accent,#2f5d46)}
.eq-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.eq-inline input{flex:1 1 180px}
.eq-docs{margin:0 0 10px;padding-left:18px}
.eq-meter{height:10px;border-radius:999px;background:#eef0ea;overflow:hidden;margin:8px 0}.eq-meter span{display:block;height:100%;background:#2f5d46}
.eq-history{list-style:none;margin:0;padding:0}.eq-history li{padding:12px 0;border-top:1px solid var(--line)}.eq-history li:first-child{border-top:0}
.eq-history p{margin:4px 0}.eq-when{display:inline-block;min-width:110px;color:var(--muted,#6b6b63);font-size:13px}

.ty-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.ty-row:first-of-type{border-top:0}.ty-row.is-hidden{opacity:.6}
.ty-edit{padding:8px 0}.ty-fields{display:flex;flex-direction:column;gap:8px;margin:8px 0}
.ty-field{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ty-field [data-l]{flex:2 1 180px}.ty-field [data-k]{flex:1 1 150px}.ty-field [data-o]{flex:3 1 220px}

/* Deputy (testing) */
.dep-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.dep-tabs button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer}.dep-tabs button.is-on{background:#2f5d46;color:#fff;border-color:#2f5d46}
.dep-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.dep-shift{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.dep-shift:first-of-type{border-top:0}.dep-shift small{display:block;color:var(--muted,#6b6b63)}.dep-shift.is-late b{color:#b42318}
.dep-late{background:#fdecea;border-color:#f3cdc9;margin-bottom:16px}
.dep-bar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-bottom:16px}.dep-bar .help,.dep-bar .auth-message{flex-basis:100%;margin:0}.dep-bar .check{margin:0}
.dep-table tr.is-diff td{background:#fbefda}.dep-warn{color:#b42318;font-weight:650}

/* Staff Performance (testing) */
.pf-tops{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:16px}
.pf-top{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}.pf-top span{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#2f5d46}.pf-top b{font-size:20px}.pf-top em{font-style:normal;font-weight:650}
.pf-table th button.pf-sort{background:none;border:0;padding:0;font:inherit;font-weight:700;cursor:pointer;color:inherit;white-space:nowrap}.pf-table th button.is-on{color:#2f5d46}
.pf-table tr.pf-few td{color:#8a8a82}.pf-up{color:#17603a;font-weight:650}.pf-down{color:#b42318}
.pf-match{font-size:12px;padding:0}

/* Owner Home: Who's working today (Deputy) */
.br-sh-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.br-sh-head a{font-size:13px;font-weight:600}
.br-sh-sum{margin:2px 0 10px;font-size:14px}.br-sh-sum b.bad{color:#b42318}
.br-sh-list{display:flex;flex-direction:column;gap:10px}
.br-sh-branch{border-top:1px solid var(--line);padding-top:8px}.br-sh-branch:first-child{border-top:0;padding-top:0}.br-sh-branch h3{margin:0 0 4px;font-size:14px}
.br-sh-row{display:flex;gap:8px;align-items:flex-start;margin:3px 0}.br-sh-label{flex:0 0 62px;font-size:12px;color:var(--muted,#6b6b63);padding-top:3px}
.br-sh-chips{display:flex;flex-wrap:wrap;gap:6px}
.br-sh-chip{font-size:12.5px;border-radius:999px;padding:3px 10px;background:#f0f0ee;color:#4a4a44;white-space:nowrap}.br-sh-chip b{font-weight:650}
.br-sh-chip.ok{background:#e3f1e8;color:#17603a}.br-sh-chip.warn{background:#fbefda;color:#8a5a00}.br-sh-chip.bad{background:#fdecea;color:#b42318}
.br-sh-foot{margin:8px 0 0;font-size:11.5px;color:var(--muted,#6b6b63)}
@media(max-width:520px){.br-sh-row{flex-direction:column;gap:2px}.br-sh-label{flex:none;padding:0}.br-sh-chip{white-space:normal}}

/* Deputy timesheets: checks, comments, times to pay, quick actions */
.dep-ts tr.is-flag td{background:#fffaf1}.dep-ts td{vertical-align:top}
.dep-flags{display:flex;flex-wrap:wrap;gap:4px;min-width:150px}
.dep-comment{font-style:italic;color:#3d3d37;display:inline-block;max-width:220px}
.dep-acts{white-space:nowrap}.dep-acts button{margin-left:4px}
.dep-edit{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.dep-edit label{display:flex;gap:6px;align-items:center;margin:0}.dep-edit input{width:auto}

/* Phones (Syed, 15 Nov 2026: "make buttons and tabs easier to read and use on the phone").
   Every button, tab and filter is at least 44px tall with 14px+ text, tick boxes are 22px with the whole row tappable,
   nothing is written smaller than 13px, and rows of tabs wrap onto a second line instead of hiding off the screen.
   The small previews of screens in Signage (sgw-*) and chart labels are scaled drawings, so they are left alone. */
@media (max-width:700px){
  :root{--ctl-h:44px}
  main :is(select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden])){min-height:44px}
  main :is(button,[role=tab],summary,a.primary,a.secondary,a.button,.button,a.rb-chip,.seg-tabs a):not([class*="sgw-"] *){min-height:44px!important;font-size:max(14px,1em)!important}
  main :is(a.rb-chip,.seg-tabs a){display:inline-flex;align-items:center}
  main button.small,main .small.primary,main .small.secondary{padding:8px 14px}
  main summary{display:flex;align-items:center;gap:8px}
  main summary::-webkit-details-marker{display:none}
  main summary::before{content:"›";font-size:20px;line-height:1;transition:transform .15s;flex:none}
  main details[open]>summary::before{transform:rotate(90deg)}
  /* Rows of tabs and filters wrap instead of scrolling sideways with nothing to show more are there. */
  main :is(.tabs,.sg-tabs,.el-filter,.tr-filter,.le-shops,.seg-tabs,.ib-tabs,.pc-tabs,.pc-views,.switch,[role=tablist],[role=group]){flex-wrap:wrap!important;overflow-x:visible!important;white-space:normal}
  main :is(.tabs,.sg-tabs,.el-filter,.tr-filter)>*{flex:0 1 auto;white-space:nowrap}
  main .tabs{gap:6px!important;border-bottom:0;margin-bottom:16px}
  main .tabs button{border:1px solid var(--line,#dfe3dc)!important;border-radius:999px!important;padding:8px 14px!important;color:var(--ink,#1f2a24);background:#fff}
  main .tabs button.active{background:#173d32!important;border-color:#173d32!important;color:#fff!important}
  main .sg-tabs{gap:6px!important;padding:6px!important}
  main .sg-tabs button{border:1px solid #e1e6df!important}
  main .switch{display:flex!important;border-radius:14px;gap:4px}
  main .switch button{flex:1 1 auto}
  main .el-sites{grid-template-columns:minmax(0,1fr)!important}
  main :is(td,th){padding-left:8px!important;padding-right:8px!important}
  main :is(td,th):first-child{padding-left:10px!important}
  main .le-shops>*{min-width:0}
  /* Tick boxes and the rows they sit in */
  main input[type=checkbox],main input[type=radio]{width:22px!important;height:22px!important;min-width:22px;flex:none;accent-color:#1f6b46}
  main label:has(>input[type=checkbox]):not(.tp-row),main label:has(>input[type=radio]):not(.tp-row),main label.check,main label.check-label{display:flex!important;align-items:center;gap:10px;min-height:44px;font-size:max(14px,1em)}
  main label.tp-row{min-height:52px}
  /* Stand-alone links (not inside a sentence) get a proper tap area */
  main :is(section,div,fieldset)>a:not([class]),main :is(button.text-button,button.people-link,button.link,button.ed-chip,.text-link){display:inline-flex;align-items:center;min-height:44px}
  /* Nothing under 13px. Relative sizes keep big figures big. */
  main :is(small,th,dt,dd,.eyebrow,p.eyebrow,.pill,.badge,.subtle,.cell-sub,.detail-list *,.loc-meta,.fc-none,.so-group,.el-note,.auth-message,[class*="-chip"],[class*="-pill"],[class*="-state"],[class*="-status"],.bl-new,.bl-od,.bl-row>.r,.tr-st,.tr-ok,.tr-redt,.bl-kpi *,.tr-kpi *,.el-kpi *,.el-legend *,.pc-filters label,.cc-bar label,.cash-branch-picker label,.sg-kicker,.sg-eyebrow,.sg-hero-copy p,td.sc-closed,td.subtle):not([class*="sgw-"]):not([class*="sgw-"] *):not(svg *){font-size:max(13px,.85em)!important}
}

/* Sales Check on phones: one card per day instead of the wide grid. */
.sc-cards{display:none}
@media (max-width:700px){
  .sc-cards{display:flex;flex-direction:column;gap:12px;margin-top:14px}
  .sc-grid-wrap{display:none}
  .scp-day{padding:14px}
  .scp-day h3{margin:0 0 6px;font-size:16px}
  .scp-row{padding:10px 0;border-top:1px solid #eee9dd;text-align:left;font-size:15px}
  .scp-row.sc-miss .scp-top{justify-content:space-between}
  .scp-row.sc-miss .scp-acts{justify-content:flex-start;margin-top:8px}
  .scp-row:first-of-type{border-top:0}
  .scp-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
  .scp-name{font-weight:650;font-size:15px}
  .scp-state{font-size:15px}
  .scp-row.sc-miss,.scp-row.sc-closed,.scp-row.sc-wait{background:none}
  .scp-row.sc-miss .scp-state{color:#b42318;font-weight:650}
  .scp-row.sc-closed .scp-state{color:#666}
  .scp-row.sc-wait .scp-state{color:#8a5a00}
  .scp-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;align-items:flex-start}
  .scp-acts>button{flex:1 1 140px}
  .scp-more{flex:0 0 auto}
  .scp-more summary{list-style:none;cursor:pointer;border:1px solid var(--ctl-line);border-radius:var(--ctl-r);padding:0 14px;background:#fff;font-weight:600}
  .scp-more[open]{flex:1 1 100%}
  .scp-more .scp-danger{width:100%;margin-top:8px;color:#b42318;border-color:#e3a6a1}
}

/* Phones: every style that sets text under 13px, raised to 13px (generated 15 Nov 2026 from the Hub stylesheets). */
@media (max-width:700px){
html #preview-banner{font-size:13px}
html #toast{font-size:13px}
html .activity p{font-size:13px}
html .activity small{font-size:13px}
html .activity time{font-size:13px}
html .add-button{font-size:13px}
html .ai-chat label{font-size:13px}
html .ai-guide-link{font-size:13px}
html .ai-sources{font-size:13px}
html .ai-sources a{font-size:13px}
html .ai-suggestions button{font-size:13px}
html .ai-thinking{font-size:13px}
html .alert-card .subtle{font-size:13px}
html .attention-card p{font-size:13px}
html .attention-count{font-size:13px}
html .attention-meta{font-size:13px}
html .auth-message{font-size:13px}
html .avatar{font-size:13px}
html .back-hub{font-size:13px}
html .badge{font-size:13px}
html .bl-cn{font-size:13px}
html .bl-gname small{font-size:13px}
html .bl-head{font-size:13px}
html .bl-ht th{font-size:13px}
html .bl-kpi small{font-size:13px}
html .bl-kpi span{font-size:13px}
html .bl-new{font-size:13px}
html .bl-pay small{font-size:13px}
html .bl-row small{font-size:13px}
html .br-ax{font-size:13px}
html .br-chip{font-size:13px}
html .br-cmp small{font-size:13px}
html .br-dc-l{font-size:13px}
html .br-foot{font-size:13px}
html .br-legend{font-size:13px}
html .br-n small{font-size:13px}
html .br-sh-chip{font-size:13px}
html .br-sh-foot{font-size:13px}
html .br-sh-label{font-size:13px}
html .br-th{font-size:13px}
html .br-wbar b{font-size:13px}
html .brand small{font-size:13px}
html .brand-sub{font-size:13px}
html .calendar-weekday{font-size:13px}
html .cam-tile em{font-size:13px}
html .cam-tile span{font-size:13px}
html .cash-branch-context span{font-size:13px}
html .cash-branch-picker label{font-size:13px}
html .cash-table-note{font-size:13px}
html .cc-bar label{font-size:13px}
html .cc-pill{font-size:13px}
html .cell-sub{font-size:13px}
html .check{font-size:13px}
html .choice{font-size:13px}
html .co-break thead th{font-size:13px}
html .completion-grid .badge{font-size:13px}
html .cx-av{font-size:13px}
html .cx-card .flag{font-size:13px}
html .cx-card .pg{font-size:13px}
html .cx-pill{font-size:13px}
html .dashboard-actions button{font-size:13px}
html .date-chip{font-size:13px}
html .day-cash summary{font-size:13px}
html .demo-hint{font-size:13px}
html .detail-list{font-size:13px}
html .dp-pill{font-size:13px}
html .dr-tbl th{font-size:13px}
html .ed-chip{font-size:13px}
html .el-avg label{font-size:13px}
html .el-avg select{font-size:13px}
html .el-ax{font-size:13px}
html .el-chip{font-size:13px}
html .el-facts dt{font-size:13px}
html .el-kpi small{font-size:13px}
html .el-kpi span{font-size:13px}
html .el-legend{font-size:13px}
html .el-link{font-size:13px}
html .el-note{font-size:13px}
html .el-res-total span{font-size:13px}
html .el-table th{font-size:13px}
html .empty{font-size:13px}
html .entry-row input{font-size:13px}
html .entry-row label{font-size:13px}
html .entry-row select{font-size:13px}
html .eq-chip{font-size:13px}
html .eq-facts dt{font-size:13px}
html .eyebrow{font-size:13px}
html .fc-count span{font-size:13px}
html .fc-none{font-size:13px}
html .fc-table td{font-size:13px}
html .fc-table thead th{font-size:13px}
html .field label{font-size:13px}
html .field-error{font-size:13px}
html .field-grid .help{font-size:13px}
html .filter-bar input{font-size:13px}
html .filter-bar label{font-size:13px}
html .filter-bar select{font-size:13px}
html .footer{font-size:13px}
html .form-error{font-size:13px}
html .freq-tabs span{font-size:13px}
html .guide p{font-size:13px}
html .heading .date{font-size:13px}
html .heading button{font-size:13px}
html .heading p{font-size:13px}
html .help{font-size:13px}
html .hint{font-size:13px}
html .hr-photo{font-size:13px}
html .hub-new-tag{font-size:13px}
html .ib-sub{font-size:13px}
html .ib-tabs button{font-size:13px}
html .ib-text{font-size:13px}
html .incident-meta{font-size:13px}
html .install-note{font-size:13px}
html .ir-controls label{font-size:13px}
html .ir-stat span{font-size:13px}
html .ir-sub{font-size:13px}
html .ir-table{font-size:13px}
html .ir-table th{font-size:13px}
html .le-chip{font-size:13px}
html .learn-banner p{font-size:13px}
html .line-total{font-size:13px}
html .loc-fhrs small{font-size:13px}
html .loc-flag{font-size:13px}
html .loc-meta{font-size:13px}
html .loc-people th{font-size:13px}
html .location select{font-size:13px}
html .login-list b{font-size:13px}
html .login-list span{font-size:13px}
html .login-log-state{font-size:13px}
html .login-meta{font-size:13px}
html .manager-note{font-size:13px}
html .mention-pop button small{font-size:13px}
html .metric .metric-label{font-size:13px}
html .metric p{font-size:13px}
html .nav a{font-size:13px}
html .nav a .count{font-size:13px}
html .nav-group-label{font-size:13px}
html .note{font-size:13px}
html .notice{font-size:13px}
html .oi-copy{font-size:13px}
html .oi-foot small{font-size:13px}
html .oi-foot span{font-size:13px}
html .oi-in span{font-size:13px}
html .oi-mrow label{font-size:13px}
html .oi-name small{font-size:13px}
html .oi-st{font-size:13px}
html .oi-sug span{font-size:13px}
html .optional{font-size:13px}
html .ov-sub{font-size:13px}
html .ov-table th{font-size:13px}
html .panel-head p{font-size:13px}
html .pb-row small{font-size:13px}
html .pc-filters label{font-size:13px}
html .pc-flag{font-size:13px}
html .people-chip{font-size:13px}
html .people-event small{font-size:13px}
html .people-event time{font-size:13px}
html .people-head{font-size:13px}
html .people-meta em{font-size:13px}
html .people-name small{font-size:13px}
html .people-status{font-size:13px}
html .petty-add{font-size:13px}
html .petty-date{font-size:13px}
html .petty-files{font-size:13px}
html .petty-msg{font-size:13px}
html .petty-summary div{font-size:13px}
html .pf-match{font-size:13px}
html .pf-top span{font-size:13px}
html .pill{font-size:13px}
html .pk-link{font-size:13px}
html .pk-name small{font-size:13px}
html .pm-flag{font-size:13px}
html .preview-band{font-size:13px}
html .preview-band strong{font-size:13px}
html .primary{font-size:13px}
html .profile .actor{font-size:13px}
html .profile select{font-size:13px}
html .profile-role{font-size:13px}
html .rating-box span{font-size:13px}
html .rb-shop{font-size:13px}
html .rb-tbl th{font-size:13px}
html .receipt-chip{font-size:13px}
html .receipt-ok{font-size:13px}
html .receipt-pick{font-size:13px}
html .receipt-values div{font-size:13px}
html .record dl{font-size:13px}
html .record summary small{font-size:13px}
html .rt-pill{font-size:13px}
html .rt-tbl th{font-size:13px}
html .sc-body h3{font-size:13px}
html .sc-del{font-size:13px}
html .sc-lines small{font-size:13px}
html .sc-link{font-size:13px}
html .sc-miss{font-size:13px}
html .sc-miss button{font-size:13px}
html .sc-sub{font-size:13px}
html .sc-table .sc-wait span{font-size:13px}
html .secondary{font-size:13px}
html .section-head .subtle{font-size:13px}
html .section-number{font-size:13px}
html .sg button{font-size:13px}
html .sg-bottom-callout button{font-size:13px}
html .sg-bottom-callout p{font-size:13px}
html .sg-canvas-note{font-size:13px}
html .sg-canvas-toolbar{font-size:13px}
html .sg-canvas-toolbar select{font-size:13px}
html .sg-card .sg-actions button{font-size:13px}
html .sg-count{font-size:13px}
html .sg-data-note button{font-size:13px}
html .sg-data-note p{font-size:13px}
html .sg-dialog .sg-help{font-size:13px}
html .sg-dropzone{font-size:13px}
html .sg-dropzone span{font-size:13px}
html .sg-eyebrow{font-size:13px}
html .sg-folder-card b{font-size:13px}
html .sg-folder-card small{font-size:13px}
html .sg-folder-sidebar .sg-add-folder{font-size:13px}
html .sg-folder-sidebar button b{font-size:13px}
html .sg-hero .sg-button-light{font-size:13px}
html .sg-hero .sg-hero-link{font-size:13px}
html .sg-hero p{font-size:13px}
html .sg-layer{font-size:13px}
html .sg-layer span{font-size:13px}
html .sg-library-empty p{font-size:13px}
html .sg-media-caption p{font-size:13px}
html .sg-media-caption small{font-size:13px}
html .sg-media-detail p{font-size:13px}
html .sg-media-format{font-size:13px}
html .sg-menu-placeholder{font-size:13px}
html .sg-menu-placeholder span{font-size:13px}
html .sg-metric b{font-size:13px}
html .sg-metric span{font-size:13px}
html .sg-new-layout-tile span{font-size:13px}
html .sg-play{font-size:13px}
html .sg-search input{font-size:13px}
html .sg-section-title .sg-actions button{font-size:13px}
html .sg-section-title p{font-size:13px}
html .sg-selection-bar{font-size:13px}
html .sg-studio-top .sg-actions button{font-size:13px}
html .sg-tabs button{font-size:13px}
html .sg-template-card p{font-size:13px}
html .sg-toolbar button{font-size:13px}
html .sg-upload-progress span{font-size:13px}
html .sg-widget-properties .sg-eyebrow{font-size:13px}
html .sg-widget-properties .sg-help{font-size:13px}
html .sg-widget-properties .sg-remove-widget{font-size:13px}
html .sg-widget-properties input{font-size:13px}
html .sg-widget-properties label{font-size:13px}
html .sg-widget-properties select{font-size:13px}
html .sg-widget-shelf b{font-size:13px}
html .sg-widget-shelf small{font-size:13px}
html .side-bottom{font-size:13px}
html .so-count{font-size:13px}
html .so-group{font-size:13px}
html .sp-img{font-size:13px}
html .sp-new{font-size:13px}
html .stat small{font-size:13px}
html .stat-top{font-size:13px}
html .status-line{font-size:13px}
html .step:before{font-size:13px}
html .subtle{font-size:13px}
html .summary-card small{font-size:13px}
html .summary-foot{font-size:13px}
html .summary-lines div{font-size:13px}
html .summary-note{font-size:13px}
html .table-header p{font-size:13px}
html .table-link{font-size:13px}
html .tabs button{font-size:13px}
html .task-info small{font-size:13px}
html .task-photo figcaption{font-size:13px}
html .task-row button{font-size:13px}
html .te-new{font-size:13px}
html .text-button{font-size:13px}
html .text-link{font-size:13px}
html .timeline small{font-size:13px}
html .tn-chip{font-size:13px}
html .tn-list button small{font-size:13px}
html .tp-chip{font-size:13px}
html .tp-credit{font-size:13px}
html .tp-hist small{font-size:13px}
html .tp-main small{font-size:13px}
html .tp-margin small{font-size:13px}
html .tp-price small{font-size:13px}
html .tp-sold small{font-size:13px}
html .tp-two small{font-size:13px}
html .tr-barl{font-size:13px}
html .tr-kpi small{font-size:13px}
html .tr-kpi span{font-size:13px}
html .tr-lease summary small{font-size:13px}
html .tr-sh small{font-size:13px}
html .tr-site dt{font-size:13px}
html .tr-st{font-size:13px}
html .tr-table th{font-size:13px}
html .up-chip{font-size:13px}
html .variance-box{font-size:13px}
html .weather-note{font-size:13px}
html .wz-cat small{font-size:13px}
html .wz-entry small{font-size:13px}
html .wz-eyebrow{font-size:13px}
html .wz-li-main small{font-size:13px}
html .wz-pill{font-size:13px}
html .wz-remove{font-size:13px}
html .wz-sum{font-size:13px}
html .wz-tiles div{font-size:13px}
html .x-hint{font-size:13px}
html button{font-size:13px}
html button.small{font-size:13px}
html button:last-child{font-size:13px}
html div{font-size:13px}
html div.r:nth-child(6){font-size:13px}
html footer{font-size:13px}
html footer span{font-size:13px}
html label{font-size:13px}
html legend{font-size:13px}
html nav .text-button{font-size:13px}
html nav a{font-size:13px}
html p{font-size:13px}
html select{font-size:13px}
html span{font-size:13px}
html svg.cx-chart text{font-size:13px}
html table{font-size:13px}
html th{font-size:13px}
html thead{font-size:13px}
}
