/* =========================================================================
   Capcon Field Ops — design system + components (single stylesheet)
   System fonts only (zero web-font fetch → instant offline render).
   ========================================================================= */

:root {
  /* Surfaces & ink */
  --canvas: #F6F7F9;
  --surface: #FFFFFF;
  --surface-sunk: #EEF1F5;
  --hairline: #E3E7ED;
  --ink: #111315;
  --ink-2: #566173;
  --ink-3: #8A94A4;

  /* Brand / structure — Capcon: red + black lead */
  --brand: #000000;        /* primary dark — top bar, dark cards */
  --brand-700: #1A1A1A;    /* pressed/active dark; preview backdrop */
  --on-brand: #FFFFFF;

  /* The single action color — Capcon Red */
  --action: #C8102E;
  --action-press: #A30D26;
  --action-tint: #FBE3E7;

  /* Rexo — used ONLY in the "Powered by Rexo Systems" mark */
  --rexo: #0F2A47;

  /* Status */
  --draft: #6F7E89;        --draft-tint: #EEF1F5;
  --submitted: #1E73BE;    --submitted-tint: #E3F0FB;
  --approved: #1F9D55;     --approved-tint: #E1F4EA;
  --sentback: #C2410C;     --sentback-tint: #FBEBE2;
  --billable: #7C3AED;     --billable-tint: #F1EAFB;
  --danger: #D7263D;       --danger-tint: #FBE7EA;

  /* Elevation */
  --shadow-card: 0 1px 2px rgba(22,32,42,.06), 0 4px 12px rgba(22,32,42,.08);
  --shadow-pop: 0 10px 30px rgba(22,32,42,.16);
  --shadow-sheet: 0 -8px 28px rgba(22,32,42,.18);

  /* Spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 28px; --s8: 32px; --s10: 40px; --s12: 48px;

  /* Radius */
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 20px; --r-pill: 999px;

  /* Touch sizing */
  --tap: 48px; --btn: 56px; --input: 52px; --stepper: 56px;

  /* Bars */
  --topbar-h: 73px; --banner-h: 32px;
  --bottomnav-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --maxw: 1040px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
.num, .hours, .total, time, .stat-tile b { font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--submitted); outline-offset: 2px; border-radius: 6px; }

.boot {
  display: grid; place-items: center; height: 100vh; color: var(--ink-3);
  font-size: 15px;
}

/* ---- Type scale --------------------------------------------------------- */
.t-display { font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -0.01em; }
.t-h1 { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.01em; }
.t-h2 { font-size: 20px; line-height: 26px; font-weight: 700; }
.t-body { font-size: 16px; line-height: 24px; font-weight: 450; }
.t-label { font-size: 13px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
.t-meta { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* =========================================================================
   App shell
   ========================================================================= */
.app-root { min-height: 100%; }
.app {
  display: flex; flex-direction: column; min-height: 100vh;
}

/* Top-of-app stack: Rexo Rail platform banner (light) + Capcon workspace header (dark), stuck together.
   The stack owns the sticky; the header no longer sticks on its own. Safe-area (notch) sits above the
   light banner and is filled white so the platform strip reads to the very top edge. */
.topstack {
  position: sticky; top: 0; z-index: 40;
  background: #F4F8FD; /* matches the banner gradient's top so the notch blends seamlessly */
  padding-top: env(safe-area-inset-top);
}
/* Rexo Rail platform strip — a soft blue-tinted gradient; blue logo centered to the page. The bottom edge
   is a subtle railroad track (two thin RAIL-blue rails + faint ties) — a refined nod to "Rexo Rail". */
.rr-banner {
  position: relative;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--s4);
  background: linear-gradient(180deg, #F4F8FD 0%, #E6EDF8 100%);
}
.rr-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background:
    linear-gradient(#3E86CC, #3E86CC) top / 100% 2px no-repeat,      /* top rail */
    linear-gradient(#3E86CC, #3E86CC) bottom / 100% 2px no-repeat,   /* bottom rail (banner↔header edge) */
    repeating-linear-gradient(90deg, rgba(62,134,204,.38) 0 2px, transparent 2px 15px); /* ties */
}
.rr-logo { height: 20px; width: auto; display: block; }

/* Capcon workspace header — unchanged look; just no longer owns its own sticky (the stack does) */
.topbar {
  height: var(--topbar-h);
  background: var(--brand); color: var(--on-brand);
  display: flex; align-items: center; gap: var(--s3);
  padding: 0 var(--s4);
}
.brandmark { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }

/* Capcon logo slot — swappable image with a styled red/black text placeholder */
.capcon-logo { display: flex; align-items: center; min-width: 0; }
.capcon-logo img.brand-img { height: 49px; width: auto; max-width: 240px; display: none; object-fit: contain; }
/* invoice_logo.png already carries its own white background, so render it as-is —
   a sharp-cornered rectangle like the source file (no rounded plate). If the source
   is ever re-exported transparent, it'll sit directly on the black header. */
.capcon-logo.has-img { display: inline-flex; align-items: center; }
.capcon-logo.has-img img.brand-img { display: block; }
.capcon-logo.has-img .capcon-fallback { display: none; }
.capcon-fallback { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cc-chip { width: 38px; height: 38px; border-radius: 9px; background: var(--action); color: #fff; font-weight: 800; font-size: 21px; display: grid; place-items: center; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.cc-word { font-size: 20px; font-weight: 800; letter-spacing: .06em; color: #fff; line-height: 1; white-space: nowrap; }
.cc-word .sub { font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--action); margin-left: 5px; }

/* Rexo "Powered by" mark — navy, used only here */
.rexo-mark { display: flex; align-items: center; justify-content: center; gap: 8px; padding: var(--s5) 0; }
.rexo-mark .pre { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rexo-mark img.rexo-img { height: 36px; width: auto; display: none; object-fit: contain; }
.rexo-mark.has-img img.rexo-img { display: inline-block; }
.rexo-mark.has-img .rexo-word { display: none; }
.rexo-word { font-weight: 800; color: var(--rexo); font-size: 14px; letter-spacing: .01em; }
.railnav .rexo-mark { margin-top: auto; border-top: 1px solid var(--hairline); }
.topbar .context {
  display: none; margin-left: 14px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.topbar .spacer { margin-left: auto; }
.topbar .context.saving::after {
  content: "saving…"; margin-left: 8px; font-weight: 600; color: var(--action);
}
.syncdot {
  width: 9px; height: 9px; border-radius: 50%; background: #5ee0a0; flex: none;
  box-shadow: 0 0 0 0 rgba(94,224,160,.5);
}
.syncdot.saving { background: var(--action); animation: syncpulse .7s ease; }
@keyframes syncpulse { 0% { box-shadow: 0 0 0 0 rgba(200,16,46,.5); } 100% { box-shadow: 0 0 0 8px rgba(200,16,46,0); } }
.phone-hide-name { white-space: nowrap; }
@media (max-width: 360px) { .phone-hide-name { display: none; } }

/* Acting-as pill */
.acting-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10); border: 0; color: var(--on-brand);
  height: 40px; padding: 0 10px 0 6px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
}
.acting-pill:hover { background: rgba(255,255,255,.16); }
.acting-pill .caret { opacity: .7; }
/* name over a small role label inside the pill */
.acting-id { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.acting-id .acting-role { font-size: 11px; font-weight: 600; opacity: .72; letter-spacing: .01em; }
/* role icon chip in the Preview-as-role switcher */
.role-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--action-tint, rgba(200,16,46,.10)); color: var(--action); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: var(--action); color: #fff; letter-spacing: .02em;
}
.avatar.lg { width: 44px; height: 44px; font-size: 16px; }
.avatar.sm { width: 24px; height: 24px; font-size: 10px; }
.acting-pill .avatar.owner::after,
.acting-pill.is-approver .ownerdot {
  content: "";
}
.acting-pill .ownerdot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--action);
  box-shadow: 0 0 0 2px var(--brand);
  position: absolute; top: 4px; right: 4px;
}

/* Content outlet */
.content {
  flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: var(--s4) var(--s4) calc(var(--bottomnav-h) + 96px);
}
@media (min-width: 960px) {
  .content { padding-bottom: var(--s10); }
}

.screen-head { margin: var(--s2) 0 var(--s4); }
.screen-head .title-row { display: flex; align-items: center; gap: var(--s3); }
.screen-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.screen-head .sub { color: var(--ink-2); margin-top: 2px; }

/* Segmented control (sub-nav) */
.segmented {
  display: inline-flex; background: var(--surface-sunk); border-radius: var(--r-pill);
  padding: 4px; gap: 2px; position: sticky; top: calc(env(safe-area-inset-top) + var(--banner-h) + var(--topbar-h));
  z-index: 20; margin-bottom: var(--s4);
}
.segmented button {
  border: 0; background: transparent; color: var(--ink-2);
  font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: var(--r-pill);
  min-height: 40px; white-space: nowrap;
}
.segmented button[aria-selected="true"] {
  background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(22,32,42,.12);
}
.seg-wrap { display: flex; justify-content: flex-start; }

/* Bottom nav (phone) → left rail (desktop) */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--hairline);
  display: flex;
}
.bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; text-decoration: none; color: var(--ink-2); position: relative;
  font-size: 12px; font-weight: 600;
}
.bottomnav a .icon { width: 24px; height: 24px; }
.bottomnav a[aria-current="page"] { color: var(--action); }
.bottomnav a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; background: var(--action); border-radius: 0 0 3px 3px;
}

.footer {
  text-align: center; color: var(--ink-3); font-size: 12px; padding: var(--s6) 0 var(--s4);
}
.footer button { background: none; border: 0; color: var(--ink-3); text-decoration: underline; font-size: 12px; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 18px; border-radius: var(--r);
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink);
  font-weight: 650; font-size: 15px; transition: transform .04s ease, background .15s ease;
}
.btn:active { transform: scale(.985); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--action); border-color: var(--action); color: var(--on-brand); }
.btn-primary:hover { background: var(--action-press); }
.btn-primary:active { background: var(--action-press); }
.btn-approve { background: var(--approved); border-color: var(--approved); color: #fff; }
.btn-approve:hover { filter: brightness(.96); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-sunk); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger-tint); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: var(--btn); font-size: 16px; border-radius: var(--r-lg); }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-dashed {
  border: 1.5px dashed var(--hairline); background: transparent; color: var(--ink-2);
  width: 100%; min-height: var(--btn);
}
.btn-dashed:hover { border-color: var(--action); color: var(--action); background: var(--action-tint); }

.iconbtn {
  width: var(--tap); height: var(--tap); border-radius: var(--r); border: 1px solid var(--hairline);
  background: var(--surface); display: grid; place-items: center; color: var(--ink-2);
}
.iconbtn:hover { background: var(--surface-sunk); color: var(--ink); }
.iconbtn.borderless { border-color: transparent; background: transparent; }

/* Sticky bottom action bar (within content area) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  z-index: 35; padding: var(--s3) var(--s4) calc(var(--s3));
  background: linear-gradient(to top, var(--canvas) 70%, rgba(246,247,249,0));
  display: flex; gap: var(--s3);
}
.action-bar .inner { max-width: var(--maxw); margin: 0 auto; width: 100%; display: flex; gap: var(--s3); }
@media (min-width: 960px) {
  .action-bar { bottom: 0; }
}

/* =========================================================================
   Cards & layout bits
   ========================================================================= */
.card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: var(--s4);
}
.card + .card { margin-top: var(--s3); }
.stack { display: flex; flex-direction: column; gap: var(--s3); }
.stack-sm { display: flex; flex-direction: column; gap: var(--s2); }
.row { display: flex; align-items: center; gap: var(--s3); }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.right { margin-left: auto; }
.center { text-align: center; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Date / week stepper */
.stepper-bar {
  display: flex; align-items: center; gap: var(--s2); background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 6px; box-shadow: var(--shadow-card);
}
.stepper-bar .nav { width: var(--tap); height: var(--tap); border-radius: var(--r); border: 0; background: var(--surface-sunk); display: grid; place-items: center; color: var(--ink); }
.stepper-bar .nav:hover { background: var(--hairline); }
.stepper-bar .label { flex: 1; text-align: center; border: 0; background: transparent; }
.stepper-bar .label .big { font-size: 17px; font-weight: 700; }
.stepper-bar .label .rel { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--action); text-transform: uppercase; letter-spacing: .04em; }
.stepper-bar .label .dot { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--action); margin-left: 6px; vertical-align: middle; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--hairline); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.chip.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.chip.selectable:hover { border-color: var(--ink-3); }
.chip.selected { background: var(--action-tint); border-color: var(--action); color: var(--action-press); }
.chip .avatar.sm { margin-left: -4px; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Crew avatar chips (read-only display) */
.crew { display: flex; flex-wrap: wrap; gap: 6px; }
.crew .person { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-sunk); border-radius: var(--r-pill); padding: 3px 10px 3px 3px; font-size: 13px; font-weight: 600; }

/* Status chip (glyph + word, never color-only) */
.status {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px;
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700;
}
.status .glyph { width: 14px; height: 14px; }
.status.draft { background: var(--draft-tint); color: var(--draft); }
.status.submitted { background: var(--submitted-tint); color: var(--submitted); }
.status.approved { background: var(--approved-tint); color: var(--approved); }
.status.sentback { background: var(--sentback-tint); color: var(--sentback); }
.status.notstarted { background: var(--surface-sunk); color: var(--ink-3); }
/* UIA-01: Void is a TERMINAL/cancelled state — a struck, greyed chip, never a benign neutral.
   Distinct from 'notstarted' (also grey) by the line-through so a voided invoice can't read as live. */
.status.void { background: var(--surface-sunk); color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
/* A voided invoice's dollar figure is struck + muted so it can't be misread as real/countable money. */
.amt-void { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--ink-3); opacity: .7; }
/* UIA-05: an unreadable/uncoded receipt amount — a muted em-dash, never a fake "$0.00". The amber tint
   flags "we don't know this yet", distinct from a real figure. */
.amt-unreadable { color: var(--sentback); font-weight: 700; font-variant-numeric: tabular-nums; }
/* 5.2: graceful broken-image placeholder — a muted box + label where a photo failed to load, sized by
   whatever wrapper class it inherits (.thumb/.fc-thumb/tile). Never a broken-image glyph or blank gap. */
.img-failed { display: inline-grid; place-items: center; gap: 3px; background: var(--surface-sunk); color: var(--ink-3); border-radius: 10px; min-width: 44px; min-height: 44px; padding: 8px; text-align: center; box-sizing: border-box; }
.img-failed-label { font-size: 11px; font-weight: 600; line-height: 1.15; }
/* Auth front door (login + invite acceptance) — the app's own origin, mobile-first, centered card. */
.auth-screen { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 18px; background: var(--surface-sunk); }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 18px; padding: 28px 22px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-brand-name { font-weight: 800; letter-spacing: .2px; }
.auth-h1 { font-size: 24px; font-weight: 800; margin: 2px 0 4px; }
.auth-form { margin-top: 14px; display: grid; gap: 8px; }
.auth-form .input { margin-bottom: 4px; }
.btn-block { width: 100%; justify-content: center; }
.auth-sent { text-align: center; padding: 8px 0; }
.auth-check { width: 68px; height: 68px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--approved-tint); color: var(--approved); }
.auth-queued { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: var(--surface-sunk); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }

/* Billing tag */
.billtag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; }
.billtag.billable { background: var(--billable-tint); color: var(--billable); }
.billtag.internal { background: transparent; color: var(--ink-3); border: 1px solid var(--hairline); font-weight: 600; }
.billtag .glyph { width: 13px; height: 13px; }

/* Type tag for jobs */
.typetag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 7px; border-radius: 6px; background: var(--surface-sunk); color: var(--ink-2); }
.typetag.staffaug { background: var(--billable-tint); color: var(--billable); }

/* =========================================================================
   Inputs
   ========================================================================= */
.field { display: block; }
.field > .lbl { display: block; margin-bottom: 6px; }
.input, .select, textarea.input {
  width: 100%; min-height: var(--input); padding: 0 14px; border-radius: var(--r);
  border: 1px solid var(--hairline); background: var(--surface); font-size: 16px;
}
textarea.input { padding: 12px 14px; min-height: 88px; line-height: 1.45; resize: vertical; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--submitted); outline: none; box-shadow: 0 0 0 3px var(--submitted-tint); }
.input.invalid, .select.invalid { border-color: var(--sentback); box-shadow: 0 0 0 3px var(--sentback-tint); }
select.select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23566173' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field-err { color: var(--sentback); font-size: 13px; font-weight: 600; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.help { color: var(--ink-3); font-size: 13px; margin-top: 6px; }

/* Hours / number stepper */
.numstep { display: flex; align-items: center; gap: var(--s2); }
.numstep button { width: var(--stepper); height: var(--stepper); border-radius: var(--r); border: 1px solid var(--hairline); background: var(--surface); font-size: 24px; font-weight: 600; display: grid; place-items: center; color: var(--ink); }
.numstep button:hover { background: var(--surface-sunk); }
.numstep input { width: 96px; height: var(--stepper); text-align: center; font-size: 22px; font-weight: 700; border-radius: var(--r); border: 1px solid var(--hairline); }
.numstep .unit { color: var(--ink-2); font-weight: 600; }

/* =========================================================================
   Bottom sheet / modal / toast
   ========================================================================= */
.scrim { position: fixed; inset: 0; background: rgba(15,23,34,.45); z-index: 50; opacity: 0; transition: opacity .18s ease; }
.scrim.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
  background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-sheet); padding: var(--s4) var(--s4) calc(var(--s4) + env(safe-area-inset-bottom));
  max-height: 92vh; overflow-y: auto; transform: translateY(100%); transition: transform .22s cubic-bezier(.2,.8,.2,1);
  max-width: 560px; margin: 0 auto;
}
.sheet.show { transform: translateY(0); }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--hairline); margin: 2px auto 14px; }
.sheet .sheet-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.sheet .sheet-head h2 { font-size: 20px; font-weight: 700; }
.sheet .sheet-body { display: flex; flex-direction: column; gap: var(--s4); }
.sheet .sheet-foot { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s2); }

@media (min-width: 720px) {
  .sheet.as-modal { top: 50%; bottom: auto; transform: translate(0,-46%) scale(.98); border-radius: var(--r-xl); max-height: 86vh; }
  .sheet.as-modal.show { transform: translate(0,-50%) scale(1); }
}

.toast-host { position: fixed; left: 0; right: 0; bottom: calc(var(--bottomnav-h) + 16px + env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
@media (min-width: 960px) { .toast-host { bottom: 24px; } }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: 92vw;
  background: var(--brand); color: #fff; padding: 12px 14px; border-radius: var(--r); box-shadow: var(--shadow-pop);
  font-size: 14px; font-weight: 600; transform: translateY(8px); opacity: 0; transition: all .18s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.ok .icon { color: #5ee0a0; }
.toast .undo { background: rgba(255,255,255,.16); border: 0; color: #fff; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); }
.toast .icon { width: 20px; height: 20px; flex: none; }

/* =========================================================================
   Empty / skeleton
   ========================================================================= */
.empty { text-align: center; padding: var(--s10) var(--s4); color: var(--ink-2); }
.empty .art { width: 72px; height: 72px; margin: 0 auto var(--s4); color: var(--ink-3); opacity: .7; }
.empty h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.empty p { max-width: 320px; margin: 0 auto var(--s5); }

.skel { background: linear-gradient(90deg, var(--surface-sunk) 25%, #f3f5f8 37%, var(--surface-sunk) 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* =========================================================================
   Scheduler-specific
   ========================================================================= */
.job-card { display: flex; flex-direction: column; gap: var(--s3); }
.job-card .head { display: flex; align-items: flex-start; gap: var(--s3); }
.job-card .head .loc { font-size: 18px; font-weight: 700; }
.job-card .head .addr { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.job-card .timepill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-sunk); border-radius: var(--r-pill); padding: 6px 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.job-card .note { display: flex; gap: 8px; color: var(--ink-2); font-size: 14px; background: var(--surface-sunk); padding: 10px 12px; border-radius: var(--r); }
.shortcut-row { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s4); }

/* SMS preview bubble */
.sms-card { background: var(--brand-700); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-card); }
.sms-card .bubble { background: #222426; border-radius: 14px; padding: 14px 16px; }
.sms-card pre { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: #e9eef3; white-space: pre-wrap; word-break: break-word; }
.sms-meta { display: flex; justify-content: space-between; color: rgba(255,255,255,.6); font-size: 12px; margin-top: 10px; font-weight: 500; }
.preview-toggles { display: flex; gap: var(--s2); margin: var(--s4) 0; flex-wrap: wrap; }

/* History */
.hist-card { display: flex; align-items: center; gap: var(--s3); }
.hist-card .day { font-weight: 700; font-size: 16px; }
.group-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin: var(--s5) 0 var(--s2); }

/* =========================================================================
   Timesheet-specific
   ========================================================================= */
.subject-bar { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.statusbar { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s3); }

.weekstrip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: var(--s4) 0; }
.weekstrip .day { background: var(--surface-sunk); border: 1px solid transparent; border-radius: var(--r); padding: 8px 4px; text-align: center; }
.weekstrip .day .dow { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-3); }
.weekstrip .day .dnum { font-size: 16px; font-weight: 700; }
.weekstrip .day .dh { font-size: 12px; font-weight: 700; color: var(--ink-2); min-height: 16px; }
.weekstrip .day.has { background: var(--surface); border-color: var(--hairline); box-shadow: var(--shadow-card); }
.weekstrip .day { min-height: 60px; cursor: pointer; transition: transform .06s ease, border-color .12s ease; }
.weekstrip .day:active { transform: scale(.96); }
.weekstrip .day.active { border-color: var(--action); box-shadow: 0 0 0 2px var(--action-tint); }
.weekstrip .day.active .dnum { color: var(--action-press); }
.weekstrip .day.today { box-shadow: inset 0 0 0 2px var(--action); }
.weekstrip .day.today .dow { color: var(--action); }
.weekstrip .day.has .dh { color: var(--approved); font-weight: 700; }
.weekstrip .day.missing { border-style: dashed; border-color: var(--hairline); }
.weekstrip .day.missing .dh { color: var(--ink-3); }

/* Tap-first pickers (time entry, fill-week) */
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  min-height: 46px; padding: 7px 14px; border-radius: 12px; border: 1px solid var(--hairline);
  background: var(--surface); color: var(--ink); font-weight: 650; font-size: 14px;
  display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px;
  transition: transform .06s ease, border-color .12s ease, background .12s ease;
}
.pick:hover { border-color: var(--ink-3); }
.pick:active { transform: scale(.97); }
.pick .sub { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.pick.selected { background: var(--action-tint); border-color: var(--action); color: var(--action-press); }
.pick.selected .sub { color: var(--action-press); }
.pick.day { min-width: 52px; align-items: center; }

.daygroup { margin-bottom: var(--s3); }
.daygroup .dhead { display: flex; align-items: baseline; gap: var(--s2); margin: var(--s4) 0 var(--s2); }
.daygroup .dhead .dname { font-size: 16px; font-weight: 700; }
.daygroup .dhead .dtot { margin-left: auto; font-weight: 700; color: var(--ink-2); }

.entry-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--hairline); }
/* Crew rows: assignment stays intact and drops below the name on phones (never overlaps). */
.entry-row .entry-end { flex-shrink: 0; }
@media (max-width: 600px) {
  .entry-row.entry-row-2line { flex-wrap: wrap; }
  .entry-row.entry-row-2line > .grow { min-width: 0; }
  .entry-row.entry-row-2line > .entry-end { flex-basis: 100%; text-align: right; margin-top: 2px; }
}
.entry-row:first-child { border-top: 0; }
.entry-row .job { font-weight: 650; }
.entry-row .act { color: var(--ink-2); font-size: 14px; }
.entry-row .hrs { font-weight: 800; font-size: 17px; margin-left: auto; }

.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s4); }
.stat-tile { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-card); }
.stat-tile .k { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.stat-tile .v { font-size: 30px; font-weight: 800; margin-top: 6px; }
.stat-tile.billable { border-top: 3px solid var(--billable); }
.stat-tile.billable .k { color: var(--billable); }
.stat-tile.internal .k { color: var(--ink-2); }
.stat-tile.total { grid-column: 1 / -1; background: var(--brand); color: #fff; border: 0; }
.stat-tile.total .k { color: rgba(255,255,255,.75); }

.callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; }
.callout.sentback { background: var(--sentback-tint); color: var(--sentback); }
.callout.info { background: var(--submitted-tint); color: var(--submitted); }
.callout .icon { width: 20px; height: 20px; flex: none; }

/* Approver */
.roster-strip { display: flex; align-items: center; gap: var(--s3); overflow-x: auto; padding-bottom: 4px; }
.roster-stat { font-weight: 800; font-size: 18px; white-space: nowrap; }
.approval-card { display: flex; flex-direction: column; gap: var(--s3); }
.approval-card .figure { font-size: 13px; color: var(--ink-2); }
.approval-card .figure b { color: var(--billable); font-size: 16px; }
.locked { position: relative; }
.lock-ribbon { display: inline-flex; align-items: center; gap: 6px; color: var(--approved); font-weight: 700; font-size: 13px; }

.byjob-row { display: flex; align-items: center; gap: var(--s3); padding: 10px 0; border-top: 1px solid var(--hairline); }
.byjob-row .val { margin-left: auto; font-weight: 700; }
.estval { color: var(--ink-3); font-size: 12px; font-weight: 600; }

/* =========================================================================
   Desktop: left rail + dock
   ========================================================================= */
/* Desktop left rail (grouped) */
.railnav {
  position: fixed; left: 0; top: calc(env(safe-area-inset-top) + var(--banner-h) + var(--topbar-h)); bottom: 0;
  width: 248px; background: var(--surface); border-right: 1px solid var(--hairline);
  overflow-y: auto; padding: var(--s4) var(--s3) var(--s4); z-index: 30;
  display: flex; flex-direction: column;
}
.rail-group { margin-bottom: var(--s5); }
.rail-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 0 var(--s3) 6px; }
.railnav a {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 var(--s3);
  border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.railnav a:hover { background: var(--surface-sunk); color: var(--ink); }
.railnav a[aria-current="page"] { background: var(--action-tint); color: var(--action-press); }
.railnav a[aria-current="page"] .icon { color: var(--action); }

/* Menu hub (mobile) */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.menu-card {
  display: flex; flex-direction: column; gap: 10px; padding: var(--s4); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--ink); font-weight: 650; min-height: 92px;
}
.menu-card .menu-ic { width: 44px; height: 44px; border-radius: var(--r); background: var(--action-tint); color: var(--action-press); display: grid; place-items: center; }

@media (min-width: 960px) {
  .topbar .context { display: inline-flex; }
  .topsearch-txt, .topsearch-kbd { display: inline-flex; } /* room for the "Search ⌘K" label on desktop */
  .app { padding-left: 248px; }
  /* full-bleed black header: break out of the rail inset so it spans edge-to-edge
     with the logo at the far left, sitting above the sidebar (no white corner gap).
     padding-left 24px = rail padding (12) + nav-link padding (12), so the logo's
     left edge lines up pixel-perfect with the sidebar icons below it. */
  /* the light banner + dark header span edge-to-edge over the sidebar, logos aligned at the same 24px inset */
  :root { --banner-h: 40px; }
  .topstack { margin-left: -248px; width: calc(100% + 248px); }
  .topbar { padding-left: 24px; }
  .rr-logo { height: 26px; }
  .action-bar { left: 248px; }
  .content { padding-top: var(--s5); padding-bottom: var(--s10); }
  .stat-tiles { grid-template-columns: 1fr 1fr 1fr; }
  .stat-tile.total { grid-column: auto; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Phone: hide rail-only label */
@media (max-width: 959px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 960px) {
  .phone-only { display: none !important; }
}

/* =========================================================================
   Shared CRUD / list / detail
   ========================================================================= */
.list-row { display: flex; align-items: center; gap: var(--s3); cursor: pointer; margin-top: 10px; }
.list-row:hover { border-color: var(--ink-3); }
/* Rows with many trailing controls (PDF/amount/status/chevron) opt into `.lr-2line`
   and group those controls in `.lr-end`. Desktop = one row; phone = the controls drop
   to their own line so the primary identifier keeps full width and never collides.
   Scoped to `.lr-2line` so every other list row is unchanged. */
.lr-end { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; }
.list-row.lr-2line > .grow { overflow: hidden; }
.list-row.lr-2line > .grow .row { min-width: 0; }
.list-row.lr-2line > .grow .lr-primary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row.lr-2line > .grow .t-meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .list-row.lr-2line { flex-wrap: wrap; }
  .list-row.lr-2line > .grow { flex-basis: 100%; }
  .list-row.lr-2line > .lr-end { flex-basis: 100%; justify-content: flex-end; margin-top: 8px; }
}
.lr-primary { font-weight: 650; font-size: 15px; }
.detail-grid { display: grid; gap: 10px; }
.detail-row { display: flex; justify-content: space-between; gap: var(--s4); border-bottom: 1px solid var(--hairline); padding-bottom: 8px; }
.detail-row span:last-child { text-align: right; font-weight: 600; }

/* =========================================================================
   Dashboard (Command Center)
   ========================================================================= */
/* minmax(0,1fr) lets cells shrink below a wide currency value so a big number
   never forces the grid (and the whole page) wider than the viewport. */
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-bottom: var(--s4); }
.kpi { min-width: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-card); }
.kpi .k { font-size: 12.5px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -0.01em; overflow-wrap: break-word; }
.kpi .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; font-weight: 500; }
.kpi.hero { background: var(--brand); color: #fff; border: 0; }
.kpi.hero .k { color: rgba(255,255,255,.72); }
.kpi.hero .sub { color: rgba(255,255,255,.6); }
@media (max-width: 600px) {
  /* On phones, KPI cards go single-column so a 7-figure figure gets the full width and
     stays big + readable, instead of wrapping mid-number in a cramped 2-up cell. (Applies
     to every .kpi-grid — Command Center, Client Invoices, Estimates, overhead, etc.; the
     .pl-grid label/value list below overrides this for the Portfolio P&L.) */
  .kpi-grid { grid-template-columns: 1fr; }
  /* Portfolio P&L → a clean label-left / value-right list on mobile. The 2×2 grid
     crammed 8-figure numbers edge-to-edge (they tipped into overlap on real phones);
     a list gives each number roughly double the room, so it can never collide. */
  .pl-grid { grid-template-columns: 1fr; gap: 0; }
  .pl-grid > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hairline); }
  .pl-grid > div:first-child { border-top: 0; }
  .pl-grid .t-label { flex: 1; min-width: 0; margin: 0; }
  .pl-grid .bignum { flex: none; white-space: nowrap; font-size: clamp(17px, 5vw, 22px); }
}
.money-pos { color: var(--approved); }
.money-neg { color: var(--danger); }
.money-in { color: var(--approved); }
.money-out { color: var(--sentback); }

.progress { height: 8px; background: var(--surface-sunk); border-radius: var(--r-pill); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--action); border-radius: var(--r-pill); }
.progress.over > i { background: var(--danger); }

.pnl-row { display: flex; align-items: center; gap: var(--s3); padding: 12px 0; border-top: 1px solid var(--hairline); }
.pnl-row:first-child { border-top: 0; }
.pnl-row .name { font-weight: 650; }
.pnl-row .nums { margin-left: auto; text-align: right; }
.pnl-row .margin { font-weight: 800; font-variant-numeric: tabular-nums; }

/* =========================================================================
   Kanban / pipeline
   ========================================================================= */
.kanban { display: flex; align-items: flex-start; gap: var(--s3); overflow-x: auto; padding-bottom: var(--s3); scroll-snap-type: x proximity; }
.kan-col { flex: 0 0 280px; max-width: 280px; min-height: 96px; scroll-snap-align: start; background: var(--surface-sunk); border-radius: var(--r-lg); padding: var(--s2); }
.kan-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; font-weight: 700; font-size: 13px; }
.kan-head .count { background: var(--surface); border-radius: var(--r-pill); padding: 1px 9px; font-size: 12px; color: var(--ink-2); }
.kan-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r); padding: 12px; margin-bottom: 8px; cursor: pointer; box-shadow: var(--shadow-card); }
.kan-card:hover { border-color: var(--ink-3); }
.kan-card .title { font-weight: 700; }
@media (min-width: 960px) { .kanban { padding-bottom: var(--s5); } }

/* =========================================================================
   Compliance grid
   ========================================================================= */
.comp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hairline); }
.comp-row.head { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-3); letter-spacing: .04em; }
.comp-row:first-child { border-top: 0; }
.comp-cell { text-align: center; }
.comp-cell.name { text-align: left; }
@media (max-width: 600px) {
  .comp-row { grid-template-columns: 1fr; gap: 6px; }
  .comp-row.head { display: none; }
  .comp-cell { text-align: left; display: flex; justify-content: space-between; }
  .comp-cell::before { content: attr(data-label); color: var(--ink-3); font-size: 12px; font-weight: 600; }
  .comp-cell.name::before { content: ''; }
  .comp-cell.name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
}

/* =========================================================================
   Photos (receipts / site updates)
   ========================================================================= */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-tile { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface-sunk); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-add { border: 1.5px dashed var(--hairline); border-radius: var(--r); display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--ink-2); gap: 4px; cursor: pointer; }
.photo-add:hover { border-color: var(--action); color: var(--action); }
.photo-add input { display: none; }
.thumb { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--surface-sunk); }

.feed-item { display: flex; gap: var(--s3); }
.feed-item .when { color: var(--ink-3); font-size: 12px; }

/* big-number summary line */
/* Shrinks on narrow phones so side-by-side pairs (e.g. Budgeted / Contract value)
   don't clip; caps at 30px on wider screens. */
.bignum { font-size: clamp(20px, 6vw, 30px); font-weight: 800; letter-spacing: -0.01em; }

/* =========================================================================
   Micro-interactions & cross-app polish
   ========================================================================= */
#view { animation: viewIn .2s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.card { transition: box-shadow .15s ease, transform .08s ease, border-color .15s ease; }
.list-row:hover, .kan-card:hover, .menu-card:hover, .job-card:hover, .hist-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-pop); }
.kpi { transition: box-shadow .15s ease, border-color .15s ease; }
.kpi[style*="pointer"]:hover { box-shadow: var(--shadow-pop); }
.pnl-job:hover { background: var(--surface-sunk); }
/* keep horizontal kanban scroll comfortable on phones */
@media (max-width: 600px) { .kan-col { flex-basis: 84vw; max-width: 84vw; } }
.btn { transition: transform .05s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.chip { transition: background .12s ease, border-color .12s ease, transform .06s ease; }
.chip:active { transform: scale(.96); }
.iconbtn { transition: background .12s ease, color .12s ease; }
/* kanban drag-and-drop affordances */
.kan-card { transition: box-shadow .15s ease, transform .08s ease, opacity .15s ease; }
.kan-card.dragging { opacity: .4; }
.kan-col.dragover { outline: 2px dashed var(--action); outline-offset: -4px; background: var(--action-tint); }
/* sort/filter bar */
.toolbar { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.toolbar .select { width: auto; min-width: 140px; min-height: 40px; }
.toolbar .spacer { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, #view { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- Proposal preview: a PDF-like document with inline-editable fields ---- */
/* ============================================================================
   Proposal document — a faithful on-screen replica of Capcon's real PDF proposal.
   Matches assets/proposal_bakedin.pdf and proposal_costplus.pdf 1:1.
   ========================================================================== */
.proposal-doc { background: #fff; color: #1a1a1a; border: 1px solid var(--hairline); border-radius: 8px; box-shadow: var(--shadow-card); padding: 34px 34px 26px; line-height: 1.45; }
.proposal-doc .pp-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #9aa0a6; }
.proposal-doc .pp-line { font-size: 13px; color: #3c4043; padding: 1px 0; }
.proposal-doc .pp-party { font-size: 15.5px; font-weight: 800; color: #1a1a1a; margin: 4px 0 3px; }
/* Letterhead */
.proposal-doc .pp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.proposal-doc .pp-logo-img { max-height: 54px; max-width: 260px; width: auto; object-fit: contain; }
.proposal-doc .pp-logo-word { font-size: 22px; font-weight: 800; color: var(--action); letter-spacing: .5px; }
.proposal-doc .pp-logo-word span { color: #1a1a1a; font-weight: 700; }
.proposal-doc .pp-head-r { text-align: right; }
.proposal-doc .pp-title { font-size: 40px; font-weight: 800; letter-spacing: 1px; line-height: 1; color: #1a1a1a; }
.proposal-doc .pp-kv { margin-top: 6px; font-size: 12px; }
.proposal-doc .pp-kv .pp-k { color: #9aa0a6; font-weight: 700; letter-spacing: .5px; margin-right: 10px; }
.proposal-doc .pp-kv .pp-v { font-weight: 700; color: #1a1a1a; font-variant-numeric: tabular-nums; }
.proposal-doc .pp-rule-heavy { border-top: 3px solid #1a1a1a; margin: 10px 0 18px; }
.proposal-doc .pp-rule-thin { border-top: 1px solid var(--hairline); margin: 10px 0; }
/* FROM / TO */
.proposal-doc .pp-fromto { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 16px; }
/* Project / Site band */
.proposal-doc .pp-projbar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: #f4f5f7; border-radius: 6px; padding: 12px 16px; margin-bottom: 18px; }
.proposal-doc .pp-projval { font-size: 14px; color: #1a1a1a; margin-top: 2px; }
/* Scope of Work table */
.proposal-doc .pp-scope-title { margin: 2px 0 8px; }
.proposal-doc .pp-scope-head { display: grid; grid-template-columns: 28px 1fr 130px; gap: 10px; align-items: end; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; color: #9aa0a6; padding-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.proposal-doc .pp-item { display: grid; grid-template-columns: 28px 1fr 130px; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.proposal-doc .pp-num { color: #9aa0a6; font-size: 13px; font-weight: 600; }
.proposal-doc .pp-tname { font-size: 14.5px; font-weight: 800; color: #1a1a1a; }
.proposal-doc .pp-tscope { font-size: 13px; color: #3c4043; margin-top: 2px; }
.proposal-doc .pp-tdetail { font-size: 12.5px; color: #9aa0a6; margin-top: 2px; white-space: pre-wrap; }
.proposal-doc .pp-price { text-align: right; font-variant-numeric: tabular-nums; }
.proposal-doc .pp-amt { font-size: 14.5px; font-weight: 800; color: #1a1a1a; }
.proposal-doc .pp-flag { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #9aa0a6; }
.proposal-doc .pp-muted { font-size: 13px; color: #9aa0a6; padding: 12px 0; }
/* Exclusions + memo */
.proposal-doc .pp-excl { font-size: 13px; color: #3c4043; line-height: 1.55; margin: 6px 0 0; }
.proposal-doc .pp-memo { background: #f4f5f7; border-radius: 6px; padding: 14px 16px; font-size: 13px; color: #3c4043; line-height: 1.55; margin: 18px 0; white-space: pre-wrap; }
/* Totals — right-aligned; cost-plus adds subtotal + markup above the black band */
.proposal-doc .pp-totals { margin: 18px 0 6px; }
.proposal-doc .pp-subrows { width: 62%; margin-left: auto; }
.proposal-doc .pp-subrow { display: flex; justify-content: space-between; font-size: 13.5px; color: #3c4043; padding: 5px 4px; }
.proposal-doc .pp-subrow span:last-child { font-variant-numeric: tabular-nums; }
.proposal-doc .pp-total-band { width: 62%; margin-left: auto; margin-top: 6px; display: flex; justify-content: space-between; align-items: center; background: #1a1a1a; color: #fff; border-radius: 4px; padding: 14px 18px; }
.proposal-doc .pp-total-band > span:first-child { font-size: 14px; font-weight: 700; letter-spacing: .6px; }
.proposal-doc .pp-total-amt { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* Footer */
.proposal-doc .pp-foot { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 8px; }
.proposal-doc .pp-foot-l { font-size: 11px; color: #9aa0a6; }
.proposal-doc .pp-foot-r { text-align: right; }
.proposal-doc .pp-foot-r .pp-line { font-size: 12px; }
/* --- Full-screen proposal editor: the document IS the editor, given room to breathe --- */
.sheet.as-doc { left: 0; right: 0; top: 0; bottom: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border-radius: 0; overflow: hidden; }
.sheet.as-doc .grab { display: none; }
.sheet.as-doc .sheet-body { display: block; height: 100%; gap: 0; }
.pp-shell { display: flex; flex-direction: column; height: 100%; background: #eceef1; }
.pp-toolbar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--hairline); z-index: 2; }
.pp-tbar-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pp-tbar-title { font-size: 16px; font-weight: 700; line-height: 1.1; }
.pp-tbar-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-tbar-r { display: flex; align-items: center; gap: 8px; flex: none; }
.pp-canvas { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 26px 16px 56px; -webkit-overflow-scrolling: touch; }
.proposal-doc.pp-editable { max-width: 850px; margin: 0 auto; }
@media (min-width: 720px) {
  .sheet.as-doc { left: 50%; right: auto; top: 50%; bottom: auto; width: min(1080px, 96vw); height: 94vh; border-radius: 16px; transform: translate(-50%, -46%) scale(.98); }
  .sheet.as-doc.show { transform: translate(-50%, -50%) scale(1); }
}
/* Inline editable fields — blend into the document, reveal an edit box on hover/focus */
.proposal-doc .pp-edit { font: inherit; color: inherit; box-sizing: border-box; width: calc(100% + 12px); margin: 0 -6px; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 3px 6px; transition: background .12s ease, border-color .12s ease, box-shadow .12s ease; }
.proposal-doc .pp-edit::placeholder { color: #b8bec5; font-style: italic; font-weight: 400; }
.proposal-doc .pp-edit:hover { background: #e6eaef; }
.proposal-doc .pp-edit:focus { outline: 0; background: #fff; border-color: var(--action); box-shadow: 0 0 0 3px rgba(200,16,46,.14); }
.proposal-doc textarea.pp-edit { display: block; resize: none; overflow: hidden; min-height: 1.6em; line-height: 1.5; }
.proposal-doc .pp-projval-edit { font-size: 14px; color: #1a1a1a; margin-top: 2px; }
.proposal-doc .pp-name-edit { font-size: 14.5px; font-weight: 800; color: #1a1a1a; }
.proposal-doc .pp-scope-edit { font-size: 13px; color: #3c4043; }
.proposal-doc .pp-detail-edit { font-size: 12.5px; color: #9aa0a6; }
.proposal-doc .pp-excl-edit { font-size: 13px; color: #3c4043; line-height: 1.55; }
.proposal-doc .pp-memo-edit { font-size: 13px; color: #3c4043; line-height: 1.55; }
.proposal-doc .pp-amt-edit { font-size: 14.5px; font-weight: 800; color: #1a1a1a; text-align: right; font-variant-numeric: tabular-nums; align-self: start; }
/* Edit-form read-only price chip */
.pd-readonly-price { color: var(--ink-3); font-style: italic; background: var(--surface-sunk); }

/* --- Field Receipt Capture — mobile-first, thumb-friendly one-screen flow --- */
.field-capture { max-width: 520px; margin: 0 auto; }
.fc-screen { display: flex; flex-direction: column; gap: 14px; padding: 8px 2px 32px; }
.fc-hello { font-size: 22px; font-weight: 800; text-align: center; margin-top: 6px; }
/* the big snap button — the whole job is "tap here" */
.fc-camera { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; aspect-ratio: 1 / 1; max-height: 62vh; border: 0; border-radius: 22px; background: var(--action); color: #fff; font-size: 21px; font-weight: 800; cursor: pointer; box-shadow: var(--shadow-pop, 0 12px 32px rgba(200,16,46,.28)); transition: transform .08s ease; }
.fc-camera:active { transform: scale(.98); }
.fc-hint { text-align: center; color: var(--ink-2); font-size: 14px; margin: 2px 0 0; }
.fc-pending { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); background: var(--surface-sunk); border-radius: 999px; padding: 8px 12px; }
/* reading */
.fc-reading { align-items: center; text-align: center; padding-top: 20vh; }
.fc-spinner { color: var(--action); animation: fc-spin 1s linear infinite; }
.fc-readtitle { font-size: 18px; font-weight: 700; }
@keyframes fc-spin { to { transform: rotate(360deg); } }
/* confirm */
.fc-readhead { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--approved, #1a7f37); font-size: 14px; }
.fc-readhead-warn { color: var(--warn, #b25b00); }
.fc-thumb { width: 100%; max-height: 240px; object-fit: contain; border-radius: 12px; border: 1px solid var(--hairline); background: var(--surface-sunk); }
/* bad-photo callout — about the RECEIPT, not just the amount; the guy fills what Claude missed */
.fc-badphoto { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 11px; font-size: 13.5px; line-height: 1.35; color: var(--warn-ink, #7a3e00); background: var(--warn-bg, #fff5e6); border: 1px solid var(--warn-line, #f0d199); }
.fc-badphoto svg { flex: none; margin-top: 1px; color: var(--warn, #b25b00); }
/* editable vendor/amount/date — a field Claude couldn't read gets flagged until the guy fills it */
.fc-unread { border-color: var(--warn, #b25b00) !important; background: var(--warn-bg, #fff5e6); }
.fc-amount-wrap { display: flex; flex-direction: column; gap: 5px; }
.fc-credit-hint { font-size: 12.5px; font-weight: 700; color: var(--approved, #1a7f37); }
.fc-approve { min-height: 58px; font-size: 19px; margin-top: 6px; }
.fc-retake { color: var(--ink-2); }
.fc-reviewlink { color: var(--ink-2); font-weight: 650; gap: 7px; margin-top: 2px; }
/* reader down — connection failure, NOT a bad photo: paged Conner, nothing for the guy to fix */
.fc-readerdown { align-items: center; text-align: center; padding-top: 12vh; gap: 12px; }
.fc-rd-icon { color: var(--warn, #b25b00); }
.fc-rd-title { font-size: 22px; font-weight: 800; }
.fc-rd-sub { color: var(--ink-2); font-size: 14.5px; line-height: 1.4; max-width: 340px; }
.fc-readerdown .btn { margin-top: 14px; }
/* done */
.fc-done { align-items: center; text-align: center; padding-top: 12vh; gap: 10px; }
.fc-check { color: var(--approved, #1a7f37); }
.fc-donetitle { font-size: 30px; font-weight: 800; }
.fc-donesub { color: var(--ink-2); font-size: 15px; max-width: 320px; }
.fc-done .btn { margin-top: 18px; }
/* honest submit outcomes: pending (queued) + failed (dead-lettered) */
.fc-pending-done .fc-clock { color: var(--submitted, #b25b00); }
.fc-failed { align-items: center; text-align: center; padding-top: 11vh; gap: 10px; }
.fc-failed .fc-fail-icon { color: var(--sentback, #c8102e); }
.fc-failed .fc-donetitle { font-size: 26px; }
.fc-fail-reason { font-size: 12px; color: var(--ink-3); background: var(--surface-sunk); border-radius: 8px; padding: 8px 12px; max-width: 340px; word-break: break-word; }
.fc-failed .btn { margin-top: 12px; }
/* dead-letter surface on the snap screen */
.fc-deadbanner { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%;
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--sentback, #c8102e); background: var(--sentback-tint, #fdecee);
  color: var(--sentback, #c8102e); font-size: 12.5px; font-weight: 700; cursor: pointer; }

/* Command palette (⌘K) — the "jump anywhere" surface (Linear/Stripe) */
.cmdp-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(15,20,30,.44); display: flex; justify-content: center; align-items: flex-start; padding: 8vh 16px 16px; }
/* Short viewports (phone with the on-screen keyboard up, or landscape): center + tighten so results stay visible. */
@media (max-height: 680px) { .cmdp-overlay { align-items: center; padding: 12px; } .cmdp-panel { max-height: 88vh; } }
.cmdp-panel { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.35); overflow: hidden; display: flex; flex-direction: column; max-height: 72vh; }
.cmdp-inputrow { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--hairline); }
.cmdp-searchic { color: var(--ink-3); flex: none; }
.cmdp-input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; color: var(--ink); font-weight: 600; }
.cmdp-esc { flex: none; font-size: 11px; color: var(--ink-3); border: 1px solid var(--hairline); border-radius: 6px; padding: 2px 6px; font-family: inherit; }
.cmdp-list { overflow-y: auto; padding: 6px; }
.cmdp-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.cmdp-row.sel { background: var(--action-tint); }
.cmdp-row.sel .cmdp-ic { color: var(--action); }
.cmdp-ic { color: var(--ink-3); flex: none; display: grid; place-items: center; }
.cmdp-lbl { font-weight: 650; font-size: 15px; color: var(--ink); }
.cmdp-sub { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.cmdp-empty { padding: 24px; text-align: center; color: var(--ink-3); font-size: 14px; }
.cmdp-foot { display: flex; gap: 16px; padding: 8px 16px; border-top: 1px solid var(--hairline); font-size: 11px; color: var(--ink-3); }
.cmdp-foot span { display: inline-flex; align-items: center; gap: 4px; }

/* Live count badges — nav items, launchpad tiles, palette rows (office-only: needs-attention queues) */
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--action); color: #fff; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; flex: none; }
.railnav a .nav-count { margin-left: auto; }
.fh-tile { position: relative; }
.fh-tile .nav-count { position: absolute; top: 12px; right: 12px; }
.cmdp-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--action); color: #fff; font-size: 11px; font-weight: 800; margin-left: 8px; flex: none; }

/* Topbar search button */
.topsearch { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--on-brand, #fff); cursor: pointer; }
/* Mobile: the top search is ICON-ONLY (the label + ⌘K would crowd the bar and collide with the logo);
   the label is restored on desktop below, where there's room. */
.topsearch-txt, .topsearch-kbd { display: none; }
.topsearch-txt { font-size: 13px; font-weight: 600; opacity: .85; }
.topsearch-kbd { font-size: 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; padding: 1px 5px; opacity: .82; font-family: inherit; }

/* Rail search box + collapsible Setup/Manage groups */
.rail-search { display: flex; align-items: center; gap: 8px; width: 100%; height: 44px; padding: 0 12px; margin-bottom: var(--s4);
  border-radius: 10px; border: 1px solid var(--hairline); background: var(--surface-sunk); color: var(--ink-2); cursor: pointer; font-weight: 600; font-size: 13.5px; }
.rail-search:hover { background: var(--surface); color: var(--ink); }
.rail-search .grow { text-align: left; }
.rail-kbd { flex: none; font-size: 11px; border: 1px solid var(--hairline); border-radius: 5px; padding: 1px 5px; color: var(--ink-3); }
.rail-sum { list-style: none; }
.rail-sum::-webkit-details-marker { display: none; }
.rail-chev { transition: transform .15s ease; }
.rail-collapsible[open] .rail-chev { transform: rotate(90deg); }

/* Field Home — phone-first launchpad for Field Super + Crew (Material 3 big-tile field UI) */
.fieldhome { padding-top: 6px; }
.fh-head { margin: 2px 2px 16px; }
.fh-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--action); }
.fh-title { font-size: 24px; font-weight: 800; margin-top: 3px; }
.fh-hero { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg);
  background: var(--action); color: #fff; text-decoration: none; box-shadow: var(--shadow-pop, 0 12px 32px rgba(200,16,46,.28)); margin-bottom: 16px; }
.fh-hero:active { transform: scale(.99); }
.fh-hero-ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(255,255,255,.16); }
.fh-hero-t { display: block; font-size: 19px; font-weight: 800; }
.fh-hero-s { display: block; font-size: 13px; opacity: .9; margin-top: 1px; }
.fh-section { margin-top: 14px; }
.fh-section .group-label { margin-bottom: 8px; }
.fh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fh-tile { display: flex; flex-direction: column; gap: 12px; min-height: 104px; padding: 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); font-weight: 700; }
.fh-tile:active { transform: scale(.99); }
.fh-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--action-tint); color: var(--action-press); }
.fh-lbl { font-size: 15px; line-height: 1.2; }
@media (min-width: 700px) { .fh-grid { grid-template-columns: repeat(3, 1fr); } }

/* Command Center launchpad: "Needs you today" strip + tool launcher (SAP Fiori / Oracle patterns) */
.needs-block { margin-bottom: var(--s4); }
.needs-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.need-tile { display: flex; flex-direction: column; gap: 5px; padding: 13px 15px; min-height: 88px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); }
.need-tile.urgent { border-color: var(--sentback); }
.need-tile .need-ic { color: var(--action); }
.need-tile.urgent .need-ic { color: var(--sentback); }
.need-n { font-size: 27px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.need-l { font-size: 12.5px; color: var(--ink-2); font-weight: 600; line-height: 1.25; }
.kpi-asof { font-size: 12px; color: var(--ink-3); margin: -8px 0 14px; }
.launch-wrap { margin-top: var(--s5); }
.launch-sec { border-top: 1px solid var(--hairline); }
.launch-sum { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 12px 2px; list-style: none;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.launch-sum::-webkit-details-marker { display: none; }
.launch-chev { transition: transform .15s ease; color: var(--ink-3); }
.launch-sec[open] .launch-chev { transform: rotate(90deg); }
.launch-sec .menu-grid { margin: 2px 0 14px; }

/* Job Hub — "Codeable classes" (job_class_options / 0097) assignment checkboxes */
.jc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 6px 0 2px; }
.jc-check { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--hairline); border-radius: 9px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; }
.jc-check input { width: 18px; height: 18px; flex: none; accent-color: var(--action); }
.jc-check.jc-locked { opacity: .75; cursor: default; }
.jc-hint { font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--approved, #1a7f37); flex: none; }
@media (max-width: 460px) { .jc-grid { grid-template-columns: 1fr; } }

/* --- Command Center: per-invoice two-axis status (QuickBooks sync · settlement) --- */
.inv-axis-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid var(--hairline); }
.inv-axis-head { border-top: 0; padding: 0 0 2px; }
.inv-axis-head .inv-ax { font-size: 10px; letter-spacing: .6px; font-weight: 700; color: var(--ink-3); }
.inv-ax { flex: none; min-width: 122px; display: flex; justify-content: flex-end; }
/* Settlement pill — three-state MONEY axis. Outlined + colored dot, deliberately distinct
   from the solid `.status` sync flags so the two axes never read as one thing. */
.settle-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1.5px solid; background: var(--surface); white-space: nowrap; }
.settle-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.settle-paid { color: #1a7f37; border-color: #9ad5ac; }
.settle-partial { color: #b45309; border-color: #f0c68a; }
.settle-open { color: #1d4ed8; border-color: #bfdbfe; }
.settle-void { color: #6b7280; border-color: #d8dce1; }
.settle-void .settle-dot { background: transparent; border: 1.5px solid currentColor; }
.settle-none { color: var(--ink-3); font-weight: 700; }
@media (max-width: 560px) {
  .inv-axis-head { display: none; }
  .inv-ax { min-width: 0; justify-content: flex-start; }
  .inv-axis-row > .grow { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .proposal-doc { padding: 20px 16px; }
  /* Stack the letterhead so nothing clips on a phone: logo, then PROPOSAL block, left-aligned. */
  .proposal-doc .pp-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .proposal-doc .pp-head-r { text-align: left; }
  .proposal-doc .pp-title { font-size: 28px; }
  .proposal-doc .pp-fromto, .proposal-doc .pp-projbar { grid-template-columns: 1fr; gap: 12px; }
  .proposal-doc .pp-subrows, .proposal-doc .pp-total-band { width: 100%; }
  .proposal-doc .pp-total-amt { font-size: 20px; }
  .pp-toolbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
  .pp-tbar-sub { display: none; }
  .pp-tbar-r { justify-content: stretch; }
  .pp-tbar-r .btn { flex: 1; justify-content: center; }
  .pp-canvas { padding: 14px 10px 40px; }
}
