/* Coaching-centre demo: the staff back office and its sign-in.
   Light and airy: white surfaces on a faint grey, hairline borders, one violet accent, status colours only where they mean something. */
:root {
    --ink: #15132b; --text: #46445c; --muted: #8a889e; --faint: #a9a7bb;
    --bg: #f7f7fb; --paper: #fff; --soft: #f4f4f9; --edge: #ebebf2; --edge-2: #f2f2f7; --input: #dfdfea;
    --pu: #6a3df0; --pu-700: #5629d6; --pu-50: #f2eeff; --pu-100: #e4dcfd;
    --g: #138a52; --g-50: #e7f6ee; --a: #a26500; --a-50: #fff4dc; --r: #cf3446; --r-50: #fdecee; --b: #2f5bd3; --b-50: #edf2fd;
    --rad: 14px; --rad-sm: 10px;
    --sh: 0 1px 2px rgba(21, 19, 43, .04);
    --sh-pop: 0 12px 30px -14px rgba(21, 19, 43, .22);
    --f: "Poppins", "Hind Siliguri", system-ui, sans-serif; --bn: "Hind Siliguri", "Poppins", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 14px/1.6 var(--f); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; } a { color: inherit; text-decoration: none; } ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; } svg { flex: none; }
:focus-visible { outline: 2px solid var(--pu); outline-offset: 2px; }
.muted { color: var(--muted); } .sub { display: block; font-size: 12.5px; color: var(--muted); } .nm { font-weight: 500; color: var(--ink); }
.link { color: var(--pu); font-weight: 500; } .link:hover { text-decoration: underline; text-underline-offset: 3px; } .due { color: var(--r); font-weight: 600; }
.ac-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* demo strip */
.ac-ribbon { background: #0f0d22; color: #a9a7bb; font-size: 12.5px; }
.ac-ribbon .ac-wrap { display: flex; align-items: center; justify-content: space-between; gap: 4px 18px; flex-wrap: wrap; max-width: none; padding: 7px 24px; }
.ac-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); } .ac-ribbon .links { display: flex; gap: 16px; }

/* buttons, chips, fields */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border: 1px solid var(--pu); border-radius: var(--rad-sm); background: var(--pu); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.ac-btn:hover { background: var(--pu-700); border-color: var(--pu-700); }
.ac-btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.ac-btn.ghost { background: #fff; border-color: var(--input); color: var(--ink); } .ac-btn.ghost:hover { background: var(--soft); border-color: #cdcbdc; }
.ac-btn.danger { background: #fff; border-color: #f2c4ca; color: var(--r); } .ac-btn.danger:hover { background: var(--r-50); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; background: var(--pu-50); color: #4a27c2; font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.6; }
.chip.ok { background: var(--g-50); color: var(--g); } .chip.red { background: var(--r-50); color: var(--r); } .chip.amber { background: var(--a-50); color: var(--a); } .chip.blue { background: var(--b-50); color: var(--b); } .chip.grey { background: #f0f0f5; color: #6c6a82; }
.field { display: grid; gap: 6px; margin-bottom: 16px; } .field label { font-size: 13.5px; font-weight: 500; color: var(--ink); } .field small { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .filters input, .filters select, .mini-select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--input); border-radius: var(--rad-sm); background: #fff; font-size: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus, .mini-select:focus { outline: 0; border-color: var(--pu); box-shadow: 0 0 0 4px rgba(106, 61, 240, .12); }
.field input[type=file] { height: auto; padding: 8px; }
.field .err { font-size: 12.5px; color: var(--r); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; cursor: pointer; } .check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--pu); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.mini-select { width: auto; height: 32px; padding: 0 28px 0 10px; font-size: 13px; }
.flash { margin-bottom: 18px; padding: 11px 14px; border-radius: var(--rad-sm); background: var(--g-50); color: #0e6a3e; font-size: 14px; } .flash.bad { background: var(--r-50); color: #a1293a; } .flash.warn { margin: 14px 18px 0; background: var(--a-50); color: #7a4c00; }

/* app shell */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 33px); }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 18px 14px 14px; background: #fff; border-right: 1px solid var(--edge); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; } .logo-mark { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--pu); color: #fff; font: 700 19px/1 var(--bn); }
.brand b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.2; } .brand small { font-size: 12px; color: var(--muted); }
.side .grp { padding: 16px 10px 6px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 2px; border-radius: 9px; font-size: 13.5px; color: var(--text); transition: background-color .15s, color .15s; }
.side nav a svg { width: 17px; height: 17px; color: var(--faint); transition: color .15s; } .side nav a:hover { background: var(--soft); color: var(--ink); } .side nav a:hover svg { color: var(--text); }
.side nav a.on { background: var(--pu-50); color: #3a1ea8; font-weight: 500; } .side nav a.on svg { color: var(--pu); }
.side nav a em { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--pu); color: #fff; font: 600 11px/20px var(--f); font-style: normal; text-align: center; }
.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 6px 2px; border-top: 1px solid var(--edge-2); }
.me-av { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--pu-50); color: var(--pu-700); font-size: 12.5px; font-weight: 600; }
.me div { min-width: 0; } .me b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .me small { font-size: 12px; color: var(--muted); }
.me form { margin-left: auto; } .me button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--muted); } .me button:hover { background: var(--soft); color: var(--r); }
.main-wrap { min-width: 0; display: flex; flex-direction: column; }
.appbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 32px; background: rgba(247, 247, 251, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--edge); }
.bar-date { font-size: 13px; color: var(--muted); } .bar-end { margin-left: auto; } .bar-menu { display: none; width: 38px; height: 38px; place-items: center; border: 1px solid var(--edge); border-radius: 10px; background: #fff; color: var(--ink); }
.main { padding: 26px 32px 64px; min-width: 0; max-width: 1400px; width: 100%; }
.scrim { display: none; }

/* page head */
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.topbar h1 { font-size: 24px; letter-spacing: -.02em; } .topbar p { margin-top: 3px; font-size: 13.5px; color: var(--muted); } .topbar .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; } .welcome small { display: block; font-size: 13.5px; color: var(--muted); } .welcome h1 { font-size: 28px; letter-spacing: -.02em; } .welcome .acts { display: flex; gap: 8px; }

/* surfaces */
.box { background: #fff; border: 1px solid var(--edge); border-radius: var(--rad); box-shadow: var(--sh); margin-bottom: 18px; overflow: hidden; }
.box-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--edge-2); } .box-h h2 { font-size: 15px; } .box-h a { font-size: 13px; font-weight: 500; color: var(--pu); } .box-h .muted { font-size: 13px; }
.box-b { padding: 18px 20px; } .box-b.pad { padding: 24px; } .box-foot { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--edge-2); background: #fcfcfe; } .box-foot .push { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.narrow-form { max-width: 680px; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; align-items: start; } .cols2 .box { margin-bottom: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; background: #fff; border: 1px solid var(--edge); border-radius: var(--rad); box-shadow: var(--sh); overflow: hidden; }
.kpi { padding: 18px 20px; border-left: 1px solid var(--edge-2); } .kpi:first-child { border-left: 0; }
.kpi small { display: block; font-size: 12.5px; color: var(--muted); } .kpi b { display: block; margin: 6px 0 4px; font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; } .kpi span { font-size: 12px; color: var(--faint); }
.kpi b.txt { font-size: 15px; line-height: 1.4; font-weight: 500; letter-spacing: 0; }
.delta { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 99px; font-size: 11.5px; font-weight: 500; font-style: normal; vertical-align: 2px; } .delta.up { background: var(--g-50); color: var(--g); } .delta.dn { background: var(--r-50); color: var(--r); }

/* tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); background: #fcfcfe; border-bottom: 1px solid var(--edge-2); white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--edge-2); color: var(--text); vertical-align: middle; } table.t tr:last-child td { border-bottom: 0; }
table.t th:first-child, table.t td:first-child { padding-left: 20px; } table.t th:last-child, table.t td:last-child { padding-right: 20px; }
table.t tbody tr { transition: background-color .12s; } table.t tbody tr:hover td { background: #fbfbfe; }
table.t td b { font-weight: 500; color: var(--ink); } table.t .num { text-align: right; font-variant-numeric: tabular-nums; } table.t .muted { color: var(--muted); }
.empty { padding: 30px 20px !important; text-align: center; color: var(--muted); }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; } .who .av { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--pu-50); color: var(--pu-700); font-size: 12px; font-weight: 600; }
.who b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3; } .who small { font-size: 12px; color: var(--muted); } a.who:hover b { color: var(--pu); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--edge-2); }
.filters input, .filters select { width: auto; height: 38px; font-size: 13.5px; } .filters input[type=search] { flex: 1; min-width: 220px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--edge-2); font-size: 13px; color: var(--muted); } .pager nav { display: flex; gap: 4px; }
.pager a, .pager .cur { padding: 4px 11px; border: 1px solid var(--edge); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 500; } .pager a:hover { background: var(--soft); } .pager .cur { background: var(--pu); border-color: var(--pu); color: #fff; }
.bar-meter, .bar { height: 6px; border-radius: 99px; background: #ececf3; overflow: hidden; } .bar i { display: block; height: 100%; border-radius: 99px; background: var(--pu); } .bar.amber i { background: #e5a21c; } .bar.r i { background: var(--r); }

/* dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; } .dmain { min-width: 0; }
.dside { position: sticky; top: 76px; padding: 18px; background: #fff; border: 1px solid var(--edge); border-radius: var(--rad); box-shadow: var(--sh); }
.side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } .side-head h2 { font-size: 15px; } .side-head a { font-size: 13px; font-weight: 500; color: var(--pu); }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 16px; text-align: center; } .days span { padding: 7px 0; border-radius: 10px; } .days i { display: block; font-size: 11px; font-style: normal; color: var(--faint); } .days b { display: block; margin-top: 1px; font-size: 14px; font-weight: 500; color: var(--text); } .days .on { background: var(--pu); } .days .on i, .days .on b { color: #fff; }
.cls { padding: 14px; margin-bottom: 10px; border: 1px solid var(--edge); border-radius: 12px; transition: border-color .15s; } .cls:hover { border-color: var(--pu-100); } .cls.first { border-color: var(--pu-100); background: #fcfbff; }
.cls b { display: block; margin-bottom: 4px; font-size: 13.5px; font-weight: 500; color: var(--ink); } .cls > span { display: block; font-size: 12.5px; color: var(--muted); } .cl-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; } .cls .ac-btn { height: 30px; font-size: 12.5px; }
.meter-row { margin-bottom: 14px; } .meter-row:last-child { margin-bottom: 0; } .meter-row .lbl { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 13.5px; } .meter-row .lbl b { font-weight: 500; color: var(--ink); }

/* student page */
.detail { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; align-items: start; }
.profile { padding: 24px 20px; text-align: left; } .profile .avatar { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--pu-50); color: var(--pu-700); font-size: 20px; font-weight: 600; }
.profile h2 { margin: 14px 0 6px; font-size: 18px; } .profile dl { margin: 18px 0 0; display: grid; gap: 12px; font-size: 13.5px; padding-top: 16px; border-top: 1px solid var(--edge-2); } .profile dt { font-size: 12px; color: var(--muted); } .profile dd { margin: 1px 0 0; color: var(--ink); }
.dots { display: flex; gap: 5px; flex-wrap: wrap; } .dots i { width: 16px; height: 16px; border-radius: 5px; background: #e6e6ee; } .dots i.p { background: var(--g); } .dots i.l { background: #e5a21c; } .dots i.a { background: var(--r); }
.legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--muted); } .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; } .legend .p::before { background: var(--g); } .legend .l::before { background: #e5a21c; } .legend .a::before { background: var(--r); }

/* attendance */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--soft); border: 1px solid var(--edge); } .seg label { position: relative; cursor: pointer; } .seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 5px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--muted); transition: background-color .12s, color .12s; } .seg label:hover span { color: var(--ink); }
.seg input:checked + span.p { background: var(--g); color: #fff; } .seg input:checked + span.l { background: #e5a21c; color: #fff; } .seg input:checked + span.a { background: var(--r); color: #fff; } .seg input:focus-visible + span { outline: 2px solid var(--pu); }

/* marks */
.marks input[type=number] { width: 92px; height: 36px; padding: 0 10px; border: 1px solid var(--input); border-radius: 9px; font-size: 14px; font-weight: 500; text-align: right; } .marks input:focus { outline: 0; border-color: var(--pu); box-shadow: 0 0 0 4px rgba(106, 61, 240, .12); }
.scale { display: flex; flex-wrap: wrap; gap: 5px; font-size: 12px; } .scale span { padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); } .scale b { color: var(--ink); font-weight: 600; }

/* receipt */
.receipt { max-width: 560px; margin: 0 auto; padding: 32px; background: #fff; border: 1px solid var(--edge); border-radius: var(--rad); box-shadow: var(--sh-pop); }
.receipt .rh { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed var(--input); } .receipt .rh .brand { padding: 0; } .receipt .rh .brand small { max-width: 220px; display: block; }
.receipt .rh-r { text-align: right; } .receipt .rh-r b { display: block; font-weight: 600; color: var(--ink); } .receipt .rh-r span { font-size: 13px; color: var(--muted); }
.receipt dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin: 20px 0; font-size: 14px; } .receipt dt { color: var(--muted); } .receipt dd { margin: 0; color: var(--ink); font-weight: 500; }
.receipt .total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 12px; background: var(--pu-50); font-size: 24px; font-weight: 600; color: var(--ink); } .receipt .total span { font-size: 13.5px; font-weight: 500; color: var(--text); }
.receipt .foot { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* sms */
.sms { display: grid; gap: 10px; } .sms li { padding: 12px 14px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
.sms li small { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--muted); } .sms li p { font-size: 13.5px; color: var(--ink); }

/* course thumbnails (list + edit form) */
.cover { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 128px; border-radius: 10px; overflow: hidden; background: #fff; }
.cover > div { display: grid; place-items: center; font: 600 20px/1 var(--f); color: var(--ink); overflow: hidden; white-space: nowrap; }
.cover .t1 { grid-row: 1 / 3; font-size: 24px; border-radius: 0 60% 60% 0; } .cover .t3 { font-size: 13px; border-radius: 0 0 0 14px; } .cover .t4 { border-radius: 14px 0 0 0; } .cover em { display: none; }
.cover.photo { display: block; background: var(--soft); } .cover.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-k0 .t1 { background: #ffc83d; } .c-k0 .t2 { background: #ffd8e6; } .c-k0 .t3 { background: #1f44b8; color: #fff; } .c-k0 .t4 { background: #33c3f0; }
.c-k1 .t1 { background: #33c3f0; } .c-k1 .t2 { background: #fdf0d3; } .c-k1 .t3 { background: #f0563f; color: #fff; } .c-k1 .t4 { background: #ffc83d; }
.c-k2 .t1 { background: #ffd8e6; } .c-k2 .t2 { background: #ffc83d; } .c-k2 .t3 { background: #e2ebfc; } .c-k2 .t4 { background: #1f44b8; }
.thumbcell { display: flex; align-items: center; gap: 12px; } .thumbcell .cover { flex: none; width: 76px; height: 50px; border-radius: 8px; } .thumbcell .cover > div { font-size: 10px; } .thumbcell .cover .t1 { font-size: 11px; }
.thumbset { margin: 6px 0 22px; padding: 18px 18px 4px; border: 1px solid var(--edge); border-radius: 12px; } .thumbset legend { padding: 0 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.thumbrow { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }

/* sign in */
.login { min-height: calc(100vh - 33px); display: grid; grid-template-columns: 1fr 1fr; }
.login-art { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px; background: #15132b; color: #fff; position: relative; overflow: hidden; }
.login-art::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 61, 240, .55), rgba(106, 61, 240, 0) 70%); }
.login-art > * { position: relative; z-index: 1; } .login-art .brandname b { font-size: 16px; font-weight: 600; color: #fff; }
.login-art h1 { max-width: 440px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; color: #fff; letter-spacing: -.02em; } .login-art p { max-width: 420px; color: #b9b7cc; font-size: 15px; }
.login-art ul { max-width: 440px; } .login-art li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid rgba(255, 255, 255, .1); color: #dcdaea; font-size: 14px; } .login-art li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid #b39dff; border-bottom: 2px solid #b39dff; transform: rotate(-45deg); }
.login-form { display: grid; place-items: center; padding: 40px 24px; background: #fff; } .login-box { width: 100%; max-width: 380px; } .login-box h2 { margin-bottom: 6px; font-size: 26px; } .login-box > p { color: var(--muted); }
.login-box .ac-btn { height: 46px; } .login-box p a { color: var(--pu) !important; }
.demo-login { margin: 18px 0 22px; padding: 14px 16px; border: 1px dashed var(--pu-100); border-radius: 12px; background: #fcfbff; font-size: 13.5px; line-height: 2; } .demo-login b { color: var(--ink); font-weight: 500; }
.demo-login code { padding: 2px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--edge); font: 500 13px ui-monospace, Consolas, monospace; color: var(--ink); }

/* smaller screens */
@media (max-width: 1200px) { .dash { grid-template-columns: minmax(0, 1fr); } .dside { position: static; } }
@media (max-width: 1000px) {
    .app { grid-template-columns: minmax(0, 1fr); }
    .side { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: 264px; height: 100%; transform: translateX(-100%); transition: transform .25s ease; box-shadow: none; }
    .nav-open .side { transform: none; box-shadow: 20px 0 40px -20px rgba(21, 19, 43, .35); }
    .scrim { position: fixed; inset: 0; z-index: 50; background: rgba(21, 19, 43, .35); } .nav-open .scrim { display: block; }
    .appbar { padding: 0 16px; } .bar-menu { display: grid; } .main { padding: 20px 16px 50px; }
    .cols2, .detail { grid-template-columns: minmax(0, 1fr); } .kpis { grid-template-columns: 1fr 1fr; } .kpi:nth-child(3) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--edge-2); }
    .login { grid-template-columns: 1fr; } .login-art { padding: 36px 24px; }
}
@media (max-width: 700px) {
    .grid2, .thumbrow { grid-template-columns: minmax(0, 1fr); } .hide-sm { display: none; } .bar-date { display: none; }
    table.t th:first-child, table.t td:first-child { padding-left: 14px; } table.t th:last-child, table.t td:last-child { padding-right: 14px; }
    .box-h, .box-b, .filters, .pager, .box-foot { padding-left: 14px; padding-right: 14px; } .box-foot .push { margin-left: 0; width: 100%; }
    .topbar h1 { font-size: 21px; } .welcome h1 { font-size: 24px; } .kpi { padding: 14px; } .kpi b { font-size: 21px; }
    .receipt { padding: 20px; } .receipt dl { grid-template-columns: 100px 1fr; } .filters input[type=search] { min-width: 0; width: 100%; }
}
@media print { .ac-ribbon, .side, .appbar, .topbar .acts, .no-print { display: none !important; } .app { display: block; } body { background: #fff; } .main { padding: 0; } .receipt { box-shadow: none; border-color: #999; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.who b { white-space: nowrap; } .who small { display: block; line-height: 1.45; } .who > div { min-width: 0; }
