:root{--red:#c8102e;--ink:#3f2021;--muted:#817672;--bg:#f7f5f2;--line:#e9e3dd;--green:#20744a;--amber:#996015}*{box-sizing:border-box}body{margin:0;font:14px/1.55 Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:10px 15px;transition:background .15s}button:hover{background:#f5edef}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--red);border-color:var(--red);color:white}.primary:hover{background:#a50e27}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:6px}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:16px;margin-bottom:16px}small,.muted{color:var(--muted)}small{display:block;font-size:12px}.eyebrow{display:block;color:var(--red);font-size:11px;font-weight:bold;letter-spacing:1.7px;margin:12px 0}.logo{width:165px;height:63px;object-fit:contain}.login-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-form{padding:9vh max(35px,10vw)}.login-form h1{font-size:44px;line-height:1.14;margin:25px 0}.login-form form{margin-top:22px}.login-form button{width:100%;margin-top:15px}.login-art{background:var(--red);color:white;padding:10vh 8vw;display:flex;flex-direction:column;justify-content:center}.login-art h2{font-size:52px;line-height:1.1;margin:25px 0}.kicker{letter-spacing:2px;font-size:12px}.login-art p{opacity:.85}.art-card{background:#fff;color:var(--ink);padding:27px;border-radius:18px;margin-top:25px}.art-card>span{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.art-card div{font-size:18px;margin:18px 0 2px}.art-card b{float:right;color:var(--red)}hr{border:0;border-top:1px solid var(--line);margin:20px 0}.art-foot{margin-top:40px;font-size:10px;letter-spacing:2px}label{display:block;font-size:12px;color:#76615a}input:not([type=checkbox]),select,textarea{width:100%;display:block;background:#fff;border:1px solid #dfd6ce;border-radius:8px;padding:10px;color:var(--ink);margin-top:5px;min-width:0}textarea{min-height:140px}input[type=checkbox]{accent-color:var(--red)}#app{display:flex;min-height:100vh}aside{width:224px;flex-shrink:0;background:white;padding:24px 18px;border-right:1px solid var(--line)}aside .logo{width:155px}aside>small{margin:15px 12px 24px;font-size:10px;letter-spacing:1.7px}nav button{border:0;background:transparent;text-align:left;display:block;width:100%;margin:4px 0;padding:11px 13px;color:#75645d}nav button.selected{background:#f9e8ec;color:var(--red);font-weight:bold}.admin-nav>small{margin:25px 13px 12px;font-size:10px;letter-spacing:1.3px}.profile{border-top:1px solid var(--line);margin-top:25px;padding:22px 12px;overflow-wrap:anywhere}.profile button{margin-top:14px}main{min-width:0;flex:1;padding:28px 32px}.top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.actions{display:flex;gap:8px;flex-wrap:wrap}.filters{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:12px;background:white;border:1px solid var(--line);padding:18px;border-radius:14px;margin-bottom:24px;align-items:end}.filters select{font-size:12px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;min-width:0;margin-bottom:18px}.kpis .card{margin:0}.metric{font-size:32px;font-weight:bold;letter-spacing:-1px;margin:10px 0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:5px 0 16px}.section-head h3{margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:var(--muted);font-size:10px;letter-spacing:.5px;text-transform:uppercase;background:#faf8f5}td,th{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}td{overflow-wrap:anywhere}td button{padding:5px 9px;font-size:12px}.badge{display:inline-block;border-radius:20px;padding:4px 9px;font-size:11px;background:#f3eee9;white-space:nowrap}.pass{background:#e8f4ec;color:var(--green)}.follow{background:#fff1d6;color:var(--amber)}.fail{background:#fae4e7;color:var(--red)}.bar-row{display:grid;grid-template-columns:minmax(100px,1.2fr) 1fr 55px;gap:15px;align-items:center;margin:15px 0;font-size:12px}.track{height:7px;background:#f2e6e5;border-radius:8px;overflow:hidden}.track i{display:block;height:100%;background:var(--red)}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.notice{padding:15px 18px;border-radius:10px;background:#fbf0da;color:#705824;margin-bottom:18px;font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;max-height:310px;overflow:auto;padding:12px;background:#faf8f6;border:1px solid var(--line);border-radius:10px}.check-list label{display:flex;gap:8px;align-items:flex-start;padding:5px;color:var(--ink);font-size:12px}.scope-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.form-actions{display:flex;gap:10px;align-items:center;margin:20px 0;flex-wrap:wrap}.danger{color:var(--red)}#toast{position:fixed;right:20px;bottom:20px;max-width:450px;background:var(--ink);color:white;border-radius:10px;padding:15px 22px;z-index:100;box-shadow:0 8px 30px #0002}dialog{width:min(900px,94vw);max-height:85vh;border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink)}dialog::backdrop{background:#281b1c80}.dialog-close{float:right}.qtext{max-width:450px}.link{border:0;background:transparent;padding:0;color:var(--red);text-align:left}.trend{display:flex;align-items:end;gap:12px;min-height:150px;padding-top:20px;overflow:auto}.trend-col{text-align:center;min-width:45px;flex:1;font-size:11px}.trend-bar{background:var(--red);border-radius:5px 5px 0 0;margin:5px auto;width:70%;max-width:40px}.print-only{display:none}[hidden]{display:none!important}@media(max-width:1050px){.filters{grid-template-columns:repeat(3,1fr)}main{padding:22px}.kpis{grid-template-columns:1fr 1fr}.grid2{grid-template-columns:1fr}aside{width:195px}}@media(max-width:700px){.login-shell{grid-template-columns:1fr}.login-form{padding:35px 25px}.login-art{padding:35px}.login-art h2{font-size:36px}#app{display:block}aside{width:100%;padding:14px}aside>small,.profile small{display:none}nav{display:flex;flex-wrap:wrap}nav button{width:auto;font-size:12px;padding:8px}.admin-nav{display:flex;flex-wrap:wrap}.admin-nav>small{width:100%;margin:8px}.profile{padding:10px;margin:5px;display:flex;justify-content:space-between;align-items:center}.profile button{margin:0}main{padding:16px}.top{align-items:flex-start;flex-direction:column}.filters{grid-template-columns:1fr 1fr;gap:9px;padding:12px}.form-grid,.scope-controls,.grid3{grid-template-columns:1fr}.card{padding:16px}.metric{font-size:26px}.bar-row{gap:8px}.login-form h1{font-size:36px}}@media print{@page{size:A4 landscape;margin:10mm}body{background:white;-webkit-print-color-adjust:exact;print-color-adjust:exact}aside,.actions,.filters,#toast,.no-print,dialog{display:none!important}main{padding:0}#app{display:block}.print-only{display:block}.card{break-inside:avoid;box-shadow:none}.table-wrap{overflow:visible}tr{break-inside:avoid}thead{display:table-header-group}.grid2{grid-template-columns:1fr 1fr}.print-section{break-before:page}.kpis{grid-template-columns:repeat(4,1fr)}button{display:none}}

/* Company palette and layout, aligned with the original operations dashboard. */
:root{--red:#c8102e;--ink:#2b1a14;--muted:#7a6a5f;--bg:#f1e6d6;--line:#eadfce;--cream:#fbf5ec;--shadow:0 4px 24px rgba(43,26,20,.045)}
body{font-family:Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,.metric{font-family:Sora,Inter,Arial,sans-serif;letter-spacing:-.045em}
button{font-weight:600;border-radius:11px;min-height:40px}button:hover{background:var(--cream)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cf7b89;outline-offset:3px}
.primary:hover{background:#a80924;color:white}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em}
#app{background:var(--bg)}aside{position:sticky;top:0;height:100vh;overflow-y:auto;width:240px;padding:30px 17px 22px;display:flex;flex-direction:column}
aside>.logo{margin:0 12px;width:165px}aside>small{padding-bottom:24px;border-bottom:1px solid var(--line);margin:9px 12px 18px;font-weight:700}
nav button{display:flex;align-items:center;gap:11px;font-size:12px;min-height:44px;margin:3px 0;padding:11px 13px;color:#6f5c50}
nav button svg{width:18px;height:18px;flex-shrink:0}nav button.selected{background:#fcebee;color:var(--red)}
.admin-nav>small{font-weight:800;font-size:9px;letter-spacing:.15em;color:#887362}.profile{margin-top:auto;font-size:12px;padding:20px 10px 0}.profile strong{display:block}.profile small{margin-top:5px}
main{padding:30px clamp(22px,3.2vw,48px) 55px}.top{margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #ddcdb8}.top h1{font-size:28px}.top .eyebrow{margin-top:0}
.filters{background:var(--cream);border-radius:16px;box-shadow:var(--shadow);padding:18px;gap:14px}.filters label{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
input:not([type=checkbox]),select,textarea{border-color:var(--line);border-radius:10px;min-height:42px}.filters select,.filters input{font-size:12px;font-weight:500;letter-spacing:normal}
.card{border-radius:16px;box-shadow:var(--shadow);padding:23px;border-color:var(--line)}.card h3{font-size:15px}.kpis{gap:17px}.kpis .card{position:relative;border-top:3px solid var(--red);overflow:hidden}.kpis .card>small:first-child{font-size:10px;font-weight:700;letter-spacing:.06em}.metric{font-size:34px;line-height:1.2;margin:17px 0 10px;color:var(--red)}
th{background:var(--cream);color:var(--muted);font-size:10px;font-weight:700;padding:14px 12px}td{padding:14px 12px}tbody tr:hover{background:#fdf9f3}.table-wrap{border-radius:10px}td .link{font-weight:700}
.track{background:#f1e6d6;height:8px}.track i{border-radius:8px}.trend-bar{background:linear-gradient(180deg,#c8102e,#9f1027)}.notice{background:var(--cream);border:1px solid #e4cfac}.check-list{background:var(--cream)}
.login-shell{background:#fff;grid-template-columns:46% 54%}.login-form{padding:8vh clamp(28px,6vw,100px);align-self:center}.login-form h1{font-size:37px}.login-form>small{margin-top:24px}.login-art{min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(circle at 95% 0%,#e6aab5,transparent 35%),linear-gradient(140deg,#bc102b,#92051a 85%);padding:65px 10%}.login-art:before,.login-art:after{content:'';position:absolute;border:1px solid #ffffff30;border-radius:50%;width:650px;height:650px;top:55%;left:25%;pointer-events:none}.login-art:after{width:450px;height:450px;top:68%;left:48%}.login-art>*{position:relative;z-index:1}.login-art h2{font-size:42px;line-height:1.22;letter-spacing:-.045em}.art-card{background:var(--cream);border:1px solid #eadfce;border-radius:17px;box-shadow:0 25px 65px #66071a50;padding:25px;max-width:460px;transform:rotate(-2deg)}.art-card div{font-size:16px}.art-foot{color:#ffe9ec}
dialog{background:#fff;border-radius:16px;box-shadow:0 24px 70px #2b1a1426}
@media(min-width:1600px){main{max-width:1700px;margin:0 auto}}
@media(max-width:1050px){aside{width:210px}main{padding:24px}.login-form{padding:35px}.login-art{padding:45px}.login-art h2{font-size:36px}}
@media(max-width:700px){aside{position:static;height:auto;width:100%;padding:16px}aside>.logo{width:145px;margin:0 8px}aside>small{display:none}nav{margin-top:12px;gap:4px}nav button{font-size:11px;min-height:38px;gap:7px;padding:8px 10px;margin:0}nav button svg{width:16px;height:16px}.admin-nav{gap:4px;width:100%}.admin-nav>small{margin:12px 8px 5px}.profile{margin-top:14px;padding:12px 8px 0}.top{padding-bottom:16px;margin-bottom:18px}.top h1{font-size:25px}main{padding:20px 14px}.actions button{padding:8px 11px;font-size:12px}.kpis{gap:10px}.kpis .card{padding:16px}.metric{font-size:28px}.filters{padding:14px;gap:10px}.card{padding:17px}.login-shell{display:block}.login-form{padding:38px 25px}.login-form h1{font-size:34px}.login-art{min-height:0;padding:40px 25px}.login-art h2{font-size:32px}.art-card{transform:none}}
@media print{#app,body{background:white}.top{border-bottom:1px solid var(--line)}.card{box-shadow:none}.metric{color:var(--ink)}main{max-width:none;margin:0;padding:0}}

/* Version 2: visual visit selection and performance rankings */
.visit-grid,.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.visit-tile{text-align:left;display:flex;flex-direction:column;padding:26px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);position:relative;min-height:220px;border-top:4px solid var(--red)}.visit-tile:hover{transform:translateY(-2px);background:#fffaf3;box-shadow:0 10px 28px #2b1a1412}.visit-tile small{text-transform:uppercase;letter-spacing:.07em;font-size:10px}.visit-tile h3{margin:15px 0 18px;font-size:19px;line-height:1.4}.tile-score{font:700 34px Sora,Arial,sans-serif;color:var(--red);margin-top:auto}.tile-link{display:block;margin-top:20px;color:var(--red);font-size:12px}.category-tile{margin:0}.category-tile h3{margin-top:8px;line-height:1.5}.donut-layout{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px;padding:18px 0}.donut{width:166px;height:166px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.donut>div{width:125px;height:125px;background:white;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut b{font-size:26px;color:var(--ink)}.donut small{font-size:11px}.legend{min-width:170px;font-size:11px;flex:1;max-width:350px}.legend>div{display:flex;gap:8px;align-items:center;padding:8px 0}.legend i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.legend b{margin-left:auto}.category-rate{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.category-rate b{color:var(--red)}.rank{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--cream);color:var(--red);font-weight:700;flex-shrink:0}.ranked{grid-template-columns:28px minmax(110px,1.3fr) minmax(55px,1fr) 50px;gap:10px}.performance-grid .card{margin-bottom:0}.performance-grid{margin-bottom:20px}.table-wrap table{min-width:680px}td{overflow-wrap:normal;white-space:nowrap}th{white-space:nowrap}td .qtext{white-space:normal;min-width:280px;max-width:520px;line-height:1.6}td button{white-space:nowrap;min-width:76px}#detail td{white-space:normal;min-width:110px}#detail td:nth-child(2){white-space:nowrap}#detail table{min-width:720px}.kpis:has(>.card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1450px){.visit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.visit-grid,.category-grid{grid-template-columns:1fr}.ranked{grid-template-columns:25px minmax(95px,1.3fr) minmax(35px,1fr) 46px}.donut-layout{gap:16px}.kpis:has(>.card:nth-child(3):last-child){grid-template-columns:1fr}.visit-tile{min-height:200px}}
@media print{.visit-grid,.category-grid{grid-template-columns:1fr 1fr}.donut{print-color-adjust:exact}.table-wrap table{min-width:0}td,th{white-space:normal}td .qtext{min-width:0}.category-tile,.visit-tile{break-inside:avoid}}

/* Version 3: local category filter and compact store rankings. */
.table-filters{display:flex;gap:18px;align-items:end;flex-wrap:wrap;padding:16px;background:var(--cream);border:1px solid var(--line);border-radius:12px;margin-bottom:14px}.table-filters label{min-width:230px;max-width:100%;flex:0 1 340px;font-weight:600}.table-filters>span{font-size:12px;padding-bottom:10px}.insight-note{font-size:12px;color:var(--muted);line-height:1.7;margin:14px 0 0;max-width:440px}
@media(max-width:700px){.table-filters label{min-width:0;flex-basis:100%}.table-filters{gap:8px}.table-filters>span{padding:0}}

/* Version 5: compact categories and monthly line trend. */
@media(min-width:1200px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-tile{padding:18px}.category-tile .donut{width:138px;height:138px}.category-tile .donut>div{width:104px;height:104px}.category-tile .donut b{font-size:23px}.category-tile .donut-layout{gap:12px}.category-tile .legend{min-width:140px}}
.line-trend{overflow-x:auto;padding:8px 0}.line-trend svg{display:block;width:100%;height:auto;font-family:Inter,Arial,sans-serif}
@media print{.line-trend svg{min-width:0!important}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Version 8: distinct visit groups and category sections. */
.group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ddcdb8;padding:0 0 13px;margin:30px 0 18px}.group-heading h2{font-size:20px;margin:0;color:var(--ink)}.group-heading h2:before{content:'';display:inline-block;width:4px;height:20px;background:var(--red);border-radius:2px;margin-right:10px;vertical-align:middle}.group-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}.visit-section .visit-grid,.category-section .category-grid{margin-top:0}.category-section{margin-bottom:32px}.visit-tile h3{margin-top:0}.group-heading{break-after:avoid}
@media(max-width:700px){.group-heading h2{font-size:17px}.group-heading{align-items:flex-start}.group-heading>span{font-size:10px}}

/* Header brand and account-bound filters. */
.header-right{display:flex;align-items:center;gap:22px;margin-left:auto}.hub-logo{width:92px;height:100px;object-fit:contain;background:transparent;flex-shrink:0}.login-hub{position:absolute!important;top:24px;right:24px;width:95px;height:105px}.login-art{padding-top:145px}.filters select:disabled{opacity:1;background:#f2e7d6;color:#6b5140;border-color:#dbc9b0;cursor:default}.filters select:disabled+small{display:block}
@media(max-width:700px){.header-right{width:100%;margin-left:0;gap:12px}.header-right .actions{flex:1}.hub-logo{width:70px;height:80px}.login-hub{width:75px;height:85px}.login-art{padding-top:125px}}

/* Version 9: section top bar, preview mode, editable accounts, org chart, refreshed sign-in. */
:root{--topbar:#c8102e;--topbar-ink:#ffffff;--topbar-h:66px;--cream-2:#f1e6d6;--ok:#20744a}
#app{display:block;min-height:100vh}.app-body{display:flex;min-height:calc(100vh - var(--topbar-h))}
.topbar{position:sticky;top:0;z-index:40;height:var(--topbar-h);display:flex;align-items:center;gap:18px;padding:0 clamp(14px,2.6vw,36px);background:var(--topbar);color:var(--topbar-ink);box-shadow:0 6px 24px rgba(43,26,20,.12)}
.sections{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;min-width:0}.sections::-webkit-scrollbar{display:none}
.sections button{flex-shrink:0;background:transparent;border:0;color:var(--topbar-ink);opacity:.86;font-size:13px;font-weight:600;letter-spacing:.01em;padding:9px 17px;min-height:40px;border-radius:999px;transition:background .15s,opacity .15s}
.sections button:hover{background:rgba(255,255,255,.14);opacity:1}.sections button.selected{background:#fff;color:var(--red);opacity:1;box-shadow:0 4px 14px rgba(43,26,20,.18)}
.sections .admin-tab{margin-left:10px;position:relative}.sections .admin-tab:before{content:'';position:absolute;left:-8px;top:10px;bottom:10px;width:1px;background:rgba(255,255,255,.35)}
.topbar-brand{margin-left:auto;flex-shrink:0;background:#fff;border-radius:12px;padding:7px 14px;display:flex;align-items:center;box-shadow:0 2px 10px rgba(43,26,20,.15)}.topbar-brand img{height:28px;width:auto;display:block}
.viewas-bar{position:sticky;top:var(--topbar-h);z-index:39;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px clamp(14px,2.6vw,36px);background:var(--ink);color:#fff;font-size:13px}.viewas-bar small{display:inline;color:#e9d9c4;margin-left:8px}.viewas-note{color:#cdb9a3;font-size:12px}.viewas-bar button{margin-left:auto;background:#fff;color:var(--ink);border:0;min-height:34px;padding:6px 14px}
aside{top:var(--topbar-h);height:calc(100vh - var(--topbar-h))}#side-kicker{margin-top:4px}
.header-right{flex-direction:column;align-items:flex-end;gap:12px}.header-right .actions{justify-content:flex-end}
.badge.off{background:#f3eee9;color:var(--muted)}.badge.role-admin{background:var(--ink);color:#fff}
.head-actions{display:flex;gap:8px;flex-wrap:wrap}.head-actions button{display:inline-flex;align-items:center;gap:7px}.head-actions svg{width:16px;height:16px}
.section-head .count{display:inline-block;margin-left:6px;padding:2px 9px;border-radius:20px;background:var(--cream);color:var(--muted);font:600 11px Inter,Arial,sans-serif;letter-spacing:0;vertical-align:middle}.save-hint{font-size:12px;color:var(--muted)}
.table-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.table-tools input[type=search]{flex:1 1 260px;margin:0}.table-tools select{width:auto;flex:0 0 170px;margin:0}#sel-count{margin-left:auto;font-size:12px;font-weight:600;color:var(--red)}.table-tools button:disabled{opacity:.45;cursor:not-allowed}
.users-table{min-width:1080px!important}.users-table td{vertical-align:middle;padding:8px 10px}.users-table .pick-cell{width:38px;text-align:center}.users-table td:nth-child(2){min-width:190px}.users-table td:nth-child(3){min-width:260px}.users-table td:nth-child(4){min-width:200px}
.cell-edit{margin:0!important;min-height:36px!important;padding:6px 9px!important;border:1px solid transparent!important;background:transparent!important;border-radius:8px!important;font-size:13px;transition:border-color .15s,background .15s}
.cell-edit:hover{border-color:var(--line)!important;background:#fff!important}.cell-edit:focus{border-color:#cf7b89!important;background:#fff!important;outline:none}
.cell-edit.saving{background:var(--cream)!important}.cell-edit.saved{border-color:#9cc9ad!important;background:#eef7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320744a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat right 9px center/14px!important;padding-right:30px!important}
.cell-edit.failed{border-color:var(--red)!important;background:#fae4e7!important}
.row-actions{text-align:right}.row-actions button{margin-left:6px}
.perm-import{background:var(--cream);border:1px dashed #d9bf96;border-radius:14px;padding:20px;margin:0 0 20px}.perm-import h3{margin-bottom:6px}.perm-import .kpis{margin-top:6px}
.new-value{margin-top:8px!important}
.org{display:grid;gap:20px}.org-cluster{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:18px;box-shadow:var(--shadow);padding:22px}
.org-cluster>header{display:flex;align-items:center;gap:14px}.org-cluster>header small{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--red)}.org-cluster>header h3{margin:2px 0;font-size:19px}.org-cluster>header span{font-size:12px;color:var(--muted)}
.org-avatar{width:48px;height:48px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font:700 16px Sora,Arial,sans-serif;flex-shrink:0}
.org-oms{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;margin-top:18px}.org-om{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:14px}
.org-node{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.org-node b{font-size:14px}.org-node small{font-size:11px}
.org-node label{flex:0 1 190px;min-width:160px;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.org-node select{min-height:34px;font-size:12px;margin-top:3px;padding:6px 8px}
.org-om ul{list-style:none;margin:12px 0 0;padding:0 0 0 12px;border-left:2px solid #e4cfac}.org-node.am{background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 12px;margin:8px 0}
.org-tools input{max-width:420px}
/* Sign-in */
.login-shell:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);min-height:100vh;background:var(--cream-2)}
.login-brand{position:relative;overflow:hidden;color:#fff;padding:clamp(36px,7vh,80px) clamp(28px,6vw,90px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 100% 0%,rgba(255,255,255,.22),transparent 38%),radial-gradient(circle at 0% 100%,rgba(43,26,20,.35),transparent 45%),linear-gradient(150deg,#d01431,#a30b22 60%,#7d0618)}
.login-brand:before,.login-brand:after{content:'';position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.18);pointer-events:none}.login-brand:before{width:620px;height:620px;right:-260px;bottom:-240px}.login-brand:after{width:380px;height:380px;right:-120px;bottom:-110px}.login-brand>*{position:relative;z-index:1}
.brand-hub{width:112px;height:112px;object-fit:contain;background:#fff;border-radius:28px;padding:10px;box-shadow:0 18px 40px rgba(60,4,15,.35);margin-bottom:34px}
.login-brand .kicker{font-size:11px;font-weight:700;letter-spacing:.2em;color:#ffd9df}.login-brand h2{font:700 clamp(34px,4vw,54px)/1.08 Sora,Arial,sans-serif;letter-spacing:-.045em;margin:16px 0 14px}.login-brand>p{max-width:430px;font-size:15px;line-height:1.7;color:#ffe3e7;margin:0}
.login-sections{list-style:none;padding:0;margin:34px 0 0;display:grid;gap:12px;max-width:470px}.login-sections li{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(4px)}
.ls-icon{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--red);display:grid;place-items:center;flex-shrink:0}.ls-icon svg{width:21px;height:21px}.login-sections b{display:block;font-size:14px}.login-sections small{color:#ffd9df;font-size:12px}
.login-brand .art-foot{margin-top:38px;color:#ffd9df;font-size:10px;font-weight:700;letter-spacing:.24em}
.login-panel{display:grid;place-items:center;padding:clamp(24px,5vw,60px)}.login-card{width:min(460px,100%);background:#fff;border:1px solid var(--line);border-radius:26px;padding:clamp(28px,4vw,46px);box-shadow:0 30px 80px rgba(43,26,20,.13)}
.login-card .logo{width:150px;height:auto}.login-card .eyebrow{margin:22px 0 8px}.login-card h1{font-size:34px;margin:0 0 8px}.login-card>p.muted{font-size:14px;line-height:1.6}
.login-steps{list-style:none;padding:0;margin:22px 0 4px;display:flex;gap:18px}.login-steps li{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--muted)}.login-steps span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1.5px solid #d9c7b0;font-size:11px}
.login-steps li.current{color:var(--ink)}.login-steps li.current span{background:var(--red);border-color:var(--red);color:#fff}.login-steps li.done span{background:var(--ink);border-color:var(--ink);color:#fff}
.login-card form{margin-top:18px}.login-card label{font-weight:600;color:var(--ink)}.login-card input{min-height:50px!important;font-size:15px;background:var(--cream)!important;border-color:#eadfce!important}.login-card input:focus{background:#fff!important}
#otp{font:600 24px Sora,Arial,sans-serif;letter-spacing:.5em;text-align:center}
.login-card form>button{width:100%;margin-top:16px;min-height:50px;font-size:15px}.code-links{display:flex;justify-content:space-between;margin-top:14px}.code-links .link{min-height:0;font-size:13px;font-weight:600}.code-links .link:disabled{opacity:.45}
.login-secure{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.55;color:var(--muted);background:var(--cream);border-radius:12px;padding:12px 14px;margin-top:22px}.login-secure svg{width:18px;height:18px;color:var(--red);flex-shrink:0;margin-top:1px}
#login-message:empty{display:none}#login-message{margin:14px 0 0;font-size:13px}
@media(max-width:1050px){.org-oms{grid-template-columns:1fr}}
@media(max-width:900px){.login-shell:not([hidden]){display:flex!important;flex-direction:column-reverse}.login-brand{padding:34px 24px}.brand-hub{width:84px;height:84px;border-radius:22px;margin-bottom:22px}.login-sections{margin-top:24px}.login-panel{padding:24px 16px}}
@media(max-width:700px){:root{--topbar-h:58px}.topbar{gap:10px}.sections button{font-size:12px;padding:8px 12px;min-height:36px}.sections .admin-tab{margin-left:8px}.topbar-brand{padding:5px 9px}.topbar-brand img{height:20px}.app-body{display:block}aside{position:static;height:auto}.report-nav{display:flex;flex-wrap:wrap;gap:4px}.viewas-note{display:none}.header-right{align-items:flex-start}.header-right .actions{justify-content:flex-start}.table-tools select{flex:1 1 140px}#sel-count{margin-left:0}.login-card h1{font-size:28px}}
@media print{.topbar,.viewas-bar{display:none!important}.app-body{display:block}}
.sections button{display:inline-flex;align-items:center;width:auto;margin:0;text-align:center;white-space:nowrap}
.users-table{min-width:960px!important}.users-table td:nth-child(2){min-width:160px}.users-table td:nth-child(3){min-width:240px}.users-table td:nth-child(4){min-width:160px}.row-actions{white-space:nowrap}.row-actions button{min-width:0;padding:5px 10px}
.org-cluster>header .org-avatar{color:#fff;font-size:15px}
.sections{margin:0;flex-wrap:nowrap}
@media(max-width:700px){.topbar{height:auto;flex-wrap:wrap;padding:10px 12px 8px;gap:8px}.topbar-brand{order:0;margin-left:0}.sections{order:1;width:100%;display:flex!important;flex-wrap:nowrap!important;margin:0!important;gap:6px;padding-bottom:2px}.sections button{width:auto!important}.sections .admin-tab{margin-left:0}.sections .admin-tab:before{display:none}.viewas-bar{position:static}.header-right{flex-direction:row;align-items:center;flex-wrap:wrap}.header-right .hub-logo{width:56px;height:60px}}
/* Coming-soon sections and Tims logo */
.sections button.soon,.sections button.soon:hover{cursor:default;opacity:.62;background:transparent;display:inline-flex;align-items:center;gap:8px}
.soon-pill{display:inline-block;font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.2);color:#fff;white-space:nowrap}
.topbar-brand{background:transparent;box-shadow:none;padding:0;border-radius:0}
.topbar-brand img{height:52px;width:auto;display:block}
.brand-mark{width:96px;height:96px;object-fit:contain;display:block;margin-bottom:30px;border-radius:24px;box-shadow:0 0 0 1px rgba(255,255,255,.28),0 18px 40px rgba(60,4,15,.35)}
.login-sections li{position:relative}
.login-sections li.soon{opacity:.78}
.login-sections li .soon-pill{margin-left:auto;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28)}
@media(max-width:700px){.topbar-brand img{height:42px}.brand-mark{width:72px;height:72px;margin-bottom:20px}.soon-pill{font-size:8.5px;padding:3px 6px}}
@media(max-width:700px){.topbar{height:var(--topbar-h);flex-wrap:nowrap;padding:0 12px;gap:10px}.topbar .sections{order:0;flex:1;min-width:0}.topbar-brand{order:1;margin-left:auto}.topbar-brand img{height:40px}}
/* Insights: grades, deltas, coverage, heatmap, accountability */
.grade{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:7px;font:700 12px/1 Sora,Inter,Arial,sans-serif;color:#fff;vertical-align:middle}
.grade-A{background:#19805b}.grade-B{background:#5f9e6e}.grade-C{background:#b9a487}.grade-D{background:#b57621}.grade-E{background:#c8102e}
.grade-bar{display:flex;height:34px;border-radius:10px;overflow:hidden;gap:2px;background:var(--cream,#fbf5ec);margin:4px 0 16px}
.grade-bar i{display:grid;place-items:center;min-width:6px;color:#fff;font:700 11px Inter,Arial,sans-serif;font-style:normal}
.grade-bar .grade-empty{background:#eadfce}
.grade-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.grade-tile{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--cream,#fbf5ec)}
.grade-tile b{font:700 24px/1 Sora,Inter,Arial,sans-serif;letter-spacing:-.03em}
.grade-tile small{color:var(--muted);font-size:11px}
.small-note{font-size:11.5px;margin:14px 0 0}
.grade-inputs{display:flex;gap:8px;flex-wrap:wrap}.grade-inputs>span{display:flex;align-items:center;gap:6px}.grade-inputs input{width:84px}
.metric-note{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.metric-note .vs{font-size:11px;color:var(--muted)}
.delta{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:700;padding:3px 8px;border-radius:999px;white-space:nowrap}
.delta.up{background:#e4f2ea;color:#19805b}.delta.down{background:#fbe3e7;color:#a00d25}.delta.neutral,.delta.flat{background:#f1e6d6;color:#6b5a50}
.period-hint{font-size:12px;color:var(--muted);margin:-6px 0 18px}
.cover-head{display:flex;align-items:center;gap:16px;margin:0 0 12px}.cover-head .metric{margin:0;color:var(--red)}.cover-head span{font-size:13px;line-height:1.5}.cover-head small{color:var(--muted)}
.cover-row{display:grid;grid-template-columns:minmax(110px,1fr) 1.3fr 52px;gap:12px;align-items:center;font-size:12.5px;margin:10px 0}
.cover-row b{text-align:right;font-variant-numeric:tabular-nums}.cover-row em{font-style:normal;margin-left:6px;font-size:10px}
.cover-miss{margin-top:14px}.cover-miss summary{cursor:pointer;font-size:12.5px;font-weight:600;color:var(--red)}.cover-miss .table-wrap{max-height:340px;overflow:auto;margin-top:10px}
.badge.fail{background:#fbe3e7;color:#a00d25}
.inline-select{display:flex;align-items:center;gap:8px;font-size:12px;margin:0;white-space:nowrap}.inline-select select{width:auto;min-width:190px}
.heat-wrap{overflow-x:auto}
.heat-table{border-collapse:separate;border-spacing:3px;min-width:100%;font-size:12px}
.heat-table th{font-size:10.5px;text-transform:none;letter-spacing:0;white-space:nowrap;padding:6px 8px;text-align:center;font-weight:600;color:var(--muted);background:none}
.heat-table tbody th{text-align:left;color:var(--ink);font-weight:600;font-size:12px;position:sticky;left:0;background:#fff;z-index:1;white-space:normal;min-width:150px}
.heat-table thead th:first-child{text-align:left;position:sticky;left:0;background:#fff;z-index:2}
td.heat{text-align:center;font-weight:700;border-radius:7px;padding:9px 6px;min-width:58px;font-variant-numeric:tabular-nums;border:0}
.heat.h0{background:#e4f2ea;color:#19805b}.heat.h1{background:#f6efe3;color:#6b5a50}.heat.h2{background:#f6d9a8;color:#7a4a0c}.heat.h3{background:#ee9f78;color:#5c1607}.heat.h4{background:#c8102e;color:#fff}.heat.h-na{background:transparent;color:#c9bcae;font-weight:400}
.heat-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-size:11.5px;color:var(--muted)}.heat-legend span{display:flex;align-items:center;gap:6px}.heat-legend i{width:18px;height:12px;border-radius:4px;display:inline-block}
.mgr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;margin-bottom:18px}
.mgr-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow)}
.mgr-card .org-avatar{flex-shrink:0}
.mgr-main{display:flex;flex-direction:column;min-width:0;flex:1}.mgr-main small{font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--red);font-weight:700}.mgr-main b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mgr-main span{font-size:11.5px;color:var(--muted)}
.mgr-score{display:grid;grid-template-columns:auto auto;align-items:center;justify-items:end;gap:6px 8px;flex-shrink:0}.mgr-score b{font:700 18px/1 Sora,Inter,Arial,sans-serif;letter-spacing:-.03em}.mgr-score .delta{grid-column:1/-1}
@media(max-width:700px){.grade-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.grade-tile{padding:8px 6px}.grade-tile b{font-size:18px}.grade-tile small{font-size:9.5px}.inline-select select{min-width:0}.section-head{flex-wrap:wrap}.cover-row{grid-template-columns:minmax(80px,1fr) 1fr 44px}}
@media print{.heat,.grade,.grade-bar i,.delta{-webkit-print-color-adjust:exact;print-color-adjust:exact}.mgr-card{break-inside:avoid}}
@media(max-width:700px){.heat-table{min-width:0;width:max-content}.heat-table tbody th,.heat-table thead th:first-child{min-width:0;width:118px;max-width:118px;font-size:11px;white-space:normal}td.heat{min-width:50px;padding:8px 4px;font-size:11.5px}}
.table-wrap .heat-table{min-width:100%}
@media(max-width:700px){.table-wrap .heat-table{min-width:0;width:max-content}}

/* Repeat deviations, store scorecard, trainer views */
.repeat-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 6px}
.repeat-kpis div{background:var(--cream,#fbf5ec);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.repeat-kpis b{font:700 24px/1 Sora,Inter,Arial,sans-serif;letter-spacing:-.03em;color:var(--red)}
.repeat-kpis small{font-size:11.5px;color:var(--muted)}
.cover-sub{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:20px 0 6px;font-weight:700}
.repeat-card .bar-row span{white-space:normal;line-height:1.4}
.score-cell{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.mgr-sub{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:4px 0 10px}
@media(max-width:700px){.repeat-kpis{gap:6px}.repeat-kpis div{padding:10px}.repeat-kpis b{font-size:19px}}

/* Upload + email, takeaways, rankings, grades in store table, login featured box */
.notice.success{background:#e4f2ea;border-color:#b9dcc8;color:#145c3f}.notice.warn{background:#fbe3e7;border-color:#f1b7c1;color:#7d0b1e}
.upload-steps{margin:0}
.submit-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:18px;padding:14px 16px;border-radius:14px;background:var(--cream,#fbf5ec);border:1px solid var(--line)}
.submit-bar>div:first-child{display:flex;flex-direction:column;gap:2px}.submit-bar small{color:var(--muted);font-size:12px}.submit-bar .form-actions{margin:0}
.notify-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px;max-height:360px;overflow:auto;margin:12px 0 16px;padding:2px}
.notify-person{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;margin:0;font-weight:400}
.notify-person:has(input:checked){border-color:var(--red);background:#fdf1f3}
.notify-person input{width:auto;margin:0;accent-color:var(--red)}
.notify-person span{display:flex;flex-direction:column;min-width:0;flex:1}.notify-person b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notify-person small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notify-person.off{opacity:.55;cursor:not-allowed}.notify-person em{font-style:normal}
.badge.off{background:#eee6dd;color:#7a6a5f}.badge.pass{background:#e4f2ea;color:#19805b}
.notify-card textarea{min-height:70px}
.type-chip{display:inline-block;background:var(--cream,#fbf5ec);border:1px solid var(--line);border-radius:999px;padding:3px 9px;font-size:11px;color:var(--ink);margin:2px 4px 0 0}
.grade-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 12px;font-size:12.5px}.grade-chips>span{display:inline-flex;align-items:center;gap:6px}.grade-chips small{margin-left:auto}
.score-cell small{color:var(--muted);font-size:11px}
.takeaways{border-top:3px solid var(--red)}
.tk-summary{font-size:14px;line-height:1.65;margin:0 0 16px}
.tk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tk{border-radius:14px;padding:14px 16px;border:1px solid var(--line);background:var(--cream,#fbf5ec)}
.tk h4{margin:0 0 8px;font-size:11px;letter-spacing:.07em;text-transform:uppercase}
.tk-good{background:#eef7f2;border-color:#cfe6d9}.tk-good h4{color:#19805b}.tk-bad{background:#fdf1f3;border-color:#f3c9d1}.tk-bad h4{color:#a00d25}.tk-move h4{color:#7a4a0c}
.tk ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.tk li{display:flex;justify-content:space-between;gap:10px;font-size:13px}.tk li b{white-space:nowrap}.tk small{display:block;margin-top:8px;font-size:11px;color:var(--muted)}
.tk b.up{color:#19805b}.tk b.down{color:#a00d25}
.rank-list{display:grid;gap:2px}
.rank-item{display:grid;grid-template-columns:30px 1fr auto 62px 92px;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid var(--line)}
.rank-item:last-child{border-bottom:0}
.ri-main{display:flex;flex-direction:column;min-width:0}.ri-main b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ri-main small{font-size:11.5px;color:var(--muted)}
.ri-score{text-align:right;font:700 15px Sora,Inter,Arial,sans-serif}.ri-delta{text-align:right}
.rank-grid{align-items:start}
.login-sections li.featured{background:#fff;color:var(--ink);border-color:#fff;box-shadow:0 18px 40px rgba(60,4,15,.28);align-items:flex-start;padding:16px 18px}
.login-sections li.featured .ls-icon{background:var(--red);color:#fff}
.login-sections li.featured small{color:#19805b;font-weight:700}
.ls-visits{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:5px}
.ls-visits li{display:flex!important;align-items:center;gap:8px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;font-size:12.5px;color:var(--ink)}
.ls-visits li:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--red);flex-shrink:0}
.live-pill{margin-left:auto;font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 8px;border-radius:999px;background:#e4f2ea;color:#19805b;white-space:nowrap}
@media(max-width:700px){.tk-grid{grid-template-columns:1fr}.rank-item{grid-template-columns:26px 1fr auto 56px;gap:8px}.ri-delta{grid-column:2/-1;text-align:left}.notify-list{grid-template-columns:1fr}.submit-bar .form-actions{width:100%}}

.notify-groups{display:block;margin:16px 0 6px}.notify-groups>.muted{display:block;margin-bottom:10px}.notify-groups>.muted{font-size:12px;margin-right:4px}
.desig-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;min-height:0;border-radius:999px;font-size:12px;font-weight:600;background:#fff;border:1px solid var(--line);color:var(--ink)}
.desig-chip span{font-size:10.5px;font-weight:700;color:var(--muted);background:var(--cream,#fbf5ec);border-radius:999px;padding:2px 6px}
.desig-chip.on{background:var(--red);border-color:var(--red);color:#fff}.desig-chip.on span{background:rgba(255,255,255,.22);color:#fff}
.desig-chip:disabled{opacity:.45;cursor:not-allowed}

/* Tabs (coverage + rankings) */
.tabs{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 14px;padding:4px;background:var(--cream,#fbf5ec);border:1px solid var(--line);border-radius:12px}
.tab{background:transparent;border:0;border-radius:9px;padding:8px 13px;min-height:0;font-size:12.5px;font-weight:600;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.tab:hover{color:var(--ink);background:#fff}
.tab.on{background:#fff;color:var(--red);box-shadow:0 2px 8px rgba(43,26,20,.08)}
.tab-count{font-size:10.5px;font-weight:700;background:#f1e6d6;color:#6b5a50;border-radius:999px;padding:1px 6px}.tab.on .tab-count{background:#fbe3e7;color:var(--red)}
.rank-card .rank-list{max-height:520px;overflow:auto;padding-right:4px}
.visitor-row span{display:flex;flex-direction:column;gap:1px}.visitor-row small{font-size:11px;color:var(--muted)}.visitor-row b{white-space:nowrap}
.cover-row.visitor-row{grid-template-columns:minmax(140px,1.2fr) 1fr 72px}
@media print{.tab-panel[hidden]{display:block!important}.rank-card .rank-list{max-height:none;overflow:visible}}
@media(max-width:700px){.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.tab{flex-shrink:0;white-space:nowrap}.cover-row.visitor-row{grid-template-columns:minmax(110px,1fr) 1fr 62px}}

/* Red tabs */
.tabs{background:#fdf1f3;border-color:#f3c9d1}
.tab{color:var(--red);font-weight:700}
.tab:hover{background:#fbe3e7;color:#a00d25}
.tab.on{background:var(--red);color:#fff;box-shadow:0 4px 12px rgba(200,16,46,.25)}
.tab .tab-count{background:#fbe3e7;color:var(--red)}
.tab.on .tab-count{background:rgba(255,255,255,.25);color:#fff}

.tk li>span{display:flex;flex-direction:column;gap:1px;min-width:0}.tk li>span small{display:block;margin:0;font-size:10.5px;color:var(--muted)}
.tk li b .up,.tk li .up{color:#19805b}.tk li b .down,.tk li .down{color:#a00d25}

/* Report files + loading bar */
.files-type .table-wrap td small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
button.small{padding:6px 11px;min-height:0;font-size:12px}
button.danger{border-color:#f1b7c1;color:#a00d25;background:#fff}button.danger:hover{background:#fbe3e7}
.danger-zone{border:1px solid #f1b7c1;background:#fffafa}
body.busy{cursor:progress}
body.busy .topbar:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,#fff,transparent);background-size:40% 100%;background-repeat:no-repeat;animation:busybar 1s linear infinite}
.topbar{position:sticky}
@keyframes busybar{from{background-position:-40% 0}to{background-position:140% 0}}

/* Report month + To/CC/BCC */
.month-pick{display:flex;gap:8px}.month-pick select{flex:1}
.month-tag{display:inline-block;background:#fbe3e7;color:var(--red);font-weight:700;border-radius:999px;padding:1px 7px;font-size:10.5px}
.notify-tabs{margin:14px 0 4px}
.field-tag{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.05em;padding:3px 7px;border-radius:999px;background:var(--red);color:#fff}
.notify-person[data-field="cc"] .field-tag{background:#b57621}.notify-person[data-field="bcc"] .field-tag{background:#6b5a50}
.notify-person[data-field="cc"]:has(input:checked){border-color:#b57621;background:#fbf3e6}.notify-person[data-field="bcc"]:has(input:checked){border-color:#6b5a50;background:#f4efe9}
.notify-summary{display:grid;gap:8px;margin:0 0 16px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--cream,#fbf5ec);font-size:12.5px}
.sum-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.sum-row>b{min-width:42px;color:var(--red)}
.sum-chip{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 4px 3px 10px}
.sum-chip button{border:0;background:#f1e6d6;border-radius:50%;width:18px;height:18px;min-height:0;padding:0;font-size:12px;line-height:1;color:#6b5a50}

/* Stores directory editing */
.stores-table td{padding:6px 6px;vertical-align:middle}
.store-edit{width:100%;min-width:130px;border:1px solid transparent;background:transparent;border-radius:8px;padding:7px 8px;font-size:12.5px}
.store-edit:hover{border-color:var(--line);background:#fff}.store-edit:focus{border-color:var(--red);background:#fff;outline:0}
.store-edit.saving{opacity:.6}.store-edit.saved{border-color:#19805b;background:#eef7f2}.store-edit.failed{border-color:#c8102e;background:#fdf1f3}
.stores-table td[data-field],.stores-table td:first-child{white-space:nowrap}
#stores-preview .changed{background:#fff3c4;border-radius:4px;padding:1px 4px;font-weight:700}
.users-table .row-actions{white-space:nowrap}
.stores-table .store-edit[data-field="name"]{min-width:200px}.stores-table thead th{position:sticky;top:0;z-index:1}

/* Training Report */
.tr-source{font-size:12px;margin:-6px 0 14px}
.tr-filters .check-inline{display:flex;flex-direction:column;gap:8px}.inline-check{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--ink);min-height:42px}.inline-check input{width:auto;accent-color:var(--red)}
.journey{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.stage{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--cream,#fbf5ec);position:relative}
.stage-top{display:flex;align-items:flex-start;gap:8px}.stage-top b{font-size:13px;line-height:1.3}
.stage-no{flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--red);color:#fff;font:700 12px/24px Sora,Inter,Arial,sans-serif;text-align:center}
.stage:nth-child(n+4) .stage-no{background:#2b1a14}
.stage small{font-size:11px;color:var(--muted)}.stage-rate{font:700 26px/1 Sora,Inter,Arial,sans-serif;letter-spacing:-.03em;color:var(--ink);margin-top:4px}
.soon-tag{color:#b57621;font-weight:700}
.station-tiles{grid-template-columns:repeat(4,1fr)}.station-tile .track{width:100%;margin-top:4px}
.tr-rank{grid-template-columns:30px minmax(0,1.2fr) 1fr 62px}
.track.mini{display:inline-block;width:70px;vertical-align:middle}
.tr-check{list-style:none;padding:0;margin:0 0 8px;display:grid;gap:6px}.tr-check li{display:flex;align-items:center;gap:10px;font-size:13px}.tr-check .mark{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-weight:700;flex-shrink:0}
.tr-check .ok .mark{background:#e4f2ea;color:#19805b}.tr-check .todo .mark{background:#fbe3e7;color:#a00d25}.tr-check .soon{color:var(--muted)}.tr-check .soon .mark{background:#f1e6d6;color:#7a6a5f}.tr-check em{font-style:normal}
@media(max-width:1100px){.journey{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.journey{grid-template-columns:1fr 1fr}.station-tiles{grid-template-columns:1fr 1fr}.tr-rank{grid-template-columns:26px 1fr 56px}.tr-rank .track{display:none}}

.tr-people .table-wrap table{min-width:0}.tr-people td,.tr-people th{white-space:normal}.tr-people td small{display:block}

.tr-checks{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}.tr-checks li{padding:10px 12px 10px 34px;border-radius:10px;background:#faf7f3;position:relative;line-height:1.5}
.tr-checks li:before{position:absolute;left:12px;top:10px;font-weight:700}.tr-checks li.ok:before{content:"✓";color:var(--green)}.tr-checks li.warn{background:#fff6e8}.tr-checks li.warn:before{content:"!";color:var(--amber)}.tr-checks li.info:before{content:"i";color:#6b5b55}
.tr-checks a,.notice a{color:var(--red);font-weight:700}
.tr-roles select{min-width:210px}.tr-roles td small{display:block;color:var(--amber)}
@media (max-width:700px){.tr-roles .table-wrap{overflow:visible}.tr-roles thead{display:none}.tr-roles table,.tr-roles tbody{display:block;min-width:0}.tr-roles tr{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:12px 4px;border-bottom:1px solid var(--line)}.tr-roles td{border:0!important;padding:0!important}.tr-roles td:nth-child(1){grid-column:1/-1}.tr-roles td:nth-child(2):after{content:" people"}.tr-roles td:nth-child(2){color:var(--muted)}.tr-roles td:nth-child(3){display:none}.tr-roles td:nth-child(4){grid-column:1/-1;grid-row:3}.tr-roles td:nth-child(5){grid-column:2;grid-row:2}.tr-roles select{min-width:0;width:100%}}

.sd-cols{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 14px}.sd-cols .chip{display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px}.sd-cols .chip b{color:var(--red);font-size:11px}
.sd-sample .table-wrap{max-height:300px;overflow:auto}.sd-sample td{white-space:nowrap;max-width:240px;overflow:hidden;text-overflow:ellipsis}
#content h4{margin:16px 0 6px;font-size:13px}
.sd-kpis .card:last-child .metric{font-size:24px;line-height:1.6}.admin-nav>small,.cs-nav>small{text-transform:uppercase}

/* CS Dashboard */
.cs-nav{display:flex;flex-direction:column}.cs-nav>small{font-weight:800;font-size:9px;letter-spacing:.15em;color:#887362;margin:18px 13px 8px}.cs-nav>small:first-child{margin-top:4px}
@media(max-width:700px){.cs-nav{flex-direction:row;flex-wrap:wrap;gap:4px;width:100%}.cs-nav>small{width:100%;margin:12px 8px 5px}}
.cs-bar-filters{padding:14px 18px}.cs-filters{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:flex-end}.cs-filters label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);min-width:180px}
.cs-period{display:flex;gap:6px;align-items:center}.cs-period select{min-width:230px}.cs-period button{width:38px;height:40px;padding:0;font-size:18px;line-height:1}.cs-period button:disabled{opacity:.4;cursor:default}
.cs-legend-scale{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}.cs-legend-scale span{font-size:11px;font-weight:600;padding:5px 10px;border-radius:999px;color:var(--ink)}
.cs-g{background:rgba(32,116,74,.11)}.cs-a{background:rgba(153,96,21,.13)}.cs-b{background:rgba(200,16,46,.10)}
.cs-kpis{margin-bottom:14px}.cs-kpis .metric{font-size:28px}.cs-k3{grid-template-columns:repeat(3,1fr)}
.cs-ii{display:inline-grid;place-items:center;width:15px;height:15px;margin-left:6px;border-radius:50%;border:1px solid var(--line);font-size:9px;font-style:normal;font-weight:700;color:var(--muted);cursor:help;vertical-align:1px;text-transform:none;letter-spacing:0;background:#fff}.cs-ii:hover,.cs-ii:focus{border-color:var(--red);color:var(--red);outline:none}
#cs-tip{position:fixed;z-index:9999;max-width:300px;padding:9px 12px;border-radius:10px;background:var(--ink);color:#fff;font-size:12px;line-height:1.45;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .12s,transform .12s;box-shadow:0 10px 30px rgba(43,26,20,.25)}#cs-tip.on{opacity:1;transform:none}
.cs-card{margin-bottom:16px}.cs-card .section-head h3{display:flex;align-items:center}
.cs-tw{overflow-x:auto}.cs-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.cs-table th{font-size:10px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;text-align:right}.cs-table th.l,.cs-table td.l{text-align:left}
.cs-table td{white-space:nowrap;text-align:right;padding-top:9px;padding-bottom:9px}.cs-table td.vol{color:var(--muted)}.cs-table .sep{border-left:1px solid var(--line)}
.cs-table th.cs-s{cursor:pointer;user-select:none}.cs-table th.cs-s:hover,.cs-table th.cs-s.act{color:var(--red)}.cs-table th .ar{margin-left:4px;font-size:8px}
.cs-table .u{font-size:10px;color:var(--muted);margin-left:1px}.cs-dl{font-style:normal;font-size:10px;font-weight:700;margin-left:6px;white-space:nowrap}.cs-dl.up{color:#20744a}.cs-dl.dn{color:#c8102e}
.cs-idc{display:flex;align-items:center;gap:10px;min-width:180px}.cs-rk{flex:none;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--cream,#fbf5ec);color:var(--muted);font-size:11px;font-weight:700}.cs-nm{display:flex;flex-direction:column;line-height:1.25}.cs-nm b{font-weight:600}.cs-nm span{font-size:11px;color:var(--muted)}
.cs-grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cs-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cs-chart{padding:6px 4px 2px}.cs-svg{width:100%;height:auto;display:block;overflow:visible}
.cs-legend{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;padding:8px 0 2px}.cs-legend span{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--muted)}.cs-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.cs-top{display:grid;gap:12px;padding-top:4px}.cs-toprow{display:grid;grid-template-columns:22px minmax(0,2.2fr) minmax(40px,1fr) 58px;gap:10px;align-items:center}.cs-toprow b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-toprow .n{text-align:right;font-weight:700}
.cs-bar{height:8px;border-radius:6px;background:var(--cream,#fbf5ec);overflow:hidden}.cs-bar i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#c8102e,#e8a33d)}
.cs-ins{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:4px 0 16px}.cs-ic{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.cs-ic:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--acc)}
.cs-ich{display:flex;align-items:center;gap:9px;padding:15px 16px 0}.cs-ico{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;flex:none;background:color-mix(in srgb,var(--acc) 12%,#fff);color:var(--acc);font-size:12px}.cs-ich h4{margin:0;font-size:10px;font-weight:800;letter-spacing:.1em;color:var(--muted);text-transform:uppercase}
.cs-iclead{padding:11px 16px 0;font-size:13.5px;line-height:1.45;font-weight:700;color:var(--ink)}.cs-ic ul{list-style:none;padding:8px 16px 15px;margin:0}.cs-ic li{position:relative;padding:5px 0 5px 13px;font-size:12px;line-height:1.5;color:var(--muted)}.cs-ic li:before{content:"";position:absolute;left:0;top:12px;width:4px;height:4px;border-radius:50%;background:var(--acc)}
.cs-note{margin:-4px 0 16px}
@media(max-width:1100px){.cs-ins{grid-template-columns:1fr 1fr}.cs-grid3{grid-template-columns:1fr}}
@media(max-width:800px){.cs-grid2{grid-template-columns:1fr}.cs-k3{grid-template-columns:1fr 1fr}.cs-legend-scale{margin-left:0}}
@media(max-width:560px){.cs-ins{grid-template-columns:1fr}.cs-filters label{min-width:0;width:100%}.cs-period select{min-width:0;flex:1}.cs-kpis .metric{font-size:22px}}

/* CS Data upload boxes */
.cs-period-card{margin-bottom:16px}.cs-period-row{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-end}.cs-period-row label{display:flex;flex-direction:column;gap:6px;min-width:300px;font-size:12px;color:var(--muted)}.cs-period-status{display:flex;flex-direction:column;gap:4px}.cs-period-status small{color:var(--muted)}
.cs-step-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin:6px 2px 10px}.cs-step-title h3{margin:0}
.csb-group{margin-bottom:16px}.csb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.csb{border:1px dashed #dccfbf;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:5px;background:#fffdf9;min-width:0}.csb.done{border-style:solid;border-color:rgba(32,116,74,.35);background:#f6fbf7}.csb.busy{opacity:.7}
.csb-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.csb-head b{font-size:14px}.csb small{color:var(--muted);font-size:11.5px;line-height:1.4}.csb-file em{font-style:normal;font-weight:700;color:var(--ink)}
.csb-got{display:flex;flex-direction:column;gap:2px;margin-top:4px;padding-top:8px;border-top:1px solid var(--line)}.csb-got b{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.csb small.csb-warn{color:var(--amber)}
.csb-actions{display:flex;gap:8px;margin-top:auto;padding-top:8px}.csb-pick{position:relative;display:inline-flex;align-items:center;padding:8px 13px;border-radius:9px;background:var(--red);color:#fff;font-weight:700;font-size:12px;cursor:pointer}.csb.done .csb-pick{background:#fff;color:var(--ink);border:1px solid var(--line)}.csb-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.csb-pick.off{opacity:.5;pointer-events:none}
.cs-gen{margin-bottom:16px}.cs-rev{margin-top:14px}.cs-rev h4{margin:0 0 10px}.cs-rev td{vertical-align:top}.cs-warn-list{margin:6px 0 0;padding-left:18px}
@media(max-width:1000px){.csb-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.csb-grid{grid-template-columns:1fr}.cs-period-row label{min-width:0;width:100%}}

/* CS filter bar: checkbox dropdowns */
.cs-bar-filters{display:flex;flex-direction:column;gap:12px;position:relative;z-index:5}.cs-fgroup{display:flex;gap:14px;align-items:flex-start}.cs-flabel{flex:none;width:58px;padding-top:12px;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.cs-frow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;flex:1;min-width:0}.cs-quick{display:flex;flex-wrap:wrap;gap:6px;margin-left:4px}.cs-quick button{padding:7px 11px;font-size:12px}
.msd{position:relative}.msd-btn{display:grid;grid-template-columns:auto 14px;grid-template-rows:auto auto;column-gap:8px;text-align:left;min-width:168px;max-width:240px;padding:7px 12px;border-radius:11px;background:#fff;border:1px solid var(--line)}
.msd-btn small{grid-column:1;font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.msd-btn span{grid-column:1;font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msd-btn i{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;color:var(--muted)}
.msd.has .msd-btn{border-color:var(--red);box-shadow:0 0 0 1px var(--red) inset}.msd.has .msd-btn span{color:var(--red)}.msd.open .msd-btn{border-color:var(--ink)}
.msd-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:40;width:300px;max-width:calc(100vw - 32px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(43,26,20,.18);padding:10px}
.msd-q{width:100%;margin-bottom:8px}.msd-acts{display:flex;gap:6px;margin-bottom:6px}.msd-acts button{flex:1;padding:6px 8px;font-size:11.5px}
.msd-list{max-height:300px;overflow:auto;display:flex;flex-direction:column;gap:2px}.msd-opt{display:flex;gap:9px;align-items:flex-start;padding:7px 8px;border-radius:9px;cursor:pointer}.msd-opt:hover{background:var(--cream,#fbf5ec)}.msd-opt.on{background:#fbeaec}.msd-opt input{margin-top:2px;accent-color:var(--red)}
.msd-opt span{display:flex;flex-direction:column;line-height:1.3}.msd-opt b{font-size:12.5px;font-weight:600}.msd-opt small{font-size:11px;color:var(--muted)}.msd-opt.part input{opacity:.55}.msd-opt.part b:after{content:" · partly selected";font-weight:400;color:var(--muted);font-size:11px}.msd-empty{padding:12px;color:var(--muted);font-size:12px}
.cs-bar-filters .cs-legend-scale{position:absolute;right:16px;bottom:14px}.cs-tot td{background:#fbf5ec;font-weight:700}.cs-tot .cs-rk{background:var(--ink);color:#fff}.cs-partial{margin:-4px 0 10px;padding:8px 12px;border-radius:10px;background:#fff6e8;color:var(--amber);font-size:12px}
@media(max-width:1100px){.cs-bar-filters .cs-legend-scale{position:static}}
@media(max-width:700px){.cs-fgroup{flex-direction:column;gap:6px}.cs-flabel{padding-top:0}.msd{flex:1 1 calc(50% - 8px);min-width:0}.msd-btn{min-width:0;max-width:none;width:100%}.cs-quick{margin-left:0;width:100%}.msd:nth-child(2n) .msd-pop{left:auto;right:0}}
/* Visits / Training filter bars */
.vf-filters{display:flex;flex-direction:column;gap:12px}.vf-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.vf-top label{display:flex;flex-direction:column;gap:6px;min-width:280px}.vf-top label[hidden]{display:none}
#vf-bar{display:flex;flex-direction:column;gap:12px}.cs-quick button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.msd.locked .msd-btn{opacity:.75;cursor:not-allowed;background:#faf6f0}.tr-filters{margin-bottom:16px}.tr-inactive{display:inline-flex!important;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:0 6px;text-transform:none;letter-spacing:0}
@media(max-width:700px){.vf-top label{min-width:0;width:100%}}
.filters.vf-filters:not([hidden]){display:flex!important;flex-direction:column;align-items:stretch}.vf-top{justify-content:flex-start}.vf-top #reset{margin-left:auto}
.filters .msd-opt,.filters .msd-opt b,.filters .msd-opt small,.tr-filters .msd-opt{text-transform:none;letter-spacing:0;font-size:12.5px}.filters .msd-opt small{font-size:11px}.filters .msd-btn small{font-size:9.5px}.filters .msd-q{font-size:13px}

/* QA Help Desk */
.qa-sub{display:block;font-size:11px;color:var(--muted);font-weight:400;max-width:340px;white-space:normal}.qa-row{cursor:pointer}.qa-row:hover td{background:#fff8f1}.qa-reasons{display:flex;flex-wrap:wrap;gap:8px}.qa-reasons .chip{display:inline-flex;gap:8px;padding:7px 12px;border-radius:999px;background:#fbf5ec;border:1px solid var(--line);font-size:12.5px}.qa-reasons .chip b{color:var(--red)}
.link-btn{background:none;border:0;padding:0;color:var(--ink);text-align:left;font-size:12px;cursor:pointer;text-decoration:underline;text-decoration-color:var(--line)}.link-btn:hover{color:var(--red)}.qa-barcell{min-width:110px}.qa-text{white-space:pre-wrap;background:#fbf5ec;border-radius:10px;padding:12px;font-size:13px}.qa-matrix td.n{text-align:center}.qa-matrix th{text-align:center}
.cs-table td.l{white-space:normal}

.qa-issues{min-width:170px;white-space:normal}.qa-subj{min-width:240px;max-width:340px}.qa-subj .link-btn{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;margin:2px 0}

/* ---------- Home ---------- */
.home-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;background:linear-gradient(120deg,#c8102e 0%,#a00d25 100%);color:#fff;border-radius:18px;padding:26px 28px;margin-bottom:18px;box-shadow:var(--shadow)}
.home-hero h2{margin:2px 0 6px;font-size:28px;letter-spacing:-.01em;color:#fff}
.home-hero p{margin:0;font-size:14px;opacity:.92}
.home-hi{font-size:13px;letter-spacing:.06em;text-transform:uppercase;opacity:.85;font-weight:700}
.home-chain{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.home-chain span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:600}
.home-chain small{opacity:.75;font-weight:500;margin-right:6px}
.home-asof{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:8px;min-width:min(100%,360px)}
.home-asof>small{grid-column:1/-1;font-size:10.5px;letter-spacing:.12em;opacity:.8;font-weight:700}
.home-asof button{all:unset;cursor:pointer;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:9px 12px;display:flex;flex-direction:column;gap:2px}
.home-asof button:hover,.home-asof button:focus-visible{background:rgba(255,255,255,.22)}
.home-asof span{font-size:11px;opacity:.8}.home-asof b{font-size:13.5px}
.home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.home-card{margin:0;display:flex;flex-direction:column;gap:14px;border-top:3px solid var(--red)}
.home-card header{display:flex;align-items:center;gap:12px}
.home-card header>div{flex:1;min-width:0}
.home-card h3{margin:0;font-size:16px}
.home-card header small{color:var(--muted);font-size:12.5px}
.home-card h4{margin:4px 0 -6px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.home-ic{width:38px;height:38px;border-radius:11px;background:#fbe3e7;color:var(--red);display:grid;place-items:center;flex:none}
.home-ic svg{width:20px;height:20px}
.home-tag{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.04em;background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:2px 8px;margin-left:4px;color:var(--ink);white-space:nowrap}
.home-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.home-kpi{background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.home-kpi small{font-size:10px;letter-spacing:.08em;color:var(--muted);font-weight:700}
.home-kpi b{font-size:22px;color:var(--ink);line-height:1.1}
.home-kpi b i{font-style:normal;font-size:14px;color:var(--muted);font-weight:600}
.home-kpi span{font-size:11.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.home-kpi.t-g b{color:#19805b}.home-kpi.t-a b{color:#996015}.home-kpi.t-b b{color:#a00d25}
.home-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.home-list li{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid var(--line);font-size:13.5px}
.home-list li:last-child{border-bottom:0}
.home-list li>span{flex:1;min-width:0;display:flex;flex-direction:column}
.home-list li small{color:var(--muted);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-list b.t-g{color:#19805b}.home-list b.t-a{color:#996015}.home-list b.t-b{color:#a00d25}
.home-empty{color:var(--muted);font-size:13.5px;padding:14px;background:var(--cream);border-radius:12px;text-align:center}
.home-note{color:var(--muted);font-size:12px;margin:0}
.home-attn{margin-bottom:18px}
.home-attn ul{list-style:none;margin:0;padding:0}
.home-attn li{display:flex;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid var(--line);font-size:14px}
.home-attn li:last-child{border-bottom:0}
.home-attn li>span{flex:1;min-width:0}
.home-attn li i{width:9px;height:9px;border-radius:50%;flex:none;background:#996015}
.home-attn li.t-b i{background:var(--red)}
.home-attn .link-btn{white-space:nowrap;font-size:12.5px}
.home-team .home-note{margin:-6px 0 10px}
@media(max-width:1100px){.home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.home-grid{grid-template-columns:1fr}}
@media(max-width:700px){.home-hero{padding:20px 18px}.home-hero h2{font-size:23px}.home-asof{grid-template-columns:1fr 1fr;min-width:0;width:100%}.home-attn li{flex-wrap:wrap}.home-attn .link-btn{margin-left:21px}}
@media print{.home-hero{background:#c8102e!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.home-grid{grid-template-columns:1fr 1fr}}
.home-own{font-style:normal;font-size:10.5px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:1px 7px;color:var(--muted)}
.home-hero small,.home-hero span{color:#fff}.home-chain small{opacity:.78}.home-asof>small{opacity:.85}
.home-list .delta{flex:none;grid-column:auto}.home-list li>b{min-width:58px;text-align:right}
@media(max-width:700px){.home-attn li{display:grid;grid-template-columns:9px 1fr;row-gap:4px}.home-attn .link-btn{grid-column:2;justify-self:start;margin-left:0}}
.page-quote{margin:8px 0 0;display:flex;gap:8px;align-items:flex-start;max-width:760px;color:var(--muted);font-size:15px;line-height:1.5;cursor:pointer;transition:opacity .38s ease,transform .38s ease}
.page-quote i{font-style:normal;font-size:30px;line-height:.9;color:var(--red);font-family:Georgia,serif}
.page-quote span{font-style:italic}
.page-quote.fade{opacity:0;transform:translateY(4px)}
@media print{.page-quote{display:none!important}}

/* ---------- Online now + chat ---------- */
body.chat-on #toast{bottom:92px}
.chat-wrap{position:fixed;right:20px;bottom:20px;z-index:150;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-size:14px}
.chat-fab{display:inline-flex;align-items:center;gap:10px;background:var(--red);color:#fff;border:0;border-radius:999px;padding:10px 16px 10px 12px;box-shadow:0 10px 30px rgba(200,16,46,.35);cursor:pointer;position:relative;font-weight:700}
.chat-fab:hover{filter:brightness(1.05)}.chat-fab:focus-visible{outline:3px solid #2b1a14;outline-offset:2px}
.chat-fab svg{width:26px;height:26px}
.chat-live{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.16);border-radius:999px;padding:4px 10px;font-size:12.5px}
.chat-live i,.dot{width:8px;height:8px;border-radius:50%;background:#3ad07a;box-shadow:0 0 0 2px rgba(58,208,122,.25);display:inline-block}
.dot.inline{margin-right:6px;vertical-align:1px}
.chat-fab .chat-badge{position:absolute;top:-6px;left:-6px}
.chat-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#2b1a14;color:#fff;font-size:11px;font-weight:800;line-height:1}
.chat-pop{all:unset;cursor:pointer;max-width:300px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--red);border-radius:12px;padding:10px 14px;box-shadow:0 10px 30px rgba(43,26,20,.15);display:flex;flex-direction:column;gap:2px;animation:chatIn .25s ease}
.chat-pop b{font-size:13px;color:var(--ink)}.chat-pop span{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-panel{width:380px;height:min(600px,calc(100vh - 120px));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px rgba(43,26,20,.22);display:flex;flex-direction:column;overflow:hidden;animation:chatIn .2s ease}
@keyframes chatIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.chat-head{display:flex;align-items:center;gap:10px;padding:14px 14px 12px 16px;background:linear-gradient(120deg,#c8102e,#a00d25);color:#fff}
.chat-head .chat-who b{color:#fff;font-size:15px}.chat-head .chat-who small{color:rgba(255,255,255,.85)}
.chat-x,.chat-back{all:unset;cursor:pointer;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;font-size:22px;line-height:1;color:#fff}
.chat-x:hover,.chat-back:hover{background:rgba(255,255,255,.16)}
.chat-tabs{display:flex;border-bottom:1px solid var(--line);background:var(--cream)}
.chat-tabs button{all:unset;cursor:pointer;flex:1;text-align:center;padding:11px 8px;font-weight:700;font-size:13px;color:var(--muted);border-bottom:2px solid transparent;display:flex;align-items:center;justify-content:center;gap:6px}
.chat-tabs button.on{color:var(--red);border-bottom-color:var(--red)}
.chat-tabs button span{font-size:11px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:1px 7px;color:var(--ink)}
.chat-subhead{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px}
.chat-scroll{flex:1;overflow-y:auto;padding:6px 14px 12px;overscroll-behavior:contain}
.chat-scroll h5{margin:14px 0 6px;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.chat-none{color:var(--muted);font-size:13px;text-align:center;padding:18px 8px;margin:0}
.chat-people,.chat-rooms{list-style:none;margin:0;padding:0}
.chat-people li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}
.chat-people li:last-child{border-bottom:0}
.chat-people.pick li,.chat-rooms li{padding:0}
.chat-people.pick button,.chat-rooms button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:10px 6px;border-radius:10px}
.chat-people.pick button:hover,.chat-rooms button:hover,.chat-people.pick button:focus-visible,.chat-rooms button:focus-visible{background:var(--cream)}
.chat-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.chat-who b{font-size:13.5px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-who b em{font-style:normal;font-size:10px;font-weight:700;background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:1px 6px;margin-left:4px;color:var(--muted);vertical-align:1px}
.chat-who b em.adm{background:#fbe3e7;border-color:#f3c3cc;color:var(--red)}
.chat-who small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-where{display:flex;align-items:center;gap:5px;font-size:11.5px;color:#19805b;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-where svg{width:13px;height:13px;flex:none}
.chat-av{position:relative;flex:none;width:38px;height:38px;border-radius:50%;background:#f1e6d6;color:var(--ink);display:grid;place-items:center;font-weight:800;font-size:13px}
.chat-av.adm{background:#fbe3e7;color:var(--red)}
.chat-av.all{background:var(--red);color:#fff}.chat-av.all svg{width:20px;height:20px}
.chat-av.sm{width:32px;height:32px;background:rgba(255,255,255,.2)}
.chat-head .chat-av{width:34px;height:34px;background:rgba(255,255,255,.2);color:#fff}
.chat-av .dot{position:absolute;right:0;bottom:0;border:2px solid #fff;width:10px;height:10px;box-shadow:none}
.chat-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.chat-meta small{font-size:11px;color:var(--muted)}
.chat-meta .chat-badge{background:var(--red)}
.chat-foot{padding:12px 14px;border-top:1px solid var(--line)}.chat-foot button{width:100%}
.chat-search{padding:10px 14px 4px}.chat-search input{width:100%;box-sizing:border-box}
.chat-log{background:#fbf7f1;padding-top:10px}
.chat-day{text-align:center;margin:10px 0}.chat-day span{font-size:11px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 10px}
.chat-msg{display:flex;flex-direction:column;align-items:flex-start;margin:3px 0 7px;max-width:84%}
.chat-msg.mine{align-items:flex-end;margin-left:auto}
.chat-from{font-size:11.5px;font-weight:700;color:var(--red);margin:4px 0 2px 4px}
.chat-bub{background:#fff;border:1px solid var(--line);border-radius:14px 14px 14px 4px;padding:8px 12px;white-space:pre-wrap;word-break:break-word;line-height:1.45;color:var(--ink)}
.chat-msg.mine .chat-bub{background:var(--red);border-color:var(--red);color:#fff;border-radius:14px 14px 4px 14px}
.chat-at{font-size:10.5px;color:var(--muted);margin:2px 4px 0}.chat-at .link-btn{font-size:10.5px;padding:0;color:var(--muted)}
.chat-send{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--line);background:#fff}
.chat-send textarea{flex:1;resize:none;min-height:40px;max-height:120px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit;font-size:14px;box-sizing:border-box}
.chat-send textarea:focus{outline:2px solid #f3c3cc;border-color:var(--red)}
.chat-send button{height:40px}
.chat-hint{margin:0;padding:0 14px 10px;font-size:11px;color:var(--muted);background:#fff}
@media(max-width:700px){.chat-wrap{right:12px;bottom:12px;left:12px;align-items:flex-end}.chat-panel{width:100%;height:calc(100vh - 100px);height:calc(100dvh - 100px)}.chat-live{font-size:12px}.chat-fab{padding:9px 14px 9px 10px}.chat-pop{max-width:calc(100vw - 24px)}}
@media print{.chat-wrap{display:none!important}}
.chat-wrap{pointer-events:none}.chat-wrap>*{pointer-events:auto}
.chat-fab.is-open{background:#2b1a14;box-shadow:0 10px 30px rgba(43,26,20,.3)}
@media(max-width:700px){.chat-panel{height:calc(100dvh - 110px)}}

/* ---------- Training Report: Excel report method ---------- */
.trs-kpis .trs-kpi.t-g .metric{color:#19805b}.trs-kpis .trs-kpi.t-a .metric{color:#996015}.trs-kpis .trs-kpi.t-b .metric{color:#a00d25}
.trs-note{margin:-6px 0 14px}
.trs-dist{display:flex;height:26px;border-radius:999px;overflow:hidden;background:var(--cream);border:1px solid var(--line)}
.trs-dist i{display:block;height:100%}
.trs-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px;font-size:13px;color:var(--muted)}
.trs-legend span{display:inline-flex;align-items:center;gap:6px}.trs-legend b{color:var(--ink)}
.trs-legend i{width:11px;height:11px;border-radius:3px;display:inline-block}
.trs-score{margin-left:auto;font-size:18px;padding:4px 12px;border-radius:10px}
.trs-score.cs-g{color:#19805b}.trs-score.cs-a{color:#996015}.trs-score.cs-b{color:#a00d25}
.trs-table td.l small{display:block;color:var(--muted);font-size:11.5px;font-weight:400}
.trs-off td{color:var(--muted)}
.trs-table td.c{text-align:center;padding-left:4px;padding-right:4px}
.trs-grid th{font-size:10px;padding-left:5px;padding-right:5px;white-space:nowrap}
.trs-grid td{padding-top:7px;padding-bottom:7px}
.trs-grid td.l .link-btn{padding:0;text-align:left}
.trs-chip,.trs-st{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;font-size:12px;font-weight:800;line-height:1}
.trs-chip.s-pass,.trs-st.s-pass{background:#e4f2ea;color:#19805b}
.trs-chip.s-pending,.trs-st.s-pending{background:#fbe3e7;color:#a00d25}
.trs-chip.s-done{background:#e8eef8;color:#3c5a8a}
.trs-chip.s-na,.trs-chip.s-x,.trs-st.s-na{background:#f4efe8;color:#b3a69b}
.trs-st.s-trained{background:#fdf1dc;color:#996015}
.trs-key{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px;font-size:12px;color:var(--muted)}
.trs-key>span{display:inline-flex;align-items:center;gap:6px}
.trs-new{color:var(--red);font-weight:700}
.trs-cp{white-space:nowrap}.trs-cp i{font-style:normal;color:var(--muted);font-size:11px}.trs-cp.has-p i{color:#a00d25}
.trs-wide th{font-size:10px;white-space:nowrap}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}
.seg button{border:0;border-radius:0;background:transparent;padding:7px 12px;font-size:12.5px;font-weight:600;color:var(--muted);box-shadow:none}
.seg button.on{background:var(--red);color:#fff}
.trs-grid td{vertical-align:middle}.trs-grid td.l{max-width:230px;white-space:normal}.trs-grid td.l .link-btn b{font-size:13px}.trs-grid td.l small{margin-top:2px}.trs-grid .cs-table th.l,.trs-grid th.l{min-width:0}

/* Home v2 */
.home-kpis.k3{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-stores li{padding:0}
.home-stores button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:10px 6px;border-radius:10px}
.home-stores button:hover,.home-stores button:focus-visible{background:var(--cream)}
.home-stores button>span:first-child{flex:1;min-width:0;display:flex;flex-direction:column}
.home-chips{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}
.home-chips em{font-style:normal;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;background:var(--cream);border:1px solid var(--line);white-space:nowrap}
.home-chips em.t-g{color:#19805b}.home-chips em.t-a{color:#996015}.home-chips em.t-b{color:#a00d25;background:#fbe3e7;border-color:#f3c3cc}
.home-list li.home-flag{background:#fdf2f4;border-radius:10px;padding:9px 10px;border-bottom:0;margin:2px 0}
.home-attn li.t-g i{background:#19805b}.home-attn li.t-n i{background:#cbbfb3}
.home-row{cursor:pointer}.home-row:hover td{background:#fff8f1}
.home-sc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:14px 0}
.home-sc{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:8px}
.home-sc header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.home-sc-score{font-size:22px;font-weight:800}.home-sc-score.t-g{color:#19805b}.home-sc-score.t-a{color:#996015}.home-sc-score.t-b{color:#a00d25}
.home-sc p{margin:0;font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.home-sc ul{margin:0;padding-left:16px;font-size:13px;display:flex;flex-direction:column;gap:6px}
.home-sc ul small{display:block;color:var(--muted);font-size:11px}
@media(max-width:700px){.home-kpis.k3{grid-template-columns:1fr 1fr}}

/* Home v3: cleaner tiles, bars, visit view */
.home-card{gap:16px;padding:22px}
.home-kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 14px 12px;gap:6px;box-shadow:0 1px 0 rgba(43,26,20,.03)}
.home-kpi small{font-size:9.5px;line-height:1.35;min-height:2.7em;letter-spacing:.07em}
.home-kpi b{font-size:26px;letter-spacing:-.01em}
.home-kpi span{font-size:11.5px;line-height:1.35}
.home-bar{height:5px;border-radius:99px;background:#f1e6d6;overflow:hidden}
.home-bar i{display:block;height:100%;border-radius:99px;background:#996015}
.home-kpi.t-g .home-bar i{background:#20744a}.home-kpi.t-b .home-bar i{background:#c8102e}
.home-kpi.t-g{border-color:#cfe6d9}.home-kpi.t-b{border-color:#f3c3cc}
.home-stores li{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:10px 4px}
.home-stores .home-st-main{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;border-radius:10px;padding:4px 6px}
.home-stores .home-st-main:hover,.home-stores .home-st-main:focus-visible{background:var(--cream)}
.home-stores .home-st-main>span{flex:1;min-width:0;display:flex;flex-direction:column}
.home-stores .home-st-main b{font-size:16px}
.home-chips{justify-content:flex-start;padding:0 6px}
.home-chips button{all:unset;cursor:pointer;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--cream);border:1px solid var(--line);white-space:nowrap}
.home-chips button:hover,.home-chips button:focus-visible{border-color:var(--ink)}
.home-chips button.t-g{color:#19805b;background:#eef7f1;border-color:#cfe6d9}.home-chips button.t-a{color:#996015;background:#fdf6ea;border-color:#f1dfbd}.home-chips button.t-b{color:#a00d25;background:#fbe3e7;border-color:#f3c3cc}
.home-team .cs-table td,.home-team .cs-table th{padding-top:11px;padding-bottom:11px}
dialog.hv-dialog{max-width:860px;width:calc(100vw - 32px)}
.hv-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-right:90px}
.hv-head h2{margin:2px 0 4px}.hv-head .eyebrow{margin:0}
.hv-score{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.hv-score b{font-size:34px;line-height:1}.hv-score.t-g b{color:#19805b}.hv-score.t-a b{color:#996015}.hv-score.t-b b{color:#a00d25}
.hv-score span{font-size:12px;display:flex;gap:4px;align-items:center}
.hv-counts{display:flex;gap:8px;margin:14px 0}
.hv-counts span{background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:12.5px}
.hv-counts span.no{background:#fbe3e7;border-color:#f3c3cc;color:#a00d25}
.hv-gaps{background:#fdf2f4;border:1px solid #f3c3cc;border-radius:14px;padding:14px 16px;margin-bottom:14px}
.hv-gaps h3,.hv-all{font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px;color:var(--ink)}
.hv-all{margin-top:18px}
.hv-gaps ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px}
.hv-gaps li small{display:block;color:var(--muted);font-size:11px}
.hv-gaps li b{font-weight:600;font-size:14px}
.hv-gaps li em{display:block;font-style:normal;font-size:12.5px;color:#a00d25;margin-top:2px}
.hv-clean{background:#eef7f1;border:1px solid #cfe6d9;color:#19805b;border-radius:12px;padding:12px 14px}
.hv-cat{border:1px solid var(--line);border-radius:12px;margin-bottom:8px;background:#fff}
.hv-cat summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;padding:11px 14px;list-style:none}
.hv-cat summary::-webkit-details-marker{display:none}
.hv-cat summary span{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}
.hv-cat summary em.no{font-style:normal;color:#a00d25;font-weight:700}
.hv-cat ul{list-style:none;margin:0;padding:0 14px 8px}
.hv-cat li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:13.5px}
.hv-cat li small{display:block;color:var(--muted);font-size:12px}
.hv-cat li.is-no>span{color:#a00d25}
.hv-chip{flex:none;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;height:fit-content;background:var(--cream)}
.hv-chip.s-yes{background:#e4f2ea;color:#19805b}.hv-chip.s-no{background:#fbe3e7;color:#a00d25}.hv-chip.s-na{background:#f4efe8;color:#8f8278}
.hv-chip.s-text{max-width:45%;white-space:normal;font-weight:500}
@media(max-width:700px){.hv-head{flex-direction:column;padding-right:0}.hv-score{align-items:flex-start;text-align:left}}
.home-stores .home-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 6px}.home-stores .home-chips button{display:inline-block;width:auto;flex:none;padding:3px 10px;box-sizing:border-box}
.home-list.home-stores li>span.home-chips{flex-direction:row;align-items:center;flex:none}
.home-kpi.home-soon{background:var(--cream);border-style:dashed}.home-kpi.home-soon b{color:var(--muted)}

/* Home v4: wide visits card, insights, drill-down lists */
.home-card.home-wide{grid-column:1/-1}
.hi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hi-divider{display:flex;align-items:center;gap:12px;margin:2px 0}.hi-divider:before,.hi-divider:after{content:"";flex:1;height:1px;background:var(--line)}
.hi-divider span{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700;white-space:nowrap}
.hi-box{border:1px solid var(--line);border-radius:12px;padding:11px 12px;display:flex;flex-direction:column;gap:5px;min-height:78px;background:#fff;min-width:0}
.hi-box small{font-size:9.5px;letter-spacing:.08em;font-weight:700;color:var(--muted)}
.hi-box>span{font-size:11.5px;color:var(--muted)}
.hi-row{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.hi-row b{font-size:13.5px;line-height:1.3}.hi-row em{font-style:normal;font-weight:800;font-size:13.5px;flex:none}
.hi-strong{background:#f6fbf8;border-color:#cfe6d9}.hi-strong em{color:#19805b}
.hi-weak{background:#fef7f8;border-color:#f3c3cc}.hi-weak em{color:#a00d25}
.hi-pend em{color:#996015}
.hi-dev{min-height:128px}.hi-dev p{margin:0;font-size:12.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hi-soon{background:var(--cream);border-style:dashed}.hi-soon b,.hi-soon p{color:var(--muted)}
.hi-link{all:unset;cursor:pointer;margin-top:auto;font-size:12px;color:var(--muted);width:fit-content}
.hi-link:hover,.hi-link:focus-visible{text-decoration:underline;color:var(--ink)}
.home-kpi .hi-link{margin-top:0;font-size:11.5px}
.hi-stations{border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.hi-stations small{font-size:9.5px;letter-spacing:.08em;font-weight:700;color:var(--muted)}
.hi-stations .trs-legend{margin-top:0;font-size:12px}
.home-card:not(.home-wide) .hi-grid .hi-row{flex-direction:column;align-items:flex-start;gap:2px}
.hl-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding-right:90px}.hl-top h2{margin:4px 0 6px;font-size:20px;line-height:1.35}.hl-top .eyebrow{margin:0}
.hl-pills{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.hl-pills span{background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:12.5px}.hl-pills span.r{background:#fbe3e7;border-color:#f3c3cc;color:#a00d25}
.hl-stores{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:0 0 12px;font-size:12.5px}.hl-stores small{font-size:9.5px;letter-spacing:.08em;font-weight:700;color:var(--muted);width:100%}.hl-stores span{background:#fdf6ea;border:1px solid #f1dfbd;border-radius:999px;padding:3px 10px}
.hl-tools{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.hl-tools input{flex:1;min-width:200px}
.hl-table{width:100%;border-collapse:collapse;font-size:13px}.hl-table th{text-align:left;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:var(--cream);padding:10px}
.hl-table td{padding:10px;border-top:1px solid var(--line);vertical-align:top}.hl-table td small{display:block;color:var(--muted);font-size:11.5px}
.hl-chip{display:inline-block;font-size:11px;font-weight:600;background:#fbe3e7;color:#a00d25;border-radius:999px;padding:2px 8px;margin:0 4px 4px 0}
.hl-click{cursor:pointer}.hl-click:hover td{background:#fff8f1}
.hl-score{font-weight:800}.hl-score.t-g{color:#19805b}.hl-score.t-a{color:#996015}.hl-score.t-b{color:#a00d25}.hl-rm{color:#a00d25;font-size:12.5px;max-width:280px}
@media(max-width:900px){.hi-grid{grid-template-columns:1fr}.hl-top{flex-direction:column;padding-right:0}}
.hi-type{font-style:normal;display:none}@media(max-width:900px){.hi-type{display:inline}.hi-subs{display:flex;flex-direction:column}}
.hl-tools{flex-wrap:nowrap}.hl-tools input{width:auto;flex:1 1 auto;min-width:0}.hl-tools select{width:auto;flex:none;max-width:240px}.hl-top #hl-pdf{white-space:nowrap;flex:none}@media(max-width:700px){.hl-tools{flex-wrap:wrap}.hl-tools select{flex:1 1 45%;max-width:none}}
.tr-tiles .tr-overall{grid-column:1/-1}.tr-tiles .tr-overall .home-kpi{background:var(--cream)}.trs-tiles{display:flex;flex-direction:column;gap:12px}
/* Tidy filter bars: one row, period first, chips under it */
.cs-bar-filters.fbar,.filters.vf-filters:not([hidden]){display:flex!important;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px}
.vf-filters .vf-top,#vf-bar{display:contents}
.fbar .msd-btn,.vf-filters .msd-btn{min-width:128px;max-width:196px;padding:6px 10px;border-radius:10px}
.fbar .msd-btn small,.vf-filters .msd-btn small{font-size:9px}.fbar .msd-btn span,.vf-filters .msd-btn span{font-size:12.5px}
.msd.per .msd-btn{background:var(--ink);border-color:var(--ink);min-width:150px}.msd.per .msd-btn small{color:rgba(255,255,255,.65)}.msd.per .msd-btn span,.msd.per.has .msd-btn span{color:#fff}.msd.per .msd-btn i{color:rgba(255,255,255,.75)}.msd.per.open .msd-btn{box-shadow:0 0 0 3px rgba(43,26,20,.15)}
.per-pop{width:310px;max-height:min(70vh,520px);overflow:auto}.per-quick{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:10px;margin-bottom:6px;border-bottom:1px solid var(--line)}.per-quick button{padding:5px 9px;font-size:11.5px;border-radius:999px}.per-quick button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.per-sec>small{display:block;margin:8px 4px 4px;font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.per-sec .msd-list{max-height:none}
.f-sep{width:1px;align-self:stretch;min-height:30px;background:var(--line);margin:0 4px}
.f-reset{margin-left:auto;background:none!important;border:0!important;color:var(--red)!important;font-weight:800;padding:6px 8px!important;box-shadow:none!important}.f-reset:hover{text-decoration:underline}
.f-foot{flex-basis:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;order:20}.f-foot:empty{display:none}.cs-bar-filters.fbar .cs-legend-scale{position:static;margin-left:auto}
.f-chips{display:flex;flex-wrap:wrap;gap:6px}.f-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 4px 3px 10px;border-radius:999px;background:var(--cream);border:1px solid var(--line);font-size:12px;font-weight:700;color:var(--ink)}.f-chip small{font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.f-chip button{width:20px;height:20px;padding:0;border-radius:50%;border:0;background:#fff;color:var(--muted);font-size:14px;line-height:1;display:grid;place-items:center}.f-chip button:hover{background:var(--red);color:#fff}
.f-hint{font-size:12px}.f-label{font-size:9.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.vf-filters #type-filter{order:5;display:grid!important;gap:1px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:150px!important;width:auto!important;font-size:9px;font-weight:800;letter-spacing:.08em;color:var(--muted)}
.vf-filters #type-filter[hidden]{display:none!important}.vf-filters #type-filter select{border:0;padding:0;margin:0;height:auto;background:transparent;font-size:12.5px;font-weight:700;color:var(--ink);text-transform:none;letter-spacing:0;box-shadow:none;min-width:0}
.vf-filters #reset{order:6}.vf-filters .f-foot{order:20}.vf-filters .vf-sep2{order:4}
.tr-filters .tr-inactive{font-size:11.5px}
@media(max-width:700px){.f-sep{display:none}.fbar .msd,.vf-filters .msd,.vf-filters #type-filter{flex:1 1 calc(50% - 8px);min-width:0!important}.fbar .msd-btn,.vf-filters .msd-btn{min-width:0;max-width:none;width:100%}.msd.per{flex-basis:100%!important}.f-reset{margin-left:0}}
/* Home: area filters and a period per card */
.home-filters{margin-bottom:16px}
.home-card header .home-per{flex:none;max-width:180px;padding:6px 26px 6px 10px;border-radius:10px;border:1px solid var(--line);background-color:#fff;font-size:12px;font-weight:700;color:var(--ink);cursor:pointer}
.home-bw{margin-top:8px;padding-top:7px;border-top:1px dashed var(--line);display:grid;gap:3px}
.home-bw p{display:grid;grid-template-columns:12px auto minmax(0,1fr) auto;gap:5px;align-items:center;margin:0;font-size:11px;line-height:1.35}
.home-bw p i{font-style:normal;font-size:9px}.home-bw p span{font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.home-bw p b{font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-bw p em{font-style:normal;font-weight:800}
.home-bw .g i,.home-bw .g em{color:#20744a}.home-bw .b i,.home-bw .b em{color:#c8102e}
@media(max-width:700px){.home-card header{flex-wrap:wrap}.home-card header .home-per{order:3;flex:1 1 100%;max-width:none}}
[data-home-card=cs] .home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-bw p{grid-template-columns:12px minmax(0,1fr) auto;row-gap:1px}.home-bw p b{grid-column:2/4;grid-row:2;font-size:11.5px}
.home-kpi .home-bw p b{color:var(--ink)!important;font-size:11.5px!important;font-weight:600!important}
.fbar .msd-btn small,.vf-filters .msd-btn small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vf-filters #type-filter select{padding:0 18px 0 0!important;height:auto!important;min-height:0!important;width:auto!important;max-width:240px;line-height:1.3;border:0!important;background-color:transparent!important}.vf-filters #type-filter{padding:6px 10px!important;max-width:280px}
/* Login, refreshed: one brand panel, four equal workspace tiles, a calmer sign-in card */
.login-shell:not([hidden]){grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);background:#f6efe5}
.login-brand.lb2{justify-content:space-between;gap:34px;padding:clamp(32px,6vh,64px) clamp(28px,5.5vw,84px);background:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.2px) 0 0/22px 22px,radial-gradient(900px 520px at 8% -10%,rgba(255,92,112,.55),transparent 62%),radial-gradient(700px 520px at 110% 110%,rgba(43,10,14,.55),transparent 60%),linear-gradient(155deg,#cf1230 0%,#a90c25 52%,#74061a 100%)}
.lb2:before{width:760px;height:760px;right:-330px;bottom:-330px;border-color:rgba(255,255,255,.12)}.lb2:after{width:470px;height:470px;right:-170px;bottom:-170px;border-color:rgba(255,255,255,.16)}
.lb2-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.lb2 .brand-mark{width:76px;height:76px;margin:0;border-radius:20px}
.lb2-live{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);font-size:11.5px;font-weight:700;letter-spacing:.02em;color:#fff;backdrop-filter:blur(6px)}
.lb2-live i{width:8px;height:8px;border-radius:50%;background:#5fe0a0;box-shadow:0 0 0 4px rgba(95,224,160,.22)}
.lb2-main .kicker{display:inline-block;color:#ffd5db}
.lb2-main h2{font-size:clamp(40px,4.6vw,64px)!important;line-height:1.02!important;margin:14px 0 16px!important;max-width:560px}
.lb2-main p{max-width:440px;font-size:15.5px;line-height:1.65;color:#ffe1e5;margin:0}
.lb2-label{display:block;margin-bottom:12px;font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#ffc9d1}
.login-brand .ls-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:600px}
.login-brand .ls-grid li{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center;padding:16px;border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.15),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px);transition:transform .2s,background .2s}
.login-brand .ls-grid li:hover{transform:translateY(-2px);background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.09))}
.login-brand .ls-grid .ls-icon{grid-row:1/3;width:40px;height:40px;border-radius:12px;background:#fff;color:#c8102e;box-shadow:0 8px 18px rgba(60,4,15,.25)}
.login-brand .ls-grid b{font-size:14px;font-weight:700;color:#fff;line-height:1.25}.login-brand .ls-grid small{font-size:12px;line-height:1.4;color:#ffd5db}
.lb2 .art-foot{margin:0}
.login-panel{position:relative;align-content:center;gap:18px;background:radial-gradient(600px 400px at 100% 0%,rgba(200,16,46,.06),transparent 70%),#f6efe5}
.login-card{position:relative;border-radius:28px!important;border:1px solid #ecdfcf!important;box-shadow:0 1px 0 #fff inset,0 40px 90px -30px rgba(43,26,20,.28),0 12px 30px -12px rgba(43,26,20,.12)!important;overflow:hidden}
.login-card:before{content:'';position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#c8102e,#e2455e 60%,#c8102e)}
.login-card .logo{width:156px}.login-card h1{font-size:36px!important;letter-spacing:-.03em}
.login-card input{border-radius:14px!important;border:1.5px solid #eadccb!important;transition:border-color .15s,box-shadow .15s}.login-card input:focus{border-color:#c8102e!important;box-shadow:0 0 0 4px rgba(200,16,46,.12)!important;background:#fff!important}
.login-card form>button.primary{border-radius:14px;box-shadow:0 12px 24px -10px rgba(200,16,46,.6);transition:transform .15s,box-shadow .15s}.login-card form>button.primary:hover{transform:translateY(-1px);box-shadow:0 16px 28px -10px rgba(200,16,46,.65)}
.login-foot{margin:0;text-align:center;font-size:11.5px;color:#9a8b80;letter-spacing:.02em}
@media(max-width:900px){.login-brand.lb2{gap:24px;padding:30px 22px 34px}.lb2-main h2{font-size:36px!important}.login-panel{padding:28px 16px 18px}}
@media(max-width:520px){.login-brand .ls-grid{grid-template-columns:1fr 1fr;gap:8px}.login-brand .ls-grid li{grid-template-columns:1fr;padding:12px}.login-brand .ls-grid .ls-icon{grid-row:auto;width:34px;height:34px;margin-bottom:6px}.login-brand .ls-grid small{display:none}.lb2 .brand-mark{width:60px;height:60px}.lb2-live{font-size:10.5px;padding:6px 10px}}
.lb2-top{max-width:600px}.login-brand .ls-grid li{align-content:center}
/* Login (Operations Management System): dark preview panel on the left, sign-in on the right */
.l2:not([hidden]){display:grid;grid-template-columns:56% 44%;min-height:100vh;background:#fff}
.l2-side{position:relative;overflow:hidden;color:#fff;padding:64px;background:radial-gradient(700px 500px at 100% 0%,rgba(200,16,46,.45),transparent 60%),radial-gradient(rgba(255,255,255,.05) 1px,transparent 1.2px) 0 0/22px 22px,linear-gradient(160deg,#3a2219,#21130e)}
.l2-kicker,.l2-eyebrow{display:block;font-size:10.5px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.l2-kicker{color:#ff9fae}.l2-eyebrow{color:#c8102e}
.l2-side h2{font:800 clamp(30px,2.9vw,42px)/1.08 Inter,Arial,sans-serif;letter-spacing:-.035em;margin:12px 0;max-width:520px}
.l2-side>p{color:#e7d7cc;max-width:470px;margin:0;font-size:15px;line-height:1.6}
.l2-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;max-width:600px}
.l2-chips span{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);font-size:12px;font-weight:600}
.l2-chips svg{width:15px;height:15px;color:#ff9fae}
.l2-board{position:absolute;left:64px;right:-80px;bottom:-30px;height:min(470px,48vh);background:#f7f1e8;border-radius:22px 0 0 0;padding:22px;box-shadow:0 -20px 60px rgba(0,0,0,.35);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto 1fr;gap:14px;color:#2b1a14}
.l2-tile{background:#fff;border-radius:16px;padding:16px;box-shadow:0 0 0 1px #efe3d4;min-height:0;overflow:hidden}
.l2-tile small{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;letter-spacing:.1em;color:#8a7b70;text-transform:uppercase}.l2-tile small svg{width:15px;height:15px;color:#c8102e}
.l2-sk{display:block;height:10px;border-radius:6px;background:#efe3d4;margin-top:10px}.l2-big{width:60%;height:22px;background:#2b1a14;opacity:.85}.l2-g{width:50%;background:#20744a}.l2-w70{width:70%}.l2-w80{width:80%}.l2-w55{width:55%}
.l2-bar{height:8px;border-radius:9px;background:#f1e6d6;margin-top:14px;overflow:hidden}.l2-bar i{display:block;height:100%;width:78%;border-radius:9px;background:#d9a441}
.l2-ring{width:96px;height:96px;border-radius:50%;background:conic-gradient(#20744a 0 68%,#f1e6d6 0);display:grid;place-items:center;margin:16px auto 0}.l2-ring:after{content:'';width:68px;height:68px;border-radius:50%;background:#fff}
.l2-chart{grid-column:1/3;display:flex;align-items:flex-end;gap:10px;padding-top:30px}.l2-chart i{flex:1;border-radius:8px 8px 3px 3px;background:linear-gradient(#e2455e,#c8102e)}.l2-chart i:nth-child(odd){background:linear-gradient(#e9c9a6,#d9a441)}
.l2-form{position:relative;display:flex;flex-direction:column;padding:56px 72px}
.l2-logo{position:absolute;top:40px;right:48px;height:92px;width:auto}
.l2-mid{margin:auto 0;max-width:400px;width:100%}
.l2-mid h1{font:800 38px/1.08 Inter,Arial,sans-serif;letter-spacing:-.035em;margin:14px 0 10px;color:#2b1a14}
.l2-sub{color:#7a6a5f;margin:0 0 30px;font-size:15px;line-height:1.55}
.l2 .l2-steps{display:none}
.l2 form label{display:block;font-size:12.5px;font-weight:600;color:#2b1a14}
.l2 form input{display:block;width:100%;margin-top:7px;min-height:52px;border-radius:14px;border:1.5px solid #eadccb;background:#fffaf3;padding:0 16px;font-size:15px;transition:border-color .15s,box-shadow .15s}
.l2 form input:focus{outline:none;border-color:#c8102e;box-shadow:0 0 0 4px rgba(200,16,46,.12);background:#fff}
.l2 form>button.primary{width:100%;margin-top:14px;min-height:52px;border-radius:14px;font-size:15px;font-weight:700;box-shadow:0 14px 26px -12px rgba(200,16,46,.7)}
.l2 .code-links{display:flex;justify-content:space-between;margin-top:14px}
.l2 #login-message{margin:14px 0 0;font-size:13px}.l2 #login-message:empty{display:none}
.l2-note{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:#8a7b70;margin-top:18px;line-height:1.5}.l2-note svg{width:16px;height:16px;flex:none;margin-top:1px}
.l2-foot{margin:0;font-size:11.5px;color:#a3958a}
@media(max-width:1100px){.l2-side{padding:48px 40px}.l2-board{left:40px}.l2-form{padding:48px 44px}.l2-logo{right:32px;top:28px;height:76px}}
@media(max-width:860px){.l2:not([hidden]){grid-template-columns:1fr}.l2-form{order:-1;padding:28px 22px 30px;min-height:auto}.l2-logo{position:static;height:72px;align-self:flex-end;margin-bottom:6px}.l2-mid{margin:0 auto;max-width:460px}.l2-mid h1{font-size:32px}.l2-foot{text-align:center;margin-top:24px}
 .l2-side{padding:34px 22px 30px}.l2-board{display:none}.l2-side h2{font-size:28px}}
.home-cell{cursor:pointer;text-decoration:underline dotted rgba(43,26,20,.35);text-underline-offset:3px}.home-cell:hover{outline:2px solid var(--red);outline-offset:-2px}.home-team .cs-s .ar{margin-left:4px;font-size:9px;opacity:.55}.home-team .cs-s.act .ar{opacity:1}
/* Top / Needs Focus under the CS tiles: one tinted row each, name on its own line */
.home-kpi .home-bw{border-top:0;padding-top:0;margin-top:12px;gap:6px}
.home-kpi .bw-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px}
.home-kpi .bw-row.g{background:#eef7f1}.home-kpi .bw-row.b{background:#fdf0f2}
.home-kpi .bw-row>div{min-width:0;display:grid;gap:1px}
.home-kpi .bw-row span{font-size:9.5px!important;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#20744a!important}.home-kpi .bw-row.b span{color:#c8102e!important}
.home-kpi .bw-row b{font-size:12.5px!important;font-weight:700!important;color:var(--ink)!important;line-height:1.3;white-space:normal;overflow:visible}
.home-kpi .bw-row small{font-size:11px!important;font-weight:500;color:var(--muted)!important;line-height:1.3}
.home-kpi .bw-row em{flex:none;font-style:normal;font-size:15px;font-weight:800;color:#20744a}.home-kpi .bw-row.b em{color:#c8102e}
.home-kpi .bw-row small{letter-spacing:0!important;text-transform:none!important}
/* Users & Permissions: dashboards chips, Administration access, bulk bar */
.dchips{display:flex;gap:4px;flex-wrap:wrap}.dchip{display:inline-flex;align-items:center;gap:4px;padding:4px 9px!important;min-height:0!important;border-radius:999px!important;font-size:11.5px!important;font-weight:700;border:1.5px solid #e6d7c4!important;background:#fff!important;color:#a3958a!important;box-shadow:none!important;cursor:pointer}
.dchip.on{background:#2b1a14!important;border-color:#2b1a14!important;color:#fff!important}.dchip.on:before{content:'✓';font-size:10px}.dchip:disabled{cursor:default;opacity:.75}
.dchips.big .dchip{padding:7px 13px!important;font-size:12.5px!important}
.dash-bulk{display:none;align-items:center;gap:8px;flex-wrap:wrap;background:#2b1a14;color:#fff;border-radius:12px;padding:9px 12px;margin:0 0 12px}.dash-bulk.show{display:flex}.dash-bulk>span{opacity:.75;font-size:12.5px}
.dash-bulk .dchip{background:transparent!important;border-color:rgba(255,255,255,.35)!important;color:#f1e6d6!important}.dash-bulk .dchip.on{background:#fff!important;color:#2b1a14!important;border-color:#fff!important}.dash-bulk #dash-apply{margin-left:auto}
.rt-cell{font-size:12.5px;white-space:nowrap}.rt-cell small{color:var(--muted);font-size:10.5px}.not-placed{color:var(--red);font-weight:700;font-size:12px}
.scope-cell{font-size:12px;color:var(--muted);line-height:1.5}.own-tag{color:var(--red)}.adm-tag{display:inline-block;margin-top:2px;padding:1px 7px;border-radius:999px;background:#fdecef;color:var(--red);font-weight:700;font-size:10.5px}
.perm-box{border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:16px 0}.perm-box h3{margin:0 0 4px}.perm-box>p{margin:0 0 10px}
.grant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.grant-grp{grid-column:1/-1;font-size:9.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:4px}
.grant{display:flex!important;gap:10px;align-items:flex-start;padding:10px 12px;border:1.5px solid #eee3d5;border-radius:12px;cursor:pointer;text-transform:none!important;letter-spacing:0!important;font-size:inherit!important}.grant.on{border-color:var(--red);background:#fff7f8}
.grant input{margin-top:2px;accent-color:#c8102e}.grant b{display:block;font-size:12.5px;color:var(--ink)}.grant small{color:var(--muted);font-size:11px;font-weight:500}
.grant-lock{margin-top:10px;background:var(--cream);border-radius:12px;padding:9px 12px;color:#7a6a5f;font-size:12px}
@media(max-width:700px){.grant-grid{grid-template-columns:1fr}}
/* Org Chart: people tree */
.org-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.org-bar input[type=search]{max-width:320px}.org-bar select{max-width:260px}
.org-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.org-head{display:grid;grid-template-columns:minmax(0,1fr) 250px 110px;gap:14px;padding:8px 12px;font-size:9.5px;font-weight:800;letter-spacing:.1em;color:var(--muted);text-transform:uppercase;background:var(--cream);border-radius:10px;margin-bottom:4px}.org-head span:last-child{text-align:right}
.org-row{display:grid;grid-template-columns:minmax(0,1fr) 250px 110px;gap:14px;align-items:center;padding:8px 12px;border-bottom:1px solid #f1e8dc}.org-row.off{opacity:.6}
.org-who{display:flex;align-items:center;gap:10px;min-width:0}.org-who b{display:block;font-size:13.5px}.org-who b em{font-style:normal;font-size:10px;font-weight:700;color:var(--muted);margin-left:4px}.org-who small{color:var(--muted);font-size:11.5px}
.org-ind{flex:none;width:calc(var(--d)*24px);align-self:stretch;position:relative}.org-row:not([style*="--d:0"]) .org-ind:after{content:'';position:absolute;right:8px;top:-8px;height:calc(50% + 8px);width:12px;border-left:1.5px solid #e2d3c0;border-bottom:1.5px solid #e2d3c0;border-bottom-left-radius:8px}
.org-av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:11.5px;color:#fff;flex:none}.g-lead{background:#2b1a14}.g-ops{background:#c8102e}.g-train{background:#996015}.g-sup{background:#20744a}
.org-sel{display:flex!important;align-items:center;gap:6px;text-transform:none!important;letter-spacing:0!important}.org-sel>span{display:none}.org-sel select{min-height:34px;font-size:12.5px;font-weight:600;width:100%}.org-sel i{font-style:normal;font-size:10px;font-weight:700;color:var(--muted);padding:2px 6px;border-radius:999px;background:var(--cream)}
.org-cnt{text-align:right;font-size:12px;line-height:1.2}.org-cnt b{display:block;font-size:13px}.org-cnt small{color:var(--muted);font-size:11px}
.org-more{display:block;margin:0;padding:7px 12px 7px calc(var(--d)*24px + 58px)!important;background:none!important;border:0!important;border-bottom:1px solid #f1e8dc!important;border-radius:0!important;color:var(--muted)!important;font-size:12px!important;text-align:left;width:100%;box-shadow:none!important;min-height:0!important}.org-more:hover{color:var(--red)!important}
.org-loose h3{margin:0 0 4px}.org-loose>p{margin:0 0 8px;font-size:12px}.org-lp{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px 8px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--line)}.org-lp .org-av{width:28px;height:28px;font-size:10px}.org-lp b{display:block;font-size:12.5px}.org-lp small{color:var(--muted);font-size:11px}.org-lp select{grid-column:1/-1;min-height:32px;font-size:12px}
.org-legend{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:var(--muted)}.org-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px;vertical-align:-1px}
@media(max-width:1100px){.org-layout{grid-template-columns:1fr}}
@media(max-width:700px){.org-head{display:none}.org-row{grid-template-columns:1fr;gap:6px}.org-cnt{text-align:left}.org-sel>span{display:inline;font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase}}
.users-table .dchips{display:grid;grid-template-columns:repeat(2,max-content);gap:3px}.users-table td:has(.dchips){min-width:170px}.users-table .dchip{padding:3px 8px!important;font-size:11px!important;justify-content:flex-start}
/* Org Chart: chosen person panel */
.org-side{display:grid;gap:16px;align-content:start;position:sticky;top:calc(var(--topbar-h,66px) + 14px)}
.org-row.sel{background:#fff7f8;box-shadow:inset 3px 0 0 var(--red)}.org-who[data-org-pick]{cursor:pointer}.org-who[data-org-pick]:hover b{color:var(--red)}
.org-panel{padding:0!important;overflow:hidden}.org-empty{padding:16px 18px!important}.org-empty p{margin:4px 0 0;font-size:12px}
.org-ptop{display:flex;gap:12px;align-items:center;background:#2b1a14;color:#fff;padding:16px 18px;position:relative}.org-ptop .org-av{width:46px;height:46px;font-size:15px;box-shadow:0 0 0 2px rgba(255,255,255,.25)}.org-ptop h3{margin:0;font-size:17px;color:#fff}.org-ptop p{margin:2px 0 0;font-size:11.5px;color:#e9d9c4;word-break:break-all}
.org-x{position:absolute;right:10px;top:10px;width:28px;height:28px;min-height:0!important;padding:0!important;border-radius:8px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;border:0!important;font-size:16px}
.org-psec{padding:12px 18px;border-bottom:1px solid #f1e8dc}.org-psec h4{margin:0 0 6px;font-size:9.5px;font-weight:800;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}.org-psec p{margin:2px 0;font-size:12px}
.org-ch{display:flex!important;gap:10px;align-items:center;width:100%;padding:5px 0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important;text-align:left;position:relative;border-radius:0!important}.org-ch+.org-ch:before{content:'';position:absolute;left:13px;top:-5px;height:10px;border-left:1.5px solid #e2d3c0}
.org-ch .org-av{width:28px;height:28px;font-size:10px}.org-ch b{display:block;font-size:12.5px;color:var(--ink)}.org-ch small{display:block;color:var(--muted);font-size:11px;font-weight:500}.org-ch:hover b{color:var(--red)}.org-ch.me b{color:var(--red)}
.org-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.org-stats div{background:var(--cream);border-radius:10px;padding:8px 10px}.org-stats b{display:block;font-size:17px}.org-stats small{color:var(--muted);font-size:10.5px}
.org-pbtns{display:flex;gap:8px;flex-wrap:wrap;padding:12px 18px}.org-pbtns button{font-size:12px;min-height:34px;padding:0 12px}
@media(max-width:1100px){.org-side{position:static}}
/* My Profile */
.profile-open{display:grid!important;gap:2px;text-align:left;width:100%;background:none!important;border:0!important;box-shadow:none!important;padding:6px 8px!important;margin:0 -8px 10px;border-radius:10px!important;cursor:pointer}.profile-open:hover{background:var(--cream)!important}.profile-open .profile-link{font-size:11px;font-weight:700;color:var(--red)}
dialog.pf-dialog{width:min(860px,calc(100vw - 32px));padding:0;border-radius:22px;overflow:hidden}dialog.pf-dialog .dialog-close{position:absolute;right:16px;top:16px;z-index:2;background:rgba(255,255,255,.16)!important;color:#fff!important;border:0!important}
.pf-hd{background:linear-gradient(150deg,#cf1230,#8f0a20);color:#fff;padding:24px 28px;display:flex;gap:18px;align-items:center}.pf-big{width:68px;height:68px;border-radius:50%;background:#fff;color:#c8102e;display:grid;place-items:center;font:800 24px Inter,Arial,sans-serif;flex:none}
.pf-hd h2{margin:0;font-size:26px;color:#fff;letter-spacing:-.02em}.pf-hd p{margin:4px 0 0;color:#ffd9df;word-break:break-word}.pf-pills{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.pf-pills span{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.16)}
.pf-bd{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:22px 28px 26px}.pf-box{border:1px solid var(--line);border-radius:16px;padding:14px 16px}.pf-box h3{margin:0 0 10px;font-size:10.5px;font-weight:800;letter-spacing:.12em;color:var(--muted);text-transform:uppercase}.pf-box p{margin:4px 0;font-size:12.5px}
.pf-kv{display:grid;grid-template-columns:120px minmax(0,1fr);gap:7px 10px;margin:0;font-size:13px}.pf-kv dt{color:var(--muted)}.pf-kv dd{margin:0;font-weight:600;word-break:break-word}
.pf-ch{display:flex;gap:10px;align-items:center;padding:5px 0;position:relative}.pf-ch+.pf-ch:before{content:'';position:absolute;left:14px;top:-5px;height:10px;border-left:1.5px solid #e2d3c0}.pf-ch .org-av{width:30px;height:30px;font-size:10.5px}.pf-ch b{display:block;font-size:12.5px}.pf-ch small{display:block;color:var(--muted);font-size:11px}.pf-ch.me b{color:var(--red)}
.pf-hint{grid-column:1/-1;margin:0;font-size:12px;color:var(--muted);background:var(--cream);border-radius:10px;padding:9px 12px}
@media(max-width:700px){.pf-bd{grid-template-columns:1fr;padding:16px}.pf-hd{padding:20px 18px;align-items:flex-start}.pf-big{width:52px;height:52px;font-size:18px}.pf-hd h2{font-size:21px}}
.org-side{position:static!important}
.rf-card{margin-top:16px}.rf-table td small{display:block;color:var(--muted);font-size:11.5px;margin-top:2px}.rf-table td{vertical-align:middle}.rf-table tr.rf-cur td{background:#f6fbf8}
/* Pictures inside avatars */
.org-av img,.chat-av img,.pf-big img,.profile-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.org-av,.chat-av{overflow:hidden}.chat-av.pic{background:#eee}
.profile-open{grid-template-columns:34px minmax(0,1fr)!important;column-gap:10px!important;align-items:center}.profile-open>strong,.profile-open>small,.profile-open>.profile-link{grid-column:2}.profile-av{grid-row:1/4;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:12px}
/* My Profile: picture and name editing */
.pf-pic{position:relative;flex:none}.pf-big{overflow:hidden}.pf-cam{position:absolute;right:-4px;bottom:-4px;width:28px;height:28px;border-radius:50%;background:#2b1a14;color:#fff;display:grid;place-items:center;font-size:13px;cursor:pointer;box-shadow:0 0 0 2px #fff;text-transform:none!important;letter-spacing:0!important}
.pf-id{min-width:0}.pf-edit{margin-left:8px;vertical-align:middle;font-size:11.5px!important;min-height:0!important;padding:3px 9px!important;border-radius:999px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;border:0!important}
.pf-name-form{display:flex;gap:6px;align-items:center;margin:2px 0 4px}.pf-name-form input{min-height:36px;max-width:300px;color:var(--ink)}.pf-name-form .small:not(.primary){background:rgba(255,255,255,.16)!important;color:#fff!important;border:0!important}
.pf-hint .link{color:var(--red);font-weight:700;background:none;border:0;padding:0;min-height:0;cursor:pointer;text-decoration:underline}
/* Org Chart: card view */
.oc-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.oc-sp{flex:1}.oc-tools input[type=search]{max-width:320px}
.oc-seg{display:inline-flex;background:#fff;border-radius:12px;padding:4px;box-shadow:0 0 0 1px var(--line)}.oc-seg button{border:0!important;background:none!important;box-shadow:none!important;padding:7px 16px!important;min-height:0!important;border-radius:9px!important;font-weight:700;color:var(--muted)}.oc-seg button.on{background:#2b1a14!important;color:#fff!important}
.oc-import{margin-bottom:16px}
.oc-crumbs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.oc-crumbs button{display:inline-flex;gap:6px;align-items:baseline;background:#fff!important;border:0!important;box-shadow:0 0 0 1px var(--line)!important;border-radius:999px!important;padding:5px 12px!important;min-height:0!important;font-weight:700;font-size:12.5px}.oc-crumbs button small{color:var(--muted);font-weight:500;font-size:11px}.oc-crumbs i{color:#b3a395;font-style:normal}.oc-crumbs .cur{background:#2b1a14;color:#fff;border-radius:999px;padding:5px 12px;font-weight:700;font-size:12.5px}
.oc-stage{position:relative;background:radial-gradient(rgba(43,26,20,.06) 1px,transparent 1.2px) 0 0/20px 20px,#fbf6ef;border-radius:24px;padding:46px 22px 26px;box-shadow:0 0 0 1px var(--line)}
.oc-up{position:absolute;left:50%;top:12px;transform:translateX(-50%);white-space:nowrap;font-size:12px!important;font-weight:700;color:var(--muted)!important;background:#fff!important;border:0!important;border-radius:999px!important;padding:5px 12px!important;min-height:0!important;box-shadow:0 0 0 1px var(--line)!important}.oc-up.top{cursor:default}
.oc-focus{position:relative;max-width:460px;margin:0 auto;background:#fff;border-radius:22px;padding:20px 22px;display:flex;gap:16px;align-items:center;box-shadow:0 18px 40px -18px rgba(43,26,20,.35),0 0 0 2px var(--red)}.oc-focus.g-train{box-shadow:0 18px 40px -18px rgba(43,26,20,.35),0 0 0 2px #996015}.oc-focus.g-sup{box-shadow:0 18px 40px -18px rgba(43,26,20,.35),0 0 0 2px #20744a}.oc-focus.g-lead{box-shadow:0 18px 40px -18px rgba(43,26,20,.35),0 0 0 2px #2b1a14}
.oc-focus>div{min-width:0}.oc-focus h2{margin:0;font-size:19px;letter-spacing:-.01em}.oc-focus p{margin:2px 0 0;color:#6b5b50;font-size:12.5px}
.oc-ph{width:58px;height:58px;font-size:17px;flex:none;box-shadow:0 0 0 4px #fff,0 0 0 6px #f1e3d4}.oc-ph.big{width:74px;height:74px;font-size:22px}
.oc-mail{display:block;color:#a3958a;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.oc-stats{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.oc-stats span{font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:999px;background:#f3ece2;color:#5a4a40}.oc-stats .r{background:#fbf0f2;color:var(--red)}
.oc-wire{position:relative;height:64px;display:flex;align-items:flex-end;justify-content:center}.oc-wire:before{content:'';position:absolute;left:50%;top:0;height:30px;border-left:2px solid #d9c6b1}.oc-wire:after{content:'';position:absolute;left:0;right:0;bottom:26px;border-top:1px dashed #d9c6b1}
.oc-wire span{position:relative;z-index:1;font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);background:#fbf6ef;padding:4px 12px;border-radius:999px;box-shadow:0 0 0 1px #e6d7c4;margin-bottom:14px}
.oc-kids{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.oc-card{position:relative;background:#fff;border-radius:18px;padding:18px 14px 14px;text-align:center;box-shadow:0 10px 26px -18px rgba(43,26,20,.35),0 0 0 1px #efe3d4;cursor:pointer;transition:transform .15s,box-shadow .15s;min-width:0}.oc-card:hover,.oc-card:focus-visible{transform:translateY(-2px);box-shadow:0 16px 30px -18px rgba(43,26,20,.45),0 0 0 1.5px var(--red);outline:none}.oc-card.off{opacity:.65}
.oc-acc{position:absolute;left:16px;right:16px;top:0;height:4px;border-radius:0 0 4px 4px;background:var(--red)}.oc-card.g-train .oc-acc{background:#996015}.oc-card.g-sup .oc-acc{background:#20744a}.oc-card.g-lead .oc-acc{background:#2b1a14}
.oc-card .oc-ph{margin:0 auto 10px;display:grid}.oc-card>b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-card>small{display:block;color:#6b5b50;font-size:12px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oc-ft{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:12px}.oc-ft span{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:#f3ece2;color:#5a4a40}.oc-ft .dn{background:#2b1a14;color:#fff}
.oc-menu{position:absolute;right:8px;top:8px;z-index:3;text-align:left}.oc-menu summary{list-style:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#a3958a;font-weight:800;cursor:pointer}.oc-menu summary::-webkit-details-marker{display:none}.oc-menu summary:hover,.oc-menu[open] summary{background:var(--cream);color:var(--ink)}
.oc-pop{position:absolute;right:0;top:32px;width:250px;background:#fff;border-radius:14px;padding:12px;box-shadow:0 18px 40px rgba(43,26,20,.2),0 0 0 1px var(--line);display:grid;gap:8px}.oc-pop label{display:grid;gap:4px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.oc-pop select{min-height:34px;font-size:12.5px;text-transform:none;letter-spacing:0}.oc-pop button{min-height:34px;font-size:12.5px}
.oc-focus .oc-menu{right:12px;top:12px}
.oc-hint{text-align:center;color:var(--muted);font-size:12px;margin:18px 0 0}
.oc-others{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.oc-others b{font-size:12px;color:var(--muted);margin-right:4px}.oc-others button{display:inline-flex;gap:7px;align-items:center;background:#fff!important;border:0!important;border-radius:999px!important;padding:4px 12px 4px 4px!important;min-height:0!important;box-shadow:0 0 0 1px var(--line)!important;font-weight:700;font-size:12.5px}.oc-others .org-av{width:26px;height:26px;font-size:9.5px}
.oc-tray{margin-top:16px;background:#fff;border-radius:16px;padding:12px 16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;box-shadow:0 0 0 1px var(--line)}.oc-tray b{font-size:13px}.oc-stack{display:flex}.oc-stack .org-av{width:28px;height:28px;font-size:10px;margin-left:-8px;box-shadow:0 0 0 2px #fff}.oc-tray .muted{font-size:12px}.oc-tray button{margin-left:auto;color:var(--red)!important;background:none!important;border:0!important;box-shadow:none!important;font-weight:800}
@media(max-width:700px){.oc-stage{padding:44px 12px 18px}.oc-focus{flex-direction:column;text-align:center}.oc-stats{justify-content:center}.oc-kids{grid-template-columns:1fr 1fr;gap:10px}.oc-card{padding:16px 8px 12px}.oc-card .oc-ph{width:46px;height:46px;font-size:14px}.oc-mail{display:none}.oc-pop{width:220px}}

/* Send Email: Add by designation, grouped */
.dg{display:grid;gap:14px}.dg-h{font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.dg-ops{background:#fbf6ef;border-radius:16px;padding:14px 16px;box-shadow:inset 0 0 0 1px #efe3d4}
.dg-grid{display:grid;grid-template-columns:minmax(150px,1.3fr) repeat(3,minmax(70px,1fr));gap:8px 10px;align-items:center}
.dg-col{font-size:12px;font-weight:800;color:var(--ink);text-align:center;line-height:1.15}.dg-col small{display:block;font-size:10px;font-weight:500;color:var(--muted)}
.dg-role{font-size:13px;font-weight:700;color:var(--ink)}
.desig-chip.dg-cell{justify-content:center;width:100%;border-radius:12px;padding:8px 10px;gap:6px;font-size:13px}.dg-cell em{display:none;font-style:normal;font-size:11px;font-weight:700;color:var(--muted)}.dg-cell b{font-weight:800}.dg-cell i{display:none;font-style:normal}.dg-cell.on i{display:inline}.dg-cell.on em{color:rgba(255,255,255,.8)}
.dg-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.dg-g{background:#fff;border-radius:16px;padding:14px 16px;box-shadow:inset 0 0 0 1px var(--line)}.dg-chips{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:620px){.dg-grid{grid-template-columns:repeat(3,1fr)}.dg-grid>span:first-child,.dg-col{display:none}.dg-role{grid-column:1/-1;margin-top:4px}.dg-cell em{display:inline}}
.oc-crumbs button{width:auto!important;flex:none!important;justify-content:flex-start;color:var(--ink)!important;margin:0!important}

/* Bigger profile picture + crop dialog */
.pf-big{width:112px!important;height:112px!important;font-size:36px!important;box-shadow:0 0 0 4px rgba(255,255,255,.9),0 10px 24px -8px rgba(0,0,0,.35)}.pf-hd{align-items:center}.pf-cam{width:36px!important;height:36px!important;font-size:16px!important;right:0!important;bottom:0!important}
@media(max-width:700px){.pf-big{width:84px!important;height:84px!important;font-size:28px!important}.pf-cam{width:30px!important;height:30px!important;font-size:13px!important}}
.crop-ov{position:fixed;inset:0;z-index:400;background:rgba(30,15,10,.6);display:grid;place-items:center;padding:16px}
.crop-box{background:#fff;border-radius:22px;padding:22px;width:min(380px,100%);box-shadow:0 30px 70px rgba(0,0,0,.35);text-align:center}.crop-box h3{margin:0;font-size:18px}.crop-box p{margin:4px 0 14px;font-size:12.5px}
.crop-stage{position:relative;width:min(300px,100%);aspect-ratio:1;margin:0 auto;overflow:hidden;border-radius:14px;background:#2b1a14;cursor:grab;touch-action:none;user-select:none}.crop-stage.grab{cursor:grabbing}
.crop-stage img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none}
.crop-ring{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.5);outline:2px solid rgba(255,255,255,.9);outline-offset:-2px;pointer-events:none}
.crop-zoom{display:flex;align-items:center;gap:10px;margin:16px auto 4px;width:min(300px,100%);color:var(--muted);font-weight:800}.crop-zoom input{flex:1;accent-color:var(--red);min-height:0;padding:0;border:0;box-shadow:none}
.crop-act{display:flex;gap:10px;justify-content:center;margin-top:14px}.crop-act button{min-width:110px}

/* Home hero: espresso band with the Tims leaf, sources in one row */
.home-hero{display:block!important;position:relative;overflow:hidden;background:radial-gradient(120% 140% at 100% 0,#4a2a1f 0,#2b1a14 55%)!important;color:#fff;border-radius:22px!important;padding:28px 30px 0!important;margin-bottom:18px;box-shadow:0 22px 44px -26px rgba(43,26,20,.7)!important}
.home-hero:before{content:'';position:absolute;right:-30px;top:-40px;width:270px;height:270px;background:url(/tims-leaf.png) center/contain no-repeat;opacity:.08;filter:brightness(0) invert(1);pointer-events:none}
.hero-top{position:relative}.home-hero .home-hi{display:inline-flex;align-items:center;gap:8px;font-size:11px!important;letter-spacing:.14em!important;font-weight:800;color:#f3c9cf!important;opacity:1!important}.home-hero .home-hi:before{content:'';width:18px;height:3px;border-radius:3px;background:var(--red)}
.home-hero h2{margin:6px 0 6px!important;font:800 32px Sora,Inter,Arial,sans-serif!important;letter-spacing:-.02em;color:#fff}
.home-hero p{margin:0;color:#d9c6b8;font-size:14px;opacity:1!important}.home-hero p b{color:#fff}
.home-hero .home-chain span{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#fff}.home-hero .home-chain small{color:#d9c6b8}
.home-hero .home-asof{position:relative;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:0!important;min-width:0!important;margin:24px -30px 0;border-top:1px solid rgba(255,255,255,.1)}
.home-hero .home-asof button{all:unset;cursor:pointer;display:flex;gap:12px;align-items:center;padding:16px 22px;border-right:1px solid rgba(255,255,255,.08);background:none;border-radius:0;transition:background .15s}.home-hero .home-asof button:last-child{border-right:0}
.home-hero .home-asof button:hover,.home-hero .home-asof button:focus-visible{background:rgba(255,255,255,.06)}
.hero-ic{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;background:rgba(200,16,46,.24);color:#ff9aa8!important}.hero-ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-hero .home-asof small{display:block;font-size:11px;color:#bfa999!important;font-weight:600;letter-spacing:0;opacity:1}.home-hero .home-asof b{font-size:14.5px;color:#fff}.home-hero .home-asof b.none{color:#bfa999;font-weight:600}.home-hero .home-asof span{opacity:1}
@media(max-width:700px){.home-hero{padding:22px 18px 0!important}.home-hero:before{width:180px;height:180px}.home-hero h2{font-size:25px!important}.home-hero .home-asof{grid-template-columns:1fr 1fr!important;margin:20px -18px 0;width:auto!important}.home-hero .home-asof button{padding:13px 14px;gap:10px;border-bottom:1px solid rgba(255,255,255,.08)}.home-hero .home-asof button:nth-child(2n){border-right:0}.hero-ic{width:32px;height:32px}.home-hero .home-asof b{font-size:13px}}
@media print{.home-hero{background:#2b1a14!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.badge.warn{background:#fdf1dc;color:#8a5a0b}
/* Change vs the period before: a green / red badge with a drawn arrow */
.cs-dl{display:inline-flex;align-items:center;gap:3px;font:800 11.5px/1 Inter,Arial,sans-serif!important;letter-spacing:0;padding:3px 7px 3px 5px;border-radius:999px;margin-left:6px;vertical-align:middle;white-space:nowrap}
.cs-dl svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.cs-dl .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.cs-dl.up{background:#e3f2e9;color:#1b6a43}.cs-dl.dn{background:#fbe5e9;color:#b00e29}
.metric:has(.cs-dl){display:flex;align-items:center;flex-wrap:wrap;column-gap:10px;row-gap:4px}
.metric .cs-dl{font-size:14px!important;padding:5px 10px 5px 7px;margin-left:0;gap:4px;position:static;top:auto}.metric .cs-dl svg{width:14px;height:14px;stroke-width:2.6}
@media(max-width:700px){.metric .cs-dl{font-size:12.5px!important;padding:4px 8px 4px 6px}.metric .cs-dl svg{width:12px;height:12px}}
.users-table small.invited{display:block;margin-top:4px;font-size:11px;font-weight:700;color:#1b6a43;white-space:nowrap}
/* Chat: emoji picker and reactions */
.chat-send{align-items:flex-end}.chat-emo-btn{flex:none;width:38px;height:38px;min-height:0!important;padding:0!important;border-radius:50%!important;display:grid;place-items:center;background:#fff!important;border:1px solid var(--line)!important;color:#8a7466!important}.chat-emo-btn svg{width:20px;height:20px}.chat-emo-btn.on,.chat-emo-btn:hover{color:var(--red)!important;border-color:#f0c4cc!important}
.chat-emo{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:8px;margin:0 10px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 24px -14px rgba(43,26,20,.4);max-height:170px;overflow:auto}.chat-emo button{all:unset;cursor:pointer;font-size:21px;line-height:1;text-align:center;padding:6px 0;border-radius:8px}.chat-emo button:hover,.chat-emo button:focus-visible{background:#f6efe6}
.chat-line{display:flex;align-items:center;gap:4px;max-width:100%}.chat-msg.mine .chat-line{flex-direction:row-reverse}.chat-line .chat-bub{min-width:0}
.chat-rx-add{all:unset;cursor:pointer;flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#a3958a;opacity:0;transition:opacity .15s}.chat-rx-add svg{width:17px;height:17px}.chat-msg:hover .chat-rx-add,.chat-rx-add:focus-visible,.chat-rx-add.on{opacity:1}.chat-rx-add:hover,.chat-rx-add.on{background:#f6efe6;color:var(--red)}
@media(hover:none){.chat-rx-add{opacity:.55}}
.chat-rx-bar{display:inline-flex;gap:2px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 5px;margin:4px 0 0;box-shadow:0 8px 20px -12px rgba(43,26,20,.45)}.chat-rx-bar button{all:unset;cursor:pointer;font-size:20px;line-height:1;padding:4px 5px;border-radius:999px;transition:transform .1s}.chat-rx-bar button:hover{transform:scale(1.2)}.chat-rx-bar button.on{background:#fbe8eb}
.chat-rxs{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.chat-msg.mine .chat-rxs{justify-content:flex-end}
.chat-rx{all:unset;cursor:pointer;position:relative;display:inline-flex;align-items:center;gap:4px;font-size:14px;line-height:1;padding:4px 8px;border-radius:999px;background:#fff;border:1px solid var(--line)}.chat-rx b{font:700 11.5px Inter,Arial,sans-serif;color:#6b5b50}.chat-rx.me{background:#fbe8eb;border-color:#f0c4cc}.chat-rx.me b{color:var(--red)}
.chat-msg:not(.mine) .chat-rx-who{display:flex;gap:10px;align-items:flex-start;margin-top:6px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;box-shadow:0 10px 24px -16px rgba(43,26,20,.45);max-width:260px;text-align:left}.chat-msg.mine .chat-rx-who{margin-left:auto}
.chat-rx-who .e{font-size:22px;line-height:1}.chat-rx-who>div{flex:1;min-width:0}.chat-rx-who b{font-size:12px;color:var(--muted)}.chat-rx-who ul{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:5px}.chat-rx-who li{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--ink)}.chat-rx-who .chat-av{width:22px;height:22px;font-size:9px}.chat-rx-who>button{flex:none;align-self:flex-end;font-size:11.5px!important;padding:5px 9px!important;min-height:0!important}
.pf-pref{display:flex;gap:12px;align-items:flex-start;margin:4px 0 12px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;cursor:pointer}.pf-pref input{width:18px;height:18px;margin-top:2px;accent-color:var(--red);flex:none}.pf-pref b{display:block;font-size:13.5px;color:var(--ink)}.pf-pref small{display:block;font-size:12px;color:var(--muted);margin-top:2px;line-height:1.45}
.pf-pref{grid-column:1/-1}
/* Top bar: icon + name, with a small line under four of them */
:root{--topbar-h:76px}
.sections{gap:4px;align-items:center}
.sections button{gap:9px;padding:8px 15px!important;min-height:52px!important;border-radius:14px!important;font-size:14.5px!important;font-weight:700;opacity:1;letter-spacing:0}
.sections button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none;opacity:.9}
.sections button span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;text-align:left}
.sections button small{font-size:10.5px;font-weight:600;opacity:.8;margin-top:3px;letter-spacing:.01em}
.sections button:not(.selected):hover{background:rgba(255,255,255,.12)}
.sections button.selected small{opacity:.85}
.sections .admin-tab{margin-left:12px}.sections .admin-tab:before{left:-9px;top:14px;bottom:14px}
@media(max-width:1180px){.sections button{padding:7px 11px!important;font-size:13.5px!important;gap:7px}.sections button small{font-size:10px}}
@media(max-width:700px){:root{--topbar-h:auto}.sections button{min-height:44px!important;padding:6px 10px!important;font-size:13px!important}.sections button svg{width:16px;height:16px}.sections button small{font-size:9.5px}}
.sections button small{color:inherit}
@media(max-width:700px){.topbar{padding:8px 10px!important;height:auto!important;min-height:60px}.sections{padding:0!important}}
/* Send Email · Add by designation: operations by country, support by department */
.dg-ops{padding:14px 14px 10px}.dg-scroll{overflow-x:auto;margin:0 -4px}
.dg-table{width:100%;border-collapse:separate;border-spacing:6px;min-width:760px}
.dg-table th{font-weight:800;color:var(--ink);text-align:center;vertical-align:middle;padding:0}
.dg-table th.dg-role{text-align:left;font-size:13px;font-weight:700;white-space:nowrap;padding-right:8px;width:190px}
.dg-table th small,.dg-colbtn small{display:block;font-size:10px;font-weight:600;color:var(--muted);margin-top:1px}
.dg-allh{font-size:12.5px;width:70px}
.desig-chip.dg-colbtn{all:unset;cursor:pointer;display:inline-flex;flex-direction:column;align-items:center;font-size:12.5px;font-weight:800;color:var(--ink);padding:4px 10px;border-radius:10px;line-height:1.2}
.desig-chip.dg-colbtn:hover:not(:disabled){background:#fff}.desig-chip.dg-colbtn.on{background:var(--red);color:#fff}.desig-chip.dg-colbtn.on small{color:rgba(255,255,255,.85)}.desig-chip.dg-colbtn:disabled{opacity:.4;cursor:default}
.desig-chip.dg-cell{width:100%;height:38px;justify-content:center;gap:6px;border-radius:11px!important;padding:0 10px!important;font-size:14px;background:#fff;border:1px solid #eadfce}
.dg-cell b{font-weight:800}.dg-cell i{display:none;font-style:normal;font-size:12px}.dg-cell.on i{display:inline}.dg-cell small{font-size:10.5px;font-weight:600;opacity:.75;margin-left:4px;white-space:nowrap}
.desig-chip.dg-cell:disabled{background:transparent;border-color:#f1e8dc;color:#cdbfb2;opacity:1}
.desig-chip.dg-cell.dg-all{background:#2b1a14;border-color:#2b1a14;color:#fff}.desig-chip.dg-cell.dg-all.on{background:var(--red);border-color:var(--red)}
.dg-deps{border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);overflow:hidden;background:#fff}
.dg-dep{display:grid;grid-template-columns:190px 1fr auto;gap:12px;align-items:center;padding:11px 16px;border-top:1px solid #f3ebe1}.dg-dep:first-child{border-top:0}.dg-dep>b{font-size:13px;color:var(--ink)}
.desig-chip.dg-addall{background:none;border:1px solid #f0c4cc;color:var(--red);font-weight:700;white-space:nowrap}.desig-chip.dg-addall.on{background:var(--red);border-color:var(--red);color:#fff}
@media(max-width:700px){.dg-dep{grid-template-columns:1fr;gap:8px}.dg-dep .dg-addall{justify-self:start}}
.dg-table th{text-transform:none!important;letter-spacing:0!important;background:none!important;border:0!important;position:static!important}.notify-groups,.dg,.dg-ops{min-width:0;max-width:100%}.dg-ops{overflow:hidden}.dg-scroll{max-width:100%}
.dg-table td{padding:0!important;border:0!important;background:none!important;height:auto!important}.dg-table tr,.dg-table tr:hover{background:none!important}.dg-table tr:hover td{background:none!important}
.desig-chip.dg-cell.on{background:var(--red);border-color:var(--red);color:#fff}
@media(max-width:700px){.dg-table{min-width:640px;border-spacing:4px}.dg-table th.dg-role{width:120px;font-size:11.5px;white-space:normal;position:sticky!important;left:0;background:#fbf6ef!important;z-index:1}.desig-chip.dg-cell{height:34px;font-size:13px}}
.dg-cell small{color:inherit!important;opacity:.85}
/* Permissions: Store Visits · which visits */
.vt-box{margin-top:16px;padding:16px 18px;border-radius:14px;background:#fbf6ef;box-shadow:inset 0 0 0 1px #efe3d4}
.vt-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.vt-top b{font-size:14px;color:var(--ink)}.vt-top span{font-size:12px;color:var(--muted)}
.vt-mode{display:flex;gap:8px;margin:12px 0 14px;flex-wrap:wrap}
.vt-mode label{display:flex;gap:8px;align-items:center;padding:9px 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px #eadfce;font-size:13px;font-weight:600;cursor:pointer;color:var(--ink)}
.vt-mode label.on{box-shadow:inset 0 0 0 2px var(--red);color:var(--red);font-weight:700}.vt-mode small{color:var(--muted);font-weight:500}
.vt-mode input,.vt-g input{width:17px!important;height:17px!important;min-height:0!important;flex:none;margin:0;accent-color:var(--red)}
.vt-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.vt-groups[hidden]{display:none}
.vt-g{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:inset 0 0 0 1px #eadfce}.vt-g>small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.1em;color:var(--muted);margin-bottom:6px;text-transform:uppercase}
.vt-g label{display:flex;gap:9px;align-items:center;padding:6px 0;font-size:13px;color:#6b5b50;cursor:pointer}.vt-g label:has(input:checked){color:var(--ink);font-weight:700}
.vt-note{margin:12px 0 0;font-size:12.5px;color:#6b5b50}.vt-note b{color:var(--ink)}.vt-note .bad{color:var(--red)}
.field-tag.lock{background:#2b1a14!important;color:#fff!important}.sum-chip.lock{background:#2b1a14;color:#fff;border-color:#2b1a14}
.notify-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-4px 0 12px}.notify-status small{color:var(--muted);font-size:12.5px}
/* QA · suppliers line */
.qa-supline{display:flex;align-items:center;gap:12px;padding:10px 14px;margin:0 0 14px;flex-wrap:wrap}
.qa-suplabel{font-size:11px;font-weight:800;letter-spacing:1.5px;color:var(--muted);padding-right:4px}
.qa-sup{flex:1 1 320px;display:flex;align-items:baseline;gap:10px;min-width:0;border:0;border-radius:10px;padding:9px 14px;text-align:left;font:inherit;cursor:pointer;background:#e6f2ea;color:var(--ink);flex-wrap:wrap}
.qa-sup.bad{background:#fbe8eb}.qa-sup.none{cursor:default;color:var(--muted)}
.qa-sup em{font-style:normal;font-size:11px;font-weight:800;letter-spacing:1px;color:#19805b;white-space:nowrap}.qa-sup.bad em{color:#c8102e}
.qa-sup b{font-size:15px}.qa-sup span{color:var(--muted);font-size:13px}
.qa-sup:not(.none):hover{filter:brightness(.97)}
/* QA · reminders */
.qa-ck{width:34px;text-align:center}.qa-ck input{width:16px;height:16px;cursor:pointer}
.qa-row.picked td{background:#fdf3f4}
.qa-remc{white-space:nowrap;text-align:center}.qa-remc button{white-space:nowrap}
.qa-last{display:block;font-size:11px;color:#19805b;margin-top:3px}.qa-last.none{color:var(--muted)}
.qa-bulk{display:flex;align-items:center;gap:10px;padding:9px 12px;margin:0 0 10px;border:1px dashed var(--line);border-radius:10px;font-size:13px;color:var(--muted)}
.qa-bulk.on{border-style:solid;border-color:#c8102e;background:#fdf3f4;color:var(--ink)}.qa-bulk span{flex:1}
.rem{min-width:min(680px,86vw);max-width:820px}
.rem-head small{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#c8102e}.rem-head h2{margin:4px 0 6px}.rem-head p{margin:0 0 6px}.rem-head .red{color:#c8102e}
.rem-field{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.rem-field>label{width:84px;flex:none;font-size:11px;font-weight:800;letter-spacing:1px;color:var(--muted);padding-top:7px}
.rem-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-height:30px;align-items:center}
.rem-chip{display:inline-flex;align-items:center;gap:6px;background:#f6efe6;border:1px solid var(--line);border-radius:999px;padding:4px 6px 4px 11px;font-size:13px;font-weight:600}
.rem-chip i{font-style:normal;font-weight:400;color:var(--muted);font-size:11.5px}
.rem-chip button{border:0;background:transparent;font-size:16px;line-height:1;padding:0 4px;cursor:pointer;color:var(--muted)}
.rem-chip.lock{background:#2b1a14;color:#fff;border-color:#2b1a14;padding-right:11px}.rem-chip.lock i{color:#e9d9c4}.rem-chip em{font-style:normal;font-size:11px;color:#ffd9df}
.rem-quick{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.rem-quick>.muted{width:84px;font-size:12px;margin-right:12px}
.rem-q b{background:#eee6dd;border-radius:999px;padding:0 6px;font-size:11px;margin-left:2px}
.rem-search{padding:8px 0;border-top:1px solid var(--line)}.rem-search input{width:100%}
.rem-hit{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 4px;border-bottom:1px solid var(--line)}.rem-hit small{display:block;color:var(--muted);font-size:12px}
.rem-add{display:flex;gap:4px;flex:none}.rem-none{padding:8px 4px}
.rem-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;border-top:1px solid var(--line);margin-top:6px}.rem-foot .muted{font-size:12.5px}
.rem-sum{max-height:300px;overflow:auto;margin:6px 0 4px}.rem-sum td{font-size:13px}.rem-bad td{background:#fdf3f4}
@media(max-width:560px){.rem{min-width:0;max-width:100%}.rem-head p{overflow-wrap:anywhere}.rem-field{flex-direction:column;gap:4px}.rem-field>label{padding:0}.rem-quick>.muted{width:100%}.rem-foot{flex-direction:column;align-items:stretch}.qa-sup{flex-basis:100%}}
/* Group Access */
.ga .rem-field>label{width:110px}.ga .rem-field>div{flex:1;min-width:0}
.ga-n{background:rgba(0,0,0,.08);border-radius:999px;padding:0 6px;font-size:11px;margin-left:3px}.dchip.on .ga-n{background:rgba(255,255,255,.25)}
.ga-title{margin-top:8px;max-width:100%}.ga-act{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;color:var(--muted)}
.ga-who{margin-top:8px;font-size:13px}.ga-who summary{cursor:pointer}.ga-who>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;max-height:170px;overflow:auto}
.ga-mode{display:flex;gap:6px;flex-wrap:wrap}.ga-pick{margin-top:8px;padding-top:8px;border-top:1px dashed var(--line)}.ga-hint{font-size:12px;margin:6px 0 0}
/* Phone app (Add to Home Screen): the red bar runs up behind the clock */
@media (display-mode: standalone){
 .topbar{padding-top:calc(8px + env(safe-area-inset-top))!important;height:auto!important;min-height:calc(var(--topbar-h) + env(safe-area-inset-top))}
 .login-shell{padding-top:env(safe-area-inset-top);background:var(--red)}
 body{padding-bottom:env(safe-area-inset-bottom)}
}
.net-off{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:999;background:#2b1a14;color:#fff;border-radius:999px;padding:10px 18px;font-size:13px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.25)}
/* Phone notifications */
.push-card{display:flex;align-items:center;gap:14px;background:#fff;border-radius:16px;padding:14px 16px;margin:0 0 16px;border-top:4px solid #c8102e;box-shadow:0 1px 0 var(--line)}
.push-card .pc-ic{width:42px;height:42px;border-radius:12px;background:#fde8eb;display:flex;align-items:center;justify-content:center;font-size:20px;flex:none;overflow:hidden}.push-card .pc-ic img{width:100%;height:100%}
.push-card b{font-size:15px}.push-card p{margin:2px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.push-card>div:nth-child(2){flex:1;min-width:0}
.push-card .pc-b{display:flex;gap:8px;flex:none}
@media(max-width:560px){.push-card{flex-wrap:wrap}.push-card .pc-b{width:100%}.push-card .pc-b button{flex:1}}
.pn-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.pn-btns{display:flex;gap:6px}
.pn-st{font-size:13px;font-weight:600}.pn-st.on{color:#19805b}.pn-st.off{color:var(--muted)}.pn-n{font-size:12px;margin:0 0 6px}
.pn-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);cursor:pointer}.pn-row b{display:block;font-size:13.5px;color:var(--ink)}.pn-row small{color:var(--muted);font-size:12px}
.pn-sw{appearance:none;-webkit-appearance:none;width:42px;height:25px;border-radius:13px;background:#ddd;position:relative;flex:none;cursor:pointer;transition:background .15s;margin:0}
.pn-sw:after{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 3px rgba(0,0,0,.2)}.pn-sw:checked{background:#c8102e}.pn-sw:checked:after{left:20px}
.pf-notif .pf-pref{margin-top:8px;border-top:1px solid var(--line);padding-top:10px}
.notify-push{display:flex;gap:10px;align-items:flex-start;margin:12px 0 4px;font-size:13px;color:var(--muted)}.notify-push input{width:16px;height:16px;margin-top:2px}.notify-push b{color:var(--ink)}
/* ================= Phone layout (portrait, ≤700px): ☰ side menu, compact header, filters panel ================= */
.m-only{display:none!important}
@media(max-width:700px){
 .m-only{display:flex!important}
 .m-only[hidden]{display:none!important}
 .topbar{gap:8px!important;padding:0 10px!important;height:var(--topbar-h)!important}
 .topbar .sections{display:none!important}
 .m-ic{width:40px;height:40px;border:0;border-radius:12px;background:rgba(255,255,255,.14);color:#fff;align-items:center;justify-content:center;padding:0;flex:none;cursor:pointer;font-size:16px}
 .m-ic svg{width:22px;height:22px}
 #m-more{background:transparent}
 #m-title{flex:1;min-width:0;flex-direction:column;justify-content:center;line-height:1.15;color:#fff}
 #m-title small{font-size:9.5px;letter-spacing:1.6px;font-weight:800;color:rgba(255,255,255,.82)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #m-title b{color:#fff!important;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .topbar-brand{margin-left:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}.topbar-brand img{height:34px!important}
 main>header.top{display:none!important}
 main{padding:12px 12px 24px!important}
 /* the side menu */
 aside{position:fixed!important;top:0;bottom:0;left:0;width:min(300px,85vw)!important;height:100%!important;z-index:70;background:#fff;transform:translateX(-105%);transition:transform .22s ease;overflow-y:auto;display:flex!important;flex-direction:column;padding:0 0 calc(12px + env(safe-area-inset-bottom))!important;margin:0!important;box-shadow:10px 0 34px rgba(20,10,8,.28);border:0!important}
 body.m-drawer aside{transform:none}
 aside>#side-kicker{display:none!important}
 .m-dhead{order:-10;align-items:center;gap:10px;background:#c8102e;color:#fff;padding:calc(14px + env(safe-area-inset-top)) 12px 14px 16px;position:sticky;top:0;z-index:2}
 .m-dhead img{width:36px;height:36px;border-radius:9px}.m-dhead b{flex:1;font-size:16px}
 .m-sec{align-items:center;gap:12px;width:calc(100% - 16px);margin:2px 8px;padding:11px 10px;border:0;border-radius:12px;background:transparent;font:inherit;font-size:14.5px;color:var(--ink);text-align:left;cursor:pointer}
 .m-sec svg{width:20px;height:20px;color:var(--muted);flex:none}.m-sec span{flex:1}.m-sec i{font-style:normal;color:#b5a89d}
 .m-sec.on{background:#fde8eb;color:#c8102e;font-weight:800}.m-sec.on svg,.m-sec.on i{color:#c8102e}
 aside #nav{display:block!important;margin:0!important;padding:0 8px 4px 40px}
 aside #nav .home-nav{display:none!important}
 aside #nav .report-nav,aside #nav .admin-nav,aside #nav .cs-nav,aside #nav .training-nav,aside #nav .qa-nav{display:block}
 aside #nav button{display:flex!important;width:100%!important;min-height:0!important;margin:1px 0!important;padding:9px 10px!important;font-size:13px!important;border-radius:10px;background:transparent;justify-content:flex-start}
 aside #nav button svg{display:none}
 aside #nav button.selected{background:transparent!important;color:#c8102e!important;font-weight:800}
 aside #nav .admin-nav>small{display:block!important;margin:10px 10px 2px!important;font-size:9.5px}
 aside .profile{order:99;margin:auto 0 0!important;padding:12px 14px 0!important;border-top:1px solid var(--line);display:flex!important;align-items:center;gap:10px}
 aside .profile button#logout{margin:0!important;padding:8px 12px}
 #m-dim{position:fixed;inset:0;background:rgba(20,10,8,.45);z-index:65}
 body.m-lock{overflow:hidden}
 /* filters: only the Period stays; the rest opens in one panel */
 .m-fwrap:not(.m-open){display:flex!important;flex-wrap:nowrap!important;align-items:stretch;gap:8px!important;padding:8px!important;grid-template-columns:none!important}
 .m-fwrap.m-fwrap[hidden],.m-fwrap.m-fwrap.m-fwrap[hidden]{display:none!important}
 .m-fwrap:not(.m-open)>*:not(.msd.per):not(.m-fbtn):not(#vf-bar){display:none!important}
 .m-fwrap:not(.m-open) #vf-bar{display:flex!important;flex:1;min-width:0;margin:0!important}
 .m-fwrap:not(.m-open) #vf-bar>*:not(.msd.per){display:none!important}
 .m-fwrap:not(.m-open) .msd.per{flex:1;min-width:0}
 .m-fbtn{align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 14px;font:inherit;font-size:13px;font-weight:800;color:var(--ink);white-space:nowrap;cursor:pointer;min-height:46px}
 .m-fwrap:not(:has(.msd.per)) .m-fbtn{flex:1;justify-content:center}
 .m-fbtn svg{width:16px;height:16px}.m-fbtn b{background:#c8102e;color:#fff;border-radius:999px;padding:1px 7px;font-size:11px}
 .m-fwrap .m-fhead{display:none!important}
 .m-fwrap.m-open{position:fixed!important;left:0;right:0;bottom:0;top:auto;max-height:84vh;overflow-y:auto;z-index:68;margin:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;padding:0 14px calc(16px + env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:8px!important;box-shadow:0 -10px 34px rgba(20,10,8,.25)}
 .m-fwrap.m-open .m-fhead{display:flex!important;align-items:center;position:sticky;top:0;background:#fff;z-index:3;padding:14px 0 8px;margin:0 0 2px}
 .m-fwrap.m-open .m-fhead{justify-content:space-between;width:100%;align-self:stretch}.m-fwrap.m-open .m-fhead b{flex:1;font-size:17px;text-align:left}
 .m-fwrap.m-open .m-fbtn,.m-fwrap.m-open .f-sep{display:none!important}
 .m-fwrap.m-open .msd,.m-fwrap.m-open #vf-bar,.m-fwrap.m-open .vf-top,.m-fwrap.m-open label{width:100%!important;max-width:none!important;flex:none!important}
 .m-fwrap.m-open #vf-bar{display:flex!important;flex-direction:column;gap:8px}
 .m-fwrap.m-open .msd-pop{position:static!important;width:auto!important;max-width:none!important;margin-top:6px;box-shadow:none;border:1px solid var(--line)}
 .m-fwrap.m-open .vf-top{display:flex!important;gap:8px;align-items:flex-end}
 /* ⋯ actions */
 .m-sheet{position:fixed;left:0;right:0;bottom:0;z-index:69;background:#fff;border-radius:20px 20px 0 0;padding:8px 14px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -10px 34px rgba(20,10,8,.25)}
 .m-grab{width:40px;height:4px;border-radius:2px;background:#ddd;margin:2px auto 10px}
 .m-sheet h5{margin:4px 6px 6px;font-size:10.5px;letter-spacing:1.5px;color:var(--muted)}
 .m-row{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;font:inherit;font-size:15px;padding:13px 8px;border-radius:12px;text-align:left;color:var(--ink);cursor:pointer}.m-row span{width:22px;text-align:center;color:var(--muted)}.m-row.red{color:#c8102e;font-weight:800}.m-row:active{background:#f6efe6}
}
@media(max-width:700px) and (display-mode: standalone){.topbar{padding-top:env(safe-area-inset-top)!important;height:calc(var(--topbar-h) + env(safe-area-inset-top))!important;min-height:0!important}}

/* One visit (Open) · same look on phone and computer */
#detail.vd-dialog{width:min(860px,94vw);max-width:860px;padding:0!important;overflow:hidden auto}
#detail.vd-dialog>#close-detail{display:none}
.vd2{text-align:left}
.vd2-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;background:#fff;border-bottom:1px solid var(--line)}
.vd2-top>b{font-size:15px}
.vd2-x{width:36px;height:36px;min-width:0;min-height:0;flex:none;border-radius:50%;border:0;background:#f6efe6;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.vd2-pdf{border:0;background:#c8102e;color:#fff;border-radius:999px;padding:9px 16px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.vd2-body{padding:20px 26px 28px}
.vd2-head{display:flex;gap:18px;align-items:center}.vd2-head>div:first-child{flex:1;min-width:0}
.vd2-head small{font-size:11px;letter-spacing:1.6px;font-weight:800;color:#c8102e}.vd2-head h2{margin:4px 0;font-size:28px;line-height:1.15}.vd2-head p{margin:0;font-size:14px;color:var(--muted)}
.vd2-ring{width:86px;height:86px;border-radius:50%;border:6px solid #20744a;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;color:#20744a}
.vd2-ring b{font-size:25px;line-height:1}.vd2-ring sup{font-size:11px}.vd2-ring small{font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:inherit}
.vd2-ring.mid{border-color:#b8741e;color:#b8741e}.vd2-ring.bad{border-color:#c8102e;color:#c8102e}
.vd2-seg{display:flex;background:#f6efe6;border-radius:14px;padding:4px;margin:18px 0 14px}
.vd2-seg button{flex:1;border:0;background:transparent;border-radius:11px;padding:10px 0;font:inherit;font-size:14px;font-weight:700;color:#7a6a5f;cursor:pointer}.vd2-seg button b{font-weight:800}
.vd2-seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.vd2-notes{background:#fbf5ec;border-radius:14px;margin-bottom:10px}
.vd2-nh{display:flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;font:inherit;font-size:14.5px;padding:13px 16px;cursor:pointer;text-align:left;color:var(--ink)}
.vd2-nh span{flex:1}.vd2-nh em{font-style:normal;color:#9a8a7f;font-size:12.5px}.vd2-nh u,.vd2-sh u{text-decoration:none;color:#b5a89d;font-size:14px}
.vd2-nb{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;padding:0 12px 12px}.vd2-nb div{background:#fff;border-radius:10px;padding:10px 12px}.vd2-nb small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}.vd2-nb b{font-size:14px;word-break:break-word}.vd2-nb b.empty{color:#b5a89d;font-style:italic;font-weight:600}
.vd2-sec{border:1px solid #f0e6da;border-radius:16px;margin-bottom:10px;overflow:hidden}
.vd2-sh{display:flex;align-items:center;gap:9px;width:100%;border:0;background:#fff;font:inherit;padding:14px 16px;text-align:left;cursor:pointer;color:var(--ink)}
.vd2-sec.open .vd2-sh{background:#fffaf5;border-bottom:1px solid #f0e6da}
.vd2-sh span{flex:1;min-width:0}.vd2-sh b{display:block;font-size:15.5px}.vd2-sh small{font-size:12px;color:#9a8a7f}
.vd2-sh em{font-style:normal;background:#c8102e;color:#fff;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;white-space:nowrap}.vd2-sh i{font-style:normal;font-size:13px;color:#9a8a7f}
.vd2-q{display:flex;gap:14px;padding:14px 18px;border-bottom:1px solid #f6efe6}.vd2-q:last-child{border-bottom:0}
.vd2-qt{flex:1;min-width:0}.vd2-qt p{margin:0;font-size:15px;line-height:1.5;color:var(--ink)}
.vd2-qt small{display:block;margin-top:7px;font-size:13.5px;color:#5a4a42;background:#f6efe6;border-radius:10px;padding:8px 11px;line-height:1.45}
.vd2-val{display:inline-block;margin-top:6px;font-size:14px}.vd2-val.na{color:#7a6a5f}
.vd2-q.no{background:#fdf5f6}.vd2-q.no small{background:#fbe3e6;color:#8a1022}
.vd2-d{width:26px;height:26px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;margin-top:1px}
.vd2-d.yes{background:#e6f2ea;color:#19805b}.vd2-d.no{background:#c8102e;color:#fff}.vd2-d.na,.vd2-d.text,.vd2-d.empty{background:#f1ece6;color:#7a6a5f}
.vd2-empty{text-align:center;color:var(--muted);padding:24px 0}
@media(max-width:700px){#detail.vd-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0!important;inset:0}
 .vd2-top{padding:calc(10px + env(safe-area-inset-top)) 14px 10px}.vd2-body{padding:14px 14px 30px}
 .vd2-head{gap:12px}.vd2-head small{font-size:9.5px;letter-spacing:1.4px}.vd2-head h2{font-size:21px}.vd2-head p{font-size:12px}.vd2-head p span{display:none}
 .vd2-ring{width:66px;height:66px;border-width:5px}.vd2-ring b{font-size:19px}.vd2-ring small{font-size:8px}
 .vd2-seg{margin:14px 0 10px}.vd2-seg button{font-size:12.5px;padding:8px 0}
 .vd2-nh{font-size:13px;padding:11px 12px}.vd2-sh{padding:11px 12px}.vd2-sh b{font-size:13.5px}.vd2-sh small{font-size:10.5px}.vd2-sh em{font-size:10.5px;padding:2px 8px}
 .vd2-q{gap:10px;padding:11px 12px}.vd2-qt p{font-size:13px;line-height:1.42}.vd2-qt small{font-size:12px;padding:7px 9px}.vd2-d{width:22px;height:22px;font-size:11px}}
.vd2-nb b{display:block;padding:0;margin:0;text-indent:0}
/* Visit questions editor */
.qe{padding:20px 22px!important;border-top:4px solid #c8102e}
.qe-head{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:12px}.qe-head>div:first-child{flex:1;min-width:220px}
.qe-head small{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#c8102e}.qe-head h3{margin:3px 0 2px;font-size:21px}.qe-head p{margin:0;color:var(--muted);font-size:13px}
.qe-btns{display:flex;gap:8px;flex-wrap:wrap}.qe-btns>*{white-space:nowrap}
.qe-up{display:inline-flex;align-items:center;border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 14px;font-size:13px;font-weight:700;cursor:pointer;margin:0}
.qe-tools{display:flex;gap:8px;margin:6px 0 10px}.qe-tools input{flex:1;min-width:0}.qe-tools select{width:auto;max-width:45%}
.qe-hd,.qe-q{display:grid;grid-template-columns:20px 28px minmax(0,1fr) 66px 58px minmax(150px,230px) 96px;gap:10px;align-items:center}
.qe-hd{font-size:10px;letter-spacing:1px;font-weight:800;color:#8a7a70;padding:8px 10px;background:#fbf5ec;border-radius:10px}
.qe-sh{display:flex;align-items:center;gap:10px;padding:14px 10px 7px;border-bottom:2px solid #c8102e;margin-top:6px}.qe-sh b{font-size:14px}.qe-sh span{color:#8a7a70;font-size:12px}.qe-sh .link-btn{margin-left:auto;color:#c8102e;font-weight:800;font-size:12px;background:none;border:0;cursor:pointer}
.qe-q{padding:9px 10px;border-bottom:1px solid #f0e6da;font-size:13px}.qe-q.new{background:#eef7f1}.qe-q.drag{opacity:.4}.qe-q.over{box-shadow:inset 0 3px 0 #c8102e}
.qe-t{line-height:1.42;word-break:break-word}.qe-t em{font-style:normal;background:#20744a;color:#fff;border-radius:999px;padding:1px 7px;font-size:10px;font-weight:800;margin-left:6px}.qe-t em.ed{background:#b8741e}
.qe-drag{color:#c9bcb0;cursor:grab;font-size:12px;user-select:none}.qe-n{color:#9a8a7f;font-size:12px}
.qe-w{width:58px!important;padding:6px!important;text-align:center;min-height:0!important}
.qe-g{margin:0;display:flex}.qe-a{display:flex;flex-wrap:wrap;gap:3px}
.qe-a s{text-decoration:none;border-radius:999px;padding:2px 8px;font-size:10.5px;font-weight:700}.qe-a .y{background:#e6f2ea;color:#19805b}.qe-a .x{background:#fbe8eb;color:#c8102e}.qe-a .t{background:#f1ece6;color:#7a6a5f}
.qe-act{display:flex;gap:5px;justify-content:flex-end}.qe-act button{width:28px;height:28px;padding:0;border-radius:8px;border:0;background:#f6efe6;cursor:pointer;font-size:11px;min-height:0}.qe-act .del{background:#fbe8eb}.qe-act button:disabled{opacity:.35;cursor:default}
.qe-empty{padding:18px 4px}
.qe-unm{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:4px 0 10px}.qe-unm button{margin-left:auto}
.qe-save{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;gap:10px;margin:14px -22px -20px;padding:12px 22px;background:#2b1a14;color:#fff;border-radius:0 0 16px 16px;font-size:13px}.qe-save span{flex:1}.qe-save button{white-space:nowrap}.qe-save #qe-discard{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.qe-rv{background:#fffaf5;border:1px solid #eadfce;border-radius:14px;padding:14px 16px;margin:4px 0 14px}.qe-rv>small{font-size:10.5px;letter-spacing:1.5px;font-weight:800;color:#c8102e}.qe-rv h4{margin:3px 0 2px;font-size:16px}.qe-rv p{margin:4px 0}
.qe-rvk{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.qe-rvk div{background:#fff;border-radius:12px;padding:9px;text-align:center}.qe-rvk b{display:block;font-size:22px}.qe-rvk small{font-size:9.5px;letter-spacing:1px;font-weight:800;color:#8a7a70}
.qe-rvk .g b{color:#20744a}.qe-rvk .r b{color:#c8102e}.qe-rvk .o b{color:#b8741e}
.qe-lns{max-height:260px;overflow:auto;border-top:1px solid #f0e6da}.qe-ln{display:flex;gap:8px;align-items:flex-start;padding:7px 0;border-bottom:1px solid #f0e6da;font-size:12.5px;line-height:1.4}
.qe-ln i{font-style:normal;font-weight:800;border-radius:6px;padding:1px 6px;font-size:10px;flex:none;margin-top:1px}.qe-ln .g{background:#e6f2ea;color:#19805b}.qe-ln .r{background:#fbe8eb;color:#c8102e}.qe-ln .o{background:#fdf1df;color:#996015}
.qe-rep{border-radius:10px;padding:9px 11px;font-size:12.5px;margin-top:10px}.qe-rep.ok{background:#e6f2ea;color:#19805b}.qe-rep.bad{background:#fdf1df;color:#7a5410}
.qe-meta{display:block;margin:8px 0}.qe-rv-b{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
#detail.qe-dialog{width:min(600px,94vw)}
.qe-f>small{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#c8102e}.qe-f h2{margin:3px 0 10px}.qe-f label{display:block;margin-top:10px}.qe-f textarea{width:100%}
.qe-f2{display:grid;grid-template-columns:1fr 120px;gap:10px}.qf-seg{margin:6px 0 2px}.qf-h{font-size:12px;margin:6px 0 0}.qf-note{margin-top:12px;font-size:12.5px}
@media(max-width:700px){.qe-hd{display:none}.qe-q{grid-template-columns:24px minmax(0,1fr) 58px;grid-template-areas:"n t t" ". w g" ". a a" ". act act";row-gap:6px}
 .qe-drag{display:none}.qe-n{grid-area:n}.qe-t{grid-area:t}.qe-w{grid-area:w}.qe-g{grid-area:g}.qe-a{grid-area:a}.qe-act{grid-area:act;justify-content:flex-start}
 .qe-save{flex-wrap:wrap}.qe-save span{flex-basis:100%}.qe-f2{grid-template-columns:1fr 90px}.qe-rvk b{font-size:18px}}
/* Chat read receipts (direct messages only) */
.chat-tick{display:inline-flex;vertical-align:-1px;color:#a99c90;font-style:normal}.chat-tick svg{width:16px;height:11px}.chat-tick.seen{color:#1a9cf0}
.chat-who small .chat-tick{margin-right:3px}
.chat-tickb{background:none;border:0;padding:0 0 0 4px;margin:0;cursor:pointer;display:inline-flex;align-items:center;position:relative;color:inherit;min-height:0}
.chat-tickb[data-tip]:hover::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 4px);right:0;white-space:nowrap;background:#2b2320;color:#fff;font-size:11px;padding:4px 8px;border-radius:6px;pointer-events:none;z-index:5}
.chat-seen{margin-left:4px;color:#1a7fc4;font-weight:600}
.chat-mailed{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:#fdf1df;color:#8a5a10;font-weight:600;font-size:10px}
.chat-mailed.no{background:#fbe8eb;color:#c8102e}
@media (hover:none){.chat-tickb[data-tip]:hover::after{display:none}}
.chat-seen.no{color:var(--muted);font-weight:500}

/* Get the app: login page buttons and the how-to sheet */
.l2-app{margin-top:18px;padding-top:16px;border-top:1px solid #eadfd6}.l2-app[hidden]{display:none}.l2-app>small{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8a7a6e;font-weight:700;margin-bottom:10px}
.l2-app-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.l2-app-row button{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid #e3d6cb;background:#fff;color:#2b2320;cursor:pointer;text-align:left;font:inherit;min-width:0;box-shadow:none}
.l2-app-row button:hover{border-color:#c8102e;background:#fff}.l2-app-row svg{width:26px;height:26px;flex:none;color:#c8102e}.l2-app-row b{display:block;font-size:13.5px}.l2-app-row em{display:block;font-style:normal;font-size:11px;color:#8a7a6e;font-weight:400}
#app-sheet{position:fixed;inset:0;background:rgba(30,20,15,.45);display:flex;align-items:flex-end;justify-content:center;z-index:9999;padding:0}
#app-sheet .as{background:#fff;width:100%;max-width:440px;max-height:92vh;overflow:auto;border-radius:20px 20px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));color:#2b2320;box-shadow:0 -10px 40px rgba(0,0,0,.2);text-align:left}
@media(min-width:701px){#app-sheet{align-items:center;padding:20px}#app-sheet .as{border-radius:20px}}
#app-sheet .hd{display:flex;align-items:center;gap:12px;margin-bottom:14px}#app-sheet .hd img{width:48px;height:48px;border-radius:12px;flex:none}#app-sheet .hd b{font-size:17px;display:block}#app-sheet .hd small{color:#8a7a6e;font-size:12.5px}
#app-sheet .x{margin-left:auto;flex:none;border:0;background:#f3ece6;width:32px;height:32px;border-radius:50%;font-size:19px;line-height:1;color:#2b2320;cursor:pointer;padding:0;box-shadow:none}
#app-sheet ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}#app-sheet li{display:flex;gap:12px;align-items:center;background:#faf6f2;border-radius:12px;padding:11px 12px;font-size:14px;line-height:1.45}
#app-sheet li>i{flex:none;width:26px;height:26px;border-radius:50%;background:#c8102e;color:#fff;font-style:normal;font-weight:700;display:grid;place-items:center;font-size:13px}
#app-sheet .ic{display:inline-flex;vertical-align:-5px;width:22px;height:22px;border:1px solid #d8cbbf;border-radius:6px;align-items:center;justify-content:center;background:#fff;margin:0 3px}#app-sheet .ic svg{width:15px;height:15px;color:#1a7fc4}
#app-sheet .go{width:100%;margin-top:4px;padding:13px;border:0;border-radius:12px;background:#c8102e;color:#fff;font-weight:700;font-size:15px;cursor:pointer}
#app-sheet .note{font-size:12px;color:#8a7a6e;margin:12px 2px 0;text-align:center;line-height:1.5}#app-sheet .or{margin:16px 0 8px;font-size:11px;letter-spacing:.08em;color:#8a7a6e;font-weight:700;text-transform:uppercase}
#app-sheet .done{background:#e8f6ee;color:#1d7a46;border-radius:12px;padding:12px;font-size:14px;text-align:center;font-weight:600}

/* Get the app: inside the portal, above My Profile */
.sb-app{margin:0 0 12px;padding:12px;border-radius:14px;background:#faf3ec;border:1px solid #eadfd6}.sb-app[hidden]{display:none}.sb-app small{display:block;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:#8a7a6e;font-weight:700;margin-bottom:8px}
.sb-app-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sb-app-row button{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border-radius:10px;border:1px solid #e3d6cb;background:#fff;color:#2b2320;font-weight:600;font-size:12.5px;cursor:pointer;box-shadow:none;min-height:0;min-width:0}
.sb-app-row button:hover{border-color:#c8102e}.sb-app-row svg{width:16px;height:16px;flex:none;color:#c8102e}
/* Invitations by group */
.iv .iv-seg{display:inline-flex;background:#f3ece6;border-radius:999px;padding:3px;gap:2px;margin:2px 0 4px;flex-wrap:wrap}.iv .iv-seg button{border:0;background:none;border-radius:999px;padding:7px 14px;font-weight:600;font-size:12.5px;color:#6b5d52;box-shadow:none;min-height:0}.iv .iv-seg button.on{background:#fff;color:#c8102e;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.iv .iv-hint{margin:4px 0 8px;font-size:12px}.iv .iv-tools{display:flex;gap:8px;margin:2px 0 8px;flex-wrap:wrap}.iv .iv-tools input{flex:1;min-width:160px}
.iv .iv-list{max-height:280px;overflow:auto;border:1px solid #eadfd6;border-radius:12px;background:#fff}.iv .iv-list label{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #f1e9e2;font-size:13px;margin:0;cursor:pointer}.iv .iv-list label:last-child{border-bottom:0}
.iv .iv-list label.off{opacity:.65;cursor:default}.iv .iv-list label>span{flex:1;min-width:0}.iv .iv-list label b{display:block}.iv .iv-list label small{display:block;color:#8a7a6e;font-size:11.5px;overflow-wrap:anywhere}.iv .iv-empty{padding:16px;margin:0;text-align:center}
.iv-tag{font-style:normal;font-size:11px;font-weight:700;border-radius:999px;padding:2px 8px;white-space:nowrap;flex:none}.iv-tag.new{background:#e8f6ee;color:#1d7a46}.iv-tag.old{background:#fdf1df;color:#8a5a10}.iv-tag.off{background:#f1ece8;color:#8a7a6e}
.iv .iv-sum{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;margin:12px 0 0;font-size:13px}.iv .iv-sum b{font-size:15px}.iv .iv-foot{display:flex;gap:10px;justify-content:flex-end;margin-top:14px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:560px){.iv-tag{white-space:normal;text-align:right;max-width:110px}.iv .iv-foot button{flex:1}}

/* UAE Cluster Visits */
.uc-tile{grid-column:1/-1;background:linear-gradient(135deg,#fff,#fbf3ec)!important;border-color:#e8c9c0!important}.uc-tile-sub{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.uc-intro{margin:0 0 14px}.uc-card{margin-bottom:16px}.uc-kpis{display:grid;grid-template-columns:1.25fr .9fr repeat(5,1fr);gap:10px}
.uc-k{background:#faf6f2;border-radius:14px;padding:12px 14px;min-width:0}.uc-k small{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#8a7a6e;font-weight:700}.uc-k b{display:block;font-size:26px;margin:4px 0}.uc-k em{display:block;font-style:normal;font-size:10.5px;color:#8a7a6e;margin-top:5px;line-height:1.35}
.uc-k.big{background:#2b2320;color:#fff}.uc-k.big small{color:#cdb9aa}.uc-red{color:#c8102e!important;font-weight:700}
.uc-t{font-size:11px;font-weight:700;border-radius:999px;padding:2px 8px;background:#f1ece8;color:#8a7a6e}.uc-t.g,.uc-c.g{background:#e6f3ea;color:#1d7a46}.uc-t.a,.uc-c.a{background:#fdf1df;color:#8a5a10}.uc-t.r,.uc-c.r{background:#fbe8eb;color:#c8102e}
.uc-table th,.uc-table td{text-align:center;white-space:nowrap}.uc-table th.l,.uc-table td.l{text-align:left;white-space:normal;min-width:170px}.uc-table td small{display:block;color:#8a7a6e;font-size:11px}.uc-table td em{font-style:normal;font-size:10.5px;color:#8a5a10;font-weight:700}
.uc-bar{height:7px;background:#f0e6dc;border-radius:9px;overflow:hidden;width:110px;margin:0 auto 3px}.uc-bar i{display:block;height:100%;background:#1d7a46}
.uc-c{display:inline-block;font-weight:700;font-size:12px;border-radius:8px;padding:3px 8px;border:0;cursor:pointer;min-height:0;box-shadow:none}.uc-c:hover{outline:2px solid currentColor;outline-offset:1px}.uc-leg .uc-c{cursor:default;outline:0}
.uc-no{color:#c9bdb2}.uc-none td.l b{color:#c8102e}.uc-nv{display:block;font-style:normal!important;font-size:10.5px!important;color:#c8102e!important;font-weight:700}.uc-from{color:#3b55a5!important;font-weight:700;font-size:10.5px!important}
.uc-chips{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.uc-leg{display:flex;gap:14px;font-size:11.5px;color:#7a6a5e;margin-top:10px;flex-wrap:wrap;align-items:center}.uc-am{padding:0;text-align:left;color:inherit}.uc-am:hover b{color:#c8102e}
@media(max-width:1100px){.uc-kpis{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.uc-kpis{grid-template-columns:repeat(2,1fr)}.uc-k.big{grid-column:1/-1}}
.uc-table .uc-am{display:block;padding:0!important;margin:0;min-height:0!important;border:0;background:none;box-shadow:none;text-decoration:none;font-size:13.5px;line-height:1.3}.uc-table td.l small{margin-top:2px}
body.page-uae #type-filter{display:none!important}

/* Visit groups: Visit Type list, cluster tabs, soon tiles */
.vg-tabs{display:flex;gap:4px;background:#f3ece6;border-radius:14px;padding:4px;margin:0 0 18px;overflow-x:auto}.vg-tabs button{flex:1;border:0;background:none;padding:10px 14px;border-radius:11px;font-weight:700;font-size:14px;color:#6b5d52;white-space:nowrap;cursor:pointer;box-shadow:none;min-height:0}.vg-tabs button.on{background:#fff;color:#c8102e;box-shadow:0 1px 3px rgba(0,0,0,.12)}.vg-tabs button:hover:not(.on){color:#2b2320}
.vg-head{display:flex;align-items:baseline;gap:10px;margin:26px 0 12px;flex-wrap:wrap}.vg-head h2{margin:0}.vg-head span{color:var(--muted);font-size:13px}
.vg-soon{opacity:.6;cursor:default;pointer-events:none}.vg-soon-tag{font-size:10px;font-weight:800;letter-spacing:.06em;background:#f3ece6;color:#8a7a6e;border-radius:6px;padding:3px 7px;vertical-align:middle}.vg-tile-info{cursor:default}
.uc-kpis{grid-template-columns:1.25fr .9fr repeat(var(--uc-n,5),1fr)}

/* By Area Manager: store list on hover / tap */
.uc-tw{cursor:pointer;border-bottom:1px dotted currentColor;padding:0 1px;outline:0}.uc-tw:hover,.uc-tw:focus{color:#c8102e}
.uc-pop{position:fixed;z-index:9990;background:#fff;border:1px solid #e3d6cb;border-radius:12px;box-shadow:0 12px 32px rgba(40,20,10,.18);padding:10px 12px;max-height:300px;overflow:auto;text-align:left;font-size:12.5px;color:#2b2320}
.uc-pop>b{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8a7a6e;margin-bottom:6px}.uc-pop ol{margin:0;padding-left:20px;display:grid;gap:3px}.uc-pop li small{color:#8a7a6e}
.uc-tip-s{font-weight:700;font-size:11px;border-radius:6px;padding:1px 5px}.uc-tip-s.g{background:#e6f3ea;color:#1d7a46}.uc-tip-s.a{background:#fdf1df;color:#8a5a10}.uc-tip-s.r{background:#fbe8eb;color:#c8102e}

/* Stars of the Month: Best Area Manager and Best Store */
.stars-sec{--red:#c8102e;--red2:#a00d25;--ink:#2b1a14;--muted:#7a6a5f;--cream:#fbf5ec;--line:#eadfce;--pink:#fbe3e7;--ok:#19805b;margin:26px 0 10px;color:var(--ink)}
.stars-sec .e-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:14px}.stars-sec .e-head .eyebrow{display:block;color:var(--red);font-size:11px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;margin:0 0 4px}.stars-sec .e-head h2{font:700 26px Sora,Inter,Arial;letter-spacing:-.045em;margin:0}
.stars-sec .e-pill{font-size:12.5px;font-weight:700;color:var(--red);background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 14px;box-shadow:0 4px 24px rgba(43,26,20,.045)}
.stars-sec .stars-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.stars-sec .e-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 4px 24px rgba(43,26,20,.06);transition:transform .2s,box-shadow .2s}.stars-sec .e-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(43,26,20,.12)}
.stars-sec .e-hero{position:relative;height:168px;padding-bottom:30px;background:linear-gradient(150deg,var(--red) 0%,var(--red2) 100%);color:#fff;display:grid;place-items:center;align-content:center;overflow:hidden}
.stars-sec .e-rays{position:absolute;inset:-70%;background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,255,255,.08) 0 7deg,transparent 7deg 18deg);animation:e-spin 60s linear infinite}@keyframes e-spin{to{transform:rotate(360deg)}}
.stars-sec .e-conf{position:absolute;inset:0;background:radial-gradient(3px 3px at 12% 22%,#fff 50%,transparent 52%),radial-gradient(4px 4px at 26% 70%,#ffd9df 50%,transparent 52%),radial-gradient(3px 3px at 80% 28%,#fff 50%,transparent 52%),radial-gradient(4px 4px at 90% 64%,#ffd9df 50%,transparent 52%),radial-gradient(3px 3px at 66% 14%,#fbf5ec 50%,transparent 52%),radial-gradient(3px 3px at 36% 12%,#fbf5ec 50%,transparent 52%);opacity:.75}
.stars-sec .e-badge{position:relative;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1.5px solid rgba(255,255,255,.55);box-shadow:0 0 0 8px rgba(255,255,255,.07)}.stars-sec .e-badge svg{width:32px;height:32px}
.stars-sec .e-k{position:relative;font:700 13px Sora,Inter;letter-spacing:.2em;text-transform:uppercase;margin-top:10px}.stars-sec .e-mo{position:relative;font-size:10.5px;letter-spacing:.22em;text-transform:uppercase;opacity:.8;margin-top:3px}
.stars-sec .e-body{padding:0 22px 20px;text-align:center}
.stars-sec .e-av{position:relative;width:76px;height:76px;margin:-38px auto 10px;border-radius:50%;background:var(--cream);border:4px solid #fff;outline:2px solid var(--red);display:grid;place-items:center;font:700 24px Sora,Inter;color:var(--red);box-shadow:0 8px 20px rgba(160,13,37,.22)}.stars-sec .e-av svg{width:34px;height:34px}
.stars-sec .e-body h3{font:700 24px Sora,Inter;letter-spacing:-.04em;margin:0}.stars-sec .e-sub{font-size:13px;color:var(--muted);margin-top:3px}
.stars-sec .e-msg{font-size:15px;font-weight:600;margin:12px auto 16px;color:var(--ink);background:var(--cream);border-radius:999px;display:inline-block;padding:8px 16px}
.stars-sec .e-m{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:left}.stars-sec .e-m>div{position:relative;background:#fff;border:1px solid var(--line);border-top:3px solid var(--red);border-radius:14px;padding:12px 14px}
.stars-sec .e-m small{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.stars-sec .e-m b{display:block;font:700 26px/1.2 Sora,Inter;letter-spacing:-.04em;color:var(--red);margin:6px 0 6px}.stars-sec .e-m span{display:block;font-size:11.5px;color:var(--muted);margin-top:6px}.stars-sec .e-m .up{font-style:normal;font-weight:700;color:var(--ok)}
.stars-sec .e-rk{line-height:16px;position:absolute;top:10px;right:10px;font-style:normal;font-size:10.5px;font-weight:700;color:var(--red);background:var(--pink);border-radius:999px;padding:2px 8px}.stars-sec .e-rk.is1{background:var(--red);color:#fff}
.stars-sec .e-bar{position:relative;height:6px;background:#f2e6e5;border-radius:6px}.stars-sec .e-bar i{display:block;height:100%;background:var(--red);border-radius:6px}.stars-sec .e-bar em{position:absolute;top:-3px;width:2px;height:12px;background:var(--ink);border-radius:2px}
.stars-sec .e-stars{position:relative;display:inline-block;color:#eadfce;font-size:15px;letter-spacing:2px;line-height:1}.stars-sec .e-stars span{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:var(--red)}
.stars-sec .e-ok{display:inline-block;font-size:11px;font-weight:700;color:var(--ok);background:#e4f2ea;border-radius:999px;padding:2px 8px}
.stars-sec .e-ru{margin-top:14px;text-align:left}.stars-sec .e-ru>small{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.stars-sec .e-ru>div{display:flex;align-items:center;gap:10px;padding:8px 4px;border-top:1px solid var(--line);font-size:13px}.stars-sec .e-ru b{font-weight:700}.stars-sec .e-ru em{margin-left:auto;font-style:normal;color:var(--muted);font-size:12px}
.stars-sec .e-ru .rank{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:var(--cream);color:var(--red);font-weight:700;font-size:12px}
.stars-sec .e-how{font-size:12px;color:var(--muted);margin:12px 2px 0}
@media(max-width:800px){.stars-sec .stars-grid{grid-template-columns:1fr}.stars-sec .e-head h2{font-size:22px}.stars-sec .e-m b{font-size:22px}.stars-sec .e-rk{position:static;display:flex;align-items:center;height:20px;width:fit-content;line-height:16px;margin-top:5px;overflow:hidden}.stars-sec .e-m b{margin-top:4px}.stars-sec .e-msg{border-radius:14px}}

.stars-sec .stars-grid.one{grid-template-columns:minmax(0,560px)}.stars-sec .e-m .dn{font-style:normal;font-weight:700;color:var(--red)}
@media(prefers-reduced-motion:reduce){.stars-sec .e-rays{animation:none}.stars-sec .e-card{transition:none}}
.bs-tabs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.bs-tabs button{border-radius:999px;font-weight:700;padding:9px 16px}.bs-tabs button.on{background:#c8102e;border-color:#c8102e;color:#fff}
.bs-table th,.bs-table td{text-align:center;white-space:nowrap}.bs-table th.l,.bs-table td.l{text-align:left;white-space:normal}.bs-table td small{display:block;color:var(--muted);font-size:11px}.bs-table td.l small{white-space:normal}
.bs-place{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f3ece6;font-weight:800;font-size:12px}.bs-on1{background:#fbe8eb}.bs-on{background:#fbf5ec}.bs-picks{display:flex;gap:4px;justify-content:center}.bs-picks .dchip{padding:4px 9px;font-size:12px}
.bs-now{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:6px 0 12px}.bs-tag{background:#fbe8eb;color:#a00d25;border:1px solid #f3c3cc;border-radius:999px;padding:5px 11px;font-weight:700;font-size:12.5px}.bs-month{display:flex;align-items:center;gap:8px;font-size:12px}.bs-how{font-size:12px;margin-top:10px}
.stars-sec .e-m .e-stars{display:inline-block;margin-top:2px;font-size:15px;color:#eadfce;letter-spacing:2px;line-height:1}.stars-sec .e-m .e-stars>span{position:absolute;left:0;top:0;margin:0;font-size:inherit;color:var(--red);overflow:hidden;white-space:nowrap;line-height:1}
/* Home-screen app on iPhone: a solid red strip behind the clock and battery. iOS 26 takes the status bar colour from a fixed element at the top; without one it blurs the page under it with the cream page colour. */
.sb-fill{display:none}
@media (display-mode: standalone){.sb-fill{display:block;position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top,0px);background:#c8102e;z-index:9000;pointer-events:none}}

/* QA Helpdesk weekly email: notes box and preview */
.qa-mail-box{background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--red);border-radius:12px;padding:14px 16px;margin:12px 0}.qa-mail-head{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.qa-mail-head b{color:var(--ink)}.qa-mail-head .muted{font-size:12.5px}
.qa-mail-box textarea{min-height:76px}.qa-mail-box button{margin-top:10px}
.qa-mail-dlg{width:min(760px,96vw);max-height:92vh;padding:0;overflow:hidden}.qa-mail-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}.qa-mail-top small{display:block;font-size:10px;letter-spacing:1.5px;color:var(--red);font-weight:700}.qa-mail-top b{font-size:14px}
.qa-mail-dlg iframe{display:block;width:100%;height:min(78vh,1100px);border:0;background:#f1e6d6}
/* Leadership Notes */
.ln{border-top:3px solid var(--red)}.ln-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.ln-head h3{margin:0;font-size:16px}.ln-ic{width:34px;height:34px;border-radius:10px;background:#fbe3e7;display:grid;place-items:center;font-size:16px}
.ln-pill{font-size:11.5px;font-weight:700;color:var(--red);background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 10px}.ln-count{margin-left:auto;font-size:12px;color:var(--muted)}.ln-empty{margin:0 0 12px}
.ln-note{display:flex;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;background:#fff}.ln-note.kudos{background:linear-gradient(180deg,#fff7f8,#fff);border-color:#f3c3cc;border-left:4px solid var(--red)}.ln-note.is-new{box-shadow:0 0 0 3px rgba(200,16,46,.16)}
.ln-note>.chat-av,.ln-mini>.chat-av{flex:none;width:40px;height:40px}.ln-body{flex:1;min-width:0}.ln-who{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ln-who b{font-size:14px}
.ln-role{font-size:10px;font-weight:800;letter-spacing:.05em;color:#fff;background:var(--ink);border-radius:6px;padding:2px 7px}.ln-newtag{font-size:10px;font-weight:800;color:#fff;background:var(--red);border-radius:6px;padding:2px 7px}.ln-time{font-size:12px;color:var(--muted)}
.ln-type{margin-left:auto;font-size:11.5px;font-weight:700;border-radius:999px;padding:3px 10px;background:var(--cream);color:var(--muted)}.kudos .ln-type{background:#fbe3e7;color:var(--red)}
.ln-text{font-size:14px;line-height:1.55;margin:6px 0 8px;color:#3f2a24;overflow-wrap:anywhere}.ln-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.ln-tags span{font-size:12px;font-weight:600;background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:3px 10px}
.ln-react{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ln-rx{position:relative;border-radius:999px;padding:4px 11px;font-size:12.5px;background:#fff}.ln-rx.on{background:#fbe3e7;border-color:#f3c3cc;color:var(--red);font-weight:700}.ln-seen{margin-left:auto;font-size:12px;color:var(--muted)}
.ln-link{border:0;background:none;padding:2px 4px;font-size:12px;font-weight:700;color:var(--red)}.ln-link.danger{color:var(--muted)}
.ln-tip{display:none;position:absolute;left:0;bottom:calc(100% + 10px);z-index:30;background:var(--ink);color:#fff;border-radius:12px;padding:10px 12px;min-width:240px;text-align:left;box-shadow:0 10px 28px rgba(0,0,0,.25);font-size:12.5px;font-weight:400;white-space:nowrap}.ln-tip::after{content:"";position:absolute;left:22px;top:100%;border:7px solid transparent;border-top-color:var(--ink)}
@media(hover:hover){.ln-rx:hover .ln-tip{display:block}}.ln-rx.show .ln-tip{display:block}.ln-tip b{display:block;font-size:11px;letter-spacing:.08em;color:#ffd9df;margin-bottom:6px}.ln-tip-row{display:flex;gap:8px;align-items:center;padding:3px 0}.ln-tip-row .chat-av{width:22px;height:22px;font-size:9px}.ln-tip-row small{margin-left:auto;color:#cdb9ad;font-size:11px;padding-left:12px}.ln-tip-more{display:block;color:#cdb9ad;font-size:11.5px;padding-top:4px}
.ln-comp{margin-top:6px;border:1px dashed #d9c3a9;border-radius:14px;padding:14px 16px;background:var(--cream)}.ln-seg{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px;margin-bottom:10px}.ln-seg button{border:0;border-radius:999px;padding:6px 14px;font-weight:700;font-size:12.5px;background:none}.ln-seg button.on{background:var(--red);color:#fff}
.ln-comp textarea,.ln-edit{min-height:70px;background:#fff}.ln-row{display:flex;gap:8px;align-items:center;margin-top:10px;flex-wrap:wrap}.ln-row small{margin-left:auto;color:var(--muted)}
.ln-tagbar{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:8px}.ln-tagbar input{flex:1;min-width:200px;margin:0}.ln-chip{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 4px 3px 10px}.ln-chip button{border:0;background:none;padding:0 6px;font-size:14px;color:var(--muted)}
.ln-new{position:sticky;top:calc(var(--topbar-h,66px) + 10px);z-index:30;display:flex;justify-content:center;margin:0 0 12px;pointer-events:none}.ln-new button{pointer-events:auto;background:var(--red);color:#fff;border:0;border-radius:999px;padding:9px 16px;font-weight:700;font-size:13px;box-shadow:0 8px 22px rgba(200,16,46,.35)}.ln-ar{display:inline-block;animation:ln-b 1s ease-in-out infinite}@keyframes ln-b{50%{transform:translateY(3px)}}
.ln-dim{position:fixed;inset:0;background:rgba(43,26,20,.2);z-index:9500}.ln-nudge{position:fixed;right:24px;bottom:24px;z-index:9501;width:380px;max-width:calc(100vw - 24px);background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:18px;box-shadow:0 18px 48px rgba(43,26,20,.25);padding:18px}
.ln-k{font-size:10.5px;font-weight:800;letter-spacing:.14em;color:var(--red)}.ln-nudge h4{margin:6px 0;font-size:17px;font-family:Sora,Inter,Arial}.ln-nudge p{margin:0 0 12px;font-size:13.5px;color:#5a3a35;line-height:1.5}.ln-q{background:var(--cream);border-left:3px solid var(--red);border-radius:8px;padding:8px 10px;font-size:13px;margin-bottom:12px}
.ln-acts{display:flex;gap:8px;flex-wrap:wrap}.ln-acts button{border-radius:999px;font-weight:700}.ln-later{display:block;margin-top:10px;border:0;background:none;padding:0;color:var(--muted);font-size:12.5px}
.ln-home .ln-mini{display:flex;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.ln-home .ln-mini:first-of-type{border-top:0}.ln-mini>.chat-av{width:34px;height:34px}.ln-mini p{margin:2px 0;font-size:13.5px;line-height:1.45}.ln-mini .ln-link{padding:0}
@media(max-width:700px){.ln-nudge{left:12px;right:12px;bottom:12px;width:auto}.ln-type{margin-left:0}.ln-note{padding:12px}.ln-row small{margin-left:0}}
@media print{#ln-newpill,.ln-comp,.ln-nudge-wrap{display:none!important}}
.ln-tagbox{position:relative;flex:1;min-width:220px}.ln-tagbox input{width:100%;margin:0}.ln-sug{position:absolute;left:0;right:0;bottom:calc(100% + 4px);z-index:40;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(43,26,20,.18);max-height:300px;overflow:auto;padding:4px}
.ln-sug-i{display:flex;width:100%;align-items:center;gap:10px;border:0;border-radius:8px;background:none;padding:8px 10px;text-align:left}.ln-sug-i b{font-size:13px;font-weight:600}.ln-sug-i small{margin-left:auto;color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}.ln-sug-i.on,.ln-sug-i:hover{background:var(--cream)}.ln-sug-none{pointer-events:none;display:block;padding:10px;color:var(--muted);font-size:12.5px}
.lnd-intro{margin:0 0 12px}.lnd h4{margin:16px 0 8px;font-size:13px}.lnd h4 .muted{font-weight:400}.lnd .dchips{display:flex;flex-wrap:wrap;gap:8px}.lnd .dchip{display:inline-flex;align-items:center;gap:6px}.lnd .dchip em{font-style:normal;font-size:11px;font-weight:800;background:rgba(0,0,0,.08);border-radius:999px;padding:0 7px}.lnd .dchip.on em{background:rgba(255,255,255,.25)}
.lnd-p{display:flex;gap:6px;flex-wrap:wrap}.lnd-p span{font-size:12px;font-weight:600;background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:4px 10px}.lnd-p .lnd-none{background:none;border:0;padding:0;font-weight:400}
.lnd-sum{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.lnd-sum b{font:700 22px Sora,Inter,Arial;color:var(--red)}.lnd-sum button{margin-left:auto}

/* Leadership Notes: compact bar under the filters, and the view each note was written on */
.ln-head .ln-write{margin-left:12px;border-radius:999px;padding:8px 16px;font-weight:700}.ln.ln-slim{padding-top:16px;padding-bottom:16px}.ln.ln-slim .ln-head{margin-bottom:0}
.ln-on{font-size:12px;color:var(--muted);margin:4px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ln-on b{color:var(--ink)}.ln-scope{display:inline-flex;gap:4px;flex-wrap:wrap}.ln-scope span{font-size:10.5px;font-weight:800;letter-spacing:.03em;color:var(--ink);background:#efe3d4;border-radius:6px;padding:2px 7px}
.ln-target{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:12.5px;margin:0 0 10px;color:#5a3a35}.ln-target span{font-weight:700;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 10px}
@media(max-width:700px){.ln-head .ln-write{margin-left:auto}.ln-head .ln-count{margin-left:0}}

/* Sign-in page: red background with soft circles, illustration, form, and the Tims mark at the bottom */
.lg3:not([hidden]){position:relative;display:block;min-height:100vh;min-height:100dvh;overflow:hidden;color:#fff;background:linear-gradient(180deg,#c8102e 0%,#a50d25 55%,#7d0a1c 100%)}
.lg3-orb{position:absolute;border-radius:50%;background:linear-gradient(160deg,#c8102e 10%,#7f0a1d 100%);box-shadow:inset 0 -30px 60px rgba(0,0,0,.18);pointer-events:none}
.lg3 .o1{width:300px;height:300px;left:-110px;top:20px}.lg3 .o2{width:520px;height:520px;right:-170px;top:420px}.lg3 .o3{width:260px;height:260px;left:60px;top:1040px}
.lg3-wrap{position:relative;z-index:1;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;padding:calc(28px + env(safe-area-inset-top)) 30px calc(26px + env(safe-area-inset-bottom));max-width:520px;margin:0 auto}
.lg3-art{display:flex;justify-content:center;margin:26px 0 34px}.lg3-art svg{width:100%;max-width:330px;height:auto}
.lg3-right h2,.lg3-sub{display:none}
.lg3-fld{display:block;margin:0 0 22px;color:#fff;font-size:14px}.lg3-fld span{display:block;font-weight:600;margin-bottom:4px}
.lg3 .lg3-fld input{width:100%;background:transparent;border:0;border-bottom:1.5px solid rgba(255,255,255,.85);border-radius:0;color:#fff;font:inherit;font-size:15px;padding:10px 2px;margin:0;outline:none;box-shadow:none}.lg3 .lg3-fld input::placeholder{color:rgba(255,255,255,.7)}.lg3 .lg3-fld input:focus{border-bottom-color:#fff;border-bottom-width:2px}
.lg3-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;border-radius:10px;background:#fff;color:#c8102e;font:700 15px Inter,Arial,sans-serif;padding:12px;box-shadow:0 10px 24px rgba(60,0,10,.25);cursor:pointer}.lg3-btn:hover{background:#fff4f6}.lg3-btn:disabled{opacity:.7}
.lg3 .code-links{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.lg3 .code-links .link{color:#fff;font-weight:600;font-size:13px;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px}
.lg3 #login-message{margin:12px 0 0;font-size:13px;color:#fff;background:rgba(43,26,20,.28);border-radius:10px;padding:8px 12px}.lg3 #login-message:empty{display:none}
.lg3-note{display:flex;gap:8px;align-items:center;justify-content:center;font-size:12px;color:#ffd9df;margin:14px 0 0}.lg3-note svg{width:15px;height:15px;flex:none}
.lg3 .lg3-app{margin:26px 0 0;padding:0;border:0;text-align:center}.lg3 .lg3-app>small{display:block;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#ffd9df;margin-bottom:10px}
.lg3 .l2-app-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lg3 .l2-app-row button{display:flex;align-items:center;justify-content:center;gap:12px;background:rgba(43,26,20,.38);border:1px solid rgba(255,255,255,.28);border-radius:12px;color:#fff;padding:12px;font:inherit;cursor:pointer}.lg3 .l2-app-row button:hover{background:rgba(43,26,20,.5);border-color:rgba(255,255,255,.5)}
.lg3 .l2-app-row svg{width:22px;height:22px;color:#fff}.lg3 .l2-app-row b{font:700 15px/1.1 Sora,Inter,Arial,sans-serif;color:#fff}
.lg3-brand{margin-top:auto;padding-top:34px;display:flex;align-items:center;justify-content:center;gap:12px}.lg3-brand img{width:44px;height:auto}.lg3-brand .bar{width:1.5px;height:34px;background:rgba(255,255,255,.45);border-radius:2px}.lg3-brand b{font:600 14.5px/1.2 Sora,Inter,Arial,sans-serif;letter-spacing:.01em;white-space:nowrap}
@media(min-width:900px){
 .lg3 .o1{width:420px;height:420px;left:-140px;top:-120px}.lg3 .o2{width:640px;height:640px;right:-160px;top:auto;bottom:-260px}.lg3 .o3{width:300px;height:300px;left:38%;top:58%}
 .lg3-wrap{flex-direction:row;align-items:center;justify-content:center;gap:150px;padding:40px 70px;max-width:none}
 .lg3-left{flex:1;max-width:560px}.lg3-art{justify-content:flex-start;margin:0}.lg3-art svg{max-width:500px}
 .lg3-right{width:420px;flex:none;background:rgba(80,0,12,.18);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:36px 34px 30px}
 .lg3-right h2{display:block;font:700 24px Sora,Inter,Arial,sans-serif;margin:0 0 4px;color:#fff;letter-spacing:-.02em}.lg3-sub{display:block;font-size:13.5px;color:#ffd9df;margin:0 0 26px}
 .lg3-fld{font-size:15px}.lg3 .lg3-fld input{font-size:16px;padding:12px 2px}.lg3-btn{font-size:16px;padding:14px;border-radius:12px}.lg3 .l2-app-row b{font-size:16px}
 .lg3-brand{position:absolute;left:70px;bottom:34px;padding:0;margin:0;gap:16px}.lg3-brand img{width:54px}.lg3-brand .bar{height:44px}.lg3-brand b{font-size:17px}
}
@media(max-width:899px) and (max-height:700px){.lg3-art{margin:10px 0 20px}.lg3-art svg{max-width:260px}}

/* Activity Log · Sign-in Status */
.si-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 14px}.si-k{background:var(--cream);border:1px solid var(--line);border-top:3px solid var(--red);border-radius:12px;padding:12px 14px}.si-k small{display:block;font-size:10px;font-weight:700;letter-spacing:.06em;color:var(--muted)}.si-k b{display:block;font:700 26px Sora,Inter,Arial;color:var(--red);margin-top:4px}.si-k span{font-size:12px;color:var(--muted)}.si-k.g b{color:#19805b}
.si-tabs{display:flex;gap:6px;margin:0 0 10px;flex-wrap:wrap;align-items:center}.si-tabs button{border-radius:999px;font-weight:700;padding:7px 14px}.si-tabs button.on{background:var(--red);color:#fff;border-color:var(--red)}.si-tabs input{margin:0 0 0 auto;max-width:260px}
.si-wrap{max-height:560px;overflow:auto}.si-p{display:flex;align-items:center;gap:10px;min-width:220px}.si-p .chat-av{width:32px;height:32px;font-size:11px;flex:none}.si-p b{display:block;font-size:13px;white-space:normal}.si-p small{display:block;color:var(--muted);font-size:11.5px;white-space:normal}
.si-when b{display:block;font-size:13px}.si-when small{color:var(--muted)}.si-never{color:var(--red);font-weight:700}.si-badge{display:inline-block;font-size:11px;font-weight:700;border-radius:999px;padding:2px 9px}.si-badge.ok{background:#e4f2ea;color:#19805b}.si-badge.no{background:#fbe3e7;color:var(--red)}
@media(max-width:700px){.si-kpis{grid-template-columns:1fr 1fr}.si-tabs input{margin:0;max-width:none;width:100%}}
.lg3 .lg3-brand img.l2-logo{position:static;top:auto;right:auto;height:auto;width:44px;margin:0;align-self:center}
@media(min-width:900px){.lg3 .lg3-brand img.l2-logo{width:54px}}
.lg3 .lg3-btn.primary{background:#fff;border:0;color:#c8102e}.lg3 .lg3-btn.primary:hover{background:#fff4f6}
/* Chats (Nov 2026): no online status, Announcements, send to everyone */
.chat-lbl{font-size:14px;font-weight:700;padding-right:2px}
.chat-pin{font-style:normal;font-size:9.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;background:#fff1d6;color:#9a6a00;border-radius:6px;padding:1px 6px;margin-left:6px;vertical-align:2px}
.chat-everyone{all:unset;cursor:pointer;box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;margin:8px 0 2px;padding:10px;border:1.5px dashed #e6b8bf;background:#fff7f8;border-radius:12px}
.chat-everyone:hover,.chat-everyone:focus-visible{background:#fdecef}.chat-everyone b{color:var(--red)}
.chat-rooms button.unread b{font-weight:800}.chat-rooms button.unread small{color:var(--ink);font-weight:600}
.chat-ev{padding:14px!important}.chat-ev textarea{width:100%;box-sizing:border-box;min-height:150px;resize:vertical;border:1px solid var(--line);border-radius:14px;padding:12px;font:inherit;font-size:14px;background:#fffaf4}
.chat-note{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 2px 0}.chat-note b{color:var(--ink)}
.chat-ro{border-top:1px solid var(--line);padding:12px 14px;font-size:12.5px;color:var(--muted);text-align:center;background:#fff}.chat-ro .link-btn{font-weight:700}
.chat-push{display:flex;align-items:center;gap:10px;margin:10px 14px 0;padding:10px 12px;border-radius:12px;background:#fff6e5;border:1px solid #f2dfb5;font-size:12.5px;color:#6b4f1d;line-height:1.4}.chat-push span{flex:1}.chat-push button{flex:none}
/* ===== Layout 2.0 ===== */
/* 1 · side menu folds to icons */
.ly-fold{display:flex;align-items:center;gap:10px;width:100%;border:1px solid var(--line);background:var(--cream);border-radius:12px;padding:8px 12px;margin:0 0 14px;font-weight:700;font-size:12.5px;color:var(--muted)}.ly-fold-ic{font-size:15px;line-height:1}
@media(min-width:701px){
 body.side-mini aside:not(:hover){width:78px!important;padding:18px 12px 18px!important;align-items:center;overflow-x:hidden}
 body.side-mini aside:not(:hover)>small,body.side-mini aside:not(:hover) nav small,body.side-mini aside:not(:hover) .ly-fold-t,body.side-mini aside:not(:hover) .sb-app small,body.side-mini aside:not(:hover) .profile>div,body.side-mini aside:not(:hover) .profile small,body.side-mini aside:not(:hover) .profile b,body.side-mini aside:not(:hover) .profile a{display:none!important}
 body.side-mini aside:not(:hover) nav button{font-size:0!important;justify-content:center;padding:12px 0!important;width:52px;gap:0!important}
 body.side-mini aside:not(:hover) nav button svg{width:22px!important;height:22px!important;margin:0!important}
 body.side-mini aside:not(:hover) .ly-fold{justify-content:center;width:52px;padding:8px 0}
 body.side-mini aside:not(:hover) .sb-app,body.side-mini aside:not(:hover) .sb-app-row{display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:none}body.side-mini aside:not(:hover) .sb-app button{font-size:0;width:52px;justify-content:center;padding:10px 0}
 body.side-mini aside:not(:hover) .profile{padding:12px 0 0!important;display:flex;flex-direction:column;align-items:center;gap:8px}body.side-mini aside:not(:hover) .profile-open{padding:0!important;background:none!important;border:0!important;display:block}body.side-mini aside:not(:hover) .profile-open>:not(.profile-av){display:none!important}body.side-mini aside:not(:hover) #logout{font-size:0!important;width:44px;height:36px;padding:0!important;position:relative}body.side-mini aside:not(:hover) #logout::after{content:'⎋';font-size:16px}
}
/* 2 · the page title bar stays on top */
@media(min-width:701px){main>.top{position:sticky;top:var(--topbar-h);z-index:15;background:rgba(241,230,214,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:-28px -32px 18px!important;padding:14px 32px 14px!important}}
/* 3 · one rhythm for cards and headings */
#content>.card,#content>section.card{margin-bottom:16px}#content .kpis{gap:16px;margin-bottom:16px}#content .card h3{font-size:15.5px;letter-spacing:-.02em}
/* tools in the top bar */
.ly-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.ly-search{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:12px;padding:7px 12px;font-weight:600;font-size:13px}.ly-search svg{width:16px;height:16px}.ly-search kbd{font:700 10.5px Inter,Arial;background:rgba(255,255,255,.2);border-radius:5px;padding:1px 6px}
.ly-dark{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);font-size:15px;padding:0}
@media(max-width:700px){.ly-search span,.ly-search kbd{display:none}.ly-search{padding:7px 9px}.ly-tools{gap:6px}}
/* 4 · sparklines */
.ly-spark{display:block;width:100%;height:40px;margin-top:10px}.ly-spark .ln{stroke-dasharray:700;stroke-dashoffset:700;animation:ly-draw 1s .15s ease forwards}@keyframes ly-draw{to{stroke-dashoffset:0}}
/* 5 · today */
.ly-today{margin:0 0 18px}.ly-today h2{font:700 19px Sora,Inter,Arial;letter-spacing:-.03em;margin:0}.ly-today>p{margin:4px 0 14px}
.ly-att{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.ly-a{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 15px;text-align:left;transition:transform .15s,box-shadow .15s}.ly-a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(43,26,20,.08);background:#fff}
.ly-a .ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:18px;flex:none}.ly-a b{display:block;font-size:14px}.ly-a small{color:var(--muted)}.ly-a .go{margin-left:auto;color:var(--red);font-weight:800}.ly-a.r .ic{background:#fbe3e7}.ly-a.a .ic{background:#fff1d6}.ly-a.g .ic{background:#e4f2ea}
/* 6 · tables */
@media screen{#content .table-wrap{max-height:72vh;overflow:auto}#content .table-wrap thead th{position:sticky;top:0;z-index:2}}
.ly-sc{white-space:nowrap}.ly-bar{display:inline-block;vertical-align:middle;width:70px;height:6px;border-radius:6px;background:#f2e6e5;margin-right:8px;position:relative;overflow:hidden}.ly-bar em{position:absolute;inset:0 auto 0 0;border-radius:6px}
/* 7 · skeletons */
.ly-sk{display:block;border-radius:8px;background:linear-gradient(90deg,#efe5d8 25%,#f8f1e7 50%,#efe5d8 75%);background-size:200% 100%;animation:ly-sh 1.2s linear infinite}@keyframes ly-sh{to{background-position:-200% 0}}
.ly-skel-k{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:16px}.ly-skel-g{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}@media(max-width:700px){.ly-skel-k{grid-template-columns:1fr 1fr}.ly-skel-g{grid-template-columns:1fr}}
/* 8 · cards come in */
.ly-in{animation:ly-fd .35s ease both}@keyframes ly-fd{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.ly-in,.ly-spark .ln,.ly-sk{animation:none}.ly-spark .ln{stroke-dashoffset:0}}
/* 9 · quick search */
.ly-ov{position:fixed;inset:0;z-index:9800;background:rgba(43,26,20,.35);display:flex;align-items:flex-start;justify-content:center;padding:12vh 16px 16px}.ly-ov[hidden]{display:none}
.ly-pal{width:min(620px,100%);background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(43,26,20,.3);overflow:hidden}.ly-pal input{width:100%;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:18px 20px!important;font-size:16px;margin:0!important;outline:none}
.ly-pal ul{list-style:none;margin:0;padding:6px;max-height:52vh;overflow:auto}.ly-pal li{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;cursor:pointer}.ly-pal li.on,.ly-pal li:hover{background:var(--cream)}.ly-pal li small{margin-left:auto;color:var(--muted);font-size:12px}.ly-pal .ly-none{color:var(--muted);cursor:default}
.ly-t{font-size:10px;font-weight:800;letter-spacing:.06em;border-radius:6px;padding:2px 7px;flex:none}.ly-t.r{background:#e4f2ea;color:#19805b}.ly-t.s{background:#fbe3e7;color:var(--red)}.ly-t.p{background:#efe3d4;color:var(--ink)}
.ly-ft{display:flex;gap:14px;padding:9px 16px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.ly-ft kbd{font:600 11px Inter,Arial;background:var(--cream);border:1px solid var(--line);border-radius:5px;padding:0 5px}
/* 10 · phone tab bar */
.ly-tabs{display:none}
@media(max-width:700px){
 .ly-tabs:not([hidden]){display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 30px rgba(43,26,20,.16);padding:7px 4px}
 .ly-tabs button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10.5px;font-weight:700;color:var(--muted);padding:2px 0;min-height:0}.ly-tabs svg{width:22px;height:22px}.ly-tabs button.on{color:var(--red)}.ly-tabs button.on svg{background:#fbe3e7;border-radius:10px;padding:3px;width:32px;height:28px}
 main{padding-bottom:110px!important}.chat-wrap{bottom:calc(84px + env(safe-area-inset-bottom))!important}
 /* 11 · short tables become cards */
 table.ly-mcards,table.ly-mcards tbody,table.ly-mcards tr,table.ly-mcards td{display:block;width:100%}table.ly-mcards{min-width:0!important}table.ly-mcards thead{display:none}
 table.ly-mcards tr{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin:0 0 8px}table.ly-mcards td{border:0!important;padding:3px 0!important;display:flex;justify-content:space-between;gap:12px;white-space:normal!important;text-align:right}
 table.ly-mcards td::before{content:attr(data-label);font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);text-align:left;flex:none;max-width:45%}table.ly-mcards td:first-child{font-weight:700}
 .ly-today h2{font-size:18px}.ly-att{grid-template-columns:1fr}
}
/* 12 · dark mode: the page is inverted; parts that are already dark (top bar, hero, photos) are turned back */

html.dark main img,html.dark aside img,html.dark #chat img,html.dark #detail img,html.dark main video,html.dark main iframe,html.dark .chat-av.pic,html.dark .org-ptop,html.dark .stars-sec .star-bg{filter:invert(1) hue-rotate(180deg)}
html.dark .home-hero img{filter:none}
/* red parts: a light pink here turns into a deep Tims red once the page is inverted */

html.dark .chat-fab:not(.is-open),html.dark .primary,html.dark button.primary{background:#f4b9c3!important;border-color:#f4b9c3!important;color:#241c1c!important}

@media print{.ly-tools,.ly-tabs,.ly-fold,.ly-ov,.ly-spark,.ly-today{display:none!important}html.dark{filter:none}}

/* ===== Design 2026 · fonts (self-hosted, SIL Open Font License, see /fonts) ===== */
/* ===== Design 2026 · "Espresso & Red" =====
   Espresso frames the work (top bar, hero), Tims Red is kept for what you act on (primary buttons, the page you are on,
   things that need attention). Paper-white surfaces on a light steamed-milk page. Bricolage for titles and big numbers,
   Instrument Sans for everything you read and scan. */
:root{--red:#C8102E;--red-deep:#9E0C24;--red-tint:#FBE9EC;--espresso:#2A1712;--espresso-2:#3A2219;--roast:#6E5246;
 --ink:#2A1712;--muted:#7D6A60;--bg:#F6F2ED;--line:#E9E0D7;--line-2:#F1EAE3;--cream:#FAF7F3;--good:#1F7A55;--watch:#B7791F;
 --topbar:#2A1712;--topbar-ink:#F3E9E2;--shadow:none;--r-lg:18px;--r-md:12px;--r-sm:10px;
 --f-title:'Bricolage','Instrument',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
 --f-ui:'Instrument',system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
html body{font-family:var(--f-ui);font-size:14px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html body button,html body input,html body select,html body textarea{font-family:var(--f-ui)}
html body #app,html body .app-body{background:var(--bg)}
html body h1,html body h2,html body h3,html body .metric,html body .ly-today h2{font-family:var(--f-title);letter-spacing:-.025em;font-optical-sizing:auto}
html body td,html body .metric,html body .si-k b,html body .ly-a b{font-variant-numeric:tabular-nums}
::selection{background:#F6C9D1;color:var(--espresso)}

/* top bar: espresso, the section you are in is the one red pill */
html body .topbar{background:var(--espresso);color:var(--topbar-ink);box-shadow:none;border-bottom:1px solid #1C0F0B}
html body .sections button{color:#E9DCD3;opacity:1;font-weight:600;font-size:13px;letter-spacing:0}
html body .sections button svg{opacity:.8}
html body .sections button:hover{background:rgba(255,255,255,.07)}
html body .sections button.selected{background:var(--red);color:#fff;box-shadow:0 6px 18px rgba(200,16,46,.35)}
html body .sections button.selected svg{opacity:1}
html body .sections .admin-tab:before{background:rgba(255,255,255,.16)}
html body .topbar-brand{border-radius:10px;box-shadow:none}
html body .ly-search{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);color:#E9DCD3}
html body .ly-search kbd{background:rgba(255,255,255,.1)}
html body .ly-dark{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}

/* side menu: quiet; the page you are on gets a red edge, not a pink block */
html body aside{background:#FFFDFB;border-right:1px solid var(--line)}
html body aside nav button{color:var(--roast);font-weight:600;font-size:13.5px;border-radius:var(--r-sm)}
html body aside nav button:hover{background:var(--cream);color:var(--espresso)}
html body aside nav button.selected,html body aside #nav button.selected{background:#F5EEE8!important;color:var(--espresso)!important;font-weight:700;box-shadow:inset 3px 0 0 var(--red)}
html body aside nav button.selected svg{color:var(--red);stroke:var(--red)}
html body aside>small,html body aside nav small{letter-spacing:.08em;color:#A3928A;font-weight:700}
html body .ly-fold{background:#fff;border-color:var(--line);color:var(--roast)}

/* page header */
html body main>.top h1,html body #page-title{font-size:34px;font-weight:700;letter-spacing:-.035em;line-height:1.1;color:var(--espresso)}
html body #page-kicker{color:var(--red);letter-spacing:.08em;font-weight:700}
html body .page-quote{color:var(--roast)}
@media(min-width:701px){html body main>.top{background:rgba(246,242,237,.9)}}

/* surfaces: one white card style, hairline border, no shadow, no red caps on top */
html body .card,html body .home-card,html body .visit-tile,html body .org-cluster,html body .takeaways{background:#fff;border:1px solid var(--line);border-top:1px solid var(--line);border-radius:var(--r-lg);box-shadow:none}
html body .card h3{font-size:17px;font-weight:700;color:var(--espresso)}
html body .section-head .count{background:var(--line-2);color:var(--roast)}

/* KPI row: one joined strip, the hairlines between numbers come from the gap */
html body .kpis{gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
html body .kpis>.card,html body .kpis .card{border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important;background:#fff}
html body .kpis .card>small:first-child{letter-spacing:.06em;color:var(--muted);font-weight:700}
html body .metric{color:var(--espresso);font-size:36px;font-weight:700;letter-spacing:-.04em;line-height:1.1}

/* tables: calm header, numbers line up */
html body th{background:var(--cream);color:var(--muted);font-weight:700;font-size:10.5px;letter-spacing:.06em;border-bottom:1px solid var(--line)}
html body td{border-bottom:1px solid var(--line-2);font-size:13px}
html body tbody tr:hover td{background:#FDFBF8}
html body .table-wrap{border-radius:var(--r-md)}

/* controls */
html body button{border-radius:var(--r-sm);border-color:var(--line);font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s}
html body button:hover{background:var(--cream);border-color:#DED2C7}
html body .primary,html body button.primary{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08)}
html body .primary:hover,html body button.primary:hover{background:var(--red-deep);border-color:var(--red-deep)}
html body button:focus-visible,html body a:focus-visible,html body select:focus-visible,html body input:focus-visible{outline:2px solid var(--red);outline-offset:2px}
html body input:not([type=checkbox]):not([type=radio]),html body select,html body textarea{border-color:var(--line);border-radius:var(--r-sm)}
html body input:focus,html body select:focus,html body textarea:focus{border-color:#D9A3AD;box-shadow:0 0 0 3px rgba(200,16,46,.10);outline:none}
html body .cs-bar-filters.fbar,html body .filters.vf-filters:not([hidden]){background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:none}

/* the dark hero on the Overview stays the one big espresso moment */
html body .home-hero{background:radial-gradient(120% 140% at 100% 0%,#4A2A1F 0%,var(--espresso) 55%)!important;border:0;border-radius:22px}

/* Today */
html body .ly-today h2{font-size:20px;color:var(--espresso)}
html body .ly-att{gap:10px}
html body .ly-a{border-radius:var(--r-md);border-color:var(--line);padding:14px 16px}
html body .ly-a:hover{transform:none;box-shadow:none;border-color:#DCCFC4;background:#fff}
html body .ly-a b{font-family:var(--f-title);font-size:15px;letter-spacing:-.01em}
html body .ly-a .go{color:var(--red)}

/* score bars: one red family plus green for good */
html body .ly-bar{background:var(--line-2);height:5px;width:64px}

/* chat button and phone tabs match the top bar */
html body .chat-fab{box-shadow:0 10px 28px rgba(200,16,46,.30)}
html body .ly-tabs{border-color:var(--line);box-shadow:0 12px 32px rgba(42,23,18,.16)}
html body .ly-tabs button.on{color:var(--red)}
html body .ly-tabs button.on svg{background:var(--red-tint)}

/* quick search */
html body .ly-pal{border-radius:20px}
html body .ly-pal li.on,html body .ly-pal li:hover{background:var(--cream)}

/* dark mode (inverted page): what is espresso here must start light so it ends up dark; red starts pink so it ends up Tims Red */



html.dark body .home-hero{filter:none;background:#EADFD7!important}
html.dark body .home-hero *:not(img){color:#2A2220}
html.dark body .kpis{background:#D9D1CB}

@media(max-width:700px){
 html body main>.top h1,html body #page-title{font-size:26px}
 html body .metric{font-size:28px}
 html body .kpis{border-radius:var(--r-md)}
}
@media(prefers-reduced-motion:reduce){html body *{transition:none!important}}
html body #content .kpis{gap:1px;margin-bottom:16px}

/* ===== v2 (7 Nov): the red ribbon is back, and glass on what floats over the page ===== */
html body .topbar{background:rgba(200,16,46,.88);-webkit-backdrop-filter:blur(18px) saturate(1.7);backdrop-filter:blur(18px) saturate(1.7);border-bottom:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 30px rgba(120,10,25,.16);color:#fff}
html body .sections button{color:#fff;opacity:.9}
html body .sections button:hover{background:rgba(255,255,255,.14);opacity:1}
html body .sections button.selected{background:rgba(255,255,255,.96);color:var(--red);box-shadow:0 6px 18px rgba(80,0,10,.22),inset 0 1px 0 #fff}
html body .sections .admin-tab:before{background:rgba(255,255,255,.32)}
html body .topbar-brand{background:rgba(255,255,255,.95)}
html body .ly-search,html body .ly-dark{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.32);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
html body .ly-search kbd{background:rgba(255,255,255,.22)}
@media(min-width:701px){html body main>.top{background:rgba(246,242,237,.92);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);border-bottom:1px solid rgba(233,224,215,.7)}}
/* phone tab bar: a floating glass capsule */
@media(max-width:700px){
 html body .ly-tabs:not([hidden]){background:rgba(255,255,255,.58);-webkit-backdrop-filter:blur(24px) saturate(1.9);backdrop-filter:blur(24px) saturate(1.9);border:1px solid rgba(255,255,255,.75);border-radius:26px;box-shadow:0 14px 36px rgba(42,23,18,.18),inset 0 1px 0 rgba(255,255,255,.9)}
 html body .ly-tabs button.on svg{background:rgba(200,16,46,.12)}
}
/* chat */
html body .chat-fab{background:rgba(200,16,46,.86);-webkit-backdrop-filter:blur(14px) saturate(1.6);backdrop-filter:blur(14px) saturate(1.6);box-shadow:0 12px 30px rgba(200,16,46,.30),inset 0 1px 0 rgba(255,255,255,.28)}
html body .chat-fab.is-open{background:rgba(42,23,18,.82)}
html body .chat-panel{background:rgba(255,255,255,.80);-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);border:1px solid rgba(255,255,255,.8);box-shadow:0 24px 60px rgba(42,23,18,.22)}
html body .chat-panel .chat-head{background:rgba(200,16,46,.90)}
html body .chat-panel .chat-log,html body .chat-panel .chat-scroll,html body .chat-panel .chat-foot,html body .chat-panel .chat-send,html body .chat-panel .chat-ro{background:transparent}
/* quick search */
html body .ly-ov{background:rgba(42,23,18,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
html body .ly-pal{background:rgba(255,255,255,.80);-webkit-backdrop-filter:blur(28px) saturate(1.8);backdrop-filter:blur(28px) saturate(1.8);border:1px solid rgba(255,255,255,.85)}
html body .ly-pal input{background:transparent!important}
/* people who turned on "Reduce transparency" get solid colours */
@media(prefers-reduced-transparency:reduce){html body .topbar{background:var(--red)}html body .ly-tabs:not([hidden]),html body .chat-panel,html body .ly-pal{background:#fff}html body main>.top{background:var(--bg)}}
/* dark mode: the red ribbon starts pink so it ends up Tims Red after the inversion */



/* phone: the chat sits above the tab bar, so it must also stay below the red ribbon */
@media(max-width:700px){html body .chat-panel{height:calc(100dvh - 84px - 74px - env(safe-area-inset-bottom) - 56px)}}
/* the ribbon is the exact red of the logo square (#C8102E), solid, so the logo melts into it */
html body .topbar{background:#C8102E;-webkit-backdrop-filter:none;backdrop-filter:none}
html body .topbar-brand{background:transparent!important;padding:0!important;box-shadow:none!important;border-radius:0}
/* ===== v3 (7 Nov): menu opens on hover, pin keeps it open; dark mode lives in the menu, not the ribbon ===== */
html body .ly-fold{display:none!important}
html body .ly-pin{display:flex;align-items:center;gap:8px;align-self:flex-end;border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:var(--r-sm);padding:6px 10px;margin:0 0 12px;font-size:12px;font-weight:700}
html body .ly-pin svg{width:16px;height:16px}
html body .ly-pin.on{color:var(--red);border-color:#F0C7CF;background:var(--red-tint)}
html body .ly-pin.on svg{fill:currentColor}
html body .ly-darkside{display:flex;align-items:center;gap:10px;width:100%;margin:10px 0 0;border:1px solid var(--line);background:#fff;border-radius:var(--r-sm);padding:9px 12px;color:var(--roast);font-size:13px;font-weight:600;text-align:left}
html body .ly-darkside .ic{font-size:15px;line-height:1}
@media(min-width:701px){
 /* folded: a 78px icon column that floats; hovering widens it over the page (the page does not jump) */
 html body.side-mini aside{position:fixed!important;left:0;top:var(--topbar-h);height:calc(100vh - var(--topbar-h))!important;z-index:45;transition:width .18s ease,box-shadow .18s ease;overflow-y:auto}
 html body.side-mini main{margin-left:78px}
 html body.side-mini aside:hover{width:240px!important;box-shadow:16px 0 44px rgba(42,23,18,.14)}
 html body.side-mini aside:not(:hover) .ly-pin{align-self:center;width:44px;justify-content:center;padding:8px 0}
 html body.side-mini aside:not(:hover) .ly-pin span,html body.side-mini aside:not(:hover) .ly-darkside .t{display:none}
 html body.side-mini aside:not(:hover) .ly-darkside{width:44px;justify-content:center;padding:9px 0;align-self:center}
}
@media(max-width:700px){html body .ly-pin{display:none}}
@media print{html body .ly-pin,html body .ly-darkside{display:none!important}html body.side-mini main{margin-left:0}}
@media(max-width:700px){html body .ly-darkside{width:auto;margin:10px 14px 4px;padding:11px 14px;font-size:14px}}
/* Stars of the Month: three cards (Operation Manager, Area Manager, Store) side by side on wide screens */
.stars-sec .stars-grid.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1180px){.stars-sec .stars-grid.n3{grid-template-columns:1fr}}
/* Cluster Challenge (Nov 2026): KSA Cluster green, UAE Cluster Tims red; each side of the face-off is as wide as its points */
.cc2{--ksa:#1F7A55;--ksa-d:#17603F;--uae:#C8102E;--uae-d:#A00D25;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px 24px 18px;margin:0 0 18px}
.cc2 .cc-top{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.cc2 .cc-kick{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:600}.cc2 .cc-kick b{color:var(--red)}
.cc2 h2{font-family:var(--f-title,inherit);font-size:26px;letter-spacing:-.035em;margin:4px 0 0;line-height:1.1}
.cc2 .cc-chips{display:flex;gap:8px;flex-wrap:wrap}.cc2 .cc-chip{border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:12.5px;color:var(--muted);background:#FCFAF7}.cc2 .cc-chip b{color:var(--ink)}
.cc2 .cc-fo{position:relative;display:flex;height:126px;border-radius:20px;overflow:hidden;margin-bottom:12px}
.cc2 .cc-side{display:flex;flex-direction:column;justify-content:center;padding:0 26px;color:#fff;min-width:28%}
.cc2 .cc-side.k{background:linear-gradient(120deg,var(--ksa-d),var(--ksa))}.cc2 .cc-side.u{background:linear-gradient(240deg,var(--uae-d),var(--uae));align-items:flex-end;text-align:right}
.cc2 .cc-side .nm{font-weight:700;font-size:14px}.cc2 .cc-side .sub{font-size:12px;opacity:.78;margin-top:2px}
.cc2 .cc-side b{font-family:var(--f-title,inherit);font-size:60px;line-height:.95;letter-spacing:-.05em;margin-top:6px}.cc2 .cc-side b small{display:inline;font-family:var(--f-ui,inherit);font-size:14px;font-weight:600;letter-spacing:0;opacity:.85;margin-left:6px;color:#fff}
.cc2 .cc-vs{position:absolute;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center;font-family:var(--f-title,inherit);font-weight:800;font-size:16px;color:var(--ink);box-shadow:0 6px 20px rgba(42,23,18,.22)}
.cc2 .cc-lead{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 8px;font-size:13.5px;color:var(--muted);margin-bottom:16px;text-align:center}.cc2 .cc-lead b.k{color:var(--ksa)}.cc2 .cc-lead b.u{color:var(--uae)}.cc2 .cc-lead b{color:var(--ink)}
.cc2 .cc-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.cc2 .cc-tl{border:1px solid var(--line);border-radius:16px;padding:14px 14px 8px;position:relative;overflow:hidden;background:#fff}
.cc2 .cc-tl:before{content:'';position:absolute;inset:0 0 auto 0;height:3px;background:var(--line)}.cc2 .cc-tl.wk:before{background:var(--ksa)}.cc2 .cc-tl.wu:before{background:var(--uae)}
.cc2 .cc-tl header{display:flex;justify-content:space-between;align-items:flex-start;gap:6px}.cc2 .cc-tl h4{margin:0;font-size:13.5px;line-height:1.25;font-weight:700;min-height:2.5em}
.cc2 .pt{flex:none;font-size:10px;font-weight:800;letter-spacing:.06em;border-radius:999px;padding:3px 7px;color:#fff}.cc2 .wk .pt{background:var(--ksa)}.cc2 .wu .pt{background:var(--uae)}
.cc2 .cc-tl>small{display:block;color:var(--muted);font-size:11.5px;margin:0 0 8px;min-height:1.3em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc2 .cc-r{display:flex;justify-content:space-between;align-items:center;padding:7px 0;border-top:1px solid #F3ECE5}
.cc2 .c{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.05em;color:var(--muted)}.cc2 .c i{width:8px;height:8px;border-radius:50%}.cc2 .cc-r.k .c i{background:var(--ksa)}.cc2 .cc-r.u .c i{background:var(--uae)}
.cc2 .v{min-width:64px;text-align:right;font-variant-numeric:tabular-nums;font-size:16px;color:#A59289}
.cc2 .cc-r.won .v{font-family:var(--f-title,inherit);font-weight:700;font-size:18px;letter-spacing:-.02em}.cc2 .cc-r.won.k .v{color:var(--ksa)}.cc2 .cc-r.won.u .v{color:var(--uae)}.cc2 .cc-r.won .c{color:var(--ink)}
.cc2 .cc-foot{margin:12px 0 0;font-size:12px;color:var(--muted)}
@media(max-width:1100px){.cc2 .cc-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cc2{padding:16px 14px 14px}.cc2 h2{font-size:21px}.cc2 .cc-tiles{grid-template-columns:1fr 1fr}.cc2 .cc-fo{height:108px}.cc2 .cc-side{padding:0 14px}.cc2 .cc-side b{font-size:44px}.cc2 .cc-side .sub{display:none}.cc2 .cc-vs{width:42px;height:42px;font-size:13px}}
@media print{.cc2 .cc-fo{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Dark mode (7 Nov 2026): the red ribbon is never inverted, so it looks exactly like normal mode (same red as the logo,
   logo melts into it, the section you are in is the white pill). Only the page under it is inverted. */
html.dark,html.dark body,html.dark #app,html.dark .app-body{background:#0f0c0b}
html.dark #app>.app-body>main,html.dark #app>.app-body>aside,html.dark #app>.viewas-bar,html.dark #chat,html.dark #detail,html.dark #toast,html.dark .ly-tabs,html.dark .ly-ov,html.dark .net-off{filter:invert(1) hue-rotate(180deg)}
@media print{html.dark #app>.app-body>main,html.dark #app>.app-body>aside{filter:none}}
/* Cluster Challenge · gloves and motion. Final state is the default (print, PDF, reduced motion); "cc-pre" is the start, "cc-go" plays it once. */
.cc2 .cc-side.k{flex:var(--fk) 1 0}.cc2 .cc-side.u{flex:var(--fu) 1 0}
.cc2 .cc-gloves{position:absolute;top:50%;left:var(--split);transform:translate(-50%,-46%);display:flex;align-items:center;z-index:3;pointer-events:none}
.cc2 .cc-gl{display:block;width:92px;height:74px;filter:drop-shadow(0 8px 12px rgba(0,0,0,.28))}.cc2 .cc-gl svg{display:block;width:100%;height:100%}
.cc2 .cc-gl.k{margin-right:-22px;position:relative;z-index:2}.cc2 .cc-gl.u{margin-left:-22px;transform:scaleX(-1)}
.cc2 .cc-vsb{position:absolute;left:50%;top:-24px;transform:translateX(-50%);background:#fff;color:var(--ink);font-family:var(--f-title,inherit);font-weight:800;font-size:12.5px;border-radius:999px;padding:3px 10px;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.cc2 .cc-spark{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:radial-gradient(circle,#fff 0,rgba(255,255,255,.85) 22%,rgba(255,255,255,0) 62%);opacity:0;z-index:4}
.cc2 .cc-fo .cc-side,.cc2 .cc-gloves{transition:flex-grow 1.3s cubic-bezier(.2,.8,.2,1),left 1.3s cubic-bezier(.2,.8,.2,1)}
.cc2.cc-pre .cc-side.k,.cc2.cc-pre .cc-side.u{flex-grow:1}.cc2.cc-pre .cc-gloves{left:50%}
.cc2.cc-pre .cc-gl.k{transform:translateX(-90px);opacity:0}.cc2.cc-pre .cc-gl.u{transform:translateX(90px) scaleX(-1);opacity:0}
.cc2.cc-pre .cc-tl{opacity:0;transform:translateY(10px)}
.cc2.cc-go .cc-gl.k{animation:ccInL .45s cubic-bezier(.2,.8,.2,1) both,ccPunchL .34s ease-in-out .5s 3}
.cc2.cc-go .cc-gl.u{animation:ccInR .45s cubic-bezier(.2,.8,.2,1) both,ccPunchR .34s ease-in-out .5s 3}
.cc2.cc-go .cc-spark{animation:ccSpark .34s ease-out .62s 3}
.cc2.cc-go .cc-fo{animation:ccShake .34s ease-in-out .62s 3}
.cc2.cc-go .cc-tl{animation:ccTile .45s ease both;animation-delay:calc(1.2s + var(--i,0)*80ms)}
.cc2.cc-go .cc-r.won .v{animation:ccPulse .7s ease both;animation-delay:calc(1.6s + var(--i,0)*80ms)}
.cc2 .cc-tl .cc-r.won .v{display:inline-block}
.cc2 .cc-fo.cc-punch .cc-gl.k{animation:ccPunchL .34s ease-in-out 1}.cc2 .cc-fo.cc-punch .cc-gl.u{animation:ccPunchR .34s ease-in-out 1}.cc2 .cc-fo.cc-punch .cc-spark{animation:ccSpark .34s ease-out .12s 1}
@keyframes ccInL{from{transform:translateX(-90px);opacity:0}to{transform:none;opacity:1}}
@keyframes ccInR{from{transform:translateX(90px) scaleX(-1);opacity:0}to{transform:scaleX(-1);opacity:1}}
@keyframes ccPunchL{0%,100%{transform:none}40%{transform:translateX(-16px) rotate(-4deg)}70%{transform:translateX(6px)}}
@keyframes ccPunchR{0%,100%{transform:scaleX(-1)}40%{transform:translateX(16px) scaleX(-1) rotate(-4deg)}70%{transform:translateX(-6px) scaleX(-1)}}
@keyframes ccSpark{0%{opacity:0;transform:scale(.4)}35%{opacity:1;transform:scale(1.1)}100%{opacity:0;transform:scale(1.5)}}
@keyframes ccShake{0%,100%{transform:none}30%{transform:translateX(-2px)}60%{transform:translateX(2px)}}
@keyframes ccTile{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes ccPulse{0%{transform:scale(1)}40%{transform:scale(1.14)}100%{transform:scale(1)}}
@media(max-width:700px){.cc2 .cc-gl{width:64px;height:52px}.cc2 .cc-gl.k{margin-right:-15px}.cc2 .cc-gl.u{margin-left:-15px}.cc2 .cc-vsb{top:-20px;font-size:11px}.cc2 .pt{font-size:9px;padding:3px 6px}.cc2 .c{font-size:10px;letter-spacing:.02em}}
@media(prefers-reduced-motion:reduce){.cc2 *{animation:none!important;transition:none!important}}
@media print{.cc2.cc-pre .cc-side.k{flex-grow:var(--fk)}.cc2.cc-pre .cc-side.u{flex-grow:var(--fu)}.cc2.cc-pre .cc-gloves{left:var(--split)}.cc2.cc-pre .cc-gl,.cc2.cc-pre .cc-tl{opacity:1;transform:none}.cc2.cc-pre .cc-gl.u{transform:scaleX(-1)}}
/* "KSA Cluster" / "UAE Cluster" need room: six tiles in one row only on wide screens */
.cc2 .c{white-space:nowrap}
@media(max-width:1380px){.cc2 .cc-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cc2 .cc-tiles{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.cc2 .cc-tiles{grid-template-columns:1fr}}
/* the winner of each measure: "🏆 UAE Cluster wins" on its own line above the measure name */
.cc2 .cc-tl header{display:block}
.cc2 .cc-tl header .pt{display:inline-block;margin:0 0 9px;font-size:10.5px;letter-spacing:.03em;padding:4px 9px}
.cc2 .cc-tl header .pt.none{background:var(--line-2,#F1EAE3);color:var(--muted)}
.cc2 .cc-tl h4{min-height:2.5em}

/* ===== Brand 2026 · Tim Hortons GCC Visual Identity (TH_GCC_Brand_Guidelines) =====
   Type: one family for everything ("Tims Sans": Black for headlines, Regular for text, Bold for emphasis).
   Today it is Figtree (free, closest to Sofia Pro). When the Sofia Pro files arrive, swap /fonts/brand-sans*.woff2, nothing else.
   Callouts ("Tims Callout", condensed, like Cervino) for tags and round stickers. "Tims Script" (like Autograph) only for "Welcome back".
   Colours: Always Red #C8102E leads, Fresh White, Coffee Brown #3F2021 and Donut Cream #DDCBA4 only as accents. No gradients. */
@font-face{font-family:'Tims Sans';font-style:normal;font-display:swap;font-weight:300 900;src:url(/fonts/brand-sans.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Tims Sans';font-style:normal;font-display:swap;font-weight:300 900;src:url(/fonts/brand-sans-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Tims Callout';font-style:normal;font-display:swap;font-weight:200 700;src:url(/fonts/brand-callout.woff2) format('woff2')}
@font-face{font-family:'Tims Script';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/brand-script.woff2) format('woff2')}
:root{--red:#C8102E;--red-deep:#A50D26;--red-tint:#FBE9EC;--coffee:#3F2021;--donut:#DDCBA4;--donut-tint:#F5EEE1;--donut-line:#E9DDC7;
 --espresso:#3F2021;--espresso-2:#4E2B2C;--roast:#6B4A45;--ink:#3F2021;--muted:#7F6A65;--bg:#F8F4EE;--line:#ECE2D6;--line-2:#F3ECE2;--cream:#FBF8F3;
 --f-title:'Tims Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--f-ui:'Tims Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
 --f-call:'Tims Callout','Arial Narrow',Arial,sans-serif;--f-script:'Tims Script','Brush Script MT',cursive}
html body{font-family:var(--f-ui);font-size:14.5px;letter-spacing:0}
html body svg text{font-family:var(--f-ui)}
html body b,html body strong{font-weight:700}
/* Headlines in Black, tight like the Tims website */
html body h1,html body h2,html body h3,html body .metric{font-family:var(--f-title);font-weight:900;letter-spacing:-.02em}
html body main>.top h1,html body #page-title{font-weight:900;letter-spacing:-.025em;color:var(--coffee)}
html body h3,html body h4{font-weight:800}
html body .metric,html body .si-k b,html body .ly-a b{font-weight:800}
html body th{font-weight:700;letter-spacing:.04em}

/* Greeting: a Tims mug instead of the waving hand */
html body #page-title .hi-mug{display:inline-block;margin-left:.22em;color:var(--red)}html body #page-title .hi-mug .ti{width:.8em;height:.8em;vertical-align:-.05em}

/* Side menu: the pin is a small red icon at the end of the menu's title line (no big "Pin menu" button) */
html body aside .ly-pin,html body.side-mini aside:hover .ly-pin{position:absolute;top:var(--pin-top,20px);right:10px;margin:0;width:30px;height:30px;padding:0;display:grid;place-items:center;align-self:auto;border:0;background:transparent;color:var(--red);border-radius:50%;z-index:3;box-shadow:none}
html body aside .ly-pin span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body aside .ly-pin svg{width:17px;height:17px}
html body aside .ly-pin:hover{background:var(--red-tint)}
html body aside .ly-pin.on{background:transparent;border:0;color:var(--red)}html body aside .ly-pin.on svg{fill:currentColor}
html body.side-mini aside:not(:hover) .ly-pin{display:none}
html body aside nav>div>small:first-child{padding-right:34px}

/* ---- Back arrow next to the page title (phone: in the top bar), and the logo goes to the Overview ---- */
html body main>.top .top-l{display:flex;align-items:center;gap:16px;min-width:0}html body main>.top .top-t{min-width:0}
html body .pg-back{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;padding:0;margin:0;background:#fff;border:1.5px solid #E6DAD0;color:var(--coffee);cursor:pointer;box-shadow:0 2px 8px rgba(63,32,33,.06);transition:background .15s,color .15s,border-color .15s,transform .15s}
html body .pg-back[hidden]{display:none}
html body .pg-back svg{width:20px;height:20px}
html body .pg-back:hover,html body .pg-back:focus-visible{background:var(--red);border-color:var(--red);color:#fff;transform:translateX(-2px)}
html body .pg-back .pg-tip{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);white-space:nowrap;background:var(--coffee);color:#fff;font:600 12px/1.2 var(--f-ui);padding:6px 10px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .15s;z-index:20}
html body .pg-back:hover .pg-tip,html body .pg-back:focus-visible .pg-tip{opacity:1}
html body .m-back{place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:#fff;color:var(--red);border:0;padding:0;margin:0 8px 0 2px;box-shadow:0 2px 6px rgba(80,0,10,.2)}
@media(max-width:700px){html body .m-back:not([hidden]){display:grid!important}}html body .m-back svg{width:18px;height:18px}
@media(max-width:700px){html body .pg-back{display:none!important}}
html body .topbar-brand{cursor:pointer}html body .topbar-brand:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Your Team · By Country: the country flag before the name */
html body .home-team .team-flag{display:inline-block;vertical-align:-2px;margin-right:8px}html body .home-team .team-flag .flag{display:block;width:22px;height:14.7px;border-radius:3px;box-shadow:0 0 0 1px var(--line)}
@media print{html body .pg-back,html body .m-back{display:none!important}}

/* Stars of the Month: the REV Audit tile waits for its first reports */
html body .stars-sec .e-m>.e-soon{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:var(--cream);border:1.5px dashed var(--donut-line);box-shadow:none;opacity:.75}
html body .stars-sec .e-m>.e-soon:before{display:none}html body .stars-sec .e-m>.e-soon small{margin:0}html body .stars-sec .e-m>.e-soon b{font-size:20px;color:var(--muted);margin:0 auto 0 0}
html body .stars-sec .e-soon-tag{font:500 12.5px/1 var(--f-call);letter-spacing:.06em;text-transform:uppercase;background:var(--donut-tint);border:1px solid var(--donut-line);color:var(--roast);border-radius:999px;padding:5px 10px}

/* ---- Person card (tap a picture) ---- */
html body [data-person],html body .org-av:has(.pe),html body .e-av[data-person]{cursor:pointer}
html body .e-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
dialog.pc-dlg{padding:0;border:0;background:transparent;width:380px;max-width:calc(100vw - 24px);max-height:none;overflow:visible;color:var(--coffee)}
dialog.pc-dlg::backdrop{background:rgba(40,20,18,.45);backdrop-filter:blur(2px)}
dialog.pc-dlg[open]{animation:pc-in .22s cubic-bezier(.2,.8,.2,1)}@keyframes pc-in{from{transform:translateY(14px) scale(.98);opacity:0}}
.pc{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 30px 80px rgba(63,32,33,.35);font-family:var(--f-ui);position:relative}
.pc-top{height:110px;position:relative;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg transform='translate%2830 30%29 rotate%28-12 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28150 20%29 rotate%2810 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28240 70%29 rotate%28-6 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%2870 140%29 rotate%288 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm0 6.3a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28190 150%29 rotate%28-10 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M4.6 8h14.8l-1.1 12.6c-.1.8-.7 1.4-1.5 1.4H7.2c-.8 0-1.4-.6-1.5-1.4z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M8.6 7V6a3.4 3.4 0 0 1 6.8 0v1h-1.8V6a1.6 1.6 0 0 0-3.2 0v1z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%2820 240%29 rotate%286 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M3.5 7.5h12.6v8.2a5 5 0 0 1-5 5H8.5a5 5 0 0 1-5-5z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M17.4 9h.9a3.4 3.4 0 0 1 0 6.8h-1.3v-1.9h1.3a1.5 1.5 0 0 0 0-3h-.9z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M7 2.6c.9.9.9 2 0 2.9M10.6 2.6c.9.9.9 2 0 2.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28120 240%29 rotate%2814 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%28250 240%29 rotate%28-14 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28260 150%29 rotate%280 11.0 11.0%29 scale%280.9166666666666666%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") 0 0/300px 300px}.pc-top:before{content:'';position:absolute;inset:0;background:var(--red);opacity:.86}
.pc-x{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.22);color:#fff;font-size:20px;line-height:1;z-index:2;cursor:pointer}.pc-x:hover{background:rgba(255,255,255,.36)}
.pc-ph{width:120px;height:120px;border-radius:50%;margin:-62px auto 0;position:relative;border:5px solid #fff;box-shadow:0 10px 24px rgba(63,32,33,.2);background:var(--donut-tint);display:grid;place-items:center;font:900 40px var(--f-title);color:var(--red);overflow:hidden}
.pc-ph img{width:100%;height:100%;object-fit:cover}
.pc-b{padding:12px 24px 22px;text-align:center}.pc-b h3{margin:6px 0 2px;font:900 24px/1.15 var(--f-title);letter-spacing:-.02em;color:var(--coffee)}.pc-t{color:var(--muted);font-size:14.5px;min-height:4px}
.pc-chips{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:14px 0 6px}.pc-chip{display:inline-flex;align-items:center;gap:7px;background:var(--donut-tint);border:1px solid var(--donut-line);border-radius:999px;padding:5px 12px 5px 6px;font-size:13px;font-weight:600}
.pc-chip svg.flag{width:22px;height:14.7px;border-radius:3px;display:block}.pc-chip .dot{width:8px;height:8px;border-radius:50%;background:var(--red);margin-left:6px}
.pc-rows{text-align:left;border-top:1px solid var(--line-2);margin-top:12px}.pc-r{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line-2)}.pc-r>div{flex:1;min-width:0}
.pc-r small{display:block;font:500 12px/1.2 var(--f-call);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}.pc-r b{font-size:14.5px;font-weight:700;overflow-wrap:anywhere}.pc-r:first-child b{font-size:13.5px}
.pc-cp{border:1.5px solid #E6DAD0;background:#fff;border-radius:10px;padding:6px 10px;font:700 12.5px var(--f-ui);color:var(--coffee);display:inline-flex;gap:6px;align-items:center;cursor:pointer;flex:none}.pc-cp:hover{border-color:var(--red);color:var(--red)}.pc-cp svg{width:15px;height:15px}
.pc-mg{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:0;text-align:left;cursor:pointer;color:var(--coffee);font:inherit}.pc-mg:hover b{color:var(--red)}
.pc-mg i{width:34px;height:34px;border-radius:50%;background:var(--red-tint);color:var(--red);display:grid;place-items:center;font:800 12px var(--f-ui);font-style:normal;flex:none;overflow:hidden}.pc-mg i img{width:100%;height:100%;object-fit:cover}.pc-mg em{font-style:normal;color:var(--red);font-size:18px;margin-left:auto}
.pc-go{width:100%;margin-top:18px;border:0;border-radius:14px;background:var(--red);color:#fff;font:800 15.5px var(--f-ui);padding:14px;display:flex;justify-content:center;align-items:center;gap:8px;box-shadow:0 10px 24px rgba(200,16,46,.28);cursor:pointer}.pc-go:hover{background:var(--red-deep)}.pc-go svg{width:18px;height:18px}
@media(max-width:700px){dialog.pc-dlg{width:100%;max-width:100%;margin:auto 0 0;inset:auto 0 0 0}dialog.pc-dlg .pc{border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}}
html.dark dialog.pc-dlg{filter:invert(1) hue-rotate(180deg)}html.dark dialog.pc-dlg img,html.dark dialog.pc-dlg .pc-top{filter:invert(1) hue-rotate(180deg)}

html body .chat-from{display:inline-flex;align-items:center;gap:6px}html body .chat-from .chat-av{width:20px;height:20px;font-size:8.5px;flex:none}
/* ---- Phone tab bar (bottom): white bar, clean icons, red pill on the open tab ---- */
@media(max-width:700px){
html body .ly-tabs:not([hidden]){left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));padding:8px 6px;gap:2px;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 34px rgba(63,32,33,.18)}
html body .ly-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:2px 0;margin:0;border:0;background:none;color:var(--muted);font:700 11px/1.1 var(--f-ui);letter-spacing:.01em;cursor:pointer;-webkit-tap-highlight-color:transparent;min-height:50px}
html body .ly-tabs button i{display:grid;place-items:center;width:52px;height:30px;border-radius:999px;transition:background .18s,color .18s,transform .18s}
html body .ly-tabs button svg,html body .ly-tabs button.on svg{width:22px;height:22px;padding:0;background:none;border-radius:0}
html body .ly-tabs button:active i{transform:scale(.92)}
html body .ly-tabs button.on{color:var(--red)}html body .ly-tabs button.on i{background:var(--red);color:#fff;box-shadow:0 6px 14px rgba(200,16,46,.3)}
html body .ly-tabs button.on svg path,html body .ly-tabs button.on svg rect{stroke:#fff}
}
/* ---- Phones: smooth scrolling and quick taps (iPhone) ---- */
/* No double-tap-zoom wait after each tap (pinch zoom still works). */
html,body,button,a,input,select,textarea,label,[role="button"],[data-tab],[data-section],[data-page]{touch-action:manipulation}
@media(max-width:700px){
 /* Nothing see-through on fixed parts: blur behind a fixed button is redrawn on every scroll frame. */
 html body .chat-fab{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--red)}
 html body .chat-panel,html body .ly-pal{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}
 html body .ly-ov{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(42,23,18,.4)}
 dialog.pc-dlg::backdrop,html body dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}
 /* Never-ending animations stop: the Stars rays stay still, the stickers stop after their first pop. */
 html body .stars-sec .e-rays,html body .ln-ar{animation:none}
 html body .cc2 .cc-gl{filter:none}
 html body .tims-stk{animation-iteration-count:1}
 /* Lighter shadows. */
 html body .card,html body .stars-sec .e-card,html body .cc2,html body .home-hero{box-shadow:0 2px 10px rgba(63,32,33,.07)}
 /* Draw only what is on the screen: parts lower down are drawn when you get near them. */
 html body #content>.home-grid>*,html body #content>.home-team,html body #content>#cluster-challenge,html body #content>#stars{content-visibility:auto;contain-intrinsic-size:auto 600px}

}
/* Ribbon: the white pill shows on mouse-over too, not only on the section you are in */
@media(hover:hover){html body .sections button{transition:background .16s,color .16s,box-shadow .16s}
html body .sections button:not(.soon):hover,html body .sections button:not(.soon):focus-visible{background:rgba(255,255,255,.96);color:var(--red);box-shadow:0 6px 18px rgba(80,0,10,.22),inset 0 1px 0 #fff;opacity:1}
html body .sections button:not(.soon):hover svg,html body .sections button:not(.soon):focus-visible svg{opacity:1;color:var(--red);stroke:var(--red)}}

/* ---- No gradients (the guidelines no longer allow them): flat brand colours ---- */
html body .trend-bar,html body .cs-bar i,html body .l2-chart i{background:var(--red)!important}
html body .home-hero{background:var(--coffee)!important}
html body .chat-head{background:var(--red)}
html body .pf-hd{background:var(--red)}
html body .uc-tile{background:#fff!important}
html body .stars-sec .e-hero{background:var(--red)}
html body .ln-note.kudos{background:#FFF6F7}
html body .cc2 .cc-side.k{background:var(--ksa)}html body .cc2 .cc-side.u{background:var(--uae)}
html body .cc2 .cc-gl svg path[fill^="url"]{display:none}
html body .cc2 .cc-spark{background:#fff}
html body .home-hero:before{filter:none;opacity:.22}
html body.busy .topbar:after{background:linear-gradient(#fff,#fff) 0 0/40% 100% no-repeat}
html body .ly-sk{background:var(--donut-tint);animation:tims-pulse 1.2s ease-in-out infinite}@keyframes tims-pulse{50%{opacity:.55}}
html body .primary,html body button.primary{background:var(--red);border-color:var(--red);background-image:none}
html body .primary:hover,html body button.primary:hover{background:var(--red-deep);border-color:var(--red-deep)}

/* ---- Callouts: condensed, upper case (Cervino style) ---- */
html body .home-tag,html body .vg-soon-tag,html body .stars-sec .e-pill,html body .cc2 .cc-chip,html body .cc2 .pt,html body .tims-call{font-family:var(--f-call);font-weight:500;text-transform:uppercase;letter-spacing:.06em}
html body .home-tag{font-size:12px;padding:2px 9px;background:var(--donut-tint);border-color:var(--donut-line);color:var(--coffee)}
html body .vg-soon-tag{font-size:11.5px;background:var(--donut-tint);color:var(--roast)}
html body .stars-sec .e-pill{font-size:15px;padding:6px 16px;border:2px solid var(--red);background:#fff;box-shadow:none}
html body .cc2 .cc-chip{font-size:14px;padding:5px 13px;background:var(--donut-tint);border-color:var(--donut-line);color:var(--roast)}html body .cc2 .cc-chip b{font-weight:600;color:var(--coffee)}
html body .cc2 .pt{font-size:12px;letter-spacing:.05em;padding:3px 9px 3px 7px;display:inline-flex;align-items:center;gap:6px}
html body .cc2 .pt .ti{width:12px;height:12px}
html body .cc2 .pt.none{font-size:11.5px}
html body .cc2 .cc-kick .ti{width:18px;height:18px;color:var(--red)}
/* Round stickers ("NEW!", "FRESH!") */
.tims-stk{display:inline-grid;place-items:center;text-align:center;width:72px;height:72px;border-radius:50%;background:var(--red);color:#fff;font:500 18px/1 var(--f-call);text-transform:uppercase;letter-spacing:.03em;transform:rotate(-10deg);box-shadow:0 6px 16px rgba(63,32,33,.18)}
.tims-stk.w{background:#fff;color:var(--red)}.tims-stk.o{background:transparent;color:var(--coffee);border:2px solid var(--coffee);box-shadow:none}
html body .stars-sec .e-hero .tims-stk{position:absolute;right:16px;top:14px;width:64px;height:64px;font-size:17px;z-index:2;animation:tims-pop .6s cubic-bezier(.3,1.6,.5,1) .3s both}
html body .cc2 .cc-side .tims-stk{position:absolute;top:12px;width:60px;height:60px;font-size:16px;animation:tims-pop .6s cubic-bezier(.3,1.6,.5,1) .9s both}
html body .cc2 .cc-side .tims-stk{top:auto;bottom:16px}html body .cc2 .cc-side.k .tims-stk{left:150px}html body .cc2 .cc-side.u .tims-stk{right:160px;transform:rotate(10deg)}
@media(max-width:700px){html body .cc2 .cc-side .tims-stk{width:46px;height:46px;font-size:12.5px;top:auto;bottom:10px}html body .cc2 .cc-side.k .tims-stk{left:auto;right:30%}html body .cc2 .cc-side.u .tims-stk{right:auto;left:30%}}
@keyframes tims-pop{from{transform:scale(0) rotate(-40deg);opacity:0}}
html body .cc2 .cc-side{position:relative}
html body .cc2 .cc-side .sub.cc-flags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;opacity:1}html body .cc2 .cc-side.u .sub.cc-flags{justify-content:flex-end}
html body .cc2 .cc-fl{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:3px 10px 3px 4px;font-size:12.5px;font-weight:600;color:#fff;line-height:1.2}
html body .cc2 .cc-fl .n{font-weight:600}html body .cc2 .cc-fl .flag{width:24px;height:16px;border-radius:3px;flex:none;box-shadow:0 0 0 1.5px #fff}
@media(max-width:700px){html body .cc2 .cc-fl{padding:0;background:none;border:0;gap:0}html body .cc2 .cc-fl .n{display:none}html body .cc2 .cc-fl .flag{width:22px;height:14.7px}html body .cc2 .cc-side .sub.cc-flags{gap:5px;max-width:110px}html body .cc2 .cc-side.u .sub.cc-flags{margin-left:auto}}


/* ---- Tims icons in place of emoji, and on empty pages ---- */
.ti{width:1em;height:1em;display:inline-block;vertical-align:-.12em;flex:none}
html body .e-msg .ti{color:var(--red);width:16px;height:16px;margin-left:2px}
html body .empty,html body .vd2-empty{position:relative}
html body .empty:before{content:'';display:block;width:46px;height:46px;margin:0 auto 12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23DDCBA4' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23DDCBA4' fill-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat}
html body .empty.mini:before,html body td .empty:before{display:none}

/* ---- Stars of the Month: Fresh White with the Tims icons in Always Red, very faint ---- */
html body .stars-sec{position:relative;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg transform='translate%2830 30%29 rotate%28-12 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23C8102E' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23C8102E' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28150 20%29 rotate%2810 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23C8102E' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28240 70%29 rotate%28-6 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23C8102E'/%3E%3C/g%3E%3Cg transform='translate%2870 140%29 rotate%288 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm0 6.3a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z' fill='%23C8102E' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28190 150%29 rotate%28-10 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M4.6 8h14.8l-1.1 12.6c-.1.8-.7 1.4-1.5 1.4H7.2c-.8 0-1.4-.6-1.5-1.4z' fill='%23C8102E' fill-rule='evenodd'/%3E%3Cpath d='M8.6 7V6a3.4 3.4 0 0 1 6.8 0v1h-1.8V6a1.6 1.6 0 0 0-3.2 0v1z' fill='%23C8102E' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%2820 240%29 rotate%286 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M3.5 7.5h12.6v8.2a5 5 0 0 1-5 5H8.5a5 5 0 0 1-5-5z' fill='%23C8102E' fill-rule='evenodd'/%3E%3Cpath d='M17.4 9h.9a3.4 3.4 0 0 1 0 6.8h-1.3v-1.9h1.3a1.5 1.5 0 0 0 0-3h-.9z' fill='%23C8102E' fill-rule='evenodd'/%3E%3Cpath d='M7 2.6c.9.9.9 2 0 2.9M10.6 2.6c.9.9.9 2 0 2.9' fill='none' stroke='%23C8102E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28120 240%29 rotate%2814 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23C8102E'/%3E%3C/g%3E%3Cg transform='translate%28250 240%29 rotate%28-14 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23C8102E' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28260 150%29 rotate%280 11.0 11.0%29 scale%280.9166666666666666%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23C8102E' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23C8102E' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") 0 0/300px 300px;border:1px solid var(--line);border-radius:24px;padding:22px 22px 16px;color:var(--coffee)}
html body .stars-sec:before{content:'';position:absolute;inset:0;border-radius:inherit;background:#fff;opacity:.93;pointer-events:none}html body .stars-sec>*{position:relative}
html body .stars-sec .e-head h2{color:var(--coffee)}html body .stars-sec .e-head .eyebrow{color:var(--coffee);opacity:.85}
html body .stars-sec .e-how{color:#4E3330}
html body .stars-sec .e-card{box-shadow:0 10px 26px rgba(63,32,33,.16)}
html body .stars-sec .e-m small{font:500 12.5px/1.25 var(--f-call);letter-spacing:.05em}
html body .stars-sec .e-m>div{position:relative}html body .stars-sec .e-rk{position:absolute;top:-11px;right:10px;margin:0;height:auto;padding:2px 9px;box-shadow:0 0 0 3px #fff}
@media(max-width:700px){html body .stars-sec{padding:16px 12px 12px;border-radius:18px}}

/* ---- Login (concept A · Live dashboard) ---- */
#login.la:not([hidden]){display:grid;grid-template-columns:1.12fr 1fr;min-height:100vh;min-height:100dvh;font-family:var(--f-ui);color:var(--coffee);background:var(--bg)}
#login .la-vis{position:relative;overflow:hidden;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg transform='translate%2830 30%29 rotate%28-12 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28150 20%29 rotate%2810 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28240 70%29 rotate%28-6 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%2870 140%29 rotate%288 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm0 6.3a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28190 150%29 rotate%28-10 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M4.6 8h14.8l-1.1 12.6c-.1.8-.7 1.4-1.5 1.4H7.2c-.8 0-1.4-.6-1.5-1.4z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M8.6 7V6a3.4 3.4 0 0 1 6.8 0v1h-1.8V6a1.6 1.6 0 0 0-3.2 0v1z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%2820 240%29 rotate%286 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M3.5 7.5h12.6v8.2a5 5 0 0 1-5 5H8.5a5 5 0 0 1-5-5z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M17.4 9h.9a3.4 3.4 0 0 1 0 6.8h-1.3v-1.9h1.3a1.5 1.5 0 0 0 0-3h-.9z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M7 2.6c.9.9.9 2 0 2.9M10.6 2.6c.9.9.9 2 0 2.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28120 240%29 rotate%2814 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%28250 240%29 rotate%28-14 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28260 150%29 rotate%280 11.0 11.0%29 scale%280.9166666666666666%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") 0 0/300px 300px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:44px 52px}
#login .la-vis:before{content:'';position:absolute;inset:0;background:var(--red);opacity:.9;pointer-events:none}
#login .la-leafbg{position:absolute;right:-90px;bottom:-110px;width:520px;opacity:.1;animation:la-spin 70s linear infinite;pointer-events:none}
#login .la-brand{position:relative;z-index:2;display:flex;align-items:center;gap:12px}#login .la-brand img.l2-logo{position:static;top:auto;right:auto;margin:0;align-self:center;height:40px;width:auto}#login .la-brand .bar{width:1.5px;height:24px;background:rgba(255,255,255,.5)}#login .la-brand b{font-weight:600;font-size:15px;letter-spacing:.01em}
#login .la-stage{position:relative;z-index:1;flex:1;margin:28px 0;min-height:300px}
#login .la-k{position:absolute;background:#fff;color:var(--coffee);border-radius:18px;padding:16px 18px;box-shadow:0 22px 44px rgba(63,32,33,.32);animation:la-float 6s ease-in-out infinite}
#login .la-k small{display:block;font:500 13px/1.2 var(--f-call);letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}#login .la-k b{display:block;font-weight:900;font-size:31px;letter-spacing:-.03em;margin-top:2px}
#login .k1{left:4%;top:6%;width:230px}#login .k2{left:47%;top:0;width:190px;animation-delay:-2s}#login .k3{left:9%;top:55%;width:300px;animation-delay:-4s}#login .k4{left:70%;top:37%;width:150px;animation-delay:-1s;text-align:center}
#login .la-bar{height:8px;border-radius:8px;background:var(--donut-tint);margin-top:8px;overflow:hidden}#login .la-bar i{display:block;height:100%;width:0;background:var(--red);border-radius:8px;animation:la-fill 2.2s cubic-bezier(.2,.8,.2,1) .4s forwards}
#login .la-stars{color:var(--red);font-size:16px;letter-spacing:2px}#login .la-up{font-size:13px;font-weight:800;color:var(--coffee);background:var(--donut-tint);border-radius:999px;padding:2px 8px;vertical-align:middle;letter-spacing:0}
#login .la-spark{display:block;width:100%;height:50px;margin-top:4px}#login .la-spark path{stroke-dasharray:400;stroke-dashoffset:400;animation:la-draw 2.4s ease .6s forwards}
#login .la-ring{width:92px;height:92px;margin-top:4px}#login .la-ring circle.v{stroke-dasharray:251;stroke-dashoffset:251;animation:la-ring 2s ease .5s forwards}#login .la-ring text{font-family:var(--f-ui)}
#login .la-stk{position:absolute;left:44%;top:31%;z-index:2;display:grid;place-items:center;text-align:center;width:84px;height:84px;border-radius:50%;background:#fff;color:var(--red);font:500 19px/1 var(--f-call);text-transform:uppercase;letter-spacing:.03em;transform:rotate(-12deg);box-shadow:0 14px 30px rgba(63,32,33,.3);animation:la-pop .7s cubic-bezier(.3,1.6,.5,1) 1.3s both,la-wob 5s ease-in-out 2.2s infinite}
#login .la-hello{position:relative;z-index:2}#login .la-hello h2{font-family:var(--f-title);font-weight:900;font-size:46px;line-height:1.02;letter-spacing:-.03em;margin:0;max-width:12ch;color:#fff}#login .la-hello p{opacity:.9;margin:12px 0 0;max-width:38ch;font-size:15.5px;line-height:1.5}
#login .la-side{display:grid;place-items:center;padding:30px;background:var(--cream)}
#login .la-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px 32px;box-shadow:0 30px 80px rgba(63,32,33,.1)}
#login .la-hi{font-family:var(--f-script);font-size:46px;line-height:1.05;color:var(--red);margin:0 0 6px;transform:rotate(-3deg);transform-origin:left center}
#login .la-lead{margin:0 0 22px;color:var(--muted);font-size:14.5px;line-height:1.5}
#login .la-fld{display:block;margin:0;color:var(--coffee)}#login .la-fld span{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
#login .la-fld input{width:100%;font:inherit;font-size:15.5px;padding:14px 16px;border-radius:14px;border:1.5px solid #E6DAD0;background:#FCFAF7;color:var(--coffee);margin:0;outline:none;box-shadow:none}
#login .la-fld input:focus{border-color:var(--red);background:#fff;box-shadow:0 0 0 4px rgba(200,16,46,.1)}
#login .la-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;font:inherit;font-weight:800;font-size:16px;padding:14px;border-radius:14px;border:0;background:var(--red);color:#fff;cursor:pointer;box-shadow:0 10px 24px rgba(200,16,46,.28);transition:transform .15s,background .15s}
#login .la-btn:hover{background:var(--red-deep)}#login .la-btn:active{transform:translateY(1px)}#login .la-btn:disabled{opacity:.7}
#login .code-links{display:flex;justify-content:space-between;gap:10px;margin-top:12px}#login .code-links .link{color:var(--red);font-weight:700;font-size:13px;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px}
#login #login-message{margin:14px 0 0;font-size:13.5px;color:var(--coffee);background:var(--donut-tint);border:1px solid var(--donut-line);border-radius:12px;padding:9px 12px}#login #login-message:empty{display:none}
#login .la-note{display:flex;gap:7px;align-items:center;justify-content:center;font-size:12.5px;color:var(--muted);margin:16px 0 0}#login .la-note svg{width:15px;height:15px;flex:none}
#login .la-app{margin:22px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--line-2);text-align:center;background:none}
#login .la-app>small{display:block;font:500 14px/1 var(--f-call);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
#login .la-app .l2-app-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#login .la-app .l2-app-row button{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1.5px solid #E6DAD0;border-radius:12px;color:var(--coffee);padding:11px;font:inherit;cursor:pointer;box-shadow:none}
#login .la-app .l2-app-row button:hover{border-color:var(--red);background:#fff}
#login .la-app .l2-app-row svg{width:18px;height:18px;color:var(--coffee)}#login .la-app .l2-app-row b{font:700 14.5px/1 var(--f-ui);color:var(--coffee)}
@keyframes la-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes la-fill{to{width:var(--w)}}@keyframes la-draw{to{stroke-dashoffset:0}}@keyframes la-ring{to{stroke-dashoffset:88}}@keyframes la-spin{to{transform:rotate(360deg)}}
@keyframes la-pop{from{transform:scale(0) rotate(-50deg);opacity:0}}@keyframes la-wob{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(-4deg) scale(1.04)}}
@media(max-width:1100px){#login .la-vis{padding:36px 36px}#login .la-hello h2{font-size:38px}#login .k3{width:260px}#login .k4{left:66%}}
@media(max-width:860px){#login.la:not([hidden]){grid-template-columns:1fr}#login .la-vis{padding:calc(22px + env(safe-area-inset-top)) 22px 26px;min-height:540px}#login .la-stage{min-height:250px;margin:22px 0 18px}#login .la-hello h2{font-size:31px}
 #login .la-k{padding:12px 14px}#login .k1{left:0;top:0;width:170px}#login .k2{left:auto;right:0;top:14px;width:142px}#login .k3{left:6%;top:118px;width:250px}#login .k4{display:none}#login .la-k b{font-size:24px}#login .la-k small{font-size:11.5px}
 #login .la-stk{left:auto;right:4%;top:auto;bottom:-6px;width:70px;height:70px;font-size:16px}
 #login .la-side{padding:26px 16px calc(34px + env(safe-area-inset-bottom));place-items:start center}#login .la-card{padding:26px 22px;border-radius:22px}#login .la-hi{font-size:40px}#login .la-leafbg{width:380px;right:-110px;bottom:-90px}}
@media(prefers-reduced-motion:reduce){#login .la-k,#login .la-leafbg,#login .la-stk{animation:none}#login .la-bar i{animation:none;width:var(--w)}#login .la-spark path{animation:none;stroke-dashoffset:0}#login .la-ring circle.v{animation:none;stroke-dashoffset:88}.tims-stk{animation:none!important}}
html.dark #login{filter:none}
/* Dark mode: red brand panels stay Always Red (turned back after the page inversion) */
html.dark .stars-sec .e-hero,html.dark .cc2 .cc-fo{filter:invert(1) hue-rotate(180deg) saturate(1.6)}
/* REV Audit (Intertek) · Store Visits pages */
body.rev-on #filters .msd.per{display:none}
.rev-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.rev-kick{font:600 12px/1 'Tims Callout',sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--red,#C8102E)}
.rev-title{margin:6px 0 4px;font-size:28px}
.rev-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.rev-filters select{font-weight:700;min-width:160px}
.rev-seg{display:inline-flex;background:rgba(63,32,33,.06);border-radius:999px;padding:3px;gap:2px}
.rev-seg button{border:0;background:transparent;padding:7px 13px;border-radius:999px;font-weight:600;font-size:13px;color:var(--coffee,#3F2021);cursor:pointer;min-height:0;box-shadow:none}
.rev-seg button.on{background:var(--red,#C8102E);color:#fff}
.rev-red{color:var(--red,#C8102E)}
.rev-trend{width:100%;height:auto;color:var(--coffee,#3F2021)}
.rev-mini{display:inline-block;width:56px;height:6px;border-radius:6px;background:rgba(63,32,33,.1);margin-right:8px;vertical-align:middle;overflow:hidden}
.rev-mini i{display:block;height:100%;background:var(--red,#C8102E)}
.rev-dev td small,.rev-rec small,.rev-stores td small{display:block;opacity:.7;font-size:12px}
.rev-cm{margin-top:6px}.rev-cm summary{cursor:pointer;color:var(--red,#C8102E);font-weight:600;font-size:12px}
.rev-cm p{margin:6px 0 0;font-size:12.5px;opacity:.85}
.rev-h2s{font-size:20px;line-height:1.3}
.rev-spark{width:104px;height:30px;display:block}
.rev-heat .heat{display:inline-block;min-width:58px;text-align:center;padding:4px 6px;border-radius:8px;font-weight:600}
.rev-total td{border-top:2px solid rgba(63,32,33,.15)}.rev-total small{display:block;font-weight:400;opacity:.7}
.rev-cc-row{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:stretch;margin:6px 0 10px}
.rev-cc-side{border-radius:16px;padding:16px 18px;color:#fff;display:flex;flex-direction:column;gap:2px}
.rev-cc-side.k{background:#1F7A55}.rev-cc-side.u{background:var(--red,#C8102E)}
.rev-cc-side small{font:600 12px 'Tims Callout',sans-serif;letter-spacing:.14em;text-transform:uppercase;opacity:.92}
.rev-cc-side b{font:700 38px/1.05 'Tims Callout',sans-serif}.rev-cc-side span{font-size:12px;opacity:.85}
.rev-cc-side.win{box-shadow:0 0 0 3px var(--coffee,#3F2021) inset}.rev-cc-side.win small::after{content:'  ★ Leads'}
.rev-cc-vs{align-self:center;font:700 22px 'Tims Callout',sans-serif;color:var(--coffee,#3F2021)}
.rev-alert{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px solid rgba(63,32,33,.08)}
.rev-alert:first-of-type{border-top:0}.rev-alert b{display:block}.rev-alert small{opacity:.75}
.rev-rec{border-top:1px solid rgba(63,32,33,.08)}
.rev-rec summary{display:grid;grid-template-columns:120px minmax(0,1fr) 110px 90px 110px 130px;gap:12px;align-items:center;padding:12px 4px;cursor:pointer;list-style:none}
.rev-rec summary::-webkit-details-marker{display:none}
.rev-rec[open] summary{background:rgba(200,16,46,.04)}
.rev-rec-body{padding:6px 4px 16px}
.rev-secs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.rev-secs span{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:rgba(63,32,33,.04);min-width:120px}
.rev-secs b{font-size:15px}.rev-secs b.h3,.rev-secs b.h4{color:var(--red,#C8102E)}
.rev-link{font-weight:700;color:var(--red,#C8102E);text-decoration:none;white-space:nowrap}
.rev-zero{color:var(--red,#C8102E);font-weight:600}
.e-rv{display:block;font-size:11px;opacity:.7;margin-top:2px}
@media (max-width:700px){.rev-head{align-items:stretch}.rev-filters{justify-content:flex-start}.rev-seg{flex-wrap:wrap}
 .rev-rec summary{grid-template-columns:1fr auto;gap:6px 10px}.rev-rec summary .rev-rec-d{grid-column:1/-1;order:-1;font-size:12px;opacity:.75}
 .rev-cc-row{grid-template-columns:1fr;}.rev-cc-vs{text-align:center}}
html.dark .rev-cc-side{filter:invert(1) hue-rotate(180deg) saturate(1.6)}
/* REV: External / Internal switch */
.rev-src{display:flex;margin:0 0 12px}
.rev-seg.rev-src-seg{background:#fff;border:1px solid var(--line);padding:4px;box-shadow:0 2px 10px rgba(43,26,20,.05)}
.rev-seg.rev-src-seg button{padding:9px 18px;font-size:14px}
.rev-seg.rev-src-seg button small{font-weight:500;opacity:.7;margin-left:4px;font-size:11.5px}
.rev-seg.rev-src-seg button.on small{color:#fff;opacity:.9}
.rev-soon{text-align:center;padding:44px 20px}
.rev-soon h3{margin:12px 0 6px;font-size:22px}
.rev-soon p{max-width:520px;margin:0 auto}
html.dark .rev-seg.rev-src-seg{background:transparent}
@media (max-width:700px){.rev-seg.rev-src-seg{width:100%}.rev-seg.rev-src-seg button{flex:1;padding:9px 8px}}
.rev-up{grid-column:1/-1;margin-top:4px}
.rev-up-lab{display:block;font-size:13px;color:var(--muted,#7a6a63);margin-bottom:8px}
.rev-up-files{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rev-up-box{border:1.5px dashed #d9c9bb;border-radius:14px;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:6px;min-width:0}
.rev-up-h{display:flex;gap:10px;align-items:center}
.rev-up-n{width:26px;height:26px;border-radius:50%;background:var(--red,#C8102E);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;flex:0 0 auto}
.rev-up-box small{color:var(--muted,#7a6a63);margin-left:36px}
.rev-up-box input{margin-left:36px;width:calc(100% - 36px)}
.rev-up-roundbox{display:block;border:1px solid var(--line);border-radius:12px;padding:11px 14px;background:var(--cream,#faf6f1);font-weight:400;margin:6px 0 4px}
.files-rev td small{display:block;color:var(--muted,#7a6a63);font-weight:400}
.rev-hist-h{margin:18px 0 8px}
.rev-dpg{align-items:stretch}
.rev-stack{display:flex;flex-direction:column;gap:16px;min-width:0}.rev-stack>.card{margin:0;flex:1}
.rev-dpg>.rev-dp{margin:0;display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.rev-dp .section-head{margin-top:0}
.rev-dp-rows{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:4px}
.rev-dp .rev-dp-n{font-size:14px}
.rev-dp .cover-row.visitor-row{align-items:center}
.rev-dp .visitor-row small{font-size:12px}
.rev-dp .small-note{margin:12px 0 0}
.rev-dp .rev-dp-n{display:block;font-weight:500;white-space:normal;text-align:left;align-self:flex-start;color:var(--ink,#2b1a14)}
.rev-dp-tag{display:inline-block;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:#fbe7ea;color:var(--red,#C8102E);padding:2px 7px;border-radius:999px;margin-left:6px;vertical-align:1px}
.rev-up>p.muted{margin:12px 0 0}
html.dark .rev-up-box{background:transparent}
@media (max-width:700px){.rev-up-files{grid-template-columns:1fr}.rev-up-box small,.rev-up-box input{margin-left:0;width:100%}}
/* REV Audit - External: 5 top cards, store cards, Audited By tabs, sortable Store Performance, big trend, repeat deviations */
html body .kpis.rev-k5{grid-template-columns:repeat(5,minmax(0,1fr))}
.rev-k5 .card{min-width:0}
.rev-k5 .rev-split{display:block;margin-top:2px}
.rev-sc .rev-sc-n{display:block;white-space:normal;line-height:1.35}
.rev-sc .rev-sc-n b{font-weight:700;color:var(--coffee,#3F2021)}
.rev-tabs{background:rgba(63,32,33,.06)}
.rev-tabs button{padding:6px 12px;font-size:12.5px}
.rev-rk{font-style:normal;font-weight:800;color:var(--muted,#7a6a63);min-width:20px;display:inline-block;margin-right:6px;font-size:12px}
.visitor-row b small{display:block;font-weight:500;color:var(--muted,#7a6a63);font-size:11px}
.rev-sort{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:5px;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;white-space:nowrap}
.rev-sort i{font-style:normal;font-size:10px;opacity:.45}
.rev-sort.on{color:var(--red,#C8102E)}.rev-sort.on i{opacity:1}
.rev-sort:focus-visible{outline:2px solid var(--red,#C8102E);outline-offset:3px;border-radius:4px}
.sc-table .rev-sort{white-space:normal;max-width:150px}
.rev-stores .rev-rank{font-weight:800;color:var(--muted,#7a6a63)}
.rev-big{padding-bottom:10px}
.rev-big-svg{width:100%;height:auto;display:block;color:var(--coffee,#3F2021)}
.rev-rep td small{display:block;color:var(--muted,#7a6a63)}
.rev-repd{margin-top:6px}
.rev-repd summary{cursor:pointer;color:var(--red,#C8102E);font-weight:600;font-size:13px;list-style:none;display:inline-flex;align-items:center;gap:6px}
.rev-repd summary::-webkit-details-marker{display:none}
.rev-repd summary::after{content:'▾';font-size:11px}
.rev-repd[open] summary::after{content:'▴'}
.rev-rep-g{margin-top:8px}
.rev-rep-g small{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#7a6a63)}
.rev-rep-g ul{margin:4px 0 0;padding-left:18px}
.rev-rep-g li{margin:2px 0;font-size:13.5px;line-height:1.4}
.rev-filters .msd.per{min-width:200px}
.rev-filters .msd.per .msd-pop{left:auto;right:0}
.rev-rep td{white-space:normal;vertical-align:top}
.rev-rep td:last-child{min-width:340px}
@media (max-width:700px){.rev-filters .msd.per .msd-pop{left:0;right:auto}}
@media (max-width:1180px){html body .kpis.rev-k5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){html body .kpis.rev-k5{grid-template-columns:1fr 1fr}.rev-big-svg text{font-size:16px}}
@media print{.rev-repd{display:block}.rev-repd>*{display:block}}
/* Motion: short, once, off with reduced motion and in print */
.mo-tick{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#20744a;color:#fff;font-size:12px;font-weight:800;margin-right:9px;vertical-align:-4px}
.chat-sound{border:0;background:rgba(255,255,255,.16);color:#fff;width:30px;height:30px;min-height:0;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;flex:0 0 auto;margin-left:auto;box-shadow:none}
.chat-sound+.chat-x{margin-left:6px}
.chat-sound svg{width:17px;height:17px}
.chat-sound:not(.on){opacity:.75}
@media (prefers-reduced-motion:no-preference){
 /* page change (22 Nov 2026, more motion): the cards come in one after another; a tab slides in from its side */
 /* 22 Nov 2026 (Ahmed chose the blur from his second video): the new page comes in blurred and turns sharp; the page you leave fades out blurred; pop-ups open with the page behind blurred */
 #content.mo-in>*{animation:moKid .42s cubic-bezier(.2,.8,.2,1) both}
 .mo-ghost{position:fixed;overflow:hidden;pointer-events:none;z-index:40;animation:moGhost .18s ease-in forwards}
 dialog[open]{animation:moDlg .26s cubic-bezier(.2,.8,.2,1)}
 dialog[open]::backdrop{background:rgba(40,20,18,.38)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;animation:moBd .26s ease both}
 #content.mo-in.mo-r>*{animation-name:moKidR}#content.mo-in.mo-l>*{animation-name:moKidL}
 #content.mo-in>:nth-child(2){animation-delay:.04s}#content.mo-in>:nth-child(3){animation-delay:.08s}#content.mo-in>:nth-child(4){animation-delay:.12s}#content.mo-in>:nth-child(5){animation-delay:.16s}#content.mo-in>:nth-child(n+6){animation-delay:.2s}
 #kc-page.mo-in>.kc>*{animation:moKid .4s cubic-bezier(.2,.8,.2,1) both}#kc-page.mo-in>.kc>:nth-child(2){animation-delay:.05s}#kc-page.mo-in>.kc>:nth-child(n+3){animation-delay:.1s}
 .kc-f,.kc-r{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
 @media (hover:hover){.kc-f:hover{transform:translateY(-2px)}#content .card{transition:box-shadow .2s ease}}
 #nav button,#pa-tabs button,.om-tabs button,.rtabs button{transition:background-color .22s ease,color .22s ease,box-shadow .22s ease}
 #sections button{transition:background-color .2s ease,color .2s ease,transform .15s ease}#sections button:active{transform:scale(.94)}
 .mo-bar{transform-origin:left center;animation:moGrow .7s cubic-bezier(.2,.7,.2,1) both paused}
 .mo-block{animation:moClip .7s cubic-bezier(.2,.7,.2,1) both paused}
 .mo-line{stroke-dasharray:1;animation:moDraw .8s ease-out both paused}
 .donut.mo-donut{position:relative}
 .donut.mo-donut>div{position:relative;z-index:1}
 .donut.mo-donut::after{content:'';position:absolute;inset:-1px;border-radius:50%;z-index:0;pointer-events:none;background:conic-gradient(transparent var(--mo-a),#fff 0);animation:moSweep .8s cubic-bezier(.3,.7,.3,1) both paused}
 .donut.mo-donut.mo-go::after{animation-play-state:running}
 .mo-go{animation-play-state:running}
 .mo-tick{animation:moPop .32s cubic-bezier(.3,1.6,.5,1) both}
 @media (hover:hover){
  .kpis>.card,.home-kpi,.stars-sec .e-m>div,.cc-tiles>*{transition:transform .18s ease,box-shadow .18s ease}
  .kpis>.card:hover,.home-kpi:hover,.stars-sec .e-m>div:hover,.cc-tiles>*:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(43,26,20,.10)}
 }
 #content button:not(:disabled),.chat-panel button,dialog button{transition:transform .12s ease}
 #content button:not(:disabled):active,.chat-panel button:active,dialog button:not(:disabled):active{transform:scale(.97)}
}
@property --mo-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes moSweep{from{--mo-a:0deg}to{--mo-a:360deg}}
@keyframes moFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes moKid{from{opacity:0;filter:blur(12px);transform:scale(.985)}to{opacity:1;filter:none;transform:none}}@keyframes moKidR{from{opacity:0;filter:blur(12px);transform:translateX(18px)}to{opacity:1;filter:none;transform:none}}@keyframes moKidL{from{opacity:0;filter:blur(12px);transform:translateX(-18px)}to{opacity:1;filter:none;transform:none}}
@keyframes moGhost{to{opacity:0;filter:blur(10px);transform:scale(.99)}}@keyframes moDlg{from{opacity:0;transform:scale(.94);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}@keyframes moBd{from{opacity:0}to{opacity:1}}
@keyframes moGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes moClip{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes moDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes moPop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
@media print{#content,#content *{animation:none!important;transition:none!important}}
/* ----- Phone: Red Hero app design (body.ph = phone-wide screens only) ----- */
#ph-splash{display:none}
@media (max-width:700px) and (display-mode:standalone){#ph-splash{display:flex}}
html.ph-splash-on #ph-splash{display:flex}
#ph-splash{position:fixed;inset:0;z-index:100000;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:linear-gradient(170deg,#D2182F,#9E0C24);color:#fff;transition:opacity .4s ease}
#ph-splash img{width:150px;height:auto;margin-bottom:16px}
#ph-splash b{font:600 15px var(--f-call);letter-spacing:.32em}
#ph-splash small{font:500 14px var(--f-ui);opacity:.78}
#ph-splash i{width:120px;height:4px;border-radius:2px;background:rgba(255,255,255,.25);margin-top:40px;overflow:hidden;position:relative}
#ph-splash i::after{content:'';position:absolute;inset:0 auto 0 0;width:40%;border-radius:2px;background:#fff;animation:phLoad 1.1s ease-in-out infinite}
#ph-splash.out{opacity:0;pointer-events:none}
@keyframes phLoad{0%{left:-40%}100%{left:100%}}

body.ph{background:var(--bg)!important}
body.ph .topbar,body.ph #app main>header.top,body.ph #ly-tabs,body.ph .chat-fab,body.ph .ph-hoist,body.ph #content>.home-hero,body.ph #content>.push-card,body.ph .m-fbtn,body.ph #content>.tr-source,body.ph .sb-fill,body.ph #m-dim[hidden]{display:none!important}
body.ph .m-fwrap:not(.m-open){display:none!important}
body.ph .rev-head .rev-kick,body.ph .rev-head .rev-title,body.ph .rev-head>div:first-child>p.muted,body.ph .rev-head .msd.per{display:none!important}
body.ph .rev-head{padding:12px!important}
body.ph .rev-head .rev-filters{margin:0!important;gap:8px!important}
body.ph .app-body{display:block!important}
body.ph .app-body,body.ph #app main{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;min-height:0}
body.ph #app{padding:0!important}
body.ph #content{position:relative;z-index:1;padding:0 14px calc(112px + env(safe-area-inset-bottom))!important;margin:0!important}
body.ph #content .card,body.ph #content section.card,body.ph #content .cs-card{border-radius:20px!important;border-color:transparent!important;box-shadow:0 10px 26px -18px rgba(63,32,33,.45)!important}
body.ph #content .kpis>.card{border-radius:18px!important}
body.ph #content>.ln{padding:12px 14px!important}

/* the red top */
body.ph .ph-hero small,body.ph .ph-hero b,body.ph .ph-hero p{color:#fff}
body.ph .ph-hero button,body.ph .ph-bar button,body.ph .ph-more button{min-height:0!important;box-shadow:none;letter-spacing:normal;text-transform:none;line-height:1.2}
body.ph .ph-hero .ph-tabs{flex-wrap:nowrap!important}
.ph-hero{display:none}
body.ph .ph-hero{display:block;position:relative;z-index:0;background:linear-gradient(160deg,#D2182F 0%,#A50D26 100%);color:#fff;border-radius:0 0 30px 30px;overflow:hidden;padding:calc(env(safe-area-inset-top) + 10px) 18px 46px;margin:0 0 -28px}
body.ph .ph-hero[hidden]{display:none}
.ph-hero .ph-leaf{position:absolute;right:-64px;top:44px;width:250px;opacity:.08;pointer-events:none;user-select:none}
.ph-hero .ph-in{position:relative}
.ph-hero .ph-row{display:flex;align-items:center;gap:10px;min-height:46px}
.ph-hero .ph-c{width:42px;height:42px;border-radius:50%!important;background:rgba(255,255,255,.18)!important;border:0!important;color:#fff;display:grid;place-items:center;flex:none;position:relative;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ph-hero .ph-c:active{background:rgba(255,255,255,.3);transform:scale(.94)}
.ph-hero .ph-c svg{width:21px;height:21px}
.ph-hero .ph-dot{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;border-radius:9px;background:#fff;color:#C8102E;font:800 11px/18px var(--f-ui);font-style:normal;padding:0 4px;text-align:center}
.ph-hero .ph-sp{width:42px;flex:none}
.ph-hero .ph-mid{flex:1;min-width:0;text-align:center}
.ph-hero .ph-mid small{display:block;font:600 11px var(--f-call);letter-spacing:.16em;text-transform:uppercase;opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-hero .ph-mid b{display:block;font:700 17px/1.25 var(--f-title);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-hero .ph-who{flex:1;min-width:0;display:flex;flex-direction:column}
.ph-hero .ph-who small{font:500 13px var(--f-ui);opacity:.82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-hero .ph-who b{font:700 19px/1.2 var(--f-title);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-hero .ph-root b{font-size:22px;letter-spacing:-.01em}
.ph-av{width:44px;height:44px;border-radius:50%;background:#fff;color:#C8102E;display:grid;place-items:center;font:800 17px var(--f-ui);flex:none;border:0;padding:0}
.ph-av.big{width:62px;height:62px;font-size:24px}
.ph-hero .ph-area{display:inline-flex;align-items:center;gap:6px;margin-top:18px;background:none;border:0;padding:0;color:#fff;font:600 14px var(--f-ui);opacity:.92}
.ph-hero .ph-area svg,.ph-hero .ph-pill svg{width:16px;height:16px}
.ph-hero .ph-pill{display:flex;width:max-content;max-width:100%;align-items:center;gap:6px;margin-top:14px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff;border-radius:99px;padding:6px 12px;font:600 14px var(--f-ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-hero .ph-area+.ph-pill{margin-top:8px}
.ph-hero .ph-big{display:flex;align-items:flex-end;flex-wrap:wrap;gap:4px 10px;margin-top:8px}
.ph-hero .ph-n{font:800 54px/1.04 var(--f-title);letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.ph-hero .ph-n.sm{font-size:40px}
.ph-hero .ph-d{background:rgba(255,255,255,.2);font:700 13px var(--f-ui);padding:5px 9px;border-radius:99px;margin-bottom:9px;white-space:nowrap}
.ph-hero .ph-sub{margin:2px 0 0;font:500 14px/1.35 var(--f-ui);color:#fff;opacity:.9}
.ph-hero .ph-minis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.ph-hero .ph-minis div{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:8px 9px;min-width:0}
.ph-hero .ph-minis small{display:block;font:500 11.5px var(--f-ui);opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ph-hero .ph-minis b{font:800 17px var(--f-title)}
.ph-hero .ph-quick{display:flex;justify-content:space-between;gap:6px;margin-top:20px}
.ph-hero .ph-quick button{flex:1;max-width:84px;display:flex;flex-direction:column;align-items:center;gap:7px;background:none!important;border:0!important;padding:0!important;color:#fff;font:600 12.5px var(--f-ui);cursor:pointer;-webkit-tap-highlight-color:transparent}
.ph-hero .ph-quick span{width:56px;height:56px;border-radius:18px;background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.24);display:grid;place-items:center}
.ph-hero .ph-quick button:active span{background:rgba(255,255,255,.3);transform:scale(.94)}
.ph-hero .ph-quick svg{width:25px;height:25px}
.ph-hero .ph-tabs{display:flex;gap:20px;margin:16px -18px -6px;padding:0 18px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ph-hero .ph-tabs::-webkit-scrollbar{display:none}
.ph-hero .ph-tabs button{flex:none!important;width:auto!important;background:none!important;border:0;margin:0!important;border-bottom:3px solid transparent;border-radius:0;color:#fff;opacity:.66;font:700 14.5px var(--f-ui);padding:2px 0 8px;white-space:nowrap;cursor:pointer}
.ph-hero .ph-tabs button.on{opacity:1;border-bottom-color:#fff}
body.ph .ph-hero.has-tabs{padding-bottom:40px}

/* bottom bar */
.ph-bar{display:none}
body.ph .ph-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:160;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid #EFE6DB;justify-content:space-around;align-items:flex-start;padding:7px 10px calc(6px + env(safe-area-inset-bottom))}
body.ph .ph-bar[hidden]{display:none}
.ph-bar button{flex:1;max-width:80px;background:none!important;border:0!important;border-radius:0!important;display:flex;flex-direction:column;align-items:center;gap:3px;color:#9b8a85;font:600 11px var(--f-ui);padding:3px 0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ph-bar button i{display:grid;place-items:center;height:28px;font-style:normal}
.ph-bar button svg{width:26px;height:26px}
.ph-bar button.on{color:#C8102E}
.ph-bar button:active i{transform:scale(.9)}
.ph-bar .ph-chat i{width:60px;height:60px;border-radius:50%;background:#C8102E;color:#fff;border:4px solid #fff;margin-top:-30px;box-shadow:0 10px 20px -8px rgba(200,16,46,.7);position:relative}
.ph-bar .ph-chat.on i{background:#A50D26}
.ph-bar .ph-chat i svg{width:25px;height:25px}
.ph-bar .ph-chat i b{position:absolute;top:-5px;right:-5px;min-width:21px;height:21px;border-radius:11px;background:#3F2021;color:#fff;font:700 11px/17px var(--f-ui);border:2px solid #fff;padding:0 3px;text-align:center}

/* chats: full screen above the bar */
body.ph .chat-wrap{left:0!important;right:0!important;top:0!important;bottom:calc(66px + env(safe-area-inset-bottom))!important;align-items:stretch!important;gap:0!important}
body.ph .chat-panel{width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important;border:0!important;box-shadow:none!important}
body.ph .chat-panel .chat-head{background:linear-gradient(160deg,#D2182F,#A50D26)!important;color:#fff!important;padding-top:calc(env(safe-area-inset-top) + 12px)!important;border:0!important}
body.ph .chat-panel .chat-head *{color:#fff}
body.ph .chat-panel .chat-head button{background:rgba(255,255,255,.18)!important;border-color:transparent!important;color:#fff!important}
body.ph .chat-pop{display:none!important}

/* More */
.ph-more{display:none}
body.ph .ph-more{display:block;position:fixed;inset:0 0 calc(66px + env(safe-area-inset-bottom)) 0;z-index:155;overflow-y:auto;background:var(--bg);animation:phUp .22s ease-out}
body.ph .ph-more .ph-hero{margin:0;padding-bottom:24px}
.ph-more .ph-me{display:flex;align-items:center;gap:14px;width:100%;background:none;border:0;padding:6px 0 0;color:#fff;text-align:left;cursor:pointer}
.ph-more .ph-me .ph-who b{font-size:21px}
.ph-more .ph-quick button span{border-radius:16px}
.ph-mbody{padding:6px 16px 26px}
.ph-lab{display:block;font:600 12px var(--f-call);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:18px 4px 8px}
.ph-list{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 10px 24px -18px rgba(63,32,33,.4)}
.ph-li{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px!important;background:none!important;border:0!important;border-bottom:1px solid #F1EAE0!important;border-radius:0!important;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.ph-li:last-child{border-bottom:0!important}
.ph-li:active{background:#FBF6F0}
.ph-li b{flex:1;font:600 16px var(--f-ui);min-width:0}
.ph-li small{color:var(--muted);font:500 13px var(--f-ui)}
.ph-li>svg{width:18px;height:18px;color:#c9bdb6;flex:none}
.ph-li .ph-ic{width:34px;height:34px;border-radius:10px;background:#FBE9EC;color:#C8102E;display:grid;place-items:center;flex:none}
.ph-li .ph-ic svg{width:19px;height:19px}
.ph-li.red b{color:#C8102E}
.ph-sw{width:50px;height:30px;border-radius:15px;background:#DDD3C8;position:relative;flex:none;transition:background .2s}
.ph-sw::after{content:'';position:absolute;left:2px;top:2px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .2s}
.ph-sw.on{background:#20744a}.ph-sw.on::after{left:22px}
body.ph-lock{overflow:hidden}

/* sheets from the bottom: filters, period, ⋯, install */
body.ph .m-fwrap.m-open{border-radius:26px 26px 0 0!important;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important;z-index:170!important;animation:phUp .22s ease-out}
body.ph .m-fwrap.m-open::before{content:'';display:block;width:40px;height:5px;border-radius:3px;background:#DDD3C8;margin:10px auto 0;flex:none}
body.ph .m-fwrap.m-open .m-fhead{padding-top:8px}
body.ph #m-dim{z-index:165!important}
body.ph .m-sheet{z-index:170!important;border-radius:26px 26px 0 0!important;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
body.ph #app-sheet{align-items:flex-end!important;padding:0!important}
body.ph #app-sheet .as{border-radius:26px 26px 0 0!important;max-width:none;animation:phUp .25s ease-out}
body.ph .ly-ov{align-items:flex-start}
body.ph .ly-pal{border-radius:26px 26px 0 0!important;margin-top:calc(env(safe-area-inset-top) + 56px)!important;min-height:calc(100dvh - 56px);width:100%!important;max-width:none!important}
@keyframes phUp{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}

/* swipe between page tabs */
body.ph #content.ph-sl{animation:phSl .24s ease-out}
body.ph #content.ph-sr{animation:phSr .24s ease-out}
@keyframes phSl{from{opacity:.35;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes phSr{from{opacity:.35;transform:translateX(-30px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.ph #content.ph-sl,body.ph #content.ph-sr,body.ph .ph-more,body.ph .m-fwrap.m-open,body.ph #app-sheet .as{animation:none!important}}

/* app feel: no text selection on buttons, no grey tap flash, no pull-to-refresh bounce */
body.ph{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
body.ph button,body.ph .ph-bar,body.ph .ph-hero{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* sign in */
body.ph #login.la{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:var(--bg)}
body.ph #login[hidden]{display:none}
body.ph #login .la-vis{min-height:44vh;min-height:44dvh;padding:calc(env(safe-area-inset-top) + 20px) 20px 56px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(170deg,#D2182F,#A50D26)!important}
body.ph #login .la-stage,body.ph #login .la-hello,body.ph #login .la-stk,body.ph #login .la-leafbg,body.ph #login .la-brand .bar{display:none!important}
body.ph #login .la-brand{display:flex!important;flex-direction:column;align-items:center;gap:8px;text-align:center;position:static!important}
body.ph #login .la-brand img{width:120px!important;height:auto!important;margin-bottom:12px}
body.ph #login .la-brand::before{content:'TIMS OMS';order:1;font:600 15px var(--f-call);letter-spacing:.32em;color:#fff}
body.ph #login .la-brand b{order:2;font:500 14px var(--f-ui)!important;opacity:.8;color:#fff}
body.ph #login .la-side{flex:1;margin-top:-30px;border-radius:30px 30px 0 0;background:var(--bg);position:relative;z-index:1;padding:0!important}
body.ph #login .la-card{background:none!important;border:0!important;box-shadow:none!important;padding:28px 22px calc(28px + env(safe-area-inset-bottom))!important;margin:0!important;max-width:none!important}
body.ph #login .la-hi{font:700 26px var(--f-title)!important;letter-spacing:-.02em;color:var(--ink)!important;margin:0!important}
body.ph #login .la-lead{font-size:15px!important;margin:6px 0 18px!important}
body.ph #login .la-fld input{border-radius:16px!important;padding:15px 16px!important;font-size:17px!important}
body.ph #login .la-btn{height:54px;border-radius:16px!important;font-size:17px!important;width:100%}

/* dark mode: the portal turns the page dark by inverting it, so the red parts are turned back */
html.dark body.ph .chat-panel .chat-head{background:#fff!important}
html.dark body.ph .chat-panel .chat-head *{color:#3F2021}
html.dark body.ph .chat-panel .chat-head button{background:#F3ECE2!important;color:#3F2021!important}
html.dark body.ph .ph-hero img{filter:none!important}
html.dark body.ph .ph-bar{background:rgba(36,20,21,.94);border-top-color:#3a2526}
html.dark body.ph .ph-bar .ph-chat i{border-color:#241415}
html.dark body.ph .ph-list{background:#2C1A1B}
html.dark body.ph .ph-li{color:#F6EDE6;border-color:#3a2526}
html.dark body.ph .ph-li .ph-ic{background:#4A2F30;color:#FF9AA8}

body.ph .kpis>.ph-wide{grid-column:1/-1}
/* keep wide tables inside their own scroll box (hidden screen-reader labels used to stretch the page) */
body.ph .table-wrap{position:relative}
body.ph #content select,body.ph #content .inline-select{max-width:100%}
body.ph #content .inline-select{display:flex;flex-wrap:wrap;gap:6px}

/* ===== Clean style (html.ph-clean): light top, big titles, five tabs ===== */
html.ph-clean body.ph .ph-hero.clean{background:var(--bg);color:var(--ink);border-radius:0;padding:calc(env(safe-area-inset-top) + 8px) 16px 14px;margin:0 0 4px}
html.ph-clean body.ph .ph-hero.clean .ph-leaf{display:none}
html.ph-clean body.ph .ph-hero.clean :is(small,b,p,h1,span,em){color:inherit}
html.ph-clean body.ph .ph-hero.clean .ph-c{background:#fff!important;color:var(--ink)!important;box-shadow:0 4px 14px -8px rgba(63,32,33,.45)}
html.ph-clean body.ph .ph-hero.clean .ph-dot{background:#C8102E;color:#fff;border:2px solid var(--bg)}
html.ph-clean .ph-hero.clean .ph-logo{width:34px;height:auto}
html.ph-clean .ph-hero.clean .ph-brand{flex:1;font:600 13px var(--f-call);letter-spacing:.2em;text-transform:uppercase;color:#C8102E!important}
html.ph-clean .ph-hero.clean .ph-av{background:#3F2021;color:#fff;width:42px;height:42px;font-size:15px}
html.ph-clean .ph-hero.clean .ph-h1{font:800 32px/1.05 var(--f-title);letter-spacing:-.025em;margin:16px 0 0}
html.ph-clean .ph-hero.clean .ph-area{color:var(--muted)!important;opacity:1;margin-top:8px}
html.ph-clean .ph-hero.clean .ph-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
html.ph-clean .ph-hero.clean .ph-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff!important;border:0!important;border-radius:20px!important;padding:14px!important;box-shadow:0 10px 24px -18px rgba(63,32,33,.45)!important;color:var(--ink);cursor:pointer;min-width:0}
html.ph-clean .ph-hero.clean .ph-card:active{transform:scale(.98)}
html.ph-clean .ph-hero.clean .ph-ci{width:34px;height:34px;border-radius:10px;background:#FBE9EC;color:#C8102E!important;display:grid;place-items:center}
html.ph-clean .ph-hero.clean .ph-ci.training{background:#F5EEE1;color:#996015!important}
html.ph-clean .ph-hero.clean .ph-ci.qa{background:#EEF0F2;color:#4b5563!important}
html.ph-clean .ph-hero.clean .ph-ci svg{width:20px;height:20px}
html.ph-clean .ph-hero.clean .ph-card small{font:600 10.5px var(--f-call);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)!important;margin-top:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html.ph-clean .ph-hero.clean .ph-card b{font:800 28px/1.15 var(--f-title);letter-spacing:-.02em}
html.ph-clean .ph-hero.clean .ph-card em{font:500 12px/1.3 var(--f-ui);color:var(--muted)!important;font-style:normal;margin-top:2px}
html.ph-clean .ph-hero.clean .ph-card em i,html.ph-clean .ph-hero.clean .ph-d{font-style:normal;font-weight:700}
html.ph-clean .ph-hero.clean .up{color:#20744a!important}
html.ph-clean .ph-hero.clean .dn{color:#C8102E!important}
html.ph-clean .ph-hero.clean .ph-backt{display:flex;align-items:center;gap:0;background:none!important;border:0!important;padding:0 6px 0 0!important;margin-left:-6px;color:#C8102E!important;font:600 17px var(--f-ui);cursor:pointer}
html.ph-clean .ph-hero.clean .ph-backt svg{width:26px;height:26px}
html.ph-clean .ph-hero.clean .ph-fill{flex:1}
html.ph-clean .ph-hero.clean .ph-title{margin-top:8px}
html.ph-clean .ph-hero.clean .ph-title small{display:block;font:600 11.5px var(--f-call);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)!important}
html.ph-clean .ph-hero.clean .ph-title h1{font:800 30px/1.1 var(--f-title);letter-spacing:-.025em;margin:2px 0 0}
html.ph-clean .ph-hero.clean .ph-pill{background:#3F2021;border-color:#3F2021;color:#fff!important;margin-top:12px}
html.ph-clean .ph-hero.clean .ph-pill *{color:#fff}
html.ph-clean .ph-hero.clean .ph-bigcard{background:#fff;border-radius:22px;padding:16px 18px;margin-top:12px;box-shadow:0 10px 24px -18px rgba(63,32,33,.45)}
html.ph-clean .ph-hero.clean .ph-lab2{display:block;font:600 11px var(--f-call);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)!important}
html.ph-clean .ph-hero.clean .ph-big{margin-top:2px}
html.ph-clean .ph-hero.clean .ph-n{font-size:48px;color:var(--ink)}
html.ph-clean .ph-hero.clean .ph-d{background:#F3ECE2;color:var(--ink)}
html.ph-clean .ph-hero.clean .ph-d.up{background:#E3F1E8}
html.ph-clean .ph-hero.clean .ph-d.dn{background:#FBE9EC}
html.ph-clean .ph-hero.clean .ph-sub{color:var(--muted)!important;opacity:1;font-size:13.5px}
html.ph-clean .ph-hero.clean .ph-minis div{background:#fff;border-color:transparent;box-shadow:0 8px 20px -16px rgba(63,32,33,.45)}
html.ph-clean .ph-hero.clean .ph-minis small{color:var(--muted)!important}
html.ph-clean .ph-hero.clean .ph-tabs{gap:8px;margin:14px -16px 0;padding:0 16px 4px}
html.ph-clean .ph-hero.clean .ph-tabs button{opacity:1!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:99px!important;padding:8px 14px!important;color:var(--ink)!important;font:600 14px var(--f-ui)}
html.ph-clean .ph-hero.clean .ph-tabs button.on{background:#3F2021!important;border-color:#3F2021!important;color:#fff!important}
html.ph-clean body.ph .ph-hero.clean.has-tabs{padding-bottom:12px}
html.ph-clean body.ph .ph-bar.clean{background:rgba(251,248,243,.88);justify-content:space-around}
html.ph-clean body.ph .ph-bar.clean button{max-width:74px}
html.ph-clean body.ph .ph-more .ph-hero.clean{padding-bottom:18px}
html.ph-clean .ph-more .ph-hero.clean .ph-me{color:var(--ink)}
html.ph-clean .ph-more .ph-hero.clean .ph-av.big{background:#3F2021;color:#fff}
html.ph-clean .ph-more .ph-hero.clean .ph-quick{display:flex}
html.ph-clean .ph-more .ph-hero.clean .ph-quick button{color:var(--ink)!important}
html.ph-clean .ph-more .ph-hero.clean .ph-quick span{background:#fff;border-color:var(--line);color:#C8102E}
html.dark.ph-clean body.ph .ph-hero.clean{background:#1d1112;color:#F6EDE6}
html.dark.ph-clean body.ph .ph-hero.clean :is(.ph-card,.ph-bigcard,.ph-c,.ph-minis div){background:#2C1A1B!important;color:#F6EDE6!important}
html.dark.ph-clean body.ph .ph-hero.clean .ph-tabs button:not(.on){background:#2C1A1B!important;border-color:#3a2526!important;color:#F6EDE6!important}
html.dark.ph-clean body.ph .ph-hero.clean .ph-n{color:#F6EDE6}
html.dark.ph-clean body.ph .ph-bar.clean{background:rgba(36,20,21,.94)}
html.dark.ph-clean .ph-more .ph-hero.clean{background:#1d1112}
html.dark.ph-clean .ph-more .ph-hero.clean .ph-me,html.dark.ph-clean .ph-more .ph-hero.clean .ph-quick button{color:#F6EDE6!important}
html.dark.ph-clean .ph-more .ph-hero.clean .ph-quick span{background:#2C1A1B;border-color:#3a2526}

/* tables on the phone: one card per row (name · main number · labelled values) */
body.ph table.ph-rows,body.ph table.ph-rows tbody{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:none!important}
body.ph table.ph-rows thead{display:none!important}
body.ph :has(> table.ph-rows){overflow:visible!important;max-height:none!important;height:auto!important}
body.ph .table-wrap:has(> table.ph-rows),body.ph .cs-tw:has(> table.ph-rows){overflow:visible!important;border:0!important;background:none!important;box-shadow:none!important}
body.ph table.ph-rows tr{display:grid!important;grid-template-columns:auto repeat(6,minmax(0,1fr)) auto;column-gap:10px;row-gap:8px;align-items:start;background:#fff!important;border:1px solid #F1EAE0!important;border-radius:16px!important;padding:12px 14px!important;margin:0 0 8px!important;box-shadow:0 8px 20px -18px rgba(63,32,33,.5)}
body.ph table.ph-rows td{display:block!important;width:auto!important;min-width:0;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;font-size:14px;line-height:1.3;font-variant-numeric:tabular-nums}
body.ph table.ph-rows td::before{content:none}
body.ph table.ph-rows td.ph-c-rk{grid-column:1;grid-row:1;min-width:26px;height:26px;border-radius:8px;background:#F3ECE2!important;display:grid!important;place-items:center;font-weight:800;font-size:13px;color:var(--ink)}
body.ph table.ph-rows td.ph-c-rk:empty{visibility:hidden}
body.ph table.ph-rows td.ph-c-tt{grid-column:2/8;grid-row:1;font-weight:700;font-size:15.5px;overflow-wrap:anywhere}
body.ph table.ph-rows tr:not(:has(.ph-c-rk)) td.ph-c-tt{grid-column:1/8}
body.ph table.ph-rows td.ph-c-tt small{display:block;font-weight:500;font-size:12.5px;color:var(--muted);margin-top:2px}
body.ph table.ph-rows td.ph-c-mn{grid-column:8;grid-row:1;text-align:right!important;justify-self:end;font:800 19px/1.15 var(--f-title);white-space:nowrap!important}
body.ph table.ph-rows td.ph-c-mn::before{content:attr(data-label);display:block;font:600 9.5px/1.3 var(--f-call);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:2px;white-space:normal;max-width:110px;margin-left:auto}
body.ph table.ph-rows td.ph-c-gr{grid-column:8;grid-row:2;justify-self:end}
body.ph table.ph-rows td.ph-c-gr::before{content:none}
body.ph table.ph-rows td.ph-c-o::before{content:attr(data-label);display:block;font:600 9.5px/1.3 var(--f-call);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
body.ph table.ph-rows td.ph-c-o:empty{display:none!important}
body.ph table.ph-rows td.ph-c-o small{display:block;color:var(--muted);font-size:12px}
body.ph table.ph-rows td:not(.cs-g):not(.cs-a):not(.cs-b){background:transparent!important}
/* the web's target colours stay: green on target, amber watch, red below — as a tinted chip around the value */
body.ph table.ph-rows td:is(.cs-g,.cs-a,.cs-b){width:fit-content!important;max-width:100%;padding:3px 8px!important;border-radius:8px!important}
body.ph table.ph-rows td.ph-c-mn:is(.cs-g,.cs-a,.cs-b){padding:4px 9px!important}
body.ph table.ph-rows td.cs-g{background:rgba(32,116,74,.13)!important}body.ph table.ph-rows td.cs-a{background:rgba(153,96,21,.15)!important}body.ph table.ph-rows td.cs-b{background:rgba(200,16,46,.12)!important}
body.ph table.ph-rows td .ly-bar{display:block;max-width:140px;margin-top:4px}
body.ph table.ph-rows tfoot{display:block}
body.ph .ph-sortbar{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 10px;padding:2px 0}
body.ph .ph-sortbar::-webkit-scrollbar{display:none}
body.ph .ph-sortbar small{font:600 10.5px var(--f-call);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);flex:none;margin-right:2px}
body.ph .ph-sortbar button{flex:none;min-height:0!important;padding:6px 12px!important;border-radius:99px!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important;font:600 13px var(--f-ui)!important;white-space:nowrap}
body.ph .ph-sortbar button.on{background:#3F2021!important;border-color:#3F2021!important;color:#fff!important}
.ph-sortbar{display:none}
body.ph table.ph-rows3 td.ph-c-o{font-size:13.5px}
body.ph table.ph-rows3 td.ph-c-o::before{font-size:9px;letter-spacing:.06em}
/* very wide grids that keep side scrolling: the name column stays in view */
body.ph table.trs-grid th:nth-child(1),body.ph table.trs-grid td:nth-child(1){position:sticky;left:0;z-index:1;background:#fff}

/* ===== Easy layout (html.ph-easy, Ahmed 10 Nov 2026): Ticket colours — warm grey page, white cards, tall numbers; one title, big rows, no swiping ===== */
html.ph-easy{--ph-bg:#E7E2DD;--ph-card:#fff;--ph-line:#ECE5DE;--ph-soft:#F4F0EC;--ph-ink:#2B1A17;--ph-mut:#6E5D57}
html.ph-easy body.ph{background:var(--ph-bg)!important}
html.ph-easy body.ph #app,html.ph-easy body.ph #app main,html.ph-easy body.ph .app-body{background:transparent!important}
html.ph-easy body.ph #content .card,html.ph-easy body.ph #content section.card,html.ph-easy body.ph #content .cs-card{border-radius:18px!important;box-shadow:none!important;border-color:transparent!important;background:var(--ph-card)}
html.ph-easy body.ph #content{padding-top:2px!important}
html.ph-easy body.ph #content .kpis .metric,html.ph-easy body.ph #content .home-kpi>b{font-family:var(--f-call)!important;font-weight:600!important;letter-spacing:0}
/* header */
html.ph-easy body.ph .ph-hero.easy{background:var(--ph-bg);color:var(--ph-ink);border-radius:0;padding:calc(env(safe-area-inset-top) + 8px) 16px 12px;margin:0;overflow:visible}
html.ph-easy body.ph .ph-hero.easy :is(small,b,p,h1,span,em){color:inherit}
html.ph-easy .ph-hero.easy .ph-row{min-height:46px}
html.ph-easy .ph-hero.easy .ph-who small{font:500 14px var(--f-ui);color:var(--ph-mut)!important;opacity:1}
html.ph-easy .ph-hero.easy .ph-root b{font:800 30px/1.1 var(--f-title);letter-spacing:-.025em}
html.ph-easy .ph-hero.easy .ph-sq{width:44px;height:44px;border-radius:13px!important;background:var(--ph-card)!important;border:0!important;color:var(--ph-ink)!important;display:grid;place-items:center;flex:none;padding:0;position:relative;cursor:pointer}
html.ph-easy .ph-hero.easy .ph-sq svg{width:22px;height:22px}
html.ph-easy .ph-hero.easy .ph-sq+.ph-sq{margin-left:2px}
html.ph-easy .ph-hero.easy .ph-dot{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:9px;background:#C8102E;color:#fff!important;font:800 11px/18px var(--f-ui);padding:0 4px;font-style:normal}
html.ph-easy .ph-hero.easy .ph-backt{display:flex;align-items:center;gap:0;background:none!important;border:0!important;padding:8px 8px 8px 0!important;margin-left:-8px;color:#C8102E!important;font:600 17px var(--f-ui);cursor:pointer;max-width:70%;min-height:44px!important}
html.ph-easy .ph-hero.easy .ph-backt span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ph-easy .ph-hero.easy .ph-backt svg{width:28px;height:28px;flex:none}
html.ph-easy .ph-hero.easy .ph-fill{flex:1}
html.ph-easy .ph-hero.easy .ph-title{margin:4px 2px 12px}
html.ph-easy .ph-hero.easy .ph-title small{display:block;font:500 14px var(--f-ui);color:var(--ph-mut)!important;margin-bottom:2px}
html.ph-easy .ph-hero.easy .ph-title h1{font:800 30px/1.1 var(--f-title);letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
html.ph-easy .ph-hero.easy .ph-find{display:flex;align-items:center;gap:10px;width:100%;height:54px;border-radius:16px!important;background:var(--ph-card)!important;border:0!important;padding:0 16px!important;color:var(--ph-mut)!important;font:500 17px var(--f-ui);margin-top:12px;cursor:text}
html.ph-easy .ph-hero.easy .ph-find svg{width:22px;height:22px}
html.ph-easy .ph-hero.easy .ph-hd{display:flex;align-items:baseline;justify-content:space-between;margin:20px 4px 10px}
html.ph-easy .ph-hero.easy .ph-hd b{font:800 20px var(--f-title)}
html.ph-easy .ph-hero.easy .ph-hd button{display:flex;align-items:center;gap:3px;background:none!important;border:0!important;padding:0!important;color:var(--ph-mut)!important;font:600 14px var(--f-ui);cursor:pointer}
html.ph-easy .ph-hero.easy .ph-hd button svg{width:16px;height:16px}
html.ph-easy .ph-per{display:flex;align-items:center;justify-content:space-between;gap:6px;height:54px;border-radius:15px;background:var(--ph-card);padding:0 6px;margin-bottom:10px}
html.ph-easy .ph-per .ph-arr{width:44px;height:44px;border-radius:12px!important;background:var(--ph-soft)!important;border:0!important;color:var(--ph-ink)!important;display:grid;place-items:center;padding:0;flex:none;cursor:pointer}
html.ph-easy .ph-per .ph-arr svg{width:24px;height:24px}
html.ph-easy .ph-per .ph-arr.nx svg{transform:scaleX(-1)}
html.ph-easy .ph-per .ph-perl{flex:1;min-width:0;background:none!important;border:0!important;padding:0 4px!important;color:var(--ph-ink)!important;font:700 17px var(--f-ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;height:44px}
html.ph-easy .ph-areab{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:54px!important;border-radius:15px!important;background:var(--ph-card)!important;border:0!important;padding:8px 12px 8px 14px!important;text-align:left;cursor:pointer;margin-bottom:12px}
html.ph-easy .ph-areab span{display:flex;flex-direction:column;min-width:0}
html.ph-easy .ph-areab small{font:600 12.5px var(--f-ui);color:var(--ph-mut)!important}
html.ph-easy .ph-areab b{font:700 16.5px var(--f-ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.ph-easy .ph-areab em{display:flex;align-items:center;gap:3px;font:700 15px var(--f-ui);font-style:normal;color:#C8102E!important;flex:none}
html.ph-easy .ph-areab em svg{width:18px;height:18px}
html.ph-easy .ph-hero.easy .ph-bigcard{background:var(--ph-card);border-radius:20px;padding:16px 18px 16px;margin:0;box-shadow:none}
html.ph-easy .ph-hero.easy .ph-lab2{display:block;font:600 16px var(--f-ui);color:var(--ph-mut)!important;letter-spacing:0;text-transform:none}
html.ph-easy .ph-hero.easy .ph-big{margin-top:6px}
html.ph-easy .ph-hero.easy .ph-n{font:600 64px/1 var(--f-call);letter-spacing:-.01em;color:var(--ph-ink)}
html.ph-easy .ph-hero.easy .ph-n.sm{font-size:46px}
html.ph-easy .ph-hero.easy .ph-sub{margin:8px 0 0;font:500 15px/1.35 var(--f-ui);color:var(--ph-mut)!important;opacity:1}
html.ph-easy .ph-hero.easy .ph-sub b{font-weight:700}
html.ph-easy .ph-hero.easy .up,html.ph-easy .ph-more .up{color:#1F7A4D!important}
html.ph-easy .ph-hero.easy .dn,html.ph-easy .ph-more .dn{color:#C8102E!important}
/* rows (Home reports, More, report parts) */
html.ph-easy body.ph .ph-list{background:var(--ph-card);border-radius:18px;overflow:hidden;box-shadow:none}
html.ph-easy body.ph .ph-li{min-height:68px;gap:14px;padding:10px 14px 10px 16px!important;border-bottom:1px solid var(--ph-line)!important;color:var(--ph-ink)}
html.ph-easy body.ph .ph-li:last-child{border-bottom:0!important}
html.ph-easy body.ph .ph-li:active{background:var(--ph-soft)}
html.ph-easy body.ph .ph-li>b,html.ph-easy body.ph .ph-li .ph-t b{font:700 17px/1.2 var(--f-ui)}
html.ph-easy body.ph .ph-li .ph-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left}
html.ph-easy body.ph .ph-li .ph-t small{font:500 14px var(--f-ui);color:var(--ph-mut)!important}
html.ph-easy body.ph .ph-li .ph-ic{width:44px;height:44px;border-radius:13px;background:#C8102E;color:#fff!important}
html.ph-easy body.ph .ph-li .ph-ic svg{width:24px;height:24px}
html.ph-easy body.ph .ph-li .ph-v{display:flex;flex-direction:column;align-items:flex-end;flex:none}
html.ph-easy body.ph .ph-li .ph-v b{font:600 24px/1.05 var(--f-call)}
html.ph-easy body.ph .ph-li .ph-v small{font:700 13.5px var(--f-ui)}
html.ph-easy body.ph .ph-li>svg{width:20px;height:20px;color:#BDB1A9;flex:none}
html.ph-easy .ph-subs{margin:22px 0 0}
html.ph-easy .ph-subs h2{font:800 20px var(--f-title);margin:0 4px 10px;color:var(--ph-ink)}
html.ph-easy body.ph :is(.ph-areab,.ph-per,.ph-find){color:var(--ph-ink)}
/* bottom bar: five plain tabs */
html.ph-easy body.ph .ph-bar.easy{background:var(--ph-card);border-top:1px solid #DCD4CD;justify-content:space-around;padding-top:9px}
html.ph-easy body.ph .ph-bar.easy button{max-width:76px;font:700 12px var(--f-ui);color:#8D7E78;gap:4px}
html.ph-easy body.ph .ph-bar.easy button svg{width:27px;height:27px}
html.ph-easy body.ph .ph-bar.easy button.on{color:#C8102E}
html.ph-easy body.ph .ph-bar.easy i{position:relative}
html.ph-easy body.ph .ph-bar.easy .ph-bdg{position:absolute;top:-5px;right:-10px;min-width:20px;height:20px;border-radius:10px;background:#C8102E;color:#fff;font:800 11px/16px var(--f-ui);border:2px solid var(--ph-card);padding:0 3px;text-align:center}
/* More */
html.ph-easy body.ph .ph-more.easy{background:var(--ph-bg)}
html.ph-easy .ph-more.easy .ph-mbody{padding:calc(env(safe-area-inset-top) + 14px) 16px 28px}
html.ph-easy .ph-more.easy .ph-me{display:flex;align-items:center;gap:14px;width:100%;background:var(--ph-card)!important;border:0!important;border-radius:18px!important;padding:14px 16px!important;color:var(--ph-ink);text-align:left;cursor:pointer}
html.ph-easy .ph-more.easy .ph-me .ph-who{flex:1;min-width:0;display:flex;flex-direction:column}
html.ph-easy .ph-more.easy .ph-me .ph-who b{font:800 21px var(--f-title)}
html.ph-easy .ph-more.easy .ph-me .ph-who small{font:500 14px var(--f-ui);color:var(--ph-mut)}
html.ph-easy .ph-more.easy .ph-me>svg{width:20px;height:20px;color:#BDB1A9}
html.ph-easy .ph-more.easy .ph-av.big{background:#C8102E;color:#fff;width:58px;height:58px;font-size:21px}
html.ph-easy .ph-more.easy .ph-lab{font:800 20px var(--f-title);letter-spacing:-.01em;text-transform:none;color:var(--ph-ink);margin:22px 4px 10px}
html.ph-easy .ph-more.easy .ph-li .ph-ic:not([style]){background:var(--ph-soft);color:var(--ph-ink)!important}
html.ph-easy .ph-more.easy .ph-li.red .ph-t b{color:#C8102E}
/* visit types: one row each */
html.ph-easy body.ph #content .visit-grid{display:flex!important;flex-direction:column;gap:0!important;background:var(--ph-card);border-radius:18px;overflow:hidden}
html.ph-easy body.ph #content .visit-tile{display:grid!important;grid-template-columns:minmax(0,1fr) auto 20px;grid-template-rows:auto auto;align-items:center;column-gap:12px;text-align:left!important;width:100%!important;min-height:68px;padding:12px 14px 12px 16px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--ph-line)!important;border-radius:0!important;background:var(--ph-card)!important;box-shadow:none!important;transform:none!important}
html.ph-easy body.ph #content .visit-tile:last-child{border-bottom:0!important}
html.ph-easy body.ph #content .visit-tile:active{background:var(--ph-soft)!important}
html.ph-easy body.ph #content .visit-tile h3{grid-column:1;grid-row:1;margin:0!important;font:700 17px/1.2 var(--f-ui)!important;color:var(--ph-ink)}
html.ph-easy body.ph #content .visit-tile>span:not(.tile-link),html.ph-easy body.ph #content .visit-tile>small{grid-column:1;font:500 14px var(--f-ui)!important;color:var(--ph-mut)!important;margin:0!important}
html.ph-easy body.ph #content .visit-tile>small{display:none}
html.ph-easy body.ph #content .visit-tile .tile-score{grid-column:2;grid-row:1/3;font:600 24px var(--f-call)!important;margin:0!important;color:var(--ph-ink)}
html.ph-easy body.ph #content .visit-tile .tile-link{grid-column:3;grid-row:1/3;font-size:0!important;width:20px;height:20px;margin:0!important;background:none!important;padding:0!important}
html.ph-easy body.ph #content .visit-tile .tile-link::after{content:'›';font:400 28px/20px var(--f-ui);color:#BDB1A9}
/* tables as cards: white on grey, tall numbers */
/* each row its own card, with a clear edge and a tinted fill so it stands out from the white card around it */
html.ph-easy body.ph table.ph-rows tr{background:#FAF6F2!important;border:1px solid #DCD2C9!important;box-shadow:none!important;border-radius:14px!important}
html.ph-easy body.ph table.ph-rows td.ph-c-o{color:var(--ph-ink);font-weight:600}
html.ph-easy body.ph table.ph-rows td.ph-c-o::before,html.ph-easy body.ph table.ph-rows td.ph-c-mn::before{color:#6A5953!important;font-weight:600}
html.ph-easy body.ph table.ph-rows td.ph-c-tt small{color:#6A5953}
html.dark.ph-easy body.ph table.ph-rows tr{border-color:#CFC4BA!important}
html.ph-easy body.ph table.ph-rows td.ph-c-mn{font:600 23px/1.1 var(--f-call)}
html.ph-easy body.ph table.ph-rows td.ph-c-mn::before,html.ph-easy body.ph table.ph-rows td.ph-c-o::before{font:600 11.5px/1.3 var(--f-ui);letter-spacing:0;text-transform:none}
html.ph-easy body.ph table.ph-rows td.ph-c-o{font-size:15px}
html.ph-easy body.ph table.ph-rows td.ph-c-tt{font-size:16.5px}
html.ph-easy body.ph table.ph-rows td.ph-c-rk{background:#fff!important;border:1px solid #E4DAD1!important}
html.ph-easy body.ph .ph-sortbar small{font:600 13px var(--f-ui);letter-spacing:0;text-transform:none}
html.ph-easy body.ph .ph-sortbar button{padding:8px 14px!important;border-radius:10px!important;border:0!important;font:600 14px var(--f-ui)!important}
html.ph-easy body.ph .ph-sortbar button.on{background:var(--ph-ink)!important}
/* chats: white head */
html.ph-easy body.ph .chat-panel .chat-head{background:var(--ph-card)!important;color:var(--ph-ink)!important;border-bottom:1px solid var(--ph-line)!important}
html.ph-easy body.ph .chat-panel .chat-head *{color:var(--ph-ink)}
html.ph-easy body.ph .chat-panel .chat-head button{background:var(--ph-soft)!important;color:var(--ph-ink)!important}
/* sign in: grey page, red app icon, white card */
html.ph-easy body.ph #login .la-vis::before,html.ph-easy body.ph #login .la-vis::after{display:none!important}
html.ph-easy body.ph #login .la-brand b{opacity:1!important}
html.ph-easy body.ph #login .la-vis{background:var(--ph-bg)!important;min-height:auto;padding:calc(env(safe-area-inset-top) + 56px) 20px 26px!important}
html.ph-easy body.ph #login .la-brand img{width:84px!important;height:84px!important;object-fit:contain;background:#C8102E;border-radius:24px;padding:16px;box-sizing:border-box;margin-bottom:8px}
html.ph-easy body.ph #login .la-brand::before{content:'Tims OMS';order:1;font:600 30px var(--f-call);letter-spacing:0;color:var(--ph-ink)}
html.ph-easy body.ph #login .la-brand b{color:var(--ph-mut)}
html.ph-easy body.ph #login .la-side{margin:0 16px;border-radius:20px;background:var(--ph-card);flex:none}
html.ph-easy body.ph #login.la{background:var(--ph-bg)}
html.ph-easy body.ph #login .la-card{padding:22px 18px!important}
/* dark mode */
/* the page itself (main) is turned dark by inverting it, so only the parts outside it get dark colours here */
html.dark.ph-easy body.ph :is(.ph-hero,.ph-bar,.ph-more,.chat-panel){--ph-bg:#1E120E;--ph-card:#2C1B16;--ph-line:#3A251F;--ph-soft:#3A251F;--ph-ink:#F4E9DC;--ph-mut:#B59E8F}
html.dark.ph-easy body.ph{background:#1E120E!important}
html.dark.ph-easy body.ph .ph-hero.easy .ph-n{color:var(--ph-ink)}
html.dark.ph-easy body.ph .ph-bar.easy{background:#2C1B16;border-top-color:#3A251F}

/* ===== Web layout on the phone (html.ph-web): the web as it is, arranged to the screen ===== */
@media (max-width:700px){
 /* less side scrolling: no fixed table width, tight cells, headings wrap, text cells wrap, numbers stay on one line */
 html.ph-web #content table:not(.ly-mcards){min-width:0!important;width:100%!important}
 html.ph-web #content table:not(.ly-mcards) th{white-space:normal!important;font-size:10px!important;line-height:1.2!important;letter-spacing:.04em!important;padding:7px 4px!important;min-width:0!important;vertical-align:bottom;hyphens:auto}
 html.ph-web #content :is(.card,.cs-card,section):has(> .table-wrap, > .cs-tw, > table){padding-left:10px!important;padding-right:10px!important}
 html.ph-web #content :is(.table-wrap,.cs-tw){margin-left:0!important;margin-right:0!important}
 html.ph-web #content table:not(.ly-mcards) td{padding:8px 4px!important;font-size:12px!important;min-width:0!important;max-width:150px;white-space:normal!important;overflow-wrap:break-word}
 html.ph-web #content table:not(.ly-mcards) td:is(.n,.num,.r,.score,.cs-g,.cs-a,.cs-b){white-space:nowrap!important}
 html.ph-web #content table:not(.ly-mcards) td small{font-size:10.5px!important}
 html.ph-web #content table:not(.ly-mcards) :is(th,td):first-child{padding-left:8px!important}
 html.ph-web #content table.pw-tight td{font-size:11px!important;padding:7px 3px!important}
 html.ph-web #content table.pw-tight th{font-size:9px!important;padding:6px 3px!important}
 html.ph-web .pw-box{overflow-x:auto!important;-webkit-overflow-scrolling:touch;position:relative}
 html.ph-web table.pw-wide td.pw-stick,html.ph-web table.pw-wide th.pw-stick{position:sticky;z-index:2;background:#fff!important}
 html.ph-web table.pw-wide td.pw-last,html.ph-web table.pw-wide th.pw-last{min-width:112px;max-width:132px;box-shadow:6px 0 8px -6px rgba(63,32,33,.28)}
 html.ph-web table.pw-wide tbody tr:nth-child(even) td.pw-stick{background:#FBF7F2!important}
 html.ph-web table.pw-wide thead th.pw-stick{background:#F6F0E8!important;z-index:3}
}
/* ----- /Phone ----- */
/* ===== /Brand 2026 ===== */

/* Nov 2026: filter menus — the choice circles and boxes keep their own small size (a general input rule stretched them to 184×42) */
html body .msd-pop .msd-opt{display:flex!important;align-items:center!important;gap:12px!important;text-align:left!important;justify-content:flex-start!important}
html body .msd-pop .msd-opt input[type=radio],html body .msd-pop .msd-opt input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:0!important;flex:0 0 18px!important;margin:0!important;padding:0!important;accent-color:#C8102E;box-shadow:none!important;border-radius:50%}
html body .msd-pop .msd-opt input[type=checkbox]{border-radius:4px}
html body .msd-pop .msd-opt>span{flex:1 1 auto!important;min-width:0;text-align:left!important}
/* Activity Log (Nov 2026) */
html body .si-on{display:inline-block;width:9px;height:9px;border-radius:50%;background:#1F9D55;margin-right:6px;vertical-align:middle;box-shadow:0 0 0 3px rgba(31,157,85,.18)}
html body #act .act-pages{white-space:normal;min-width:220px}
html body #act .act-pages span{display:inline-block;margin:2px 4px 2px 0;padding:3px 8px;border-radius:12px;background:#F6EEE8;font-size:12px}
html body #act .act-pages span b{color:#C8102E}
/* Share / Save sheet (Nov 2026) */
dialog.sh-dlg{padding:0;border:0;background:transparent;width:min(420px,calc(100vw - 32px));max-width:none;color:#3F2021}
dialog.sh-dlg::backdrop{background:rgba(40,20,18,.45)}
dialog.sh-dlg .sh{background:#fff;border-radius:22px;padding:18px;box-shadow:0 30px 70px -24px rgba(0,0,0,.55)}
dialog.sh-dlg .sh-h{display:flex;align-items:center;gap:12px;margin-bottom:14px}
dialog.sh-dlg .sh-ic{flex:none;min-width:48px;height:48px;padding:0 8px;border-radius:14px;background:#FBEFF1;color:#C8102E;display:grid;place-items:center;font:800 12px var(--f-ui,Inter)}
dialog.sh-dlg .sh-h b{display:block;font:800 17px var(--f-title,Sora),Inter}dialog.sh-dlg .sh-h small{display:block;color:#8A7770;font:500 12.5px var(--f-ui,Inter);word-break:break-all}
dialog.sh-dlg .sh-x{margin-left:auto;flex:none;width:38px;height:38px;border-radius:50%;border:0;background:#F6EEE8;font:400 22px/1 Inter;cursor:pointer;color:#3F2021}
dialog.sh-dlg .sh-share,dialog.sh-dlg .sh-save{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;border-radius:16px;font:800 15px var(--f-ui,Inter);cursor:pointer}
dialog.sh-dlg .sh-share{border:0;background:#C8102E;color:#fff;margin-bottom:10px;box-shadow:0 12px 22px -14px rgba(200,16,46,.9)}
dialog.sh-dlg .sh-save{border:1px solid #EADFD0;background:#fff;color:#3F2021}
dialog.sh-dlg svg{width:20px;height:20px}
html.dark dialog.sh-dlg{filter:invert(1) hue-rotate(180deg)}
@media(max-width:700px){dialog.sh-dlg{width:100%;margin:auto 0 0;inset:auto 0 0 0}dialog.sh-dlg .sh{border-radius:22px 22px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}
/* Store Visits tile showing its latest month */
html body .visit-tile.vt-latest .tile-empty{color:#A06A00}
/* ===== Stars of the Month, simple cards + Full ranking (Nov 2026) ===== */
html body .stars-sec .stars-grid.n2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px;margin:0 auto}
@media(max-width:800px){html body .stars-sec .stars-grid.n2{grid-template-columns:1fr}}
html body .stars-sec .e-score{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 0 6px}
html body .stars-sec .e-score b{font:800 42px/1 var(--f-title,Sora),Inter;color:var(--red,#C8102E);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html body .stars-sec .e-score span{font:600 13px/1.3 var(--f-ui,Inter);color:#6B5A55;text-align:left}
html body .stars-sec .e-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:8px 0 6px}
html body .stars-sec .e-pills i{font:700 11.5px var(--f-ui,Inter);font-style:normal;padding:5px 10px;border-radius:20px;background:#FBEFF1;color:#A50D26}
html body .stars-sec .e-det{display:block;width:100%;margin-top:16px;border:0;border-radius:14px;padding:13px;min-height:46px;background:#3F2021;color:#fff;font:700 14.5px var(--f-ui,Inter);cursor:pointer;transition:transform .15s,background .15s}
html body .stars-sec .e-det:hover{background:#5a2f30}html body .stars-sec .e-det:active{transform:scale(.98)}
html body .stars-sec .e-det:focus-visible{outline:3px solid #C8102E;outline-offset:2px}
dialog.rk-dlg{padding:0;border:0;background:transparent;width:min(1180px,calc(100vw - 40px));max-width:none;max-height:calc(100vh - 40px);overflow:visible;color:var(--coffee,#3F2021)}
dialog.rk-dlg::backdrop{background:rgba(40,20,18,.5);backdrop-filter:blur(2px)}
dialog.rk-dlg[open]{animation:pc-in .22s cubic-bezier(.2,.8,.2,1)}
dialog.rk-dlg .rk{background:#fff;border-radius:24px;max-height:calc(100vh - 40px);overflow:auto;overscroll-behavior:contain;box-shadow:0 40px 90px -30px rgba(0,0,0,.6)}
dialog.rk-dlg .rk-h{position:sticky;top:0;z-index:2;background:linear-gradient(135deg,#E21D3D,#A80D25);color:#fff;padding:20px 24px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-radius:24px 24px 0 0}
dialog.rk-dlg .rk-h small{display:block;font:700 11.5px var(--f-ui,Inter)!important;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.88)!important}
dialog.rk-dlg .rk-h h2{margin:4px 0 4px;font:800 28px var(--f-title,Sora),Inter;color:#fff;letter-spacing:-.02em}
dialog.rk-dlg .rk-h p{margin:0;font:600 13px var(--f-ui,Inter);color:rgba(255,255,255,.92)!important}
dialog.rk-dlg .rk-x{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.18);color:#fff;font:400 26px/1 Inter;cursor:pointer}
dialog.rk-dlg .rk-x:hover{background:rgba(255,255,255,.3)}
dialog.rk-dlg .rk-how{margin:16px 24px 0;border:1px solid #F0E7DD;border-radius:16px;background:#FFF9F3;padding:12px 16px}
dialog.rk-dlg .rk-how summary{cursor:pointer;font:800 15px var(--f-title,Sora),Inter;color:#3F2021;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:28px}
dialog.rk-dlg .rk-how summary::-webkit-details-marker{display:none}
dialog.rk-dlg .rk-how summary::after{content:'▾';color:#C8102E;transition:transform .2s}dialog.rk-dlg .rk-how[open] summary::after{transform:rotate(180deg)}
dialog.rk-dlg .rk-how ol{margin:8px 0 6px;padding-left:20px;font:500 14px/1.55 var(--f-ui,Inter);color:#3F2021}
dialog.rk-dlg .rk-how .rk-ex{margin:6px 0 0;font:500 13px/1.5 var(--f-ui,Inter);color:#6B5A55}
dialog.rk-dlg .rk-ln{padding:16px 24px 0}dialog.rk-dlg .rk-ln:empty{display:none}
dialog.rk-dlg .rk-ln .ln{margin:0!important;box-shadow:none!important;border:1px solid #F0E7DD!important}
dialog.rk-dlg .rk-tabs{display:flex;gap:6px;padding:16px 24px 0;flex-wrap:wrap}
dialog.rk-dlg .rk-tabs button{border:0;border-radius:22px;padding:9px 16px;min-height:40px;font:700 13.5px var(--f-ui,Inter);background:#F6EEE8;color:#3F2021;cursor:pointer}
dialog.rk-dlg .rk-tabs button.on{background:#C8102E;color:#fff}
dialog.rk-dlg .rk-tw{overflow-x:auto;margin:12px 24px 0;-webkit-overflow-scrolling:touch}
dialog.rk-dlg table{display:table!important;table-layout:auto!important;width:100%;min-width:860px;border-collapse:separate;border-spacing:0;font:500 13.5px var(--f-ui,Inter)}
dialog.rk-dlg thead{display:table-header-group!important}dialog.rk-dlg tbody{display:table-row-group!important}
dialog.rk-dlg tr{display:table-row!important}
dialog.rk-dlg th,dialog.rk-dlg td{display:table-cell!important;width:auto!important;min-width:0!important;box-shadow:none!important;border-radius:0!important;vertical-align:middle!important;white-space:nowrap}
dialog.rk-dlg th{background:#3F2021!important;color:#fff!important;text-align:left;padding:11px 10px!important;font:700 11px var(--f-ui,Inter)!important;letter-spacing:.06em;text-transform:uppercase}
dialog.rk-dlg th:first-child{border-radius:12px 0 0 12px!important}dialog.rk-dlg th:last-child{border-radius:0 12px 12px 0!important}
dialog.rk-dlg td{background:#fff!important;padding:10px!important;border-bottom:1px solid #F0E7DD;font-variant-numeric:tabular-nums;color:#3F2021}
dialog.rk-dlg td em{display:block;font:600 11px var(--f-ui,Inter);color:#9A8A83;font-style:normal}
dialog.rk-dlg td.rk-n b{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis}
dialog.rk-dlg tr.rk-top td{background:#FFF7F8!important}
dialog.rk-dlg .pos{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#F6EEE8;font-weight:800;color:#3F2021}
dialog.rk-dlg tr.rk-top .pos{background:#C8102E;color:#fff}
dialog.rk-dlg .sc{font:800 17px var(--f-title,Sora),Inter!important;color:#C8102E!important}
dialog.rk-dlg .rk-none{padding:20px 24px}
dialog.rk-dlg .rk-foot{margin:12px 24px 22px;font:500 12px/1.5 var(--f-ui,Inter);color:#7A6A63}
html.dark dialog.rk-dlg{filter:invert(1) hue-rotate(180deg)}html.dark dialog.rk-dlg img,html.dark dialog.rk-dlg .rk-h{filter:invert(1) hue-rotate(180deg)}
@media(max-width:700px){dialog.rk-dlg{width:100%;max-width:100%;margin:auto 0 0;inset:auto 0 0 0;max-height:92vh}
 dialog.rk-dlg .rk{border-radius:22px 22px 0 0;max-height:92vh;padding-bottom:env(safe-area-inset-bottom)}
 dialog.rk-dlg .rk-h{border-radius:22px 22px 0 0;padding:16px 16px}dialog.rk-dlg .rk-h h2{font-size:23px}
 dialog.rk-dlg .rk-ln,dialog.rk-dlg .rk-tabs{padding-left:14px;padding-right:14px}dialog.rk-dlg .rk-how{margin:12px 14px 0}dialog.rk-dlg .rk-tw{margin:12px 14px 0}dialog.rk-dlg .rk-foot{margin:12px 14px 18px}
 dialog.rk-dlg table{min-width:780px;font-size:13px}
 dialog.rk-dlg th:nth-child(-n+2),dialog.rk-dlg td:nth-child(-n+2){position:sticky;z-index:1}dialog.rk-dlg th:first-child,dialog.rk-dlg td:first-child{left:0}dialog.rk-dlg th:nth-child(2),dialog.rk-dlg td:nth-child(2){left:46px}
 dialog.rk-dlg td.rk-n b{max-width:130px}}
/* ===== /Stars ===== */
/* ===== Computer design, Nov 2026 ===== */
@media screen and (min-width:901px){
html.pro body{background:linear-gradient(135deg,#FBF3EA 0%,#F6ECEE 55%,#F3E7DC 100%) fixed!important}
html.pro #app,html.pro .app-body,html.pro main{background:transparent!important}
html.pro header.topbar{display:none!important}
html.pro .app-body{display:grid!important;grid-template-columns:256px minmax(0,1fr)!important;min-height:100vh}
html.pro aside{position:sticky!important;top:0!important;height:100vh!important;width:256px!important;min-width:256px!important;max-width:256px!important;background:rgba(255,255,255,.6)!important;border-right:1px solid rgba(255,255,255,.9)!important;backdrop-filter:blur(20px);padding:22px 14px 16px!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow:auto;box-shadow:none!important;align-items:stretch!important}
html.pro aside #ly-pin,html.pro aside #side-kicker,html.pro aside .sb-app{display:none!important}
html.pro .pro-brand{display:flex;align-items:center;gap:12px;padding:0 8px 22px;cursor:pointer}
html.pro .pro-brand span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#E21D3D,#A50B24);box-shadow:0 10px 20px -8px rgba(200,16,46,.7)}
html.pro .pro-brand img{height:30px;width:auto}
html.pro .pro-brand b{font:800 18px var(--f-title);letter-spacing:-.01em;color:#2A1714;display:block}
html.pro .pro-brand small{font:500 12px var(--f-ui);color:#8A7770}
html.pro aside #sections{display:flex!important;flex-direction:column!important;gap:4px!important;width:100%!important;position:static!important;height:auto!important;padding:0!important;overflow:visible!important}
html.pro aside #sections button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;height:auto!important;min-height:46px!important;padding:11px 14px!important;border-radius:14px!important;border:0!important;background:transparent!important;color:#8A7770!important;font:600 15px var(--f-ui)!important;box-shadow:none!important;text-align:left!important;white-space:normal!important}
html.pro aside #sections button svg{width:20px!important;height:20px!important;color:inherit!important;flex:none}
html.pro aside #sections button span{color:inherit!important;font:inherit!important}
html.pro aside #sections button:hover{background:rgba(255,255,255,.7)!important;color:#2A1714!important}
html.pro aside #sections button.selected{background:linear-gradient(145deg,#E21D3D,#B30E28)!important;color:#fff!important;box-shadow:0 12px 22px -10px rgba(200,16,46,.75)!important}
html.pro aside #sections::before,html.pro aside #sections::after,html.pro aside #sections button::before,html.pro aside #sections button::after{display:none!important}
html.pro aside #ly-dark{margin:auto 0 8px 8px!important;align-self:flex-start}
html.pro aside .profile{margin:0!important;width:100%!important;background:rgba(255,255,255,.82)!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:16px!important;padding:10px!important;box-shadow:0 18px 40px -22px rgba(120,60,40,.35)}
html.pro main{padding:0 30px 40px!important;min-width:0}
html.pro header.top{position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:24px 0 14px!important;margin:0!important;backdrop-filter:none!important}
html.pro header.top h1{font:800 28px var(--f-title)!important;letter-spacing:-.025em!important;color:#2A1714!important}
html.pro header.top .actions button{height:44px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.9)!important;background:rgba(255,255,255,.82)!important;box-shadow:0 18px 40px -22px rgba(120,60,40,.35),0 2px 6px -2px rgba(120,60,40,.08)!important;font-weight:600!important}
html.pro header.top .actions button.primary,html.pro #content button.primary{background:linear-gradient(145deg,#E21D3D,#B30E28)!important;color:#fff!important;border:0!important;border-radius:14px!important}
/* page tabs */
html.pro main>#nav{display:block!important;margin:0 0 16px!important;width:auto!important}
html.pro main>#nav>div:not([hidden]){display:inline-flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:4px!important;padding:4px!important;border-radius:14px!important;background:#F6EEE8!important;max-width:100%}
html.pro main>#nav small{display:none!important}
html.pro main>#nav button{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:auto!important;padding:9px 16px!important;border-radius:11px!important;border:1px solid transparent!important;background:transparent!important;color:#8A7770!important;font:600 14px var(--f-ui)!important;box-shadow:none!important;white-space:nowrap}
html.pro main>#nav button svg{display:none!important}
html.pro main>#nav button::before,html.pro main>#nav button::after{display:none!important}
html.pro main>#nav button.selected,html.pro main>#nav button.active{background:#fff!important;color:#2A1714!important;border-color:rgba(255,255,255,.9)!important;box-shadow:0 8px 18px -10px rgba(120,60,40,.4)!important}
html.pro main>#nav>div.home-nav:not([hidden]){display:none!important}
/* cards */
html.pro #content .card,html.pro #filters,html.pro #content section.card,html.pro #content .cs-card{background:rgba(255,255,255,.82)!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:24px!important;box-shadow:0 18px 40px -22px rgba(120,60,40,.35),0 2px 6px -2px rgba(120,60,40,.08)!important;border-top:1px solid rgba(255,255,255,.9)!important;backdrop-filter:blur(18px)}
html.pro #content .kpis,html.pro #content .grid3,html.pro #content .grid2{gap:16px!important}
html.pro #content .kpis{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
html.pro #content .kpis>.card{border-radius:24px!important}
html.pro #content .card>small:first-child{font:600 13.5px var(--f-ui)!important;letter-spacing:0!important;text-transform:none!important;color:#8A7770!important}
html.pro #content .metric{font-family:var(--f-call),Oswald,sans-serif!important;font-weight:600!important;letter-spacing:0!important;font-size:46px!important;line-height:1.05!important;color:#2A1714!important}
html.pro #content .card.pro-hero{background:linear-gradient(140deg,#E21D3D 0%,#B30E28 55%,#7E0A1D 100%)!important;border:0!important;color:#fff!important;box-shadow:0 26px 48px -22px rgba(200,16,46,.75)!important;position:relative;overflow:hidden}
html.pro #content .card.pro-hero::after{content:'';position:absolute;right:-40px;bottom:-50px;width:210px;height:210px;background:var(--pro-leaf) center/contain no-repeat;opacity:.1;transform:rotate(-14deg);pointer-events:none}
html.pro #content .card.pro-hero *,html.pro #content .card.pro-hero>small:first-child{color:#fff!important}
html.pro #content .card.pro-hero .metric{font-size:76px!important}
html.pro #content .card.pro-hero .delta{background:rgba(255,255,255,.18)!important;border:0!important}
html.pro #content .card.pro-hero svg :is(path,polyline,line){stroke:#fff!important}
html.pro #content .card.pro-hero svg :is(polygon,path[fill]:not([fill=none])){fill:rgba(255,255,255,.18)!important}
html.pro #filters{padding:12px!important;margin-bottom:16px!important}
html.pro .msd-btn,html.pro #filters select{border-radius:12px!important;border-color:#F0E6DE!important;background:#fff!important}
html.pro .msd.per .msd-btn{background:#2A1714!important}
html.pro #content table thead th{background:#F6EEE8!important;border:0!important}
html.pro #content table thead th:first-child{border-radius:12px 0 0 12px}html.pro #content table thead th:last-child{border-radius:0 12px 12px 0}
html.pro #content table td{border-color:#F0E6DE!important}
html.pro #content h3{font-weight:800!important;letter-spacing:-.01em}
html.pro .home-hero{border-radius:24px!important}
}
@media screen and (min-width:901px){
/* v2: more colour (Tims red, coffee, donut gold, cream) + leaf only */
html.pro body{background:linear-gradient(135deg,#FCEFD9 0%,#FBE3E6 50%,#F3E2C6 100%) fixed!important}
html.pro aside{background:linear-gradient(180deg,#4E2B2C 0%,#3F2021 100%)!important;border-right:0!important}
html.pro .pro-brand span{background:none!important;box-shadow:none!important;width:auto;height:auto}
html.pro .pro-brand img{height:52px!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
html.pro .pro-brand b{color:#fff!important}html.pro .pro-brand small{color:#DDCBA4!important}
html.pro aside #sections button{color:#E9DDC7!important}
html.pro aside #sections button svg{color:#DDCBA4!important}
html.pro aside #sections button:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
html.pro aside #sections button.selected{background:linear-gradient(145deg,#E21D3D,#B30E28)!important;color:#fff!important}
html.pro aside #sections button.selected svg{color:#fff!important}
html.pro aside .profile{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.14)!important;box-shadow:none!important;color:#FBF8F3!important}
html.pro aside .profile *{color:#FBF8F3}
html.pro aside .profile a,html.pro aside .profile [id*=profile]{color:#DDCBA4!important}
html.pro aside .profile button{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.2)!important;color:#fff!important}
html.pro aside #ly-dark{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}
html.pro aside #ly-dark *{color:#fff!important}
html.pro main>#nav>div:not([hidden]){background:#3F2021!important}
html.pro main>#nav button{color:#E9DDC7!important}
html.pro main>#nav button.selected,html.pro main>#nav button.active{background:#DDCBA4!important;color:#3F2021!important;border-color:transparent!important}
/* KPI cards: one brand colour each */
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+1){background:linear-gradient(140deg,#5A3334,#3F2021)!important;border:0!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+1) *{color:#FBF8F3!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+1) .delta{background:rgba(255,255,255,.16)!important;border:0!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+1) svg :is(path,polyline,line){stroke:#DDCBA4!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+1) svg :is(polygon,path[fill]:not([fill=none])){fill:rgba(221,203,164,.2)!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+3){background:linear-gradient(140deg,#EAD9B4,#DDCBA4)!important;border:0!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+3) *{color:#3F2021!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n){background:linear-gradient(140deg,#FDEEF0,#F9D5DB)!important;border:0!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n) .metric{color:#A50D26!important}
html.pro #content .kpis>.card:not(.pro-hero):nth-child(4n+2){background:linear-gradient(140deg,#FFFDF8,#F5EEE1)!important}
html.pro #content .grid3>.card:nth-child(1){background:linear-gradient(140deg,#E3F3EA,#C9E8D7)!important;border:0!important}html.pro #content .grid3>.card:nth-child(1) .metric{color:#17613C!important}
html.pro #content .grid3>.card:nth-child(2){background:linear-gradient(140deg,#FBEFD3,#F3DDA6)!important;border:0!important}html.pro #content .grid3>.card:nth-child(2) .metric{color:#7A4E0B!important}
html.pro #content .grid3>.card:nth-child(3){background:linear-gradient(140deg,#FDE3E7,#F7C3CC)!important;border:0!important}html.pro #content .grid3>.card:nth-child(3) .metric{color:#A50D26!important}
html.pro #content table thead th{background:#3F2021!important;color:#F5EEE1!important}
html.pro #content table thead th *{color:#F5EEE1!important}
html.pro #content table tbody tr:nth-child(even) td{background:rgba(245,238,225,.55)}
html.pro #content .section-head h3,html.pro #content section.card>h3{position:relative;padding-left:14px}
html.pro #content .section-head h3::before,html.pro #content section.card>h3::before{content:'';position:absolute;left:0;top:2px;bottom:2px;width:5px;border-radius:3px;background:#C8102E}
html.pro .msd.per .msd-btn{background:linear-gradient(145deg,#E21D3D,#B30E28)!important;border:0!important}
html.pro header.top h1{color:#3F2021!important}
html.pro #filters{background:rgba(255,255,255,.9)!important}
}

@media screen and (min-width:901px){
/* v2b: red side menu, white leaf only */
html.pro aside{background:linear-gradient(180deg,#D2182F 0%,#A50D26 100%)!important;border-right:0!important}
html.pro .pro-brand small{color:#FBE9EC!important}
html.pro aside #sections button{color:#fff!important;opacity:.86}
html.pro aside #sections button svg{color:#fff!important}
html.pro aside #sections button:hover{background:rgba(255,255,255,.14)!important;opacity:1}
html.pro aside #sections button.selected{background:#fff!important;color:#C8102E!important;opacity:1;box-shadow:0 12px 22px -12px rgba(60,0,10,.6)!important}
html.pro aside #sections button.selected svg{color:#C8102E!important}
html.pro aside .profile{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.22)!important}
html.pro aside .profile a,html.pro aside .profile [id*=profile],html.pro aside .profile .profile-link{color:#fff!important}
}

@media screen and (min-width:901px){
/* v2c: side menu like the red KPI card (gradient + big leaf watermark); page background one plain colour */
html.pro body{background:#FBF5EC!important}
html.pro aside{background:linear-gradient(140deg,#E21D3D 0%,#B30E28 55%,#7E0A1D 100%)!important;overflow:hidden!important;isolation:isolate}
html.pro aside::after{content:'';position:absolute;right:-90px;bottom:70px;width:330px;height:330px;background:var(--pro-leaf) center/contain no-repeat;opacity:.1;transform:rotate(-14deg);pointer-events:none;z-index:-1}
html.pro aside>*{position:relative}
}

@media screen and (min-width:901px){
/* ===== batch of 10 Nov 17:21–17:27 ===== */
/* 2 + 3 · brand text and pin */
html.pro .pro-brand{padding-right:0!important}
html.pro .pro-brand b{font:800 22px var(--f-title)!important;letter-spacing:.02em!important;line-height:1.1}
html.pro .pro-brand small{font:500 11.5px/1.25 var(--f-ui)!important;display:block;margin-top:2px}
html.pro .pro-pin{margin-left:auto;width:34px;height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none;padding:0}
html.pro .pro-pin svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html.pro .pro-pin[aria-pressed=true]{background:#fff;color:#C8102E;border-color:#fff}
html.pro.pro-unpin .app-body{grid-template-columns:14px minmax(0,1fr)!important}
html.pro.pro-unpin aside{position:fixed!important;left:0;top:0;z-index:60;transform:translateX(-242px);transition:transform .22s ease;box-shadow:none!important}
html.pro.pro-unpin aside:hover,html.pro.pro-unpin aside:focus-within{transform:none;box-shadow:24px 0 50px -20px rgba(60,0,10,.55)!important}
html.pro.pro-unpin .app-body::before{content:'';display:block}
/* 4 · page tabs like the live red ribbon: red bar, white pill with red text for the current / hovered page */
html.pro main>#nav>div:not([hidden]){background:#C8102E!important;border-radius:16px!important;padding:8px!important;gap:6px!important;box-shadow:0 14px 28px -18px rgba(200,16,46,.8)}
html.pro main>#nav button{color:#fff!important;border-radius:12px!important;padding:10px 16px!important;font-weight:700!important;transition:background .15s,color .15s}
html.pro main>#nav button:hover,html.pro main>#nav button:focus-visible,html.pro main>#nav button.selected,html.pro main>#nav button.active{background:#fff!important;color:#C8102E!important;border-color:transparent!important;box-shadow:0 6px 14px -8px rgba(60,0,10,.5)!important}
/* 5 · number cards: brown, the named ones red with the leaf */
html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown{background:linear-gradient(140deg,#5A3334,#3F2021)!important;border:0!important;animation:none!important}
html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown *,html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown>small:first-child{color:#FBF8F3!important}
html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown .metric{color:#fff!important}
html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown .delta{background:rgba(255,255,255,.16)!important;border:0!important}
html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown svg :is(path,polyline,line){stroke:#DDCBA4!important}
html.pro #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown svg :is(polygon,path[fill]:not([fill=none])){fill:rgba(221,203,164,.2)!important}
html.pro #content .kpis>.card.pro-hero .metric{font-size:46px!important}
/* 6 · tabs always under Leadership Notes */
html.pro main{display:flex!important;flex-direction:column}
html.pro main>#content{display:contents!important}
html.pro main>header.top{order:0}
html.pro main>#filters{order:1}
html.pro main>#content>#ln{order:2}
html.pro main>#nav{order:3;margin:0 0 16px!important;align-self:flex-start;max-width:100%}
html.pro main>*{order:4}
html.pro main>#content>*{order:4}
html.pro main>#content>#ln{order:2!important}
html.pro main>header.top{order:0!important}html.pro main>#filters{order:1!important}html.pro main>#nav{order:3!important}
html.pro main>#content>*{margin-bottom:16px}
}

@media screen and (min-width:901px){
html.pro main>#content>*:has(~ #ln){order:1!important}
html.pro .pro-brand small{font-size:10.5px!important}
}

@media screen and (min-width:901px){
html.pro.pro-unpin .app-body>aside{position:fixed!important;left:0!important;top:0!important;z-index:60!important;transform:translateX(-242px)!important;transition:transform .22s ease!important}
html.pro.pro-unpin .app-body>aside:hover,html.pro.pro-unpin .app-body>aside:focus-within{transform:translateX(0)!important;box-shadow:24px 0 50px -20px rgba(60,0,10,.55)!important}
}


@media screen and (min-width:901px){
/* 17:38 — B: no pattern, no motion; the portal's normal background and plain white boxes */
html.pro body{background:#F8F4EE!important}
html.pro #content .card:not(.pro-hero):not(.pro-brown),html.pro #filters,html.pro #content section.card,html.pro #content .cs-card{background:#fff!important;animation:none!important;backdrop-filter:none!important;border:1px solid #ECE2D6!important;box-shadow:0 4px 24px rgba(43,26,20,.045)!important}
/* A: not pinned = a red rail of icons; it opens to the full menu when the pointer is on it */
html.pro.pro-unpin .app-body{grid-template-columns:76px minmax(0,1fr)!important}
html.pro.pro-unpin .app-body>aside{position:fixed!important;left:0!important;top:0!important;z-index:60!important;transform:none!important;width:76px!important;min-width:76px!important;max-width:76px!important;overflow:hidden!important;transition:width .2s ease,max-width .2s ease,min-width .2s ease!important;box-shadow:none!important}
html.pro.pro-unpin .app-body>aside>*{width:228px!important;min-width:228px!important;flex:none}
html.pro.pro-unpin .app-body>aside:hover,html.pro.pro-unpin .app-body>aside:focus-within{width:256px!important;min-width:256px!important;max-width:256px!important;transform:none!important;box-shadow:24px 0 50px -20px rgba(60,0,10,.55)!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-brand>div,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-pin,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #ly-dark,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #logout,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .profile strong,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .profile small,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .profile-link{visibility:hidden!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections button{width:48px!important;min-width:48px!important;padding:11px 14px!important;overflow:hidden!important;white-space:nowrap!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections button span{visibility:hidden}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .profile{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within)::after{opacity:0}
/* C: number cards smaller */
html.pro #content .kpis{gap:12px!important}
html.pro #content .kpis>.card{padding:14px 18px 14px!important;border-radius:18px!important;min-height:0!important}
html.pro #content .kpis>.card .metric,html.pro #content .kpis>.card.pro-hero .metric{font-size:32px!important;margin:6px 0 4px!important;line-height:1.1!important}
html.pro #content .kpis>.card>small:first-child{font-size:12px!important}
html.pro #content .kpis>.card svg{max-height:34px}
html.pro #content .kpis>.card.pro-hero::after{width:130px!important;height:130px!important;right:-26px!important;bottom:-34px!important}
}

@media screen and (min-width:901px){
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections{align-items:flex-start!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections button{align-self:flex-start!important;margin-left:0!important;margin-right:0!important;justify-content:flex-start!important}
}

@media screen and (min-width:901px){
/* 17:42 — closed rail: only the leaf and the section icons, all centred; no profile letter */
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within){padding-left:0!important;padding-right:0!important;align-items:center!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within)>*{width:76px!important;min-width:76px!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-brand{justify-content:center!important;padding:0 0 22px!important;gap:0!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-brand>div,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-pin{display:none!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections{align-items:center!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections button{align-self:center!important;justify-content:center!important;width:48px!important;min-width:48px!important;height:48px!important;padding:0!important;gap:0!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections button span{display:none!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .profile,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #ly-dark{display:none!important}
}
@media screen and (min-width:901px){/* C · floating pill, only as tall as the icons */
html.pro.pro-unpin .app-body{grid-template-columns:100px minmax(0,1fr)!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within){left:14px!important;top:50%!important;transform:translateY(-50%)!important;height:auto!important;padding-top:20px!important;padding-bottom:16px!important;border-radius:38px!important;box-shadow:0 22px 44px -20px rgba(126,10,29,.7)!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within)::after{display:none}}@media screen and (min-width:901px){/* B · the pill grows into a floating card, only as tall as its content */
html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within){left:14px!important;top:50%!important;transform:translateY(-50%)!important;height:auto!important;max-height:calc(100vh - 28px)!important;border-radius:30px!important;padding:20px 14px 14px!important;box-shadow:0 30px 60px -24px rgba(126,10,29,.75)!important}
html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within) #ly-dark{margin-top:18px!important}
html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within)::after{bottom:-40px!important;width:260px!important;height:260px!important}}
@media screen and (min-width:901px){
/* 17:56 — sub-page tabs centred on the page, on every board */
html.pro main>#nav{align-self:center!important;text-align:center;max-width:100%}
html.pro main>#nav>div:not([hidden]){justify-content:center!important}
/* 17:57 — rounder ends, like the closed side pill */
html.pro main>#nav>div:not([hidden]){border-radius:34px!important;padding:8px 10px!important}
html.pro main>#nav button{border-radius:26px!important;padding:10px 18px!important}
}

@media screen and (min-width:901px){
/* ===== second batch, 18:00–18:09 ===== */
/* 1 · closed pill: taller, small gap between the leaf and the icons */
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within){padding-top:30px!important;padding-bottom:30px!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-brand{padding-bottom:16px!important;margin-bottom:16px!important;position:relative}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) .pro-brand::after{content:'';position:absolute;left:50%;bottom:0;width:26px;height:2px;margin-left:-13px;border-radius:2px;background:rgba(255,255,255,.4)}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections{gap:10px!important}
/* 2 · brand: only "Operations Management System", one line */
html.pro .pro-brand b{display:none!important}
html.pro .pro-brand{gap:10px!important}
html.pro .pro-brand small{font:700 12px/1.2 var(--f-ui)!important;color:#fff!important;white-space:nowrap!important;margin:0!important;letter-spacing:0}
html.pro .pro-brand img{height:44px!important}
html.pro .pro-pin{width:30px!important;height:30px!important}
html.pro aside{width:288px!important;min-width:288px!important;max-width:288px!important}
html.pro .app-body{grid-template-columns:288px minmax(0,1fr)!important}
html.pro.pro-unpin .app-body{grid-template-columns:100px minmax(0,1fr)!important}
html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within){width:76px!important;min-width:76px!important;max-width:76px!important}
html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within){width:288px!important;min-width:288px!important;max-width:288px!important}
html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within)>*{width:260px!important;min-width:260px!important}
/* 3 · top action buttons all red */
html.pro header.top .actions button,html.pro .pro-greet .actions button{background:linear-gradient(145deg,#E21D3D,#B30E28)!important;color:#fff!important;border:0!important;box-shadow:0 12px 22px -14px rgba(200,16,46,.8)!important}
html.pro header.top .actions button *{color:#fff!important}
/* 4 · profile: no boxes inside boxes */
html.pro aside .profile{background:none!important;border:0!important;border-top:1px solid rgba(255,255,255,.25)!important;border-radius:0!important;box-shadow:none!important;padding:14px 4px 0!important;margin-top:12px!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important}
html.pro aside .profile .profile-open{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;flex:1;min-width:0;border-radius:0!important}
html.pro aside .profile .profile-av{grid-row:1/3;width:38px!important;height:38px!important}
html.pro aside .profile strong{font:700 14px/1.2 var(--f-ui)!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.pro aside .profile small{font:500 12px/1.2 var(--f-ui)!important;color:#FBE9EC!important}
html.pro aside .profile .profile-link{display:none!important}
html.pro aside .profile #logout{background:none!important;border:1px solid rgba(255,255,255,.4)!important;border-radius:10px!important;box-shadow:none!important;color:#fff!important;font:600 12.5px var(--f-ui)!important;padding:7px 10px!important;margin:0!important;width:auto!important;white-space:nowrap;flex:none}
html.pro aside #ly-dark{background:none!important;border:1px solid rgba(255,255,255,.3)!important;margin:auto 0 0!important;width:100%!important;border-radius:12px!important}
}

@media screen and (min-width:901px){
html.pro .pro-brand{gap:8px!important;padding-left:4px!important;padding-right:0!important}
html.pro .pro-brand img{height:40px!important}
html.pro .pro-brand>div{flex:1;min-width:0}
html.pro .pro-brand small{font-size:11.5px!important}
html.pro .pro-pin{flex:none!important;margin-left:4px!important}
html.pro.pro-home #content .home-hero{margin-top:0!important}
html.pro.pro-home main>header.top{margin-bottom:18px!important;flex:none}
}

@media screen and (min-width:901px){html.pro.pro-home main>header.top{top:0!important;left:0!important}}

@media screen and (min-width:901px){html.pro.pro-home main>#nav{display:none!important}}

@media screen and (min-width:901px){
/* 18:32 — Overview top back to how it was: plain greeting with the quote, brown GCC Overview block with the leaf; buttons as before (white, PDF red) */
html.pro.pro-home main>header.top .actions button:not(.primary):not(#pdf){background:#fff!important;color:#3F2021!important;border:1px solid #ECE2D6!important;box-shadow:none!important}
html.pro.pro-home main>header.top .actions button:not(.primary):not(#pdf) *{color:#3F2021!important}
html.pro.pro-home main>header.top{margin-bottom:0!important}
}

/* 11 Nov — sign-in: the red moving background continues across the whole page; the floating cards on the side stay */
@media screen and (min-width:701px){
#login.la:not([hidden]){position:relative;overflow:hidden;background:#C8102E!important;isolation:isolate}
#login.la:not([hidden])::before{content:'';position:absolute;inset:-300px;z-index:-2;background:#C8102E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg transform='translate%2830 30%29 rotate%28-12 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28150 20%29 rotate%2810 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28240 70%29 rotate%28-6 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%2870 140%29 rotate%288 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm0 6.3a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28190 150%29 rotate%28-10 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M4.6 8h14.8l-1.1 12.6c-.1.8-.7 1.4-1.5 1.4H7.2c-.8 0-1.4-.6-1.5-1.4z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M8.6 7V6a3.4 3.4 0 0 1 6.8 0v1h-1.8V6a1.6 1.6 0 0 0-3.2 0v1z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%2820 240%29 rotate%286 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M3.5 7.5h12.6v8.2a5 5 0 0 1-5 5H8.5a5 5 0 0 1-5-5z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M17.4 9h.9a3.4 3.4 0 0 1 0 6.8h-1.3v-1.9h1.3a1.5 1.5 0 0 0 0-3h-.9z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M7 2.6c.9.9.9 2 0 2.9M10.6 2.6c.9.9.9 2 0 2.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28120 240%29 rotate%2814 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%28250 240%29 rotate%28-14 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28260 150%29 rotate%280 11.0 11.0%29 scale%280.9166666666666666%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") 0 0/300px 300px;animation:lg-drift 60s linear infinite;pointer-events:none}
#login.la:not([hidden])::after{content:'';position:absolute;inset:0;z-index:-1;background:#C8102E;opacity:.9;pointer-events:none}
@keyframes lg-drift{to{transform:translate(300px,300px)}}
#login .la-vis{background:transparent!important;overflow:visible!important}
#login .la-vis::before{display:none!important}
#login .la-side{background:transparent!important}
#login .la-card{border:0!important;box-shadow:0 30px 70px -26px rgba(60,0,10,.75)!important}
}
@media (prefers-reduced-motion:reduce){#login.la::before{animation:none!important}}

@media screen and (min-width:701px){
/* 11 Nov 15:17 — sign-in: nothing but the red moving background, the brand at the top left and the white box in the middle */
#login.la:not([hidden]){display:grid!important;grid-template-columns:1fr!important;place-items:center!important;min-height:100vh}
#login .la-stage,#login .la-hello{display:none!important}
#login .la-vis{position:absolute!important;left:0;top:0;padding:40px 48px!important;min-height:0!important;display:block!important;width:auto!important}
#login .la-side{padding:30px!important;width:100%;display:grid!important;place-items:center!important}
#login .la-card{width:min(440px,100%)!important;padding:38px 36px!important}
#login .la-hi{font:800 34px/1.1 var(--f-title)!important;letter-spacing:-.025em!important;color:#3F2021!important;transform:none!important;margin:0 0 8px!important}
}

@media screen and (min-width:701px){
/* 15:18 — the big leaf stays, turning slowly behind the box */
#login .la-leafbg{display:block!important;position:fixed!important;right:-140px!important;bottom:-190px!important;width:700px!important;opacity:.1!important;z-index:0}
#login .la-side{position:relative;z-index:2}
#login .la-brand{position:relative;z-index:2}
}

@media screen and (min-width:701px){
/* 11 Nov 15:20 — sign-in extras: leaf badge on the box, entrance, quote of the day, pointer depth, six code boxes */
#login .la-card{position:relative;padding-top:64px!important;overflow:visible!important}
#login .lg-otp input#otp::placeholder{color:transparent}
#login .lg-badge{position:absolute;left:50%;top:-46px;width:92px;height:92px;margin-left:-46px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 16px 30px -14px rgba(60,0,10,.6)}
#login .lg-badge img{width:58px;height:auto}
#login .la-hi,#login .la-lead{text-align:center}
#login .la-side{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:22px}
#login .lg-quote{max-width:440px;margin:0;text-align:center;color:#fff;font:italic 500 15.5px/1.5 var(--f-ui);opacity:.92}
#login .lg-quote::before{content:'“';font:700 22px/0 var(--f-title);margin-right:6px;vertical-align:-4px}
#login.la::before{translate:calc(var(--mx,0)*-14px) calc(var(--my,0)*-14px)}
#login .la-leafbg{translate:calc(var(--mx,0)*26px) calc(var(--my,0)*26px);transition:translate .5s ease-out}
/* code as six boxes: the real field sits on top, see-through */
#login .lg-otp{position:relative;height:60px;margin-top:2px}
#login .lg-otp .bx{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,1fr);gap:9px;pointer-events:none}
#login .lg-otp .bx i{border:1.5px solid #E6DAD0;border-radius:14px;background:#FCFAF7;display:grid;place-items:center;font:800 24px var(--f-title);font-style:normal;color:#3F2021;transition:border-color .12s,box-shadow .12s}
#login .lg-otp.f .bx i.cur{border-color:#C8102E;background:#fff;box-shadow:0 0 0 4px rgba(200,16,46,.12)}
#login .lg-otp .bx i.on{border-color:#C8102E;background:#fff}
#login .lg-otp input#otp{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text;margin:0;padding:0;border:0}
}
@media screen and (min-width:701px) and (prefers-reduced-motion:no-preference){
#login .la-brand{animation:lg-in .5s ease both}
#login .la-card{animation:lg-rise .6s cubic-bezier(.2,.8,.2,1) .15s both}
#login .lg-badge{animation:lg-pop .5s cubic-bezier(.3,1.5,.5,1) .5s both}
#login .lg-quote{animation:lg-in .6s ease .7s both}
@keyframes lg-in{from{opacity:0}}
@keyframes lg-rise{from{opacity:0;transform:translateY(22px)}}
@keyframes lg-pop{from{opacity:0;transform:scale(.6)}}
}

/* pieces that only show in the computer design */
.pro-brand{display:none}
.lg-badge,.lg-quote,.lg-otp .bx{display:none}
@media screen and (min-width:901px){html.pro .pro-brand{display:flex}}
@media screen and (min-width:701px){#login .lg-badge{display:grid}#login .lg-quote{display:block}#login .lg-otp .bx{display:grid}}

@media screen and (min-width:901px){html.pro aside #sections button.admin-tab{margin-left:0!important;margin-right:0!important}}
@media screen and (min-width:901px){html.pro #content .home-card>header{flex-wrap:wrap!important;row-gap:8px}html.pro #content .home-card>header>*{min-width:0}}
@media screen and (min-width:701px) and (max-width:900px){main>.top{margin:-24px -24px 18px!important;padding-left:24px!important;padding-right:24px!important}}
@media screen and (min-width:901px){html.pro.dark body{background:#0f0c0b!important}
html.pro.dark #app>.app-body>aside{filter:none!important}html.pro.dark #app>.app-body>aside img{filter:none!important}
html.pro.dark main>#nav,html.pro.dark #content .kpis>.card.pro-hero,html.pro.dark #content .kpis>.card.pro-brown{filter:invert(1) hue-rotate(180deg)}
html.pro.dark #content .kpis>.card.pro-hero img,html.pro.dark #content .kpis>.card.pro-brown img{filter:none!important}}
@media screen and (min-width:901px){html.pro.pro-narrow .pro-pin{display:none!important}}
@media screen and (min-width:901px){html.pro .app-body>main{width:100%!important;margin:0!important;justify-self:center}}
.table-wrap.cs-tw{position:relative}
@media screen and (min-width:901px){html.pro body main>#nav [hidden],html.pro body main>#nav button[hidden],html.pro body aside #sections [hidden]{display:none!important}}
/* ===== /Computer design ===== */
/* ===== Phone design, Nov 2026 (900px and narrower): the computer's brown / red number cards, beige page, glass tab bar, new icons ===== */
@media screen and (max-width:900px){
html body #content .kpis,html body #content .grid3,html body #content .grid2{gap:16px!important}
html body #content .kpis{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
html body #content .kpis>.card{border-radius:24px!important}
html body #content .card.pro-hero{background:linear-gradient(140deg,#E21D3D 0%,#B30E28 55%,#7E0A1D 100%)!important;border:0!important;color:#fff!important;box-shadow:0 26px 48px -22px rgba(200,16,46,.75)!important;position:relative;overflow:hidden}
html body #content .card.pro-hero::after{content:'';position:absolute;right:-40px;bottom:-50px;width:210px;height:210px;background:var(--pro-leaf) center/contain no-repeat;opacity:.1;transform:rotate(-14deg);pointer-events:none}
html body #content .card.pro-hero *,html body #content .card.pro-hero>small:first-child{color:#fff!important}
html body #content .card.pro-hero .metric{font-size:76px!important}
html body #content .card.pro-hero .delta{background:rgba(255,255,255,.18)!important;border:0!important}
html body #content .card.pro-hero svg :is(path,polyline,line){stroke:#fff!important}
html body #content .card.pro-hero svg :is(polygon,path[fill]:not([fill=none])){fill:rgba(255,255,255,.18)!important}
html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown{background:linear-gradient(140deg,#5A3334,#3F2021)!important;border:0!important;animation:none!important}
html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown *,html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown>small:first-child{color:#FBF8F3!important}
html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown .metric{color:#fff!important}
html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown .delta{background:rgba(255,255,255,.16)!important;border:0!important}
html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown svg :is(path,polyline,line){stroke:#DDCBA4!important}
html body #content .kpis>.card.pro-brown.pro-brown.pro-brown.pro-brown svg :is(polygon,path[fill]:not([fill=none])){fill:rgba(221,203,164,.2)!important}
html body #content .kpis>.card.pro-hero .metric{font-size:46px!important}
html body #content .card:not(.pro-hero):not(.pro-brown),html body #filters,html body #content section.card,html body #content .cs-card{background:#fff!important;animation:none!important;backdrop-filter:none!important;border:1px solid #ECE2D6!important;box-shadow:0 4px 24px rgba(43,26,20,.045)!important}
html body #content .kpis{gap:12px!important}
html body #content .kpis>.card{padding:14px 18px 14px!important;border-radius:18px!important;min-height:0!important}
html body #content .kpis>.card .metric,html body #content .kpis>.card.pro-hero .metric{font-size:32px!important;margin:6px 0 4px!important;line-height:1.1!important}
html body #content .kpis>.card>small:first-child{font-size:12px!important}
html body #content .kpis>.card svg{max-height:34px}
html body #content .kpis>.card.pro-hero::after{width:130px!important;height:130px!important;right:-26px!important;bottom:-34px!important}
html body #content .kpis>.card.pro-hero,html body #content .kpis>.card.pro-brown{border-radius:18px!important}
html body #content .kpis{gap:10px!important}
html body{background:#F8F4EE!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs:not([hidden]){background:rgba(255,255,255,.22)!important;-webkit-backdrop-filter:blur(14px) saturate(1.6)!important;backdrop-filter:blur(14px) saturate(1.6)!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 8px 24px rgba(63,32,33,.12)!important;padding:9px 6px 8px!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button{color:#5B4744!important;gap:4px!important;font-size:10.5px!important;font-weight:600!important;position:relative}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button i{background:none!important;box-shadow:none!important;width:auto!important;height:auto!important;padding:0!important;color:inherit!important;display:grid;place-items:center}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button svg{width:25px!important;height:25px!important;background:none!important;padding:0!important;border-radius:0!important;box-shadow:none!important;transition:transform .2s}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on{color:#C8102E!important;font-weight:800!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg{transform:translateY(-1px) scale(1.08)}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg :is(path,rect,circle){stroke:#C8102E!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg .f{fill:#C8102E!important;stroke:#C8102E!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg .c{stroke:#fff!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on::after{content:'';position:absolute;bottom:-5px;left:50%;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#C8102E}
html.dark body{background:#0f0c0b!important}
html body aside #ly-pin.ly-pin{display:none!important}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs:not([hidden]){filter:none!important;background:rgba(28,17,17,.5)!important;border-color:rgba(255,255,255,.14)!important;box-shadow:0 8px 24px rgba(0,0,0,.4)!important}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button:not(.on){color:#EADCCB!important}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on{color:#FF5A72!important}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on::after{background:#FF5A72}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg :is(path,rect,circle){stroke:#FF5A72!important}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg .f{fill:#FF5A72!important;stroke:#FF5A72!important}
html.dark body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.on svg .c{stroke:#1c1111!important}
html.dark body #content .kpis>.card.pro-hero,html.dark body #content .kpis>.card.pro-brown{filter:invert(1) hue-rotate(180deg)}
html.dark body #content .kpis>.card.pro-hero img,html.dark body #content .kpis>.card.pro-brown img{filter:none!important}
}
/* Phone, Nov 2026 (Ahmed): no side menu; More tab; one red page button; one row of action buttons */
#m-acts,#m-pdrop,#m-greet,#m-sel,#ly-tabs .ly-more{display:none}
@media screen and (max-width:700px){
html body #m-menu,html body #m-more{display:none!important}
html body #m-greet.m-greet{display:block;margin:2px 2px 16px}
html body #m-sel.m-sel{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 14px;border-radius:14px;background:#FFF9F3;border:1px solid #F0E7DD}
html body #m-sel small{display:block;font:700 10.5px var(--f-ui,Inter);letter-spacing:.12em;text-transform:uppercase;color:#9A8A83}
html body #m-sel b{display:block;font:700 14px/1.35 var(--f-ui,Inter);color:#3F2021}
html body #m-sel button{flex:none;border:0;border-radius:18px;padding:8px 12px;min-height:38px;background:#C8102E;color:#fff;font:700 12.5px var(--f-ui,Inter);cursor:pointer}
html body #m-greet small{display:block;font:700 11px var(--f-ui,Inter);letter-spacing:.14em;color:#C8102E}
html body #m-greet h2{margin:6px 0 6px;font:800 28px/1.12 var(--f-title,Sora),Inter;color:#3F2021;letter-spacing:-.02em;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html body #m-greet h2 .hi-mug svg{width:26px;height:26px}
html body #m-greet p.q{margin:0;font:500 15px/1.45 var(--f-ui,Inter);color:#6B5A55;font-style:italic;cursor:pointer}
html body.m-lock .chat-fab,html body.m-lock #chat-fab{visibility:hidden!important}
html body.m-drawer aside{display:none!important}
html body #m-acts.m-acts{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;padding:2px 2px 4px;-webkit-overflow-scrolling:touch}
html body #m-acts.m-acts::-webkit-scrollbar{display:none}
html body #m-acts.m-acts button{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:42px;border:1px solid #EADFD0;border-radius:22px;padding:9px 15px;background:#fff;color:#3F2021;font:700 13.5px var(--f-ui,Inter);cursor:pointer;transition:transform .12s}
html body #m-acts.m-acts button:active{transform:scale(.96)}
html body #m-acts.m-acts button.red{background:#C8102E;border-color:#C8102E;color:#fff;box-shadow:0 8px 16px -10px rgba(200,16,46,.8)}
html body #m-acts.m-acts svg{width:17px;height:17px;flex:none}
html body #m-pdrop.m-pdrop{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0 0 14px;border:0;background:#C8102E;color:#fff;border-radius:20px;padding:11px 18px;min-height:56px;text-align:left;font:inherit;cursor:pointer;box-shadow:0 14px 28px -18px rgba(200,16,46,.8)}
html body #m-pdrop.m-pdrop span{display:block;min-width:0}
html body #m-pdrop.m-pdrop small{display:block;font:700 10.5px var(--f-ui,Inter);letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.82)}
html body #m-pdrop.m-pdrop b{display:block;font:800 16px var(--f-title,Sora),Inter;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #m-pdrop.m-pdrop svg{width:22px;height:22px;flex:none}
html body #m-pdrop.m-pdrop:active{transform:scale(.99)}
html.dark body #m-pdrop.m-pdrop,html.dark body #m-acts.m-acts button.red{filter:invert(1) hue-rotate(180deg)}
html body #ly-tabs .ly-more{display:flex}
html body #ly-tabs .ly-more svg circle{fill:currentColor;stroke:none!important}
html body #ly-tabs.ly-tabs.ly-tabs.ly-tabs button.ly-more.on svg circle{fill:#C8102E!important}
html body #m-sheet .m-row.m-pg{font-weight:600}html body #m-sheet .m-row.m-pg span{font:700 12px var(--f-ui,Inter);color:#9A8A83}
html body #m-sheet .m-row.m-pg.on{color:#C8102E;font-weight:800;background:#FBEFF1}html body #m-sheet .m-row.m-pg em{margin-left:auto;font-style:normal;color:#C8102E}
html body #m-sheet.mo-sheet{padding-top:8px}
html body #m-sheet .mo-me{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;padding:8px 6px 14px;border-bottom:1px solid #F0E7DD;text-align:left;font:inherit;cursor:pointer}
html body #m-sheet .mo-me i{width:46px;height:46px;border-radius:50%;background:#C8102E;color:#fff;display:grid;place-items:center;font:800 17px var(--f-title,Sora),Inter;font-style:normal;overflow:hidden;flex:none}
html body #m-sheet .mo-me i img{width:100%;height:100%;object-fit:cover}
html body #m-sheet .mo-me b{display:block;font:800 17px var(--f-title,Sora),Inter;color:#3F2021}html body #m-sheet .mo-me small{display:block;color:#8A7770;font:600 13px var(--f-ui,Inter)}
html body #m-sheet .mo-me em,html body #m-sheet .mo-row em{margin-left:auto;font-style:normal;color:#B3A49C;font-size:18px}
html body #m-sheet .mo-row{display:flex;align-items:center;gap:14px;width:100%;border:0;background:transparent;padding:14px 6px;min-height:52px;border-bottom:1px solid #F5EEE6;font:600 16px var(--f-ui,Inter);color:#3F2021;text-align:left;cursor:pointer}
html body #m-sheet .mo-row svg{width:22px;height:22px;color:#C8102E;flex:none}
html body #m-sheet .mo-sw{display:inline-block;width:46px;height:28px;border-radius:14px;background:#E3D8CC;position:relative;transition:background .2s;vertical-align:middle}
html body #m-sheet .mo-sw::after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
html body #m-sheet .mo-sw.on{background:#C8102E}html body #m-sheet .mo-sw.on::after{transform:translateX(18px)}
html body #m-sheet .mo-apps{display:flex;gap:10px;margin-top:14px}
html body #m-sheet .mo-apps button{flex:1;min-height:46px;border:1px solid #EADFD0;border-radius:14px;background:#fff;font:700 14px var(--f-ui,Inter);color:#3F2021;cursor:pointer}
html body #m-sheet .mo-out{display:block;width:100%;margin-top:12px;min-height:48px;border:0;border-radius:14px;background:#FBEFF1;color:#C8102E;font:800 15px var(--f-ui,Inter);cursor:pointer}
}
/* ===== /Phone design ===== */
/* ===== Phone sign-in, Nov 2026 (Ahmed): the computer's sign-in page at phone size ===== */
@media screen and (max-width:700px){
#login.la:not([hidden]){position:relative;overflow:hidden;background:#C8102E!important;isolation:isolate}
#login.la:not([hidden])::before{content:'';position:absolute;inset:-300px;z-index:-2;background:#C8102E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg transform='translate%2830 30%29 rotate%28-12 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28150 20%29 rotate%2810 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28240 70%29 rotate%28-6 17.0 17.0%29 scale%281.4166666666666667%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%2870 140%29 rotate%288 15.0 15.0%29 scale%281.25%29'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm0 6.3a3.2 3.2 0 1 0 0 6.4 3.2 3.2 0 0 0 0-6.4z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28190 150%29 rotate%28-10 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M4.6 8h14.8l-1.1 12.6c-.1.8-.7 1.4-1.5 1.4H7.2c-.8 0-1.4-.6-1.5-1.4z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M8.6 7V6a3.4 3.4 0 0 1 6.8 0v1h-1.8V6a1.6 1.6 0 0 0-3.2 0v1z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%2820 240%29 rotate%286 16.0 16.0%29 scale%281.3333333333333333%29'%3E%3Cpath d='M3.5 7.5h12.6v8.2a5 5 0 0 1-5 5H8.5a5 5 0 0 1-5-5z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M17.4 9h.9a3.4 3.4 0 0 1 0 6.8h-1.3v-1.9h1.3a1.5 1.5 0 0 0 0-3h-.9z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M7 2.6c.9.9.9 2 0 2.9M10.6 2.6c.9.9.9 2 0 2.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28120 240%29 rotate%2814 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M11.81 22.40C11.23 21.82 10.12 21.51 9.23 21.67C9.09 21.70 8.91 21.71 8.83 21.71L8.67 21.70L8.65 21.06L8.64 20.41L7.16 20.41C5.61 20.40 5.63 20.40 5.63 20.27C5.63 20.24 5.98 19.88 6.45 19.41C6.98 18.89 7.27 18.59 7.26 18.56C7.24 18.52 6.93 18.28 5.74 17.38C5.12 16.91 3.88 15.97 3.84 15.94C3.77 15.88 3.19 15.44 2.92 15.23C2.77 15.13 2.64 15.02 2.62 15.00C2.60 14.98 2.57 14.96 2.56 14.96C2.55 14.96 2.51 14.93 2.47 14.90C2.44 14.87 2.27 14.74 2.10 14.61C1.26 13.98 1.15 13.89 1.14 13.85C1.12 13.79 1.17 13.70 1.22 13.70C1.30 13.70 1.71 13.49 1.89 13.36C2.65 12.80 2.90 12.02 2.68 10.91C2.65 10.74 2.51 10.31 2.46 10.23C2.45 10.20 2.43 10.16 2.43 10.14C2.43 10.13 2.36 9.96 2.27 9.77C2.09 9.41 2.08 9.36 2.15 9.33C2.24 9.29 2.29 9.31 2.55 9.43C2.85 9.58 3.24 9.73 3.30 9.73C3.33 9.73 3.36 9.74 3.38 9.76C3.42 9.79 3.60 9.83 4.08 9.91C4.59 9.99 5.03 9.93 5.47 9.71C5.89 9.50 6.30 9.01 6.50 8.48C6.58 8.28 6.68 8.28 6.82 8.48C6.87 8.55 6.94 8.64 6.97 8.67C7.00 8.71 7.09 8.83 7.17 8.94C7.30 9.11 7.56 9.45 7.63 9.53C7.64 9.55 7.83 9.80 8.05 10.09C8.32 10.46 8.46 10.62 8.49 10.61C8.54 10.59 8.53 10.28 8.47 9.62C8.45 9.44 8.43 9.06 8.41 8.77C8.40 8.48 8.37 8.07 8.35 7.85C8.34 7.62 8.31 7.25 8.29 7.02C8.28 6.79 8.25 6.43 8.23 6.22C8.22 6.00 8.19 5.57 8.17 5.24C8.16 4.92 8.13 4.60 8.12 4.53C8.07 4.32 8.08 4.00 8.13 3.96C8.17 3.92 8.30 3.95 8.47 4.04C8.51 4.06 8.57 4.08 8.60 4.08C8.63 4.08 8.66 4.09 8.67 4.11C8.67 4.12 8.73 4.14 8.79 4.15C8.86 4.16 9.01 4.18 9.14 4.20C9.53 4.26 10.02 4.14 10.45 3.86C10.89 3.57 11.43 2.83 11.70 2.12C11.71 2.09 11.74 2.01 11.77 1.95C11.80 1.89 11.82 1.82 11.82 1.80C11.82 1.75 11.93 1.52 11.97 1.49C12.03 1.45 12.11 1.56 12.19 1.79C12.29 2.06 12.31 2.13 12.50 2.52C12.84 3.24 13.35 3.80 13.87 4.03C14.08 4.12 14.10 4.13 14.29 4.17C14.70 4.27 15.41 4.16 15.76 3.94C15.81 3.91 15.83 3.91 15.88 3.96C15.95 4.03 15.95 4.08 15.90 4.45C15.89 4.52 15.87 4.80 15.85 5.08C15.82 5.69 15.78 6.35 15.74 6.86C15.69 7.38 15.65 8.04 15.62 8.64C15.60 8.92 15.58 9.22 15.56 9.31C15.54 9.40 15.53 9.64 15.53 9.83C15.53 10.03 15.51 10.28 15.50 10.40C15.48 10.51 15.47 10.61 15.48 10.62C15.52 10.66 15.63 10.55 15.86 10.24C16.28 9.68 16.63 9.21 16.69 9.14C16.72 9.10 16.87 8.92 17.01 8.72C17.39 8.21 17.39 8.21 17.58 8.61C17.84 9.17 18.13 9.48 18.59 9.72C18.68 9.78 18.79 9.82 18.81 9.82C18.84 9.82 18.88 9.83 18.89 9.84C18.91 9.86 19.06 9.89 19.24 9.92C19.56 9.97 19.99 9.94 20.32 9.85C20.37 9.83 20.50 9.80 20.59 9.77C20.69 9.74 20.81 9.70 20.85 9.68C20.90 9.66 20.95 9.64 20.98 9.64C21.01 9.64 21.05 9.63 21.08 9.61C21.11 9.59 21.19 9.56 21.25 9.53C21.32 9.50 21.46 9.44 21.56 9.39C21.76 9.30 21.88 9.30 21.90 9.39C21.90 9.42 21.84 9.58 21.75 9.76C21.67 9.93 21.60 10.09 21.60 10.11C21.60 10.12 21.58 10.18 21.55 10.23C21.53 10.27 21.51 10.33 21.51 10.36C21.51 10.38 21.50 10.42 21.48 10.43C21.46 10.45 21.40 10.65 21.36 10.85C21.34 10.91 21.32 11.03 21.30 11.10C21.25 11.31 21.26 12.02 21.31 12.16C21.34 12.23 21.36 12.31 21.36 12.34C21.36 12.38 21.38 12.43 21.40 12.46C21.43 12.49 21.45 12.54 21.45 12.56C21.45 12.64 21.67 12.95 21.87 13.14C22.07 13.34 22.35 13.53 22.64 13.65C22.98 13.79 22.97 13.80 22.45 14.20C22.22 14.38 22.02 14.53 22.01 14.54C22.01 14.55 21.84 14.67 21.65 14.82C21.45 14.96 21.27 15.10 21.24 15.12C21.21 15.15 20.85 15.43 20.43 15.74C20.01 16.06 19.56 16.41 19.42 16.51C19.28 16.62 19.14 16.73 19.10 16.75C19.07 16.78 18.87 16.93 18.67 17.08C18.46 17.24 18.15 17.47 17.98 17.60C17.81 17.73 17.66 17.85 17.65 17.86C17.64 17.87 17.48 17.99 17.28 18.14C16.91 18.41 16.75 18.54 16.75 18.58C16.75 18.59 17.11 18.95 17.55 19.39C18.41 20.24 18.42 20.25 18.37 20.34C18.34 20.40 18.30 20.40 16.86 20.40C16.04 20.40 15.38 20.40 15.37 20.41C15.37 20.41 15.36 20.70 15.35 21.06L15.33 21.70L15.20 21.71C15.13 21.71 14.94 21.70 14.78 21.67C13.84 21.52 12.88 21.79 12.22 22.38C12.04 22.56 11.96 22.56 11.81 22.40Z' fill='%23fff'/%3E%3C/g%3E%3Cg transform='translate%28250 240%29 rotate%28-14 13.0 13.0%29 scale%281.0833333333333333%29'%3E%3Cpath d='M12 21.2S3 15.6 3 9.3A5 5 0 0 1 12 6.4a5 5 0 0 1 9 2.9c0 6.3-9 11.9-9 11.9z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3Cg transform='translate%28260 150%29 rotate%280 11.0 11.0%29 scale%280.9166666666666666%29'%3E%3Cpath d='M5.2 3.6c0-.6.5-1.1 1.1-1.1h11.4c.6 0 1.1.5 1.1 1.1V6H5.2z' fill='%23fff' fill-rule='evenodd'/%3E%3Cpath d='M5.9 7.4h12.2l-1.4 13.1c-.1.8-.7 1.3-1.5 1.3H8.8c-.8 0-1.4-.6-1.5-1.3z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E") 0 0/300px 300px;animation:lg-drift 60s linear infinite;pointer-events:none}
#login.la:not([hidden])::after{content:'';position:absolute;inset:0;z-index:-1;background:#C8102E;opacity:.9;pointer-events:none}
@keyframes lg-drift{to{transform:translate(300px,300px)}}
#login .la-vis{background:transparent!important;overflow:visible!important}
#login .la-vis::before{display:none!important}
#login .la-side{background:transparent!important}
#login .la-card{border:0!important;box-shadow:0 30px 70px -26px rgba(60,0,10,.75)!important}
}
@media screen and (max-width:700px){
/* 11 Nov 15:17 — sign-in: nothing but the red moving background, the brand at the top left and the white box in the middle */
#login.la:not([hidden]){display:grid!important;grid-template-columns:1fr!important;place-items:center!important;min-height:100vh}
#login .la-stage,#login .la-hello{display:none!important}
#login .la-vis{position:absolute!important;left:0;top:0;padding:40px 48px!important;min-height:0!important;display:block!important;width:auto!important}
#login .la-side{padding:30px!important;width:100%;display:grid!important;place-items:center!important}
#login .la-card{width:min(440px,100%)!important;padding:38px 36px!important}
#login .la-hi{font:800 34px/1.1 var(--f-title)!important;letter-spacing:-.025em!important;color:#3F2021!important;transform:none!important;margin:0 0 8px!important}
}
@media screen and (max-width:700px){
/* 15:18 — the big leaf stays, turning slowly behind the box */
#login .la-leafbg{display:block!important;position:fixed!important;right:-140px!important;bottom:-190px!important;width:700px!important;opacity:.1!important;z-index:0}
#login .la-side{position:relative;z-index:2}
#login .la-brand{position:relative;z-index:2}
}
@media screen and (max-width:700px){
/* 11 Nov 15:20 — sign-in extras: leaf badge on the box, entrance, quote of the day, pointer depth, six code boxes */
#login .la-card{position:relative;padding-top:64px!important;overflow:visible!important}
#login .lg-otp input#otp::placeholder{color:transparent}
#login .lg-badge{position:absolute;left:50%;top:-46px;width:92px;height:92px;margin-left:-46px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 16px 30px -14px rgba(60,0,10,.6)}
#login .lg-badge img{width:58px;height:auto}
#login .la-hi,#login .la-lead{text-align:center}
#login .la-side{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:22px}
#login .lg-quote{max-width:440px;margin:0;text-align:center;color:#fff;font:italic 500 15.5px/1.5 var(--f-ui);opacity:.92}
#login .lg-quote::before{content:'“';font:700 22px/0 var(--f-title);margin-right:6px;vertical-align:-4px}
#login.la::before{translate:calc(var(--mx,0)*-14px) calc(var(--my,0)*-14px)}
#login .la-leafbg{translate:calc(var(--mx,0)*26px) calc(var(--my,0)*26px);transition:translate .5s ease-out}
/* code as six boxes: the real field sits on top, see-through */
#login .lg-otp{position:relative;height:60px;margin-top:2px}
#login .lg-otp .bx{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,1fr);gap:9px;pointer-events:none}
#login .lg-otp .bx i{border:1.5px solid #E6DAD0;border-radius:14px;background:#FCFAF7;display:grid;place-items:center;font:800 24px var(--f-title);font-style:normal;color:#3F2021;transition:border-color .12s,box-shadow .12s}
#login .lg-otp.f .bx i.cur{border-color:#C8102E;background:#fff;box-shadow:0 0 0 4px rgba(200,16,46,.12)}
#login .lg-otp .bx i.on{border-color:#C8102E;background:#fff}
#login .lg-otp input#otp{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text;margin:0;padding:0;border:0}
}
@media screen and (max-width:700px) and (prefers-reduced-motion:no-preference){
#login .la-brand{animation:lg-in .5s ease both}
#login .la-card{animation:lg-rise .6s cubic-bezier(.2,.8,.2,1) .15s both}
#login .lg-badge{animation:lg-pop .5s cubic-bezier(.3,1.5,.5,1) .5s both}
#login .lg-quote{animation:lg-in .6s ease .7s both}
@keyframes lg-in{from{opacity:0}}
@keyframes lg-rise{from{opacity:0;transform:translateY(22px)}}
@keyframes lg-pop{from{opacity:0;transform:scale(.6)}}
}
@media screen and (max-width:700px){#login .lg-badge{display:grid}#login .lg-quote{display:block}#login .lg-otp .bx{display:grid}}
@media screen and (max-width:700px){
#login .lg-badge{display:grid!important;width:80px!important;height:80px!important;margin-left:-40px!important;top:-40px!important}
#login .lg-badge img{width:50px!important}
#login .lg-quote{display:block!important;font-size:14px!important;padding:0 10px}
#login .lg-otp .bx{display:grid!important;gap:7px!important}
#login .lg-otp .bx i{border-radius:12px!important;font-size:21px!important}
#login .la-vis{padding:20px 20px!important}
#login .la-side{padding:96px 18px 28px!important;gap:18px!important}
#login .la-card{padding:56px 22px 26px!important;width:100%!important}
#login .la-hi{font-size:29px!important}
#login .la-leafbg{width:440px!important;right:-120px!important;bottom:-120px!important}
}
/* ===== /Phone sign-in ===== */

/* Nov 2026: Store Scorecard store picker + "lost marks" box */
.sc-pick{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:4px 0 14px}.sc-pick .msd{min-width:260px;max-width:340px}
.sc-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.sc-chip{display:inline-flex;align-items:center;gap:4px;background:#f6ece4;border:1px solid #e8d6c8;border-radius:999px;padding:4px 4px 4px 11px;font-size:13px;color:#4a2a20}
.sc-chip button{border:0;background:none;color:#a3262a;font-size:16px;line-height:1;width:24px;height:24px;border-radius:50%;cursor:pointer}.sc-chip button:hover{background:#ecd9cb}.sc-clear{border:0;background:none;color:#a3262a;font-weight:600;cursor:pointer;padding:6px 8px;font:inherit}
.sc-table td.sc-hit{cursor:pointer;border-radius:10px}.sc-table td.sc-hit:hover,.sc-table td.sc-hit.sc-on,.sc-table td.sc-hit:focus-visible{background:#fbefe9;outline:2px solid #c8102e;outline-offset:-3px}
.sc-tip{position:absolute;z-index:1500;width:350px;max-height:min(520px,calc(100vh - 24px));overflow:auto;background:#fff;border:1px solid #ecdccf;border-radius:16px;box-shadow:0 16px 44px rgba(60,30,20,.24);font-size:13.5px;color:#2b1a14;text-align:left}
.sc-tip-top{display:flex;justify-content:space-between;align-items:center;padding:10px 12px 0 16px;font-size:12px;color:#8a7a70}.sc-tip-top b{font-weight:700;color:#5a4038}.sc-tip-x{border:0;background:none;font-size:20px;line-height:1;color:#8a7a70;width:30px;height:30px;border-radius:50%;cursor:pointer}.sc-tip-x:hover{background:#f4ebe3}
.sc-v+.sc-v{border-top:6px solid #f6efe8}
.sc-hd{display:flex;align-items:center;gap:12px;padding:8px 16px 12px;border-bottom:1px solid #f0e4da}.sc-big{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:800;color:#2b1a14;white-space:nowrap}.sc-hd b{display:block;font-size:14px}.sc-hd small{display:block;color:#8a7a70;font-size:12.5px;margin-top:2px}
.sc-lost{display:flex;justify-content:space-between;padding:10px 16px 2px;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:#8a7a70;font-weight:700}.sc-lost span{color:#a3262a}
.sc-tip ul{margin:0;padding:0 16px;list-style:none}.sc-tip li{display:flex;gap:10px;padding:8px 0;border-top:1px solid #f4ebe3}.sc-tip li:first-child{border-top:0}
.sc-tip li i{flex:none;font-style:normal;font-weight:800;color:#fff;background:#c8102e;border-radius:999px;min-width:38px;text-align:center;font-size:12.5px;height:20px;line-height:20px}
.sc-tip li p{margin:0;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sc-tip li em{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-style:normal;color:#8a7a70;font-size:12.5px;margin-top:2px;line-height:1.35}
.sc-full{padding:12px 16px;color:#3c7a4a;font-weight:600}
.sc-open{display:block;width:100%;border:0;border-top:1px solid #f0e4da;background:none;color:#a3262a;font:inherit;font-weight:700;padding:11px;cursor:pointer;margin-top:6px}.sc-open:hover{background:#fbf5f0}
.sc-tip.sc-sheet{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-height:78vh;border-radius:20px 20px 0 0;z-index:2100;padding-bottom:env(safe-area-inset-bottom)}
.sc-tip-bg{position:fixed;inset:0;background:rgba(40,20,18,.35);z-index:2090}
@media print{.sc-tip,.sc-tip-bg{display:none!important}}
html.dark .sc-tip{filter:invert(1) hue-rotate(180deg)}

/* Pages per person / group (Admin, 17 Nov 2026) */
.pg-pick{display:grid;gap:10px;margin-top:6px}
.pg-sec{border:1px solid var(--line,#ece4e1);border-radius:14px;padding:10px 12px;background:var(--card,#fff)}
.pg-sec.off{opacity:.6}
.pg-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.pg-sec.off .pg-head{margin:0}
.pg-head b{font-size:14px}.pg-head span{font-size:12.5px;color:var(--muted,#7a6a66)}
.pg-all{margin-left:auto;border:0;background:none;color:#1d6fa5;font-weight:700;font-size:12.5px;padding:2px 4px;cursor:pointer}
.pg-tag{background:#fff3dc!important;color:#8a5400!important}
.ga-saved{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:10px;background:#fff3dc;border-radius:12px;padding:9px 12px;font-size:13px}
.ga-saved b{color:#6b4100}.ga-saved span{color:#7a5a20;flex:1;min-width:180px}
.ga-rem{margin:12px 0 4px;font-weight:600}
.ga-rules{margin:8px 0;border:1px solid var(--line,#ece4e1);border-radius:12px;padding:8px 12px}
.ga-rules summary{cursor:pointer;font-size:13.5px}
.ga-rule{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line,#ece4e1)}
.ga-rule span{flex:1;min-width:0}.ga-rule b{display:block;font-size:13.5px}.ga-rule small{color:var(--muted,#7a6a66);font-size:12px}
.ga-rule .danger{color:#c8102e}
html.dark .pg-sec{background:transparent}html.dark .ga-saved{background:#3a2a10}html.dark .ga-saved b,html.dark .ga-saved span{color:#f0d29a}
/* Stores & Areas: closed stores and shared event-store codes (17 Nov 2026) */
.stores-table td small{display:block;font-size:11px;color:var(--muted,#7a6a66)}
.stores-table .st-cl{color:#c8102e!important;font-weight:700}
.stores-table tr.st-closed td{background:rgba(200,16,46,.04)}

/* ===== Visits on the OMS (Nov 2026): tabs, New Visit, My Visits ===== */
.om-tabs{display:none}
@media (max-width:700px){.om-tabs{display:flex;gap:4px;margin:2px 0 16px;padding:5px;background:linear-gradient(135deg,#d5142f,#a50d26);border-radius:999px;box-shadow:0 8px 20px rgba(160,13,38,.2)}
 .om-tabs button{flex:1 1 0;min-width:0;text-align:center;border:0;background:transparent;color:#fff;font:inherit;font-weight:700;font-size:13px;line-height:1.15;padding:9px 6px;border-radius:999px;min-height:44px;box-shadow:none}
 .om-tabs button.on{background:#fff;color:#c8102e;box-shadow:0 2px 8px rgba(0,0,0,.12)}
 .mv-b span{font-size:9.5px}.mv-chart{gap:6px}}
.nv{max-width:980px;color:#2a1d1a}
.nv .muted{color:#7a6a66}
.nv-date{margin:0 0 2px;font-size:11.5px;font-weight:800;letter-spacing:.08em;color:#c8102e;text-transform:uppercase}
.nv-sub{margin:0 0 16px;color:#7a6a66}
.nv .empty{margin-top:10px}
.nv-draft{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff3dc;border:1px solid #f1d9a6;border-radius:18px;padding:14px 16px;margin-bottom:14px}
.nv-dl{flex:1;min-width:220px}
.nv-dl b{display:block;color:#6b4100}
.nv-dl span{font-size:13px;color:#7a5a20}
.nv-dl i{display:block;height:6px;border-radius:6px;background:#f1d9a6;margin-top:8px;position:relative;overflow:hidden}
.nv-dl i::after{content:"";position:absolute;inset:0;width:var(--w);background:#b26b00;border-radius:6px}
.nv button{font:inherit;cursor:pointer;box-shadow:none}
.nv .nv-btn{border:0;background:#3e2723;color:#fff;border-radius:12px;padding:10px 16px;font-weight:800;min-height:44px}
.nv .nv-btn2{border:1.5px solid #ece4e1;background:#fff;color:#2a1d1a;border-radius:12px;padding:10px 16px;font-weight:800;min-height:44px}
.nv .nv-btn:disabled,.nv .nv-btn2:disabled{opacity:.45;cursor:not-allowed}
.nv .nv-link{border:0;background:none;color:#7a5a20;text-decoration:underline;font-size:13px;padding:8px 4px}
.nv-card{background:#fff;border:1px solid #ece4e1;border-radius:20px;padding:18px;margin-bottom:14px}
.nv-card h2{margin:0 0 4px;font-size:18px;display:flex;align-items:center;gap:10px}
.nv-card h2 em{font-style:normal;width:26px;height:26px;border-radius:8px;background:#3e2723;color:#fff;display:grid;place-items:center;font-size:13px;flex:0 0 auto}
.nv-note{margin:0 0 12px 36px;color:#7a6a66;font-size:13px}
.nv-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.nv .nv-type{text-align:left;border:1.5px solid #ece4e1;background:#fff;border-radius:14px;padding:12px 14px;color:#2a1d1a}
.nv-type b{display:block;font-size:14.5px}
.nv-gh{margin:14px 0 8px;font-size:12.5px;font-weight:800;color:#7a6a66;letter-spacing:0}.nv-gh:first-of-type{margin-top:4px}
.nv-ck{display:inline-block;margin-left:8px;font-style:normal;font-size:11px;font-weight:800;color:#c8102e;background:#fde8eb;border-radius:999px;padding:2px 8px;vertical-align:1px}
.nv-type span{font-size:12.5px;color:#7a6a66}
.nv .nv-type.on{border-color:#c8102e;background:#fdf3f4;box-shadow:0 0 0 2px #fde8eb}
.nv-search input{width:100%;border:1.5px solid #ece4e1;border-radius:12px;padding:11px 12px;font:inherit;font-size:16px;margin-bottom:10px;background:#fff;color:#2a1d1a}
.nv-stores{display:grid;gap:6px}
.nv .nv-st{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;border:1.5px solid #ece4e1;background:#fff;border-radius:14px;padding:10px 12px;color:#2a1d1a;width:100%}
.nv-st .r{width:22px;height:22px;border-radius:50%;border:2px solid #d9cfcb;display:grid;place-items:center;font-size:12px;color:#fff;font-weight:800}
.nv .nv-st.on{border-color:#c8102e;background:#fdf3f4}
.nv-st.on .r{background:#c8102e;border-color:#c8102e}
.nv-st b{display:block;overflow:hidden;text-overflow:ellipsis}
.nv-st small{color:#7a6a66;font-size:12.5px}
.nv-st .dr{font-style:normal;color:#b26b00;font-weight:700}
.nv-st .l{text-align:right;display:grid;gap:3px;justify-items:end}
.nv .band{font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:999px;white-space:nowrap;display:inline-block}
.nv .PASS{background:#e5f4ec;color:#1f7a4d}.nv .FOLLOW-UP{background:#fff3dc;color:#b26b00}.nv .FAIL{background:#fde8eb;color:#c8102e}.nv .none{background:#efefef;color:#6b6b6b}
.nv .GA{background:#19805b;color:#fff}.nv .GB{background:#5f9e6e;color:#fff}.nv .GC{background:#e8dccb;color:#5a4a33}.nv .GD{background:#b57621;color:#fff}.nv .GE{background:#c8102e;color:#fff}
.nv .nv-more,.nv .mv-more{margin-top:8px;border:0;background:none;color:#1d6fa5;font-weight:700;padding:8px 2px}
.nv .mv-more{margin:0;padding:4px 10px}
.nv-go{position:sticky;bottom:14px;z-index:5}
.nv .nv-start{width:100%;border:0;background:#c8102e;color:#fff;border-radius:14px;padding:15px;font-weight:800;font-size:16px;box-shadow:0 10px 24px rgba(200,16,46,.25);min-height:52px}
.nv .nv-start:disabled{background:#d9cfcb;box-shadow:none;cursor:not-allowed}
.mv-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.mv-top .nv-sub{margin:0}
.mv-dl{display:flex;gap:8px;flex-wrap:wrap}
.mv-per{display:flex;gap:6px;margin:14px 0;flex-wrap:wrap}
.nv .mv-per button{border:1.5px solid #ece4e1;background:#fff;color:#2a1d1a;border-radius:999px;padding:7px 14px;font-weight:700;min-height:40px}
.nv .mv-per button.on{background:#3e2723;color:#fff;border-color:#3e2723}
.mv-k{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}
.mv-k>div{background:#fff;border:1px solid #ece4e1;border-radius:16px;padding:12px 14px;min-width:0}
.mv-k small{display:block;color:#7a6a66;font-size:12.5px}
.mv-k b{display:block;font-size:26px;line-height:1.2;font-variant-numeric:tabular-nums}
.mv-k span{font-size:12.5px;color:#7a6a66}
.mv-r i{font-style:normal}
.nv .mv-h{margin:0 0 12px;font-size:16px;display:block}
.nv .mv-h small{font-weight:500;color:#7a6a66;font-size:12.5px;display:inline}
.mv-chart{display:flex;gap:10px;align-items:flex-end;height:200px;position:relative;padding:26px 2px 24px;border-bottom:1px solid #ece4e1;overflow-x:auto;overflow-y:hidden}
.mv-chart::after{content:"";position:absolute;left:0;right:0;bottom:calc(24px + 135px);border-top:1.5px dashed #2a1d1a;opacity:.3;pointer-events:none}
.mv-b{flex:1 0 26px;max-width:60px;height:150px;position:relative;font-size:12px}
.mv-b i{position:absolute;left:0;right:0;bottom:0;height:var(--h);border-radius:8px 8px 0 0}
.mv-b span{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(var(--h) + 4px);font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:11.5px}
.mv-b small{color:#7a6a66;position:absolute;left:50%;transform:translateX(-50%);bottom:-20px;white-space:nowrap}
.mv-chips{display:flex;flex-wrap:wrap;gap:6px}
.mv-chips span{display:inline-block;background:#f7f4f3;border:1px solid #ece4e1;border-radius:999px;padding:4px 10px;font-size:12.5px;font-weight:600}
.mv-tw{overflow-x:auto}
.mv-t{width:100%;border-collapse:collapse;font-size:13.5px}
.mv-t th{text-align:left;font-size:12px;color:#7a6a66;padding:8px;border-bottom:1px solid #ece4e1;white-space:nowrap;background:none}
.mv-t td{padding:9px 8px;border-bottom:1px solid #f2ecea;vertical-align:middle}
.mv-t td small{display:block;color:#7a6a66;font-size:12px}
.nv .mv-open{border:1.5px solid #ece4e1;background:#fff;color:#1d6fa5;border-radius:10px;padding:6px 12px;font-weight:700;min-height:36px}
.mv-empty{text-align:center;padding:28px 18px}
.mv-empty b{display:block;font-size:17px;margin-bottom:4px}
@media (max-width:900px){.mv-k{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.nv-note{margin-left:0}.nv-st .l small{display:none}.nv-go{bottom:84px}.mv-k b{font-size:22px}.mv-t th:nth-child(6),.mv-t td:nth-child(6){display:none}}
html.oms-open,html.oms-open body{overflow:hidden}
@media print{html.oms-open body>*:not(#oms-host){display:none!important}html.oms-open,html.oms-open body{overflow:visible}#oms-host{position:static!important}.nv-go{display:none!important}}
.vr-auto{margin:10px 0 4px;font-size:14px}
.vr-h{margin:14px 0 8px;font-size:13.5px}.vr-h small{font-weight:500;color:var(--muted,#7a6a66);display:inline}
#u-vr #vr-q{width:100%;max-width:420px;margin-bottom:8px}
.vr-list{max-height:280px;overflow:auto}

/* Action Plans page (Store Visits and Audits → Action Plans) and the Store portal card (18 Nov) */
.ap-pill{display:inline-block;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.ap-open{background:#fde8eb;color:#a50d26}.ap-late{background:#c8102e;color:#fff}.ap-wait{background:#fff3dc;color:#8a5200}.ap-closed{background:#e5f4ec;color:#1f7a4d}.ap-blue{background:#e7f0f8;color:#1d5f8f}
.ap .ap-n{display:inline-block;min-width:18px;margin-left:4px;font-size:11.5px;opacity:.75}
.ap-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 6px}.ap-tools .mv-per{margin:4px 0}
.ap-tools input{min-height:40px;border:1.5px solid #ece4e1;border-radius:12px;padding:8px 12px;min-width:240px;font:inherit}
.ap-mini{display:block;width:90px;height:6px;border-radius:9px;background:#f2ecea;overflow:hidden;margin:2px 0 4px}.ap-mini i,.ap-prog i{display:block;height:100%;background:#1f7a4d;border-radius:9px}
.ap-t td>b+small{display:block}
.ap-box{border-color:#f3c9d0;box-shadow:0 0 0 3px #fdf3f4}
.ap-grp{border:1px solid #ece4e1;border-radius:16px;padding:12px 14px;margin-top:10px}
.ap-grp-h{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap;padding-bottom:6px;border-bottom:1px dashed #ece4e1}
.ap-grp-h small{display:block;color:#7a6a66;font-size:12.5px}.ap-grp-m{display:flex;gap:10px;align-items:center;color:#7a6a66;font-size:13px;flex-wrap:wrap}
.ap-pt{padding:12px 0;border-bottom:1px solid #f2ecea}.ap-pt:last-child{border-bottom:0}
.ap-pt-h{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start}
.ap-ded{background:#fde8eb;color:#a50d26;font-weight:800;border-radius:10px;padding:4px 8px;font-size:13px;font-variant-numeric:tabular-nums}
.ap-q b{display:block;font-size:14.5px;line-height:1.35}.ap-q small{display:block;color:#7a6a66;font-size:12.5px;margin-top:2px}
.ap-th{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.ap-th img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #ece4e1;background:#f7f4f3}
.ap-fix{margin:10px 0 0 46px;background:#f7f4f3;border-radius:12px;padding:10px 12px}.ap-fix small{color:#7a6a66;font-size:12px}.ap-fix p{margin:4px 0 0}
.ap-note{margin:8px 0 0 46px;border-radius:12px;padding:9px 12px;font-size:13.5px}.ap-note small{display:block;color:#7a6a66;font-size:12px;margin-top:2px}
.ap-note.ok{background:#e5f4ec}.ap-note.bad{background:#fde8eb}.ap-note.blue{background:#e7f0f8}
.ap-btns{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}
.ap-form{margin:10px 0 0 46px}.ap-form label{display:block;font-size:13px;font-weight:700;color:#3e2723}
.ap-form textarea{display:block;width:100%;margin-top:6px;border:1.5px solid #ece4e1;border-radius:12px;padding:10px 12px;font:inherit;font-weight:400;resize:vertical}
.nv .nv-btn.ap-red{background:#c8102e}
.ap-back{margin:0 0 6px;padding-left:0}
.ap-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.ap-head h2{margin:2px 0 4px;font-size:24px}.ap-head h2 small{font-size:13px;color:#7a6a66;font-weight:700}
.ap-head-r{text-align:right;display:grid;gap:4px;justify-items:end}.ap-head-r b{font-size:26px;font-variant-numeric:tabular-nums}.ap-head-r small{color:#7a6a66}
.ap-prog{grid-column:1/-1;height:8px;border-radius:9px;background:#f2ecea;overflow:hidden}.ap-rule{grid-column:1/-1;margin:0;font-size:13px}
@media (max-width:700px){.ap-fix,.ap-note,.ap-form{margin-left:0}.ap-tools input{min-width:0;width:100%}.ap-t th:nth-child(6),.ap-t td:nth-child(6){display:none}.ap-head{grid-template-columns:1fr}.ap-head-r{text-align:left;justify-items:start}}
.sp-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.sp-opt{position:relative;display:grid;gap:2px;border:1.5px solid #ece4e1;border-radius:14px;padding:10px 12px;cursor:pointer}.sp-opt input{position:absolute;left:0;top:0;width:1px!important;height:1px!important;min-width:0!important;margin:0;opacity:0;pointer-events:none}
.card.sp label{min-width:0}.card.sp select{max-width:100%;min-width:0}
.sp-opt.on{border-color:#c8102e;background:#fdf3f4;box-shadow:0 0 0 2px #fde8eb}.sp-opt small{color:#7a6a66}.sp-opt:focus-within{outline:3px solid #1d6fa5;outline-offset:2px}
.sp-list{max-height:300px;overflow:auto;border:1px solid #ece4e1;border-radius:14px;padding:4px}
.sp-st{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;cursor:pointer}.sp-st:hover{background:#f7f4f3}.sp-st small{display:block;color:#7a6a66;font-size:12px}
.sp-dec{margin-top:12px}
@media (max-width:700px){.sp-mode{grid-template-columns:1fr}}
.sp-see{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin-top:12px}.sp-see label{flex:1 1 280px}.sp-see select{width:100%}

/* To Do (18 Nov): boxes on top of Visit History / New Visit / Action Plans; Visit History uses the full page width */
.nv.mv,.nv.mv.ap{max-width:none}
#filters.om-per-only .vf-top{display:none!important}
#filters.om-per-only .vf-sep2,#filters.om-per-only .f-sep{display:none}
.td-boxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:0 0 16px}
.td-box{all:unset;box-sizing:border-box;cursor:pointer;display:grid;gap:2px;background:linear-gradient(135deg,#4a2a28,#3F2021);color:#fff;border-radius:18px;padding:14px 16px;position:relative;overflow:hidden;box-shadow:0 10px 24px -14px rgba(63,32,33,.6)}
.td-box small{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.75}
.td-box b{font-family:var(--f-num,'Tims Callout',Oswald,sans-serif);font-size:34px;line-height:1.05;font-variant-numeric:tabular-nums}
.td-box span{font-size:12.5px;opacity:.85}
.td-box small,.td-box span,.td-box b{color:#fff!important}.td-box small{opacity:.9}
.td-box.hot{background:linear-gradient(135deg,#d5142f,#a50d26)}
.td-box.on{outline:3px solid #fff;outline-offset:-6px}
.td-box:focus-visible{outline:3px solid #1d6fa5;outline-offset:2px}
@media (max-width:700px){.td-boxes{grid-template-columns:1fr 1fr}.td-box b{font-size:26px}}
/* Admin in four sections (18 Nov) */
main>#nav>#adm-sec-wrap,html.pro main>#nav>#adm-sec-wrap{display:flex!important;justify-content:center;background:none!important;padding:0!important;margin:0 auto 10px!important;max-width:none!important;box-shadow:none!important;border:0!important;width:100%}
html main>#nav .admin-nav button.adm-off,html.pro main>#nav .admin-nav button.adm-off{display:none!important}
html.pro main>#nav{text-align:center}
.adm-sec{display:inline-flex;gap:6px;flex-wrap:wrap;justify-content:center;background:linear-gradient(135deg,#d5142f,#a50d26);border-radius:999px;padding:6px;box-shadow:0 10px 24px -12px rgba(160,13,38,.5)}
.adm-sec button,html.pro main>#nav .adm-sec button{display:inline-flex!important;width:auto!important;height:auto!important;align-items:center;gap:8px;border:0;background:transparent;color:#fff;font:inherit;font-weight:800;font-size:14.5px;padding:10px 20px;border-radius:999px;cursor:pointer;min-height:44px;box-shadow:none}
.adm-sec button svg{width:18px;height:18px}
.adm-sec button.on,html.pro main>#nav .adm-sec button.on{background:#fff!important;color:#C8102E!important}
html.pro main>#nav .adm-sec button{color:#fff!important;background:transparent!important;border:0!important;padding:10px 20px!important;border-radius:999px!important}
html.pro main>#nav .adm-sec button svg{display:inline!important}
.adm-sec button:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (max-width:700px){.adm-sec{border-radius:20px}.adm-sec button{padding:8px 12px;font-size:13px}}
.adm-kinds{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.adm-det{white-space:pre-wrap;word-break:break-word}
.st-viewas{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #C8102E!important;color:#C8102E!important;background:#fff!important;margin-right:6px}
.ga-inline{background:#fff;border:1px solid #ECE4E1;border-radius:22px;padding:18px 20px}
/* Visits & Audits → Setup and All Visits */
.vs-test{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #ECE4E1;border-radius:18px;padding:12px 16px;margin:0 0 14px}
.vs-test small{display:block;color:#7F6A65}.vs-test.on{background:#fff3dc;border-color:#f2c26b}
.vs-sw{all:unset;cursor:pointer;width:42px;height:24px;border-radius:99px;background:#d9cfca;position:relative;flex:none}.vs-sw i{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.vs-sw.on{background:#1f7a4d}.vs-sw.on i{left:21px}.vs-sw:focus-visible{outline:3px solid #1d6fa5;outline-offset:2px}
.vs{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}
.vs-list{background:#fff;border:1px solid #ECE4E1;border-radius:22px;padding:12px;position:sticky;top:12px}
.vs-list h4{margin:12px 8px 6px;font-size:10px;letter-spacing:.12em;color:#C8102E;font-weight:800;text-transform:uppercase}
.vs-it{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px 12px;border-radius:14px;cursor:pointer;border:1.5px solid transparent}
.vs-it b{font-size:14px;color:#3F2021}.vs-it small{grid-column:1/-1;color:#7F6A65;font-size:12px}.vs-it.on{border-color:#C8102E;background:#fdf3f4}.vs-it.soon{cursor:default;opacity:.8}
.vs-it:focus-visible{outline:3px solid #1d6fa5}
.vs-st{font-size:11px;font-weight:800;border-radius:999px;padding:2px 8px;align-self:start}.vs-on{background:#e5f4ec;color:#1f7a4d}.vs-off{background:#f2ecea;color:#7F6A65}.vs-soon{background:#fff3dc;color:#8a5200}.vs-ro{background:#f2ecea;color:#3F2021}
.vs-head{background:linear-gradient(135deg,#4a2a28,#3F2021);color:#fff;border-radius:22px;padding:20px 22px}
.vs-head h2{margin:2px 0 4px;font-size:26px;font-weight:800;color:#fff}.vs-k{font-size:10px;letter-spacing:.12em;font-weight:800;opacity:.8}.vs-sub{opacity:.85;font-size:13.5px}
.vs-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.vs-sum div{background:rgba(255,255,255,.08);border-radius:14px;padding:10px 12px}.vs-sum small{display:block;font-size:11px;opacity:.75}.vs-sum b{font-size:14.5px}
.vs-tabs{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;width:max-content;max-width:100%;margin:14px auto;padding:5px;background:linear-gradient(135deg,#d5142f,#a50d26);border-radius:999px;box-shadow:0 8px 20px rgba(160,13,38,.2)}
.vs-tabs button{border:0;background:transparent;color:#fff;font:inherit;font-weight:700;font-size:14px;padding:9px 16px;border-radius:999px;min-height:40px;cursor:pointer;box-shadow:none}
.vs-tabs button.on{background:#fff;color:#C8102E}
.vs-tabs button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.vs-card h3{margin:0 0 4px}.vs-card .section-head{align-items:flex-start}
.vs-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1.4fr) 90px auto;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #f2ecea;font-size:13.5px}
.vs-row small{display:block;color:#7F6A65;font-size:12px}.vs-row.off{opacity:.7}.vs-rh{font-size:11px;color:#7F6A65;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-top:0}
.vs-n{font-variant-numeric:tabular-nums}.vs-act{display:flex;gap:6px;justify-content:flex-end}
.vs-tag{display:inline-block;background:#f7f4f3;border:1px solid #ECE4E1;border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:800;margin:0 6px 2px 0}.vs-grp{background:#fdf3f4;color:#a50d26;border-color:#f3c9d0}
.vs-set{display:grid;grid-template-columns:220px minmax(0,1fr);gap:10px 18px;align-items:center;padding:11px 0;border-top:1px solid #f2ecea;font-size:13.5px}.vs-set>span:first-child{font-weight:700;color:#3F2021}
.vs-mail{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.5fr) 60px;gap:10px;padding:10px 0;border-top:1px solid #f2ecea;font-size:13.5px;align-items:center}.vs-mail .vs-sw{justify-self:end}
.vs-line{border:1.5px solid #C8102E;border-radius:16px;padding:12px 16px;margin:10px 0;background:#fdf9f8}.vs-line h4{margin:0 0 4px}
.vs-line select,.vs-line input[type=search]{max-width:420px;width:100%;margin-top:8px}
.vs-pick{max-height:240px;overflow:auto;border:1px solid #ECE4E1;border-radius:12px;margin-top:8px;padding:4px}.vs-pick label{display:flex;gap:10px;align-items:center;padding:6px 8px;border-radius:10px;cursor:pointer}.vs-pick label:hover{background:#f7f4f3}.vs-pick small{display:block;color:#7F6A65}.vs-pick label input[type=radio]{flex:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:0!important;padding:0!important;margin:0!important;accent-color:#C8102E}.vs-pick label>span{flex:1;min-width:0;text-align:left}.vs-pick b{display:block}#vs-lq{width:100%;max-width:none}
.vs-save{position:sticky;bottom:10px;padding-right:150px!important;display:flex;gap:10px;align-items:center;justify-content:flex-end;background:#fff;border:1px solid #ECE4E1;border-radius:18px;padding:10px 14px;margin-top:14px;box-shadow:0 10px 24px -16px rgba(63,32,33,.5)}.vs-save span{margin-right:auto;color:#7F6A65}.vs-save.on{border-color:#C8102E}.vs-save.on span{color:#a50d26;font-weight:700}
.av-tools{flex-wrap:wrap;gap:8px}.av-tools select,.av-tools input{min-width:0}
.av-t td small{display:block;color:#7F6A65;font-size:12px}.av-off{opacity:.65}.pill-off{display:inline-block;background:#f2ecea;border-radius:999px;padding:2px 8px;font-size:11.5px;font-weight:800;margin-right:6px}
.av-ed{max-width:860px}.av-hd{position:relative;padding-right:130px}.av-hd small{color:#C8102E;font-weight:800;letter-spacing:.1em;font-size:10px}.av-hd h2{margin:2px 0}
.av-score{position:absolute;right:0;top:0;text-align:right}.av-score b{display:block;font-size:30px;font-variant-numeric:tabular-nums}.av-score span{color:#7F6A65;font-size:12px}
.av-sig{display:block;margin:12px 0}.av-sig input{display:block;width:100%;max-width:360px;margin-top:4px}
.av-ed section{border-top:1px solid #ECE4E1;padding-top:8px;margin-top:12px}.av-ed h3{font-size:14px;margin:4px 0 6px}
.av-q{padding:9px 0;border-bottom:1px solid #f2ecea}.av-q.nc{background:#fdf6f7}.av-qt{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.av-qt b{font-size:13.5px;flex:1 1 300px}
.av-q textarea{width:100%;margin-top:6px;font:inherit;font-size:13px;border:1px solid #ECE4E1;border-radius:10px;padding:6px 10px;resize:vertical}
.av-ph{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.av-ph span{position:relative}.av-ph img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #ECE4E1}
.av-ph button{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:0;background:#3F2021;color:#fff;font-weight:800;line-height:1;padding:0;cursor:pointer}
@media (max-width:900px){.vs{grid-template-columns:1fr}.vs-list{position:static}.vs-sum{grid-template-columns:1fr 1fr}.vs-row{grid-template-columns:1fr;gap:4px}.vs-act{justify-content:flex-start}.vs-set{grid-template-columns:1fr}.vs-mail{grid-template-columns:1fr 60px}.vs-mail>span{grid-column:1}.vs-mail .vs-sw{grid-row:1/3;grid-column:2}}
html main>#nav .report-nav button.td-off,html.pro main>#nav .report-nav button.td-off{display:none!important}

/* Phone bar with To Do (18 Nov 2026): 7 places, To Do right before More, red number for what waits. */
html body #ly-tabs.ly-tabs.ly-7 button{font-size:9.5px!important;min-width:0}
html body #ly-tabs.ly-tabs.ly-7 button span{white-space:nowrap}
html body #ly-tabs.ly-tabs.ly-7 button svg{width:23px!important;height:23px!important}
html body #ly-tabs .ly-bdg{position:absolute;top:-5px;right:-11px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#C8102E;color:#fff;font:800 10px/17px var(--f-ui,'Tims Sans'),sans-serif;text-align:center;box-shadow:0 0 0 2px #fff}
html body #ly-tabs button i{position:relative}
/* Store access (18 Nov 2026): Active / Inactive per store */
.st-acc{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 6px!important;border-radius:99px!important;border:1.5px solid #D9CEC4!important;background:#fff!important;color:#7F6A65!important;font-weight:800!important;font-size:12.5px!important;min-height:30px;white-space:nowrap;cursor:pointer}
.st-acc i{width:30px;height:18px;border-radius:99px;background:#D9CEC4;position:relative;transition:background .15s}
.st-acc i:after{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:left .15s}
.st-acc.on{border-color:#1f7a4d!important;color:#1f7a4d!important;background:#EEF7F1!important}.st-acc.on i{background:#1f7a4d}.st-acc.on i:after{left:14px}
.st-acc:focus-visible{outline:3px solid #C8102E;outline-offset:2px}.st-acc[disabled]{opacity:.55}
.st-acc-off{font-size:12px;color:#9a8a83;white-space:nowrap}.st-acc-td{white-space:nowrap}
.st-accbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#FBF6F1;border:1px solid #EADFD4;border-radius:16px;padding:14px 16px;margin:0 0 14px}
.st-accbar b{font-size:15px;margin-right:10px}.st-accbar span{font-weight:800;color:#1f7a4d}.st-accbar small{display:block;color:#7F6A65;font-size:12.5px;margin-top:4px;max-width:720px;line-height:1.45}
.st-accbtns{display:flex;gap:8px;flex-wrap:wrap}.st-accbtns button{font-weight:800}
.sp-t td small{display:block;color:#7F6A65;font-size:12px}.sp-t .sp-mail{font-size:12.5px;color:#7F6A65;word-break:break-all}
@media (max-width:700px){.st-accbar{padding:12px}.st-accbtns{width:100%}.st-accbtns button{flex:1}}
.rem.ga-inline{max-width:none!important;width:100%;min-width:0!important;box-sizing:border-box}
/* Notifications bell (18 Nov 2026) */
.nb-btn{position:relative;width:44px;height:44px;min-width:44px;border-radius:14px!important;border:1.5px solid #ECE3DB!important;background:#fff!important;color:#3F2021!important;display:inline-flex!important;align-items:center;justify-content:center;padding:0!important;cursor:pointer;box-shadow:none!important}
.nb-btn[hidden]{display:none!important}.nb-btn:hover{border-color:#C8102E!important;color:#C8102E!important}.nb-btn:focus-visible{outline:3px solid #C8102E;outline-offset:2px}
.nb-btn b{position:absolute;top:-6px;right:-6px;background:#C8102E;color:#fff;font:800 11px/20px var(--f-ui,'Tims Sans'),sans-serif;min-width:20px;height:20px;border-radius:99px;text-align:center;padding:0 5px;box-shadow:0 0 0 2px #fff}
.nb-btn b[hidden]{display:none}
#nb-ph{display:none!important}
@media (max-width:700px){#nb-ph:not([hidden]){display:inline-flex!important;margin-left:auto;margin-right:8px;width:40px;height:40px;min-width:40px;border:0!important;background:rgba(255,255,255,.18)!important;color:#fff!important}
 #nb-ph b{box-shadow:0 0 0 2px #C8102E}#nb-pc{display:none!important}body.nb-on:after{content:'';position:fixed;inset:0;background:rgba(30,10,10,.45);z-index:3999}}
.nb-pop{position:fixed;z-index:4000;width:420px;max-height:min(640px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border-radius:22px;box-shadow:0 24px 60px -20px rgba(60,20,20,.45),0 2px 8px rgba(0,0,0,.06);overflow:hidden;color:#2B1718;animation:nbIn .16s ease-out}
.nb-pop[hidden]{display:none}
@keyframes nbIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.nb-pop.sheet{left:0!important;right:0;bottom:0;top:auto!important;width:auto!important;max-height:86vh;border-radius:24px 24px 0 0;animation:nbUp .2s ease-out;padding-bottom:env(safe-area-inset-bottom)}
@keyframes nbUp{from{transform:translateY(30px);opacity:.6}to{transform:none;opacity:1}}
.nb-grab{display:none;width:40px;height:5px;border-radius:9px;background:#E3D9D1;margin:10px auto 0}.nb-pop.sheet .nb-grab{display:block}
.nb-h{display:flex;align-items:center;gap:10px;padding:14px 16px 6px 18px}.nb-h h3{margin:0;font-size:17px;font-weight:800;flex:1}
.nb-all{background:none!important;border:0!important;color:#C8102E!important;font-weight:800;font-size:12.5px;padding:6px!important;cursor:pointer}
.nb-x{background:#F6F1EC!important;border:0!important;width:32px;height:32px;border-radius:10px!important;font-size:20px;line-height:1;color:#5A4844!important;cursor:pointer;padding:0!important}
.nb-tabs{display:flex;gap:6px;padding:4px 18px 10px}.nb-tabs button{border:0!important;border-radius:99px!important;padding:6px 12px!important;font-size:12.5px;font-weight:800;background:#F6F1EC!important;color:#5A4844!important;cursor:pointer}
.nb-tabs button.on{background:#C8102E!important;color:#fff!important}.nb-tabs i{font-style:normal;opacity:.8;margin-left:5px}
.nb-list{overflow:auto;padding-bottom:8px}.nb-sec{font-size:10.5px;font-weight:800;letter-spacing:.12em;color:#8A7A74;padding:10px 18px 4px}
.nb-it{display:flex;gap:12px;width:100%;text-align:left;padding:11px 18px!important;border:0!important;border-top:1px solid #F3ECE6!important;border-radius:0!important;background:#fff!important;color:inherit!important;position:relative;cursor:pointer;font:inherit}
.nb-it:hover{background:#FCF8F4!important}.nb-it.un{background:#FFF9F6!important}.nb-it.un:after{content:'';position:absolute;right:16px;top:18px;width:8px;height:8px;border-radius:50%;background:#C8102E}
.nb-ic{width:36px;height:36px;border-radius:12px;flex:none;display:flex;align-items:center;justify-content:center}
.nb-tx{display:block;min-width:0;padding-right:14px}.nb-tx b{display:block;font-size:13px;font-weight:800;line-height:1.3}.nb-tx small{display:block;color:#8A7A74;font-size:12px;margin-top:2px;line-height:1.35}
.nb-tx i{display:block;font-style:normal;font-size:11px;color:#A3958F;font-weight:700;margin-top:3px}.nb-act{display:inline-block;margin-top:6px;background:#C8102E;color:#fff;border-radius:99px;padding:4px 10px;font-size:11.5px;font-weight:800;font-style:normal}
.nb-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:34px 20px 40px;color:#8A7A74;text-align:center}.nb-empty b{color:#2B1718;font-size:14px}
html[data-theme=dark] .nb-pop,body.dark .nb-pop{background:#2a1c1c;color:#f3e9e4}html[data-theme=dark] .nb-it,body.dark .nb-it{background:#2a1c1c!important;border-top-color:#3a2a2a!important}
@media (prefers-reduced-motion:reduce){.nb-pop,.nb-pop.sheet{animation:none}}
/* ===== Permissions: one page (18 Nov 2026) ===== */
.pm-old{display:none!important}.pm-link{border-color:#C8102E33}
.pm{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}
.pm-side,.pm-main{background:#fff;border:1px solid #ECE4E1;border-radius:24px;padding:16px;box-shadow:0 8px 24px rgba(63,32,33,.06);min-width:0}
.pm-side{position:sticky;top:12px}.pm-seg{display:flex;background:#F3ECE8;border-radius:999px;padding:4px;margin-bottom:10px}
.pm-seg button{flex:1;border:0;background:none;border-radius:999px;padding:8px 6px;font-weight:700;color:#7F6A65;cursor:pointer;font-size:13.5px;min-height:0}.pm-seg button.on{background:#C8102E;color:#fff}
#pm-q{width:100%;max-width:none;margin-bottom:8px}.pm-list{max-height:62vh;overflow:auto;display:flex;flex-direction:column;gap:2px}
.pm-row{display:flex;flex:none;align-items:center;gap:10px;padding:8px 10px;border-radius:14px;border:0;background:none;text-align:left;cursor:pointer;width:100%;min-height:0;font:inherit;color:inherit}
.pm-row:hover{background:#F7F4F3}.pm-row.on{background:#FBEDEF;outline:1.5px solid #C8102E}.pm-row>span:nth-child(2){flex:1;min-width:0}.pm-row b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis}.pm-row small{display:block;color:#7F6A65;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-row em{font-style:normal;background:#F3ECE8;border-radius:999px;padding:1px 9px;font-weight:700;font-size:12px}
.pm-av{width:34px;height:34px;border-radius:50%;background:#3F2021;color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px;flex:none}.pm-av.g{background:#C8102E}
.pm-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.pm-head>div{flex:1;min-width:200px}.pm-head h2{margin:0;font-size:20px;font-weight:800}.pm-head small{color:#7F6A65}
.pm-who{position:relative}.pm-who summary{cursor:pointer;border:1px solid #ECE4E1;border-radius:12px;padding:8px 12px;font-weight:700;font-size:13px;list-style:none}.pm-who[open]>div{position:absolute;right:0;top:calc(100% + 6px);z-index:20;background:#fff;border:1px solid #ECE4E1;border-radius:14px;padding:10px;box-shadow:0 12px 32px rgba(63,32,33,.16);width:min(420px,80vw);display:flex;flex-wrap:wrap;gap:6px;max-height:300px;overflow:auto}
.pm-sum{background:#3F2021;color:#fff;border-radius:16px;padding:12px 16px;margin-bottom:14px;font-size:13.5px;line-height:1.5}.pm-sum b{color:#FFD9A0}
.pm-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.pm-box{border:1px solid #ECE4E1;border-radius:18px;padding:14px;min-width:0}
.pm-box h3{margin:0 0 2px;font-size:15.5px;font-weight:800;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pm-box h3 i{width:6px;height:18px;border-radius:3px;background:#C8102E;display:block}.pm-box>p{margin:0 0 8px;color:#7F6A65;font-size:13px}
.pm-ln{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-top:1px solid #F3ECE8}.pm-ln>b{width:132px;flex:none;font-size:13.5px;padding-top:4px}.pm-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0;align-items:center}
.pm-c{border:1px solid #DCD2C9;background:#fff;border-radius:999px;padding:4px 11px;font-size:12.5px;color:#7F6A65;font-weight:600;cursor:pointer;min-height:0;line-height:1.4;font-family:inherit}
.pm-c.on{background:#3F2021;border-color:#3F2021;color:#fff}.pm-c.red.on,.pm-c.red{background:#C8102E;border-color:#C8102E;color:#fff}span.pm-c.off{cursor:default;border-style:dashed}
.pm-sub{flex-basis:100%;display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:2px}.pm-sub small{color:#7F6A65;font-size:11.5px;font-weight:700;text-transform:none}
.pm-sw{width:40px;height:23px;border-radius:999px;background:#D8CFCA;position:relative;flex:none;border:0;cursor:pointer;padding:0;min-height:0;margin-top:3px;transition:background .15s}.pm-sw i{position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:left .15s}.pm-sw.on{background:#2F7D4F}.pm-sw.on i{left:20px}
.pm-from{font-size:11.5px;color:#7F6A65;background:#F3ECE8;border-radius:6px;padding:2px 7px;font-weight:600}.pm-from.me{background:#FFF1CF;color:#7a5200}.pm-from button{border:0;background:none;padding:0;color:#C8102E;font-weight:700;cursor:pointer;font-size:11.5px;min-height:0;text-decoration:underline}
.pm-note{margin:10px 0 0!important;font-size:12.5px!important}.pm-empty{padding:60px 20px;text-align:center}.pm-none{padding:12px}
.ac-f{max-width:170px}.ac-again{display:inline-flex;align-items:center;gap:6px;margin-right:8px;white-space:nowrap}.ac-again small{color:#9a5b00;font-size:11.5px}
@media (max-width:1700px){.pm-cols{grid-template-columns:1fr}}
@media (max-width:900px){.pm{grid-template-columns:1fr}.pm-side{position:static}.pm-list{max-height:260px}.pm-ln{flex-wrap:wrap}.pm-ln>b{width:100%;padding-top:0;order:0;flex:1}.pm-ln>.pm-sw{order:1}.pm-ln>.pm-chips{order:2;flex-basis:100%}}
html[data-theme=dark] .pm-side,html[data-theme=dark] .pm-main{background:#2A1F1F;border-color:#4a3a3a}html[data-theme=dark] .pm-c{background:transparent;color:#d8cbc6;border-color:#5a4848}html[data-theme=dark] .pm-c.on{background:#F3ECE8;color:#3F2021}html[data-theme=dark] .pm-box,html[data-theme=dark] .pm-ln{border-color:#4a3a3a}html[data-theme=dark] .pm-row.on{background:#4a2227}html[data-theme=dark] .pm-seg{background:#3a2c2c}
.vs-zero{color:#B3261E!important}.vs-own{background:#FBF7F4;border-radius:10px}.vs-unc{margin:10px 0 0;border:1px solid #F0D9A8;background:#FFF8E6;border-radius:12px;padding:8px 12px}.vs-unc summary{cursor:pointer;font-weight:700;color:#7a5200;font-size:13px}.vs-unc>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;max-height:220px;overflow:auto}
/* change pills on the brown / red number cards: dark text on the light pill (19 Nov 2026, Ahmed: the small numbers could not be read) */
html body #content .card.card.card.card.card.card .cs-dl.up,html body #content .card.card.card.card.card.card .cs-dl.up *{color:#1b6a43!important;-webkit-text-fill-color:#1b6a43!important;stroke:#1b6a43!important}
html body #content .card.card.card.card.card.card .cs-dl.dn,html body #content .card.card.card.card.card.card .cs-dl.dn *{color:#b00e29!important;-webkit-text-fill-color:#b00e29!important;stroke:#b00e29!important}
html body #content .card.card.card.card.card.card .cs-dl.up{background:#e3f2e9!important}html body #content .card.card.card.card.card.card .cs-dl.dn{background:#fbe5e9!important}

/* Permissions sheet: calmer layout (19 Nov 2026) */
.pm-box{padding:18px}.pm-grp{margin-top:14px;border:1px solid #F1EAE6;border-radius:14px;padding:4px 14px 6px;background:#FDFBF9}.pm-grp h4{margin:10px 0 6px;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:#7F6A65;font-weight:800;display:flex;justify-content:space-between;gap:8px;align-items:baseline}.pm-grp h4 small{font-weight:600;letter-spacing:0;text-transform:none;font-size:11.5px}
.pm-grp .pm-ln:first-of-type{border-top:0}.pm-ln{padding:12px 0;gap:14px}.pm-ln>b{width:170px}.pm-ln>b small{display:block;font-weight:500;color:#7F6A65;font-size:11.5px;line-height:1.35;margin-top:3px}
.pm-off{color:#A8958F;font-size:12.5px;padding-top:4px}.pm-chips{gap:7px}.pm-c{padding:5px 12px}
.st-code-edit{border:0;background:none;color:#C8102E;cursor:pointer;padding:0 4px;margin-left:4px;font-size:13px;min-height:0;line-height:1}
/* Accounts: filters in tidy rows, table fits its box */
.table-tools #user-search{flex:1 1 100%;max-width:none}.table-tools select{flex:1 1 150px!important;max-width:none!important;height:44px}.table-tools #ac-clear{height:44px}.table-tools #sel-count{flex:1 1 100%;min-height:0;margin:0;order:0}.table-tools #sel-count:empty{height:0}.table-tools #bulk-del{margin-left:auto}
html body .users-table{min-width:0!important;width:100%}html body .users-table td:nth-child(2){min-width:170px}html body .users-table td:nth-child(3){min-width:230px}html body .users-table td:nth-child(4){min-width:150px}
.users-table td.row-actions,.users-table th:last-child{position:sticky;right:0;z-index:2}.users-table td.row-actions{background:#fff;box-shadow:-10px 0 12px -10px rgba(63,32,33,.18);padding-left:14px}.users-table tr:nth-child(even) td.row-actions{background:#FAF6F2}.users-table th:last-child{background:inherit}
.users-table td input{min-width:0;width:100%}.users-table .row-actions{text-align:right;width:1%}.users-table .scope-cell{white-space:nowrap}
@media (max-width:900px){.pm-ln>b{width:100%}}
.sp-acts{white-space:nowrap;text-align:right}.sp-acts button{margin-left:6px}.sp-acts small.invited{color:#1b6a43;font-weight:700;font-size:11px;margin-left:6px}.st-accbtns{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:900px){.hi-grid[style]{grid-template-columns:1fr!important}}
/* New Visit / Audit uses the whole page (19 Nov 2026, Ahmed: half the page was empty): stores in columns on wide screens */
html body .nv{max-width:none}
@media (min-width:1100px){.nv .nv-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nv .nv-stores>*{margin:0}}
@media (min-width:1700px){.nv .nv-stores{grid-template-columns:repeat(3,minmax(0,1fr))}}
.nv .nv-stores>.nv-more,.nv .nv-stores>p,.nv .nv-stores>.empty{grid-column:1/-1}
/* visit pop-up: the score ring holds its text (19 Nov 2026) */
html body .vd2-ring{width:104px;height:104px}html body .vd2-ring b{font-size:24px;white-space:nowrap}html body .vd2-ring small{font-size:9px;letter-spacing:.3px;white-space:nowrap;max-width:86px;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
@media (max-width:700px){html body .vd2-ring{width:88px;height:88px}html body .vd2-ring b{font-size:20px}html body .vd2-ring small{font-size:8px;max-width:72px}}
/* ===== Visit Records: sort by a column (19 Nov 2026) ===== */
.rec-table th.rec-th{cursor:pointer;user-select:none;white-space:nowrap}.rec-table th.rec-th:hover,.rec-table th.rec-th.on{text-decoration:underline;text-underline-offset:4px}.rec-table th.rec-th i{font-style:normal}
.rec-table th.rec-th:focus-visible{outline:3px solid #fff;outline-offset:-3px}
/* answers typed on several lines keep their lines */
.vd2-q small,.vd2-q em,.vd2-val,.vd2-nb{white-space:pre-line;overflow-wrap:anywhere}
/* ===== Phone: typing never zooms the screen (iOS zooms into fields under 16px) ===== */
@media (max-width:700px){html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),textarea,select){font-size:16px!important}}
/* phone More sheet: CX Leaderboard and QA Helpdesk rows (19 Nov 2026) */
html body #m-sheet .mo-row.mo-sec.on{color:#C8102E}html body #m-sheet .mo-row.mo-sec.on em{color:#C8102E}
/* ===== Store Access: who signed in, failed invitations (19 Nov 2026) ===== */
.sp-sum{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 12px}
.sp-sum .sp-f{display:inline-flex;align-items:center;gap:7px;min-height:40px;line-height:1.2;padding:0 14px;border-radius:999px;border:1.5px solid var(--line,#E7DDD3);background:#fff;font:600 13px var(--f-ui);color:#3F2021;cursor:pointer}
.sp-sum .sp-f b{font:800 16px var(--f-ui);font-variant-numeric:tabular-nums}
.sp-sum .sp-f.in b{color:#1b6a43}.sp-sum .sp-f.never b,.sp-sum .sp-f.failed b{color:#C8102E}
.sp-sum .sp-f.on{background:#3F2021;border-color:#3F2021;color:#fff}.sp-sum .sp-f.on b{color:#fff}
.sp-sum .sp-csv{margin-left:auto}
.sp-sign{white-space:nowrap}.sp-sign small{display:block;color:#7F6A65;font-size:11.5px;margin-top:2px}
.sp-in{display:inline-block;font:700 12px var(--f-ui);border-radius:999px;padding:3px 10px}.sp-in.yes{background:#E6F4EC;color:#1b6a43}.sp-in.no{background:#FDEBEE;color:#B00E28}
.sp-acts small.invited.failed{color:#B00E28;white-space:normal;display:inline-block;max-width:230px;text-align:right;vertical-align:middle}
@media (max-width:700px){.sp-sum .sp-csv{margin-left:0}}
.sp-t .sp-mail{overflow-wrap:anywhere;min-width:150px}.sp-t td:nth-child(2){min-width:130px}
.sp-t .sp-acts{white-space:normal;min-width:190px}.sp-t .sp-acts button{margin:0 0 4px 6px}.sp-t .sp-acts small.invited{display:block;margin:2px 0 0;max-width:none}
html body .sp-t td:nth-child(1),html body .sp-t td:nth-child(2),html body .sp-t td.sp-mail{white-space:normal}html body .sp-t td.sp-mail{max-width:230px}
/* 20 Nov 2026 (Ahmed): Store Access rows are short (invited date, Send again and View as on one line) and the list has filters. */
.sp-t .sp-acts{min-width:0;white-space:nowrap}.sp-t .sp-acts .sp-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.sp-t .sp-acts .sp-row button{margin:0;flex:none}.sp-t .sp-acts .sp-row .st-viewas{margin:0}
.sp-t .sp-acts .sp-row small.invited{display:inline-block;margin:0;white-space:nowrap;max-width:none}
.sp-t .sp-acts .sp-row small.invited.failed{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
html body .sp-t td{padding-top:9px;padding-bottom:9px;vertical-align:middle}
html body .sp-t td.sp-mail{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:215px;min-width:0;word-break:normal;overflow-wrap:normal}
html body .sp-t td:nth-child(1){min-width:180px}html body .sp-t .sp-acts .sp-row button{padding-left:11px;padding-right:11px}
@media (max-width:700px){html body .sp-t td.sp-mail{white-space:normal;overflow-wrap:anywhere;max-width:none}}
.sp-dims{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin:0 0 12px}
.sp-dim{display:flex;flex-direction:column;gap:3px;flex:1 1 170px;max-width:260px;min-width:0}
.sp-dim span{font:700 10.5px var(--f-ui);letter-spacing:.06em;text-transform:uppercase;color:#8A7771}
.sp-dim select{width:100%;height:42px;border-radius:12px;border:1.5px solid var(--line,#E7DDD3);background:#fff;padding:0 10px;font:600 13.5px var(--f-ui);color:#3F2021}
.sp-dim.on select{border-color:#C8102E;background:#FFF5F6}
.sp-dims .sp-dclear{height:42px}
html body .sp-t td.sp-mail{max-width:170px}html body .sp-t td:nth-child(1){min-width:160px}html body .sp-t td:nth-child(2){min-width:110px}
.sp-t .sp-acts .sp-row small.invited.failed{max-width:120px}html body .sp-t .sp-acts .sp-row button{padding-left:9px;padding-right:9px}html body .sp-t td.sp-acts{padding-left:6px}
@media (max-width:1400px){.sp-t .sp-acts .sp-row{flex-wrap:wrap;row-gap:4px}html body .sp-t td.sp-mail{max-width:130px}}
@media (max-width:700px){html body .sp-t td.sp-mail{max-width:none}}
@media (max-width:700px){.sp-dim{flex:1 1 46%;max-width:none}}
html.dark .sp-dim select{background:#2a1f1d;color:#f3ebe6;border-color:#4a3a36}


/* ===== 20 Nov 2026 (Ahmed): Weekly Emails (Admin), Search above store tables, table header hover ===== */
.wk-note{margin:0 0 14px;color:#6E5D57;font-size:13.5px;line-height:1.5}
.wk-card{margin-bottom:14px}.wk-card.off .wk-t h3{color:#8A7771}
.wk-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.wk-t{flex:1 1 280px;min-width:0}.wk-t h3{margin:0;font:800 17px var(--f-ui);color:#3F2021}.wk-t small{display:block;margin-top:3px;color:#7F6A65;font-size:12.5px}
.wk-btns{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wk-row{display:flex;align-items:flex-start;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #F1E9E2}
.wk-lab{flex:0 0 120px;font:700 10.5px var(--f-ui);letter-spacing:.06em;text-transform:uppercase;color:#8A7771;padding-top:10px}.wk-body{flex:1;min-width:0}
.wk-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.wk-chip{display:inline-flex;align-items:center;gap:8px;background:#FBF6F1;border:1px solid #EADFD6;border-radius:99px;padding:5px 6px 5px 6px;font:600 13px var(--f-ui);color:#3F2021;min-height:36px}
.wk-chip i{width:24px;height:24px;border-radius:50%;background:#F3EBDD;display:grid;place-items:center;font-style:normal;font-size:10.5px;font-weight:800;color:#5A4A33}
html body .wk-chip button{all:unset;cursor:pointer;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#8A7771;font-size:17px;line-height:1}html body .wk-chip button:hover{background:#FDE8EB;color:#C8102E}
html body .wk-chip button:focus-visible{outline:2px solid #C8102E}
html body select.wk-add{width:auto;max-width:260px;height:38px;border-radius:99px;border:1.5px dashed #D9CFC8;background:#fff;padding:0 12px;font:700 13px var(--f-ui);color:#C8102E}
.wk-none{color:#B5A69F;font-size:12.5px}
.wk-seg{display:inline-flex;flex-wrap:wrap;background:#F6F1EC;border-radius:12px;padding:4px;gap:4px;margin-bottom:10px}
html body .wk-seg button{all:unset;cursor:pointer;font:600 12.5px var(--f-ui);padding:8px 12px;border-radius:9px;color:#6E5D57}html body .wk-seg button.on{background:#fff;color:#3F2021;font-weight:800;box-shadow:0 1px 3px rgba(0,0,0,.08)}
html body .wk-seg button:focus-visible{outline:2px solid #C8102E}
.wk-hint{margin:8px 0 0;font-size:12px;color:#8A7771;line-height:1.45}
.wk-ov{position:fixed;inset:0;z-index:1200;background:rgba(40,22,20,.55);display:grid;place-items:center;padding:18px}
.wk-dlg{background:#EDE5DD;border-radius:22px;width:min(860px,100%);max-height:calc(100vh - 36px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.wk-dh{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 16px;background:#fff;border-bottom:1px solid #EADFD6}.wk-dh b{display:block;font:800 14.5px var(--f-ui);color:#3F2021}.wk-dh small{display:block;color:#8A7771;font-size:12px;margin-top:2px}
.wk-dlg iframe{border:0;width:100%;height:min(76vh,1100px);background:#EDE5DD}
@media (max-width:700px){.wk-row{flex-direction:column;gap:6px}.wk-lab{flex:none;padding-top:0}.wk-btns{width:100%}}
html.dark .wk-chip,html.dark .wk-seg{background:#2f2320;border-color:#4a3a36;color:#f3ebe6}html.dark .wk-t h3{color:#f3ebe6}html.dark .wk-dh{background:#2a1f1d}html.dark .wk-dh b{color:#f3ebe6}
.ts-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 12px}
.ts-l{display:flex;align-items:center;gap:8px;flex:1 1 260px;max-width:360px;height:42px;padding:0 12px;border-radius:12px;border:1.5px solid var(--line,#E7DDD3);background:#fff;color:#8A7771}
.ts-l:focus-within{border-color:#C8102E;box-shadow:0 0 0 3px #FDE8EB}
html body .ts-l input.ts-q{all:unset;flex:1;min-width:0;font:600 14px var(--f-ui);color:#3F2021;height:100%}
.ts-n{font-size:12.5px}tr.ts-hide,details.ts-hide,.table-wrap.ts-hide,table.ts-hide{display:none!important}details[data-ts-was]>summary{display:none}
@media (max-width:700px){html body .ts-l input.ts-q{font-size:16px!important}.ts-l{max-width:none}}
html.dark .ts-l{background:#2a1f1d;border-color:#4a3a36}html.dark body .ts-l input.ts-q{color:#f3ebe6}
@media print{.ts-bar{display:none!important}}
/* a column title under the pointer: a soft lighter band with round ends, the words stay readable (it was turning into a white square) */
html body thead th button.rev-sort{padding:5px 8px;margin:-5px -8px;border-radius:9px;transition:background-color .15s}
html body thead th button.rev-sort:hover,html body thead th button.rev-sort:focus-visible{background:rgba(255,255,255,.16)!important;color:inherit!important;box-shadow:none!important;outline:0}
html body thead th button.rev-sort.on{background:rgba(255,255,255,.12)!important;color:inherit!important}html body thead th button.rev-sort.on i{opacity:1}
/* ---------- Admin → Settings (20 Nov 2026) ---------- */
.sx{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:start}
.sx-nav{background:#fff;border-radius:18px;padding:10px;border:1px solid #EFE6DE;position:sticky;top:14px;display:flex;flex-direction:column;gap:2px}
html body .sx-nav button{all:unset;cursor:pointer;display:block;padding:11px 12px;border-radius:11px;font:600 13.5px var(--f-ui);color:#5E4B46}
html body .sx-nav button:hover{background:#F6F1EC}html body .sx-nav button.on{background:#C8102E;color:#fff;font-weight:800}html body .sx-nav button:focus-visible{outline:2px solid #C8102E;outline-offset:2px}
.sx-main{min-width:0}.sx-card{margin-bottom:14px}.sx-h h3{margin:0;font:800 18px var(--f-ui);color:#3F2021}.sx-sub{color:#7F6A65;font-size:13px;margin:4px 0 6px;line-height:1.5}
.sx-note{margin:0 0 4px;padding:9px 12px;border-radius:10px;background:#FFF6DE;color:#6B5200;font-size:12.5px}
.sx-r{display:flex;align-items:center;gap:14px;padding:13px 0;border-top:1px solid #F1E9E2;flex-wrap:wrap}.sx-r>div:first-child{flex:1 1 240px;min-width:0}.sx-r b{display:block;font:700 14px var(--f-ui);color:#3F2021}.sx-r small{display:block;color:#8A7771;font-size:12.5px;line-height:1.45;margin-top:2px}
.sx-c{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:100%}.sx-seg{margin:0!important}
.sx-in{height:40px;border:1.5px solid #E7DDD3;border-radius:10px;padding:0 10px;font:700 13.5px var(--f-ui);color:#3F2021;background:#fff;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.sx-in i,.sx-suf{font-style:normal;color:#8A7771;font-weight:600;font-size:12.5px}
html body .sx-in input{all:unset;width:52px;text-align:right;font:800 14px var(--f-ui);color:#3F2021}html body .sx-in input[type=text]{width:130px;text-align:left}.sx-in:focus-within,html body .sx-txt:focus{border-color:#C8102E;box-shadow:0 0 0 3px #FDE8EB;outline:0}
html body input.sx-txt,html body textarea.sx-txt{width:190px;max-width:100%;min-height:40px;border:1.5px solid #E7DDD3;border-radius:10px;padding:8px 10px;font:600 13.5px var(--f-ui);color:#3F2021;background:#fff;box-sizing:border-box}html body .sx-txt.wide{width:min(440px,100%)}html body textarea.sx-txt{resize:vertical;line-height:1.45}
.sx-col{display:flex;flex-direction:column;gap:8px;align-items:flex-end;width:min(440px,100%)}.sx-sws{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:flex-end}.sx-sws>span{display:inline-flex;align-items:center;gap:8px;font:600 13px var(--f-ui);color:#5E4B46}
.sx-soon{display:inline-block;padding:6px 12px;border-radius:99px;background:#F3EBDD;color:#7A6648;font:700 12px var(--f-ui)}
.sx-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 4px}html body .sx-tabs button{all:unset;cursor:pointer;padding:8px 13px;border-radius:99px;background:#F6F1EC;font:600 12.5px var(--f-ui);color:#6E5D57}html body .sx-tabs button.on{background:#3F2021;color:#fff;font-weight:800}html body .sx-tabs button:focus-visible{outline:2px solid #C8102E;outline-offset:2px}
.sx-foot{position:sticky;bottom:10px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px;padding:12px 16px;border-radius:16px;background:#fff;border:1px solid #EFE6DE;box-shadow:0 8px 24px rgba(63,32,33,.10);color:#8A7771;font-size:12.5px}
.sx-foot.dirty{border-color:#C8102E;color:#A3262A;font-weight:700}html body .sx-foot button.primary{background:#C8102E;color:#fff;border:0;border-radius:10px;padding:10px 22px;font-weight:800}html body .sx-foot button:disabled{opacity:.45}
.sx-log{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:12px 0;border-top:1px solid #F1E9E2;font-size:13px;color:#5E4B46}.sx-log ul{margin:6px 0 0;padding-left:18px;color:#6E5D57;font-size:12.5px;line-height:1.5}.sx-log b{color:#3F2021}
html body .sx button.small.danger{background:#C8102E;color:#fff;border-color:#C8102E}
.sx-chips{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}html body .sx-chips button{all:unset;cursor:pointer;height:38px;padding:0 12px;border:1.5px solid #E7DDD3;border-radius:10px;font:700 13px var(--f-ui);color:#3F2021;background:#fff;display:inline-flex;align-items:center;gap:6px}html body .sx-chips button.on{background:#3F2021;color:#fff;border-color:#3F2021}.sx-chips i{font-style:normal;font-weight:600;opacity:.7}
.sx-search{margin:0 0 12px}.lx td,.lx th{white-space:nowrap}.lx .pill{display:inline-block;padding:4px 10px;border-radius:99px;font:700 11.5px var(--f-ui)}.lx .pill.g{background:#E3F1E6;color:#1F6B37}.lx .pill.y{background:#FFF1CC;color:#7A5A00}.lx .pill.r{background:#FDE8EB;color:#A3262A}
.sx-acts{display:flex;gap:6px;justify-content:flex-end}html body a.sx-map{display:inline-flex;align-items:center;text-decoration:none;border:1.5px solid #E7DDD3;border-radius:10px;padding:7px 12px;font:700 12.5px var(--f-ui);color:#3F2021;background:#fff}
.sx-file{cursor:pointer;display:inline-flex;align-items:center;border:1.5px solid #E7DDD3;border-radius:10px;padding:8px 14px;font:700 12.5px var(--f-ui);color:#3F2021;background:#fff}
.sx-write textarea{width:100%;box-sizing:border-box;border:1.5px solid #E7DDD3;border-radius:14px;padding:12px 14px;font:500 15px/1.55 var(--f-ui);color:#3F2021;resize:vertical;min-height:110px}.sx-write textarea:focus{border-color:#C8102E;box-shadow:0 0 0 3px #FDE8EB;outline:0}
.sx-wr{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}html body .sx-wr button.primary{background:#C8102E;color:#fff;border:0;border-radius:10px;padding:11px 20px;font-weight:800;margin-left:auto}
.sx-msg{padding:14px 0;border-top:1px solid #F1E9E2}.sx-msg.off{opacity:.7}.sx-mh{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;font-size:12.5px;color:#8A7771}.sx-mh>div:first-child{flex:1 1 320px;min-width:0}.sx-mh b{color:#3F2021}.sx-mh p{margin:6px 0 0;font:500 14px/1.5 var(--f-ui);color:#3F2021;white-space:pre-line}
.sx-mc{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sx-got{padding:7px 12px;border-radius:99px;background:#E3F1E6;color:#1F6B37;font:600 12.5px var(--f-ui)}.sx-got b{color:#1F6B37;font-weight:800}
.sx-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px;padding:14px;border-radius:14px;background:#FBF7F2}.sx-two h4{margin:0 0 8px;font:800 12px var(--f-ui);letter-spacing:.05em;text-transform:uppercase;color:#7F6A65}.sx-p{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid #EFE6DE;font-size:13px;color:#3F2021}.sx-p i{font-style:normal;color:#8A7771;font-size:11.5px;margin-left:4px}.sx-p small{color:#8A7771;white-space:nowrap}
.msg-dlg{width:min(760px,100%)}.msg-body{overflow:auto;padding:16px;background:#F7F3EE}
@media (max-width:900px){.sx{grid-template-columns:minmax(0,1fr)}.sx-nav{position:static;flex-direction:row;overflow-x:auto;scrollbar-width:none;gap:6px;padding:8px}html body .sx-nav button{white-space:nowrap;padding:10px 14px}.sx-c{justify-content:flex-start}.sx-col{align-items:stretch}.sx-sws{justify-content:flex-start}.sx-two{grid-template-columns:1fr}.sx-log{flex-direction:column}html body .sx-wr button.primary{margin-left:0}}
@media (max-width:700px){html body .sx-in input,html body input.sx-txt,html body textarea.sx-txt,.sx-write textarea{font-size:16px!important}html body input.sx-txt,html body textarea.sx-txt,html body .sx-txt.wide{width:100%}.sx-foot{bottom:calc(158px + env(safe-area-inset-bottom,0px));padding:10px 12px}.sx-foot>span:first-child{flex:1 1 100%}}
/* Settings sits inside <main>, which dark mode already draws inverted: no dark colours of its own (25 Nov 2026: they made the titles disappear). The pop-up message is outside <main>. */
html.dark .msg-body{background:#241a18}
/* ---------- pop-up message (design A, red top) + announcement line ---------- */
.pop-ov{position:fixed;inset:0;z-index:5000;background:rgba(40,22,20,.62);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:grid;place-items:center;padding:16px;overflow:auto}
.pop-row{display:flex;gap:18px;align-items:flex-start;justify-content:center;width:100%;max-width:1240px;margin:auto}
.pop-card{flex:0 1 600px;min-width:0;background:#FBF7F2;border-radius:30px;overflow:hidden;box-shadow:0 40px 100px rgba(0,0,0,.45);font-family:var(--f-ui);animation:popIn .28s cubic-bezier(.2,.8,.2,1)}
@keyframes popIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.pop-card{animation:none}}
.pop-top{position:relative;background:linear-gradient(150deg,#E01C36 0%,#B80E28 60%,#9C0B22 100%);padding:30px 32px 62px;color:#fff;overflow:hidden}
.pop-wm{position:absolute;right:-40px;top:-30px;width:250px;opacity:.13;pointer-events:none}.pop-k{position:relative;display:flex;align-items:center;gap:10px}.pop-k img{width:34px;height:34px;object-fit:contain}.pop-k span{font:800 11px var(--f-ui);letter-spacing:.16em;color:#FFE1E5}
.pop-top h2{position:relative;margin:18px 0 0;font:800 30px/1.15 var(--f-ui);color:#fff;max-width:420px;text-wrap:balance}
.pop-letter{position:relative;margin:-38px 22px 0;background:#fff;border-radius:22px;padding:26px 26px 22px;box-shadow:0 8px 26px rgba(63,32,33,.10);max-height:46vh;overflow:auto}
.pop-q{font:800 64px/.6 Georgia,serif;color:#C8102E;height:26px}.pop-letter p{margin:0 0 12px;font:500 16px/1.65 var(--f-ui);color:#5E4B46;overflow-wrap:anywhere}.pop-letter p.pop-hi{margin-top:6px;font:700 18px/1.5 var(--f-ui);color:#3F2021}.pop-letter p:first-of-type{margin-top:6px}
.pop-by{display:flex;align-items:center;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #F1E9E2}.pop-by span{flex:0 0 46px;height:46px;border-radius:50%;background:#C8102E;display:grid;place-items:center;font:800 15px var(--f-ui);color:#fff;box-shadow:0 0 0 4px #FDE8EB}.pop-by b{display:block;font:800 16px var(--f-ui);color:#3F2021}.pop-by small{color:#8A7771;font-size:13px}
.pop-foot{padding:18px 22px 22px}html body .pop-ok{all:unset;box-sizing:border-box;cursor:pointer;display:block;width:100%;background:#C8102E;color:#fff;border-radius:16px;padding:15px;text-align:center;font:800 16px var(--f-ui);box-shadow:0 10px 22px rgba(200,16,46,.28)}html body .pop-ok:hover{background:#B00E28}html body .pop-ok:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #C8102E}
.pop-ov.many .pop-top h2{font-size:25px}
@media (max-width:860px){.pop-row{flex-direction:column;align-items:center}.pop-card{flex:0 0 auto;width:100%;max-width:600px}.pop-top{padding:26px 24px 58px}.pop-top h2{font-size:26px}.pop-letter{margin:-36px 14px 0;padding:22px 20px 18px;max-height:none}.pop-foot{padding:16px 14px 18px}.pop-ov{place-items:start center}}
html.dark .pop-card{background:#2a1f1d}html.dark .pop-letter{background:#33262300;background:#3a2c29}html.dark .pop-letter p{color:#e2d5cf}html.dark .pop-letter p.pop-hi,html.dark .pop-by b{color:#fff}html.dark .pop-by{border-color:#4a3a36}
.oms-banner{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:11px 14px;border-radius:14px;background:#3F2021;color:#fff;font:600 14px/1.45 var(--f-ui)}.oms-banner svg{flex:0 0 auto;color:#FFD9A8}.oms-banner span{flex:1;min-width:0;overflow-wrap:anywhere}
html body .oms-banner button{all:unset;cursor:pointer;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:20px;color:#fff;opacity:.8}html body .oms-banner button:hover{background:rgba(255,255,255,.16);opacity:1}html body .oms-banner button:focus-visible{outline:2px solid #fff}

.tg-line{margin-top:6px;font:700 11.5px var(--f-ui);letter-spacing:.01em}.tg-line.ok{color:#19805B}.tg-line.no{color:#C8102E}html.dark .tg-line.ok{color:#6fd3a5}html.dark .tg-line.no{color:#ff8a9a}
.sx-two>div{max-height:420px;overflow:auto;padding-right:4px}

.admin-nav.adm-one{display:none!important}
@media (min-width:701px){.sx-foot{margin-right:122px}}
.admin-nav:has([data-page]):not(:has([data-page]:not(.adm-off))){display:none!important}
html body #nav .admin-nav.adm-one,html body main .admin-nav.adm-one{display:none!important;visibility:hidden!important;height:0!important;padding:0!important;margin:0!important;border:0!important}

/* ---------- All Visits · Edit (20 Nov 2026: redesigned, the look of the visit form) ---------- */
#detail:has(.av-ed) .dialog-close{display:none!important}#detail:has(.av-ed){padding:0!important;width:min(900px,calc(100vw - 24px))!important;max-width:none!important;border-radius:26px!important;overflow:auto}
#detail:has(.av-ed) #detail-content{padding:0!important}
.av-ed{max-width:none;font-family:var(--f-ui);color:#3F2021;background:#F7F3EE}
.av-ed .av-hd{position:relative;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:24px 26px;background:linear-gradient(150deg,#E01C36 0%,#B80E28 60%,#9C0B22 100%);color:#fff}
.av-ed .av-ht{flex:1 1 300px;min-width:0}.av-ed .av-hd small{color:#FFE1E5;font:800 10.5px var(--f-ui);letter-spacing:.14em}.av-ed .av-hd h2{margin:6px 0 2px;font:800 24px/1.2 var(--f-ui);color:#fff}
.av-ed .av-st{margin:0;font:700 15.5px var(--f-ui);color:#fff}.av-ed .av-st span{font-weight:600;opacity:.8;margin-left:6px}.av-ed .av-meta{margin:4px 0 0;font-size:12.5px;color:#FBE6E9}
.av-ed .av-score{position:static;flex:0 0 auto;text-align:center;background:#fff;border-radius:18px;padding:12px 20px;min-width:128px;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.av-ed .av-score b{display:block;font:800 30px/1.1 var(--f-ui);font-variant-numeric:tabular-nums;color:#3F2021}.av-ed .av-score span{display:block;margin-top:3px;color:#7F6A65;font:600 11.5px var(--f-ui)}
.av-ed .av-score.g-A b,.av-ed .av-score.g-B b{color:#19805B}.av-ed .av-score.g-D b,.av-ed .av-score.g-E b{color:#C8102E}.av-ed .av-score.g-C b{color:#9A6B00}
.av-sum{display:flex;gap:8px;flex-wrap:wrap;padding:16px 26px 0}.av-sum span{padding:7px 13px;border-radius:99px;font:600 12.5px var(--f-ui)}.av-sum b{font-weight:800;margin-right:3px}.av-sum .y{background:#E3F2E9;color:#19805B}.av-sum .n{background:#FDE8EB;color:#C8102E}.av-sum .x{background:#EFE9E3;color:#6E5D57}
.av-ed .av-sig{display:block;margin:16px 26px 0;background:#fff;border:1px solid #EFE6DE;border-radius:16px;padding:14px 16px}.av-ed .av-sig span{display:block;font:700 10.5px var(--f-ui);letter-spacing:.06em;text-transform:uppercase;color:#8A7771}
html body .av-ed .av-sig input{display:block;width:100%;max-width:420px;margin-top:8px;height:42px;border:1.5px solid #E7DDD3;border-radius:11px;padding:0 12px;font:700 14.5px var(--f-ui);color:#3F2021;background:#fff;box-sizing:border-box}
.av-ed .av-sec{border:0;margin:18px 26px 0;padding:0}.av-ed .av-sec h3{margin:0 0 10px;font:800 15px var(--f-ui);color:#3F2021;padding-left:10px;border-left:4px solid #C8102E}
.av-ed .av-q{background:#fff;border:1px solid #EFE6DE;border-radius:16px;padding:14px 16px;margin:0 0 10px}.av-ed .av-q.nc{background:#FFF8F9;border-color:#F5C9D0;box-shadow:inset 4px 0 0 #C8102E}.av-ed .av-q.na{background:#FBF9F6}
.av-ed .av-qt{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.av-ed .av-n{flex:0 0 28px;height:28px;border-radius:50%;background:#F3EBDD;color:#5A4A33;display:grid;place-items:center;font:800 12.5px var(--f-ui);font-style:normal}
.av-ed .av-q.nc .av-n{background:#C8102E;color:#fff}.av-ed .av-qt b{flex:1 1 280px;min-width:0;font:700 14.5px/1.45 var(--f-ui);color:#3F2021;padding-top:3px}
.av-seg{display:inline-flex;background:#F6F1EC;border-radius:12px;padding:4px;gap:4px;flex:0 0 auto}
html body .av-seg button{all:unset;box-sizing:border-box;cursor:pointer;padding:8px 13px;border-radius:9px;font:700 12.5px var(--f-ui);color:#6E5D57;white-space:nowrap;min-height:36px;display:inline-flex;align-items:center}
html body .av-seg button.on.yes{background:#19805B;color:#fff}html body .av-seg button.on.no{background:#C8102E;color:#fff}html body .av-seg button.on.na{background:#6E5D57;color:#fff}html body .av-seg button:focus-visible{outline:2px solid #3F2021;outline-offset:2px}
html body .av-ed .av-q textarea,html body .av-ed .av-in{display:block;width:100%;box-sizing:border-box;margin-top:12px;border:1.5px solid #E7DDD3;border-radius:12px;padding:10px 12px;font:500 14px/1.5 var(--f-ui);color:#3F2021;background:#fff;resize:vertical;min-height:44px}
html body .av-ed .av-q textarea:focus,html body .av-ed .av-in:focus,html body .av-ed .av-sig input:focus{border-color:#C8102E;box-shadow:0 0 0 3px #FDE8EB;outline:0}
.av-ed .av-ph{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.av-ed .av-ph span{position:relative;display:block;width:92px;height:92px}.av-ed .av-ph img{width:92px;height:92px;object-fit:cover;border-radius:12px;border:1px solid #E7DDD3;display:block}
html body .av-ed .av-ph button{all:unset;box-sizing:border-box;cursor:pointer;position:absolute;top:-7px;right:-7px;width:26px;height:26px;min-height:0;border-radius:50%;background:#3F2021;color:#fff;font:800 16px/1 var(--f-ui);display:grid;place-items:center;box-shadow:0 0 0 2px #fff}html body .av-ed .av-ph button:hover{background:#C8102E}
.av-foot{position:sticky;bottom:0;z-index:2;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:18px;padding:14px 26px;background:#fff;border-top:1px solid #EFE6DE;box-shadow:0 -8px 22px rgba(63,32,33,.08)}
.av-foot>span{font:600 12.5px var(--f-ui);color:#8A7771}.av-foot>div{display:flex;gap:8px}
html body .av-b{all:unset;box-sizing:border-box;cursor:pointer;min-height:44px;padding:0 20px;border-radius:13px;border:1.5px solid #E7DDD3;background:#fff;font:800 14px var(--f-ui);color:#3F2021;display:inline-flex;align-items:center}
html body .av-b.p{background:#C8102E;border-color:#C8102E;color:#fff}html body .av-b.p:disabled{opacity:.4;cursor:default}html body .av-b:focus-visible{outline:2px solid #3F2021;outline-offset:2px}
@media (max-width:700px){#detail:has(.av-ed){width:100vw!important;max-width:100vw!important;max-height:100dvh!important;height:100dvh;border-radius:0!important;margin:0!important}.av-ed .av-hd{padding:18px 16px}.av-ed .av-hd h2{font-size:20px}.av-ed .av-score{width:100%;display:flex;align-items:baseline;gap:10px;justify-content:center;padding:10px}.av-ed .av-score span{margin:0}
 .av-sum,.av-ed .av-sig,.av-ed .av-sec{margin-left:12px;margin-right:12px;padding-left:0;padding-right:0}.av-sum{padding:14px 0 0}.av-ed .av-sig{padding:12px}.av-seg{width:100%}html body .av-seg button{flex:1;justify-content:center;padding:8px 6px}html body .av-ed .av-q textarea,html body .av-ed .av-in,html body .av-ed .av-sig input{font-size:16px!important}
 .av-foot{padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.av-foot>div{width:100%}html body .av-b{flex:1;justify-content:center}}
html.dark .av-ed{background:#241a18;color:#f3ebe6}html.dark .av-ed .av-q,html.dark .av-ed .av-sig,html.dark .av-foot{background:#2a1f1d;border-color:#4a3a36}html.dark .av-ed .av-qt b,html.dark .av-ed .av-sec h3{color:#f3ebe6}html.dark .av-ed .av-q.nc{background:#3a2226;border-color:#6b2f38}
html.dark body .av-ed .av-q textarea,html.dark body .av-ed .av-in,html.dark body .av-ed .av-sig input,html.dark body .av-b{background:#33262300;background:#3a2c29;border-color:#4a3a36;color:#f3ebe6}html.dark .av-seg{background:#3a2c29}html.dark body .av-seg button{color:#d9cbc4}html.dark body .av-b.p{background:#C8102E;border-color:#C8102E;color:#fff}

/* ===== Phone layout A (21 Nov 2026, Ahmed chose design A "Clean"). Phones only, body.pa only: the computer is not touched. ===== */
@media (max-width:700px){
body.pa{--pa-bg:#F6F2ED;--pa-card:#FFFFFF;--pa-ink:#3F2021;--pa-soft:#8A7067;--pa-mute:#A8958D;--pa-line:#F1E8DF;--pa-well:#E9E1D8;--pa-red:#C8102E;--pa-redbg:#FDE8EC;--pa-green:#1F7A55;--pa-greenbg:#E5F3EC;--pa-amber:#C98A1B;--pa-amberbg:#FFF3DC;--pa-amberink:#9A5B00;--pa-blue:#3B4A9A;--pa-bluebg:#EEF0FA;--pa-shadow:0 1px 2px rgba(63,32,33,.06);background:var(--pa-bg)}
html.dark body.pa .pa-tabbar{filter:invert(1) hue-rotate(180deg)} /* dark mode works like the computer's: the colours are turned over */
body.pa #ly-tabs,body.pa #m-acts,body.pa .topbar-brand,body.pa #m-title{display:none!important}
body.pa .topbar{background:var(--pa-bg)!important;color:var(--pa-ink)!important;box-shadow:none!important;border:0!important;background-image:none!important}
body.pa .topbar::before,body.pa .topbar::after{display:none!important}
body.pa .topbar #m-back{color:var(--pa-red)!important;background:none!important;font-weight:600}
body.pa .topbar #m-back svg{stroke:var(--pa-red)!important}
body.pa .topbar #nb-ph{background:var(--pa-card)!important;color:var(--pa-ink)!important;border-radius:50%!important;box-shadow:var(--pa-shadow)!important}
body.pa .topbar #m-more{display:inline-flex!important;color:var(--pa-red)!important;background:none!important}
body.pa.pa-h .topbar{display:none!important}
body.pa #app main{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
/* large title */
body.pa #pa-title{padding:4px 2px 10px}
body.pa #pa-title small{display:block;font:500 14px/1.2 var(--f-call);letter-spacing:.06em;text-transform:uppercase;color:var(--pa-soft);margin-bottom:4px}
body.pa #pa-title h1{font-family:var(--f-title);font-weight:900;font-size:30px;line-height:1.08;letter-spacing:-.02em;color:var(--pa-ink);margin:0;text-wrap:balance}
/* bottom bar */
body.pa .pa-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:color-mix(in srgb,var(--pa-card) 94%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--pa-line);padding:7px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
body:not(.pa) .pa-tabbar{display:none!important}
body.pa .pa-tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font:700 11px/1.1 var(--f-ui);color:var(--pa-mute);background:none;border:0;position:relative;padding:2px 0;min-height:44px}
body.pa .pa-tabbar button svg{width:25px;height:25px}
body.pa .pa-tabbar button.on{color:var(--pa-red)}
body.pa .pa-tabbar button>i{position:absolute;top:-3px;left:54%;background:var(--pa-red);color:#fff;font:700 10.5px/1 var(--f-ui);font-style:normal;border-radius:8px;padding:2px 5px}
body.pa .pa-fab{width:56px;height:56px;border-radius:28px;background:var(--pa-red);color:#fff;display:flex;align-items:center;justify-content:center;margin-top:-24px;box-shadow:0 6px 16px rgba(200,16,46,.35)}
body.pa .pa-fab svg{width:28px;height:28px;stroke-width:2.6}
/* Home */
body.pa.pa-h #content>.m-greet,body.pa.pa-h #content>.home-hero,body.pa.pa-h #content>.home-grid,body.pa.pa-h #content>.m-acts{display:none!important}
body.pa.pa-h #content>.home-filters:not(.pa-open){display:none!important}
body.pa #pa-home,body.pa #pa-home2{display:flex;flex-direction:column;gap:16px;margin-bottom:16px;color:var(--pa-ink);font-family:var(--f-ui)}
body.pa .pa-hello{padding-top:6px}
body.pa .pa-hl{display:flex;align-items:center;gap:10px}
body.pa .pa-hl small{flex:1;font:500 14px/1.2 var(--f-call);letter-spacing:.06em;text-transform:uppercase;color:var(--pa-soft)}
body.pa .pa-hr{display:flex;gap:10px}
body.pa .pa-hello h1{font-family:var(--f-title);font-weight:900;font-size:clamp(22px,7.2vw,32px);letter-spacing:-.02em;line-height:1.1;margin:8px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--pa-ink)}
body.pa .pa-circ,body.pa .pa-av{width:40px;height:40px;border-radius:20px;border:0;display:flex;align-items:center;justify-content:center;position:relative;flex:none}
body.pa .pa-circ{background:var(--pa-card);color:var(--pa-ink);box-shadow:var(--pa-shadow)}
body.pa .pa-circ svg{width:21px;height:21px}
body.pa .pa-circ i{position:absolute;top:-3px;right:-3px;background:var(--pa-red);color:#fff;font:700 11px/18px var(--f-ui);font-style:normal;min-width:18px;height:18px;border-radius:9px;padding:0 4px}
body.pa .pa-av{background:var(--pa-red);color:#fff;font:800 15px/1 var(--f-ui)}
body.pa .pa-card{background:var(--pa-card);border-radius:18px;box-shadow:var(--pa-shadow);border:0;color:var(--pa-ink);text-align:left;width:100%;font-family:var(--f-ui)}
body.pa .pa-area{display:flex;align-items:center;gap:12px;padding:12px 14px}
body.pa .pa-area img{width:48px;height:48px;object-fit:contain;flex:none}
body.pa .pa-tx{flex:1;min-width:0;display:flex;flex-direction:column}
body.pa .pa-tx b{font-size:15px;font-weight:700;line-height:1.25}
body.pa .pa-tx small{font-size:13px;color:var(--pa-soft);margin-top:2px;line-height:1.35}
body.pa .pa-card>svg,body.pa .pa-rw>svg,body.pa .pa-rw0>svg{width:16px;height:16px;color:#C9B9AE;flex:none}
body.pa .pa-prog{padding:14px 16px;display:flex;flex-direction:column;gap:12px}
body.pa .pa-pg>div{display:flex;font-size:14px;font-weight:700;color:#7a6259;margin-bottom:6px}
body.pa .pa-pg>div b{margin-left:auto;color:var(--pa-ink)}
body.pa .pa-pg:last-child>div{margin-bottom:0}
body.pa .pa-bar{display:block;height:8px;background:var(--pa-line);border-radius:4px;overflow:hidden}
body.pa .pa-bar>i{display:block;height:100%;border-radius:4px}
body.pa .pa-sh{display:flex;align-items:baseline;padding:4px 4px 0;margin-bottom:-6px}
body.pa .pa-sh h2{font-family:var(--f-title);font-weight:900;font-size:20px;letter-spacing:-.02em;margin:0;color:var(--pa-ink)}
body.pa .pa-sh button{margin-left:auto;color:var(--pa-red);background:none;border:0;font:700 15px/1 var(--f-ui)}
body.pa .pa-note{margin:-8px 4px -6px;font:500 13px/1.2 var(--f-call);letter-spacing:.06em;text-transform:uppercase;color:var(--pa-soft)}
body.pa .pa-rows{display:flex;flex-direction:column;overflow:hidden;padding:0}
body.pa .pa-rw{display:flex;align-items:center;gap:12px;padding:12px 14px;border:0;border-top:1px solid var(--pa-line);background:none;width:100%;text-align:left;color:var(--pa-ink);font-family:var(--f-ui)}
body.pa .pa-rw:first-child{border-top:0}
body.pa .pa-ico{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none}
body.pa .pa-ico svg{width:19px;height:19px}
body.pa .pa-ico.r{background:var(--pa-redbg);color:var(--pa-red)}body.pa .pa-ico.a{background:var(--pa-amberbg);color:var(--pa-amberink)}body.pa .pa-ico.b{background:var(--pa-bluebg);color:var(--pa-blue)}body.pa .pa-ico.g{background:var(--pa-greenbg);color:var(--pa-green)}
body.pa .pa-pill{font:800 12.5px/1 var(--f-ui);font-style:normal;border-radius:9px;padding:7px 11px;white-space:nowrap}
body.pa .pa-pill.r{background:var(--pa-red);color:#fff}
body.pa .pa-empty{padding:18px;text-align:center;color:var(--pa-soft);font-size:14.5px}
body.pa .pa-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.pa .pa-tile{padding:14px;display:flex;flex-direction:column;gap:6px}
body.pa .pa-tile small{font-size:13px;font-weight:700;color:var(--pa-soft)}
body.pa .pa-tile b{font-family:var(--f-title);font-weight:900;font-size:27px;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums}
body.pa .pa-tile>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.pa .pa-tile em{font-style:normal;font-size:12.5px;color:var(--pa-soft)}
body.pa .pa-g{font:800 12px/1 var(--f-ui);font-style:normal;color:#fff;border-radius:6px;padding:4px 7px}
body.pa .pa-gA{background:#1F7A55}body.pa .pa-gB{background:#4C8C5E}body.pa .pa-gC{background:#9C8A3A}body.pa .pa-gD{background:#C98A1B}body.pa .pa-gE{background:#C8102E}
body.pa .pa-chg{font:800 12.5px/1 var(--f-ui);color:var(--pa-soft)}
body.pa .pa-chg.up{color:var(--pa-green)}body.pa .pa-chg.dn{color:var(--pa-red)}
body.pa .pa-sec{display:flex;flex-direction:column;padding:0 0 14px}
body.pa .pa-rw0{display:flex;align-items:center;gap:12px;padding:12px 14px}
body.pa .pa-one{display:flex;align-items:baseline;gap:8px;padding:2px 16px 0;white-space:nowrap}
body.pa .pa-one b{font-family:var(--f-title);font-weight:900;font-size:30px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
body.pa .pa-one span{font-size:15px;font-weight:400;color:var(--pa-soft)}
body.pa .pa-one-s{display:block;padding:2px 16px 0;font-size:13px;color:var(--pa-mute)}
body.pa .pa-ms{padding:0 14px}
body.pa .pa-m{background:color-mix(in srgb,var(--pa-bg) 60%,var(--pa-card));border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
body.pa .pa-m small{font-size:12.5px;font-weight:700;color:var(--pa-soft)}
body.pa .pa-m b{font-family:var(--f-title);font-weight:900;font-size:22px;letter-spacing:-.02em}
}
@media (max-width:700px){
body.pa .chat-fab:not(.is-open),body.pa #m-sel,body.pa #m-pdrop{display:none!important}
body.pa .pa-tabs{display:flex;gap:22px;overflow-x:auto;white-space:nowrap;margin:0 -12px 14px;padding:0 12px;border-bottom:1px solid var(--pa-line);scrollbar-width:none}
body.pa .pa-tabs::-webkit-scrollbar{display:none}
body.pa .pa-tabs button{background:none;border:0;font:700 15px/1 var(--f-ui);color:var(--pa-soft);padding:10px 0 12px;position:relative;flex:none}
body.pa .pa-tabs button.on{color:var(--pa-red)}
body.pa .pa-tabs button.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:2px;background:var(--pa-red)}
body.pa .pa-cn{background:var(--pa-red);color:#fff;border-radius:9px;padding:2px 7px;font:700 12px/1.2 var(--f-ui)}
}
@media (max-width:700px){
body.pa .pa-circ svg{width:21px!important;height:21px!important}
body.pa .pa-tabbar button svg{width:25px!important;height:25px!important}
body.pa .pa-fab svg{width:28px!important;height:28px!important}
body.pa .pa-ico svg{width:19px!important;height:19px!important}
}
@media (max-width:700px){body.pa .pa-circ svg,body.pa .pa-ico svg,body.pa .pa-tabbar button svg,body.pa .pa-fab svg{flex:none!important;min-width:0;max-width:none!important}
body.pa .pa-circ svg{min-width:21px}}
body:not(.pa) :is(#pa-title,#pa-tabs,#pa-home,#pa-home2,#pa-bar){display:none!important}
@media (max-width:700px){
body.pa .home-team .home-note{display:none!important}
body.pa .pa-tnote ul{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:6px}
body.pa .pa-tnote li{display:flex;gap:10px;font-size:13.5px;line-height:1.35;color:var(--pa-soft)}
body.pa .pa-tnote li span{width:96px;flex:none;font-weight:700;color:var(--pa-ink)}
body.pa .pa-tnote li b{font-weight:400}
body.pa .pa-tnote li.pa-tnx{display:block}
body.pa .pa-vsrc{display:none!important}
body.pa .pa-tlist li.pa-tnx{position:relative;padding-left:14px}
body.pa .pa-tlist li.pa-tnx::before{content:'';position:absolute;left:2px;top:.55em;width:5px;height:5px;border-radius:50%;background:var(--pa-red)}
/* phone A: column titles break only between words, never mid-word (COUN-TRY, LP AU-DIT), 21 Nov 2026 */
html.ph-web body.pa #content table th{hyphens:manual!important;-webkit-hyphens:manual!important;word-break:normal!important;overflow-wrap:normal!important}
}
body:not(.pa) .pa-tnote{display:none!important}
}
/* ===== Training upload: LMS vs Stores & Areas, and who left / moved / joined (21 Nov 2026) ===== */
.lms-box{margin-top:20px;padding-top:16px;border-top:1px solid var(--line,#E9E3DD)}
.lms-box .section-head h3{margin:0}
.lms-t td,.lms-t th{vertical-align:top}
.lms-t td:first-child,.lms-t th:first-child{width:34px;text-align:center}
.lms-t input[type=checkbox]{width:18px;height:18px;accent-color:#C8102E;cursor:pointer}
.lms-sp{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:#FFF3DC;color:#9A5B00;font-size:11px;font-weight:700}
.lms-h4{margin:18px 0 4px;font-size:15px}
.lms-det{margin-top:12px}.lms-det summary{cursor:pointer;font-weight:700;padding:8px 0}
.lms-n{margin:14px 0 0;font-weight:700;color:#C8102E}
.lms-t td:last-child{white-space:nowrap}
.lms-you{display:block;margin-top:4px;color:#C8102E;font-weight:700;font-size:12px}
.lms-mine{background:#FDF3F4;border:1px solid #F3D3D9;border-radius:12px;padding:10px 14px;margin:10px 0}.lms-mine ul{margin:6px 0 0;padding-left:18px}.lms-mine li{margin:4px 0}
.lms-find{display:block;max-width:420px;margin:6px 0 8px;font-weight:700}.lms-find input{display:block;width:100%;margin-top:6px}
.lms-ov{position:fixed;inset:0;z-index:400;background:rgba(40,20,20,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.lms-dlg{background:#fff;border-radius:18px;padding:20px 22px;width:min(640px,100%);max-height:calc(100vh - 32px);overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.lms-dlg h3{margin:0 0 6px}.lms-dlg .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lms-keep{grid-column:1/-1;display:flex;gap:8px;align-items:center;font-weight:600}
.lms-err{color:#C8102E;font-weight:700;min-height:1em;margin:8px 0 0}
@media (max-width:700px){.lms-dlg .form-grid{grid-template-columns:1fr}.lms-ov{align-items:flex-end;padding:0}.lms-dlg{border-radius:18px 18px 0 0;max-height:92vh}}
/* ===== Find a store → the store's page (21 Nov 2026) — computer and phone ===== */
html.sfp-on,html.sfp-on body{overflow:hidden}
.sfp-ov{position:fixed;inset:0;z-index:900;background:rgba(40,20,20,.45);display:flex;justify-content:center;align-items:stretch}
.sfp-pg{background:#F6F2ED;width:min(760px,100%);height:100%;display:flex;flex-direction:column;box-shadow:0 0 60px rgba(0,0,0,.25)}
.sfp-bar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 10px;background:#F6F2ED;border-bottom:1px solid #EADFD3}
.sfp-bar b{text-align:center;font-size:16px;color:#3F2021;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfp-ib{width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:#C8102E;display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 2px rgba(63,32,33,.08)}
.sfp-body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:14px 16px calc(28px + env(safe-area-inset-bottom,0px))}
.sfp-q{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid #C8102E;border-radius:16px;padding:4px 14px;color:#C8102E}
.sfp-q input{flex:1;border:0!important;outline:0;background:none!important;font:500 16px/1.3 var(--f-ui,inherit);color:#3F2021;padding:10px 0!important;box-shadow:none!important;min-width:0}
.sfp-lab{font:600 12px/1 var(--f-call,var(--f-ui,inherit));letter-spacing:.12em;text-transform:uppercase;color:#A8958D;margin:18px 2px 8px}
.sfp-list,.sfp-vl{background:#fff;border-radius:16px;overflow:hidden}
.sfp-row,.sfp-v{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:none;padding:12px 14px;border-bottom:1px solid #F1E8DF;cursor:pointer;font:inherit;color:inherit}
.sfp-row:last-child,.sfp-v:last-child{border-bottom:0}
.sfp-row>span{flex:1;min-width:0}.sfp-row b{display:block;font-size:15.5px;color:#3F2021}.sfp-row small{display:block;color:#8A7067;font-size:12.5px;margin-top:2px}
.sfp-row em{font-style:normal;color:#C8102E;font-weight:800;font-size:13px;white-space:nowrap}.sfp-row svg{color:#C9B8AE;flex:none}
.sfp-empty{color:#8A7067;text-align:center;padding:22px 10px;margin:0}
.sfp-head small{display:block;color:#8A7067;font-size:13px}.sfp-head h2{margin:4px 0;font:900 28px/1.1 var(--f-title,inherit);letter-spacing:-.02em;color:#3F2021}
.sfp-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}.sfp-chips::-webkit-scrollbar{display:none}
.sfp-ch{white-space:nowrap;padding:9px 14px;border-radius:999px;background:#fff;border:1px solid #E6DCD2;font:700 13.5px/1 var(--f-ui,inherit);color:#3F2021;cursor:pointer;flex:none}
.sfp-ch.on{background:#3F2021;border-color:#3F2021;color:#fff}
.sfp-dates{display:flex;gap:10px;margin-top:10px}.sfp-dates label{flex:1;font-size:12.5px;color:#8A7067;font-weight:700}.sfp-dates input{display:block;width:100%;margin-top:4px;font-size:16px}
.sfp-plan{display:flex;align-items:center;gap:8px;width:100%;margin-top:14px;background:#FDE8EC;border:0;border-radius:14px;padding:12px 14px;color:#3F2021;font:600 14px/1.2 var(--f-ui,inherit);cursor:pointer;text-align:left}
.sfp-plan b{color:#C8102E;font-size:18px}.sfp-plan span{margin-left:auto;color:#C8102E;font-weight:800}
.sfp-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:14px}
.sfp-t{background:#fff;border-radius:16px;padding:12px 14px}.sfp-t small{color:#8A7067;font-weight:700;font-size:12.5px}.sfp-t>b{display:block;font:900 26px/1.1 var(--f-title,inherit);color:#3F2021;margin:4px 0 2px;font-variant-numeric:tabular-nums}.sfp-t span{font-size:12px;color:#8A7067;display:flex;align-items:center;gap:6px}
.sfp-g{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:7px;color:#fff;font-weight:900;font-size:12px}
.sfp-t span.sfp-g,.sfp-g{color:#fff}
.sfp-gA{background:#1F7A55}.sfp-gB{background:#5E9C6E}.sfp-gC{background:#B79D7C}.sfp-gD{background:#C98A1B}.sfp-gE,.sfp-gF{background:#C8102E}
.sfp-d{flex:none;width:44px;text-align:center;background:#F8F3EE;border-radius:12px;padding:6px 0;font-weight:900;color:#3F2021;line-height:1.05;font-size:16px}.sfp-d small{display:block;font-weight:700;font-size:11px;color:#8A7067}
.sfp-vt{flex:1;min-width:0}.sfp-vt b{display:block;font-size:15px;color:#3F2021}.sfp-vt small{display:block;color:#8A7067;font-size:12.5px;margin-top:2px}
.sfp-vs{flex:none;text-align:right}.sfp-vs b{display:block;font-size:18px;font-weight:900;color:#3F2021;font-variant-numeric:tabular-nums}.sfp-vs .sfp-g{margin-bottom:2px}
.sfp-vr{cursor:default}
.sfp-pcb{display:inline-flex;align-items:center;gap:6px}.sfp-pcb svg{width:17px;height:17px}
.sfp-phb svg{width:21px;height:21px}
.pa-find{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;background:#fff;border:1px solid #EADFD3;border-radius:16px;padding:12px 14px;color:#8A7067;font:500 15px/1.2 var(--f-ui,inherit);cursor:pointer;text-align:left}
.pa-find svg{color:#C8102E;width:20px!important;height:20px!important;flex:none!important}
@media (max-width:700px){.sfp-ov{background:#F6F2ED}.sfp-pg{width:100%;box-shadow:none}}
html.dark .sfp-ov,html.dark .pa-find{filter:invert(1) hue-rotate(180deg)}

/* phone A: tables become cards (21 Nov 2026) — the same card rules as the old phone layout, for body.pa; the computer keeps tables */
@media (max-width:700px){
body.pa table.ph-rows,body.pa table.ph-rows tbody{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:none!important}
body.pa table.ph-rows thead{display:none!important}
body.pa :has(> table.ph-rows){overflow:visible!important;max-height:none!important;height:auto!important}
body.pa .table-wrap:has(> table.ph-rows),body.pa .cs-tw:has(> table.ph-rows){overflow:visible!important;border:0!important;background:none!important;box-shadow:none!important}
body.pa table.ph-rows tr{display:grid!important;grid-template-columns:auto repeat(6,minmax(0,1fr)) auto;column-gap:10px;row-gap:8px;align-items:start;background:#fff!important;border:1px solid #F1EAE0!important;border-radius:16px!important;padding:12px 14px!important;margin:0 0 8px!important;box-shadow:0 8px 20px -18px rgba(63,32,33,.5)}
body.pa table.ph-rows td{display:block!important;width:auto!important;min-width:0;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;font-size:14px;line-height:1.3;font-variant-numeric:tabular-nums}
body.pa table.ph-rows td::before{content:none}
body.pa table.ph-rows td.ph-c-rk{grid-column:1;grid-row:1;min-width:26px;height:26px;border-radius:8px;background:#F3ECE2!important;display:grid!important;place-items:center;font-weight:800;font-size:13px;color:var(--ink)}
body.pa table.ph-rows td.ph-c-rk:empty{visibility:hidden}
body.pa table.ph-rows td.ph-c-tt{grid-column:2/8;grid-row:1;font-weight:700;font-size:15.5px;overflow-wrap:anywhere}
body.pa table.ph-rows tr:not(:has(.ph-c-rk)) td.ph-c-tt{grid-column:1/8}
body.pa table.ph-rows td.ph-c-tt small{display:block;font-weight:500;font-size:12.5px;color:var(--muted);margin-top:2px}
body.pa table.ph-rows td.ph-c-mn{grid-column:8;grid-row:1;text-align:right!important;justify-self:end;font:800 19px/1.15 var(--f-title);white-space:nowrap!important}
body.pa table.ph-rows td.ph-c-mn::before{content:attr(data-label);display:block;font:600 9.5px/1.3 var(--f-call);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:2px;white-space:normal;max-width:110px;margin-left:auto}
body.pa table.ph-rows td.ph-c-gr{grid-column:8;grid-row:2;justify-self:end}
body.pa table.ph-rows td.ph-c-gr::before{content:none}
body.pa table.ph-rows td.ph-c-o::before{content:attr(data-label);display:block;font:600 9.5px/1.3 var(--f-call);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
body.pa table.ph-rows td.ph-c-o:empty{display:none!important}
body.pa table.ph-rows td.ph-c-o small{display:block;color:var(--muted);font-size:12px}
body.pa table.ph-rows td:not(.cs-g):not(.cs-a):not(.cs-b){background:transparent!important}
body.pa table.ph-rows td:is(.cs-g,.cs-a,.cs-b){width:fit-content!important;max-width:100%;padding:3px 8px!important;border-radius:8px!important}
body.pa table.ph-rows td.ph-c-mn:is(.cs-g,.cs-a,.cs-b){padding:4px 9px!important}
body.pa table.ph-rows td.cs-g{background:rgba(32,116,74,.13)!important}body.pa table.ph-rows td.cs-a{background:rgba(153,96,21,.15)!important}body.pa table.ph-rows td.cs-b{background:rgba(200,16,46,.12)!important}
body.pa table.ph-rows td .ly-bar{display:block;max-width:140px;margin-top:4px}
body.pa table.ph-rows tfoot{display:block}
body.pa .ph-sortbar{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 10px;padding:2px 0}
body.pa .ph-sortbar::-webkit-scrollbar{display:none}
body.pa .ph-sortbar small{font:600 10.5px var(--f-call);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);flex:none;margin-right:2px}
body.pa .ph-sortbar button{flex:none;min-height:0!important;padding:6px 12px!important;border-radius:99px!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important;font:600 13px var(--f-ui)!important;white-space:nowrap}
body.pa .ph-sortbar button.on{background:#3F2021!important;border-color:#3F2021!important;color:#fff!important}
body.pa table.ph-rows3 td.ph-c-o{font-size:13.5px}
body.pa table.ph-rows3 td.ph-c-o::before{font-size:9px;letter-spacing:.06em}
body.pa table.ph-rows td.ph-c-none{display:none!important}
body.pa table.ph-rows :is(td,th).pw-stick{position:static!important;left:auto!important;box-shadow:none!important;min-width:0!important;max-width:none!important;background:transparent!important}
body.pa table.ph-rows td.ph-c-o:has(.score-cell) .score-cell{display:inline-flex;gap:6px;align-items:center}
body.pa .pa-tk{list-style:none;margin:6px 0 4px;padding:0;display:flex;flex-direction:column;gap:8px}
body.pa .pa-tk li{position:relative;padding-left:16px;font-size:14.5px;line-height:1.4;color:var(--pa-ink)}
body.pa .pa-tk li::before{content:'';position:absolute;left:2px;top:.6em;width:6px;height:6px;border-radius:50%;background:var(--pa-red)}
}
body:not(.pa) .pa-tk{display:none!important}

/* 21 Nov 2026 (Ahmed): no zoom anywhere: scroll only (no pinch, no double-tap zoom). A photo opened big zooms by itself (pzOn). */
html{touch-action:pan-x pan-y}
/* 21 Nov 2026 (Ahmed "ابدأ"): phone cards = rows: each value on its own line, label left / number right, thin lines, colour only on the number. */
body.pa table.ph-rows tr{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:10px!important;row-gap:0!important;padding:12px 14px 6px!important;border-radius:18px!important;border:1px solid #EFE6DC!important;box-shadow:none!important;margin:0 0 10px!important}
body.pa table.ph-rows td{grid-row:auto!important;font-size:14px!important}
body.pa table.ph-rows td.ph-c-rk{grid-column:1!important;grid-row:1!important;order:0;align-self:center;width:28px;height:28px;min-width:28px!important;border-radius:9px;font-size:13px}
body.pa table.ph-rows td.ph-c-tt{grid-column:2!important;grid-row:1!important;order:0;align-self:center;font-size:16px!important;font-weight:800!important;color:#3F2021;padding-bottom:8px!important}
body.pa table.ph-rows tr:not(:has(.ph-c-rk)) td.ph-c-tt{grid-column:1/-1!important}
body.pa table.ph-rows :is(td.ph-c-mn,td.ph-c-o,td.ph-c-gr):not(.ph-c-none){grid-column:1/-1!important;justify-self:stretch!important;display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding:9px 0!important;border-top:1px solid #F3ECE4!important;background:none!important;border-radius:0!important;width:auto!important;max-width:none!important;font:700 15px/1.2 var(--f-ui)!important;color:#3F2021;text-align:right!important;font-variant-numeric:tabular-nums}
body.pa table.ph-rows td.ph-c-mn{order:1}body.pa table.ph-rows :is(td.ph-c-o,td.ph-c-gr){order:2}
body.pa table.ph-rows :is(td.ph-c-mn,td.ph-c-o,td.ph-c-gr)::before{content:attr(data-label)!important;display:block!important;font:500 13.5px/1.25 var(--f-ui)!important;letter-spacing:0!important;text-transform:none!important;color:#8A7067!important;margin:0!important;text-align:left;max-width:none!important}
body.pa table.ph-rows td.ph-c-gr::before{content:'Grade'!important}
body.pa table.ph-rows td:is(.cs-g,.cs-a,.cs-b){padding:9px 0!important}
body.pa table.ph-rows td.cs-g{color:#1F7A55!important}body.pa table.ph-rows td.cs-a{color:#A8650B!important}body.pa table.ph-rows td.cs-b{color:#C8102E!important}
body.pa table.ph-rows td .score-cell{display:inline-flex!important;align-items:center;gap:8px;flex-direction:row-reverse}
body.pa table.ph-rows td .ly-bar{display:none!important}
body.pa table.ph-rows td.ph-c-tt small{font-weight:500!important}
body.pa table.ph-rows td.ph-c-none{display:none!important}
body.pa table.ph-rows td.ph-c-tt{font-size:16px!important}
/* 21 Nov 2026 (Ahmed): the words in the phone page tab bar (Visit History · New Visit / Audit · Action Plans …) sit in the middle of each tab. */
.om-tabs button{justify-content:center!important;text-align:center!important}.om-tabs button>*{text-align:center}
/* phone layout A: long selects and the Setup list stay inside the screen (same as the old phone layout) */
body.pa #content .inline-select,body.pa #content .inline-select select{max-width:100%}
body.pa #content .inline-select{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
@media (max-width:900px){.vs{grid-template-columns:minmax(0,1fr)}.vs-list{min-width:0}}
/* table search: a hidden row stays hidden when phone tables are cards */
body.pa table.ph-rows tr.ts-hide,body.ph table.ph-rows tr.ts-hide,body.pa table.ph-rows tr[hidden],body.ph table.ph-rows tr[hidden]{display:none!important}
/* 21 Nov 2026 (Ahmed, idea B): New Visit on the phone fits ONE screen — the visits as small tiles in 2 columns with a group tag, the store
   only by search (no list), then Start. No number boxes, date or help lines on the phone. The computer is unchanged. */
.nv-tag,.nv-short{display:none}
@media (max-width:700px){
 body.pa #content:has(.nv)>.td-boxes{display:none!important}
 body.pa .nv>.nv-date,body.pa .nv>.nv-sub,body.pa .nv .nv-card:has(.nv-types) .nv-note,body.pa .nv .nv-gh,body.pa .nv .nv-search+.nv-note{display:none!important}
 body.pa .nv .nv-card{padding:14px;border-radius:18px;margin-bottom:10px}
 body.pa .nv .nv-card h2{font-size:16px;margin:0 0 10px}
 body.pa .nv .nv-card:has(.nv-types){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 body.pa .nv .nv-card:has(.nv-types)>h2{grid-column:1/-1;margin:0 0 2px}
 body.pa .nv .nv-types{display:contents}
 body.pa .nv .nv-type{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:68px;padding:9px 11px;border-radius:14px}
 body.pa .nv .nv-type b{font-size:14.5px;line-height:1.2}
 body.pa .nv .nv-type .nv-ck,body.pa .nv .nv-type .nv-long{display:none}
 body.pa .nv .nv-type .nv-short{display:block;font-size:12px}
 body.pa .nv .nv-tag{display:inline-block;font-style:normal;font-size:10.5px;font-weight:800;border-radius:6px;padding:1px 6px;margin-bottom:3px}
 .nv-t1{background:#E8F1FB;color:#2A5E9C}.nv-t2{background:#FDE8EB;color:#A0172B}.nv-t3{background:#EAF5EE;color:#1F7A55}.nv-t4{background:#FFF2D9;color:#9A5B05}.nv-t5{background:#EFEAE6;color:#6B5A55}
 body.pa .nv .nv-search input{margin-bottom:8px;padding:13px 12px}
 body.pa .nv .nv-draft{flex-wrap:nowrap;gap:8px;padding:10px 12px;margin-bottom:10px;background:#FDE8EB;border-color:#F6C9D1}
 body.pa .nv .nv-dl{min-width:0}
 body.pa .nv .nv-dl b{color:#C8102E;font-size:13.5px}
 body.pa .nv .nv-dl span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#3F2021;font-size:12.5px}
 body.pa .nv .nv-dl i{display:none}
 body.pa .nv .nv-draft .nv-btn{background:#C8102E;padding:8px 12px;min-height:40px}
 body.pa .nv .nv-draft .nv-link{font-size:12px;padding:4px 2px;white-space:nowrap}
}
@media (max-width:700px){body.pa .nv .nv-type .nv-pre{display:none}body.pa .nv .nv-picked{width:100%}body.pa .nv .nv-picked u{color:#C8102E;font-weight:800;text-decoration:none;font-size:14px}body.pa .nv{padding-bottom:12px}}
@media (max-width:700px){body.pa .nv .nv-go{position:static;margin-top:2px}body.pa .nv .nv-type{min-height:60px;padding:8px 10px}body.pa .nv .nv-tag{margin-bottom:2px}body.pa .nv .nv-card:has(.nv-types){gap:7px}}

/* ===== Languages (22 Nov 2026): Arabic letters use Noto Sans Arabic (OFL) under the brand font name; downloaded only when such letters show. ===== */
@font-face{font-family:'Tims Sans';font-style:normal;font-display:swap;font-weight:400 800;src:url(/fonts/noto-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}
html.i18n-wait body{visibility:hidden}
.oms-lang{position:fixed;inset:0;z-index:2000;background:rgba(40,22,20,.5);display:flex;align-items:flex-end;justify-content:center;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
@media (min-width:701px){.oms-lang{align-items:center}}
.oms-lang-box{width:min(420px,100%);background:#fff;color:#3F2021;border-radius:24px;padding:22px 20px 16px;box-shadow:0 30px 80px rgba(0,0,0,.35);font-family:'Tims Sans',system-ui,sans-serif}
.oms-lang-box h3{margin:0 0 6px;font-size:20px;font-weight:800}.oms-lang-box p{margin:0 0 14px;color:#8A7067;font-size:14px;line-height:1.45}
.oms-lang-list{display:grid;gap:8px}
.oms-lang-list button{display:flex;justify-content:space-between;align-items:center;width:100%;border:1.5px solid #EFE6DC;background:#fff;color:#3F2021;border-radius:14px;padding:14px 16px;font:700 17px/1.2 'Tims Sans',system-ui,sans-serif;cursor:pointer;text-align:start}
.oms-lang-list button.on{border-color:#C8102E;background:#FFF5F6;color:#C8102E}
.oms-lang-x{display:block;width:100%;margin-top:12px;border:0;background:none;color:#8A7067;font:700 15px 'Tims Sans',system-ui,sans-serif;padding:10px;cursor:pointer}
html.dark .oms-lang-box{background:#251d1b;color:#F6EDE6}html.dark .oms-lang-list button{background:#1b1514;color:#F6EDE6;border-color:#3a2f2c}html.dark .oms-lang-list button.on{background:#3d1219;color:#FF9AA8;border-color:#C8102E}
/* 22 Nov 2026 (Ahmed): My Profile scrolls inside its window (it was cut at the bottom on the phone and on short screens) */
dialog.pf-dialog{overflow:hidden auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.pf-langrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 8px}.pf-langrow b{font-size:17px}
dialog.oms-lang{width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;color:inherit}dialog.oms-lang::backdrop{background:transparent}
/* ===== Search: any word (22 Nov 2026) — stores, visit + store, pages, people, visit questions, auditor comments ===== */
.sx-go{display:flex;gap:12px;align-items:center;width:100%;text-align:left;background:#C8102E;color:#fff;border:0;border-radius:14px;padding:14px 16px;margin:4px 0 8px;cursor:pointer;font:inherit}
.sx-go>span{flex:1;min-width:0}.sx-go b{display:block;font-size:15.5px;color:#fff}.sx-go small{display:block;color:#fff;opacity:.9;font-size:12.5px;margin-top:3px}
.sx-go em{font-style:normal;font-weight:800;font-size:21px;color:#fff;white-space:nowrap}
.sx-none{color:#8A7067;margin:6px 4px 10px;font-size:13.5px}
.sx-tag{display:inline-block;font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:6px;background:#FBE3E6;color:#C8102E;margin-inline-end:6px;vertical-align:2px;letter-spacing:.02em}
.sfp-row mark{background:#FFE9A8;color:inherit;border-radius:3px;padding:0 1px}
.sfp-row b{overflow-wrap:anywhere}
.sx-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px}
.sx-chip{background:#fff;border:1px solid #E6DCD3;border-radius:999px;padding:8px 12px;font:inherit;font-size:13px;color:#3F2021;cursor:pointer}
.sx-chip{display:inline-flex;gap:6px;align-items:baseline}.sx-chip i{font-style:normal;color:#C8102E;font-weight:700}
.sx-tip{color:#8A7067;font-size:13px;margin:12px 4px 0;line-height:1.5}
.sx-more{display:block;width:100%;background:none;border:0;color:#C8102E;font:inherit;font-weight:700;font-size:13.5px;padding:12px;cursor:pointer}
.sx-qh{background:#fff;border-radius:14px;padding:14px 16px;margin:4px 0 12px}.sx-qh b{display:block;font-size:15.5px;color:#3F2021;margin-top:6px;line-height:1.4}.sx-qh small{display:block;color:#8A7067;font-size:12.5px;margin-top:6px}

/* ===== Offline visits (22 Nov 2026): the strip "No internet · … · N waiting to send" at the top of the page ===== */
.off-bar{display:flex;align-items:center;gap:10px;background:#FFF4D6;color:#5A3B00;border:1px solid #F1D48A;border-radius:12px;padding:10px 14px;margin:0 0 14px;font-size:13.5px;line-height:1.4}
.off-bar.on{background:#3F2021;color:#fff;border-color:#3F2021}
.off-bar .off-dot{width:9px;height:9px;border-radius:50%;background:#E0A100;flex:none}.off-bar.on .off-dot{background:#FF6B6B}
.off-bar .off-t{flex:1;min-width:0}
.off-bar button{flex:none;border:0;border-radius:999px;background:#C8102E;color:#fff;font:inherit;font-weight:700;font-size:13px;padding:7px 14px;cursor:pointer}
html.dark .off-bar{filter:invert(1) hue-rotate(180deg)}

.off-home{padding:22px 20px}.off-home h2{margin:0 0 6px;font-size:20px;color:#3F2021}.off-home p{margin:0 0 16px;color:#6B5550;line-height:1.5}
.off-home .off-nv{width:100%;border:0;border-radius:12px;background:#C8102E;color:#fff;font:inherit;font-weight:700;font-size:15px;padding:14px;cursor:pointer}
.off-home h3{margin:20px 0 8px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#A8958D}
.off-home .off-it{padding:10px 0;border-bottom:1px solid #F1E8DF}.off-home .off-it:last-child{border-bottom:0}.off-home .off-it b{display:block;color:#3F2021}.off-home .off-it small{color:#8A7067}
.net-off{display:none!important}   /* replaced by the offline strip (#off-bar) */
html.oms-off #pa-home>:not(.pa-hello),html.oms-off #pa-home2{display:none!important}   /* no internet: no numbers from an empty copy on Home */
/* ===== Knowledge Cafe (22 Nov 2026): folders + PDF files (dev/kc.js) ===== */
.kc{max-width:1180px}.kc-empty{color:#8A7067;text-align:center;padding:28px 12px;background:#fff;border:1px solid #F1E8DF;border-radius:16px;margin-top:6px}
.kc-path{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center;font-size:14px;color:#8A7067;margin:0 0 14px}.kc-path i{font-style:normal;color:#C9B8AE}.kc-path b{color:#3F2021}
.kc-path button{all:unset;cursor:pointer;color:#C8102E;font-weight:600}.kc-path button:hover{text-decoration:underline}.kc-path button:focus-visible{outline:2px solid #C8102E;outline-offset:2px;border-radius:4px}
.kc-bar{display:flex;gap:10px;align-items:center;margin-bottom:16px}.kc-q{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #E6DCD3;border-radius:12px;padding:0 14px;color:#8A7067;min-width:0}
.kc-q input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:15px;padding:11px 0;color:#3F2021}.kc-q:focus-within{border-color:#C8102E;box-shadow:0 0 0 3px rgba(200,16,46,.12)}
.kc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-bottom:16px}.kc-grid.kc-big{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.kc-f{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:14px;align-items:center;background:#fff;border-radius:16px;padding:16px 18px;border:1px solid #F1E8DF;box-shadow:0 1px 2px rgba(63,32,33,.05);min-width:0}
.kc-f:hover{border-color:#E8C9C2;box-shadow:0 6px 18px rgba(63,32,33,.08)}.kc-f:focus-visible{outline:2px solid #C8102E;outline-offset:2px}.kc-f>span{min-width:0}
.kc-f b{display:block;color:#3F2021;font-size:15.5px;overflow-wrap:anywhere}.kc-f small{color:#8A7067;font-size:12.5px}.kc-f .kc-fi{flex:none}
.kc-f.big{padding:22px}.kc-f.big b{font-size:18px}.kc-f.big .kc-fi{width:46px;height:46px}
.kc-h{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#A8958D;margin:24px 2px 10px}
.kc-list{background:#fff;border-radius:16px;border:1px solid #F1E8DF;overflow:hidden}.kc-r,.kc-ar{display:flex;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid #F1E8DF}.kc-r:last-child,.kc-ar:last-child{border-bottom:0}
.kc-t{flex:1;min-width:0}.kc-t b{display:block;color:#3F2021;font-size:15px;overflow-wrap:anywhere}.kc-t small{color:#8A7067;font-size:12.5px}.kc-pi,.kc-fi{flex:none}
.kc-b{border:1px solid #E6DCD3;background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-weight:700;font-size:13px;color:#3F2021;cursor:pointer;white-space:nowrap}
.kc-b.p{background:#C8102E;border-color:#C8102E;color:#fff}.kc-b.danger{background:#fff;border-color:#C8102E;color:#C8102E}.kc-b:disabled{opacity:.5;cursor:default}.kc-b:focus-visible{outline:2px solid #C8102E;outline-offset:2px}
.kc-new{font-style:normal;background:#E8F5EC;color:#1E7B3C;font-size:11px;font-weight:700;border-radius:6px;padding:2px 7px;margin-left:8px;vertical-align:1px}
.kc-view{position:fixed;inset:0;z-index:1000;background:rgba(30,16,16,.55);display:flex;flex-direction:column;padding:20px}
.kc-vbar{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px 14px 0 0;padding:10px 12px 10px 18px}.kc-vbar b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3F2021}.kc-vbar span{color:#8A7067;font-size:13px}
.kc-x{border:0;background:#F6F1EC;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#3F2021}
.kc-view iframe{flex:1;width:100%;border:0;background:#fff;border-radius:0 0 14px 14px}
/* the Owner's page */
.kc-adm{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
.kc-tree{background:#fff;border-radius:16px;border:1px solid #F1E8DF;padding:8px 0;max-height:70vh;overflow:auto;position:sticky;top:12px}
.kc-tn{all:unset;box-sizing:border-box;cursor:pointer;display:flex;gap:8px;align-items:center;width:100%;padding:7px 12px;font-size:14px;color:#3F2021}.kc-tn span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kc-tn svg{width:20px;height:20px;flex:none}.kc-tn em{font-style:normal;font-size:10.5px;font-weight:700;color:#8A7067;background:#F6F1EC;border-radius:6px;padding:1px 6px}.kc-tn:hover{background:#FBF6F2}.kc-tn.on{background:#FBE3E6;font-weight:700}
.kc-acts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.kc-inl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#FFF8EC;border:1px solid #F3DDB0;border-radius:12px;padding:10px 12px;margin:0 0 12px}
.kc-inl input[type=text],.kc-inl select{flex:1;min-width:180px;border:1px solid #E6DCD3;border-radius:10px;padding:8px 10px;font:inherit;background:#fff}.kc-inl span{flex:1 1 100%;color:#5A3B00}
.kc-alist .kc-inl{margin:0;border-radius:0;border-left:0;border-right:0}
.kc-opts{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;background:#fff;border:1px solid #F1E8DF;border-radius:12px;padding:12px 16px;margin-bottom:12px;font-size:14px}
.kc-who{display:flex;gap:10px;align-items:center}.kc-who select{border:1px solid #E6DCD3;border-radius:8px;padding:6px 10px;font:inherit;background:#fff}.kc-ck{display:flex;gap:6px;align-items:center;cursor:pointer}
.kc-ra{display:flex;gap:4px}.kc-ra button{border:0;background:none;color:#8A7067;font:inherit;font-size:12.5px;font-weight:600;padding:6px 8px;border-radius:8px;cursor:pointer}.kc-ra button:hover{background:#F6F1EC;color:#3F2021}
.kc-lk{all:unset;cursor:pointer;display:block;color:#3F2021;font-weight:700;font-size:15px}.kc-lk:hover{color:#C8102E}
.kc-drop{border:2px dashed #E0C9BE;border-radius:16px;padding:22px;text-align:center;color:#8A7067;margin-top:14px;font-size:14px}.kc-drop.on{border-color:#C8102E;background:#FBE3E6;color:#C8102E}
.kc-upl{background:#fff;border:1px solid #F1E8DF;border-radius:12px;margin-bottom:12px;max-height:260px;overflow:auto}.kc-uprow{display:flex;gap:10px;justify-content:space-between;padding:8px 14px;border-bottom:1px solid #F1E8DF;font-size:13.5px}
.kc-uprow b{min-width:0;overflow-wrap:anywhere;color:#3F2021;font-weight:600}.kc-uprow small{flex:none;color:#8A7067}.kc-uprow.ok small{color:#1E7B3C;font-weight:700}.kc-uprow.bad small{color:#C8102E;font-weight:700}
/* management: the Knowledge Cafe page replaces the report area */
html.kc-on.kc-on #app main #filters,html.kc-on.kc-on #app main #nav,html.kc-on.kc-on #app main #content,html.kc-on.kc-on #app #pa-tabs,html.kc-on.kc-on #app #csv,html.kc-on.kc-on #app #html-export,html.kc-on.kc-on #app #xlsx-export,html.kc-on.kc-on #app #pdf{display:none!important}
.kc-dot{width:9px;height:9px;border-radius:50%;background:#FFD24D;margin-left:auto;box-shadow:0 0 0 2px rgba(255,255,255,.6)}
.kc-card{margin-top:16px}.kc-card .kc-list{border:0}
@media (max-width:700px){.kc-grid,.kc-grid.kc-big{grid-template-columns:1fr}.kc-r{padding:12px 14px}.kc-dlb{display:none}.kc-adm{grid-template-columns:1fr}.kc-tree{position:static;max-height:240px}.kc-view{padding:0}.kc-vbar{border-radius:0}.kc-view iframe{border-radius:0}.kc-ar{flex-wrap:wrap}.kc-ra{width:100%;justify-content:flex-end}}
html.dark .kc-view{filter:none}
html.dark #kc-page,html.dark .kc-adm{filter:invert(1) hue-rotate(180deg)}

/* Visit History: visit-type tabs (22 Nov 2026; 23 Nov: under the number boxes, in the middle, they change the whole page) — red pills */
.mv-tabs-row{display:flex;justify-content:center;margin:2px 0 18px}
.mv-tabs{display:inline-flex;gap:4px;padding:5px;background:linear-gradient(135deg,#d5142f,#a50d26);border-radius:999px;box-shadow:0 8px 22px rgba(160,13,38,.2);max-width:100%;overflow-x:auto;scrollbar-width:none}
.mv-tabs::-webkit-scrollbar{display:none}
.mv-tabs button{border:0;background:transparent;color:#fff;font:inherit;font-weight:700;font-size:13.5px;padding:8px 16px;border-radius:999px;white-space:nowrap;cursor:pointer;min-height:38px;transition:background-color .22s ease,color .22s ease}
.mv-tabs button:hover{background:rgba(255,255,255,.14)}
.mv-tabs button.on{background:#fff;color:var(--red,#C8102E)}
.mv-tabs .n{display:inline-block;margin-left:7px;background:#fff;color:var(--red,#C8102E);border-radius:99px;font-size:11.5px;padding:0 7px;line-height:18px}
.mv-tabs button.on .n{background:var(--red,#C8102E);color:#fff}
html[dir=rtl] .mv-tabs .n{margin-left:0;margin-right:7px}

/* Present button next to Sign Out (22 Nov 2026) — computer only; looks like Sign Out */
#app #present{background:none!important;border:1px solid rgba(255,255,255,.4)!important;border-radius:10px!important;box-shadow:none!important;color:#fff!important;font:600 12.5px var(--f-ui)!important;padding:8px 10px!important;min-height:0;cursor:pointer;white-space:nowrap;margin:0 6px 0 0;transition:background-color .2s ease}
#app #present:hover,#app #present[aria-pressed=true]{background:rgba(255,255,255,.16)!important}
html[dir=rtl] #app #present{margin:0 0 0 6px}
@media (max-width:700px){#present{display:none!important}}
body.pa #present,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #present{display:none!important}
@media print{#present{display:none!important}}

/* Settings → Page names (22 Nov 2026) */
.pn-c{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.pn-c .sx-txt{width:200px;max-width:100%}.pn-r small{color:#1f7a4d}
/* phone: a tab comes in blurred without sliding sideways (a sideways move made the page wider than the screen for a moment) */
@media (max-width:700px){#content.mo-in.mo-r>*,#content.mo-in.mo-l>*{animation-name:moKid}}

/* drawn again while coming in (23 Nov 2026): the new blocks carry on from where the entrance is, no second blink */
#content.mo-in.mo-again>*{animation-delay:var(--mo-skip,0s)!important}
/* 23 Nov 2026 (Ahmed): the red page tabs always in ONE place — right under the page title, above the filters and Leadership Notes
   (they used to sit under the filters / notes, so they moved from page to page). Computer only; the phone keeps its own place. */
html.pro.pro main>#nav{order:1!important}
/* Accounts table (23 Nov 2026, Ahmed: the borders looked broken): the View As / Delete column no longer floats over the others (it covered
   Dashboards / Status / Access once the fifth chip, Knowledge Cafe, made the table wider); narrower columns, the two buttons one under the other. */
html body .users-table td.row-actions,html body .users-table th:last-child{position:static!important;box-shadow:none!important}
html body .users-table th:last-child{background:inherit}
html body .users-table td.row-actions{white-space:normal;width:92px;padding-left:8px}
html body .users-table td.row-actions>button,html body .users-table td.row-actions>.btn{display:block;width:100%;margin:3px 0!important;padding:7px 10px!important}
html body .users-table td:nth-child(2){min-width:140px}
html body .users-table td:nth-child(3){min-width:170px;max-width:210px}
html body .users-table td:nth-child(4){min-width:120px}
html body .users-table .dchips{grid-template-columns:repeat(2,max-content);gap:3px}
html body .users-table .dchip{padding:2px 7px!important;font-size:10.5px!important}
html body .users-table td:nth-child(5){max-width:165px;white-space:normal}
html body .users-table td:nth-child(8){max-width:120px;white-space:normal!important}
html body .users-table td:nth-child(8) *{white-space:normal!important}

/* search close button: the X in the middle of its circle (23 Nov 2026; a general button padding pushed it 4 px right) */
html body .sfp-ib{padding:0!important}

/* Search → account card (23 Nov 2026) */
.sx-acc{background:#fff;border-radius:18px;padding:18px 20px;margin:6px 0;box-shadow:0 1px 2px rgba(63,32,33,.06)}
.sx-acc-h b{display:block;font-size:19px;color:#3F2021}.sx-acc-h small{color:#7a6560}
.sx-acc-d{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px 18px;margin:16px 0}
.sx-acc-d dt{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8a7570;margin:0}.sx-acc-d dd{margin:2px 0 0;font-weight:600;color:#3F2021}
.sx-acc-b{display:flex;gap:8px;flex-wrap:wrap}

/* Overview cards: the period box (23 Nov 2026) — red like the Period box of the Visits filter; more than one period can be ticked */
.hp-per{display:inline-block;position:relative}
.hp-per .msd{min-width:190px}
html body .hp-per .msd-btn{background:linear-gradient(135deg,#d5142f,#a50d26)!important;color:#fff!important;border:0!important;border-radius:14px!important;padding:8px 14px!important;box-shadow:0 6px 16px rgba(160,13,38,.22)!important;text-align:left}
html body .hp-per .msd-btn small{color:rgba(255,255,255,.85)!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:10px!important}
html body .hp-per .msd-btn span,html body .hp-per .msd-btn i{color:#fff!important;font-weight:800}
.hp-per .msd-pop{right:0;left:auto;min-width:260px;z-index:30}
html body .hp-one{display:inline-flex;flex-direction:column;background:linear-gradient(135deg,#d5142f,#a50d26);border-radius:14px;padding:7px 12px 6px;box-shadow:0 6px 16px rgba(160,13,38,.22);min-width:190px}
html body .hp-one small{color:rgba(255,255,255,.85);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:10px}
html body .hp-one select.home-per{background:transparent!important;color:#fff!important;border:0!important;font-weight:800;padding:0!important;min-height:0!important;box-shadow:none!important;width:100%}
html body .hp-one select.home-per option,html body .hp-one select.home-per optgroup{color:#3F2021}

/* Admin → Staff (23 Nov 2026) */
.stf-acts{display:flex;gap:8px}.stf-tools{display:flex;gap:8px;flex-wrap:wrap}.stf-tools input{flex:1 1 260px}.stf-n{margin:6px 0 10px}
.stf-table td small{display:block;color:#8a7570;font-size:11px}.stf-table .stf-tag{display:inline-block;margin-top:2px;color:#a65f00;font-weight:700}
.stf-table tr.stf-hand td:first-child{box-shadow:inset 3px 0 0 #e3a33b}
.stf-dlg{border:0;border-radius:20px;padding:0;max-width:560px;width:calc(100% - 32px)}.stf-f{padding:22px 24px;display:grid;gap:10px}
.stf-f label{display:grid;gap:4px;font-weight:600;font-size:13px}.stf-f input,.stf-f select{font:inherit;padding:9px 11px;border:1px solid #e3d9d0;border-radius:10px}
.stf-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stf-f details{border:1px solid #efe6dd;border-radius:12px;padding:10px 12px}.stf-f summary{cursor:pointer;font-weight:700}
.stf-b{display:flex;gap:8px;align-items:center}.stf-b span{flex:1}.stf-err{color:#c8102e;font-weight:600;margin:0}

/* Admin → Activity → Usage (23 Nov 2026) */
.usg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.usg-head h3{margin:0}.usg-tools{display:flex;gap:8px;align-items:center}
.usg-tabs{margin:0 auto 14px;width:max-content;max-width:100%}
.usg-ks{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:14px}
.usg-k{background:#fff;border-radius:18px;padding:16px 18px;box-shadow:0 1px 2px rgba(63,32,33,.06)}.usg-k small{display:block;color:#7a6560;font-weight:700}.usg-k b{display:block;font-size:30px;color:#3F2021;margin:4px 0}.usg-k b small{display:inline;font-size:15px;color:#9a8580}.usg-k span{color:#7a6560;font-size:13px}
.usg-trend{display:flex;align-items:flex-end;gap:3px;height:120px;padding-top:8px}.usg-trend i{flex:1;height:var(--h);min-height:2px;background:linear-gradient(#d5142f,#a50d26);border-radius:5px 5px 2px 2px}
.usg-tx{display:flex;justify-content:space-between;color:#8a7570;font-size:12px;margin-top:6px}
.usg-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media (max-width:900px){.usg-2{grid-template-columns:1fr}}
.usg-bar{display:grid;grid-template-columns:minmax(0,1.2fr) 1fr 48px;gap:10px;align-items:center;margin:7px 0;font-size:13px}.usg-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usg-bar i{height:12px;border-radius:6px;background:linear-gradient(90deg,#d5142f,#a50d26);width:var(--w)}.usg-bar b{text-align:right}
.usg-heat{display:grid;grid-template-columns:36px repeat(24,1fr);gap:2px;font-size:11px;color:#8a7570;align-items:center}.usg-heat em{font-style:normal;text-align:center}.usg-heat i{aspect-ratio:1;border-radius:3px;background:rgba(200,16,46,var(--o));outline:1px solid #f1e8e1}
.usg-note{margin-top:8px}.usg-table td small{display:block;color:#8a7570;font-size:11px}.usg-sort{all:unset;cursor:pointer;color:inherit;font:inherit}.usg-sort.on{text-decoration:underline}
/* Admin → Activity → Send Email (23 Nov 2026) */
.sm-grid{display:grid;gap:16px}
.sm-c .section-head{flex-wrap:wrap;gap:4px 12px}
.sm-f{display:grid;gap:6px;margin-top:14px}
.sm-f>label{font-weight:700;font-size:13px}
.sm-f input:not([type=checkbox]):not([type=file]),.sm-f textarea{font:inherit;padding:10px 12px;border:1px solid #e3d9d0;border-radius:12px;width:100%;box-sizing:border-box;background:#fff}
.sm-f textarea{resize:vertical;min-height:170px;line-height:1.55}
.sm-to{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 8px;border:1px solid #e3d9d0;border-radius:12px;background:#fff;min-height:44px;cursor:text}
.sm-to input{flex:1;min-width:160px;border:0!important;padding:6px 4px!important;outline:0;background:transparent!important}
.sm-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 4px 4px 10px;border-radius:99px;font-size:13px;font-weight:600;background:#F3EBDD;color:#3F2021;max-width:100%}
.sm-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-chip.sm-s{background:#E9F5EE;color:#19805B}.sm-chip.sm-g{background:#FDE8EB;color:#C8102E}
.sm-chip button{width:22px;height:22px;min-height:0;border-radius:50%;border:0;background:rgba(0,0,0,.06);color:inherit;padding:0!important;line-height:1;font-size:15px;cursor:pointer}
.sm-pick{border:1px solid #efe6dd;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(63,32,33,.10);max-height:300px;overflow:auto;padding:4px}
.sm-pick button{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;background:none;padding:9px 10px;border-radius:9px;cursor:pointer;font:inherit}
.sm-pick button:hover,.sm-pick button.on{background:#FBF3EE}
.sm-pick small{color:#8A7771;white-space:nowrap}.sm-pick p{margin:8px 10px}
.sm-quick{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.sm-quick select{font:inherit;font-size:13px;padding:6px 10px;border:1px solid #e3d9d0;border-radius:10px;background:#fff;max-width:100%}
.sm-n{margin:2px 0 0;font-size:13px;color:#6E5D57}
.linkish{border:0;background:none;color:#C8102E;font:inherit;font-weight:600;padding:0!important;cursor:pointer;text-decoration:underline}
.sm-files{display:grid;gap:6px}
.sm-file{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:#FBF3EE}
.sm-file span{display:grid;min-width:0}.sm-file b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sm-file small{color:#8A7771}
.sm-file.bad{background:#FDE8EB}.sm-file.bad small,.sm-bad{color:#C8102E}
.sm-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.sm-attach{display:inline-flex;align-items:center;padding:7px 14px;border:1px solid #e3d9d0;border-radius:10px;cursor:pointer;font-weight:600;font-size:13px;background:#fff}
.sm-check{display:flex;gap:8px;align-items:center;margin-top:14px;font-size:14px}
.sm-acts{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-top:18px;flex-wrap:wrap}
.sm-log td{vertical-align:top}.sm-log td small{display:block;margin-top:2px}
.sm-log td:nth-child(1){white-space:nowrap}
html body .sm-quick select{width:auto!important;flex:0 1 auto;min-width:0}
@media (min-width:1100px){.sm-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}}
/* Maintenance mode (23 Nov 2026) */
#mt-screen{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:24px 16px;background:linear-gradient(160deg,#D9213D,#A50D26);color:#fff;font-family:inherit;overflow:auto}
#mt-screen .mt-card{width:min(440px,100%);text-align:center;display:grid;justify-items:center;gap:6px}
#mt-screen img{width:64px;height:64px;object-fit:contain;margin-bottom:10px}
#mt-screen h1{margin:0;font-size:30px;line-height:1.15;color:#fff}
#mt-screen .mt-ar{margin:0 0 8px;font-size:18px;opacity:.9}
#mt-screen p{margin:0;font-size:15.5px;line-height:1.55;color:#FBE6E9}
#mt-screen .mt-back{margin-top:6px;padding:8px 14px;border-radius:99px;background:rgba(255,255,255,.16);color:#fff}
#mt-screen button.primary{margin-top:18px;background:#fff!important;color:#A50D26!important;border:0;border-radius:14px;padding:12px 26px;font-weight:700;font-size:15px;cursor:pointer}
#mt-screen .mt-owner{margin-top:8px;background:none;border:0;color:#FBE6E9;text-decoration:underline;font-size:13px;cursor:pointer}
html.mt-on body{overflow:hidden}
html.dark #mt-screen{filter:none}
#mt-bar{position:sticky;top:0;z-index:9000;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:8px max(16px,env(safe-area-inset-left,0px));background:#C8102E;color:#fff;font-weight:600;font-size:13.5px}
#mt-bar button{background:#fff!important;color:#A50D26!important;border:0}
.mt-set{display:grid;gap:14px}
.mt-set label{display:grid;gap:6px;font-weight:700;font-size:13px}
.mt-set textarea,.mt-set input{font:inherit;font-weight:400;padding:10px 12px;border:1px solid #e3d9d0;border-radius:12px;width:100%;box-sizing:border-box}
.mt-state{display:grid;gap:4px;padding:14px 16px;border-radius:14px;background:#E9F5EE;color:#19805B}
.mt-state.on{background:#FDE8EB;color:#C8102E}.mt-state span{color:#6E5D57;font-size:13.5px}
.mt-acts{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.mt-red{background:#C8102E!important}
#mt-screen.mt-preview{z-index:2147483000}
/* Admin, simpler (23 Nov 2026) */
.adm4-sub{margin:0 auto 16px}
.vs-rules .sx-tabs{display:none!important}
.vs-rules .sx-foot{position:sticky;bottom:12px}
.vs-new{width:100%;margin-top:10px;justify-content:center}
.vs-te #type-editor>hr:first-child{display:none}
html body aside #nav .admin-nav button[data-adm4="mem"],html body #nav .admin-nav button[data-adm4="mem"]{display:none!important}
/* 23 Nov 2026 (Ahmed): the Period box of each Overview card sits on the right, next to Open (it was a header div, so it took half the row) */
html body .home-card>header>.hp-per{flex:0 0 auto!important;margin-left:auto}
html body .home-card>header>.hp-per+button{margin-left:0}
.hp-single .msd-acts{display:none!important}
.hp-single .msd-opt input{opacity:0;position:absolute;pointer-events:none}
.hp-single .msd-opt.on{background:#FDE8EB}
/* 23 Nov 2026 (Ahmed): the brown header row stays whole while scrolling the Accounts table (the last header cell had lost "sticky") */
html body .users-table thead th:last-child{position:sticky!important;top:0;right:auto;z-index:3;background:#3F2021!important}
html body .users-table td.row-actions{z-index:auto}
/* 23 Nov 2026 (Ahmed): Training → Store Summary, the store column was squeezed (name + code + managers one word per line) */
html body .trs-table th:first-child,html body .trs-table td.l{min-width:250px;width:250px}
html body .trs-table td.l b{display:block;white-space:normal}
html body .trs-table td.l small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
@media (max-width:700px){html body .trs-table th:first-child,html body .trs-table td.l{min-width:170px;width:170px}}
/* 23 Nov 2026: "Show more" under long lists on the phone */
.trs-more{display:flex;justify-content:center;margin:14px 0 4px}
.trs-more button{min-width:220px}
/* 23 Nov 2026: Admin sections on the phone */
.adm4-secm{display:none}
@media (max-width:700px){.adm4-secm{display:flex;gap:6px;overflow-x:auto;padding:2px 2px 10px;margin:0 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.adm4-secm::-webkit-scrollbar{display:none}
.adm4-secm button{flex:0 0 auto;border:1px solid #e3d9d0;background:#fff;color:#3F2021;border-radius:999px;padding:8px 14px;font:inherit;font-size:13.5px;font-weight:600;white-space:nowrap}
.adm4-secm button.on{background:#C8102E;border-color:#C8102E;color:#fff}}
/* Uploads: the month note warns when the month differs from the file name */
html body small.upm-warn{color:#B3261E!important;font-weight:600}
html body .mt-confirm{margin-top:14px;padding:14px 16px;border:1px solid #E7B4B0;border-left:4px solid #C8102E;border-radius:10px;background:#FFF5F4;display:flex;flex-direction:column;gap:6px}
html body .mt-confirm>span{color:#5b4a44;font-size:13px}
/* 23 Nov 2026 review: wide tables cut off on the PC. Headers and text cells may break onto two lines so the table fits its card;
   a table that is still wider shows a soft edge on the side that scrolls (tw-r / tw-l from admin4.js). */
@media (min-width:901px){
 html body .table-wrap>table:is(.bs-table,.av-t,.stores-table,.stf-table,.sc-table,.users-table) th{white-space:normal!important;vertical-align:bottom;line-height:1.25;hyphens:manual}
 html body .table-wrap>table:is(.bs-table,.av-t,.stores-table,.stf-table,.sc-table) td{white-space:normal}
 html body .table-wrap>table:is(.bs-table,.av-t,.stores-table,.stf-table,.sc-table) td :is(button,.chip,.pill,.badge,input,select){white-space:nowrap}
 html body .table-wrap>table:is(.stores-table,.stf-table,.sc-table){min-width:0!important}
}
html body .table-wrap.tw-r{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)}
html body .table-wrap.tw-l{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 36px),transparent)}
html body .table-wrap.tw-l.tw-r{-webkit-mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
@media (min-width:901px){
 html body .table-wrap>table.sc-table :is(th,td){padding:12px 6px}
 html body .table-wrap>table.sc-table :is(th,td):first-child{padding-left:14px}
 html body .table-wrap>table.sc-table .score-cell{min-width:0}
}
@media (min-width:901px){
 html body .table-wrap>table.cs-table{min-width:0!important}
 html body .table-wrap>table.cs-table th{white-space:normal!important;line-height:1.25}
}
@media (min-width:901px){html body .table-wrap>table.cs-table .cs-idc{min-width:0!important;width:auto!important}}
@media (min-width:901px){html body .table-wrap>table.cs-table :is(th,td){padding-left:8px;padding-right:8px}html body .table-wrap>table.cs-table :is(th,td):first-child{padding-left:14px}}
html body .st-accbar span.st-acc-gap{font-weight:500;color:#7F6A65;font-size:12.5px;margin-left:10px}
/* Visit Types → Emails: who gets it (24 Nov 2026) */
html body .vs-rt{border:1px solid #EDE3DA;border-radius:16px;margin-top:14px;overflow:hidden;background:#fff}
html body .vs-rt.off{opacity:.75}
html body .vs-rth{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#FBF7F3;border-bottom:1px solid #EDE3DA}
html body .vs-rth b{flex:1;font-size:15px}
html body .vs-rt.off .vs-rth{border-bottom:0}
html body .vs-rtg{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:0 32px;padding:8px 16px}
html body .vs-rtp{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed #EFE6DE;min-width:0}
html body .vs-rtp>b{font-weight:600;font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis}
html body .vs-seg{display:inline-flex;flex:0 0 auto;background:#F4EEE8;border-radius:10px;padding:3px}
html body .vs-seg button{border:0;background:transparent;font:inherit;font-size:12.5px;font-weight:700;padding:5px 11px;border-radius:8px;color:#8A7771;cursor:pointer;min-height:0;box-shadow:none}
html body .vs-seg button.on{background:#fff;color:#3F2021;box-shadow:0 1px 3px rgba(0,0,0,.12)}
html body .vs-seg button.on.to{background:#C8102E;color:#fff}
html body .vs-seg button.on.cc{background:#3F2021;color:#fff}
html body .vs-seg button.on.bcc{background:#7B6862;color:#fff}
@media (max-width:700px){.vs-mail.vs-rh{display:none}}
html body .vs-rtdel{border:0;background:transparent;color:#C8102E;font-weight:800;font-size:16px;padding:0 4px;cursor:pointer;min-height:0;box-shadow:none}
html body .vs-rta{display:flex;gap:8px;align-items:center;padding:6px 16px 12px}
html body .vs-rta select{max-width:420px}
html body .vs-rts{margin:0 16px 14px;background:#FFF8E6;border-radius:10px;padding:10px 12px;font-size:13.5px;color:#5A4A33}
html body .vs-rtwarn{color:#B3261E;font-weight:700}
@media (max-width:700px){html body .vs-rtg{grid-template-columns:1fr}}
/* v32 · Full copy of all data (Settings → System & security) and the Owner's reminder bar */
#bk-bar{position:sticky;top:0;z-index:8990;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:8px max(16px,env(safe-area-inset-left,0px));background:#FFF4E0;color:#5A3A00;border-bottom:1px solid #F0C674;font-weight:600;font-size:13.5px}
#bk-bar .bk-x{background:none!important;border:0;color:#5A3A00;font-size:15px;cursor:pointer;padding:6px 8px;min-width:36px;min-height:36px}
.bk-state{border-radius:12px;padding:11px 14px;margin:6px 0 4px;font-size:13.5px;line-height:1.55}.bk-state.good{background:#EEF7F1;color:#1F5E43}.bk-state.bad{background:#FFF4E0;color:#5A3A00;border:1px solid #F0C674}
.bk-prog{margin:8px 0 0;font:700 13px var(--f-ui);color:#3F2021}.bk-err{margin:8px 0 0;color:#A50D26;font-weight:600;font-size:13px}
.bk-key{border:1.5px solid #E7DDD3;border-radius:12px;padding:12px 14px;margin:10px 0;font-size:13.5px;line-height:1.6;background:#FFFCF8}.bk-key ol{margin:6px 0 8px;padding-left:20px}.bk-key p{margin:6px 0}
.bk-cmd{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:6px 0}.bk-cmd code{flex:1 1 260px;min-width:0;display:block;background:#2B1B1C;color:#F6EDE4;border-radius:8px;padding:10px 12px;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;word-break:break-all;user-select:all}
.bk-cmd input{flex:1 1 160px;min-width:0}.bk-ask{font-size:12.5px;color:#7F6A65;margin-right:4px}.bk-danger{color:#A50D26!important;border-color:#F3C6CE!important}
.bk-hist{margin-top:10px;font-size:13px;color:#7F6A65}.bk-hist summary{cursor:pointer;font-weight:700;color:#3F2021;padding:6px 0}.bk-hist ul{margin:4px 0 0;padding-left:18px;line-height:1.7}
html.dark #bk-bar{background:#3A2C14;color:#F6DDAE;border-color:#6B5320}html.dark #bk-bar .bk-x{color:#F6DDAE}


/* 25 Nov 2026: NPL product (Visit Types card, dashboard filter) + remove a visit type */
.vf-filters #prod-filter{order:5;display:grid!important;gap:1px;padding:6px 10px!important;border:1px solid var(--line);border-radius:10px;background:#fff;flex:1 1 calc(50% - 8px);min-width:150px!important;max-width:280px;width:auto!important;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.vf-filters #prod-filter[hidden]{display:none!important}
.vf-filters #prod-filter select{border:0!important;padding:0 18px 0 0!important;margin:0;height:auto!important;min-height:0!important;width:auto!important;max-width:240px;background-color:transparent!important;font-size:12.5px;font-weight:700;color:var(--ink);text-transform:none;letter-spacing:0;line-height:1.3;box-shadow:none;min-width:0}
.vt-prod h3,.vt-rm h3{margin:0}
.vt-prod .muted,.vt-rm .muted{margin:6px 0 0}
.vt-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}
.vt-row input{flex:1 1 220px;min-width:0;font-size:16px;padding:11px 13px;border:1px solid var(--line);border-radius:12px}
.vt-warn{margin:12px 0 0;padding:10px 13px;border-radius:12px;background:#FFF4E0;color:#5A3A00;border:1px solid #F0C674;font-size:13.5px}
.vt-list{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--line)}
.vt-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 2px;border-bottom:1px solid var(--line);font-size:14px}
.vt-list li>span{min-width:0;overflow-wrap:anywhere}
.vt-list small{color:var(--muted);text-align:right;flex:none}
.vt-now{font-style:normal;font-size:11px;font-weight:800;color:#1F5E43;background:#E3F3EA;border-radius:99px;padding:2px 9px;margin-left:8px}
.vt-rm{margin-top:18px}
.vt-rmh{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.vt-rmh>div{flex:1 1 300px;min-width:0}
.vt-rm.on{border:1px solid #F2C4CC}
.vt-rm.on h3{color:#B0001F}
.vt-sum{margin-top:14px;padding:13px 16px;border-radius:14px;background:#FFF6F7;border:1px solid #F2C4CC;font-size:14px;line-height:1.6}
.vt-sum ul{margin:4px 0 6px;padding-left:20px}
.vt-sum>span{color:var(--muted);font-size:13px}
.vt-red{background:#E4002B;color:#fff;border:0;border-radius:12px;padding:10px 16px;font-weight:800;font-size:14px;cursor:pointer}
.vt-red[disabled]{opacity:.4;cursor:not-allowed}
.vs-it.vt-gone{display:grid;gap:6px;opacity:.85}
.vs-it.vt-gone button{justify-self:start}
@media (max-width:700px){.vt-list li{flex-direction:column;align-items:flex-start;gap:3px}.vt-list small{text-align:left}.vt-row>button{flex:1 1 auto}}
.cover-dl{display:flex;justify-content:flex-end;margin:10px 0 2px}
/* Send Email: Text | HTML code (25 Nov 2026) */
.sm-mhead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.sm-mode{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px;background:#fff}
.sm-mode button{border:0;background:transparent;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700;color:var(--muted);cursor:pointer;min-height:32px}
.sm-mode button.on{background:#C8102E;color:#fff}
.sm-code{font-family:ui-monospace,Menlo,Consolas,monospace!important;font-size:12.5px!important;line-height:1.45;white-space:pre;overflow:auto}
.sm-prevwrap{margin-top:12px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#EFE7DF}
.sm-prevh{padding:8px 12px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:#fff;border-bottom:1px solid var(--line)}
.sm-prev{display:block;width:100%;height:560px;border:0;background:#EFE7DF}
@media (max-width:700px){.sm-prev{height:480px}}
/* Store Visits landing: no Visit Type box (the tiles below are the visit types) — 25 Nov 2026 */
.vf-filters #type-filter.vt-land,#type-filter.vt-land{display:none!important}
.bs-partial{margin-bottom:14px}
/* Stars of the Month by email (25 Nov 2026) */
.stm{margin-bottom:16px}
.stm .stm-l{display:block;font-size:12px;font-weight:800;color:var(--muted);margin:4px 0 6px}
.stm textarea{width:100%;font-size:15px;line-height:1.5;padding:10px 12px;border:1px solid var(--line);border-radius:12px;box-sizing:border-box}
.stm-acts{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}
@media (max-width:700px){.stm textarea{font-size:16px}.stm-acts>button{flex:1 1 auto}}

/* 25 Nov 2026: banner (kept in its own colours in dark mode) */
/* 25 Nov 2026: the banner under the hero */
.bn{position:relative;margin-top:16px;border-radius:24px;overflow:hidden;height:230px;background:#3F2021;box-shadow:0 10px 30px -22px rgba(63,32,33,.6);transition:height .35s cubic-bezier(.2,.7,.2,1)}
.bn-stage{position:absolute;inset:0}
.bn-s{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 64px 0 48px;color:#fff;pointer-events:none}
.bn-s.on{opacity:1;pointer-events:auto}
.bn-bg{position:absolute;inset:-4%;z-index:0}
.bn-s.on .bn-bg,.bn-s.on .bn-leaf{animation:bnzoom 7s ease-out forwards}
@keyframes bnzoom{from{transform:scale(1)}to{transform:scale(1.07)}}
.bn-red{background:radial-gradient(120% 140% at 85% 10%,#E4223F 0%,#C8102E 45%,#8E0A20 100%)}
.bn-esp{background:radial-gradient(120% 140% at 90% 0%,#5A2E2F 0%,#3F2021 55%,#2A1516 100%)}
.bn-cream{background:radial-gradient(130% 150% at 80% 20%,#FFFFFF 0%,#F7EEE4 55%,#EBDCCB 100%)}
.bn-wine{background:linear-gradient(120deg,#A50D26 0%,#7E0A1E 55%,#3F2021 100%)}
.bn-leaf{position:absolute;z-index:1;opacity:.12;pointer-events:none;transform-origin:center}
.bn-leaf.l1{width:330px;right:-40px;top:-70px;transform:rotate(-12deg)}
.bn-leaf.l2{width:280px;left:-70px;bottom:-110px;opacity:.08}
.bn-leaf.l3{width:300px;right:180px;top:-90px;filter:invert(17%) sepia(60%) saturate(2200%) hue-rotate(338deg);opacity:.07}
.bn-leaf.l4{width:360px;right:-90px;bottom:-150px;opacity:.1}
.bn-rays{position:absolute;inset:0;z-index:1;background:repeating-conic-gradient(from 0deg at 82% 50%,rgba(255,255,255,.06) 0 6deg,transparent 6deg 18deg);mask:radial-gradient(60% 120% at 82% 50%,#000,transparent)}
.bn-txt{position:relative;z-index:2;max-width:520px;min-width:0}
.bn-kick{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#FFD3DA;margin-bottom:8px}
.bn-txt h3{margin:0;font-size:38px;line-height:1.06;font-weight:900;letter-spacing:-.01em;text-wrap:balance;color:#fff}
.bn-txt p{margin:10px 0 0;font-size:15.5px;line-height:1.45;color:rgba(255,255,255,.86);max-width:440px}
.bn-fix .bn-txt h3{color:#3F2021;font-size:36px}.bn-fix .bn-kick{color:#C8102E}
.bn-art{position:relative;z-index:2;flex:none}
.bn-s.on .bn-art{animation:bnrise .7s cubic-bezier(.2,.7,.2,1) both .15s}
@keyframes bnrise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.bn-medals{display:flex;gap:14px}
.bn-medal{width:200px;background:#fff;color:#3F2021;border-radius:20px;padding:16px 16px 14px;text-align:center;box-shadow:0 18px 40px -20px rgba(0,0,0,.55)}
.bn-medal.m2{transform:translateY(14px)}
.bn-medal i{display:grid;place-items:center;margin:0 auto 8px;width:52px;height:52px;border-radius:50%;border:3px solid #C8102E;background:#FBF5F0;font-style:normal;font-weight:900;color:#C8102E;font-size:17px}
.bn-medal b{display:block;font-size:17px;line-height:1.2;color:#3F2021}.bn-medal small{display:block;margin-top:4px;font-size:12px;color:#7d6a65}
.bn-steps{display:flex;align-items:center;gap:10px}
.bn-steps div{width:96px;height:96px;border-radius:22px;background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.22);display:grid;place-content:center;text-align:center;font-weight:800;font-size:15px;gap:6px}
.bn-steps span{display:grid;place-items:center;margin:0 auto;width:34px;height:34px;border-radius:50%;background:#C8102E;font-size:15px}
.bn-steps i{width:22px;height:2px;background:rgba(255,255,255,.35)}
.bn-steps em{margin-left:12px;font-style:normal;font-weight:900;font-size:44px;color:#FFD3DA;letter-spacing:-.02em}
.bn-cup{width:180px;height:180px;margin-right:30px}
.bn-mug{position:absolute;left:30px;bottom:12px;width:104px;height:92px;background:#C8102E;border-radius:10px 10px 30px 30px;box-shadow:0 16px 30px -16px rgba(63,32,33,.6)}
.bn-mug::after{content:"";position:absolute;right:-30px;top:18px;width:30px;height:40px;border:10px solid #C8102E;border-left:0;border-radius:0 24px 24px 0}
.bn-mug::before{content:"";position:absolute;left:10px;right:10px;top:8px;height:8px;border-radius:9px;background:rgba(255,255,255,.25)}
.bn-steam{position:absolute;left:44px;top:10px;display:flex;gap:16px}
.bn-steam i{display:block;width:10px;height:54px;border-radius:9px;border:3px solid #3F2021;border-color:transparent #3F2021 transparent transparent;opacity:.35;animation:bnsteam 2.6s ease-in-out infinite}
.bn-steam i:nth-child(2){animation-delay:.5s}.bn-steam i:nth-child(3){animation-delay:1s}
@keyframes bnsteam{0%{transform:translateY(8px);opacity:0}40%{opacity:.4}100%{transform:translateY(-10px);opacity:0}}
.bn-ring{width:170px;height:170px;margin-right:24px;display:grid;place-items:center}
.bn-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.bn-ring circle{fill:none;stroke:rgba(255,255,255,.14);stroke-width:12}
.bn-ring circle.v{stroke:#fff;stroke-linecap:round;stroke-dasharray:314;stroke-dashoffset:314}
.bn-s.on .bn-ring circle.v{animation:bnring 1.6s cubic-bezier(.2,.7,.2,1) forwards .2s}
@keyframes bnring{to{stroke-dashoffset:94}}
.bn-ring b{position:relative;text-align:center;font-size:13px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase}
.bn-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:3}
.bn-dots button{width:9px;height:9px;padding:0;border:0;border-radius:9px;background:rgba(255,255,255,.45);cursor:pointer;transition:width .3s,background .3s}
.bn-dots button.on{width:26px;background:#fff}
.bn .bn-dots button{min-height:0;min-width:0;height:9px;padding:0;margin:0;border:0;box-shadow:none;flex:none}.bn .bn-fold{min-height:0;padding:0}
.bn-s.bn-fix.on~.bn-dots button{background:rgba(63,32,33,.3)}
.bn-fold{position:absolute;top:14px;right:14px;z-index:4;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.9);color:#3F2021;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px -6px rgba(0,0,0,.4)}
.bn-thin{position:absolute;inset:0;display:none;align-items:center;padding:0 60px 0 22px;color:#fff;font-size:14px;z-index:3;background:linear-gradient(90deg,#C8102E,#8E0A20)}
.bn.fold{height:48px}.bn.fold .bn-stage,.bn.fold .bn-dots{display:none}.bn.fold .bn-thin{display:flex}.bn.fold .bn-fold{top:6px}
.bn-wait{height:0}
.bn-photo{background:#3F2021}.bn-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bn-cap{align-self:flex-end;margin-bottom:34px}.bn-cap h3{text-shadow:0 2px 16px rgba(0,0,0,.45);font-size:30px}
.bn-link{position:absolute;inset:0;z-index:3}
@media (max-width:760px){.bn{height:280px}.bn-s{flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:20px 20px 38px}
 .bn-txt{max-width:calc(100% - 40px)}.bn-txt h3{font-size:26px}.bn-fix .bn-txt h3{font-size:25px}.bn-txt p{font-size:14px;margin-top:6px}.bn-kick{font-size:11px;margin-bottom:6px}
 .bn-art{transform:none;margin:0;max-width:100%}
 .bn-medals{gap:8px;width:100%}.bn-s.bn-stars .bn-txt p{display:none}.bn-medal{width:auto;flex:1;min-width:0;padding:10px 10px 9px;border-radius:14px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 8px;text-align:left;align-items:center}.bn-medal.m2{transform:none}
 .bn-medal i{grid-row:span 2;margin:0;width:34px;height:34px;font-size:12px;border-width:2px}.bn-medal b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bn-medal small{margin:0;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .bn-steps{gap:6px}.bn-steps div{width:62px;height:58px;border-radius:14px;font-size:12.5px;gap:3px}.bn-steps span{width:24px;height:24px;font-size:12px}.bn-steps i{width:10px}.bn-steps em{font-size:28px;margin-left:6px}
 .bn-cup,.bn-ring{display:none}.bn-fold{top:10px;right:10px;width:32px;height:32px}}
@media (prefers-reduced-motion:reduce){.bn-s.on .bn-bg,.bn-s.on .bn-leaf,.bn-s.on .bn-art,.bn-steam i,.bn-s.on .bn-ring circle.v{animation:none}.bn-s.on .bn-ring circle.v{stroke-dashoffset:94}.bn-s{transition:none}}
html.dark .bn{filter:invert(1) hue-rotate(184deg) saturate(1.3)}html.dark .bn .bn-img{filter:none}
#content .bn .bn-txt h3{margin:0;font-size:38px;line-height:1.06;font-weight:900;letter-spacing:-.01em;color:#fff;text-transform:none}#content .bn .bn-fix .bn-txt h3{color:#3F2021;font-size:36px}#content .bn .bn-cap h3{font-size:30px}
#content .bn .bn-txt p{margin:10px 0 0;color:rgba(255,255,255,.86)}#content .bn .bn-medal b{color:#3F2021}
@media (max-width:760px){#content .bn .bn-txt h3{font-size:26px}#content .bn .bn-fix .bn-txt h3{font-size:25px}#content .bn .bn-txt p{font-size:14px;margin-top:6px}}
/* Admin → Banner */
.ba-prev{margin:4px 0 16px}.ba-prev .bn{margin-top:0}
.ba-list{display:grid;gap:8px}
.ba-row{display:grid;grid-template-columns:auto 120px minmax(0,1fr) auto auto;gap:12px;align-items:center;border:1px solid var(--line,#EFE4D8);border-radius:14px;padding:10px 12px;background:var(--card,#fff)}
.ba-row.off{opacity:.55}.ba-mv{display:flex;flex-direction:column;gap:4px}.ba-mv button{min-width:34px;padding:2px 0}
.ba-th{width:120px;height:44px;border-radius:9px;object-fit:cover;display:block;background:#3F2021}
.ba-th.ba-stars{background:linear-gradient(120deg,#E4223F,#8E0A20)}.ba-th.ba-plan{background:linear-gradient(120deg,#5A2E2F,#2A1516)}.ba-th.ba-fix{background:linear-gradient(120deg,#fff,#EBDCCB);border:1px solid #EFE4D8}.ba-th.ba-learn{background:linear-gradient(120deg,#A50D26,#3F2021)}
.ba-info{min-width:0;display:grid;gap:4px}.ba-info small{color:var(--muted,#7d6a65)}.ba-info input{width:100%;min-height:36px}
.ba-sw{display:inline-flex;align-items:center;gap:6px;font-weight:700;cursor:pointer}
.ba-foot{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:14px}.ba-foot [data-ba-save]{margin-left:auto}.ba-add{display:inline-flex;align-items:center;cursor:pointer;border-radius:999px;padding:9px 16px}
@media (max-width:700px){.ba-row{grid-template-columns:auto minmax(0,1fr) auto}.ba-th{grid-column:2;width:100%;height:56px}.ba-info{grid-column:1/-1}.ba-row .danger{grid-column:1/-1}}

/* "No pages yet": the welcome page (25 Nov 2026) */
.np-page{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:24px max(16px,env(safe-area-inset-right,0px)) 24px max(16px,env(safe-area-inset-left,0px));background:linear-gradient(150deg,#c8102e 0%,#9e0c24 100%);overflow:hidden}
.np-bg{position:absolute;right:-8vmin;bottom:-10vmin;width:62vmin;max-width:none;opacity:.10;pointer-events:none}
.np-card{position:relative;width:100%;max-width:440px;min-width:0;margin:auto;background:#fff;color:#2b1a14;border-radius:24px;padding:36px 32px 28px;text-align:center;box-shadow:0 24px 60px rgba(60,0,10,.28)}
.np-leaf{width:64px;height:64px;object-fit:contain;display:block;margin:0 auto 14px}
.np-card h1{margin:0 0 6px;font-size:28px;line-height:1.2;text-wrap:balance}
.np-lead{margin:0 0 10px;font-size:17px;font-weight:700;color:#c8102e}
.np-txt{margin:0 auto 24px;max-width:32ch;font-size:15px;line-height:1.55;color:#6b5a52}
.np-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.np-act button{min-width:130px}
.np-mail{display:block;margin-top:18px;color:#8a7a72;font-size:12.5px;word-break:break-all}
html.dark .np-card{background:#241815;color:#f3e9e2}html.dark .np-txt{color:#c9b8ae}html.dark .np-mail{color:#a8968c}html.dark .np-lead{color:#ff6b7d}
/* the No pages yet chip and switch line in Admin */
.dchip.np{border-style:dashed}.dchip.np.on{background:#2b1a14;border-color:#2b1a14;color:#fff;border-style:solid}
.pm-ln.pm-np{background:rgba(200,16,46,.04);border-radius:12px}

/* drawn marks in the small circles (25 Nov 2026) */
svg.mk{width:1em;height:1em;display:block;flex:none;overflow:visible}
/* 25 Nov 2026 (Ahmed): numbers and words sit in the middle of their circles and pills */
.tab-count,.desig-chip>span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 6px;line-height:1;box-sizing:border-box;vertical-align:middle;font-variant-numeric:tabular-nums}
.mv-chips{align-items:center}.mv-chips span{display:inline-flex;align-items:center;line-height:1.3}
/* BN2-START — 26 Nov 2026: games inside the banner + the big window for the longer games (portal and store portal) */
.bn-s.bn-g{padding:0;display:block;container-type:inline-size}
.bn .bg{position:absolute;inset:0;overflow:hidden;color:#fff;font-family:'Tims Sans',system-ui,sans-serif;user-select:none;-webkit-user-select:none}
.bn .bg-side{position:absolute;top:50%;transform:translateY(-50%);max-width:230px;z-index:1}
.bn .bg-side b{display:block;font-size:28px;font-weight:900;line-height:1.05;letter-spacing:-.01em}
.bn .bg-side small{display:block;font-size:14px;font-weight:600;line-height:1.35;margin-top:8px;color:rgba(255,255,255,.85)}
.bn .bg-side.l{left:44px}.bn .bg-side.r{right:70px}
@container (max-width:900px){.bn .bg-side{display:none}}
.bn .bg-msg,.bg-mo .bg-msg{position:absolute;left:0;right:0;bottom:34px;text-align:center;font-size:15px;font-weight:700;line-height:1.2;padding:0 16px;z-index:2}
.bn .bg-fx{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}
.bg-cf{position:absolute;width:9px;height:14px;border-radius:2px;pointer-events:none}
.bn .bg-pill,.bg-mo .bg-pill{font:inherit;font-size:14px;font-weight:800;border:0;border-radius:30px;padding:10px 18px;cursor:pointer;background:#C8102E;color:#fff;box-shadow:0 8px 14px -8px rgba(0,0,0,.5);min-height:0;min-width:0;line-height:1}
.bn .bg-pill.light,.bg-mo .bg-pill.light{background:#fff;color:#3F2021;padding:7px 12px;margin-left:6px}
.bn .bg-pill:disabled{opacity:.6}
.bn .bg :focus-visible,.bg-mo :focus-visible{outline:3px solid #F3C969;outline-offset:3px}
/* Jackpot */
.bn .bg-jp{background:radial-gradient(90% 150% at 50% 30%,#E4223F 0%,#B00E28 50%,#6E0919 100%)}
.bn .bg-rays{position:absolute;left:50%;top:50%;width:1800px;height:1800px;margin:-900px 0 0 -900px;border-radius:50%;background:repeating-conic-gradient(rgba(255,255,255,.07) 0 6deg,transparent 6deg 18deg)}
.bn .bg-mach{position:absolute;left:calc(50% - 12px);top:50%;transform:translate(-50%,-62%);width:min(320px,calc(100% - 90px));padding:9px 13px 11px;border-radius:22px;background:linear-gradient(#4A2627,#2A1516);box-shadow:0 0 0 4px #F3C969,0 16px 26px -12px rgba(0,0,0,.6);cursor:pointer;z-index:1}
.bn .bg-ttl{height:20px;display:flex;align-items:center;justify-content:center;font-family:'Tims Callout',sans-serif;font-weight:600;font-size:15px;letter-spacing:.14em;color:#F3C969}
.bn .bg-mach.win .bg-ttl{color:#fff}
.bn .bg-reels{display:flex;gap:9px;margin-top:6px}
.bn .bg-rw{position:relative;flex:1;height:86px;border-radius:12px;background:linear-gradient(#fff,#F2E8DC 50%,#fff);overflow:hidden;box-shadow:inset 0 8px 12px -8px rgba(0,0,0,.35),inset 0 -8px 12px -8px rgba(0,0,0,.35)}
.bn .bg-strip{position:absolute;left:0;right:0;top:0;will-change:transform}
.bn .bg-sym{height:86px;display:grid;place-items:center}
.bn .bg-sym img{width:48px;height:auto}
.bn .bg-ok,.bn .bg-x{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#1E9E5A}
.bn .bg-x{background:#C8102E}
.bn .bg-100{font-family:'Tims Callout',sans-serif;font-weight:700;font-size:36px;color:#C8102E}
.bn .bg-tbit{width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#E3A867,#B26E33 55%,#7A4520)}
.bn .bg-bulbs{position:absolute;left:12px;right:12px;height:10px;display:flex;justify-content:space-between}
.bn .bg-bulbs.t{top:-14px}.bn .bg-bulbs.b{bottom:-14px}
.bn .bg-bulbs i{width:9px;height:9px;border-radius:50%;background:#FFE7A8;box-shadow:0 0 8px 2px rgba(255,220,130,.8);opacity:.35;animation:bgbulb 1.05s steps(1) infinite}
.bn .bg-bulbs i:nth-child(3n+2){animation-delay:.35s}.bn .bg-bulbs i:nth-child(3n){animation-delay:.7s}
.bn .bg-mach.win .bg-bulbs i{animation-duration:.3s}
@keyframes bgbulb{0%{opacity:1}34%{opacity:.35}}
.bn .bg-lever{position:absolute;right:-30px;top:16px;width:22px;height:104px;cursor:grab;touch-action:none}
.bn .bg-rod{position:absolute;left:6px;bottom:0;width:10px;height:100%;border-radius:5px;background:#D9D2CB;transform-origin:50% 100%;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.bn .bg-rod:before{content:"";position:absolute;left:-10px;top:-14px;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FF6B7E,#C8102E);box-shadow:0 4px 8px -3px rgba(0,0,0,.5)}
.bn .bg-lever.drag .bg-rod{transition:none}
/* Spin the wheel */
.bn .bg-wh{background:radial-gradient(90% 150% at 50% 30%,#5E3233 0%,#3F2021 50%,#241213 100%)}
.bn .bg-wl{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:34px;padding:0 20px 18px}
.bn .bg-wbox{position:relative;width:168px;height:168px;flex:none}
.bn .bg-wheel{position:relative;width:100%;height:100%;border-radius:50%;cursor:pointer;box-shadow:0 0 0 6px #F3C969,0 14px 24px -10px rgba(0,0,0,.6)}
.bn .bg-wheel b{position:absolute;left:50%;top:50%;width:0;height:0}
.bn .bg-wheel b span{position:absolute;left:-12px;top:-76px;width:24px;text-align:center;font-family:'Tims Callout',sans-serif;font-weight:700;font-size:16px}
.bn .bg-hub{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:#fff;display:grid;place-items:center;pointer-events:none;box-shadow:0 4px 10px -4px rgba(0,0,0,.5)}
.bn .bg-hub img{width:34px;height:auto}
.bn .bg-ptr{position:absolute;left:50%;top:-16px;margin-left:-12px;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:22px solid #fff;filter:drop-shadow(0 3px 3px rgba(0,0,0,.4));z-index:1}
.bn .bg-wtxt{width:310px;min-width:0}
.bn .bg-wtxt small{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#FFB3BF}
.bn .bg-tip{font-size:21px;font-weight:800;line-height:1.2;margin:8px 0 14px;min-height:50px;text-wrap:balance}
@container (max-width:560px){.bn .bg-wl{flex-direction:column;gap:10px;padding:8px 16px 30px}.bn .bg-wbox{width:124px;height:124px}.bn .bg-wheel b span{top:-56px;font-size:13px}.bn .bg-wtxt{width:auto;text-align:center}.bn .bg-tip{font-size:15px;margin:2px 0 8px;min-height:0}.bn .bg-wtxt small{display:none}.bn .bg-wtxt .bg-pill{padding:8px 14px}}
/* Question of the day */
.bn .bg-qz{background:radial-gradient(110% 160% at 50% 0%,#FFFFFF 0%,#F7EEE4 55%,#EAD9C6 100%);color:#3F2021}
.bn .bg-qzb{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 60px 24px;text-align:center}
.bn .bg-qzb small{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#C8102E}
.bn .bg-qzb h4{font-size:22px!important;font-weight:900;line-height:1.15;margin:7px 0 12px;max-width:640px;text-wrap:balance;color:#3F2021}
.bn .bg-ans{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
.bn .bg-ans button{font:inherit;font-size:14px;font-weight:700;line-height:1.2;border:2px solid rgba(63,32,33,.15);background:#fff;color:#3F2021;border-radius:14px;padding:9px 15px;cursor:pointer;min-width:110px;min-height:0}
.bn .bg-ans button.right{background:#1E9E5A;border-color:#1E9E5A;color:#fff}
.bn .bg-ans button.wrong{background:#C8102E;border-color:#C8102E;color:#fff}
.bn .bg-fb{margin-top:9px;font-size:13px;font-weight:700;min-height:18px;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:center}
.bn .bg-fb .g{color:#1E9E5A}.bn .bg-fb .r{color:#C8102E}
.bn .bg-fb em{font-style:normal;font-weight:600;color:#6B4A45;max-width:520px}
.bn .bg-fb button{font:inherit;font-size:13px;font-weight:800;border:0;background:#3F2021;color:#fff;border-radius:20px;padding:7px 13px;cursor:pointer;min-height:0;min-width:0}
.bn .bg-qzw{margin:0;color:#6B4A45;font-weight:600}
@container (max-width:560px){.bn .bg-qzb{padding:0 14px 26px}.bn .bg-qzb h4{font-size:16px;margin:5px 0 8px}.bn .bg-ans{flex-direction:column;width:100%;max-width:300px;gap:6px}.bn .bg-ans button{padding:7px 10px;font-size:13px}.bn .bg-fb{font-size:12px;margin-top:6px}.bn .bg-fb em{display:none}}
/* Scratch card */
.bn .bg-sc{background:radial-gradient(90% 150% at 50% 30%,#5E3233 0%,#3F2021 50%,#241213 100%)}
.bn .bg-card{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:min(420px,86%);height:128px;border-radius:18px;background:#FFF8EE;box-shadow:0 0 0 4px #F3C969,0 14px 24px -12px rgba(0,0,0,.6);overflow:hidden;color:#3F2021}
.bn .bg-ctip{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 22px}
.bn .bg-ctip small{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#C8102E}
.bn .bg-ctip b{font-size:18px;font-weight:900;line-height:1.2;margin-top:7px;text-wrap:balance}
.bn .bg-card canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;transition:opacity .5s}
@container (max-width:560px){.bn .bg-card{height:150px;top:42%}.bn .bg-ctip b{font-size:16px}}
/* Game of the day */
.bn .bg-tz{background:radial-gradient(90% 150% at 70% 20%,#5E3233 0%,#3F2021 50%,#241213 100%);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 74px 0 48px}
.bn .bg-tzt{max-width:520px;min-width:0}
.bn .bg-tzt h3{margin:0;font-size:34px;font-weight:900;line-height:1.06;letter-spacing:-.01em;color:#fff}
.bn .bg-tzt p{margin:8px 0 14px;font-size:15px;line-height:1.45;color:rgba(255,255,255,.86)}
.bn .bg-tza{width:170px;height:150px;flex:none;display:grid;place-items:center}.bn .bg-tza svg{width:150px;height:150px}
@container (max-width:560px){.bn .bg-tz{flex-direction:column;justify-content:center;text-align:center;padding:0 18px 22px;gap:2px}.bn .bg-tza{order:-1;height:60px;width:auto}.bn .bg-tza svg{width:60px;height:60px}.bn .bg-tzt h3{font-size:25px}.bn .bg-tzt p{font-size:13.5px;margin:5px 0 10px}}
.bn.as-phone{height:280px;max-width:390px}
html.dark .bn .bg img,html.dark .bn .bg canvas{filter:none}
/* the big window */
html.bg-lock,html.bg-lock body{overflow:hidden}
.bg-mo{position:fixed;inset:0;z-index:2147483000;background:rgba(30,14,15,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;font-family:'Tims Sans',system-ui,sans-serif;direction:ltr}
.bg-pn{width:min(1000px,94vw);height:min(480px,84vh);border-radius:24px;overflow:hidden;background:#241213;display:flex;flex-direction:column;box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
.bg-pn header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;color:#fff;font-size:16px;font-weight:800}
.bg-mx{width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:16px;font-weight:800;cursor:pointer;padding:0;min-height:0;min-width:0}
.bg-stage{position:relative;flex:1;overflow:hidden;color:#fff;user-select:none;-webkit-user-select:none}
@media (max-width:760px){.bg-pn{width:100vw;height:100%;border-radius:0}.bg-pn header{padding:max(14px,env(safe-area-inset-top)) 16px 12px}}
.bg-mo .bg-msg{bottom:20px}
/* bowling */
.bg-stage.bg-bowling{background:radial-gradient(90% 150% at 50% 40%,#4E2829 0%,#331A1B 55%,#1F0F10 100%);cursor:pointer}
.bg-lane{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:min(700px,92%);height:min(170px,40%);border-radius:12px;background:repeating-linear-gradient(0deg,#E9C998 0 10px,#E1BE8A 10px 20px);box-shadow:0 0 0 7px #2A1516}
.bg-aim{position:absolute;left:0;right:0;top:50%;border-top:2px dashed rgba(200,16,46,.5)}
.bg-ball{position:absolute;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#FF5A6F,#C8102E 55%,#7E0A1E);display:grid;place-items:center;box-shadow:0 6px 10px -5px rgba(0,0,0,.6)}
.bg-ball img{width:30px;height:auto}
.bg-pin{position:absolute;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;background:radial-gradient(circle,#fff 0 4px,#C8102E 4px 7px,#fff 7px);box-shadow:0 4px 6px -3px rgba(0,0,0,.5);transition:transform .7s cubic-bezier(.2,.7,.2,1),opacity .7s}
.bg-big{position:absolute;left:0;right:0;top:46%;transform:translate(0,-50%) scale(.6);text-align:center;font-family:'Tims Callout',sans-serif;font-weight:700;font-size:72px;letter-spacing:.04em;color:#fff;text-shadow:0 4px 0 #C8102E,0 10px 24px rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .2s,transform .35s cubic-bezier(.3,1.6,.5,1)}
.bg-big.on{opacity:1;transform:translate(0,-50%) scale(1)}
/* fix 6 */
.bg-stage.bg-fix6{background:radial-gradient(100% 160% at 50% 20%,#FFFFFF 0%,#F7EEE4 55%,#EAD9C6 100%);color:#3F2021}
.bg-hud{position:absolute;left:50%;top:24px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:7px 14px;border-radius:30px;background:#3F2021;color:#fff;white-space:nowrap}
.bg-hud small{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#FFB3BF}
.bg-hud b{font-family:'Tims Callout',sans-serif;font-weight:700;font-size:22px;min-width:64px;text-align:right}
.bg-row{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);display:grid;grid-template-columns:repeat(6,58px);gap:12px}
@media (max-width:480px){.bg-row{grid-template-columns:repeat(3,64px)}}
.bg-tok{width:100%;aspect-ratio:1;border-radius:14px;border:0;display:grid;place-items:center;font-family:'Tims Callout',sans-serif;font-weight:700;font-size:22px;color:#fff;background:#C8102E;cursor:pointer;box-shadow:0 8px 14px -8px rgba(63,32,33,.55);transition:transform .25s cubic-bezier(.3,1.8,.5,1),background .15s;min-height:0;min-width:0;padding:0}
.bg-tok.g{background:#1E9E5A;transform:scale(1.08)}
.bg-timer{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);width:min(380px,80%);height:8px;border-radius:8px;background:rgba(63,32,33,.12);overflow:hidden}
.bg-timer i{display:block;height:100%;width:100%;background:#C8102E;transform-origin:left;border-radius:8px}
.bg-stage.bg-fix6 .bg-msg{bottom:46px;color:#3F2021}
.bg-tb{position:absolute;width:56px;height:56px;border-radius:50%;right:12%;top:40%;background:radial-gradient(circle at 34% 28%,#F2C287 0%,#D08E4C 30%,#A9642C 62%,#6E3E1A 100%);opacity:0;transition:opacity .3s;pointer-events:none}
.bg-tb.on{opacity:1;animation:bghop .5s ease-in-out infinite alternate}
@keyframes bghop{to{transform:translateY(-10px)}}
/* spot */
.bg-stage.bg-spot{background:radial-gradient(100% 160% at 50% 20%,#FFFFFF 0%,#F7EEE4 60%,#EAD9C6 100%);color:#3F2021}
.bg-spot{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:min(620px,92%)}
.bg-spot svg{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 10px 20px -14px rgba(63,32,33,.6)}
.bg-hit{cursor:pointer}
.bg-ring{fill:none;stroke:#1E9E5A;stroke-width:5;opacity:0}
.bg-hit.bad{animation:bgshake .35s}
@keyframes bgshake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.bg-stage.bg-spot .bg-msg{color:#3F2021}
/* catch */
.bg-stage.bg-catch{background:radial-gradient(90% 150% at 50% 0%,#5E3233 0%,#3F2021 50%,#241213 100%);touch-action:none;cursor:none}
.bg-stage.bg-catch canvas{position:absolute;inset:0;width:100%;height:100%}
.bg-ov{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:rgba(36,18,19,.55);cursor:pointer;padding:0 20px}
.bg-ov b{font-size:26px;font-weight:900}.bg-ov span{font-size:15px;font-weight:600;opacity:.85;margin-top:8px}
.bg-ov[hidden]{display:none}
/* memory */
.bg-stage.bg-memory{background:radial-gradient(90% 150% at 50% 30%,#E4223F 0%,#B00E28 50%,#6E0919 100%)}
.bg-mem{--bgc:110px;position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);display:grid;grid-auto-rows:96px;gap:10px;perspective:700px}
@media (max-width:560px){.bg-mem{--bgc:minmax(0,1fr);width:92%;grid-template-columns:repeat(4,1fr)!important;grid-auto-rows:110px}}
.bg-card2{position:relative;border:0;padding:0;background:none;cursor:pointer;transform-style:preserve-3d;transition:transform .45s;min-height:0;min-width:0}
.bg-card2.up,.bg-card2.done{transform:rotateY(180deg)}
.bg-card2 .f,.bg-card2 .k{position:absolute;inset:0;border-radius:12px;-webkit-backface-visibility:hidden;backface-visibility:hidden;display:grid;place-items:center}
.bg-card2 .f{background:#3F2021;box-shadow:0 0 0 2px rgba(243,201,105,.6) inset}.bg-card2 .f img{width:32px;height:auto;opacity:.9}
.bg-card2 .k{transform:rotateY(180deg);background:#fff;color:#3F2021;font-size:13px;font-weight:800;line-height:1.15;padding:6px;text-align:center}
.bg-card2 .k i{display:block;font-size:10px;font-style:normal;letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px}
.bg-card2 .k.dev i{color:#C8102E}.bg-card2 .k.fix i{color:#1E9E5A}
.bg-card2.done .k{box-shadow:0 0 0 3px #1E9E5A inset}
@media (prefers-reduced-motion:reduce){.bn .bg-bulbs i{animation:none;opacity:.8}.bg-tb.on{animation:none}}
/* BN2-END */
/* BN2A-START — 26 Nov 2026: Admin → Banner v2 */
.ba-pv{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:2px 0 12px}
.ba-prev.ph{max-width:390px}
.ba-th.ba-jackpot{background:radial-gradient(circle at 50% 40%,#F3C969 0 14%,#E4223F 15%,#8E0A20)}
.ba-th.ba-wheel{background:conic-gradient(#C8102E 0 90deg,#F7EEE4 0 180deg,#8E0A20 0 270deg,#F3C969 0)}
.ba-th.ba-quiz{background:linear-gradient(120deg,#fff,#EBDCCB);border:1px solid #EFE4D8;position:relative}
.ba-th.ba-quiz:after{content:"?";position:absolute;inset:0;display:grid;place-items:center;font-weight:900;font-size:24px;color:#C8102E}
.ba-th.ba-scratch{background:linear-gradient(120deg,#F7D98B,#E8B04B 50%,#C98F2B)}
.ba-th.ba-today{background:linear-gradient(120deg,#5E3233,#241213);position:relative}
.ba-th.ba-today:after{content:"▶";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:18px}
.ba-grip{display:block;text-align:center;cursor:grab;color:var(--muted,#7d6a65);font-weight:900;letter-spacing:-2px;user-select:none}
.ba-row.drag{opacity:.4}.ba-row.over{outline:2px dashed var(--red,#C8102E);outline-offset:2px}
.ba-set{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:4px}
.ba-set label{display:flex;flex-direction:column;gap:3px;font-size:11.5px;font-weight:700;color:var(--muted,#7d6a65)}
.ba-set select,.ba-set input{min-height:34px;font-size:13px}
.ba-set input[type=number]{width:72px}
.ba-ph{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px}
.ba-ph img{width:40px;height:30px;object-fit:cover;border-radius:6px}
.ba-up{display:inline-flex;align-items:center;cursor:pointer;border:1px solid var(--line,#EFE4D8);border-radius:999px;padding:4px 10px;font-weight:700}
.ba-edit{justify-self:start}
.ba-games{margin-top:16px}
.ba-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 14px}
.ba-tabs button{border:1px solid var(--line,#EFE4D8);background:var(--card,#fff);border-radius:999px;padding:7px 13px;font-weight:700;font-size:13px;color:var(--ink,#3F2021)}
.ba-tabs button.on{background:var(--red,#C8102E);border-color:var(--red,#C8102E);color:#fff}
.ba-gl{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 16px;margin-bottom:12px}
.ba-gl label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--muted,#7d6a65)}
.ba-gl input[type=number]{width:90px}
.ba-qs{display:grid;gap:10px;margin-bottom:12px}
.ba-q{border:1px solid var(--line,#EFE4D8);border-radius:14px;padding:12px;display:grid;gap:8px;background:var(--card,#fff)}
.ba-qh{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ba-qh span{display:flex;gap:6px}
.ba-q input{width:100%;min-height:36px}
.ba-as{display:grid;gap:6px}
.ba-a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}
.ba-ok{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--muted,#7d6a65);cursor:pointer}
.ba-ok input:checked+span{color:#1E9E5A}
.ba-ar summary{cursor:pointer;font-weight:700;font-size:13px;color:var(--muted,#7d6a65)}
.ba-ar[open]{display:grid;gap:6px}
.ba-tips{display:grid;gap:6px;margin-bottom:10px}
.ba-tip{display:grid;grid-template-columns:auto minmax(0,1.2fr) minmax(0,1fr) auto;gap:8px;align-items:center}
.ba-pair{display:grid;grid-template-columns:auto repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:center}
.ba-tip input,.ba-pair input{min-height:36px;width:100%}
.ba-n{font-weight:800;color:var(--muted,#7d6a65);min-width:18px;text-align:right}
.ba-long{display:grid;gap:6px;margin-bottom:12px}
.ba-chk{display:flex;gap:8px;align-items:center;font-weight:600;cursor:pointer}
.ba-try{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:700px){.ba-tip{grid-template-columns:auto minmax(0,1fr) auto}.ba-tip input[dir=rtl]{grid-column:2}.ba-pair{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) auto}.ba-pair input:nth-of-type(3),.ba-pair input:nth-of-type(4){grid-column:auto}}
/* BN2A-END */
/* FB-START — 26 Nov 2026: Rate your experience card */
.fb-wrap{position:fixed;inset:auto 22px 22px auto;z-index:2147482000;font-family:'Tims Sans',system-ui,sans-serif}
.fb-card{position:relative;width:360px;max-width:calc(100vw - 32px);background:#fff;color:#3F2021;border-radius:22px;padding:18px 18px 16px;box-shadow:0 24px 50px -18px rgba(63,32,33,.55),0 0 0 1px rgba(63,32,33,.06);transform:translateY(16px);opacity:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s}
.fb-wrap.on .fb-card{transform:none;opacity:1}
.fb-grab{display:none}
.fb-x{position:absolute;right:12px;top:12px;width:32px;height:32px;border-radius:50%;border:0;background:#F4EEE8;color:#7A5D58;font-weight:800;font-size:13px;cursor:pointer;padding:0;min-height:0;min-width:0}
[dir=rtl] .fb-x{right:auto;left:12px}
.fb-k{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#C8102E}.fb-k img{width:20px;height:auto}
.fb-card h3{margin:8px 34px 12px 0;font-size:19px;font-weight:900;line-height:1.2;color:#3F2021}
.fb-faces{display:flex;gap:6px}
.fb-faces button{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 0 7px;border-radius:14px;border:2px solid #EFE4D8;background:#fff;cursor:pointer;min-height:0;min-width:0;color:#3F2021}
.fb-faces button span{font-size:26px;line-height:1}.fb-faces button small{font-size:10.5px;font-weight:700;color:#7A5D58}
.fb-faces button.on{border-color:#C8102E;background:#FFF1F3}
.fb-l{display:flex;flex-direction:column;gap:6px;margin-top:12px;font-size:12.5px;font-weight:800;color:#3F2021}
.fb-l textarea{width:100%;border:1.5px solid #EFE4D8;border-radius:12px;padding:9px 11px;font:inherit;font-size:14px;font-weight:500;color:#3F2021;background:#fff;resize:vertical;min-height:54px}
.fb-err{margin:8px 0 0;min-height:0;font-size:12.5px;font-weight:700;color:#C8102E}.fb-err:empty{display:none}
.fb-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:10px}
.fb-later{border:0;background:none;color:#7A5D58;font-weight:800;font-size:14px;cursor:pointer;padding:8px 4px;min-height:0}
.fb-send{border:0;background:#C8102E;color:#fff;border-radius:999px;padding:11px 22px;font-weight:800;font-size:14px;cursor:pointer;min-height:0}
.fb-send:disabled{opacity:.6}
@media (max-width:700px){.fb-wrap{inset:0;background:rgba(30,14,15,.45);display:flex;align-items:flex-end}
 .fb-card{width:100%;max-width:none;border-radius:26px 26px 0 0;padding:10px 18px max(22px,env(safe-area-inset-bottom));transform:translateY(100%)}
 .fb-grab{display:block;width:42px;height:5px;border-radius:5px;background:#E2D6CA;margin:0 auto 12px}.fb-x{top:22px}}
html.dark .fb-card textarea{color:#3F2021}
/* FB-END */
/* ST-START — 26 Nov 2026: My Settings (5 tabs), text size, calm motion */
.pf-bd[data-st]{display:block}
.st-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.st-tabs button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--card,#fff);border-radius:999px;padding:8px 14px;font-weight:700;font-size:13.5px;color:var(--ink,#3F2021);box-shadow:none}
.st-tabs button.on{background:var(--red,#C8102E);border-color:var(--red,#C8102E);color:#fff}
.st-pane{display:grid;grid-template-columns:1fr 1fr;gap:16px}.st-pane[hidden]{display:none}
.st-pane[data-st-pane="look"],.st-pane[data-st-pane="notif"],.st-pane[data-st-pane="start"],.st-pane[data-st-pane="security"]{grid-template-columns:1fr}
.st-row{display:flex;align-items:center;justify-content:space-between;gap:12px 18px;padding:10px 0;border-top:1px solid var(--line)}
.st-box h3+.st-row{border-top:0}
.st-row>span{display:flex;flex-direction:column;gap:3px;min-width:0}.st-row>span small{color:var(--muted);font-size:12.5px;line-height:1.35}
.st-row select{min-height:38px;max-width:240px}
.st-seg{flex:none}.st-seg button{padding:8px 13px}
.st-sw{display:inline-flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}
.st-times{justify-content:flex-start}.st-times label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--muted)}.st-times input{min-height:38px}
.st-note{margin:6px 0 0;font-size:12px}
.st-confirm{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:#FFF1F3}.st-confirm p{margin:0;font-weight:700;flex:1 1 100%}
.st-fb .primary{margin-top:6px}
@media (max-width:700px){.st-pane{grid-template-columns:1fr}.st-row{flex-wrap:wrap}.st-seg{flex-wrap:wrap}.st-tabs{gap:5px}.st-tabs button{padding:7px 11px;font-size:12.5px}}
html.fs-big #content{zoom:1.1}
@media (max-width:700px){html.fs-big #content{zoom:1.06}}
html.calm *,html.calm *::before,html.calm *::after{animation:none!important;transition:none!important}
/* ST-END */
/* FBA-START */
.fba-k{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.fba-kb{border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.fba-kb span{font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.fba-kb b{font-size:28px;font-weight:900;line-height:1.1}.fba-kb b i{font-style:normal;font-size:15px;color:var(--muted);font-weight:700}.fba-kb small{color:var(--muted);font-size:12.5px}
.fba-m{width:100%;border-collapse:collapse}.fba-m th,.fba-m td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
.fba-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.fba-bar input[type=search]{flex:1 1 200px;min-height:38px}
.fba-list{display:grid;gap:10px}
.fba-it{border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.fba-who{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.fba-who small{color:var(--muted);font-size:12px}.fba-who .muted{margin-left:auto;font-size:12px}
.fba-it p{margin:8px 0 0;white-space:pre-wrap;line-height:1.45}
.fba-rate{display:flex;align-items:center;gap:8px;margin-top:6px}.fba-face{font-size:22px}
.fba-st{display:inline-flex;align-items:center;gap:8px;margin-top:10px;font-size:12px;font-weight:700;color:var(--muted)}
@media (max-width:700px){.fba-k{grid-template-columns:1fr}}
/* FBA-END */
/* V38-START (26 Nov 2026, Ahmed): Messages + TimsBuzz (both portals); dark mode removed */
#ly-dark,[data-mo="dark"],[data-ph="dark"],.chat-fab,#chat{display:none!important}
html.v38-on.v38-on #app main #filters,html.v38-on.v38-on #app main #nav,html.v38-on.v38-on #app main #content,html.v38-on.v38-on #app #pa-tabs,html.v38-on.v38-on #app #csv,html.v38-on.v38-on #app #html-export,html.v38-on.v38-on #app #xlsx-export,html.v38-on.v38-on #app #pdf{display:none!important}
.v38-page{--r:#C8102E;--rd:#9E0C24;--ink:#3F2021;--mut:#7D6A60;--ln:#ECE2D6;--cr:#FAF7F3;--tint:#FBE9EC;--gold:#C99A3B;color:var(--ink);padding:4px 0 40px}
.v3-b{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:999px;border:1px solid #ECE2D6;background:#fff;color:#3F2021;font:inherit;font-weight:800;font-size:13.5px;cursor:pointer;white-space:nowrap}
.v3-b:hover{border-color:#d9c8b8}.v3-b.p{background:#C8102E;border-color:#C8102E;color:#fff}.v3-b.p:hover{background:#9E0C24}.v3-b[disabled],.v3-b.dis{opacity:.5;pointer-events:none}.v3-b.wide{width:100%;justify-content:center;margin-top:6px}
.v3-ic{width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:#7D6A60;display:inline-grid;place-items:center;cursor:pointer;flex:none}.v3-ic:hover{background:#F4EEE8;color:#3F2021}
.v3-send{width:42px;height:42px;border-radius:50%;border:0;background:#C8102E;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}.v3-send:hover{background:#9E0C24}.v3-send[disabled]{opacity:.5}.v3-send.sm{width:34px;height:34px}
.v3-q{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:#FAF7F3;border:1px solid #ECE2D6;border-radius:999px;padding:0 14px;color:#7D6A60}
.v3-q input{flex:1;min-width:0;border:0;background:transparent;padding:10px 0;font:inherit;font-size:14px;color:#3F2021;outline:none}
.v3-empty{padding:34px 16px;text-align:center;color:#7D6A60;font-size:14px}.v3-empty.sm{padding:18px 8px}
.v3-dot{position:absolute;top:4px;right:6px;min-width:10px;height:10px;padding:0 4px;border-radius:999px;background:#C8102E;color:#fff;font-size:10px;font-weight:900;line-height:10px;font-style:normal;box-shadow:0 0 0 2px #fff}
.v3-dot:not(:empty){height:17px;line-height:17px;min-width:17px;text-align:center}
#sections [data-section],.nav [data-p],#pa-bar [data-pa-tab]{position:relative}
.v3-move{position:sticky;top:0;z-index:50;background:#FFF5D6;color:#6B4A00;border-bottom:1px solid #F0DC9A;padding:10px 16px;font-size:14px;text-align:center}
/* ---------- Messages ---------- */
.ms{display:block;background:#fff;border:1px solid var(--ln,#ECE2D6);border-radius:20px;overflow:hidden;box-shadow:0 10px 30px -24px rgba(63,32,33,.5)}
.ms.wide{display:grid;grid-template-columns:minmax(280px,360px) 1fr;height:calc(100vh - 210px);min-height:480px}
.ms-side{display:flex;flex-direction:column;min-height:0;border-right:1px solid #ECE2D6}
.ms-top{display:flex;gap:8px;align-items:center;padding:12px}
.ms-list,.ms-plist{overflow:auto;flex:1;min-height:0}
.ms-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border:0;border-top:1px solid #F4EEE8;background:#fff;text-align:left;cursor:pointer;font:inherit;color:inherit}
.ms-row:hover{background:#FAF7F3}.ms-row.on{background:#FBE9EC}.ms-row.un b{font-weight:900}.ms-row.un small{color:#3F2021;font-weight:700}
.ms-av{width:42px;height:42px;border-radius:50%;background:#C8102E;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:14px;flex:none}.ms-av.st{background:#7A4A3A}
.ms-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ms-t b{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ms-t small{color:#7D6A60;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-r{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.ms-r em{font-style:normal;font-size:12px;color:#7D6A60}
.ms-n{background:#C8102E;color:#fff;border-radius:999px;min-width:20px;height:20px;padding:0 6px;font-size:11.5px;font-weight:900;font-style:normal;display:grid;place-items:center}
.ms-main{display:flex;flex-direction:column;min-height:0;min-width:0}
.ms:not(.wide) .ms-main{height:calc(100vh - 190px);min-height:420px}
.ms-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #ECE2D6}.ms-head>b{font-size:16px}
.ms-msgs{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:6px;background:#FAF7F3}
.ms-m{max-width:78%;align-self:flex-start;background:#fff;border:1px solid #ECE2D6;border-radius:18px 18px 18px 6px;padding:9px 13px}
.ms-m.me{align-self:flex-end;background:#C8102E;border-color:#C8102E;color:#fff;border-radius:18px 18px 6px 18px}
.ms-m p{margin:0;font-size:14.5px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.ms-m small{display:block;margin-top:3px;font-size:11px;opacity:.7;text-align:right}
.ms-day{align-self:center;font-size:12px;color:#7D6A60;background:#fff;border:1px solid #ECE2D6;border-radius:999px;padding:3px 10px;margin:8px 0}
.ms-box{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid #ECE2D6;background:#fff}
.ms-box textarea{flex:1;min-width:0;resize:none;height:44px;min-height:44px;box-sizing:border-box;border:1px solid #ECE2D6;border-radius:20px;padding:10px 14px;font:inherit;font-size:14.5px;max-height:140px;outline:none}.ms-box textarea:focus{border-color:#C8102E}
.ms-gone{padding:14px;text-align:center;color:#7D6A60;border-top:1px solid #ECE2D6}
.ms-none{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#7D6A60;padding:40px}.ms-none b{color:#3F2021;font-size:17px}.ms-none svg{color:#C8102E}
.ms-pick{display:flex;flex-direction:column;gap:8px;padding:12px;min-height:0;flex:1}
/* ---------- TimsBuzz ---------- */
.bz{max-width:680px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.bz-preview{background:#FFF5D6;border:1px solid #F0DC9A;color:#6B4A00;border-radius:16px;padding:12px 14px;font-size:14px}
.bz-comp,.bz-post{background:#fff;border:1px solid #ECE2D6;border-radius:20px;box-shadow:0 10px 30px -24px rgba(63,32,33,.5)}
.bz-comp{display:flex;gap:12px;padding:14px}.bz-cw{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.bz-cw textarea{width:100%;resize:vertical;min-height:48px;border:1px solid #ECE2D6;border-radius:14px;background:#FAF7F3;padding:11px 14px;font:inherit;font-size:14.5px;outline:none;box-sizing:border-box}.bz-cw textarea:focus{border-color:#C8102E;background:#fff}
.bz-cb{display:flex;align-items:center;gap:10px}.bz-cb small{color:#7D6A60;flex:1}
.bz-prev{display:flex;gap:8px;flex-wrap:wrap}.bz-prev span{position:relative;width:76px;height:76px;border-radius:12px;overflow:hidden;background:#F4EEE8;display:grid;place-items:center}.bz-prev img{width:100%;height:100%;object-fit:cover}
.bz-prev em{position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.6);font-style:normal;font-weight:900}
.bz-prev button{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;display:grid;place-items:center;cursor:pointer}
.bz-av{width:42px;height:42px;border-radius:50%;background:#C8102E;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:14px;flex:none}.bz-av.sm{width:32px;height:32px;font-size:11.5px}
.bz-av.bot{background:linear-gradient(135deg,#F2C14E,#C99A3B);font-size:20px}
.bz-post{overflow:visible;position:relative}
.bz-ph{display:flex;gap:12px;align-items:center;padding:14px 16px;position:relative}.bz-n{flex:1;min-width:0}.bz-n b{display:block;font-weight:800;font-size:15px}.bz-n small{color:#7D6A60;font-size:12.5px}
.bz-sys{display:inline-block;background:#2A1712;color:#fff;font-size:10px;font-weight:800;font-style:normal;padding:3px 7px;border-radius:6px;margin-left:7px;vertical-align:2px;letter-spacing:.04em;text-transform:uppercase}
.bz-tag{display:inline-block;background:#FBE9EC;color:#C8102E;font-weight:800;font-size:11px;font-style:normal;padding:2px 8px;border-radius:999px;margin-left:6px;vertical-align:1px}
.bz-pin{color:#C8102E;font-weight:800;font-size:12px;margin-left:8px}
.bz-menu{position:absolute;right:14px;top:50px;z-index:5;background:#fff;border:1px solid #ECE2D6;border-radius:14px;box-shadow:0 14px 30px -12px rgba(0,0,0,.25);padding:6px;display:flex;flex-direction:column;min-width:170px}
.bz-menu button{border:0;background:none;text-align:left;padding:10px 12px;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}.bz-menu button:hover{background:#FAF7F3}.bz-menu .d{color:#C8102E}
.bz-text{padding:0 16px 12px;line-height:1.5;font-size:15px;overflow-wrap:anywhere}
.bz-auto{margin:0 16px;border-radius:18px;background:radial-gradient(120% 140% at 100% 0%,#E2324D 0%,#C8102E 40%,#9E0C24 100%);color:#fff;padding:20px 20px 18px;position:relative;overflow:hidden}
.bz-auto:after{content:"";position:absolute;right:-40px;top:-40px;width:220px;height:220px;background:url(/leaf-white.png) center/contain no-repeat;opacity:.09;pointer-events:none}
.bz-auto.rec{background:radial-gradient(120% 140% at 100% 0%,#F2C14E 0%,#D9861A 45%,#9E0C24 100%)}
.bz-auto .k,.bz-month .k{font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;opacity:.88}
.bz-auto h2{font-size:27px;font-weight:900;line-height:1.12;margin:7px 0 5px;color:#fff}.bz-auto p{margin:0;opacity:.94;font-size:14.5px}
.bz-auto .row{display:flex;align-items:center;gap:16px;margin-top:14px;position:relative;z-index:1}
.bz-auto .ring{width:86px;height:86px;border-radius:50%;background:conic-gradient(#fff calc(var(--p)*1%),rgba(255,255,255,.22) 0);display:grid;place-items:center;flex:none}
.bz-auto .ring i{width:70px;height:70px;border-radius:50%;background:#9E0C24;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:18px}
.bz-auto .chips{display:flex;flex-wrap:wrap;gap:7px}.bz-auto .chips span{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);padding:5px 10px;border-radius:999px;font-size:12.5px;font-weight:700}
.bz-month{margin:0 16px;border-radius:18px;background:linear-gradient(160deg,#2A1712,#3F2021 55%,#5B2C25);color:#fff;padding:18px;position:relative;overflow:hidden}
.bz-month:after{content:"";position:absolute;right:-30px;bottom:-40px;width:200px;height:200px;background:url(/leaf-white.png) center/contain no-repeat;opacity:.07;pointer-events:none}
.bz-month .k{color:#F2C14E}.bz-month h2{font-size:23px;font-weight:900;margin:6px 0 14px;color:#fff}
.bz-month .pod{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;align-items:end;position:relative;z-index:1}
.bz-month .pod>div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:11px 8px;text-align:center;min-width:0}
.bz-month .pod>.g{padding-top:20px;border-color:#F2C14E}.bz-month .pod>.nil{visibility:hidden}
.bz-month .pod .m{font-size:28px}.bz-month .pod b{display:block;font-size:14px;margin:4px 0 2px;overflow-wrap:anywhere}.bz-month .pod small{opacity:.75;font-size:11.5px}.bz-month .pod .sc{font-size:19px;font-weight:900;color:#F2C14E;margin-top:4px}
.bz-month .stars2{display:grid;grid-template-columns:1fr 1fr;gap:9px;position:relative;z-index:1}
.bz-month .stars2>div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:13px}
.bz-month .stars2 .r{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:#F2C14E;font-weight:800}.bz-month .stars2 b{display:block;font-size:16px;margin:6px 0 2px}.bz-month .stars2 small{opacity:.75}
.bz-month .hero-l{display:flex;flex-wrap:wrap;gap:7px;position:relative;z-index:1}.bz-month .hero-l span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:6px 11px;font-size:13px;font-weight:700}
.bz-cc{font-size:20px;font-weight:900;color:#F2C14E;margin:0;position:relative;z-index:1}
.bz-recs{margin:0 16px;display:flex;flex-direction:column;gap:9px}.bz-rh{font-weight:800;font-size:16px;margin-bottom:2px}
.bz-recs .rec{display:flex;align-items:center;gap:12px;border:1px solid #ECE2D6;border-radius:16px;padding:11px 14px;background:linear-gradient(90deg,#FFF6E5,#fff)}
.bz-recs .t{flex:1;min-width:0}.bz-recs .t small{display:block;color:#7D6A60;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.bz-recs .t b{font-size:15.5px}.bz-recs .t span{display:block;color:#7D6A60;font-size:12.5px}
.bz-recs .v{font-size:21px;font-weight:900;color:#C8102E}
.bz-welcome{margin:0 16px;border-radius:18px;background:#FAF7F3;border:1px solid #ECE2D6;padding:16px 18px}.bz-welcome h2{font-size:22px;font-weight:900;margin:0 0 6px}.bz-welcome p{margin:0}
.bz-welcome ul{margin:10px 0 0 18px;padding:0;line-height:1.7;font-size:14px}.bz-welcome .bz-m{margin-top:10px;color:#7D6A60;font-size:13.5px}
.bz-pics{margin:0 16px;display:grid;gap:6px;border-radius:16px;overflow:hidden}.bz-pics.n1{grid-template-columns:1fr}.bz-pics.n2{grid-template-columns:1fr 1fr}.bz-pics.n3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
.bz-pics button{border:0;padding:0;background:#F4EEE8;cursor:zoom-in;display:block;min-height:0}.bz-pics img{width:100%;height:100%;object-fit:cover;display:block;max-height:420px}
.bz-pics.n1 img{max-height:460px}.bz-pics.n3 button:first-child{grid-row:1/3}.bz-pics.n2 img,.bz-pics.n3 img{aspect-ratio:1/1}
.bz-cnt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px 9px;color:#7D6A60;font-size:13px;position:relative}
.bz-rxs{display:flex;align-items:center;gap:6px;border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0;text-align:left;min-width:0}
.bz-rxs .bz-e{display:flex}.bz-rxs .bz-e i{width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:13px;font-style:normal;margin-left:-6px;box-shadow:0 0 0 1px #ECE2D6}.bz-rxs .bz-e i:first-child{margin-left:0}
.bz-pop{position:absolute;left:16px;bottom:100%;z-index:6;background:#2A1712;color:#fff;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.55;box-shadow:0 14px 30px -12px rgba(0,0,0,.5);max-height:260px;overflow:auto;min-width:200px;max-width:80%}
.bz-pop b{display:block;margin:4px 0 2px}.bz-pop span{display:block;opacity:.92}
.bz-acts{display:flex;border-top:1px solid #ECE2D6;border-bottom:1px solid #ECE2D6;margin:0 16px}
.bz-acts button{flex:1;border:0;background:none;padding:9px 0;font:inherit;font-weight:800;color:#7D6A60;font-size:13.5px;cursor:pointer;border-radius:10px}.bz-acts button:hover{background:#FAF7F3}.bz-acts button.on{color:#C8102E}
.bz-cms{padding:10px 16px 14px;display:flex;flex-direction:column;gap:9px}
.bz-more{border:0;background:none;color:#7D6A60;font:inherit;font-weight:700;font-size:13px;text-align:left;cursor:pointer;padding:0}
.bz-c{display:flex;gap:9px;align-items:flex-start}.bz-c>div{min-width:0}.bz-c .bub{background:#FAF7F3;border:1px solid #ECE2D6;border-radius:16px;padding:7px 12px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.bz-c .bub b{display:block;font-size:12.5px}
.bz-c .meta{display:flex;gap:10px;align-items:center;font-size:12px;color:#7D6A60;margin:3px 0 0 10px}.bz-c .meta button{border:0;background:none;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:0}.bz-c .meta button.on{color:#C8102E}
.bz-cin{display:flex;gap:9px;align-items:flex-end}.bz-cin textarea{flex:1;min-width:0;resize:none;border:1px solid #ECE2D6;border-radius:18px;padding:8px 13px;font:inherit;font-size:14px;outline:none;max-height:120px}.bz-cin textarea:focus{border-color:#C8102E}
.bz-light{position:fixed;inset:0;z-index:2000;background:rgba(20,10,8,.92);display:grid;place-items:center;padding:20px}.bz-light img{max-width:100%;max-height:100%;border-radius:10px}
.bz-light .v3-ic{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px;background:rgba(255,255,255,.15);color:#fff}
/* ---------- Admin ---------- */
.v3a h3{margin:0 0 8px}.v3a .muted{margin:0 0 10px}
.v3a-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:4px 0}.v3a-status small{display:block;color:#7D6A60;margin-top:3px}.v3a-status.live b{color:#1F7A55}
.v3a-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.v3a-acts select{padding:8px 10px;border-radius:999px;border:1px solid #ECE2D6;font:inherit}
.v3a-prev{margin-top:12px;background:#FAF7F3;border:1px solid #ECE2D6;border-radius:14px;padding:12px 14px}.v3a-prev ul{margin:6px 0 0 18px;padding:0;line-height:1.7}
.v3a-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.v3a-grid label{display:flex;flex-direction:column;gap:5px;font-weight:700;font-size:13px}
.v3a-grid input{padding:10px 12px;border:1px solid #ECE2D6;border-radius:12px;font:inherit;font-weight:400}
.v3a-t{width:100%;border-collapse:collapse}.v3a-t th{text-align:left;font-size:12px;color:#7D6A60;padding:8px}.v3a-t td{padding:8px;border-top:1px solid #F4EEE8;vertical-align:middle}
.v3a-n{width:70px;padding:7px 8px;border:1px solid #ECE2D6;border-radius:10px;font:inherit;margin:0 4px}
.v3a-sw{display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-weight:700}.v3a-sw input{width:18px;height:18px;accent-color:#C8102E}
.v3a-rows{display:flex;flex-direction:column;gap:10px;line-height:2}
.v3a-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 8px}.v3a-chips span{display:inline-flex;align-items:center;gap:6px;background:#FBE9EC;color:#9E0C24;border-radius:999px;padding:5px 6px 5px 11px;font-weight:700;font-size:13px}
.v3a-chips button{border:0;background:rgba(0,0,0,.08);border-radius:50%;width:20px;height:20px;cursor:pointer;line-height:1}.v3a-chips em{color:#7D6A60;font-size:13px}
.v3a-pick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;position:relative;margin-bottom:10px}.v3a-pick input{flex:1;min-width:200px;padding:9px 12px;border:1px solid #ECE2D6;border-radius:999px;font:inherit}
.v3a-res{flex-basis:100%;display:flex;flex-direction:column;border:1px solid #ECE2D6;border-radius:12px;overflow:hidden}.v3a-res button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;border-top:1px solid #F4EEE8;background:#fff;padding:8px 12px;cursor:pointer;font:inherit;text-align:left}
.v3a-res button:hover{background:#FAF7F3}.v3a-res small{color:#7D6A60}
.v3a-mail{border-top:1px solid #F4EEE8;padding:12px 0}.v3a-mail:first-of-type{border-top:0}
.v3a-save{position:sticky;bottom:12px;display:flex;justify-content:flex-end;margin-top:6px}.v3a-save .primary{box-shadow:0 10px 24px -10px rgba(200,16,46,.6)}
/* ---------- store portal ---------- */
.v3s-card{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#FFF6E5,#FBE9EC)!important;border:1px solid #F2D7A6!important}.v3s-card b{display:block;font-size:16px}.v3s-card span{color:#7D6A60;font-size:13.5px}
@media (max-width:900px){.ms.wide{display:block;height:auto}}
@media (max-width:700px){.bz{gap:10px}.bz-comp,.bz-post{border-radius:16px}.bz-auto h2{font-size:22px}.bz-auto .ring{width:72px;height:72px}.bz-auto .ring i{width:58px;height:58px;font-size:15px}
 .bz-month .pod b{font-size:12.5px}.bz-month .pod .sc{font-size:16px}.bz-month .stars2{grid-template-columns:1fr}.ms{border-radius:16px}.ms:not(.wide) .ms-main{height:calc(100vh - 230px)}.v3s-card{flex-direction:column;align-items:flex-start}}
/* 27 Nov: small fixes after the screenshots — number boxes stay small with their "%" on the same line; a white dot on the red store menu */
.v3a input.v3a-n{width:72px!important;min-width:0!important;display:inline-block!important;margin:0 4px!important;vertical-align:middle}
.v3a-t td{white-space:nowrap}.v3a-rows>div{display:block}
.nav .v3-dot,#sections .v3-dot{background:#fff;color:#C8102E;box-shadow:none}
/* V38-END */
/* V39-START ================= 27 Nov 2026 (Ahmed): v39 — menu order, bell reminders, sounds + coffee mouse, TimsBuzz preview on the wall ================= */
/* the coffee mouse (computer only; html.cur-on is set by the script) */
html.cur-on{cursor:var(--cur-brown)}
html.cur-on :is(button,a[href],[role="tab"],[role="button"],select,summary,label,[data-section],[data-p],[draggable="true"]){cursor:var(--cur-red)}
html.cur-on :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="file"]),textarea,[contenteditable="true"]){cursor:text}
html.cur-on :disabled,html.cur-on [aria-disabled="true"]{cursor:not-allowed}
/* bell: reminder buttons */
.nb-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #F1E9E2}.nb-row>.nb-it{flex:1;min-width:0;border-bottom:0}
.v39-rem{flex:none;margin-right:14px;border:1.5px solid #C8102E;color:#C8102E;background:#fff;border-radius:999px;padding:7px 12px;font:inherit;font-weight:800;font-size:12.5px;white-space:nowrap;cursor:pointer}
.v39-rem:hover{background:#FDEBEE}.v39-rem:disabled{opacity:.6}.v39-rem.all{background:#C8102E;color:#fff;margin:0}
.v39-done{flex:none;margin-right:14px;color:#1F7A55;font-weight:800;font-size:12px;text-align:right;line-height:1.3}.v39-done small{display:block;color:#7D6A60;font-weight:600}
.nb-all-late{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 16px 4px;padding:10px 12px;background:#FAF7F3;border:1px solid #F0E8E0;border-radius:14px}.nb-all-late b{font-size:14px}.nb-all-late .v39-done{margin:0}
@media (max-width:700px){.v39-rem{padding:7px 10px;font-size:12px;margin-right:10px}}
/* Admin → Settings → Menu order */
.mo-list{display:flex;flex-direction:column;gap:7px;max-width:520px}
.mo-row{display:flex;align-items:center;gap:10px;padding:9px 10px 9px 12px;border:1px solid #F0E7DD;border-radius:14px;background:#fff;font-weight:700;user-select:none}
.mo-row b{flex:1}.mo-row small{color:#9A8A7E;font-weight:600}.mo-row .v3-ic{width:34px;height:32px;border:1px solid #ECE2D6;border-radius:10px;background:#fff;font:inherit;font-weight:800;cursor:pointer}.mo-row .v3-ic:disabled{opacity:.35}
.mo-grip{color:#B9A99C;font-size:16px;letter-spacing:-2px;cursor:grab}.mo-row.drag{opacity:.55}.mo-row.over{border-color:#C8102E;box-shadow:0 10px 24px -14px rgba(120,30,20,.5)}
.mo-row.lock{background:#FAF7F3;color:#9A8A7E}.mo-row.lock .mo-grip{letter-spacing:0;cursor:default}
.v3a-save .v3-b+.v3-b{margin-left:8px}
/* the question before Launch */
.v39-ask{position:fixed;inset:0;z-index:9000;background:rgba(43,20,12,.45);display:grid;place-items:center;padding:16px}
.v39-box{background:#fff;border-radius:22px;max-width:440px;width:100%;padding:22px 22px 18px;box-shadow:0 30px 60px -20px rgba(43,20,12,.5)}.v39-box h3{margin:0 0 8px;font-size:19px}.v39-box p{margin:0 0 16px;color:#5B4A42;line-height:1.5}
.v39-btns{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
/* TimsBuzz preview on the wall */
.v39-pv{display:flex;flex-direction:column;gap:10px}.v39-pvb{display:flex;flex-wrap:wrap;gap:8px}
.bz-pvw .bz-acts,.bz-pvw .bz-cms,.bz-pvw .bz-dots,.bz-pvw .bz-cnt{display:none!important}
.v3a-chips span.g{background:#FFF3DF;color:#8A5300}
/* store portal: the sound switch */
#v39-snd{white-space:nowrap}
/* 27 Nov 08:21 (Ahmed: the send button was an oval; spacing): round icon buttons stay round — the portal gives every button a 40px minimum height */
.v3-send,.v3-ic,.mo-row .v3-ic{padding:0!important;min-height:0!important;min-width:0!important;line-height:1}
.v3-send.sm{width:36px;height:36px}
.bz-cin{align-items:center}
.ms-box{padding:12px 14px 14px;align-items:center}
/* Menu order: tighter rows, the buttons under the lists (not floating over the corner) */
.mo-list{gap:6px;max-width:560px}
.mo-row{padding:7px 8px 7px 12px;border-radius:12px;gap:8px}.mo-row b{font-size:14.5px}
.mo-row .v3-ic{width:32px;height:30px;border-radius:9px;font-size:14px}
.sx-main .v3a+.v3a{margin-top:14px}
.sx-main .v3a-save{position:static;justify-content:flex-start;gap:8px;margin:14px 0 4px}.sx-main .v3a-save .v3-b+.v3-b{margin-left:0}
/* V39-END */
/* V41-START ================= 27 Nov 2026 (Ahmed): v41 security ================= */
.v41-su #v41-su-in{width:100%;font-size:22px;letter-spacing:6px;text-align:center;padding:10px 12px;border:1.5px solid #E6D9CC;border-radius:14px;margin:0 0 8px}
.v41-su #v41-su-in:focus{outline:2px solid #C8102E;outline-offset:1px}
.v41-su .v41-su-m{font-size:12.5px;margin:0 0 14px}
.v41-x{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#C8102E;color:#fff;font-size:11px;font-weight:800;vertical-align:1px}
.v41-ext textarea{width:100%;min-height:54px}
.v41-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}
.v41-chip{padding:4px 10px;border-radius:999px;background:#FDEBEE;color:#A00D25;border:1px solid #F3C3CB;font-size:12.5px;font-weight:700;word-break:break-all}
.v41-chip.bad{background:#FFF3DF;color:#8A5300;border-color:#F1D29A}
.v41-xn{font-size:12px;margin:6px 0 0}
.v41-nm{display:block;margin-top:4px}
/* V41-END */
/* V40-START ================= 27 Nov 2026 (Ahmed): v40 look fixes ================= */
/* Admin → Stores & Areas: "View as" and "Delete" side by side */
html body #content table tr[data-code]>td.row-actions,html.ph-web #content table.stores-table tr[data-code]>td.row-actions{white-space:nowrap!important;width:auto!important;vertical-align:middle}
html body .users-table tr[data-code]>td.row-actions>button,tr[data-code]>td:last-child>button{display:inline-flex;align-items:center;gap:5px;margin:0 0 0 6px;vertical-align:middle;white-space:nowrap}
html body .users-table tr[data-code]>td.row-actions>button:first-child{margin-left:0}
/* the bee */
.v40-bee{position:fixed;left:0;top:0;z-index:8000;width:64px;height:64px;padding:0!important;min-height:0!important;border:0;background:none;cursor:pointer;will-change:transform;transition:transform .9s cubic-bezier(.3,.7,.3,1);filter:drop-shadow(0 6px 10px rgba(59,31,20,.25))}
.v40-bee:not(.rest){transition:none}.v40-bee .v40-bs{display:block;width:64px;height:64px}.v40-bee.left .v40-bs{transform:scaleX(-1)}
.v40-bee.rest .v40-bs{animation:v40hover 1.6s ease-in-out infinite}@keyframes v40hover{50%{transform:translateY(-4px)}}
.v40-dot{position:absolute;right:4px;top:4px;width:13px;height:13px;border-radius:50%;background:#C8102E;border:2px solid #fff}
@media print{.v40-bee{display:none!important}}
/* TimsBuzz: a colour for each kind of card */
.bz-auto.k-fire{background:radial-gradient(120% 140% at 100% 0%,#FFB347 0%,#F06A1D 45%,#B3261E 100%)}
.bz-auto.k-cb{background:radial-gradient(120% 140% at 100% 0%,#4FC48A 0%,#1F8A5B 45%,#0F5A3A 100%)}.bz-auto.k-cb .ring i{background:#0F5A3A}.bz-auto.k-fire .ring i{background:#B3261E}
.bz-auto.k-rec .ring i{background:#8A4B0F}
.bz-manual{margin:0 16px;border-radius:18px;background:linear-gradient(150deg,#2A1712,#4A2117 55%,#6B2A1C);color:#fff;padding:18px 20px;position:relative;overflow:hidden}
.bz-manual:after{content:"";position:absolute;right:-30px;bottom:-40px;width:200px;height:200px;background:url(/leaf-white.png) center/contain no-repeat;opacity:.07;pointer-events:none}
.bz-manual .k{font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#F2C14E}.bz-manual h2{font-size:24px;font-weight:900;margin:6px 0 4px;color:#fff;line-height:1.15}
.bz-manual .sc{font-size:34px;font-weight:900;color:#F2C14E;line-height:1.1}.bz-manual b{display:block;margin-top:4px}.bz-manual p{margin:8px 0 0;opacity:.92;position:relative;z-index:1}
/* TimsBuzz: the box to write stays one line until you use it */
.bz-comp textarea{min-height:44px;height:44px;transition:height .2s}.bz-comp textarea:focus,.bz-comp textarea:not(:placeholder-shown){height:88px}
.v40-mk{margin-left:auto}.bz-cb .v40-mk+.v3-b.p{margin-left:0}
/* TimsBuzz on the computer: the wall + a side column */
.v40-wrap{display:grid;grid-template-columns:minmax(0,680px) 280px;gap:22px;justify-content:center;align-items:start}.v40-wrap>.bz{margin:0;max-width:none}
.v40-side{position:sticky;top:18px;display:flex;flex-direction:column;gap:12px}
.v40-sc{background:#fff;border:1px solid #ECE2D6;border-radius:18px;padding:14px 16px}.v40-sc .h{font-weight:900;font-size:14.5px;margin-bottom:8px}
.v40-sc .r{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #F4EEE8}.v40-sc .r:first-of-type{border-top:0}.v40-sc .r i{font-style:normal}.v40-sc .r b{flex:1;min-width:0;font-size:13.5px;overflow-wrap:anywhere}
.v40-sc .r b small{display:block;color:#7D6A60;font-weight:600;font-size:11.5px}.v40-sc .r span{font-weight:900;color:#C8102E}.v40-sc small{color:#7D6A60;font-size:11.5px}.v40-sc p{margin:0;font-size:13px}
.v40-sc.star{background:linear-gradient(160deg,#2A1712,#4A2117);color:#fff;border:0}.v40-sc.star .big{font-size:40px;font-weight:900;color:#F2C14E;line-height:1}.v40-sc.star small{color:#F5E6D8}
/* Make a card */
.v40-k{position:fixed;inset:0;z-index:9000;background:rgba(43,20,12,.45);display:grid;place-items:center;padding:16px}
.v40-kb{background:#fff;border-radius:22px;width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow:auto;padding:20px 22px;box-shadow:0 30px 60px -20px rgba(43,20,12,.5)}
.v40-kh{display:flex;align-items:center;justify-content:space-between}.v40-kh h3{margin:0;font-size:19px}.v40-kh .v3-ic{width:34px;height:34px;border:1px solid #ECE2D6;border-radius:50%;background:#fff;font-size:18px}
.v40-kb label{display:block;font-weight:800;font-size:13px;margin:12px 0 5px}.v40-kb label small{font-weight:600;color:#7D6A60}
.v40-kb input:not([type=checkbox]),.v40-kb select,.v40-kb textarea{width:100%;box-sizing:border-box;border:1px solid #ECE2D6;border-radius:12px;padding:10px 12px;font:inherit;font-size:14px;background:#fff}
.v40-kb input+input{margin-top:6px}.v40-k2{display:grid;grid-template-columns:1fr 130px;gap:10px}
.v40-kst{display:flex;align-items:center;gap:10px;border:1px solid #ECE2D6;border-radius:12px;padding:8px 10px}.v40-kst b{flex:1}.v40-kst span{color:#7D6A60;font-size:13px}
.v40-khits{display:flex;flex-direction:column;border:1px solid #ECE2D6;border-radius:12px;margin-top:6px;overflow:hidden}.v40-khits button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;border-top:1px solid #F4EEE8;background:#fff;padding:8px 12px;text-align:left;min-height:0}
.v40-khits button:first-child{border-top:0}.v40-khits button:hover{background:#FAF7F3}.v40-khits small{color:#7D6A60}
.v40-seg{display:flex;gap:6px;flex-wrap:wrap}.v40-seg button{border:1px solid #ECE2D6;background:#fff;border-radius:999px;padding:8px 13px;font:inherit;font-weight:700;font-size:13px;min-height:0}.v40-seg .on{background:#C8102E;color:#fff;border-color:#C8102E}
.v40-kpics{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.v40-kpics span{position:relative;width:64px;height:64px;border-radius:10px;overflow:hidden;background:#F4EEE8}.v40-kpics img{width:100%;height:100%;object-fit:cover}
.v40-kpics span button{position:absolute;right:3px;top:3px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;padding:0;min-height:0;line-height:1}
.v40-kb label.v40-tell{display:flex;gap:8px;align-items:flex-start;font-weight:600;font-size:13px}.v40-tell input{width:18px;height:18px;accent-color:#C8102E;flex:none;margin-top:1px}
.v40-kprev{margin-top:14px;background:#FAF7F3;border-radius:16px;padding:10px}.v40-kprev .bz-acts,.v40-kprev .bz-cms,.v40-kprev .bz-dots,.v40-kprev .bz-cnt{display:none!important}
.v40-kbtn{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}
.v40-fixed{display:flex;flex-direction:column;gap:6px}.v40-fixed b{font-size:13px}.v40-fixed span{font-weight:800;font-size:15px}.v40-fixed .v3-b{align-self:flex-start}
/* Admin → Stores & Areas: names fully readable */
html.ph-web #content table.stores-table tr[data-code] input,html body #content table.stores-table tr[data-code] input{min-width:150px!important;width:100%}
html body #content table.stores-table tr[data-code] td:nth-child(2) input{min-width:190px!important}
/* v42: the flag the bee tows (behind it: on its left when it flies right, on its right when it flies left) */
.v40-flag{position:absolute;top:19px;right:60px;display:flex;align-items:center;pointer-events:none;transform-origin:100% 50%;animation:v40wave 1.1s ease-in-out infinite;filter:drop-shadow(0 6px 10px rgba(43,20,12,.25))}
.v40-flag::after{content:"";width:16px;height:2px;background:#3B1F14;border-radius:2px;margin-left:-1px}
.v40-flag b{display:block;white-space:nowrap;background:#C8102E;color:#fff;font:800 13px/1 Figtree,system-ui,sans-serif;padding:9px 14px 9px 20px;clip-path:polygon(0 0,100% 4%,100% 96%,0 100%,9px 50%);border-radius:3px}
.v40-bee.wall .v40-flag b{background:#2B140C}
.v40-bee.left .v40-flag{right:auto;left:60px;flex-direction:row-reverse;transform-origin:0 50%}
.v40-bee.left .v40-flag::after{margin:0 -1px 0 0}
.v40-bee.left .v40-flag b{padding:9px 20px 9px 14px;clip-path:polygon(0 4%,100% 0,calc(100% - 9px) 50%,100% 100%,0 96%)}
.v40-bee.rest .v40-flag{scale:.86;animation-duration:2.2s}
@keyframes v40wave{0%,100%{rotate:-2deg}50%{rotate:2deg}}
html.calm .v40-flag{animation:none}
@media (prefers-reduced-motion:reduce){.v40-flag{animation:none}}
@media (max-width:700px){.v40-flag b{font-size:12px;padding:8px 11px 8px 17px}}
/* V40-END */
/* V42-START ================= 27 Nov 2026 (Ahmed): v42 — side menu bottom, design A (computer) ================= */
@media (min-width:701px){
 html.pro:not(.pro-unpin) aside .profile,html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within) .profile{flex-wrap:wrap!important;row-gap:12px!important;column-gap:8px!important;align-items:center!important}
 html.pro:not(.pro-unpin) aside .profile .profile-open,html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within) .profile .profile-open{flex:1 1 100%!important;width:100%!important;column-gap:12px!important}
 html.pro aside .profile .profile-av{width:44px!important;height:44px!important}
 html.pro aside .profile strong{white-space:normal!important;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px!important;line-height:1.25!important}
 html.pro aside .profile small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html.pro aside .profile small::after{content:var(--pf-ms," · My Settings");opacity:.9}
 html.pro:not(.pro-unpin) aside .profile #present,html.pro:not(.pro-unpin) aside .profile #logout,html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within) .profile #present,html.pro.pro-unpin .app-body>aside:is(:hover,:focus-within) .profile #logout{flex:1 1 0!important;width:auto!important;min-width:0!important;height:38px!important;min-height:0!important;box-sizing:border-box!important;border-width:1px!important;line-height:1!important;align-self:center!important;margin:0!important;padding:0 6px!important;border-radius:12px!important;font-size:13px!important;text-align:center;display:inline-flex!important;align-items:center;justify-content:center;gap:7px}
 html.pro #app aside .profile #present,html.pro #app aside .profile #logout{padding:0 6px!important;margin:0!important}
 html.pro aside .profile #present::before{content:"⛶";font-size:14px;line-height:1}
 html.pro aside .profile #logout::before{content:"⎋";font-size:14px;line-height:1}
}
/* side menu headings (computer) */
#sections>.v42-mh{font:800 10.5px/1.2 var(--f-ui,system-ui)!important;letter-spacing:.12em;text-transform:uppercase;color:#FFD5DB;opacity:.9;padding:14px 14px 4px;margin:0;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left!important;align-self:stretch!important;width:auto!important}
html[dir=rtl] #sections>.v42-mh{text-align:right!important}
html[dir=rtl] #sections>.v42-mh{letter-spacing:0}
#sections>[data-section].v42-sep{margin-top:14px!important;position:relative}
#sections>[data-section].v42-sep::before{content:"";position:absolute;left:6px;right:6px;top:-8px;border-top:1px solid rgba(255,255,255,.25)}
body.side-mini aside:not(:hover) #sections>.v42-mh,html.pro.pro-unpin .app-body>aside:not(:hover):not(:focus-within) #sections>.v42-mh{color:transparent!important;padding:6px 0 0!important;height:0}
@media (max-width:700px){#sections>.v42-mh{display:none}}
/* Admin → Menu order: heading rows */
.mo-row.mo-h{background:#FFF6F0;border-color:#F3D7CB}.mo-row.mo-h input{flex:1;min-width:0;border:1px solid #ECE2D6;border-radius:9px;padding:6px 9px;font:700 13.5px var(--f-ui,system-ui);background:#fff}
.mo-row.mo-h input:first-of-type{text-transform:none}.mo-row.mo-p{margin-left:18px}html[dir=rtl] .mo-row.mo-p{margin-left:0;margin-right:18px}
.mo-hadd{align-self:flex-start;margin-top:4px}
/* V42-END */
