/* =====================================================================
   Wynford Concierge Management System — UI
   Dark sidebar · bright workspace · gold accents · premium SaaS feel
   ===================================================================== */

@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter-700.woff2') format('woff2'); }

:root {
    /* ---- Neutral ramp (cool slate — the backbone of the system) ---- */
    --n-0:   #ffffff;
    --n-25:  #fbfcfd;
    --n-50:  #f6f7f9;   /* app background / muted surface */
    --n-100: #eef0f3;   /* hover fills, subtle dividers */
    --n-150: #e7eaee;
    --n-200: #e2e5ea;   /* hairline borders */
    --n-300: #cfd4dc;
    --n-400: #9aa2af;   /* muted icons */
    --n-500: #78818f;   /* tertiary text */
    --n-600: #545c6b;   /* secondary text */
    --n-700: #3a4250;   /* body text */
    --n-800: #232a35;
    --n-900: #131822;   /* primary headings */

    /* ---- Brand accent (gold — used sparingly, for emphasis) ---- */
    --gold:      #c29a3b;   /* primary actions, active states */
    --gold-2:    #977325;   /* accent text / links / hover (AA on white) */
    --gold-soft: #f8f2e1;   /* tint surface */
    --gold-line: #ebdbb2;   /* tint border */

    /* ---- Dark sidebar surface ---- */
    --sidebar:     #14181f;
    --sidebar-2:   #1f2632;
    --sidebar-3:   #2a323e;
    --sidebar-line:#282f3a;
    --sidebar-txt: #9aa3b2;
    --sidebar-dim: #6b7482;

    /* ---- Text ---- */
    --ink:   #131822;   /* headings / primary */
    --ink-2: #4a5262;   /* body / secondary */
    --ink-3: #78818f;   /* muted / captions */

    /* ---- Surfaces & lines ---- */
    --bg:     #f6f7f9;
    --card:   #ffffff;
    --line:   #e4e7ec;  /* hairline border */
    --line-2: #eef0f3;  /* row dividers */

    /* ---- Semantic (muted, with soft tints) ---- */
    --green: #17835a; --green-bg:#e9f6f0;
    --red:   #d6453f; --red-bg:#fdecea;
    --amber: #a87a1e; --amber-bg:#f9efd7;
    --blue:  #2f6cae; --blue-bg:#eaf1fb;
    --violet:#6a54c6; --violet-bg:#efeafb;

    /* ---- One radius language (tight, modern) ---- */
    --radius:    12px;   /* cards & panels */
    --radius-lg: 16px;   /* feature panels */
    --radius-2:  10px;   /* medium tiles */
    --radius-3:  8px;    /* buttons, inputs, controls */
    --pill:      999px;

    /* ---- Elevation (hairline-first; shadows are barely there) ---- */
    --shadow:    0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.02);
    --shadow-2:  0 6px 18px -6px rgba(16,24,40,.12), 0 2px 6px -2px rgba(16,24,40,.05);
    --shadow-lg: 0 18px 44px -12px rgba(16,24,40,.22);
    --ring:      0 0 0 3px rgba(194,154,59,.22);   /* focus ring */

    /* ---- Spacing scale (4pt grid) ---- */
    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 44px;

    --ease: cubic-bezier(.2,.7,.3,1);
    --t:    .16s;

    --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0; font-family: var(--font);
    background: var(--bg); color: var(--ink-2);
    font-size: 14px; line-height: 1.55; letter-spacing: -0.003em;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.25; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.muted { color: var(--ink-3); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
::selection { background: rgba(194,154,59,.22); color: var(--ink); }

/* Consistent keyboard focus ring across all interactive elements */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible, .stat:focus-visible, .qa:focus-visible, .op-card:focus-visible {
    outline: none; box-shadow: var(--ring); border-radius: var(--radius-3);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { border-radius: var(--radius-3); }

/* -------------------------------------------------------------- shell */
.app { display: grid; grid-template-columns: 262px 1fr; min-height: 100vh; }

/* ------------------------------------------------------------ sidebar */
.sidebar {
    background: var(--sidebar); color: var(--sidebar-txt);
    display: flex; flex-direction: column; position: sticky; top: 0;
    height: 100vh; padding: 16px 14px; overflow-y: auto;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #2a3340; border-radius: 6px; }

.brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 16px; }
.brand img { width: 36px; height: 36px; }
.brand .b-name { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.1; }
.brand .b-sub { color: var(--gold); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.nav-item {
    display: flex; align-items: center; gap: 11px; padding: 9px 11px;
    border-radius: var(--radius-3); color: var(--sidebar-txt);
    font-size: 13.6px; font-weight: 500; cursor: pointer; transition: background .14s, color .14s;
}
.nav-item .ico { width: 18px; height: 18px; flex: none; stroke-width: 1.9; color: var(--sidebar-dim); transition: color .14s; }
.nav-item:hover { background: var(--sidebar-2); color: #fff; }
.nav-item:hover .ico { color: var(--gold); }
.nav-item.is-active { background: linear-gradient(90deg, rgba(200,162,74,.18), rgba(200,162,74,.03)); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.nav-item.is-active .ico { color: var(--gold); }
.nav-item .chev { margin-left: auto; width: 15px; height: 15px; color: var(--sidebar-dim); transition: transform .16s; }
.nav-group.open > .nav-item .chev { transform: rotate(90deg); }
.nav-badge { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; background: var(--gold);
    color: #1c1300; border-radius: 9px; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

.nav-sub { display: none; flex-direction: column; gap: 1px; margin: 2px 0 4px 14px;
    padding-left: 10px; border-left: 1px solid var(--sidebar-line); }
.nav-group.open .nav-sub { display: flex; }
.nav-sub a {
    display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px;
    font-size: 13px; color: var(--sidebar-dim);
}
.nav-sub a .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.nav-sub a:hover, .nav-sub a.is-active { color: #fff; background: var(--sidebar-2); }
.nav-sub a.is-active { color: var(--gold); }

.nav-section { color: #5b6472; font-size: 10px; letter-spacing: .15em;
    text-transform: uppercase; font-weight: 700; padding: 18px 12px 7px; }

.on-duty {
    margin-top: auto; background: var(--sidebar-2); border: 1px solid var(--sidebar-line);
    border-radius: var(--radius-2); padding: 13px; margin-bottom: 8px;
}
.on-duty .od-label { color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.on-duty .od-name { color: #fff; font-weight: 650; font-size: 14.5px; margin-top: 4px; }
.on-duty .od-role { color: var(--sidebar-dim); font-size: 12px; }
.on-duty .od-meta { color: var(--sidebar-txt); font-size: 12px; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.on-duty .od-meta .ico { width: 14px; height: 14px; color: var(--gold); }

.signout { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: var(--radius-3);
    color: var(--sidebar-dim); font-size: 13.6px; font-weight: 550; margin-top: auto;
    border-top: 1px solid var(--sidebar-line); border-radius: 0; padding-top: 14px; margin-bottom: 2px; transition: color var(--t), background var(--t); }
.signout .ico { width: 18px; height: 18px; }
.signout:hover { color: #ff8f88; }

/* -------------------------------------------------------------- main */
.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line); padding: 14px 28px;
}
.topbar .greet h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.topbar .greet p { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }
.topbar .tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.bell { position: relative; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line);
    background: #fff; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.bell:hover { border-color: var(--gold); color: var(--gold-2); }
.bell .badge-dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--red); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; border: 2px solid #fff; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#2a3342,#161c26);
    color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: 0 0 auto; }

/* Top-right user menu (native <details> dropdown) */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
    padding: 5px 10px 5px 6px; border-radius: var(--radius-3); border: 1px solid var(--line); background: #fff;
    transition: border-color var(--t), box-shadow var(--t); }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover { border-color: var(--gold-line); box-shadow: var(--shadow); }
.user-menu[open] > summary { border-color: var(--gold); box-shadow: var(--shadow); }
.uc-id { display: flex; flex-direction: column; line-height: 1.15; }
.uc-id .u-name { font-size: 13.5px; font-weight: 650; }
.uc-id .u-role { font-size: 11.5px; color: var(--ink-3); }
.uc-caret { width: 15px; height: 15px; color: var(--ink-3); transition: transform var(--t); }
.user-menu[open] .uc-caret { transform: rotate(180deg); }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 9px); width: 236px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; z-index: 60;
    animation: riseIn .16s var(--ease) both; }
.ud-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.ud-name { font-size: 14px; font-weight: 700; }
.ud-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; word-break: break-word; }
.ud-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-3);
    font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background var(--t), color var(--t); }
.ud-item .ico { width: 17px; height: 17px; }
.ud-item:hover { background: var(--red-bg); color: var(--red); }
@media (max-width: 640px) { .uc-id { display: none; } }
.menu-btn { display: none; background: none; border: none; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }

.content { padding: 28px 34px 44px; max-width: 1540px; width: 100%; margin-inline: auto; }
.stack > * + * { margin-top: 22px; }

/* reusable utilities (consolidated from repeated inline styles) */
.section-title { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.link-gold { color: var(--gold-2); font-weight: 600; }
.card-pad.tight { padding-top: 6px; padding-bottom: 6px; }

/* ---------------------------------------------------------- shift bar */
.shiftbar {
    background: linear-gradient(120deg,#151a22,#222b39); border: 1px solid #2a3340;
    border-radius: var(--radius); padding: 18px 22px; display: grid;
    grid-template-columns: repeat(4,1fr); gap: 18px;
}
.shiftbar .sb { display: flex; align-items: center; gap: 13px; }
.shiftbar .sb-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(200,162,74,.13);
    display: grid; place-items: center; color: var(--gold); flex: 0 0 auto; }
.shiftbar .sb-ic .ico { width: 20px; height: 20px; }
.shiftbar .sb-label { color: var(--gold); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.shiftbar .sb-value { color: #fff; font-size: 15px; font-weight: 650; margin-top: 2px; }
.shiftbar .sb-sub { color: #98a1b0; font-size: 12px; }
.shiftbar .sb + .sb { border-left: 1px solid rgba(255,255,255,.07); padding-left: 18px; }

.shift-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: linear-gradient(120deg,#151a22,#222b39); border:1px solid #2a3340; border-radius: var(--radius);
    padding: 20px 24px; color:#fff; }
.shift-cta .sc-txt h3 { color:#fff; font-size:16px; } .shift-cta .sc-txt p { margin:4px 0 0; color:#98a1b0; font-size:13px; }

/* -------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
/* Desktop column-count modifiers. Gated behind min-width so the responsive
   rules below (which collapse .stats to 3/2/1) still win on smaller screens —
   inline grid-template overrides used to defeat those media queries. */
@media (min-width: 1201px) {
    .stats.cols-3 { grid-template-columns: repeat(3,1fr); }
    .stats.cols-4 { grid-template-columns: repeat(4,1fr); }
    .stats.cols-5 { grid-template-columns: repeat(5,1fr); }
    .stats.cols-6 { grid-template-columns: repeat(6,1fr); }
}
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 18px 16px; box-shadow: var(--shadow); }
.stat .st-ic { width: 38px; height: 38px; border-radius: var(--radius-3); display: grid; place-items: center; margin-bottom: 12px; }
.stat .st-ic .ico { width: 19px; height: 19px; }
.st-gold { background: var(--gold-soft); color: var(--gold-2); }
.st-blue { background: var(--blue-bg); color: var(--blue); }
.st-green{ background: var(--green-bg); color: var(--green); }
.st-red  { background: var(--red-bg); color: var(--red); }
.st-violet{ background: var(--violet-bg); color: var(--violet); }
.st-amber{ background: var(--amber-bg); color: var(--amber); }
.st-grey { background: #eef1f5; color: #6a7382; }
.stat .st-value { font-size: 26px; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .st-label { color: var(--ink-2); font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.stat .st-sub { color: var(--ink-3); font-size: 11.5px; margin-top: 1px; }
a.stat { transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
a.stat:hover { border-color: var(--gold-line); box-shadow: var(--shadow-2); transform: translateY(-3px); }

/* -------------------------------------------------------------- cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.card-head { display: flex; align-items: center; gap: 12px; padding: 17px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h2 { font-size: 15px; font-weight: 700; }
.card-head .ha { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.link-more { color: var(--gold-2); font-size: 12.5px; font-weight: 600; transition: color var(--t); }
.link-more:hover { color: var(--gold); text-decoration: underline; }
.card-pad { padding: 18px 20px; }

.grid-3 { display: grid; grid-template-columns: 1.45fr 1.15fr 1fr; gap: 18px; align-items: start; }
.grid-2wide { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: start; }

/* ----------------------------------------------------- overview chart */
.chart-wrap { padding: 8px 10px 4px; }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 8px 12px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; }

/* ------------------------------------------------------ list rows */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.list-row:last-child { border-bottom: none; }
.list-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.list-ic .ico { width: 17px; height: 17px; }
.list-body { flex: 1; min-width: 0; }
.list-body .l-title { font-size: 13.5px; font-weight: 550; color: var(--ink); }
.list-body .l-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.list-row .l-right { text-align: right; flex: 0 0 auto; }
.list-row .l-right .l-time { font-size: 11.5px; color: var(--ink-3); }

.pk { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.pk:last-child { border-bottom: none; }
.pk .pk-unit { font-weight: 700; color: var(--ink); font-size: 14px; width: 74px; }
.pk .pk-body { flex: 1; min-width: 0; } .pk .pk-body .pk-c { font-size: 13px; color: var(--ink); }
.pk .pk-body .pk-r { font-size: 12px; color: var(--ink-3); }

/* -------------------------------------------------------- quick actions */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid var(--line);
    border-radius: var(--radius-2); background: #fff; font-size: 13.6px; font-weight: 600; color: var(--ink); transition: all .14s; }
.qa .qa-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--gold-soft); color: var(--gold-2);
    display: grid; place-items: center; } .qa .qa-ic .ico { width: 16px; height: 16px; }
.qa { transition: transform var(--t) var(--ease), border-color var(--t), background var(--t), box-shadow var(--t); }
.qa:hover { border-color: var(--gold-line); background: #fffdf6; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.qa:hover .qa-ic { background: var(--gold); color: #fff; }
.qa .qa-ic { transition: background var(--t), color var(--t); }

/* -------------------------------------------------------------- badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--pill);
    font-size: 11.5px; font-weight: 600; line-height: 1.55; letter-spacing: -0.005em;
    box-shadow: inset 0 0 0 1px rgba(16,24,40,.05); }
.b-green { background: var(--green-bg); color: var(--green); }
.b-amber { background: var(--amber-bg); color: var(--amber); }
.b-red   { background: var(--red-bg); color: var(--red); }
.b-blue  { background: var(--blue-bg); color: var(--blue); }
.b-grey  { background: var(--n-100); color: var(--n-600); }
.b-violet{ background: var(--violet-bg); color: var(--violet); }

/* -------------------------------------------------------------- buttons */
/* Buttons — clear hierarchy: primary (accent) · secondary (default) · ghost · danger */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; min-height: 36px;
    border-radius: var(--radius-3); font-size: 13.5px; font-weight: 600; line-height: 1; cursor: pointer;
    border: 1px solid var(--line); background: var(--card); color: var(--ink); white-space: nowrap; font-family: inherit;
    transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t), transform var(--t); }
.btn .ico { width: 16px; height: 16px; }
.btn:hover { background: var(--n-50); border-color: var(--n-300); }
.btn:active { transform: translateY(.5px); }
.btn-primary { background: var(--gold); border-color: transparent; color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #ac8530; border-color: transparent; color: #fff; box-shadow: var(--shadow-2); }
.btn-outline { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { background: var(--n-50); border-color: var(--gold-line); color: var(--gold-2); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--n-100); border-color: transparent; color: var(--ink); }
.btn-dark { background: var(--sidebar); border-color: transparent; color: #fff; }
.btn-dark:hover { background: #1e2632; color: #fff; }
.btn-danger { background: var(--red); border-color: transparent; color: #fff; }
.btn-danger:hover { background: #c33c36; color: #fff; }
.btn-sm { padding: 6px 11px; min-height: 32px; font-size: 12.8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* -------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.col-span { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.005em; }
.field .hint { font-size: 11.5px; color: var(--ink-3); }
.req { color: var(--red); font-weight: 700; }
input[type=text],input[type=password],input[type=email],input[type=number],input[type=search],
input[type=date],input[type=time],input[type=datetime-local],input[type=tel],select,textarea {
    width: 100%; padding: 9px 12px; min-height: 38px; font-size: 14px; font-family: inherit; color: var(--ink);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-3);
    transition: border-color var(--t), box-shadow var(--t), background var(--t); }
input::placeholder, textarea::placeholder { color: var(--n-400); }
input:hover, select:hover, textarea:hover { border-color: var(--n-300); }
textarea { resize: vertical; min-height: 88px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8496' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--gold); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line-2); }
.form-actions .spacer { margin-right: auto; }
fieldset.block { border: 1px solid var(--line); border-radius: var(--radius-2); padding: 16px 18px; margin: 0 0 16px; }
fieldset.block legend { padding: 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-2); font-weight: 700; }

/* -------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.6px; }
table.data th { text-align: left; padding: 11px 14px; color: var(--ink-3); font-size: 11px; text-transform: uppercase;
    letter-spacing: .05em; font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.data tbody tr:hover { background: #fafbfc; }
table.data tr:last-child td { border-bottom: none; }
.t-mono { font-variant-numeric: tabular-nums; font-weight: 600; }
.t-strong { font-weight: 600; color: var(--ink); }
.t-muted { color: var(--ink-3); }
.text-right { text-align: right; }

.empty { text-align: center; padding: 40px 22px; color: var(--ink-3); }
.empty .ico { width: 40px; height: 40px; color: #cfd5df; margin-bottom: 12px; padding: 9px;
    background: var(--line-2); border-radius: var(--pill); box-sizing: content-box; }
.empty .e-sm { font-size: 13.5px; }
.empty .e-lead { font-size: 15px; font-weight: 650; color: var(--ink-2); margin-bottom: 3px; }

/* -------------------------------------------------------------- alerts */
.alert { padding: 12px 15px; border-radius: 10px; margin-bottom: 15px; font-size: 13.6px; border: 1px solid transparent; font-weight: 500; }
.alert-success { background: var(--green-bg); color: #14603b; border-color: #bfe6cf; }
.alert-error { background: var(--red-bg); color: #922; border-color: #f0c4c4; }
.alert-info { background: var(--blue-bg); color: #1c4a76; border-color: #c6ddf1; }
.alert-warning { background: var(--amber-bg); color: #86651b; border-color: #f0dfb0; }

/* --------------------------------------------------- toolbar / pagination */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .search { position: relative; flex: 1; min-width: 220px; }
.toolbar .search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 18px; height: 18px; }
.toolbar .search input { padding-left: 38px; }
.filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-tab { padding: 7px 13px; border-radius: 999px; font-size: 12.8px; font-weight: 600; color: var(--ink-2);
    background: #fff; border: 1px solid var(--line); cursor: pointer; }
.filter-tab:hover { border-color: var(--gold); }
.filter-tab.is-active { background: var(--sidebar); color: #fff; border-color: var(--sidebar); }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.pagination .pages { display: flex; gap: 6px; }
.pagination a, .pagination span.pg { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line);
    font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-2); }
.pagination .pg.is-active { background: var(--gold); color: #fff; border-color: var(--gold); }
.pagination .pg.disabled { opacity: .45; }
.pagination .count { color: var(--ink-3); font-size: 12.5px; }

.page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.page-head h1 { font-size: 23px; font-weight: 700; letter-spacing: -0.025em; }
.page-head .ph-sub { color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.page-head .ph-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 9px 16px; font-size: 13.6px; }
.kv dt { color: var(--ink-3); font-weight: 600; } .kv dd { margin: 0; color: var(--ink); }

/* ============================================================ auth pages */
body.auth { background: radial-gradient(1200px 620px at 50% -10%, #1c2534 0%, #0f131a 62%);
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px; }
.auth-card { background: var(--card); width: 100%; max-width: 410px; border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.auth-head { background: linear-gradient(120deg,#151a22,#232c39); padding: 28px 30px; text-align: center; border-bottom: 3px solid var(--gold); }
.auth-head img { width: 50px; height: 50px; margin-bottom: 10px; }
.auth-head .a-name { color: #fff; font-size: 18px; font-weight: 700; }
.auth-head .a-sub { color: var(--gold); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; }
.auth-body { padding: 26px 30px; }
.auth-body h2 { font-size: 17px; margin-bottom: 3px; }
.auth-body .lead { color: var(--ink-3); font-size: 13px; margin: 0 0 18px; }
.auth-body .field { margin-bottom: 14px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 16px; }
.auth-row a { color: var(--gold-2); font-size: 12.5px; font-weight: 600; }
.auth-foot { text-align: center; color: var(--ink-3); font-size: 12px; padding: 0 30px 24px; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1200px) {
    .stats { grid-template-columns: repeat(3,1fr); }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-3 > :nth-child(3) { grid-column: 1 / -1; }
    .grid-2wide { grid-template-columns: 1fr; }
}

/* Tablet & below — the sidebar becomes a clean off-canvas drawer */
@media (max-width: 1000px) {
    .app { grid-template-columns: 1fr; }
    .sidebar { position: fixed; z-index: 60; width: 288px; height: 100vh; transform: translateX(-100%);
        transition: transform .24s var(--ease); box-shadow: var(--shadow-lg); }
    body.nav-open .sidebar { transform: translateX(0); }
    body.nav-open::after { content:""; position: fixed; inset:0; background: rgba(10,14,20,.5); z-index: 55; }
    .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
    .shiftbar { grid-template-columns: 1fr 1fr; }
    .shiftbar .sb + .sb { border-left: none; padding-left: 0; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
    .content { padding: 16px 14px calc(78px + env(safe-area-inset-bottom, 0px)); }
    .topbar { padding: 11px 14px; }
    .user-chip .u-name, .user-chip .u-role { display: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-3 > :nth-child(3){ grid-column: auto; }
    .qa-grid, .qa-grid.qa-6 { grid-template-columns: 1fr 1fr; }
    .page-head { flex-wrap: wrap; }
    .page-head h1 { font-size: 21px; }
    .page-head .ph-actions { margin-left: 0; width: 100%; }
    /* larger touch targets */
    .btn { padding: 11px 16px; min-height: 44px; }
    .btn-sm { padding: 9px 13px; min-height: 40px; }
    .filter-tab { padding: 9px 15px; min-height: 38px; }
    .bell { width: 42px; height: 42px; }
    /* 16px form controls prevent iOS zoom-on-focus */
    input[type=text],input[type=password],input[type=email],input[type=number],input[type=search],
    input[type=date],input[type=time],input[type=datetime-local],input[type=tel],select,textarea { font-size: 16px; }
}
@media (max-width: 420px) { .stats, .qa-grid.qa-6 { grid-template-columns: 1fr; } }

/* app-page print: hide chrome */
@media print { .sidebar, .topbar, .menu-btn, .toolbar, .pagination, .form-actions, .bottom-nav { display: none !important; } .app { display: block; } .content { padding: 0; } }

/* =============================================================== polish
   Premium finishing: crisper type, refined shadows, subtle motion.
   ==================================================================== */
body { letter-spacing: -0.006em; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -0.02em; }
.st-value, .sb-value, .shift-hero .sh-value { letter-spacing: -0.02em; }

:root {
    --shadow:   0 1px 2px rgba(18,22,29,.04), 0 4px 14px rgba(18,22,29,.055);
    --shadow-2: 0 10px 34px rgba(18,22,29,.11);
}

/* smoother, consistent easing on interactive elements */
.stat, .card, .qa, .btn, .nav-item, .nav-sub a, .filter-tab, .bell, .user-chip, .list-row, .kpi { transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s ease, border-color .16s ease, background .16s ease; }

a.stat:hover { transform: translateY(-2px); }
.card:hover { box-shadow: var(--shadow); }
.qa:hover { transform: translateY(-1px); }
/* stat icon tiles get a soft ring */
.stat .st-ic, .list-ic, .qa .qa-ic, .sb-ic { box-shadow: inset 0 0 0 1px rgba(0,0,0,.02); }

/* nav hover slide */
.nav-item, .nav-sub a { position: relative; }
.nav-item:hover { transform: translateX(2px); }

/* card entrance animation */
@keyframes riseIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.content > .stack > *, .content > .page-head + *, .content > .card, .content > form > .card { animation: riseIn .34s cubic-bezier(.2,.7,.3,1) both; }
.content > .stack > *:nth-child(2) { animation-delay: .03s; }
.content > .stack > *:nth-child(3) { animation-delay: .06s; }
.content > .stack > *:nth-child(4) { animation-delay: .09s; }
.content > .stack > *:nth-child(5) { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation: none !important; transition: none !important; } }

/* topbar global search */
.tb-search { position: relative; flex: 1 1 380px; max-width: 560px; margin-left: 22px; }
.tb-search .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.tb-search input { width: 100%; padding: 9px 40px 9px 44px; background: #eef1f6; border: 1px solid transparent; border-radius: 12px; font-size: 13.5px;
    transition: background var(--t), border-color var(--t), box-shadow var(--t); }
.tb-search input:hover { background: #e8ecf2; }
.tb-search input:focus { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,.14); }
.tb-search input:focus + .tb-kbd { opacity: 0; }
.tb-kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); min-width: 22px; height: 22px; padding: 0 6px;
    display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px;
    font-size: 12px; font-weight: 700; color: var(--ink-3); pointer-events: none; transition: opacity var(--t); }
@media (max-width: 980px) { .tb-search { display: none; } }

/* notification & checklist bits */
/* .notif-row / .notif-dot styles consolidated in the DASHBOARD section below */

.check-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
.check-item:last-child { border-bottom: none; }
.check-item input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--gold); flex: 0 0 auto; cursor: pointer; }
.check-item .ci-title { flex: 1; font-size: 14px; color: var(--ink); }
.check-item.is-done .ci-title { color: var(--ink-3); text-decoration: line-through; }
.check-item .ci-cat { font-size: 11px; font-weight: 650; color: var(--gold-2); background: var(--gold-soft); padding: 2px 8px; border-radius: 6px; }
.progress { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 6px; transition: width .4s ease; }

/* ---------------------------------------------------------- directory (CRM) */
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 16px; }
.unit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: block; color: inherit; }
.unit-card:hover { border-color: var(--gold-line); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.unit-card .uc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.unit-card .uc-no { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.unit-card .uc-primary { margin-top: 12px; font-size: 14px; font-weight: 650; }
.unit-card .uc-sub { color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.unit-card .uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--line-2); padding: 4px 9px; border-radius: 7px; }
.chip .ico { width: 13px; height: 13px; color: var(--ink-3); }

.profile-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.prof-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.prof-badge { width: 60px; height: 60px; border-radius: 15px; background: linear-gradient(135deg,#1b2130,#2a3446); color: var(--gold); display: grid; place-items: center; font-weight: 750; font-size: 19px; flex: 0 0 auto; }
.prof-head h1 { font-size: 22px; } .prof-head .ph-sub { color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.prof-head .ph-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.info-list { display: grid; grid-template-columns: 150px 1fr; gap: 13px 16px; font-size: 14px; }
.info-list dt { color: var(--ink-3); font-weight: 600; } .info-list dd { margin: 0; color: var(--ink); }
.emergency-box { background: var(--red-bg); border: 1px solid #f0c4c4; border-radius: 10px; padding: 12px 14px; color: #8a2b24; font-size: 13.5px; white-space: pre-wrap; }

/* Change Requests */
.alert-warn { background: #fdf4e3; border: 1px solid #f0dcae; color: #8a6516; }
.prose { font-size: 14px; line-height: 1.55; color: var(--ink); }
.cr-context { display: flex; align-items: center; gap: 14px; }
.cr-current { background: var(--bg-2, #f6f7f9); border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; font-size: 14px; color: var(--ink); min-height: 42px; white-space: pre-wrap; }
.cr-diff { display: flex; align-items: stretch; gap: 12px; margin-top: 14px; }
.cr-col { flex: 1; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; background: #fff; }
.cr-col.cr-old { background: #f8f9fb; }
.cr-col.cr-new { background: #f2f9f4; border-color: #cfe8d6; }
.cr-lab { text-transform: uppercase; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.cr-val { font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-word; }
.cr-arrow { display: grid; place-items: center; color: var(--gold-2); flex: 0 0 auto; }
.cr-arrow .ico { width: 20px; height: 20px; }
@media (max-width: 640px) { .cr-diff { flex-direction: column; } .cr-arrow { transform: rotate(90deg); } }

/* Residents as CRM profile cards */
.res-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; margin-bottom: 10px;
    border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff;
    transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.res-row:last-child { margin-bottom: 0; }
.res-row:hover { box-shadow: var(--shadow); border-color: var(--gold-line); transform: translateY(-1px); }
.res-av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#eef1f5,#e0e5ee); color: var(--ink-2); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.res-row .r-name { font-weight: 650; } .res-row .r-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.res-row .r-contact { margin-left: auto; text-align: right; font-size: 12.6px; color: var(--ink-2); white-space: nowrap; }
.res-row .r-actions { display: flex; gap: 6px; flex: 0 0 auto; }
@media (max-width: 640px) {
    .res-row { flex-wrap: wrap; }
    .res-row .r-contact { margin-left: 56px; text-align: left; width: 100%; }
    .res-row .r-actions { margin-left: 56px; }
}

/* Report editor — form + activity timeline side-by-side (app screen feel) */
.row-2 { display: grid; grid-template-columns: minmax(0,1fr) 336px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .row-2 { grid-template-columns: 1fr; } }

.qa-list { display: flex; flex-direction: column; gap: 8px; }
.qa-list a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.6px; font-weight: 600; color: var(--ink); transition: all .14s; }
.qa-list a .qa-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; } .qa-list a .qa-ic .ico { width: 16px; height: 16px; }
.qa-list a:hover { border-color: var(--gold-line); background: #fffdf6; transform: translateX(2px); }

@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }

/* search results */
.sr-group { margin-bottom: 20px; }
.sr-group h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 8px; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.sr-item:hover { border-color: var(--gold-line); box-shadow: var(--shadow); }
.sr-item .sr-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.sr-item .sr-main { font-weight: 600; } .sr-item .sr-sub { font-size: 12px; color: var(--ink-3); }
.sr-item .sr-type { margin-left: auto; }

/* timeline (parcel profile: audit / email / collection) */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -21px; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }
.tl-dot.tl-green { border-color: var(--green); } .tl-dot.tl-red { border-color: var(--red); } .tl-dot.tl-blue { border-color: var(--blue); } .tl-dot.tl-grey { border-color: var(--ink-3); }
.tl-item .tl-title { font-size: 13.6px; font-weight: 600; }
.tl-item .tl-meta { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* parcel dashboard big search */
.big-search { position: relative; }
.big-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); }
.big-search input { width: 100%; padding: 14px 16px 14px 46px; font-size: 15px; border-radius: 13px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.big-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,.14); }
.big-search input { transition: border-color var(--t), box-shadow var(--t); }

/* Standout rows (e.g. parcels awaiting pickup) */
.data tr.row-hot { background: linear-gradient(90deg, rgba(201,147,43,.07), rgba(201,147,43,0) 55%); }
.data tr.row-hot:hover { background: linear-gradient(90deg, rgba(201,147,43,.11), rgba(201,147,43,0) 55%); }
.data tr.row-hot td:first-child { box-shadow: inset 3px 0 0 var(--amber); }

/* receive: resident radio list */
.res-pick { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; }
.res-pick label { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 13.8px; }
.res-pick label:hover { border-color: var(--gold-line); background: #fffdf6; }
.res-pick input:checked + .rp-body { color: var(--gold-2); }
.res-pick label:has(input:checked) { border-color: var(--gold); background: #fffdf6; box-shadow: 0 0 0 2px rgba(200,162,74,.12); }
.res-pick .rp-name { font-weight: 600; } .res-pick .rp-sub { font-size: 12px; color: var(--ink-3); }

/* ---------------------------------------------------------------- calendar */
.cal-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: #fff; }
.cal-nav a:hover { border-color: var(--gold); color: var(--gold-2); }
.cal-nav a.btn { width: auto; height: auto; }
.cal-nav h2 { font-size: 16px; min-width: 168px; text-align: center; }
.view-switch { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.cal-legend { display: flex; gap: 14px; margin: 0 0 14px; flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.cal-legend i { width: 11px; height: 11px; border-radius: 3px; }

.cal-scroll { overflow-x: auto; }
.cal { min-width: 720px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.cal-head { display: grid; grid-template-columns: repeat(7,1fr); background: #fafbfc; border-bottom: 1px solid var(--line); }
.cal-head div { padding: 10px; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.cal-cell { min-height: 116px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 7px; }
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.out { background: #fbfcfd; }
.cal-cell .cal-day { font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: inline-grid; place-items: center; min-width: 24px; height: 24px; }
.cal-cell.today .cal-day { background: var(--gold); color: #fff; border-radius: 50%; }
.cal-cell.out .cal-day { color: var(--ink-3); opacity: .55; }
.cal-ev { display: block; margin-top: 4px; padding: 3px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev:hover { filter: brightness(1.06); }
.ev-guest_suite { background: var(--blue); } .ev-elevator { background: var(--gold-2); } .ev-party_room { background: var(--violet); }
.cal-ev.is-pending { border: 1.5px dashed rgba(255,255,255,.8); }
.cal-ev.is-cancelled, .cal-ev.is-denied { background: #98a1af; text-decoration: line-through; }
.cal-more { font-size: 11px; color: var(--ink-3); margin-top: 3px; padding-left: 3px; }

.book-terms { background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 12px; }

/* ---------------------------------------------------------- report editor */
.report-bar { position: sticky; top: 66px; z-index: 20; display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border: 1px solid var(--line);
    border-radius: 13px; padding: 11px 16px; margin-bottom: 18px; box-shadow: var(--shadow); flex-wrap: wrap; }
.report-bar .rb-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rb-no { font-weight: 750; font-size: 15px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.rb-meta { font-size: 12px; color: var(--ink-3); }
.report-bar .rb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.autosave { font-size: 12px; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.autosave::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.autosave.saving { color: var(--gold-2); } .autosave.unsaved { color: var(--ink-3); } .autosave.error { color: var(--red); }

.rep-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; }
.rep-section > .rs-head { padding: 13px 18px; border-bottom: 1px solid var(--line-2); display: flex; align-items: center; gap: 11px; }
.rep-section > .rs-head h2 { font-size: 14px; }
.rs-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; flex: 0 0 auto; } .rs-ic .ico { width: 16px; height: 16px; }
.rep-section > .rs-body { padding: 16px 18px; }

.chip-link { text-decoration: none; color: var(--gold-2); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.chip-link:hover { background: #fff; } .chip-link .ico { width: 13px; height: 13px; color: var(--gold-2); }

.occ { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #fcfcfd; }
.occ .occ-top { display: grid; grid-template-columns: 110px 1fr 1fr 40px; gap: 10px; align-items: end; }
.occ .occ-desc { margin-top: 10px; }
.occ .occ-link { display: grid; grid-template-columns: 160px 1fr; gap: 10px; margin-top: 10px; }
.occ-remove { background: var(--red-bg); color: var(--red); border: none; cursor: pointer; border-radius: 8px; height: 38px; display: grid; place-items: center; }
.occ-remove:hover { background: #f7d4d4; }
@media (max-width: 760px) { .occ .occ-top { grid-template-columns: 1fr; } .occ .occ-link { grid-template-columns: 1fr; } }

.rep-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.rep-tab { padding: 10px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rep-tab.is-active { color: var(--gold-2); border-bottom-color: var(--gold); }
.rep-tab:hover { color: var(--ink); }

/* ------------------------------------------------------- public QR forms */
body.pub { background: radial-gradient(1100px 560px at 50% -12%, #f7f8fa, #eaedf2); min-height: 100vh; margin: 0; }
.pub-wrap { max-width: 560px; margin: 0 auto; padding: 26px 16px 52px; }
.pub-head { text-align: center; padding: 6px 0 18px; }
.pub-head img { width: 54px; height: 54px; }
.pub-head .p-name { font-size: 18px; font-weight: 750; margin-top: 8px; letter-spacing: -.01em; }
.pub-head .p-sub { color: var(--gold-2); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
.pub-head .p-bldg { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.pub-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden; }
.pc-band { background: linear-gradient(120deg,#151a22,#232c39); color: #fff; padding: 18px 22px; border-bottom: 3px solid var(--gold); }
.pc-band h1 { font-size: 18px; color: #fff; } .pc-band p { margin: 3px 0 0; color: #9aa4b2; font-size: 13px; }
.pc-body { padding: 22px; }
.pub-terms { background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); max-height: 130px; overflow: auto; margin-bottom: 10px; }
.pub-foot { text-align: center; color: var(--ink-3); font-size: 12px; margin-top: 18px; }

.sig-pad-wrap { border: 1px solid var(--line); border-radius: 12px; background: #fff; position: relative; overflow: hidden; }
.sig-pad { width: 100%; height: 172px; touch-action: none; display: block; cursor: crosshair; }
.sig-clear { position: absolute; top: 8px; right: 8px; font-size: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: pointer; z-index: 2; }
.sig-hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #cfd5de; font-size: 13px; pointer-events: none; }

/* =====================================================================
   DASHBOARD — front-desk operational home
   ===================================================================== */
.dash { display: flex; flex-direction: column; gap: 28px; }

/* Greeting hero */
.dash-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dash-hero h1 { font-size: 30px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.dash-hero .hero-sub { color: var(--ink-3); font-size: 14px; margin-top: 7px; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-chip { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-2); padding: 9px 14px; box-shadow: var(--shadow); }
.hero-chip .hc-ic { width: 30px; height: 30px; border-radius: var(--radius-3); background: var(--gold-soft);
    color: var(--gold-2); display: grid; place-items: center; flex: 0 0 auto; }
.hero-chip .hc-ic .ico { width: 16px; height: 16px; }
.hero-chip .hc-k { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ink-3); }
.hero-chip .hc-v { font-size: 14px; font-weight: 650; color: var(--ink); line-height: 1.15; }

/* Section header (between blocks) */
.dsec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dsec-head h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.dsec-head .link-more { margin-left: auto; }

/* Operational cards */
.op-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.op-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; min-height: 158px; overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
a.op-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.op-card .op-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: 0; }
.op-card.is-active .op-accent { opacity: 1; }
.op-top { display: flex; align-items: flex-start; justify-content: space-between; }
.op-ic { width: 46px; height: 46px; border-radius: var(--radius-2); display: grid; place-items: center; }
.op-ic .ico { width: 23px; height: 23px; }
.op-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); }
.op-val { font-size: 40px; font-weight: 750; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.op-card.is-clear .op-val { color: var(--ink-3); }
.op-label { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.op-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.op-foot { margin-top: auto; }
.op-cta { font-size: 12.5px; font-weight: 650; color: var(--gold-2); display: inline-flex; align-items: center; gap: 5px; }
.op-cta .ico { width: 14px; height: 14px; }
.op-clear { font-size: 12.5px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 5px; }
.op-clear .ico { width: 15px; height: 15px; }

/* Shift panel (row 2) */
.shift-panel { background: linear-gradient(125deg,#141922 0%, #212a39 100%); border: 1px solid #2a3340;
    border-radius: var(--radius-lg); padding: 8px 8px; display: grid; grid-template-columns: repeat(5,1fr); }
.shift-panel .sp-cell { padding: 16px 20px; }
.shift-panel .sp-cell + .sp-cell { border-left: 1px solid rgba(255,255,255,.07); }
.shift-panel .sp-k { color: var(--gold); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.shift-panel .sp-v { color: #fff; font-size: 18px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.shift-panel .sp-sub { color: #8b95a6; font-size: 12px; margin-top: 2px; }
.shift-panel .sp-status { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 15px; font-weight: 650; margin-top: 4px; }
.shift-panel .sp-dot { width: 9px; height: 9px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 4px rgba(53,208,127,.18); }

/* Operations timeline (row 3) — replaces charts */
.op-timeline { display: flex; flex-direction: column; }
.tl-row { display: flex; gap: 16px; position: relative; }
.tl-time { width: 62px; flex: 0 0 auto; font-size: 12.5px; font-weight: 650; color: var(--ink-2);
    font-variant-numeric: tabular-nums; padding-top: 5px; text-align: right; }
.tl-rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.tl-ic { width: 34px; height: 34px; border-radius: var(--radius-3); display: grid; place-items: center; z-index: 1; }
.tl-ic .ico { width: 17px; height: 17px; }
.tl-rail::after { content: ""; width: 2px; flex: 1; background: var(--line); margin: 2px 0; }
.tl-row:last-child .tl-rail::after { display: none; }
.tl-body { flex: 1; min-width: 0; padding: 4px 0 20px; }
.tl-row:last-child .tl-body { padding-bottom: 2px; }
.tl-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.tl-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* Quick actions (row 4) — 6 up */
.qa-grid.qa-6 { grid-template-columns: repeat(6,1fr); }
.qa-6 .qa { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; min-height: 96px; }
.qa-6 .qa .qa-ic { width: 38px; height: 38px; } .qa-6 .qa .qa-ic .ico { width: 19px; height: 19px; }

/* Upcoming today (row 5) */
.up-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.up-row:last-child { border-bottom: none; }
.up-ic { width: 40px; height: 40px; border-radius: var(--radius-2); display: grid; place-items: center; flex: 0 0 auto; }
.up-ic .ico { width: 20px; height: 20px; }
.up-body { flex: 1; min-width: 0; }
.up-title { font-size: 14px; font-weight: 650; color: var(--ink); }
.up-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.up-time { font-size: 13px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Notifications (row 6) */
.notif-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line-2); transition: background var(--t); }
.notif-row:last-child { border-bottom: none; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.nd-amber { background: var(--amber); } .nd-red { background: var(--red); } .nd-blue { background: var(--blue); }
.nd-green { background: var(--green); } .nd-violet { background: var(--violet); }
.notif-row .n-body { flex: 1; min-width: 0; } .notif-row .n-title { font-size: 13.8px; font-weight: 600; color: var(--ink); }
.notif-row .n-meta { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

@media (max-width: 1200px) {
    .op-cards { grid-template-columns: repeat(2,1fr); }
    .shift-panel { grid-template-columns: repeat(2,1fr); gap: 0; }
    .shift-panel .sp-cell:nth-child(odd) { border-left: none; }
    .qa-grid.qa-6 { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 720px) {
    .dash-hero h1 { font-size: 25px; }
    .op-cards { grid-template-columns: 1fr; }
    .shift-panel { grid-template-columns: 1fr; }
    .shift-panel .sp-cell { border-left: none !important; border-top: 1px solid rgba(255,255,255,.07); }
    .shift-panel .sp-cell:first-child { border-top: none; }
    .qa-grid.qa-6 { grid-template-columns: 1fr 1fr; }
}

.pub-confirm { text-align: center; padding: 22px 10px; }
.pub-confirm .pc-ic { width: 66px; height: 66px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.pub-confirm .pc-no { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--gold-soft); color: var(--gold-2); display: inline-block; padding: 6px 14px; border-radius: 8px; margin-top: 10px; }

/* QR admin */
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 18px; }
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; text-align: center; }
.qr-card h3 { font-size: 15px; } .qr-card .qr-img { width: 196px; height: 196px; margin: 12px auto 8px; }
.qr-card .qr-img img { width: 100%; height: 100%; }
.qr-card .qr-url { font-size: 10.5px; color: var(--ink-3); word-break: break-all; margin-bottom: 12px; }
@media print { body.qr-print .sidebar, body.qr-print .topbar, body.qr-print .page-head, body.qr-print .qr-actions, body.qr-print .app-footer { display: none !important; } body.qr-print .app { display: block; } }

/* =====================================================================
   PWA / MOBILE — bottom nav, sticky actions, tables-as-cards
   (all gated to phone widths; desktop is untouched)
   ===================================================================== */
.bottom-nav { display: none; }
@media (max-width: 640px) {
    .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 2px;
        background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(12px);
        border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
    .bnav { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        padding: 6px 0; min-height: 54px; border-radius: var(--radius-3); border: none; background: none; cursor: pointer;
        color: var(--ink-3); font-size: 10.5px; font-weight: 650; font-family: inherit; text-decoration: none; }
    .bnav .ico { width: 22px; height: 22px; }
    .bnav.is-active { color: var(--gold-2); background: var(--gold-soft); }
    .bnav.is-active .ico { color: var(--gold-2); }
    .bnav:active { background: var(--line-2); }

    /* Primary form actions become a clear sticky bar above the bottom nav */
    .form-actions { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 20;
        background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: 0 -6px 20px -10px rgba(20,24,31,.22); padding: 12px; margin-top: 20px; flex-wrap: wrap; }
    .form-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }
    .form-actions .spacer { flex: 1 1 100%; margin-right: 0; order: 2; }

    /* Opt-in: turn a data table into stacked cards */
    table.data-cards, table.data-cards tbody, table.data-cards tr, table.data-cards td { display: block; width: 100%; }
    table.data-cards thead { display: none; }
    table.data-cards tr { border: 1px solid var(--line); border-radius: var(--radius-2); margin-bottom: 12px;
        padding: 6px 14px; box-shadow: var(--shadow); background: #fff; }
    table.data-cards td { border: none !important; padding: 9px 0; display: flex; justify-content: space-between;
        align-items: center; gap: 14px; text-align: right; }
    table.data-cards td + td { border-top: 1px solid var(--line-2) !important; }
    table.data-cards td::before { content: attr(data-label); text-align: left; flex: 0 0 auto;
        font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--ink-3); }
    table.data-cards td.cell-actions { justify-content: flex-end; }
    table.data-cards td.cell-actions::before { content: ""; }
    table.data-cards td[data-label=""]::before { content: ""; }
}

/* =====================================================================
   DASHBOARD COMMAND-CENTER LAYOUT (2 columns: main + rail)
   ===================================================================== */
.qa-band .qa-grid { margin: 0; }
.dash-grid { display: grid; grid-template-columns: minmax(0,1fr) 358px; gap: 24px; align-items: start; }
.dash-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.dash-rail { display: flex; flex-direction: column; gap: 22px; }
.dash-main .op-cards { grid-template-columns: repeat(2,1fr); }
@media (max-width: 1080px) { .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px)  { .dash-main .op-cards { grid-template-columns: 1fr; } }

/* Rail — current shift rows */
.shift-rows { display: flex; flex-direction: column; }
.shift-rows .sr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.shift-rows .sr:last-child { border-bottom: none; }
.sr-k { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.sr-v { font-size: 13.6px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block;
    box-shadow: 0 0 0 3px rgba(31,157,99,.20); }

/* Rail — daily tasks */
.task-prog { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.task-prog .progress { flex: 1; }
.dash-rail .check-item { padding: 9px 2px; border-color: var(--line-2); }
.ci-box { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; flex: 0 0 auto; }
.check-item.is-done .ci-box { background: var(--gold); border-color: var(--gold); }
.dash-rail .check-item .ci-title { font-size: 13.5px; }

/* =====================================================================
   REPORT EDITOR POLISH (DOR / SOR)
   ===================================================================== */
.opt-block { margin-top: 6px; border-top: 1px dashed var(--line); padding-top: 12px; }
.opt-block > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.opt-block > summary::-webkit-details-marker { display: none; }
.opt-block > summary .ico { width: 16px; height: 16px; color: var(--gold-2); }

.occ-add { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 2px;
    padding: 14px; border: 1.5px dashed var(--line); border-radius: var(--radius-2); background: #fcfcfd;
    color: var(--ink-2); font-size: 13.6px; font-weight: 650; cursor: pointer; font-family: inherit;
    transition: border-color var(--t), color var(--t), background var(--t); }
.occ-add .ico { width: 17px; height: 17px; }
.occ-add:hover { border-color: var(--gold); color: var(--gold-2); background: #fffdf6; }

.rail-hint { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border: 1px dashed var(--line);
    border-radius: var(--radius); color: var(--ink-3); font-size: 13px; background: #fbfcfd; }
.rail-hint .ico { width: 18px; height: 18px; color: var(--ink-3); flex: 0 0 auto; }
.rep-rail { position: sticky; top: 132px; }
@media (max-width: 1100px) { .rep-rail { position: static; } }

/* SOR inspection stepper */
.step-nav { display: flex; gap: 7px; margin-bottom: 18px; overflow-x: auto; padding-bottom: 2px; }
.step { flex: 1; min-width: 130px; display: flex; align-items: center; gap: 10px; padding: 11px 14px;
    border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff; cursor: pointer;
    font-family: inherit; color: var(--ink-3); transition: border-color var(--t), background var(--t), box-shadow var(--t); white-space: nowrap; }
.step:hover { border-color: var(--gold-line); }
.step-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
    background: var(--line-2); color: var(--ink-3); font-size: 12.5px; font-weight: 700; transition: background var(--t), color var(--t); }
.step-l { font-size: 13px; font-weight: 650; }
.step.is-active { border-color: var(--gold); background: #fffdf6; color: var(--ink); box-shadow: var(--shadow); }
.step.is-active .step-n { background: var(--gold); color: #fff; }
.step.is-done .step-n { background: var(--green); color: #fff; }
.step.is-done { color: var(--ink-2); }
.step-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }

.sys-list { display: flex; flex-direction: column; gap: 8px; }
.sys-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px;
    border: 1px solid var(--line); border-radius: var(--radius-2); background: #fff; transition: border-color var(--t); }
.sys-item:hover { border-color: var(--line); }
.sys-name { font-size: 14px; font-weight: 650; color: var(--ink); }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; flex: 0 0 auto; }
.seg-opt { position: relative; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: block; padding: 7px 16px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); transition: background var(--t), color var(--t); }
.seg-opt:hover span { color: var(--ink); }
.seg-ok input:checked + span { background: var(--green); color: #fff; }
.seg-issue input:checked + span { background: var(--amber); color: #fff; }
.seg-na input:checked + span { background: #8a94a3; color: #fff; }

.rev-lead { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.rev-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.rev-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13.6px; font-weight: 600; }

@media (max-width: 640px) {
    .step-l { display: none; }
    .step { flex: 1 1 auto; min-width: 0; padding: 11px 8px; justify-content: center; }
    .sys-item { flex-direction: column; align-items: stretch; gap: 10px; }
    .seg { width: 100%; } .seg-opt { flex: 1; } .seg-opt span { text-align: center; }
    .rev-grid { grid-template-columns: 1fr; }
    .step-foot .btn { flex: 1; justify-content: center; }
}

/* =====================================================================
   DESIGN-SYSTEM CORRECTIONS (token cascade + hover refinements)
   ===================================================================== */
/* Keep key figures crisp against the softer body text */
.stat .st-value, .op-val, .rb-no, .kpi-value { color: var(--ink); }
.t-strong, .l-title, .up-title, .tl-title, .sys-name, .rev-row { color: var(--ink); }

/* Tables — calm hairline rows, gentle hover */
table.data th { color: var(--ink-3); font-weight: 650; letter-spacing: .04em; }
table.data tbody tr:hover { background: var(--n-25); }

/* Filter pills — quieter idle, clear hover */
.filter-tab { transition: background var(--t), border-color var(--t), color var(--t); }
.filter-tab:hover { background: var(--n-50); border-color: var(--n-300); color: var(--ink); }

/* Cards stay calm (no shadow jump) unless explicitly interactive */
.card:hover { box-shadow: var(--shadow); }

/* Section/card titles a touch tighter */
.card-head h2, .rs-head h2 { letter-spacing: -0.015em; }

/* =====================================================================
   DASHBOARD CONTROL CENTER (Concierge)
   ===================================================================== */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(31,157,99,.5); }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: pulse-live 2.6s infinite; } }
@keyframes pulse-live { 0% { box-shadow: 0 0 0 0 rgba(31,157,99,.5); } 70% { box-shadow: 0 0 0 6px rgba(31,157,99,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,99,0); } }
.nd-grey { background: #98a1af; }

/* Operations hero (dark) */
.ops-hero { background: radial-gradient(620px 220px at 10% -40%, #263149, transparent 70%), linear-gradient(135deg, #141922, #1f2836);
    border: 1px solid #2a3444; border-radius: var(--radius-lg); padding: 34px 36px; color: #c9d2de; display: flex; align-items: center;
    gap: 38px; flex-wrap: wrap; box-shadow: var(--shadow-2); }
.oh-clock { font-size: 42px; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
.oh-date { font-size: 13px; color: #929db0; margin-top: 10px; }
.oh-who { display: flex; align-items: center; gap: 13px; padding-left: 30px; border-left: 1px solid rgba(255,255,255,.09); }
.oh-av { width: 42px; height: 42px; background: linear-gradient(150deg, #2f3a4a, #161c26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.oh-who .wl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 750; }
.oh-who .wn { font-size: 15.5px; font-weight: 700; color: #fff; margin-top: 3px; letter-spacing: -0.01em; }
.oh-who .ws { font-size: 12px; color: #929db0; margin-top: 2px; }
.oh-right { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.oh-health { display: flex; gap: 9px; flex-wrap: wrap; }
.hpill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 9px 13px; font-size: 12px; font-weight: 600; color: #c9d2de; }
.hpill .hd { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hd-ok { background: #35d07f; } .hd-alert { background: #f0a13a; } .hd-off { background: #8891a0; }
@media (prefers-reduced-motion: no-preference) { .hd-ok { animation: pulse-ok 2.6s infinite; } }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(53,208,127,.5); } 70% { box-shadow: 0 0 0 6px rgba(53,208,127,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); } }
.oh-shift-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 9px; font-size: 12.5px; font-weight: 650;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #dfe6f0; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background var(--t), border-color var(--t), color var(--t); }
.oh-shift-btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; }
.oh-shift-btn .ico { width: 14px; height: 14px; }
.oh-ring { position: relative; width: 70px; height: 70px; flex: none; }
.oh-ring svg { width: 70px; height: 70px; }
.oh-ring .rt { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 800; color: #fff; }

/* Building alert line */
.ops-alert { display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #fdf1e3, #fdf7ee);
    border: 1px solid #f2d3a2; border-radius: var(--radius-2); padding: 12px 16px; color: #8a5a12; font-size: 13.5px; font-weight: 600; }
.ops-alert .ai { width: 32px; height: 32px; border-radius: 9px; background: #f7dcb0; color: #a86b1a; display: grid; place-items: center; flex: none; }
.ops-alert .ai .ico { width: 17px; height: 17px; }
.ops-alert .btn { margin-left: auto; }

/* Operational metrics strip */
.ops-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.opm { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-2); box-shadow: var(--shadow); padding: 16px 18px; color: inherit;
    transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.opm:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.opm .oi { width: 44px; height: 44px; border-radius: var(--radius-3); display: grid; place-items: center; flex: none; }
.opm .oi .ico { width: 21px; height: 21px; }
.opm .ov { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.opm .ol { font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-top: 4px; }
.opm .oc { margin-left: auto; color: var(--n-300); opacity: 0; transform: translateX(-5px);
    transition: opacity var(--t), transform var(--t) var(--ease); }
.opm:hover .oc { opacity: 1; transform: none; color: var(--gold-2); } .opm .oc .ico { width: 16px; height: 16px; }

/* Activity feed (cards) */
.feed { display: flex; flex-direction: column; gap: 14px; }
.acard { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-2); box-shadow: var(--shadow); padding: 13px 16px; color: inherit;
    transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.acard:hover { transform: translateX(3px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.acard .ai2 { width: 42px; height: 42px; border-radius: var(--radius-3); display: grid; place-items: center; flex: none; }
.acard .ai2 .ico { width: 20px; height: 20px; }
.acard .at { font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.acard .am { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.acard .ax { margin-left: auto; font-size: 11px; color: var(--n-400); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.acard.fresh { box-shadow: inset 0 0 0 1px var(--gold-line), var(--shadow); }
@keyframes acard-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Attention-required zone (tinted) */
.attn-zone { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden; }
.attn-zone .az-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--gold-line); }
.attn-zone .az-head h2 { font-size: 14px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.attn-zone .az-head h2 .ico { width: 16px; height: 16px; color: var(--gold-2); }
.attn-zone .az-body { padding: 4px 16px 12px; background: rgba(255,255,255,.55); }
.az-item { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--gold-line); }
.az-item:last-child { border: none; }
.az-item .azd { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.az-item .azt { font-size: 13px; font-weight: 700; color: var(--ink); }
.az-item .azs { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.az-empty { padding: 22px 8px; text-align: center; color: var(--ink-3); font-size: 12.5px; }
.az-empty .ico { width: 26px; height: 26px; color: var(--green); }

@media (max-width: 900px) {
    .ops-hero { gap: 16px; padding: 18px; }
    .oh-who { padding-left: 0; border-left: none; }
    .oh-right { margin-left: 0; width: 100%; }
    .ops-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .ops-metrics { grid-template-columns: 1fr 1fr; } .oh-clock { font-size: 28px; } }

/* =====================================================================
   DASHBOARD CONTROL CENTER — proportion & motion refinements
   ===================================================================== */
.dash { gap: 20px; }
.dash-grid { grid-template-columns: minmax(0,1fr) 372px; gap: 22px; }

/* Compact, premium quick actions (override the big vertical tiles on the dashboard) */
.dash .qa-band .qa-grid.qa-6 { gap: 10px; }
.dash .qa-6 .qa { flex-direction: row; align-items: center; gap: 11px; padding: 12px 14px; min-height: 0;
    border-radius: var(--radius-2); font-size: 13px; font-weight: 650; }
.dash .qa-6 .qa .qa-ic { width: 34px; height: 34px; } .dash .qa-6 .qa .qa-ic .ico { width: 17px; height: 17px; }
@media (max-width: 1080px) { .dash .qa-6 .qa .ql, .dash .qa-6 .qa { font-size: 13px; } }

/* Attention zone — a touch more room + weight */
.attn-zone .az-head { padding: 15px 18px; }
.attn-zone .az-head h2 { font-size: 14.5px; letter-spacing: -0.01em; }
.attn-zone .az-body { padding: 6px 18px 14px; }
.az-item { padding: 12px 0; gap: 12px; }
.az-item .azt { font-size: 13.5px; }
.az-item .azs { font-size: 12px; }
.az-item .btn { flex: none; }

/* Live Activity heading dot spacing */
.card-head h2 .live-dot { margin-right: 6px; }

/* --- Orchestrated page-load: sections rise, feed streams, ring draws --- */
@media (prefers-reduced-motion: no-preference) {
    .dash > * { opacity: 0; animation: sec-rise .55s var(--ease) forwards; }
    .dash > *:nth-child(1) { animation-delay: .02s; }
    .dash > *:nth-child(2) { animation-delay: .09s; }
    .dash > *:nth-child(3) { animation-delay: .16s; }
    .dash > *:nth-child(4) { animation-delay: .23s; }
    .dash > *:nth-child(5) { animation-delay: .30s; }
    @keyframes sec-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

    .feed .acard { opacity: 0; animation: acard-in .5s var(--ease) forwards; }
    .feed .acard:nth-child(1) { animation-delay: .30s; }
    .feed .acard:nth-child(2) { animation-delay: .37s; }
    .feed .acard:nth-child(3) { animation-delay: .44s; }
    .feed .acard:nth-child(4) { animation-delay: .51s; }
    .feed .acard:nth-child(5) { animation-delay: .58s; }
    .feed .acard:nth-child(n+6) { animation-delay: .63s; }

    .oh-ring circle:last-of-type { animation: ring-draw 1.1s .35s var(--ease) both; }
    @keyframes ring-draw { from { stroke-dashoffset: 97.4; } }
}

/* Wider desktop: keep the workspace from stretching the hero text too far */
@media (min-width: 1400px) { .oh-clock { font-size: 46px; } }
@media (max-width: 900px) {
    .ops-hero { padding: 20px; gap: 18px; }
    .oh-clock { font-size: 36px; }
    .dash .qa-band .qa-grid.qa-6 { grid-template-columns: repeat(3,1fr); }
}

/* =====================================================================
   DASHBOARD — approved control-center parity (§F recreation)
   ===================================================================== */
/* Two columns only: Live Activity | Attention Required */
.dash-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 22px; align-items: start; }

/* Hero — match mockup alignment (no divider on who; health+ring pushed right) */
.oh-who { padding-left: 0; border-left: none; gap: 12px; }
.oh-health { margin-left: auto; }

/* Feed header (label + link), feed lives directly on the page — no card wrapper */
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.feed-head .fh-l { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink); }
.feed-head .fh-l .live-dot { width: 8px; height: 8px; }
.feed-head .fh-s { font-size: 12px; font-weight: 650; color: var(--gold-2); }
.feed-head .fh-s:hover { text-decoration: underline; }
.feed-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 46px 20px; }
.feed-empty .fe-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: #c3c9d2; margin-bottom: 4px; }
.feed-empty .fe-ic .ico { width: 22px; height: 22px; }
.feed-empty .fe-lead { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.feed-empty .fe-sub { font-size: 12.5px; color: var(--ink-3); max-width: 34ch; }

/* Activity cards — middle content wrapper + semantic icon tones */
.acard .ab { flex: 1; min-width: 0; }
.ic-a { background: var(--amber-bg); color: var(--amber); }
.ic-b { background: var(--blue-bg); color: var(--blue); }
.ic-g { background: var(--green-bg); color: var(--green); }
.ic-r { background: var(--red-bg); color: var(--red); }
.ic-v { background: var(--violet-bg); color: var(--violet); }
.ic-grey { background: var(--n-100); color: var(--ink-2); }

/* Attention Required — the gold tinted zone (solid, like the mockup) */
.attn-zone { background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); }
.attn-zone .az-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--gold-line); background: transparent; }
.attn-zone .az-head .az-title { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.attn-zone .az-body { padding: 4px 18px 12px; background: transparent; }
.az-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gold-line); color: inherit; }
.az-item:last-child { border-bottom: none; }
.az-item .azd { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.az-item .az-tb { flex: 1; min-width: 0; }
.az-item .azt { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.az-item .azs { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.az-item .btn { flex: none; min-width: 96px; justify-content: center; }
.az-empty { padding: 26px 8px; text-align: center; color: var(--ink-3); font-size: 12.5px; }
.az-empty .ico { width: 28px; height: 28px; color: var(--green); }
.az-empty .ae-lead { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-top: 6px; }

@media (max-width: 1080px) { .dash-grid { grid-template-columns: 1fr; } }

/* Hero right cluster — keep telemetry + ring together on the right */
.oh-right { margin-left: auto; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.oh-health { margin-left: 0; }
.hpill.hp-alert { background: rgba(240,161,58,.12); border-color: rgba(240,161,58,.3); color: #f0c07a; }

/* Quick actions — compact chip strip (light; must not compete with feed/attention) */
.qa-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.qchip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-3);
    background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
    font-size: 13px; font-weight: 650; color: var(--ink); white-space: nowrap;
    transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t), background var(--t); }
.qchip .ico { width: 16px; height: 16px; color: var(--gold-2); transition: color var(--t); }
.qchip:hover { border-color: var(--gold-line); background: #fffdf6; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.qchip:active { transform: translateY(0); }
@media (max-width: 640px) { .qa-strip { gap: 7px; } .qchip { flex: 1 1 auto; justify-content: center; } }

/* =====================================================================
   PHASE 2 — Parcels (logistics) + Visitors (check-in) shared components
   Recreated faithfully from approved mockups §02–§04.
   ===================================================================== */

/* Button sizes — design-system additions */
.btn-lg { padding: 12px 18px; font-size: 14px; }
.btn-xl { padding: 14px 20px; font-size: 15px; border-radius: 12px; }

/* Two-up card grid (parcels + visitors lists) */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr; } }

/* Filter chips with a count pill */
.chip-count { margin-left: 6px; font-variant-numeric: tabular-nums; opacity: .85; }

/* Courier identity badges — big for split-second recognition */
.courier { border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: none; font-weight: 800; line-height: 1; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.c-amz { background: #232f3e; } .c-amz .w { color: #fff; font-size: 13px; letter-spacing: -.02em; } .c-amz .sm { width: 26px; height: 9px; margin-top: 3px; }
.c-ups { background: #3d2817; color: #f5b93b; font-size: 17px; }
.c-fx  { background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; } .c-fx .f { color: #4d148c; } .c-fx .e { color: #ff6200; }
.c-cp  { background: #da291c; color: #fff; font-size: 15px; } .c-cp .s { font-size: 8px; font-weight: 600; opacity: .9; margin-top: 2px; }
.c-pl  { background: #5b2a6e; color: #fff; font-size: 18px; }
.c-dhl { background: #ffcc00; color: #d40511; font-size: 15px; letter-spacing: -.02em; }
.c-gen { background: linear-gradient(150deg, #eef1f5, #dfe4ec); color: var(--ink-2); font-size: 16px; }

/* Parcel card */
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow);
    overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.pcard .pt { display: flex; align-items: center; gap: 13px; padding: 15px 15px 13px; }
.pcard .pn { font-size: 16px; font-weight: 780; color: var(--ink); }
.pcard .pn a { color: inherit; text-decoration: none; }
.pcard .pn a:hover { color: var(--gold-2); }
.pcard .pmeta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.pcard .kvs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 0 15px 8px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; }
.kv .k { color: var(--ink-3); }
.kv .v { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.pcard .pf { padding: 12px 15px; border-top: 1px solid var(--line-2); background: var(--n-50); display: flex; gap: 10px; align-items: center; }
.pcard .pf .btn-primary { flex: 1; padding: 12px; }

/* Visitor card — visitor → resident → unit → check out */
.vcard { background: var(--card); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow);
    padding: 15px; display: flex; flex-direction: column; gap: 12px;
    transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.vcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.vtop { display: flex; align-items: center; gap: 12px; }
.vav { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, #eef1f5, #dfe4ec);
    color: var(--ink-2); display: grid; place-items: center; font-weight: 780; font-size: 15px; flex: none; }
.vname { font-size: 15px; font-weight: 780; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vname a { color: inherit; text-decoration: none; } .vname a:hover { color: var(--gold-2); }
.vsub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.vlink { display: flex; align-items: center; gap: 10px; background: var(--n-50); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.vlink .vi { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.vlink .vi .ico { width: 17px; height: 17px; }
.vlink .rk { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 750; }
.vlink .rv { font-size: 14px; font-weight: 750; color: var(--ink); }
.vlink .runit { margin-left: auto; text-align: right; }
.onsite { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23,130,87,.16); display: inline-block; }
.vtime { font-size: 11.5px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; margin-left: auto; white-space: nowrap; }
.vcard .signout-form { margin: 0; }
.vcard .signout-form .btn { width: 100%; }

/* Parcel profile — chain of custody */
.phead { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.phead .ph-id { display: flex; align-items: center; gap: 10px; }
.phead .ph-id h2 { font-size: 20px; font-weight: 800; color: var(--ink); }
.phead .ph-line { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
.pstep { display: flex; flex-direction: column; }
.pstep .st { display: flex; gap: 13px; }
.pstep .sd { display: flex; flex-direction: column; align-items: center; flex: none; }
.pstep .sc2 { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.pstep .sc2 .ico { width: 14px; height: 14px; }
.pstep .sl { flex: 1; width: 2px; background: var(--line); margin: 3px 0; min-height: 14px; }
.pstep .st:last-child .sl { display: none; }
.pstep .done .sc2 { background: var(--green); color: #fff; }
.pstep .cur  .sc2 { background: var(--gold); color: #fff; }
.pstep .todo .sc2 { background: #eef0f3; color: var(--ink-3); }
.pstep .sb2 { padding-bottom: 16px; }
.pstep .stt { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pstep .stm { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* =====================================================================
   PHASE 3 — Bookings (reservation desk) + Directory / Unit CRM (§05–§07)
   ===================================================================== */

/* Generic panel (bookings hero, unit profile) */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel.hero { box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.panel .ph { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.panel .ph h3 { font-size: 14px; font-weight: 730; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.panel .ph h3 .ico { width: 16px; height: 16px; }
.panel .pb { padding: 12px 16px 14px; }
.slab { font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }

/* Reservation cards (bookings) */
.resv { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 14px; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.resv:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.resv .rtime { width: 66px; flex: none; text-align: center; }
.resv .rtime .h { font-size: 16px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.resv .rtime .mm { font-size: 11px; color: var(--ink-3); }
.resv .ric { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--violet-bg); color: var(--violet); }
.resv .ric .ico { width: 21px; height: 21px; }
.ric-blue { background: var(--blue-bg); color: var(--blue); }
.ric-amber { background: var(--amber-bg); color: var(--amber); }
.ric-violet { background: var(--violet-bg); color: var(--violet); }
.resv .rbody { flex: 1; min-width: 0; }
.resv .rn { font-size: 15px; font-weight: 780; color: var(--ink); }
.resv .rm { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.resv .rn a { color: inherit; text-decoration: none; } .resv .rn a:hover { color: var(--gold-2); }
.resv-actions { display: flex; gap: 8px; flex: none; }
.timecol { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 2px 2px; }
.resv-list { display: flex; flex-direction: column; gap: 11px; }
@media (max-width: 600px) { .resv { flex-wrap: wrap; } .resv-actions { margin-left: 60px; } }

/* Directory — CRM summary strip */
.astat { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.astatc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; }
.astatc .ak { font-size: 11.5px; color: var(--ink-3); font-weight: 650; }
.astatc .av { font-size: 24px; font-weight: 800; color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; line-height: 1; }
.astatc .at2 { font-size: 11.5px; margin-top: 4px; font-weight: 600; }
@media (max-width: 640px) { .astat { grid-template-columns: 1fr 1fr; } }

/* Unit profile — 300px rail + content */
.grid2b { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .grid2b { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 2px; flex-wrap: wrap; }
.tab { padding: 11px 14px; font-size: 13px; font-weight: 650; color: var(--ink-3); border: none; border-bottom: 2px solid transparent;
    margin-bottom: -1px; cursor: pointer; background: none; transition: color var(--t); }
.tab.on { color: var(--ink); border-bottom-color: var(--gold); }
.tab:hover { color: var(--ink-2); }
.tabpane { display: none; } .tabpane.on { display: block; }

/* Info rows + profile badge (unit / booking profiles) */
.inforow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.inforow:last-child { border-bottom: none; }
.inforow .k { color: var(--ink-3); }
.inforow .v { color: var(--ink); font-weight: 650; text-align: right; }
.pbadge { width: 64px; height: 64px; border-radius: 17px; background: linear-gradient(150deg, #1c2430, #0f1218); color: var(--gold);
    display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.pcount { display: flex; gap: 18px; text-align: center; flex: none; }
.pcount .pcv { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcount .pck { font-size: 11px; color: var(--ink-3); }
.pcontact { font-size: 13px; color: var(--ink-2); margin-top: 5px; display: flex; gap: 16px; flex-wrap: wrap; }
.pcontact span { display: flex; gap: 6px; align-items: center; }
.pcontact .ico { width: 14px; height: 14px; color: var(--ink-3); }
.reslink { display: flex; align-items: center; gap: 11px; background: var(--n-50); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; margin-bottom: 8px; }
.reslink .rlav { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(150deg,#eef1f5,#dfe4ec); color: var(--ink-2); display: grid; place-items: center; font-weight: 780; font-size: 13px; flex: none; }
.reslink .rln { font-weight: 700; color: var(--ink); font-size: 14px; }
.reslink .rls { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* Directory — building stack (signature screen, wynford-system) */
.dir-stack { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .dir-stack { grid-template-columns: 1fr; } }
.bstack { display: flex; flex-direction: column; gap: 6px; }
.floor { display: flex; align-items: center; gap: 11px; }
.floor .fl { width: 40px; flex: none; text-align: right; font-size: 11px; font-weight: 750; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.floor .cells { display: flex; gap: 6px; flex: 1; justify-content: flex-start; }
.cell { flex: 1 1 44px; max-width: 72px; min-width: 38px; height: 34px; border-radius: 7px; display: grid; place-items: center; font-size: 10.5px; font-weight: 700;
    cursor: pointer; border: 1px solid transparent; background: none; color: inherit; font-family: inherit;
    transition: transform var(--t) var(--ease), box-shadow var(--t); }
.cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.cell.occ { background: var(--gold-soft); color: var(--gold-2); border-color: var(--gold-line); }
.cell.vac { background: var(--n-100); color: var(--ink-3); border-color: var(--line); }
.cell.att { background: var(--red-bg); color: var(--red); border-color: #f0c4c1; }
.cell.sel { outline: 2px solid var(--gold); outline-offset: 1px; }
.legend { display: flex; gap: 12px; font-size: 11px; color: var(--ink-3); flex-wrap: wrap; }
.legend span { display: flex; gap: 5px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.occbar { display: flex; height: 8px; border-radius: 5px; overflow: hidden; background: var(--n-100); }
.occbar span { display: block; height: 100%; }
.mlabel { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.selitem { display: flex; align-items: center; gap: 11px; }
.selitem .selav { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(150deg,#2a3342,#12151b); color: var(--gold); display: grid; place-items: center; font-weight: 780; font-size: 12px; flex: none; }
.selitem .seln { font-weight: 700; color: var(--ink); font-size: 14px; }
.selitem .sels { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
@media (max-width: 560px) { .cell { min-width: 32px; height: 30px; } .floor .fl { width: 28px; } }

/* Resident Profile — unit command center (wynford-system §G) */
.rphead { background: linear-gradient(135deg,#171c25,#232c3b); border: 1px solid #2a3444; border-radius: 16px; padding: 18px 20px;
    display: flex; align-items: center; gap: 16px; color: #c9d2de; flex-wrap: wrap; margin-bottom: 18px; box-shadow: var(--shadow-2); }
.rphead .rb { width: 60px; height: 60px; border-radius: 16px; background: var(--gold-2); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; flex: none; }
.rphead h2 { color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.rphead .rmeta { font-size: 12.5px; color: #98a4b6; margin-top: 5px; display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.rphead .rmeta span { display: flex; align-items: center; gap: 6px; }
.rphead .rmeta .ico { width: 14px; height: 14px; }
.rphead .rq { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.btn-dark { background: #1c2430; border-color: transparent; color: #fff; }
.btn-dark:hover { background: #2a3446; border-color: transparent; color: #fff; }
.btn-dark .ico { color: var(--gold); }
.miniitem { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.miniitem:last-child { border: none; }
.miniitem .miav { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(150deg,#3a4658,#20262f); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 12px; flex: none; }
.miniitem .mi { width: 32px; height: 32px; border-radius: 9px; background: var(--n-100); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.miniitem .mi .ico { width: 16px; height: 16px; }
.miniitem .mn { font-size: 13px; font-weight: 650; color: var(--ink); }
.miniitem .ms2 { font-size: 11px; color: var(--ink-3); }
.rptabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 4px; overflow-x: auto; }
.rptab { padding: 11px 13px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; background: none; }
.rptab.on { color: var(--ink); border-bottom-color: var(--gold); }
.rptab .c { font-size: 10px; font-weight: 750; background: var(--n-100); color: var(--ink-2); border-radius: 6px; padding: 1px 6px; margin-left: 5px; }
.tline { display: flex; flex-direction: column; }
.tline .e { display: flex; gap: 12px; }
.tline .r { display: flex; flex-direction: column; align-items: center; flex: none; }
.tline .dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--gold); background: var(--card); margin-top: 3px; }
.tline .ln { flex: 1; width: 2px; background: var(--line); margin: 3px 0; }
.tline .e:last-child .ln { display: none; }
.tline .c { padding-bottom: 15px; }
.tline .tt { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.tline .tm { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.rpgrid { display: grid; grid-template-columns: 236px minmax(0,1fr) 250px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .rpgrid { grid-template-columns: 236px minmax(0,1fr); } .rpgrid .rpcomm { grid-column: 1 / -1; } }
@media (max-width: 760px) { .rpgrid { grid-template-columns: 1fr; } }

/* =====================================================================
   PHASE 4 — DOR notebook timeline (§08) + SOR fault workflow (§09)
   ===================================================================== */

/* DOR — occurrences read as a digital-notebook timeline */
.dor-timeline { position: relative; }
.dor-timeline .occ { position: relative; margin-left: 24px; }
.dor-timeline .occ::before { content: ""; position: absolute; left: -24px; top: 18px; width: 11px; height: 11px; border-radius: 50%;
    background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); z-index: 1; }
.dor-timeline .occ::after { content: ""; position: absolute; left: -19px; top: 28px; height: calc(100% + 12px); width: 2px; background: var(--line); }
.dor-timeline .occ:last-of-type::after { display: none; }
@media (max-width: 760px) { .dor-timeline .occ { margin-left: 18px; } .dor-timeline .occ::before { left: -18px; } .dor-timeline .occ::after { left: -13px; } }

/* SOR — 4-state systems control (adds Fault) + inline fault callout */
.seg-fault input:checked + span { background: var(--red); color: #fff; }
.sys-wrap { display: flex; flex-direction: column; }
.sys-item.is-flagged { border-color: #f0c4c1; background: #fff8f7; }
.faultbox { margin-top: -2px; margin-bottom: 8px; border: 1px solid #f0c4c1; border-top: none;
    background: var(--red-bg); border-radius: 0 0 12px 12px; padding: 13px 15px; }
.faultbox .fb-l { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.faultbox .fb-l .ico { width: 14px; height: 14px; }
.faultbox .fb-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.faultbox .fb-note { font-size: 12.5px; color: var(--ink-2); flex: 1; min-width: 200px; line-height: 1.45; }

/* Incidents — severity-striped dispatch cards (§10) */
.inc-list { display: flex; flex-direction: column; gap: 12px; }
.inc { display: flex; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    overflow: hidden; color: inherit; text-decoration: none; transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.inc:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }
.inc .sev { width: 4px; flex: none; }
.sev-hi { background: var(--red); } .sev-md { background: var(--amber); } .sev-lo { background: var(--blue); }
.inc .ib { padding: 14px 16px; flex: 1; min-width: 0; }
.inc .itop { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.inc .itype { font-size: 14.5px; font-weight: 780; color: var(--ink); }
.inc .im { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.inc .ix { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.inc .ix .ix-no { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.inc .iact { display: flex; align-items: center; gap: 6px; padding: 14px 14px 14px 0; flex: none; }

/* =====================================================================
   Notifications inbox (§14) + Account calm-settings (§15)
   ===================================================================== */

/* Notifications — one inbox */
.ninbox { display: flex; flex-direction: column; }
.ni { display: flex; align-items: center; gap: 13px; padding: 13px 2px; border-bottom: 1px solid var(--line-2); }
.ni:last-child { border-bottom: none; }
.ni .nic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ni .nic .ico { width: 19px; height: 19px; }
.ni .nb { flex: 1; min-width: 0; }
.ni .nt { font-size: 14px; font-weight: 700; color: var(--ink); }
.ni .nm { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.ni .na { flex: none; }
@media (max-width: 560px) { .ni { flex-wrap: wrap; } .ni .na { margin-left: 53px; } }

/* Account — grouped calm settings */
.acct-head { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px; }
.acct-av { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(150deg,#2a3342,#12151b); color: var(--gold);
    display: grid; place-items: center; font-weight: 800; font-size: 22px; flex: none; }
.acct-head h2 { font-size: 19px; font-weight: 800; color: var(--ink); }
.acct-head .acct-sub { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.set { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.set:last-child { border-bottom: none; }
.set .sk { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.set .ss { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; word-break: break-word; }

/* =====================================================================
   Admin Operations Center (wynford-system §I)
   ===================================================================== */
.kpi { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 900px) { .kpi { grid-template-columns: 1fr 1fr; } }
.kpic { background: linear-gradient(135deg,#161b24,#212a39); border: 1px solid #2a3444; border-radius: var(--radius-lg);
    padding: 18px 20px; color: #c9d2de; box-shadow: var(--shadow-2); }
.kpic .kk { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8f9bb0; }
.kpic .kv { font-size: 30px; font-weight: 800; color: #fff; line-height: 1; margin: 9px 0 7px; font-variant-numeric: tabular-nums; }
.kpic .kd { font-size: 11.5px; color: #929db0; display: flex; align-items: center; gap: 6px; }
.kpic .kdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.adm-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .adm-grid { grid-template-columns: 1fr; } }
.adm-col { display: flex; flex-direction: column; gap: 16px; }
.gau { margin-bottom: 14px; } .gau:last-child { margin-bottom: 0; }
.gau .gt { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }
.gau .gt b { color: var(--ink); font-variant-numeric: tabular-nums; }
.gbar { height: 8px; border-radius: 5px; background: var(--n-100); overflow: hidden; }
.gbar span { display: block; height: 100%; }
.aq { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.aq:last-child { border-bottom: none; }
.aq .aqi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.aq .aqi .ico { width: 16px; height: 16px; }
.aq .aqb { flex: 1; min-width: 0; }
.aq .aqt { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.aq .aqm { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.aq .aqx { margin-left: auto; flex: none; }
.sor-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sp { display: inline-flex; align-items: center; gap: 7px; background: var(--n-50); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sp .spd { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.spd-ok { background: var(--green); } .spd-alert { background: var(--amber); } .spd-off { background: #98a1af; }

/* Confirmation modal (shared) */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(16,20,28,.55); display: grid; place-items: center; padding: 20px; }
.modal-overlay[hidden] { display: none; }
.modal-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    width: 100%; max-width: 460px; overflow: hidden; animation: modal-in .16s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line-2); }
.modal-head h3 { font-size: 15px; font-weight: 750; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.modal-head h3 .ico { width: 17px; height: 17px; color: var(--gold-2); }
.modal-x { background: none; border: none; font-size: 22px; line-height: 1; color: var(--ink-3); cursor: pointer; padding: 0 4px; }
.modal-x:hover { color: var(--ink); }
.modal-body { padding: 18px; }
.modal-body .co-name { font-size: 17px; font-weight: 780; color: var(--ink); margin-bottom: 12px; }
.co-dl { display: flex; flex-direction: column; gap: 0; }
.co-dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.co-dl > div:last-child { border-bottom: none; }
.co-dl dt { color: var(--ink-3); font-size: 13px; }
.co-dl dd { margin: 0; color: var(--ink); font-weight: 650; font-size: 13px; text-align: right; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line-2); background: var(--n-50); }
@media (max-width: 480px) { .modal-foot { flex-direction: column-reverse; } .modal-foot .btn { width: 100%; justify-content: center; } }
