/* Ownerday UI kit: the one source for colors, type, spacing and shared controls.
   See /styleguide for every component. New screens use these classes instead of
   styling their own buttons, dropdowns, toggles, tabs or badges. */
:root{
  /* Color */
  /* Neutrals: ink for titles and values, text for body copy, muted and faint for secondary words. */
  --od-ink:#1b2126;--od-text:#3b434b;--od-muted:#5d6670;--od-faint:#8b939c;
  --od-line:#e6e9ed;--od-line-strong:#c9cfd6;--od-soft:#f6f7f9;--od-canvas:#f5f8fc;--od-surface:#fff;
  --od-blue:#1f51fe;--od-blue-dark:#1741d1;--od-blue-soft:#eef2ff;
  --od-green:#13795b;--od-green-soft:#e8f6ef;
  /* Amber is for small badges only (waiting). Never use the cream amber-soft fill on a banner, notice or any large area. */
  --od-amber:#a15c00;--od-amber-soft:#fff4dc;
  --od-red:#b42318;--od-red-soft:#fdf0ef;
  /* Tinted borders that go with the soft fills, and the shade behind a dialog */
  --od-blue-line:#c9d5ff;--od-green-line:#bfe3d1;--od-amber-line:#edd7a2;--od-red-line:#f0c4bf;--od-backdrop:#10182873;
  --od-focus:#a0b7ff;
  /* Deep brand navy: headlines, the dark band and phone frames on the public pages */
  --od-navy:#0b1a4a;
  /* Photo viewer backdrop and the shade under text on photos */
  --od-night:#101418;--od-night-line:#ffffff24;--od-scrim:#0a0e12a6;
  /* Type: 12 · 13 · 14 · 15 · 18 · 22 · 28. Display sizes (40 · 52 · 84 · 168) are for the public landing pages only; 168 is the home page's FREE FOREVER line. */
  --od-text-xs:12px;--od-text-sm:13px;--od-text-md:14px;--od-text-lg:15px;--od-title-sm:18px;--od-title-md:22px;--od-title-lg:28px;
  --od-display-md:40px;--od-display-lg:52px;--od-display-xl:84px;--od-display-hero:168px;
  /* Spacing: 4 · 8 · 12 · 16 · 24 · 32 */
  --od-space-1:4px;--od-space-2:8px;--od-space-3:12px;--od-space-4:16px;--od-space-5:24px;--od-space-6:32px;
  /* Shape */
  --od-radius-sm:6px;--od-radius-md:8px;--od-radius-lg:14px;--od-radius-pill:999px;
  --od-radius-xl:16px;--od-text-touch:16px;
  --od-radius-xxl:32px; /* public home page only: big photo tiles and the hero calculator */
  --od-control-md:40px;--od-control-sm:32px;
  --od-shadow-sm:0 1px 2px #10204014;--od-shadow-card:0 1px 2px #1020400d;--od-shadow-md:0 8px 24px #1020401f;
}
/* The signed-in app (index.html, body.od-app): crisp white pages, cooler neutrals, tighter corners and controls.
   Public pages and emails keep the values above. */
.od-app{
  --od-ink:#1a1f36;--od-text:#414552;--od-muted:#596171;--od-faint:#87909f;
  --od-line:#e3e8ee;--od-line-strong:#cfd6df;--od-soft:#f3f5f8;--od-canvas:#f5f7fa;
  --od-radius-sm:6px;--od-radius-md:8px;--od-radius-lg:12px;
  --od-control-md:36px;--od-control-sm:28px;
  --od-text-touch:16px; /* fields on phones: smaller makes iOS zoom in */
  --od-radius-xl:16px; /* big friendly cards, tiles and sheets (estimate builder version 5) */
  /* Raised: the lift under buttons. Card: a card resting on the canvas. Float: menus, dialogs and the setup guide. */
  --od-shadow-sm:0 1px 2px #1a1f3614;--od-shadow-card:0 1px 2px #1a1f360a,0 1px 1px #1a1f3605;--od-shadow-md:0 0 0 1px #1a1f360d,0 4px 8px -2px #1a1f3614,0 16px 32px -8px #1a1f3629;
}

/* Buttons: one shape, four kinds, two sizes. */
.od-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--od-space-2);min-height:var(--od-control-md);padding:0 var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface);box-shadow:var(--od-shadow-sm);color:var(--od-ink);font:inherit;font-size:var(--od-text-md);font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background .12s,border-color .12s,color .12s}
.od-btn:hover{background:var(--od-soft);border-color:var(--od-line-strong)}
.od-btn:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-btn:disabled{opacity:.45;cursor:not-allowed}
.od-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-btn--primary{background:var(--od-blue);border-color:var(--od-blue);color:#fff;box-shadow:var(--od-shadow-sm),inset 0 -1px 0 #00000026}
.od-btn--primary:hover{background:var(--od-blue-dark);border-color:var(--od-blue-dark)}
.od-btn--quiet{background:transparent;border-color:transparent;box-shadow:none;color:var(--od-blue)}
/* Soft: a quiet button that still looks like a button (a light gray fill, ink text), for everything next to one blue main
   action: Shared links, Trash, Move to job, Cancel. Use it instead of blue link-style text in toolbars and bars. */
.od-btn--soft{background:color-mix(in srgb,var(--od-ink) 6%,transparent);border-color:transparent;box-shadow:none;color:var(--od-ink)}
.od-btn--soft:hover{background:color-mix(in srgb,var(--od-ink) 11%,transparent)}
.od-btn--quiet:hover{background:var(--od-blue-soft);border-color:transparent}
.od-btn--danger{color:var(--od-red);border-color:var(--od-red-line)}
.od-btn--danger:hover{background:var(--od-red-soft);border-color:color-mix(in srgb,var(--od-red) 35%,var(--od-red-line))}
.od-btn--sm{min-height:var(--od-control-sm);padding:0 10px;font-size:var(--od-text-sm)}
.od-btn--link{min-height:0;padding:0;border:0;background:none;box-shadow:none;color:var(--od-blue);font-size:var(--od-text-sm);font-weight:600;text-align:left;white-space:normal}
/* Icon button: an od-btn with only an icon, like close, more (···), history or the bell. Always give it an aria-label.
   Add od-btn--quiet in toolbars, headers and rows, and od-btn--sm in tight rows. */
.od-btn--icon{width:var(--od-control-md);padding:0;flex:none}
.od-btn--icon.od-btn--sm{width:var(--od-control-sm);padding:0}
.od-btn--icon svg{width:18px;height:18px}
.od-btn--icon.od-btn--sm svg{width:16px;height:16px}
.od-btn--icon.od-btn--quiet{color:var(--od-muted)}
.od-btn--icon.od-btn--quiet:hover,.od-btn--icon.od-btn--quiet[aria-haspopup][aria-expanded="true"]{background:var(--od-soft);color:var(--od-ink)}
@media (pointer:coarse){.od-btn--icon,.od-btn--icon.od-btn--sm{width:44px;min-height:44px}}
.od-btn--link:hover{background:none;text-decoration:underline;text-underline-offset:3px}

/* Dropdown: a styled native select, so keyboard and screen readers just work. */
.od-select{appearance:none;-webkit-appearance:none;min-height:var(--od-control-md);padding:0 34px 0 var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface) 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='%235d6670' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);font-weight:600;cursor:pointer;min-width:0;max-width:100%}
.od-select:hover{border-color:var(--od-faint)}
.od-select:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-select--sm{min-height:var(--od-control-sm);font-size:var(--od-text-sm);padding-right:30px;background-position:right 10px center}

/* Text input */
.od-input{min-height:var(--od-control-md);padding:0 var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface);color:var(--od-ink);font:inherit;font-size:var(--od-text-md);min-width:0}
.od-input--sm{min-height:var(--od-control-sm);font-size:var(--od-text-sm)}
textarea.od-input{display:block;padding:var(--od-space-2) var(--od-space-3);line-height:1.5;resize:vertical}
.od-input::placeholder{color:var(--od-faint)}
.od-input[readonly]{background:var(--od-soft);color:var(--od-muted)}
.od-input:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-search{position:relative;display:flex;align-items:center}
.od-search svg{position:absolute;left:12px;width:15px;height:15px;fill:none;stroke:var(--od-faint);stroke-width:2;pointer-events:none}
.od-search .od-input{width:100%;padding-left:36px}

/* Segmented toggle: pick one of 2–4 views. Use aria-pressed on each button. */
.od-seg{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-soft)}
.od-seg>button{min-height:26px;padding:0 var(--od-space-3);border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-muted);font:inherit;font-size:var(--od-text-sm);font-weight:600;cursor:pointer}
.od-seg>button:hover{color:var(--od-ink)}
.od-seg>button[aria-pressed="true"]{background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-sm),0 0 0 1px var(--od-line-strong)}
.od-seg>button:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}

/* Filter chips: filter a list, with counts. */
.od-chips{display:flex;flex-wrap:wrap;gap:6px}
.od-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 11px;border:1px solid var(--od-line-strong);border-radius:var(--od-radius-pill);background:var(--od-surface);color:var(--od-text);font:inherit;font-size:var(--od-text-sm);font-weight:600;cursor:pointer;white-space:nowrap}
.od-chip>span{font-size:var(--od-text-xs);color:var(--od-faint)}
.od-chip:hover{color:var(--od-ink);border-color:var(--od-faint)}
.od-chip[aria-pressed="true"]{background:var(--od-blue-soft);border-color:var(--od-blue);color:var(--od-blue)}
.od-chip[aria-pressed="true"]>span{color:var(--od-blue)}
.od-chip:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
/* Choice list: pick one answer in a form (real radio buttons). The last option can reveal a text box for "Something else". */
.od-choices{display:grid;gap:var(--od-space-2);margin:0;padding:0;border:0;min-width:0}
.od-choices>legend{padding:0;margin-bottom:var(--od-space-2)}
.od-choice{display:flex;align-items:center;gap:var(--od-space-3);min-height:48px;padding:var(--od-space-2) var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface);color:var(--od-ink);font-size:var(--od-text-md);font-weight:600;cursor:pointer}
.od-choice small{display:block;color:var(--od-muted);font-size:var(--od-text-sm);font-weight:500}
.od-choice>input[type="radio"],.od-choice>input[type="checkbox"]{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;accent-color:var(--od-blue)}
.od-choice:hover{border-color:var(--od-ink)}
.od-choice:has(input:checked){border-color:var(--od-blue);background:var(--od-blue-soft)}
.od-choice:has(input:focus-visible){outline:3px solid var(--od-focus);outline-offset:2px}
.od-choices .od-input[hidden]{display:none}
/* Two columns of short answers (“Just me”, “2–5”), so a form with several questions stays short. One column again on a phone. */
.od-choices--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.od-choices--2>legend,.od-choices--2>.od-input{grid-column:1/-1}
@media (max-width:420px){.od-choices--2{grid-template-columns:minmax(0,1fr)}}

/* Tabs: switch sections of one record. Use aria-pressed (or aria-selected with role=tab). */
.od-tabs{display:flex;gap:4px;border-bottom:1px solid var(--od-line);overflow-x:auto;scrollbar-width:none}
.od-tabs::-webkit-scrollbar{display:none}
.od-tab{position:relative;display:inline-flex;align-items:center;gap:7px;padding:13px 12px 12px;border:0;background:transparent;color:var(--od-muted);font:inherit;font-size:var(--od-text-md);font-weight:600;white-space:nowrap;cursor:pointer}
.od-tab:first-child{margin-left:-12px}
.od-tab:hover{color:var(--od-ink)}
.od-tab::after{content:'';position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:var(--od-blue);transform:scaleX(0);transition:transform .18s}
.od-tab:is([aria-pressed="true"],[aria-selected="true"]){color:var(--od-blue)}
.od-tab:is([aria-pressed="true"],[aria-selected="true"])::after{transform:scaleX(1)}
.od-tab:focus-visible{outline:2px solid var(--od-blue);outline-offset:-2px}
.od-count{min-width:20px;padding:1px 7px;border-radius:var(--od-radius-pill);background:var(--od-soft);color:var(--od-muted);font-size:var(--od-text-xs);font-weight:700;text-align:center}
.od-tab:is([aria-pressed="true"],[aria-selected="true"]) .od-count{background:var(--od-blue-soft);color:var(--od-blue)}

/* Menu: a short list of actions that opens from a button, like the account menu. The button gets aria-haspopup="menu"
   and aria-expanded; the list gets role="menu" and each item role="menuitem". Danger items (Sign out) go last. */
.od-menu{display:grid;gap:2px;min-width:200px;padding:var(--od-space-1);border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-surface);box-shadow:var(--od-shadow-md)}
.od-menu[hidden]{display:none}
.od-menu-head{padding:var(--od-space-2) var(--od-space-3);font-size:var(--od-text-xs);color:var(--od-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.od-menu-sep{height:1px;margin:var(--od-space-1) 0;background:var(--od-line)}
.od-menu-item{display:flex;align-items:center;gap:var(--od-space-2);width:100%;min-height:var(--od-control-md);margin:0;padding:0 var(--od-space-3);border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);font-weight:600;text-align:left;text-decoration:none;cursor:pointer}
.od-menu-item:hover,.od-menu-item:focus-visible{background:var(--od-soft);outline:none}
.od-menu-item:focus-visible{box-shadow:inset 0 0 0 2px var(--od-focus)}
.od-menu-item svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-menu-item--danger{color:var(--od-red)}
/* Picker: a button that opens an od-menu to choose one value; the chosen one is checked */
.od-picker{position:relative;display:inline-block}
.od-picker-button{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--od-space-2);min-width:100%;min-height:var(--od-control-md);padding:0 var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface);color:var(--od-ink);font:inherit;font-size:var(--od-text-md);font-weight:600;text-align:left;white-space:nowrap;cursor:pointer}
.od-picker-button:hover{border-color:#b3bac3}
.od-picker-button:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-picker-button svg{width:14px;height:14px;flex-shrink:0;fill:none;stroke:var(--od-muted);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.od-picker-button[aria-expanded="true"] svg{transform:rotate(180deg)}
.od-picker--sm .od-picker-button{min-height:var(--od-control-sm);font-size:var(--od-text-sm)}
.od-picker-menu{position:absolute;top:calc(100% + var(--od-space-1));right:0;z-index:30;min-width:max(100%,180px)}
.od-picker-menu .od-menu-item{justify-content:space-between;font-weight:500}
.od-picker-menu .od-menu-item[aria-checked="true"]{color:var(--od-blue);font-weight:700}
.od-picker-menu .od-menu-item svg{visibility:hidden}
.od-picker-menu .od-menu-item[aria-checked="true"] svg{visibility:visible}
.od-picker--sm .od-menu-item{min-height:var(--od-control-sm);font-size:var(--od-text-sm)}
.od-menu-item--danger:hover,.od-menu-item--danger:focus-visible{background:var(--od-red-soft)}

/* Badges: a status word, never a control. */
.od-radio{flex:none;display:grid;place-items:center;width:18px;height:18px;min-width:18px;min-height:18px;padding:0;border:1.5px solid var(--od-line-strong);border-radius:50%;background:var(--od-surface);box-shadow:none;cursor:pointer}
.od-radio[aria-pressed="true"]{border-color:var(--od-blue)}
.od-radio[aria-pressed="true"]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--od-blue)}
.od-radio:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
/* Checkbox: one yes/no beside its label, like Tax on a line or "Use for new estimates". */
.od-check{appearance:none;-webkit-appearance:none;flex:none;display:inline-grid;place-content:center;width:16px;height:16px;margin:0;border:1.5px solid var(--od-line-strong);border-radius:var(--od-radius-sm);background:var(--od-surface);cursor:pointer}
.od-check::after{content:"";width:8px;height:4px;margin-top:-2px;border:2px solid var(--od-surface);border-top:0;border-right:0;transform:rotate(-45deg);opacity:0}
.od-check:checked{border-color:var(--od-blue);background:var(--od-blue)}
.od-check:checked::after{opacity:1}
.od-check:disabled{opacity:.5;cursor:default}
.od-check:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
/* Switch: a setting that's on or off, like "Track job costs". A button with role="switch" and aria-checked. */
.od-switch{flex:none;position:relative;width:36px;height:20px;min-height:0;padding:0;border:0;border-radius:var(--od-radius-pill);background:var(--od-line-strong);cursor:pointer;transition:background .15s}
.od-switch::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--od-surface);box-shadow:var(--od-shadow-sm);transition:transform .15s}
.od-switch[aria-checked="true"]{background:var(--od-blue)}
.od-switch[aria-checked="true"]::after{transform:translateX(16px)}
.od-switch:disabled{opacity:.5;cursor:not-allowed}
.od-switch:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:var(--od-radius-sm);background:var(--od-line);color:var(--od-text);font-size:var(--od-text-xs);font-weight:600;line-height:1.35;white-space:nowrap}
.od-badge--blue{background:var(--od-blue-soft);color:var(--od-blue)}
.od-badge--green{background:var(--od-green-soft);color:var(--od-green)}
.od-badge--amber{background:var(--od-amber-soft);color:var(--od-amber)}
.od-badge--red{background:var(--od-red-soft);color:var(--od-red)}

/* Card: a bordered surface for a group of content. */
.od-card{border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);padding:var(--od-space-5)}
.od-label{display:block;margin:0 0 var(--od-space-1);color:var(--od-muted);font-size:var(--od-text-sm);font-weight:500}
/* List: rows of records with a name, a quiet second line, a value on the right and an optional small action, like price book items. */
.od-list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none;border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);overflow:hidden}
.od-list>li+li{border-top:1px solid var(--od-line)}
.od-list-row{display:flex;align-items:center;gap:var(--od-space-3);min-height:56px;padding:var(--od-space-2) var(--od-space-4)}
.od-list-button,.od-list-static{display:flex;align-items:center;gap:var(--od-space-3);flex:1;min-width:0;margin:calc(-1 * var(--od-space-2)) calc(-1 * var(--od-space-4));padding:var(--od-space-2) var(--od-space-4);min-height:56px;border:0;background:none;color:inherit;font:inherit;text-align:left}
.od-list-button{cursor:pointer}
.od-list-button:hover{background:var(--od-soft)}
.od-list-button:focus-visible{outline:3px solid var(--od-focus);outline-offset:-3px}
.od-list-thumb{flex:none;width:40px;height:40px;border-radius:var(--od-radius-sm);background:var(--od-soft);object-fit:cover}
.od-list-main{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.od-list-main b{font-size:var(--od-text-md);font-weight:600;color:var(--od-ink)}
.od-list-main small{overflow:hidden;color:var(--od-muted);font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-list-meta{display:inline-flex;align-items:center;gap:var(--od-space-2);color:var(--od-faint);font-size:var(--od-text-sm);white-space:nowrap}
.od-list-amount{color:var(--od-ink);font-size:var(--od-text-md);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:700px){.od-list-meta{display:none}.od-list-row,.od-list-button,.od-list-static{gap:var(--od-space-2)}}

/* Questions: short answers that open on tap, one native <details> each, so keyboard and screen readers work. */
.od-faq{border-top:1px solid var(--od-line)}
.od-faq details{border-bottom:1px solid var(--od-line)}
.od-faq summary{display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-3);min-height:48px;padding:var(--od-space-3) 0;list-style:none;color:var(--od-ink);font-size:var(--od-text-md);font-weight:600;cursor:pointer}
.od-faq summary::-webkit-details-marker{display:none}
.od-faq summary::after{content:"";flex:none;width:7px;height:7px;margin-right:var(--od-space-1);border-right:2px solid var(--od-faint);border-bottom:2px solid var(--od-faint);transform:translateY(-2px) rotate(45deg)}
.od-faq details[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.od-faq summary:hover{color:var(--od-blue)}
.od-faq summary:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px;border-radius:var(--od-radius-sm)}
.od-faq details>div{padding:0 0 var(--od-space-4);color:var(--od-muted);font-size:var(--od-text-sm);line-height:1.6}
.od-faq details>div>*+*{margin-top:var(--od-space-2)}

/* Facts: a hairline row of two to four numbers, each with a blue bar, one plain sentence and its source. For facts with a named source only. */
.od-facts{list-style:none;margin:var(--od-space-6) 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));border-top:1px solid var(--od-line);border-bottom:1px solid var(--od-line)}
.od-facts li{display:flex;flex-direction:column;gap:var(--od-space-2);padding:var(--od-space-5) var(--od-space-5) var(--od-space-5) var(--od-space-4);border-left:1px solid var(--od-line)}
.od-facts li:first-child{border-left:0;padding-left:0}
.od-facts b{display:block;padding-left:var(--od-space-3);border-left:3px solid var(--od-blue);color:var(--od-ink);font-size:var(--od-title-lg);line-height:1.1;letter-spacing:-.5px}
.od-facts p{margin:0;color:var(--od-muted);font-size:var(--od-text-md);line-height:1.5}
.od-facts a{margin-top:auto;color:var(--od-faint);font-size:var(--od-text-xs);text-decoration:none}
.od-facts a:hover{color:var(--od-blue);text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.od-facts{grid-template-columns:1fr}.od-facts li{border-left:0;padding-left:0;border-top:1px solid var(--od-line)}.od-facts li:first-child{border-top:0}}

/* Meter: how much of an allowance is used, like storage. A thin bar over one line of numbers. Blue; red once full. */
.od-meter{display:grid;gap:6px}
.od-meter__bar{height:8px;border-radius:var(--od-radius-pill);background:var(--od-line);overflow:hidden}
.od-meter__fill{display:block;height:100%;min-width:2px;border-radius:inherit;background:var(--od-blue)}
.od-meter--full .od-meter__fill{background:var(--od-red)}
.od-meter__text{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--od-space-2);color:var(--od-muted);font-size:var(--od-text-sm)}
.od-meter__text b{color:var(--od-text);font-weight:600}
/* Banner: one account-level message across the top of a page, with at most one action. */
.od-banner{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2) var(--od-space-3);margin:0 0 var(--od-space-4);padding:var(--od-space-3) var(--od-space-4);border-radius:var(--od-radius-lg);background:var(--od-soft);box-shadow:inset 0 0 0 1px var(--od-line);color:var(--od-ink);font-size:var(--od-text-md);line-height:1.45}
.od-banner p{flex:1 1 260px;margin:0}
.od-banner--blue{background:var(--od-blue-soft);box-shadow:inset 0 0 0 1px #d3ddff}
.od-banner--red{background:var(--od-red-soft);box-shadow:inset 0 0 0 1px #f6d2ce}
/* Note: an in-page suggestion with an icon and up to two links, like missing reviews on the send page. White, blue edge. Never blocks anything. */
.od-note{display:flex;gap:var(--od-space-3);align-items:flex-start;margin:var(--od-space-4) 0 0;padding:var(--od-space-3) var(--od-space-4);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);box-shadow:inset 0 0 0 1px var(--od-line),inset 4px 0 0 var(--od-blue);font-size:var(--od-text-md);line-height:1.45}
.od-note>svg{flex:none;width:18px;height:18px;margin-top:2px;color:var(--od-blue)}
.od-note p{margin:var(--od-space-1) 0 0;color:var(--od-muted)}
.od-note-links{display:flex;flex-wrap:wrap;gap:var(--od-space-1) var(--od-space-4)}

/* Photos: a day-grouped grid of square tiles, and a full-screen viewer. */
.od-photo-day{margin:0 0 var(--od-space-5)}
.od-photo-day>h3{display:flex;align-items:baseline;gap:var(--od-space-2);margin:0 0 var(--od-space-2);font-size:var(--od-text-md);font-weight:700;color:var(--od-ink)}
.od-photo-day>h3>span{font-size:var(--od-text-xs);font-weight:600;color:var(--od-faint)}
.od-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--od-space-1)}
.od-photo-tile{position:relative;display:block;width:100%;aspect-ratio:1;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);overflow:hidden;background:var(--od-soft);color:var(--od-muted);font:inherit;cursor:pointer}
.od-photo-tile>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.od-photo-tile:hover>img{transform:scale(1.03)}
.od-photo-tile:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-photo-tile>.od-badge{position:absolute;top:6px;left:6px}
.od-photo-tile__meta{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;gap:6px;padding:var(--od-space-5) var(--od-space-2) 6px;background:linear-gradient(transparent,var(--od-scrim));color:#fff;font-size:var(--od-text-xs);font-weight:600;text-align:left;white-space:nowrap}
.od-photo-tile__meta svg{width:14px;height:14px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:2}
.od-photo-tile__empty{display:grid;place-items:center;align-content:center;gap:4px;height:100%;font-size:var(--od-text-xs);font-weight:600}
.od-photo-tile__empty svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.od-avatar{display:inline-grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--od-surface);color:var(--od-ink);font-size:var(--od-text-xs);font-weight:700}
.od-avatar--soft{background:var(--od-soft);color:var(--od-text);box-shadow:inset 0 0 0 1px var(--od-line)}
.od-tag{display:inline-flex;align-items:center;padding:2px 9px;border:1px solid var(--od-line);border-radius:var(--od-radius-pill);background:var(--od-soft);color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600}
.od-viewer{position:fixed;inset:0;z-index:80;display:grid;grid-template-columns:minmax(0,1fr) 340px;background:var(--od-night)}
.od-viewer__stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:64px 72px 32px}
.od-viewer__stage>img,.od-viewer__stage>video{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--od-radius-sm)}
.od-viewer__stage>p{color:#fff;font-size:var(--od-text-md)}
.od-viewer__bar{position:absolute;top:0;right:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-3);padding:var(--od-space-3) var(--od-space-4);color:#fff;font-size:var(--od-text-sm);font-weight:600}
.od-viewer__btn{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--od-night-line);border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.od-viewer__btn:hover{background:var(--od-night-line)}
.od-viewer__btn:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-viewer__btn:disabled{opacity:.3;cursor:default}
.od-viewer__btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-viewer__prev,.od-viewer__next{position:absolute;top:50%;transform:translateY(-50%)}
.od-viewer__prev{left:var(--od-space-4)}.od-viewer__prev svg{transform:rotate(180deg)}
.od-viewer__next{right:var(--od-space-4)}
.od-viewer__panel{display:flex;flex-direction:column;gap:var(--od-space-4);min-height:0;overflow:auto;padding:var(--od-space-5);background:var(--od-surface);color:var(--od-ink)}
.od-viewer__panel h2{margin:0;font-size:var(--od-title-sm);line-height:1.35}
/* Close sits in the window's top-right corner, like every dialog and panel: at the top of the details on a wide screen,
   over the photo when the details stack underneath (phones). */
.od-viewer__panelhead{display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-2);margin:calc(var(--od-space-2) * -1) calc(var(--od-space-2) * -1) 0 0}
.od-viewer__panelhead h2{font-size:var(--od-text-md)}
.od-viewer__close--stage{display:none}
/* The details: the caption as the headline, when and who under it, then the photo's properties as label-and-value
   rows (od-props) whose fields look like text until you point at or click them; actions are icons at the top. */
.od-viewer__panelhead{margin:calc(var(--od-space-2) * -1) calc(var(--od-space-2) * -1) 0 calc(var(--od-space-2) * -1)}
.od-viewer__panelactions{display:flex;flex-wrap:wrap;align-items:center;gap:2px}
.od-viewer__panelactions .od-btn svg{width:16px;height:16px}
.od-viewer__headline{display:grid;gap:var(--od-space-1)}
.od-viewer__caption.od-input,.od-viewer__caption{width:100%;min-height:0;margin:0 0 0 calc(var(--od-space-2) * -1);padding:var(--od-space-1) var(--od-space-2);border:1px solid transparent;border-radius:var(--od-radius-md);background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-lg);font-weight:600;line-height:1.35;resize:none;box-shadow:none;field-sizing:content}
.od-viewer__caption.od-input:hover{background:var(--od-soft)}
.od-viewer__caption.od-input:focus{border-color:var(--od-blue);background:var(--od-surface)}
.od-viewer__caption::placeholder{color:var(--od-faint);font-weight:600}
.od-viewer__when{margin:0;color:var(--od-muted);font-size:var(--od-text-sm)}
.od-viewer__props{row-gap:var(--od-space-1);padding-top:var(--od-space-3);border-top:1px solid var(--od-line)}
.od-viewer__props .od-props__label{min-width:52px}
.od-viewer__value.od-select,.od-viewer__value.od-input{width:100%;min-height:32px;margin:0 0 0 calc(var(--od-space-2) * -1);padding:0 var(--od-space-2);border:1px solid transparent;border-radius:var(--od-radius-md);background-color:transparent;color:var(--od-ink);font-size:var(--od-text-md);box-shadow:none}
.od-viewer__value.od-select{background-position:right var(--od-space-2) center;background-image:none;cursor:pointer}
.od-viewer__value:hover{background-color:var(--od-soft)}
.od-viewer__value:focus{border-color:var(--od-blue);background-color:var(--od-surface);outline:none}
.od-viewer__value::placeholder{color:var(--od-faint)}
.od-viewer__job{display:flex;align-items:center;gap:2px;min-width:0}
.od-viewer__job .od-viewer__value{flex:1;min-width:0}
.od-viewer__tags.od-tagfield{min-height:32px;margin-left:calc(var(--od-space-2) * -1);padding:2px var(--od-space-2);border-color:transparent;background:transparent}
.od-viewer__tags.od-tagfield:hover{background:var(--od-soft)}
.od-viewer__tags.od-tagfield:focus-within{border-color:var(--od-blue);background:var(--od-surface)}
.od-viewer__text{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-1);min-height:32px;color:var(--od-ink);font-size:var(--od-text-md)}
.od-viewer__file{margin:auto 0 0;padding-top:var(--od-space-3);color:var(--od-faint);font-size:var(--od-text-xs)}
/* I hides the details for a photo that fills the window; the close moves back over the photo. */
.od-viewer.is-bare{grid-template-columns:minmax(0,1fr)}
.od-viewer.is-bare>.od-viewer__panel{display:none}
.od-viewer.is-bare .od-viewer__close--stage{display:inline-grid}
.od-viewer__panel p{margin:0;color:var(--od-muted);font-size:var(--od-text-md);line-height:1.5}
.od-viewer__facts{display:grid;gap:var(--od-space-3);margin:0}
.od-viewer__facts>div{display:grid;gap:2px}
.od-viewer__facts dd{margin:0;font-size:var(--od-text-md)}
.od-viewer__row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.od-viewer__actions{display:flex;flex-wrap:wrap;gap:var(--od-space-2);margin-top:auto;padding-top:var(--od-space-4);border-top:1px solid var(--od-line)}
/* Photo grid sizes, selection and markers */
.od-photo-cell{position:relative;min-width:0}
.od-photo-grid--s{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
.od-photo-grid--l{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--od-space-2)}
/* A narrow column of photos, like the panel beside a map: three across, quiet (no time or stage on the tile). */
.od-photo-grid--panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.od-photo-grid--panel .od-photo-tile__meta,.od-photo-grid--panel .od-badge{display:none}
.od-photo-tile[aria-pressed="true"]{box-shadow:inset 0 0 0 3px var(--od-blue)}
.od-photo-tile[aria-pressed="true"]>img{transform:scale(.9);border-radius:var(--od-radius-sm)}
.od-photo-check{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--od-scrim);color:transparent;cursor:pointer;opacity:0;transition:opacity .12s}
.od-photo-cell:hover>.od-photo-check,.od-photo-check:focus-visible,.od-photo-check[aria-pressed="true"],.is-selecting .od-photo-check{opacity:1}
.od-photo-check[aria-pressed="true"]{border-color:var(--od-blue);background:var(--od-blue);color:#fff}
.od-photo-check:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-photo-check svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.od-photo-tile__flag{font-size:var(--od-text-xs)}
/* Removable active filters */
.od-filterchips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2)}
.od-filterchip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 8px 0 12px;border:1px solid var(--od-blue-soft);border-radius:var(--od-radius-pill);background:var(--od-blue-soft);color:var(--od-blue);font:inherit;font-size:var(--od-text-sm);font-weight:600;cursor:pointer}
.od-filterchip:hover{border-color:var(--od-blue)}
.od-filterchip:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-filterchip svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
/* Viewer: zoom canvas, markup, filmstrip and editable details */
.od-viewer__stage{padding-bottom:96px}
.od-viewer__canvas{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;cursor:default;touch-action:none}
/* The photo zooms on a double click; the dark space around it closes the viewer. */
.od-viewer__frame{cursor:zoom-in}
.od-viewer__canvas[data-zoom="true"] .od-viewer__frame{cursor:grab}
.od-viewer__canvas[data-zoom="true"]{cursor:grab}
.od-viewer__frame{position:relative;display:inline-block;max-width:100%;max-height:100%;transform-origin:center;transition:transform .06s ease-out}
.od-viewer__frame>img{display:block;max-width:100%;max-height:calc(100vh - 190px);object-fit:contain;border-radius:var(--od-radius-sm);user-select:none;-webkit-user-drag:none}
.od-viewer__marks{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke-width:4px;stroke-linecap:round;pointer-events:none}
.od-viewer__marks *{vector-effect:non-scaling-stroke}
.is-marking .od-viewer__marks{pointer-events:auto;cursor:crosshair;touch-action:none}
/* Markup words over a photo: text labels and measurements (photo-marks.js). The mark's own color fills the tag. */
.od-mark-labels{position:absolute;inset:0;pointer-events:none;container-type:size}
.od-mark-label{position:absolute;max-width:60%;padding:2px 8px;border-radius:var(--od-radius-sm);font-size:clamp(10px,3.2cqw,18px);font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translate(-50%,-50%);box-shadow:var(--od-shadow-sm)}
.od-mark-label--measure{border-radius:var(--od-radius-pill);font-variant-numeric:tabular-nums;transform:translate(-50%,calc(-100% - 4px))}
.od-marks{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
/* Marks over a thumbnail that crops its photo (od-marked, OwnerDayMarks.thumb): a frame the photo's shape, centred and
   cropped like object-fit: cover, so the marks land where they were drawn. --od-photo-ratio is set when the photo loads.
   Lines are thinner at this size; a tiny thumbnail leaves the words to the full photo. */
.od-marked{position:absolute;inset:0;overflow:hidden;pointer-events:none;container-type:size}
.od-marked__frame{position:absolute;left:50%;top:50%;width:max(100cqw,calc(100cqh * var(--od-photo-ratio,1)));height:max(100cqh,calc(100cqw / var(--od-photo-ratio,1)));transform:translate(-50%,-50%)}
.od-marked .od-marks [stroke-width="4"]{stroke-width:2.5px}
.od-checklist__photo .od-mark-labels{display:none}
.od-viewer__tools{display:flex;align-items:center;gap:var(--od-space-2)}
.od-viewer__btn--text{width:auto;padding:0 var(--od-space-3);border-radius:var(--od-radius-pill);font:inherit;font-size:var(--od-text-sm);font-weight:600}
.od-viewer__strip{position:absolute;bottom:var(--od-space-3);left:50%;display:flex;gap:4px;max-width:calc(100% - 32px);padding:4px;overflow-x:auto;transform:translateX(-50%);scrollbar-width:none}
.od-viewer__strip button{flex:0 0 52px;height:52px;padding:0;border:2px solid transparent;border-radius:var(--od-radius-sm);overflow:hidden;background:var(--od-night-line);opacity:.55;cursor:pointer}
.od-viewer__strip button:hover{opacity:.85}
.od-viewer__strip button[aria-current="true"]{border-color:#fff;opacity:1}
.od-viewer__strip button:focus-visible{outline:3px solid var(--od-focus)}
.od-viewer__strip img{display:block;width:100%;height:100%;object-fit:cover}
.od-markbar{position:absolute;bottom:var(--od-space-4);left:50%;display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2);max-width:calc(100% - 32px);padding:var(--od-space-2);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:var(--od-shadow-md);transform:translateX(-50%)}
.od-markbar__colors{display:flex;gap:6px}
.od-markbar .od-input{width:190px}
.od-markbar__end{display:flex;gap:var(--od-space-2);margin-left:var(--od-space-2)}
.od-swatch{width:24px;height:24px;padding:0;border:2px solid var(--od-line-strong);border-radius:50%;background:var(--swatch);cursor:pointer}
.od-swatch[aria-pressed="true"]{box-shadow:0 0 0 2px var(--od-surface),0 0 0 4px var(--od-ink)}
.od-swatch:focus-visible{outline:3px solid var(--od-focus);outline-offset:3px}
/* Swatch row: a short set of colors to pick from; the pressed swatch is the current one. */
.od-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2)}
.od-swatches .od-swatch{width:36px;height:36px}
/* The last swatch in a row can open more colors (a palette, a code, the device's color picker): a ring of every
   hue around the color picked so far. Pressed (is-on) when the owner's own color is the one in use; outlined
   while what it opens is open. Inside a label it opens the device's color picker directly. */
.od-swatch--custom{position:relative;display:inline-block;overflow:hidden;border-color:transparent;background:radial-gradient(circle,var(--swatch,var(--od-surface)) 0 50%,transparent 52%),conic-gradient(hsl(0 80% 55%),hsl(60 85% 50%),hsl(120 60% 42%),hsl(180 70% 42%),hsl(240 70% 58%),hsl(300 65% 52%),hsl(0 80% 55%))}
.od-swatch--custom input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.od-swatch--custom.is-on{box-shadow:0 0 0 2px var(--od-surface),0 0 0 4px var(--od-ink)}
.od-swatch--custom[aria-expanded="true"]:not(.is-on){box-shadow:0 0 0 2px var(--od-surface),0 0 0 4px var(--od-line-strong)}
.od-swatch--custom:focus-within{outline:3px solid var(--od-focus);outline-offset:3px}
.od-viewer__field{display:grid;gap:4px}
.od-viewer__field textarea.od-input{min-height:76px;padding:var(--od-space-2) var(--od-space-3);line-height:1.45;resize:vertical}
.od-viewer__pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--od-space-2)}
.od-viewer__note{color:var(--od-green)!important;font-size:var(--od-text-sm)!important}
.od-viewer__saving{min-height:0;font-size:var(--od-text-xs)!important;color:var(--od-faint)!important}
.od-viewer__keys{margin:0;color:var(--od-faint)!important;font-size:var(--od-text-xs)!important}
/* Shortcuts fold away under "Keyboard shortcuts" so the details stay calm. */
.od-viewer__keys summary{color:var(--od-muted);font-weight:600;list-style:none;cursor:pointer}
.od-viewer__keys summary:hover{color:var(--od-blue)}
.od-viewer__keys summary::-webkit-details-marker{display:none}
.od-viewer__keys p{margin:var(--od-space-2) 0 0}
.od-viewer__actions .od-btn svg{width:14px;height:14px}
/* Tag field: tags as removable pills with a typing slot */
.od-tagfield{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:var(--od-control-md);padding:6px 8px;border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface)}
.od-tagfield:focus-within{outline:3px solid var(--od-focus);outline-offset:1px}
.od-tagfield>input{flex:1 1 90px;min-width:80px;border:0;outline:0;background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-md)}
.od-tag>button{display:inline-grid;place-items:center;width:16px;height:16px;margin:0 -4px 0 4px;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.od-tag>button svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
/* Selection bar: a sticky action bar while photos are selected */
.od-selectbar{position:sticky;bottom:var(--od-space-4);z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2);width:max-content;max-width:100%;margin:var(--od-space-4) auto 0;padding:var(--od-space-2) var(--od-space-3);border-radius:var(--od-radius-lg);background:var(--od-ink);color:#fff;box-shadow:var(--od-shadow-md)}
.od-selectbar>b{margin-right:var(--od-space-2);font-size:var(--od-text-md)}
.od-selectbar .od-btn{border-color:var(--od-night-line);background:transparent;color:#fff}
.od-selectbar .od-btn:hover{background:var(--od-night-line)}
.od-selectbar .od-btn:disabled{opacity:.4}
/* Progress bar */
.od-progress{height:6px;border-radius:var(--od-radius-pill);background:var(--od-soft);overflow:hidden}
.od-progress>span{display:block;height:100%;border-radius:inherit;background:var(--od-blue);transition:width .2s}
.od-progress--over>span{background:var(--od-red)}
/* Upload tray: fixed bottom-right while photos upload */
.od-uploadtray{position:fixed;right:var(--od-space-4);bottom:var(--od-space-4);z-index:70;display:grid;gap:var(--od-space-2);width:340px;max-width:calc(100vw - 32px);padding:var(--od-space-3);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:var(--od-shadow-md)}
.od-uploadtray>header{display:flex;align-items:center;gap:var(--od-space-1)}
.od-uploadtray>header>div{display:grid;flex:1;min-width:0}
.od-uploadtray>header small,.od-uploadtray li small{color:var(--od-muted);font-size:var(--od-text-xs)}
.od-uploadtray ul{display:grid;gap:var(--od-space-2);max-height:260px;margin:0;padding:0;overflow:auto;list-style:none}
.od-uploadtray li{display:flex;align-items:center;gap:var(--od-space-2)}
.od-uploadtray li>span{display:grid;flex:1;min-width:0}
.od-uploadtray li b{overflow:hidden;font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-uploadtray li>img,.od-uploadtray__ph{flex:0 0 40px;width:40px;height:40px;border-radius:var(--od-radius-sm);background:var(--od-soft);object-fit:cover}
.od-uploadtray__ph{display:grid;place-items:center;color:var(--od-faint)}
.od-uploadtray svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-uploadtray li.is-failed small{color:var(--od-red)}
.od-uploadtray__ok{color:var(--od-green)}
/* Drop zone for choosing files */
.od-dropzone{display:grid;justify-items:center;gap:6px;padding:var(--od-space-6) var(--od-space-4);border:2px dashed var(--od-line-strong);border-radius:var(--od-radius-lg);background:var(--od-soft);color:var(--od-muted);text-align:center;cursor:pointer}
.od-dropzone:hover,.od-dropzone:focus-within{border-color:var(--od-blue);color:var(--od-ink)}
.od-dropzone b{color:var(--od-ink);font-size:var(--od-text-lg)}
.od-dropzone small{font-size:var(--od-text-sm)}
.od-dropzone svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8}
.od-dropzone input{position:absolute;width:1px;height:1px;opacity:0}
body.is-dropping-photos .photos-page,body.is-dropping-photos .job-hub [data-photo-drop]{outline:3px dashed var(--od-blue);outline-offset:8px;border-radius:var(--od-radius-lg)}
/* Before / after compare */
.od-seg--dark{border-color:var(--od-night-line);background:transparent}
.od-seg--dark button{color:#fff}
.od-seg--dark button[aria-pressed="true"]{background:#fff;color:var(--od-ink)}
.od-compare{position:relative;max-width:100%;max-height:100%;overflow:hidden;border-radius:var(--od-radius-sm);touch-action:none;user-select:none;cursor:ew-resize}
.od-compare>img,.od-compare__top>img{display:block;max-width:100%;max-height:calc(100vh - 140px);object-fit:contain}
.od-compare__top{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.od-compare__top>img{width:100%;height:100%;object-fit:cover}
.od-compare__line{position:absolute;top:0;bottom:0;left:var(--split);width:3px;margin-left:-1px;background:#fff;box-shadow:0 0 8px var(--od-scrim);pointer-events:none}
.od-compare__line::after{content:"⇆";position:absolute;top:50%;left:50%;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--od-ink);font-size:var(--od-text-lg);transform:translate(-50%,-50%)}
.od-compare__tag{position:absolute;top:var(--od-space-3);padding:3px 10px;border-radius:var(--od-radius-pill);background:var(--od-scrim);color:#fff;font-size:var(--od-text-xs);font-weight:700}
.od-compare__tag--left{left:var(--od-space-3)}.od-compare__tag--right{right:var(--od-space-3)}
.od-compare__range{position:absolute;right:0;bottom:var(--od-space-2);left:0;width:60%;margin:auto;opacity:0}
.od-compare__range:focus-visible{opacity:1}
.od-compare-side{display:grid;grid-template-columns:1fr 1fr;gap:var(--od-space-3);width:100%;max-height:100%}
.od-compare-side figure{display:grid;align-content:center;gap:var(--od-space-2);min-width:0;margin:0}
.od-compare-side img{width:100%;max-height:calc(100vh - 180px);object-fit:contain;border-radius:var(--od-radius-sm)}
.od-compare-side figcaption{color:#fff;font-size:var(--od-text-sm)}
.od-compare-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.od-compare-pick button{position:relative;aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:var(--od-radius-sm);overflow:hidden;background:var(--od-soft);cursor:pointer}
.od-compare-pick button[aria-pressed="true"]{border-color:var(--od-blue)}
.od-compare-pick img{width:100%;height:100%;object-fit:cover}
.od-compare-pick .od-badge{position:absolute;top:4px;left:4px}
#od-photo-compare .od-viewer{z-index:90}
/* Photo report builder and print layout */
.od-report{position:fixed;inset:0;z-index:85;display:grid;grid-template-columns:320px minmax(0,1fr);background:var(--od-soft)}
.od-report__settings{display:flex;flex-direction:column;gap:var(--od-space-4);padding:var(--od-space-5);overflow:auto;border-right:1px solid var(--od-line);background:var(--od-surface)}
.od-report__settings .field{display:grid;gap:6px}
.od-report__head{display:flex;align-items:center;justify-content:space-between}
.od-report__head h2{margin:0;font-size:var(--od-title-sm)}
.od-report__head svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.od-report__check{display:flex;align-items:center;gap:var(--od-space-2);padding:2px 0;font-size:var(--od-text-md)}
/* Native checkboxes inside kit forms: keep their natural size whatever page input styles say */
.od-report__check>input[type="checkbox"],.photo-share-option>input[type="checkbox"]{flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--od-blue)}
.od-report__intro{min-height:96px;padding:var(--od-space-2) var(--od-space-3);line-height:1.45;resize:vertical}
.od-report__actions{margin-top:auto}
.od-report__actions .od-btn{width:100%}
.od-report__preview{display:grid;align-content:start;justify-content:center;gap:var(--od-space-5);padding:var(--od-space-6);overflow:auto}
.od-report__sheet{position:relative;display:flex;flex-direction:column;box-sizing:border-box;width:8.5in;min-height:11in;padding:.55in;background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-md)}
.od-report__brand{display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-4);margin-bottom:var(--od-space-4);padding-bottom:var(--od-space-3);border-bottom:2px solid var(--od-ink)}
.od-report__brand img{max-width:200px;max-height:44px;object-fit:contain}
.od-report__brand b{font-size:var(--od-title-sm)}
.od-report__brand small{color:var(--od-muted);font-size:var(--od-text-xs)}
.od-report__cover h1{margin:0 0 var(--od-space-3);font-size:var(--od-title-lg)}
.od-report__cover dl{display:grid;grid-template-columns:1fr 1fr;gap:var(--od-space-2) var(--od-space-5);margin:0 0 var(--od-space-4)}
.od-report__cover dt{color:var(--od-faint);font-size:var(--od-text-xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.od-report__cover dd{margin:0;font-size:var(--od-text-md)}
.od-report__cover p{margin:0 0 var(--od-space-4);font-size:var(--od-text-md);line-height:1.55}
.od-report__grid{display:grid;flex:1;align-content:start;gap:var(--od-space-4)}
.od-report__sheet[data-layout="4"] .od-report__grid{grid-template-columns:1fr 1fr}
.od-report__photo{position:relative;margin:0;break-inside:avoid}
.od-report__media{display:flex;justify-content:center;overflow:hidden;border-radius:var(--od-radius-sm);background:var(--od-soft)}
.od-report__frame{position:relative;display:inline-block}
.od-report__frame>img{display:block;max-width:100%;object-fit:contain}
.od-report__sheet[data-layout="1"] .od-report__frame>img{max-height:7.4in}
.od-report__sheet[data-layout="2"] .od-report__frame>img{max-height:3.7in}
.od-report__sheet[data-layout="4"] .od-report__frame>img{max-height:3.3in}
.od-report__sheet:first-child[data-layout="1"] .od-report__frame>img{max-height:5in}
.od-report__sheet:first-child[data-layout="2"] .od-report__frame>img{max-height:2.6in}
.od-report__sheet:first-child[data-layout="4"] .od-report__frame>img{max-height:2.3in}
.od-report__photo figcaption{display:flex;gap:var(--od-space-2);padding-top:6px;font-size:var(--od-text-sm)}
.od-report__photo figcaption>span:last-child{display:grid}
.od-report__photo figcaption small{color:var(--od-muted);font-size:var(--od-text-xs)}
.od-report__num{display:inline-grid;flex:0 0 22px;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--od-ink);color:#fff;font-size:var(--od-text-xs);font-weight:700}
.od-report__reorder{position:absolute;top:var(--od-space-2);right:var(--od-space-2);display:flex;gap:4px;opacity:0;transition:opacity .12s}
.od-report__photo:hover .od-report__reorder,.od-report__reorder:focus-within{opacity:1}
.od-report__reorder svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5}
.od-report__sheet>footer{display:flex;justify-content:space-between;margin-top:auto;padding-top:var(--od-space-2);border-top:1px solid var(--od-line);color:var(--od-faint);font-size:var(--od-text-xs)}
/* Signature certificate: one printable page per signed estimate version (signature-certificate.js). Reuses the report shell above. */
.od-cert__lede{margin:0;color:var(--od-muted);font-size:var(--od-text-md);line-height:1.5}
.od-cert__actions{display:grid;gap:var(--od-space-2)}
.od-cert__hint{color:var(--od-faint);font-size:var(--od-text-xs);line-height:1.4}
.od-cert{gap:var(--od-space-4)}
.od-cert .od-report__brand{margin-bottom:0}
.od-cert__title h1{margin:0 0 var(--od-space-1);font-size:var(--od-title-md)}
.od-cert__title p{margin:0;color:var(--od-muted);font-size:var(--od-text-md)}
.od-cert__section{break-inside:avoid}
.od-cert__section>.od-label{margin:0 0 var(--od-space-2);padding-bottom:var(--od-space-1);border-bottom:1px solid var(--od-line)}
.od-cert__rows{display:grid;gap:var(--od-space-2);margin:0}
.od-cert__rows>div{display:grid;grid-template-columns:1.9in minmax(0,1fr);gap:var(--od-space-3)}
.od-cert__rows dt{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-cert__rows dd{display:grid;gap:2px;margin:0;font-size:var(--od-text-md)}
.od-cert__mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--od-text-xs);word-break:break-all;color:var(--od-muted)}
.od-cert__rows .od-cert__mono{font-size:var(--od-text-xs)}
dd.od-cert__mono{color:var(--od-ink)}
.od-cert__consent{margin:var(--od-space-3) 0 0;padding:var(--od-space-2) var(--od-space-3);border-left:3px solid var(--od-line);color:var(--od-ink);font-size:var(--od-text-sm);line-height:1.5}
.od-cert__note{margin:0 0 var(--od-space-3);color:var(--od-muted);font-size:var(--od-text-sm);line-height:1.5}
.od-cert__timeline{display:grid;gap:var(--od-space-2);margin:0;padding:0;list-style:none}
.od-cert__timeline li{display:grid;grid-template-columns:1.9in minmax(0,1fr);gap:var(--od-space-3);font-size:var(--od-text-md)}
.od-cert__timeline span{color:var(--od-muted)}
@media print{
  @page{size:letter;margin:0}
  body.report-open>*:not(#od-photo-report):not(#od-signature-certificate){display:none!important}
  body.report-open{overflow:visible!important;padding:0!important;background:#fff!important}
  :is(#od-photo-report,#od-signature-certificate) .od-report{position:static;display:block;background:none}
  .od-report__settings,.od-report__reorder{display:none!important}
  .od-report__preview{display:block;padding:0;overflow:visible}
  .od-report__sheet{width:auto;min-height:11in;box-shadow:none;break-after:page}
  .od-report__sheet:last-child{break-after:auto}
}
/* Popover: a small panel anchored under the control that opens it (wrap both in a position:relative box) */
/* Address search suggestions (Google Places) under an address field */
:is(label,.ec-field,.co-field,div):has(> [data-address-search]){position:relative}
.od-suggest{position:absolute;top:100%;right:0;left:0;z-index:30;margin-top:4px;border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-surface);box-shadow:var(--od-shadow-md);overflow:hidden}
.od-suggest__item{display:grid;gap:1px;padding:var(--od-space-2) var(--od-space-3);cursor:pointer}
.od-suggest__item b{color:var(--od-ink);font-size:var(--od-text-md);font-weight:600}
.od-suggest__item small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-suggest__item[aria-selected="true"],.od-suggest__item:hover{background:var(--od-blue-soft)}
.od-suggest__credit{margin:0;padding:4px var(--od-space-3);border-top:1px solid var(--od-line);color:var(--od-faint);font-size:var(--od-text-xs);text-align:right}
/* Street View preview after picking an address */
.od-streetview{display:grid;gap:4px;margin:var(--od-space-2) 0 var(--od-space-3)}
.od-streetview__frame{position:relative;display:block;width:100%;aspect-ratio:16/7;padding:0;border:0;border-radius:var(--od-radius-md);overflow:hidden;background:var(--od-soft);cursor:pointer}
.od-streetview__frame.is-loading{animation:od-pulse 1.2s ease-in-out infinite alternate}
.od-streetview__frame img{display:block;width:100%;height:100%;object-fit:cover}
.od-streetview__frame:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-streetview__hint{position:absolute;right:var(--od-space-2);bottom:var(--od-space-2);padding:4px 10px;border-radius:var(--od-radius-pill);background:var(--od-scrim);color:#fff;font-size:var(--od-text-xs);font-weight:700}
.od-streetview__note,.od-streetview__none{margin:0;color:var(--od-muted);font-size:var(--od-text-sm)}
@keyframes od-pulse{to{opacity:.5}}
/* Property card: Street View, address and Google Maps links on customer and job pages */
.od-property{display:grid;grid-template-columns:240px minmax(0,1fr);gap:var(--od-space-4);align-items:center;margin:var(--od-space-4) 0;padding:var(--od-space-3);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface)}
.od-property__media{position:relative;display:block;aspect-ratio:8/5;padding:0;border:0;border-radius:var(--od-radius-md);overflow:hidden;background:var(--od-soft);cursor:pointer}
.od-property__media.is-loading{animation:od-pulse 1.2s ease-in-out infinite alternate}
.od-property__media img{display:block;width:100%;height:100%;object-fit:cover}
.od-property__media:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-property__body{display:grid;gap:6px;min-width:0}
.od-property__body>b{font-size:var(--od-text-lg)}
.od-property__body>small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-property__body>small:empty{display:none}
.od-property__links{display:flex;flex-wrap:wrap;gap:var(--od-space-2)}
.od-property:has(> .od-property__body:only-child){grid-template-columns:1fr}
/* Maps with pins */
.od-map{position:relative;height:min(68vh,620px);min-height:360px;border:1px solid var(--od-line);border-radius:var(--od-radius-lg);overflow:hidden;background:var(--od-soft)}
.od-map__status{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:var(--od-space-5);color:var(--od-muted);font-size:var(--od-text-md);text-align:center}
.od-map__status--error{z-index:2;background:var(--od-soft);color:var(--od-ink)}
.od-mapcard{display:grid;gap:4px;max-width:240px;font-family:inherit}
.od-mapcard img{width:100%;aspect-ratio:16/10;border-radius:var(--od-radius-sm);object-fit:cover}
.od-mapcard b{font-size:var(--od-text-md)}
.od-mapcard small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-mapcard .od-btn{justify-self:start;margin-top:4px}
/* Pins sit on map markers, which place them with transform: never set transform on a pin itself.
   A pin's bottom (the tip of its tail) is the exact spot. */
.od-map.is-ready{animation:od-map-in .35s ease-out}
@keyframes od-map-in{from{opacity:0}to{opacity:1}}
.od-mappin{display:grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border:3px solid var(--od-surface);border-radius:var(--od-radius-pill);background:var(--od-muted);color:var(--od-surface);font-size:var(--od-text-xs);font-weight:700;box-shadow:var(--od-shadow-md);cursor:pointer}
.od-mappin--blue{background:var(--od-blue)}.od-mappin--green{background:var(--od-green)}.od-mappin--amber{background:var(--od-amber)}.od-mappin--red{background:var(--od-red)}
.od-mappin-photo{position:relative;width:60px;height:70px;cursor:pointer;filter:drop-shadow(0 1px 2px var(--od-scrim)) drop-shadow(0 4px 12px var(--od-scrim))}
.od-mappin-photo::after{content:"";position:absolute;left:50%;bottom:0;width:14px;height:12px;margin-left:-7px;background:var(--od-surface);clip-path:polygon(0 0,100% 0,50% 85%)}
.od-mappin-photo__img{position:absolute;inset:0 0 10px;display:block;overflow:hidden;border:3px solid var(--od-surface);border-radius:var(--od-radius-lg);background:var(--od-soft)}
.od-mappin-photo__img img{display:block;width:100%;height:100%;object-fit:cover}
.od-mappin-photo--job{width:72px;height:82px}
.od-mappin-photo__label{position:absolute;top:calc(100% + 4px);left:50%;max-width:160px;padding:2px 8px;overflow:hidden;border-radius:var(--od-radius-pill);background:var(--od-surface);color:var(--od-ink);font-size:var(--od-text-xs);font-weight:700;white-space:nowrap;text-overflow:ellipsis;translate:-50% 0;pointer-events:none}
.od-mappin-photo--stack .od-mappin-photo__img{box-shadow:5px -5px 0 -1px var(--od-surface),5px -5px 0 0 var(--od-line-strong)}
.od-mappin-photo__count{position:absolute;top:-8px;right:-8px;z-index:1;display:grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:var(--od-radius-pill);background:var(--od-ink);color:var(--od-surface);font-size:var(--od-text-xs);font-weight:700}
.od-mappin.is-active,.od-mappin-photo.is-active{z-index:3}
.od-mappin-photo.is-active .od-mappin-photo__img,.od-mappin-photo:hover .od-mappin-photo__img{border-color:var(--od-blue)}
.od-mappin-photo.is-active::after,.od-mappin-photo:hover::after{background:var(--od-blue)}
.od-mappin.is-active,.od-mappin:hover{outline:3px solid var(--od-focus);outline-offset:2px}
.od-mappin:focus-visible,.od-mappin-photo:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px;border-radius:var(--od-radius-lg)}
.od-map .maplibregl-popup-content{padding:var(--od-space-3);border-radius:var(--od-radius-lg);box-shadow:var(--od-shadow-md);font-family:var(--od-font)}
.od-map .maplibregl-popup-close-button{width:28px;height:28px;font-size:var(--od-text-lg);color:var(--od-muted)}
.od-map .maplibregl-ctrl-group{border-radius:var(--od-radius-md);box-shadow:var(--od-shadow-sm)}
.od-mapcard--float{position:absolute;left:var(--od-space-4);bottom:var(--od-space-4);z-index:2;padding:var(--od-space-3);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:var(--od-shadow-md)}
/* Controls that float on a map (a Map / Satellite switch, Show all, zoom) are frosted: the map shows through, blurred. */
.od-seg--float,.od-btn--float,.od-mapzoom{border:1px solid color-mix(in srgb,var(--od-line) 70%,transparent);background:color-mix(in srgb,var(--od-surface) 76%,transparent);box-shadow:var(--od-shadow-md);-webkit-backdrop-filter:blur(20px) saturate(1.8);backdrop-filter:blur(20px) saturate(1.8)}
.od-seg--float button[aria-pressed="true"]{background:var(--od-surface)}
.od-mapzoom{position:absolute;right:var(--od-space-3);bottom:var(--od-space-6);z-index:2;display:grid;overflow:hidden;border-radius:var(--od-radius-md)}
.od-mapzoom button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;background:none;color:var(--od-ink);cursor:pointer}
.od-mapzoom button+button{border-top:1px solid var(--od-line)}
.od-mapzoom button:hover{background:var(--od-hover)}
.od-mapzoom svg{width:18px;height:18px}
.od-viewer__stage--full{padding:56px 0 0}
.od-streetview-pano{width:100%;height:100%}
#od-streetview .od-viewer{grid-template-columns:1fr;z-index:95}
@media(max-width:760px){
  .od-photo-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
  .od-photo-tile__meta{padding-right:6px}.od-photo-tile__meta svg{display:none}
  .od-viewer{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}
  .od-viewer__stage{padding:56px var(--od-space-2) var(--od-space-3)}
  .od-viewer__prev,.od-viewer__next{top:auto;bottom:var(--od-space-3);transform:none}
  .od-viewer__panel{max-height:42vh;padding:var(--od-space-4)}
  .od-viewer__close--stage{display:inline-grid}.od-viewer__panelclose{display:none}
  .od-viewer__frame>img{max-height:calc(58vh - 120px)}
  .od-viewer__strip{display:none}
  .od-viewer__stage{padding-bottom:var(--od-space-3)}
  .od-markbar{bottom:var(--od-space-2)}
  .od-selectbar{width:100%;border-radius:var(--od-radius-md)}
  .od-uploadtray{right:var(--od-space-2);bottom:var(--od-space-2)}
  .od-compare-side{grid-template-columns:1fr}
  .od-report{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .od-report__settings{max-height:45vh;border-right:0;border-bottom:1px solid var(--od-line)}
  .od-report__preview{padding:var(--od-space-4)}
  .od-report__sheet{width:100%;min-height:0;padding:var(--od-space-5)}
  .od-property{grid-template-columns:1fr}
  .od-map{height:60vh;min-height:300px}
}

/* /styleguide page layout only */
.sg{max-width:960px;margin:0 auto;padding:var(--od-space-6) 0 64px;color:var(--od-ink)}
.sg-intro{margin-bottom:var(--od-space-6)}.sg-intro h1{font-size:var(--od-title-lg);margin:0 0 var(--od-space-2)}.sg-intro p{color:var(--od-muted);max-width:640px;margin:0}
.sg-section{padding:var(--od-space-5) 0;border-top:1px solid var(--od-line)}
.sg-head h2{font-size:var(--od-title-sm);margin:0 0 4px}.sg-head p{margin:0 0 var(--od-space-4);color:var(--od-muted);font-size:var(--od-text-md);max-width:720px}
.sg-demo{display:grid;gap:var(--od-space-3)}
.sg-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2)}.sg-grow>*{flex:1 1 220px}
.sg-code{margin:var(--od-space-3) 0 0;padding:10px 12px;border-radius:var(--od-radius-md);background:var(--od-soft);color:var(--od-muted);font:12px/1.5 ui-monospace,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.sg-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--od-space-3)}
.sg-swatch{display:grid;gap:2px;font-size:var(--od-text-xs)}.sg-swatch span{height:44px;border-radius:var(--od-radius-md);border:1px solid var(--od-line)}.sg-swatch small{color:var(--od-muted)}
.sg-type{display:grid;gap:var(--od-space-2)}.sg-type>div{display:flex;justify-content:space-between;align-items:baseline;gap:var(--od-space-4);border-bottom:1px dashed var(--od-line);padding-bottom:6px}.sg-type code{color:var(--od-faint);font-size:var(--od-text-xs)}
.sg-space{display:inline-block;height:24px;background:var(--od-blue-soft);border:1px solid #c7d3ff;border-radius:3px}
.sg-card{display:grid;gap:var(--od-space-2);max-width:420px}.sg-big{font-size:var(--od-title-md)}
.sg-look{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2) var(--od-space-3);margin-top:var(--od-space-4)}.sg-look .od-label{margin:0}
.sg.od-console{padding-left:var(--od-space-5);padding-right:var(--od-space-5);border-radius:var(--od-radius-lg);background:var(--od-canvas)}
.sg-split{display:grid;gap:var(--od-space-5)}.sg-split>div{min-width:0}
.sg-phone{width:100%;max-width:375px;padding:var(--od-space-2) var(--od-space-4);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface)}
@media(max-width:700px){.sg{padding:var(--od-space-5) 0}}

/* Site tiles: one card per job or estimate with a Street View photo of the address. */
.od-sitegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:var(--od-space-4)}
.od-sitetile{display:grid;grid-template-rows:auto 1fr;min-width:0;overflow:hidden;border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);text-decoration:none;box-shadow:var(--od-shadow-sm);transition:box-shadow .15s,transform .15s,border-color .15s}
.od-sitetile:hover{border-color:var(--od-line-strong);box-shadow:var(--od-shadow-md);transform:translateY(-2px)}
.od-sitetile:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-sitetile[hidden]{display:none}
.od-sitetile__media{position:relative;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(135deg,var(--od-blue-soft),var(--od-soft) 70%)}
.od-sitetile__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.od-sitetile:hover .od-sitetile__media img{transform:scale(1.03)}
.od-sitetile__empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:var(--od-space-1);color:var(--od-muted);font-size:var(--od-text-sm);font-weight:600}
.od-sitetile__empty svg{width:26px;height:26px;color:var(--od-blue)}
.od-sitetile__media .od-badge{position:absolute;top:var(--od-space-3);left:var(--od-space-3);box-shadow:var(--od-shadow-sm)}
.od-sitetile__media .od-badge:not([class*="od-badge--"]){background:var(--od-surface);color:var(--od-ink)}
.od-sitetile__body{display:grid;align-content:start;gap:2px;min-width:0;padding:var(--od-space-3) var(--od-space-4) var(--od-space-4)}
.od-sitetile__body b{overflow:hidden;font-size:var(--od-text-lg);font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.od-sitetile__body small{overflow:hidden;color:var(--od-muted);font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-sitetile__foot{display:flex;align-items:baseline;justify-content:space-between;gap:var(--od-space-2);margin-top:var(--od-space-2)}
.od-sitetile__foot strong{font-size:var(--od-text-lg);font-weight:700;font-variant-numeric:tabular-nums}
.od-sitetile__foot span{color:var(--od-faint);font-size:var(--od-text-xs)}
@media(max-width:560px){.od-sitegrid{grid-template-columns:minmax(0,1fr)}}

/* Loading outline: the app's shape, shown from the first paint until the workspace is ready. */
.od-boot{display:grid;grid-template-columns:240px minmax(0,1fr);gap:var(--od-space-6);min-height:100vh;padding:var(--od-space-3);box-sizing:border-box;background:var(--od-canvas)}
.od-boot__side{display:flex;flex-direction:column;gap:var(--od-space-3);padding:var(--od-space-4);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface)}
.od-boot__main{display:flex;flex-direction:column;gap:var(--od-space-4);max-width:860px;width:100%;margin:56px auto 0}
.od-boot span,.od-boot__card{display:block;border-radius:var(--od-radius-sm);background:linear-gradient(90deg,var(--od-soft) 25%,var(--od-line) 50%,var(--od-soft) 75%);background-size:200% 100%;animation:od-boot 1.4s ease-in-out infinite}
.od-boot__side span{height:14px;width:70%}
.od-boot__side .od-boot__logo{height:22px;width:60%;margin-bottom:var(--od-space-3)}
.od-boot__side .od-boot__btn{height:36px;width:100%;margin-bottom:var(--od-space-3);border-radius:var(--od-radius-md)}
.od-boot__title{height:30px;width:220px}
.od-boot__line{height:14px;width:320px;max-width:80%}
.od-boot__card{height:180px;border-radius:var(--od-radius-lg)}
.od-boot__card.is-short{height:120px}
@keyframes od-boot{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.od-boot span,.od-boot__card{animation:none}}
@media(max-width:700px){.od-boot{grid-template-columns:minmax(0,1fr)}.od-boot__side{display:none}.od-boot__main{margin-top:var(--od-space-5)}}

/* Dialog: one focused task over the page, like cropping a photo. A native <dialog> opened with showModal(). */
.od-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-md)}
.od-dialog::backdrop{background:rgba(16,24,40,.45)}
.od-dialog-body{display:flex;flex-direction:column;gap:var(--od-space-4);padding:var(--od-space-5)}
.od-dialog-head h2{margin:0;font-size:var(--od-title-sm)}
.od-dialog-head p{margin:var(--od-space-1) 0 0;color:var(--od-muted);font-size:var(--od-text-md)}
.od-dialog-foot{display:flex;justify-content:flex-end;gap:var(--od-space-2)}
/* Photo crop: a square stage you drag and zoom; the round guide shows a headshot as proposals show it. */
.od-crop{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:var(--od-radius-md);background:var(--od-soft);cursor:grab;touch-action:none;user-select:none}
.od-crop:active{cursor:grabbing}
.od-crop:focus-visible{outline:2px solid var(--od-blue);outline-offset:2px}
.od-crop canvas{display:block;width:100%;height:100%}
.od-crop-guide{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.od-crop.is-round .od-crop-guide{inset:4%;border-radius:50%;box-shadow:0 0 0 999px rgba(16,24,40,.45),inset 0 0 0 2px rgba(255,255,255,.85)}
.od-crop-tools{display:flex;align-items:center;gap:var(--od-space-2)}
.od-crop-zoom{flex:1;display:flex;align-items:center;gap:var(--od-space-3)}
.od-crop-zoom .od-label{margin:0}
.od-crop-zoom input{flex:1;accent-color:var(--od-blue)}
@media (max-width:520px){.od-dialog{width:100vw;max-width:100vw;max-height:100dvh;border-radius:var(--od-radius-lg) var(--od-radius-lg) 0 0;margin:auto auto 0}.od-dialog-body{padding:var(--od-space-4)}.od-dialog-foot .od-btn{flex:1}}

/* Public information pages: product, support and policies share this frame. */
.od-public{margin:0;background:var(--od-canvas);color:var(--od-ink);font-family:Manrope,system-ui,sans-serif;font-size:var(--od-text-lg);line-height:1.65}
.od-public-frame{width:min(100% - var(--od-space-6) * 2,52rem);margin:0 auto;padding:var(--od-space-6) 0}
.od-public-header,.od-public-nav,.od-public-footer{display:flex;align-items:center;flex-wrap:wrap;gap:var(--od-space-3) var(--od-space-5)}
.od-public-header{justify-content:space-between;margin-bottom:var(--od-space-6)}
.od-public-brand{color:var(--od-ink);font-size:var(--od-title-md);font-weight:700;text-decoration:none}
.od-public h1{font-size:var(--od-title-lg);line-height:1.25;margin:var(--od-space-2) 0 var(--od-space-4)}
.od-public h2{font-size:var(--od-title-sm);line-height:1.35;margin:var(--od-space-6) 0 var(--od-space-2)}
.od-public p,.od-public ul,.od-public ol{margin:0 0 var(--od-space-4)}
.od-public li+li{margin-top:var(--od-space-2)}
.od-public a:not(.od-btn):not(.od-public-brand){color:var(--od-blue);text-underline-offset:3px}
.od-public-muted{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-public-footer{margin-top:var(--od-space-6);padding-top:var(--od-space-5);border-top:1px solid var(--od-line);font-size:var(--od-text-sm)}
@media(max-width:600px){.od-public-frame{width:calc(100% - var(--od-space-4) * 2);padding:var(--od-space-5) 0}.od-public .od-card{padding:var(--od-space-4)}}

/* Email review: sandboxed preview of the actual outgoing HTML. */
.od-email-preview{display:block;width:100%;height:860px;margin:var(--od-space-5) auto 0;border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-canvas)}
.od-email-preview--mobile{max-width:375px}

/* Send: the one compose piece for anything sent to another person (proposal, price request, photos, invitation).
   Built by OwnerDaySend.compose() in send.js. To · Send by · extra rows · Subject (email only) · Message · Preview. */
.od-send{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--od-space-3)}
.od-send-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:var(--od-space-3)}
.od-send-label{color:var(--od-muted);font-size:var(--od-text-sm);font-weight:600}
.od-send-to{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2);min-height:var(--od-control-md);padding:var(--od-space-1) var(--od-space-2);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface)}
.od-send-to:focus-within{border-color:var(--od-blue);box-shadow:0 0 0 3px var(--od-blue-soft)}
.od-send-chip{display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-1) var(--od-space-2);min-height:28px;padding:2px var(--od-space-1) 2px var(--od-space-3);border-radius:var(--od-radius-pill);background:var(--od-blue-soft);color:var(--od-ink);font-size:var(--od-text-sm)}
.od-send-chip small{color:var(--od-muted);font-size:var(--od-text-xs)}
.od-send-chip.is-missing{border-radius:var(--od-radius-md);background:var(--od-soft);box-shadow:inset 0 0 0 1px var(--od-line-strong)}
.od-send-detail{width:170px;min-height:26px;padding:0 var(--od-space-2);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-sm);background:var(--od-surface);font:inherit;font-size:var(--od-text-sm)}
.od-send-detail:focus{outline:2px solid var(--od-focus);outline-offset:0;border-color:var(--od-blue)}
.od-send-x{display:inline-grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:var(--od-radius-pill);background:none;color:var(--od-muted);font-size:var(--od-text-lg);line-height:1;cursor:pointer}
.od-send-x:hover{background:var(--od-surface);color:var(--od-ink)}
.od-send-add{flex:1 1 140px;min-width:120px;min-height:28px;padding:0 var(--od-space-1);border:0;background:none;font:inherit;font-size:var(--od-text-md);outline:none}
.od-send-suggest{display:flex;flex-wrap:wrap;gap:var(--od-space-1);margin:calc(var(--od-space-2) * -1) 0 0 calc(76px + var(--od-space-3))}
.od-send-subject{width:100%;min-height:var(--od-control-md);padding:0 var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);font:inherit;font-size:var(--od-text-md)}
.od-send-subject:focus{outline:3px solid var(--od-blue-soft);border-color:var(--od-blue)}
.od-send-body{display:grid;border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface)}
.od-send-body:focus-within{border-color:var(--od-blue);box-shadow:0 0 0 3px var(--od-blue-soft)}
.od-send-greet{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--od-space-2);margin:0;padding:var(--od-space-3) var(--od-space-3) 0;color:var(--od-ink);font-size:var(--od-text-md)}
.od-send-greet small{color:var(--od-faint);font-size:var(--od-text-xs)}
.od-send-body textarea.od-input{min-height:96px;border:0;box-shadow:none;resize:vertical;padding:var(--od-space-2) var(--od-space-3) var(--od-space-3)}
.od-send-body textarea.od-input:focus{outline:none;box-shadow:none}
.od-send-preview{display:grid;gap:var(--od-space-2);padding:var(--od-space-3);border-radius:var(--od-radius-md);background:var(--od-soft)}
.od-send-preview>.od-card{box-shadow:var(--od-shadow-sm)}
.od-send-note{margin:0;color:var(--od-muted);font-size:var(--od-text-sm)}
.od-send-result p{margin:0 0 var(--od-space-3);color:var(--od-muted)}
.od-send-result ul{display:grid;gap:var(--od-space-2);margin:0;padding:0;list-style:none}
.od-send-result li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--od-space-3);padding:var(--od-space-3);border:1px solid var(--od-line);border-left:3px solid var(--od-green);border-radius:var(--od-radius-md)}
.od-send-result li.is-ready{border-left-color:var(--od-blue)}
.od-send-result li.is-failed{border-left-color:var(--od-red)}
.od-send-result li>div:first-child{display:grid;gap:2px}
.od-send-result li small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-send-result-actions{display:flex;flex-wrap:wrap;gap:var(--od-space-2)}
@media (max-width:560px){
  .od-send-row{grid-template-columns:minmax(0,1fr);gap:var(--od-space-1)}
  .od-send-suggest{margin-left:0}
  /* A chip that still needs a phone or email: name and × on top, the box below at full width. */
  .od-send-chip.is-missing{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;padding:var(--od-space-2)}
  .od-send-chip.is-missing>:is(b,small){grid-column:1}
  .od-send-chip.is-missing .od-send-x{grid-column:2;grid-row:1}
  .od-send-chip.is-missing .od-send-detail{grid-column:1/-1;width:100%}
}
/* Send on a page (a proposal): one sheet like an email, a line between rows, borderless fields. */
.od-send--page{gap:0;border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:0 0 0 1px var(--od-line),var(--od-shadow-sm);overflow:hidden}
.od-send--page:focus-within{box-shadow:0 0 0 1px var(--od-line),0 0 0 4px var(--od-blue-soft)}
.od-send--page>.od-send-row{min-height:52px;padding:var(--od-space-2) var(--od-space-5);border-bottom:1px solid var(--od-line);grid-template-columns:64px minmax(0,1fr)}
.od-send--page .od-send-label{color:var(--od-faint);font-weight:500}
.od-send--page .od-send-to{min-height:0;padding:0;border:0;background:none;box-shadow:none}
.od-send--page .od-send-subject{min-height:0;padding:var(--od-space-1) 0;border:0;font-size:var(--od-text-lg)}
.od-send--page .od-send-subject:focus{outline:none}
.od-send--page .od-send-suggest{margin:var(--od-space-2) var(--od-space-5)}
.od-send--page .od-send-body{border:0;border-radius:0;box-shadow:none}
.od-send--page .od-send-body textarea.od-input{min-height:180px;padding:var(--od-space-4) var(--od-space-5) var(--od-space-2);font-size:var(--od-text-lg);line-height:1.55}
.od-send--page .od-send-preview{margin:0 var(--od-space-5) var(--od-space-5);padding:0;background:none}
.od-send--page .od-send-note{padding:0 var(--od-space-5) var(--od-space-4)}
@media (max-width:560px){.od-send--page>.od-send-row{grid-template-columns:56px minmax(0,1fr);gap:var(--od-space-2);padding:var(--od-space-2) var(--od-space-4)}.od-send--page .od-send-body textarea.od-input{padding:var(--od-space-3) var(--od-space-4)}}
.od-send-row>.od-seg,.od-send-row .od-seg{justify-self:start;width:max-content}
.od-send-to>.od-btn--link{margin-left:auto;padding:0 var(--od-space-1)}
/* The To box's suggestions sit right under it (od-suggest), inside dialogs too. */
.od-send-to{position:relative}
.od-send-menu{max-height:264px;overflow-y:auto}
.od-send-menu [data-send-new] b{color:var(--od-blue)}
/* Someone new: a short form in place under To. */
.od-send-new{display:grid;gap:var(--od-space-3);padding:var(--od-space-4);border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-soft)}
.od-send-new-head{display:grid;gap:2px}
.od-send-new-head b{font-size:var(--od-text-lg)}
.od-send-new-head small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-send-new-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--od-space-3)}
.od-send-new-f{display:grid;gap:var(--od-space-1)}
.od-send-new-f.is-wide{grid-column:1/-1}
.od-send-new-f .od-input{width:100%}
.od-send-new-f textarea.od-input{min-height:64px;padding:var(--od-space-2) var(--od-space-3);resize:vertical}
.od-send-new-error{margin:0;color:var(--od-red);font-size:var(--od-text-sm)}
.od-send-new-actions{display:flex;justify-content:flex-end;gap:var(--od-space-2)}
@media (max-width:560px){.od-send-new-grid{grid-template-columns:1fr}}
.od-send-to-col{display:grid;gap:var(--od-space-2);min-width:0}
.od-send-row--to:has(.od-send-new) .od-send-label{align-self:start;padding-top:var(--od-space-3)}

/* Data table: many records that share the same columns, like the platform console's lists.
   Column headers that sort are od-sort buttons. od-table--stack turns each row into a
   labelled block on phones (give every cell a data-label, and od-primary to the cell that
   names the record when it isn't the first), so nothing scrolls sideways. */
.od-table-wrap{overflow-x:auto;border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface)}
.od-table{width:100%;border-collapse:collapse;color:var(--od-ink);font-size:var(--od-text-sm)}
.od-table th{padding:var(--od-space-2) var(--od-space-4);border-bottom:1px solid var(--od-line);background:none;color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600;text-align:left;white-space:nowrap}
.od-table td{padding:var(--od-space-3) var(--od-space-4);border-bottom:1px solid var(--od-line);vertical-align:middle}
.od-table tbody tr:last-child td{border-bottom:0}
.od-table tbody tr:hover{background:var(--od-soft)}
.od-table td b{display:block;font-weight:600;font-size:var(--od-text-md)}
.od-table td small{display:block;color:var(--od-muted);font-size:var(--od-text-xs)}
.od-table .od-num{text-align:right;font-variant-numeric:tabular-nums}
.od-sort{display:inline-flex;align-items:center;gap:var(--od-space-1);padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}
.od-sort:hover,.od-sort[aria-pressed="true"]{color:var(--od-ink)}
.od-sort:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-sort svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.od-sort[aria-pressed="true"] svg{opacity:1}
@media(max-width:720px){
  .od-table--stack,.od-table--stack tbody{display:block}
  .od-table--stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .od-table--stack tr{display:block;padding:var(--od-space-3) var(--od-space-4);border-bottom:1px solid var(--od-line)}
  .od-table--stack tbody tr:last-child{border-bottom:0}
  .od-table--stack td{display:flex;justify-content:space-between;align-items:baseline;gap:var(--od-space-4);padding:var(--od-space-1) 0;border:0;text-align:right}
  .od-table--stack td::before{content:attr(data-label);flex:none;color:var(--od-muted);font-size:var(--od-text-xs);font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-align:left}
  .od-table--stack td>*{min-width:0;overflow-wrap:anywhere}
  .od-table--stack td:first-child,.od-table--stack td.od-primary,.od-table--stack td[data-label=""]{display:block;text-align:left}
  .od-table--stack td:first-child::before,.od-table--stack td.od-primary::before,.od-table--stack td[data-label=""]::before{content:none}
}
/* Stat tiles: a row of headline numbers, each with a label above and one quiet line below. */
.od-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--od-space-3)}
.od-stat{display:flex;flex-direction:column;gap:var(--od-space-1);padding:var(--od-space-4);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);text-decoration:none}
a.od-stat:hover{border-color:var(--od-line-strong)}
a.od-stat:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-stat b{font-size:var(--od-title-md);font-weight:500;line-height:1.2;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.od-stat small{color:var(--od-muted);font-size:var(--od-text-xs)}

/* Live change cue: a saved change from an AI assistant or another device lands on screen.
   Only the changed value or new line is marked: a soft blue tint that holds, then fades out.
   live-updates.js sets the classes and --live-age / --live-duration, so a rerender keeps the timing. */
.ownerday-live-field:not(:focus){border-radius:var(--od-radius-sm);animation:od-live-value var(--live-duration,7000ms) ease-out both;animation-delay:var(--live-age,0ms)}
@keyframes od-live-value{0%,45%{background-color:var(--od-blue-soft);box-shadow:0 2px 0 var(--od-focus)}100%{background-color:transparent;box-shadow:0 2px 0 transparent}}
:is(input,textarea).ownerday-live-field:not(:focus){animation-name:od-live-input}
@keyframes od-live-input{0%,45%{background-color:var(--od-blue-soft)}100%{background-color:transparent}}
tr.ownerday-live-new{animation:od-live-enter 400ms ease-out both;animation-delay:var(--live-age,0ms)}
li.ownerday-live-new,.cl-ws-row.ownerday-live-new{animation:od-live-enter 400ms ease-out,od-live-row-edge var(--live-duration,7000ms) ease-out both;animation-delay:var(--live-age,0ms)}
li.ownerday-live-updated,.cl-ws-row.ownerday-live-updated{animation:od-live-row var(--live-duration,7000ms) ease-out both;animation-delay:var(--live-age,0ms)}
tr.ownerday-live-new>td{animation:od-live-row var(--live-duration,7000ms) ease-out both;animation-delay:var(--live-age,0ms)}
tr.ownerday-live-new>td:first-child{animation-name:od-live-row-edge}
@keyframes od-live-enter{from{opacity:.2;transform:translateY(-3px)}to{opacity:1;transform:none}}
@keyframes od-live-row{0%,45%{background-color:var(--od-blue-soft)}100%{background-color:transparent}}
@keyframes od-live-row-edge{0%,45%{background-color:var(--od-blue-soft);box-shadow:inset 3px 0 var(--od-blue)}100%{background-color:transparent;box-shadow:inset 3px 0 transparent}}
.od-live-note{display:inline-block;color:var(--od-blue);font-size:var(--od-text-xs);font-weight:600;white-space:nowrap;animation:od-live-note var(--live-duration,7000ms) ease-out both;animation-delay:var(--live-age,0ms)}
@keyframes od-live-note{0%,70%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){
 .ownerday-live-field:not(:focus),tr.ownerday-live-new,tr.ownerday-live-new>td,li.ownerday-live-new,li.ownerday-live-updated,.cl-ws-row.ownerday-live-new,.cl-ws-row.ownerday-live-updated,.od-live-note{animation:none!important}
 .ownerday-live-field:not(:focus),tr.ownerday-live-new>td,li.ownerday-live-new,li.ownerday-live-updated,.cl-ws-row.ownerday-live-new,.cl-ws-row.ownerday-live-updated{background-color:var(--od-blue-soft)}
 tr.ownerday-live-new>td:first-child,li.ownerday-live-new,.cl-ws-row.ownerday-live-new{box-shadow:inset 3px 0 var(--od-blue)}
}
@media print{.ownerday-live-field,tr.ownerday-live-new,tr.ownerday-live-new>td,li.ownerday-live-new,li.ownerday-live-updated,.cl-ws-row.ownerday-live-new,.cl-ws-row.ownerday-live-updated{animation:none!important;box-shadow:none!important;background:transparent!important}.od-live-note{display:none!important}}

/* Upsell: the page a tab shows when its add-on is off (Photos, AI assistants). What it does, the price, one main action. */
.od-upsell{max-width:1080px;margin:0 auto;padding-bottom:var(--od-space-6)}
.od-upsell-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:var(--od-space-6);align-items:center;margin:var(--od-space-5) 0 var(--od-space-6)}
.od-upsell-copy{display:flex;flex-direction:column;align-items:flex-start;gap:var(--od-space-3)}
.od-upsell-copy .od-label{margin:0;color:var(--od-blue)}
.od-upsell h1{margin:0;font-size:calc(var(--od-title-lg) * 1.2);line-height:1.15;letter-spacing:-.5px}
.od-upsell-lead{margin:0;color:var(--od-muted);font-size:var(--od-text-lg);line-height:1.55}
.od-upsell-price{margin:var(--od-space-2) 0 0;color:var(--od-muted);font-size:var(--od-text-md)}
.od-upsell-price b{color:var(--od-ink);font-size:var(--od-title-md);margin-right:4px}
.od-upsell-fine{margin:0;color:var(--od-muted);font-size:var(--od-text-sm)}
.od-upsell-section{margin-top:var(--od-space-6)}
.od-upsell-section>h2{margin:0 0 var(--od-space-4);font-size:var(--od-title-md)}
.od-upsell-points{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--od-space-4)}
.od-upsell-points li{display:flex;flex-direction:column;gap:var(--od-space-2);padding:var(--od-space-5)}
.od-upsell-points p{margin:0;color:var(--od-muted);font-size:var(--od-text-md);line-height:1.5}
.od-upsell-icon{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:var(--od-radius-md);background:var(--od-blue-soft);color:var(--od-blue)}
.od-upsell-icon svg{width:18px;height:18px}
.od-upsell-close{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--od-space-4);padding:var(--od-space-5)}
.od-upsell-close h2{margin:0 0 var(--od-space-1);font-size:var(--od-title-sm)}
.od-upsell-close p{margin:0;max-width:560px;color:var(--od-muted);font-size:var(--od-text-md)}
@media(max-width:900px){.od-upsell-hero{grid-template-columns:1fr}.od-upsell-points{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.od-upsell-points{grid-template-columns:1fr}.od-upsell h1{font-size:var(--od-title-lg)}.od-upsell-close .od-btn{width:100%}}
.od-upsell-cost{list-style:none;margin:0 0 var(--od-space-2);padding:var(--od-space-4) var(--od-space-5);max-width:560px;display:flex;flex-direction:column;gap:var(--od-space-2);font-size:var(--od-text-md)}
.od-upsell-cost li{display:flex;justify-content:space-between;align-items:baseline;gap:var(--od-space-4)}
.od-upsell-cost li span{color:var(--od-muted)}
.od-upsell-cost li b{white-space:nowrap}
.od-upsell-cost li:last-child{padding-top:var(--od-space-2);border-top:1px solid var(--od-line)}
.od-upsell-cost li:last-child span{color:var(--od-ink);font-weight:600}

/* Setup guide: a short checklist that floats bottom-right on a desktop until it's done or put off.
   Title, progress, one line on what's left, then the next step and "later". In the page flow on phones. */
.od-guide{position:fixed;right:var(--od-space-5);bottom:var(--od-space-5);z-index:35;display:grid;gap:var(--od-space-3);width:340px;padding:var(--od-space-4);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:var(--od-shadow-md);color:var(--od-text);font-size:var(--od-text-sm);line-height:1.45}
.od-guide__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--od-space-3)}
.od-guide__head b{color:var(--od-ink);font-size:var(--od-text-md);font-weight:600}
.od-guide__head span{flex:none;color:var(--od-faint);font-size:var(--od-text-xs)}
.od-guide .od-progress{height:4px}
.od-guide p{margin:0}
.od-guide__actions{display:flex;justify-content:space-between;gap:var(--od-space-2)}
@media(max-width:700px){.od-guide{position:static;width:auto;margin:0 0 var(--od-space-5);box-shadow:inset 0 0 0 1px var(--od-line)}}

/* Page head: the big title of a page over a thin rule, a quiet line under it, and the page's one main button on the right. */
.od-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--od-space-4);flex-wrap:wrap;margin:0 0 var(--od-space-5);padding-bottom:var(--od-space-4);border-bottom:1px solid var(--od-line)}
.od-page-head h1{margin:0;color:var(--od-ink);font-size:var(--od-title-lg);font-weight:700;letter-spacing:-.01em;line-height:1.2}
.od-page-head p{margin:var(--od-space-1) 0 0;color:var(--od-muted);font-size:var(--od-text-md)}

/* Details column: key facts of one record (a job, a customer) in a narrow column on the right of its page.
   A title, then label-over-value rows split by thin lines. */
.od-details{display:grid;align-content:start;gap:0}
.od-details>h2{margin:0 0 var(--od-space-2);color:var(--od-ink);font-size:var(--od-text-lg);font-weight:700}
.od-details>div{padding:var(--od-space-3) 0;border-top:1px solid var(--od-line)}
.od-details>div:first-of-type{border-top:0;padding-top:0}

/* Older screens, drawn with the kit's tokens until their markup moves onto kit classes.
   (workspace.css loads first, so these win.) */
.od-app{background:var(--od-canvas);color:var(--od-text)}
.od-app .utility-bar{height:60px;padding:0 40px;background:var(--od-surface);border-bottom:0;gap:var(--od-space-3)}
.od-app .global-search{width:min(420px,100%);height:34px;border:0;border-radius:var(--od-radius-md);background:var(--od-soft);color:var(--od-faint);font-size:var(--od-text-md);gap:10px}
.od-app .global-search svg{width:16px}
.od-app .global-search kbd{border-color:var(--od-line-strong);color:var(--od-faint);background:var(--od-surface)}
/* Squeezed (a small window, or the task panel open beside the page): the words cut off with "…" on one line. */
.global-search>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-search kbd{flex:none;white-space:nowrap}
.od-app .icon{color:var(--od-muted);border-radius:var(--od-radius-md)}
.od-app .icon:hover{background:var(--od-soft);color:var(--od-ink)}
.od-app main{padding:8px 40px 32px}
.od-app .sample-foot{color:var(--od-faint);font-size:var(--od-text-xs)}
.od-app .page-heading{align-items:flex-end;margin:0 0 var(--od-space-5)}
.od-app .page-heading h1{font-size:var(--od-title-lg);font-weight:700;letter-spacing:-.01em;color:var(--od-ink)}
.od-app .page-heading p{color:var(--od-muted);font-size:var(--od-text-md)}
.od-app .day-date{color:var(--od-muted);font-size:var(--od-text-sm);font-weight:500;letter-spacing:0;text-transform:none}


.od-app .panel-heading{padding:0 0 var(--od-space-3)}
.od-app .panel-heading>h2,.od-app .panel-heading h2{font-size:var(--od-title-md);font-weight:700;color:var(--od-ink)}
.od-app .panel-heading p{color:var(--od-muted)}
.od-app .count{color:var(--od-muted)}
.od-app .recent{margin-top:var(--od-space-6);padding:0}
.od-app .recent .panel-heading{padding-left:0;padding-right:0}
.od-app .action-list,.od-app .waiting{padding:0}
.od-app .record-table th{padding:8px 10px;border-bottom:1px solid var(--od-line);background:none;color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600;letter-spacing:0;text-transform:none}
@media(min-width:701px){
  .od-app .record-table td{padding:11px 10px;border-bottom:1px solid var(--od-line);font-size:var(--od-text-md);color:var(--od-text)}
  .od-app .record-table tr:last-child td{border-bottom:1px solid var(--od-line)}
}
.od-app .record-table tbody tr:hover{background:var(--od-soft)}
.od-app .record-link{color:var(--od-ink);font-weight:600}
.od-app .record-link:hover{color:var(--od-blue)}
.od-app .customer-link{color:var(--od-text);font-weight:400}
.od-app .badge{padding:2px 6px;border-radius:var(--od-radius-sm);background:var(--od-line);color:var(--od-text);font-size:var(--od-text-xs);font-weight:600}
.od-app .badge.sent{background:var(--od-blue-soft);color:var(--od-blue)}
.od-app .badge.accepted{background:var(--od-green-soft);color:var(--od-green)}
.od-app .badge.changes_requested{background:var(--od-amber-soft);color:var(--od-amber)}
.od-app .label{color:var(--od-muted);font-size:var(--od-text-sm);font-weight:500}
@media(max-width:700px){
  .od-app .utility-bar{padding:0 12px}
  .od-app main{padding:8px 16px 24px}
  .od-app .page-heading h1,.od-app .job-hub-title h1,.od-app .cl-jobs-head h1{font-size:var(--od-title-md)}
  .od-app .record-table tr{border-color:var(--od-line)}
}

/* Focused layout for setup: the page gets the whole screen. A thin bar holds the logo and one way out
   (Sign out, or Go to your workspace); no sidebar, search or notifications. */
.od-focus{min-height:100vh;background:var(--od-canvas)}
.od-focus__bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-3);min-height:60px;padding:0 var(--od-space-5);background:var(--od-surface);border-bottom:1px solid var(--od-line)}
.od-focus__brand{display:inline-flex;align-items:center}
.od-focus__brand .ownerday-logo{width:auto;height:22px}
.od-focus__out{display:flex;align-items:center;gap:var(--od-space-3)}
.od-focus__who{color:var(--od-muted);font-size:var(--od-text-sm)}
@media (max-width:560px){.od-focus__who{display:none}.od-focus__bar{padding:0 var(--od-space-4)}}

/* Guided first estimate (first-estimate.js). Welcome and finish fill the screen (od-coach--modal); each step dims the
   page except the one control to tap (od-coach__ring, a cut-out drawn with a huge shadow, so clicks still reach the
   page) and puts a bubble beside it (od-coach__pop). */
.od-coach{position:fixed;inset:0;z-index:80;pointer-events:none}
.od-coach[hidden]{display:none}
.od-coach__ring{position:fixed;border-radius:var(--od-radius-md);box-shadow:0 0 0 3px var(--od-blue),0 0 0 200vmax var(--od-scrim);transition:top .2s,left .2s,width .2s,height .2s;animation:od-coach-pulse 1.8s ease-in-out infinite}
@keyframes od-coach-pulse{50%{box-shadow:0 0 0 7px var(--od-focus),0 0 0 200vmax var(--od-scrim)}}
.od-coach__pop{position:fixed;display:grid;gap:var(--od-space-2);padding:var(--od-space-4);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-text);box-shadow:var(--od-shadow-md);font-size:var(--od-text-md);line-height:1.45;pointer-events:auto}
.od-coach__pop h2,.od-coach__dialog h2{margin:0;color:var(--od-ink);font-size:var(--od-title-sm);line-height:1.25}
.od-coach__pop p,.od-coach__dialog p{margin:0}
.od-coach__step{display:flex;align-items:center;justify-content:space-between;color:var(--od-faint);font-size:var(--od-text-xs);font-weight:600}
.od-coach__dots{display:inline-flex;gap:4px}
.od-coach__dots span{width:18px;height:4px;border-radius:var(--od-radius-pill);background:var(--od-line)}
.od-coach__dots span.is-on{background:var(--od-blue)}
.od-coach__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2);margin-top:var(--od-space-1)}
.od-coach__skip{margin-left:auto}
.od-coach--modal{display:grid;place-items:center;padding:var(--od-space-4)}
.od-coach__scrim{position:fixed;inset:0;background:var(--od-scrim);pointer-events:auto}
.od-coach__dialog{position:relative;display:grid;gap:var(--od-space-3);width:min(480px,100%);padding:var(--od-space-6);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-text);box-shadow:var(--od-shadow-md);font-size:var(--od-text-md);line-height:1.5;pointer-events:auto}
.od-coach__dialog h2{font-size:var(--od-title-lg)}
.od-coach__dialog .od-coach__actions{margin-top:var(--od-space-2)}
.od-coach__choices{margin-top:var(--od-space-3)}
/* While the estimate fills in, nothing is dimmed: the ring just follows the box being typed into, so the new
   lines read clearly as they go in. */
.od-coach--watch .od-coach__ring{box-shadow:0 0 0 3px var(--od-blue),0 0 0 7px var(--od-focus);animation:none}
/* The first estimate appearing: each line slides in a beat after the one before (first-estimate.js sets the delay). */
.od-reveal{animation:od-reveal .42s ease-out both}
@keyframes od-reveal{from{opacity:0;transform:translateY(10px)}}
@media (prefers-reduced-motion:reduce){.od-reveal{animation:none}}
/* The arrow on a bubble beside its target (side below or above), pointing at what to tap. */
.od-coach__pop[data-side="below"]::before,.od-coach__pop[data-side="above"]::before{content:"";position:absolute;left:var(--od-coach-arrow,50%);width:14px;height:14px;margin-left:-7px;background:var(--od-surface);transform:rotate(45deg)}
.od-coach__pop[data-side="below"]::before{top:-7px}
.od-coach__pop[data-side="above"]::before{bottom:-7px}
/* Docked along the bottom: words on the left, a full-size button on the right. */
.od-coach__pop[data-side="bottom"]{grid-template-columns:minmax(0,1fr) auto;column-gap:var(--od-space-5);align-items:center;padding:var(--od-space-4) var(--od-space-5);border:2px solid var(--od-blue)}
.od-coach__pop[data-side="bottom"]>.od-coach__step{grid-column:1/-1}
.od-coach__pop[data-side="bottom"]>h2,.od-coach__pop[data-side="bottom"]>p{grid-column:1}
.od-coach__pop[data-side="bottom"]>.od-coach__actions{grid-column:2;grid-row:2/4;margin:0;flex-wrap:nowrap}
.od-coach__pop[data-side="bottom"] .od-btn--sm{min-height:var(--od-control-md);padding:0 var(--od-space-4);font-size:var(--od-text-md)}
/* On a phone the bar stays small, so the estimate it's talking about stays in view. */
@media (max-width:560px){.od-coach__pop[data-side="bottom"]{gap:var(--od-space-1);padding:var(--od-space-3) var(--od-space-4)}.od-coach__pop[data-side="bottom"] h2{font-size:var(--od-text-md)}.od-coach__pop[data-side="bottom"] p{font-size:var(--od-text-sm);line-height:1.4}.od-coach__pop[data-side="bottom"] .od-coach__dots{display:none}}
@media (max-width:560px){.od-coach__pop[data-side="bottom"]{grid-template-columns:minmax(0,1fr)}.od-coach__pop[data-side="bottom"]>.od-coach__actions{grid-column:1;grid-row:auto;flex-wrap:wrap}}
.od-coach--sheet::before{content:"";position:fixed;inset:0;background:var(--od-scrim)}
.od-coach__sheet{position:fixed;inset:var(--od-space-5);display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:var(--od-radius-lg);background:var(--od-canvas);box-shadow:var(--od-shadow-md);overflow:hidden;pointer-events:auto}
.od-coach__sheetbar{display:flex;align-items:baseline;justify-content:space-between;gap:var(--od-space-3);padding:var(--od-space-3) var(--od-space-5);border-bottom:1px solid var(--od-line);background:var(--od-surface);color:var(--od-ink);font-size:var(--od-text-md)}
.od-coach__sheetbar span{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-coach__doc{overflow:auto;overscroll-behavior:contain}
.od-coach__doc .p5-bar{display:none}
.od-coach--sheet .od-coach__ring{box-shadow:0 0 0 3px var(--od-blue),0 0 0 8px var(--od-focus);animation:none}
@media (prefers-reduced-motion:reduce){.od-coach__ring{animation:none;transition:none}}
@media (max-width:560px){.od-coach__dialog{padding:var(--od-space-5)}.od-coach__dialog h2{font-size:var(--od-title-md)}.od-coach__sheet{inset:0;border-radius:0}.od-coach__sheetbar span{display:none}}

/* Phones and tablets. iPhone Safari zooms into any field whose text is under 16px and stays zoomed, which throws
   the whole page off, so fields are 16px on touch screens. Taps don't wait to see if they're a double-tap zoom,
   and the text size isn't bumped up when the phone turns sideways. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (pointer:coarse){
 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not(.cl-section-title):not(.cl-group-title),select,textarea{font-size:16px!important}
 a,button,label,input,select,textarea,[role="button"],[role="tab"]{touch-action:manipulation}
}
/* Feedback: a dialog with a voice recorder (od-recorder), a text box and an optional screenshot. Opened with
   OwnerDayFeedback.open() or any button with data-feedback-open. */
.od-feedback{width:min(520px,calc(100vw - 32px))}
.od-feedback [hidden]{display:none}
.od-feedback .od-banner{margin:0}
.od-feedback-kind,.od-feedback-text{display:grid;gap:var(--od-space-2)}
.od-feedback-kind .od-label,.od-feedback-text .od-label{margin:0}
.od-feedback-kind .od-seg{display:flex;flex-wrap:wrap;justify-self:start}
.od-feedback-text textarea.od-input{width:100%;min-height:96px;padding:var(--od-space-2) var(--od-space-3);line-height:1.45;resize:vertical}
.od-feedback-shot{display:flex}
.od-feedback-thumb{display:flex;align-items:center;gap:var(--od-space-3);margin:0}
.od-feedback-thumb img{width:64px;height:64px;object-fit:cover;border:1px solid var(--od-line);border-radius:var(--od-radius-sm)}
.od-feedback-thumb figcaption{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-feedback-fine{margin:0;color:var(--od-muted);font-size:var(--od-text-sm)}
.od-recorder{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--od-space-3)}
.od-recorder__start{display:flex;flex:1 1 100%;align-items:center;gap:var(--od-space-3);min-height:72px;padding:var(--od-space-3) var(--od-space-4);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);font:inherit;text-align:left;cursor:pointer}
.od-recorder__start:hover{border-color:var(--od-blue)}
.od-recorder__start:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-recorder__start svg{flex:none;width:44px;height:44px;padding:11px;border-radius:var(--od-radius-pill);background:var(--od-blue);fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-recorder__start b{display:block;font-size:var(--od-text-lg)}
.od-recorder__start small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-recorder__live{display:flex;align-items:center;gap:var(--od-space-2);font-size:var(--od-text-md)}
.od-recorder__dot{width:10px;height:10px;border-radius:var(--od-radius-pill);background:var(--od-red);animation:od-recording 1.2s ease-in-out infinite}
.od-recorder__done{display:grid;flex:1 1 260px;gap:var(--od-space-1)}
.od-recorder__done .od-label{margin:0}
.od-recorder__done audio{width:100%;height:40px}
.od-recorder__again{display:flex;gap:var(--od-space-2)}
@keyframes od-recording{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.od-recorder__dot{animation:none}}
/* Ask: a small card in the corner that asks one question once, like how a first proposal went. Never a dialog. */
.od-ask{position:fixed;right:var(--od-space-5);bottom:var(--od-space-5);z-index:40;display:grid;gap:var(--od-space-3);width:min(340px,calc(100vw - 32px));padding:var(--od-space-4);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:var(--od-shadow-md);color:var(--od-ink);font-size:var(--od-text-md);line-height:1.5}
.od-ask p{margin:0}
.od-ask__actions{display:flex;gap:var(--od-space-2)}
.od-ask__actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media (max-width:520px){.od-ask{right:var(--od-space-4);bottom:var(--od-space-4);left:var(--od-space-4);width:auto}}

/* ---------- Console (site administration, html.od-console) ----------
   Built the way Vercel builds its dashboard: near-monochrome, hairline borders, the system font, black (or white)
   primary buttons, status as a coloured dot, toasts for "done", and Cmd K for everything. Light by default, dark
   when the computer is dark, or whichever the admin picks (data-theme="light" | "dark"). Only the tokens change;
   every kit component above keeps working. */
.od-console{
  --od-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --od-font-mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  --od-ink:#171717;--od-text:#4d4d4d;--od-muted:#666;--od-faint:#8f8f8f;
  --od-line:#ebebeb;--od-line-strong:#d9d9d9;--od-soft:#f2f2f2;--od-canvas:#fafafa;--od-surface:#fff;
  --od-hover:#0000000d;--od-selected:#00000014;
  --od-blue:#0070f5;--od-blue-dark:#005bd1;--od-blue-soft:#eaf3ff;
  --od-green:#2a7f3a;--od-green-dot:#45a557;--od-green-soft:#e9f8ec;
  --od-amber:#a35200;--od-amber-dot:#f5a524;--od-amber-soft:#fff5e0;
  --od-red:#cb2a2f;--od-red-dot:#e5484d;--od-red-soft:#ffeded;
  --od-focus:#99c2ff;
  --od-radius-sm:6px;--od-radius-md:6px;--od-radius-lg:12px;
  --od-control-md:36px;--od-control-sm:32px;
  --od-shadow-sm:0 1px 2px #00000014;
  --od-shadow-md:0 0 0 1px #00000014,0 4px 8px -4px #0000000a,0 16px 24px -8px #0000000f;
  color-scheme:light;
}
.od-console[data-theme="dark"]{
  --od-ink:#ededed;--od-text:#c7c7c7;--od-muted:#a1a1a1;--od-faint:#8f8f8f;
  --od-line:#1f1f1f;--od-line-strong:#2e2e2e;--od-soft:#1a1a1a;--od-canvas:#000;--od-surface:#0a0a0a;
  --od-hover:#ffffff0f;--od-selected:#ffffff17;
  --od-blue:#52a8ff;--od-blue-dark:#7bbcff;--od-blue-soft:#0f1d33;
  --od-green:#62c073;--od-green-dot:#45a557;--od-green-soft:#0b2211;
  --od-amber:#ffb224;--od-amber-dot:#f5a524;--od-amber-soft:#2a1c05;
  --od-red:#ff6166;--od-red-dot:#e5484d;--od-red-soft:#2a0d0e;
  --od-focus:#2f6fd6;
  --od-shadow-sm:0 1px 2px #00000052;
  --od-shadow-md:0 0 0 1px #ffffff1f,0 8px 24px #000000a3;
  color-scheme:dark;
}
@media (prefers-color-scheme:dark){
  .od-console:not([data-theme="light"]){
    --od-ink:#ededed;--od-text:#c7c7c7;--od-muted:#a1a1a1;--od-faint:#8f8f8f;
    --od-line:#1f1f1f;--od-line-strong:#2e2e2e;--od-soft:#1a1a1a;--od-canvas:#000;--od-surface:#0a0a0a;
    --od-hover:#ffffff0f;--od-selected:#ffffff17;
    --od-blue:#52a8ff;--od-blue-dark:#7bbcff;--od-blue-soft:#0f1d33;
    --od-green:#62c073;--od-green-soft:#0b2211;
    --od-amber:#ffb224;--od-amber-soft:#2a1c05;
    --od-red:#ff6166;--od-red-soft:#2a0d0e;
    --od-focus:#2f6fd6;
    --od-shadow-sm:0 1px 2px #00000052;
    --od-shadow-md:0 0 0 1px #ffffff1f,0 8px 24px #000000a3;
    color-scheme:dark;
  }
}
/* Kit components in the console: quieter, flatter, monochrome. */
.od-console .od-btn{min-height:var(--od-control-sm);padding:0 var(--od-space-3);border-color:var(--od-line-strong);border-radius:var(--od-radius-sm);background:var(--od-surface);color:var(--od-ink);box-shadow:none;font-size:var(--od-text-md);font-weight:500}
.od-console .od-btn:hover{background:var(--od-soft);border-color:var(--od-line-strong)}
.od-console .od-btn--primary{background:var(--od-ink);border-color:var(--od-ink);color:var(--od-surface)}
.od-console .od-btn--primary:hover{background:var(--od-ink);border-color:var(--od-ink);opacity:.86}
.od-console .od-btn--quiet{border-color:transparent;background:transparent;color:var(--od-muted)}
.od-console .od-btn--quiet:hover{background:var(--od-hover);color:var(--od-ink)}
.od-console .od-btn--danger{border-color:var(--od-line-strong);color:var(--od-red)}
.od-console .od-btn--danger:hover{background:var(--od-red-soft);border-color:var(--od-red)}
.od-console .od-btn--sm{min-height:28px;padding:0 10px;font-size:var(--od-text-sm)}
.od-console .od-btn--link{min-height:0;padding:0;border:0;background:none;color:var(--od-blue);font-weight:500}
.od-console .od-btn--link:hover{background:none}
.od-console .od-input,.od-console .od-select{min-height:var(--od-control-sm);border-color:var(--od-line-strong);border-radius:var(--od-radius-sm);background-color:var(--od-surface);color:var(--od-ink)}
.od-console .od-input:focus-visible,.od-console .od-select:focus-visible{outline:0;border-color:var(--od-ink);box-shadow:0 0 0 3px var(--od-selected)}
.od-console .od-card{border-color:var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:none}
.od-console .od-badge{gap:5px;padding:0 8px;min-height:20px;border-radius:var(--od-radius-pill);background:var(--od-soft);color:var(--od-text);font-size:var(--od-text-xs);font-weight:500}
.od-console .od-badge--blue{background:var(--od-blue-soft);color:var(--od-blue)}
.od-console .od-badge--green{background:var(--od-green-soft);color:var(--od-green)}
.od-console .od-badge--amber{background:var(--od-amber-soft);color:var(--od-amber)}
.od-console .od-badge--red{background:var(--od-red-soft);color:var(--od-red)}
.od-console .od-chip{min-height:28px;border-color:var(--od-line-strong);border-radius:var(--od-radius-sm);background:var(--od-surface);color:var(--od-text);font-weight:500}
.od-console .od-chip[aria-pressed="true"]{background:var(--od-ink);border-color:var(--od-ink);color:var(--od-surface)}
.od-console .od-chip[aria-pressed="true"]>span{color:var(--od-surface);opacity:.7}
.od-console .od-seg{padding:2px;border-color:var(--od-line);border-radius:var(--od-radius-sm);background:var(--od-soft)}
.od-console .od-seg>button{min-height:26px;border-radius:4px;font-weight:500}
.od-console .od-seg>button[aria-pressed="true"]{background:var(--od-surface);box-shadow:0 0 0 1px var(--od-line-strong)}
.od-console .od-banner{border-radius:var(--od-radius-md);background:var(--od-surface);box-shadow:inset 0 0 0 1px var(--od-line)}
.od-console .od-banner--blue{background:var(--od-blue-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--od-blue) 25%,transparent)}
.od-console .od-banner--red{background:var(--od-red-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--od-red) 25%,transparent)}
.od-console .od-table-wrap{border-color:var(--od-line);border-radius:var(--od-radius-lg);background:var(--od-surface)}
.od-console .od-table th{height:40px;padding:0 var(--od-space-4);background:var(--od-canvas);color:var(--od-muted);font-size:var(--od-text-sm);font-weight:500}
.od-console .od-table td{padding:10px var(--od-space-4);border-color:var(--od-line);font-size:var(--od-text-md)}
.od-console .od-table tbody tr:hover{background:var(--od-hover)}
.od-console .od-table td b{font-weight:500}
/* In a table, a status reads as a coloured dot and a word, like a deployment's "Ready". */
.od-console .od-table .od-badge{min-height:0;padding:0;background:none;color:var(--od-text);font-size:var(--od-text-md);font-weight:400}
.od-console .od-table .od-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--od-faint)}
.od-console .od-table .od-badge--green::before{background:var(--od-green-dot)}
.od-console .od-table .od-badge--blue::before{background:var(--od-blue)}
.od-console .od-table .od-badge--amber::before{background:var(--od-amber-dot)}
.od-console .od-table .od-badge--red::before{background:var(--od-red-dot)}
.od-console .od-dialog{border-radius:var(--od-radius-lg);box-shadow:var(--od-shadow-md)}
.od-console .od-dialog::backdrop{background:#0000004d;backdrop-filter:blur(2px)}
.od-console .od-label{color:var(--od-muted);font-weight:400}
.od-console .od-count{background:var(--od-soft);color:var(--od-muted);font-weight:500}

/* Status dot: a coloured dot before a word ("● Healthy"). */
.od-dot{display:inline-flex;align-items:center;gap:6px;color:var(--od-text);white-space:nowrap}
.od-dot::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--od-faint)}
.od-dot--green::before{background:var(--od-green-dot,var(--od-green))}
.od-dot--blue::before{background:var(--od-blue)}
.od-dot--amber::before{background:var(--od-amber-dot,var(--od-amber))}
.od-dot--red::before{background:var(--od-red-dot,var(--od-red))}
/* Keyboard key, for shortcuts shown next to a control. */
.od-kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:1px solid var(--od-line);border-radius:4px;background:var(--od-surface);color:var(--od-muted);font:500 var(--od-text-xs)/1 var(--od-font-mono,ui-monospace,monospace)}
/* Toast: a short "done" or "didn't work" in the corner. It leaves by itself unless it's a problem. */
.od-toast{position:fixed;right:var(--od-space-5);bottom:var(--od-space-5);z-index:60;display:flex;align-items:flex-start;gap:var(--od-space-3);width:min(380px,calc(100vw - 32px));padding:var(--od-space-3) var(--od-space-4);border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-md);font-size:var(--od-text-md);animation:od-toast-in .18s ease-out}
.od-toast p{flex:1;margin:0}
.od-toast--red{background:var(--od-red-soft);color:var(--od-red)}
.od-toast button{flex:none;border:0;background:none;color:var(--od-muted);font:inherit;cursor:pointer}
@keyframes od-toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.od-toast{animation:none}}
/* Command menu (Cmd K): one box to jump to a page, run an action or find a record. */
.od-cmdk{width:min(640px,calc(100vw - 32px));max-height:min(520px,calc(100dvh - 96px));margin:12vh auto auto;padding:0;border:0;border-radius:var(--od-radius-lg);background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-md);overflow:hidden}
.od-cmdk[open]{display:flex;flex-direction:column}
.od-cmdk::backdrop{background:#0000004d;backdrop-filter:blur(2px)}
.od-cmdk-input{display:flex;align-items:center;gap:var(--od-space-3);padding:0 var(--od-space-4);border-bottom:1px solid var(--od-line)}
.od-cmdk-input svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--od-muted);stroke-width:2;stroke-linecap:round}
.od-cmdk-input input{flex:1;min-width:0;height:52px;border:0;outline:0;background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-lg)}
.od-cmdk-list{overflow-y:auto;padding:var(--od-space-2)}
.od-cmdk-list .od-label{margin:var(--od-space-2) var(--od-space-2) var(--od-space-1);font-size:var(--od-text-xs)}
.od-cmdk-item{display:flex;align-items:center;gap:var(--od-space-3);width:100%;min-height:40px;padding:6px var(--od-space-2);border:0;border-radius:var(--od-radius-sm);background:none;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);text-align:left;text-decoration:none;cursor:pointer}
.od-cmdk-item[aria-selected="true"]{background:var(--od-selected,var(--od-soft))}
.od-cmdk-item svg{flex:none;width:16px;height:16px;fill:none;stroke:var(--od-muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.od-cmdk-item>span:not(.od-badge,.od-cmdk-meta){display:grid;flex:1;min-width:0}
.od-cmdk-item>.od-badge{flex:none}
.od-cmdk-input input::-webkit-search-cancel-button{display:none}
.od-cmdk-item small{overflow:hidden;color:var(--od-muted);font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-cmdk-empty{padding:var(--od-space-5);color:var(--od-muted);text-align:center}
.od-cmdk-foot{display:flex;gap:var(--od-space-4);padding:var(--od-space-2) var(--od-space-4);border-top:1px solid var(--od-line);color:var(--od-muted);font-size:var(--od-text-xs)}
/* A row's status or keys on the right (od-cmdk-meta), "12 more" under a long group, and the close control: Esc on a
   desktop, Cancel on a phone, where there is no Esc key. */
.od-cmdk-meta{flex:none;display:inline-flex;align-items:center;gap:var(--od-space-1)}
.od-cmdk-more{margin:var(--od-space-1) var(--od-space-2) var(--od-space-2);color:var(--od-faint);font-size:var(--od-text-xs)}
.od-cmdk-close{flex:none;display:inline-flex;align-items:center;margin:0;padding:0;border:0;background:none;color:var(--od-blue);font:inherit;font-size:var(--od-text-md);font-weight:600;cursor:pointer}
.od-cmdk-close>span{display:none}
.od-cmdk-close:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px;border-radius:var(--od-radius-sm)}
@media (max-width:700px){
 .od-cmdk{width:calc(100vw - var(--od-space-4));max-height:calc(100dvh - var(--od-space-4) - var(--od-keyboard,0px));margin:var(--od-space-2) auto auto}
 .od-cmdk-item{min-height:48px}
 .od-cmdk-foot,.od-cmdk-close>.od-kbd{display:none}
 .od-cmdk-close>span{display:inline}
}
/* Sparkline: a small line chart of one number over time, drawn in currentColor. */
.od-spark{display:block;width:100%;height:40px;overflow:visible;color:var(--od-blue)}
.od-spark path{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.od-spark path.od-spark-fill{fill:currentColor;stroke:0;opacity:.08}

/* The app on a phone works like an app (html.od-app-root: the workspace and sign-in, not customer pages or the
   website). The page is always exactly the screen's width: nothing can push it wider or let it slide sideways,
   it stays at 100% (the viewport sets maximum-scale=1, and ui.js stops pinch zoom), it sits inside the notch and
   home bar, and buttons and tabs respond to a press without selecting their text or opening the long-press menu. */
html.od-app-root,html.od-app-root body{max-width:100%;overflow-x:clip}
@media (pointer:coarse){
 html.od-app-root body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
 html.od-app-root :is(button,.od-btn,[role="tab"],[role="button"],a.nav-item,.od-chip,.od-seg>*,.od-choice){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
 html.od-app-root :is(button,.od-btn,[role="tab"],a.nav-item):active{opacity:.72}
 html.od-app-root img{-webkit-touch-callout:none}
}

/* Bottom sheet (phones): a panel that slides up over the page to edit one thing, like the iPhone app's sheets. The
   page behind stays where it was. A bar with what you're editing and Done; the scrim above closes it too. It slides
   in once when it opens (is-entering), not on every redraw, and rises above the keyboard (--od-keyboard, set by ui.js). */
.od-sheet{position:fixed;inset:0;z-index:60}
.od-sheet__scrim{position:absolute;inset:0;background:var(--od-scrim)}
.od-sheet__panel{position:absolute;left:0;right:0;bottom:var(--od-keyboard,0px);display:flex;flex-direction:column;max-height:calc(88dvh - var(--od-keyboard,0px));border-radius:var(--od-radius-lg) var(--od-radius-lg) 0 0;background:var(--od-surface);box-shadow:var(--od-shadow-md);overflow:hidden}
.od-sheet__bar{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--od-space-2);padding:var(--od-space-2) var(--od-space-3);border-bottom:1px solid var(--od-line)}
.od-sheet__bar::before{content:"";position:absolute;top:6px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:var(--od-radius-pill);background:var(--od-line-strong)}
.od-sheet__bar>:last-child{justify-self:end}
.od-sheet__title{font-size:var(--od-text-md);color:var(--od-ink)}
.od-sheet__nav{display:flex;align-items:center;gap:2px;color:var(--od-faint);font-size:var(--od-text-xs)}
.od-sheet__nav small{margin-left:var(--od-space-1)}
.od-sheet__step svg{width:16px;height:16px;transform:rotate(90deg)}
.od-sheet__step.is-up svg{transform:rotate(-90deg)}
.od-sheet__body{overflow:auto;overscroll-behavior:contain;padding:var(--od-space-3) var(--od-space-4) calc(var(--od-space-4) + env(safe-area-inset-bottom,0px))}
.od-sheet.is-entering .od-sheet__panel{animation:od-sheet-in .26s cubic-bezier(.2,.8,.2,1)}
.od-sheet.is-entering .od-sheet__scrim{animation:od-sheet-fade .26s ease-out}
@keyframes od-sheet-in{from{transform:translateY(100%)}}
@keyframes od-sheet-fade{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.od-sheet.is-entering .od-sheet__panel,.od-sheet.is-entering .od-sheet__scrim{animation:none}}
html.od-sheet-open,html.od-sheet-open body{overflow:hidden}

/* Tab bar (phones): the main places along the bottom, like the iPhone app, with More for the full menu. Shown under
   700px; the page leaves room for it, and it sits above the home bar. */
.od-tabbar{display:none}
@media (max-width:700px){
 .od-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:4px 4px env(safe-area-inset-bottom,0px);border-top:1px solid var(--od-line);background:var(--od-surface)}
 .od-tabbar__tab{display:grid;justify-items:center;gap:2px;min-height:52px;padding:6px 2px 4px;border:0;background:transparent;color:var(--od-muted);font:inherit;font-size:var(--od-text-xs);font-weight:600;text-decoration:none;cursor:pointer}
 .od-tabbar__tab svg{width:22px;height:22px}
 .od-tabbar__tab.is-on{color:var(--od-blue)}
 .app-shell main{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .app-shell .mobile-menu{display:none}
}

/* Six-box code entry (od-code): one real input over six drawn boxes. dist/ui-code.js fills the boxes and submits on the sixth digit. */
.od-code{position:relative;width:100%;max-width:380px}
.od-code__input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;background:transparent;color:transparent;caret-color:transparent;font-size:var(--od-text-touch);letter-spacing:-.5em;cursor:text}
.od-code__input::selection{background:transparent}
.od-code__cells{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 14px repeat(3,minmax(0,1fr));gap:var(--od-space-2);align-items:center}
.od-code__cell{display:grid;place-items:center;height:58px;border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface);color:var(--od-ink);font-size:var(--od-title-md);font-weight:600;font-variant-numeric:tabular-nums;transition:border-color .12s,box-shadow .12s,color .12s}
.od-code__dash{height:2px;border-radius:2px;background:var(--od-line-strong)}
.od-code.is-focused .od-code__cell.is-active{border-color:var(--od-blue);box-shadow:0 0 0 3px var(--od-focus)}
.od-code.is-focused .od-code__cell.is-active:empty::after{content:'';width:2px;height:26px;border-radius:1px;background:var(--od-ink);animation:od-code-caret 1s steps(1) infinite}
.od-code.is-busy .od-code__cell{background:var(--od-soft);color:var(--od-muted)}
.od-code.is-error .od-code__cell{border-color:var(--od-red)}
.od-code.is-error .od-code__cells{animation:od-code-shake .32s ease}
@keyframes od-code-caret{50%{opacity:0}}
@keyframes od-code-shake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
@media(max-width:380px){.od-code__cell{height:50px}.od-code__cells{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr)) 8px repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.od-code__cell{transition:none}.od-code.is-focused .od-code__cell.is-active:empty::after,.od-code.is-error .od-code__cells{animation:none}}

/* Next step bar: the one thing to do next on a record (a customer, a job). A label with the date over the step,
   actions on the right. Late steps get a red edge, today's a blue one. Never a yellow fill. */
.od-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--od-space-3);padding:var(--od-space-3) var(--od-space-4);border:1px solid var(--od-line);border-left:3px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface)}
.od-next.is-today{border-left-color:var(--od-blue)}
.od-next.is-late{border-left-color:var(--od-red)}
.od-next.is-late .od-label{color:var(--od-red)}
.od-next.is-empty{border-style:dashed;border-left-style:solid}
.od-next__text{display:grid;gap:2px;min-width:0;flex:1 1 260px}
.od-next__text .od-label{margin:0}
.od-next__text b{font-size:var(--od-text-lg);font-weight:600;color:var(--od-ink);overflow-wrap:anywhere}
.od-next__text small{color:var(--od-muted);font-size:var(--od-text-sm)}
.od-next__actions{display:flex;flex-wrap:wrap;gap:var(--od-space-2)}

/* ---------- App look: Stripe type and hairlines on an Intercom-style canvas ----------
   The signed-in app sits on a soft canvas (--od-canvas) with white cards (--od-shadow-card), a white sidebar and top bar,
   firm headings, rounder dialogs, a lit primary button, a blue ring on focused fields and pill badges. */
/* The page sits on a soft canvas; the sidebar and header stay white with a hairline */
.od-app .app-shell{background:var(--od-canvas)}
.od-app .utility-bar{background:var(--od-surface)}
/* Sections are calm white cards again */
.od-app .panel,.od-app .od-card{background:var(--od-surface);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);box-shadow:var(--od-shadow-card)}
.od-app .panel{padding:var(--od-space-5)}
/* Headings: firmer and a touch tighter */
.od-app .page-heading h1{font-weight:600;letter-spacing:-.02em}
.od-app h2,.od-app h3{letter-spacing:-.01em}
/* Buttons: a lit top edge on primary, a crisper raised secondary */
.od-btn--primary{background:linear-gradient(180deg,color-mix(in srgb,var(--od-blue) 88%,var(--od-surface)),var(--od-blue));box-shadow:0 1px 2px #1a1f3633,inset 0 1px 0 color-mix(in srgb,var(--od-surface) 22%,transparent)}
.od-btn--primary:hover{background:var(--od-blue-dark)}
/* Fields: a soft blue ring on focus, the way Stripe does it */
.od-input,.od-select{transition:border-color .12s,box-shadow .12s}
.od-input:hover,.od-select:hover{border-color:var(--od-faint)}
.od-input:focus,.od-select:focus{border-color:var(--od-blue);box-shadow:0 0 0 3px var(--od-blue-soft);outline:none}
.od-input:focus-visible,.od-select:focus-visible{outline:none}
/* Status badges are soft pills */
.od-badge{border-radius:var(--od-radius-pill);padding:2px 8px}
/* Settings sections are cards on the canvas instead of blocks split by lines */
.od-app .co-section{max-width:800px;padding:var(--od-space-5);margin:0 0 var(--od-space-4);background:var(--od-surface);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);box-shadow:var(--od-shadow-card)}
.od-app .co-section:last-child{border-bottom:1px solid var(--od-line)}
@media(max-width:700px){.od-app .panel,.od-app .co-section{padding:var(--od-space-4)}}
/* Lists and tables that sit on the canvas get the same card */
.od-app :is(.od-table-wrap,.cl-job-list):not(:is(.panel,.od-card,.co-section,.dialog) *){background:var(--od-surface);border:1px solid var(--od-line);border-radius:var(--od-radius-lg);box-shadow:var(--od-shadow-card)}


/* Sidebar: the current page sits in a soft blue pill */
.od-app .app-shell .sidebar .nav-item.active{background:var(--od-blue-soft)}
/* Dialogs: rounder, lifted by their shadow, no line under the header */
.od-app .dialog{border:0;border-radius:var(--od-radius-xl)}
.od-app .dialog>header{border-bottom:0;padding-bottom:var(--od-space-2)}

/* ---------- Tasks: the parts behind Home's tasks, the Inbox, the composer and the task view ----------
   Calm and dense, like Linear: titles in full ink, details muted, and only status and "late" get a color. Lists set
   container-type, so a narrow list (a phone, a side panel) gets the two-line phone rows and 44px taps. */

/* Status icon: To do (an empty box, so it reads as a checkbox anyone knows to tap), Waiting (clock), Done (filled
   box with a check), Skipped (slashed box). As a button it is
   the one-tap Done, with Undo, and aria-pressed says whether it's done. The word next to it is optional markup: it
   shows on phones, or always with od-status--word. Drawn with currentColor, so every theme gets it right. */
.od-status{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:24px;min-height:24px;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);background:none;color:var(--od-muted);font:inherit;font-size:var(--od-text-sm);font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer}
span.od-status{cursor:default}
.od-status:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
.od-status__icon{position:relative;flex:none;display:grid;place-items:center;box-sizing:border-box;width:16px;height:16px;border:1.5px solid currentColor;border-radius:var(--od-radius-sm);transition:background .12s,box-shadow .12s}
button.od-status:hover .od-status__icon{box-shadow:0 0 0 3px var(--od-line)}
.od-status__word{color:var(--od-muted)}
.od-status:not(.od-status--word) .od-status__word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.od-status--waiting{color:var(--od-muted)}
.od-status--waiting .od-status__icon::before,.od-status--waiting .od-status__icon::after{content:"";position:absolute;left:calc(50% - .75px);bottom:50%;width:1.5px;height:34%;border-radius:var(--od-radius-pill);background:currentColor}
.od-status--waiting .od-status__icon::after{left:50%;bottom:calc(50% - .75px);width:28%;height:1.5px}
.od-status--done{color:var(--od-blue)}
.od-status--done .od-status__icon{background:currentColor}
.od-status--done .od-status__icon::after{content:"";width:44%;height:22%;margin-top:-12%;border:solid var(--od-surface);border-width:0 0 1.5px 1.5px;transform:rotate(-45deg)}
.od-status--skipped .od-status__icon::after{content:"";width:1.5px;height:78%;border-radius:var(--od-radius-pill);background:currentColor;transform:rotate(45deg)}
.od-status--done .od-status__word{color:var(--od-blue)}
/* A tap that marks it done ripples once (screens add is-ripple for that tap only, never on a redraw). */
.od-status.is-ripple .od-status__icon{animation:od-status-ripple .32s ease-out}
@keyframes od-status-ripple{from{box-shadow:0 0 0 0 var(--od-focus)}to{box-shadow:0 0 0 8px transparent}}
@media (prefers-reduced-motion:reduce){.od-status.is-ripple .od-status__icon{animation:none}}
@media (pointer:coarse){.od-status{min-width:44px;min-height:44px}}
@media (max-width:700px){
 .od-status .od-status__word{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
 .od-status:has(.od-status__word){justify-content:flex-start;padding-right:var(--od-space-2)}
 .od-status__icon{width:16px;height:16px}
}
/* "Nobody yet": an empty dashed circle where the initials would be, so the column still lines up. */
.od-avatar--none{background:transparent;box-shadow:none;border:1px dashed var(--od-line-strong);color:transparent}

/* More: the visible … that opens a row's actions (a menu, or a sheet on a phone). Always shown, never hover-only. */
.od-more{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-muted);cursor:pointer}
.od-more::before{content:"";width:3px;height:3px;border-radius:50%;background:currentColor;box-shadow:-5px 0 0 currentColor,5px 0 0 currentColor}
.od-more:hover,.od-more[aria-expanded="true"]{background:var(--od-line);color:var(--od-ink)}
.od-more:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
@media (pointer:coarse){.od-more{width:44px;height:44px}}

/* Task list and row. A list holds groups (Late, Today, This week, Later, No date); empty groups don't show. A row is
   one 36px line on a desktop: status, the title in full ink, the checklist count, then job and date in grey ("3 days
   late" in red), who it's for and a visible …. Narrow lists (phones) get 52px rows with the details on a second line.
   Long text is cut with an ellipsis. The whole row opens the task; keep job and date as text inside od-task__open. */
.od-tasklist{container:od-list/inline-size;display:flex;flex-direction:column;min-width:0}
.od-tasklist__head{display:flex;align-items:center;gap:var(--od-space-2);min-height:32px;margin:var(--od-space-4) 0 0;padding:0 var(--od-space-2);color:var(--od-ink);font-size:var(--od-text-sm);font-weight:600}
.od-tasklist__head:first-child{margin-top:0}
.od-tasklist__head>span{color:var(--od-faint);font-weight:500;font-variant-numeric:tabular-nums}
.od-tasklist__head--late{color:var(--od-red)}
.od-tasklist__group{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
/* A group a row can be dropped on (This week on a desktop: drag a task to someone): is-drop while one is over it. */
.od-tasklist__group[data-drop]{min-height:36px;border-radius:var(--od-radius-md)}
.od-tasklist__group.is-drop{background:var(--od-blue-soft);box-shadow:inset 0 0 0 2px var(--od-blue)}
.od-task[draggable="true"]{cursor:grab}
.od-task.is-dragging{opacity:.5}
.od-task{display:flex;align-items:center;gap:var(--od-space-2);min-height:36px;padding:0 var(--od-space-1) 0 var(--od-space-1);border-radius:var(--od-radius-sm);background:transparent;color:var(--od-ink);font-size:var(--od-text-md)}
.od-task:hover{background:var(--od-soft)}
.od-task.is-selected{background:var(--od-selected,var(--od-blue-soft))}
/* The task that's open in the side panel beside the list. */
.od-task.is-open{background:var(--od-blue-soft);box-shadow:inset 3px 0 0 var(--od-blue)}
.od-task__open{display:flex;align-items:center;gap:var(--od-space-2);flex:1 1 auto;align-self:stretch;min-width:0;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.od-task__open:focus-visible{outline:2px solid var(--od-blue);outline-offset:-2px}
.od-task__title{flex:0 1 auto;min-width:0;overflow:hidden;color:var(--od-ink);font-weight:500;text-overflow:ellipsis;white-space:nowrap}
/* The title, and under it one grey line with only what's set (the job, the date in words, "3 of 7", photos owed…),
   separated by dots. Nothing on the line is a button; the whole row opens the task. */
.od-task__main{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;padding:var(--od-space-1) 0}
.od-task__sub{display:flex;flex-wrap:wrap;align-items:center;min-width:0;color:var(--od-muted);font-size:var(--od-text-sm)}
.od-task__sub>*+*::before{content:"·";margin:0 6px;color:var(--od-faint)}
.od-task__count{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}
.od-task__photos{display:inline-flex;align-items:center;gap:3px}
.od-task__photos svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-task__date,.od-task__late{font-variant-numeric:tabular-nums}
.od-task__late{color:var(--od-red);font-weight:600}
/* Who it's for, on a team: a first name in a fixed column on the right, so names line up down the list. */
.od-task__who{flex:none;width:104px;overflow:hidden;color:var(--od-text);font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-task.is-done .od-task__title{color:var(--od-muted)}
@media (hover:none){.od-task:hover{background:transparent}}
@container od-list (max-width:480px){
 .od-task{min-height:52px;padding:0;border-radius:0;box-shadow:inset 0 -1px 0 var(--od-line)}
 .od-task>.od-status{min-width:44px;min-height:44px}
 .od-task>.od-status .od-status__icon{width:20px;height:20px}
 .od-task>.od-status .od-status__word{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
 .od-task>.od-status:has(.od-status__word){justify-content:flex-start;padding:0 var(--od-space-2) 0 14px}
 .od-task>.od-more{width:44px;height:44px}
 .od-task__open{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title who";align-items:center;column-gap:var(--od-space-2);padding:var(--od-space-1) 0}
 .od-task__title{grid-area:title;max-width:100%;font-size:var(--od-text-lg);white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 /* A plain to-do is just the box; Waiting, Done and Skipped keep their word. */
 .od-task>.od-status:not(.od-status--waiting):not(.od-status--done):not(.od-status--skipped) .od-status__word{display:none}
 .od-task>.od-status:not(.od-status--waiting):not(.od-status--done):not(.od-status--skipped){justify-content:center;padding:0}
 .od-task__main{grid-area:title;max-width:100%;padding:0}
 .od-task__main>.od-task__title{max-width:100%}
 .od-task__who{grid-area:who;width:auto;max-width:96px;padding-right:var(--od-space-3)}
}

/* Swipe actions (phones): swipe a row right for Done, left for a new date (Tomorrow, Next week, Pick). The same two
   actions are always on the row as visible controls, the checkbox and the row itself (which opens the task), because gloves and web views
   make swipes unreliable; so the buttons underneath are tabindex="-1" and aria-hidden. Screens set --od-swipe-x
   while a finger drags, then is-right or is-left holds the row open (or let go and it slides back). */
.od-swipe{position:relative;overflow:hidden;list-style:none}
.od-swipe__actions{position:absolute;inset:0;display:flex}
.od-swipe__action{flex:1;display:flex;align-items:center;gap:var(--od-space-2);margin:0;padding:0 var(--od-space-5);border:0;font:inherit;font-size:var(--od-text-sm);font-weight:600;cursor:pointer}
.od-swipe__action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-swipe__action--done{background:var(--od-blue);color:var(--od-surface)}
.od-swipe__action--date{justify-content:flex-end;background:var(--od-blue-soft);color:var(--od-blue)}
.od-swipe__row{position:relative;background:var(--od-surface);transform:translateX(var(--od-swipe-x,0px));transition:transform .2s cubic-bezier(.2,.8,.2,1);touch-action:pan-y}
.od-swipe.is-dragging .od-swipe__row{transition:none}
@media (hover:none){.od-swipe__row:hover{background:var(--od-surface)}}
.od-swipe.is-right{--od-swipe-x:104px}
.od-swipe.is-left{--od-swipe-x:-104px}
@media (prefers-reduced-motion:reduce){.od-swipe__row{transition:none}}

/* Job header: one line over a job's tasks (Tasks, By job): the job's name in bold (a link to the job, ink, not blue),
   the street in grey, then "4 open" and "1 late" in red words on the right. Groups are set apart by space, not boxes or
   rules. Under the tasks, od-tasklist__foot holds "+ Add a task" (the job filled in) and "Show 3 done". General, for
   tasks on no job, uses the same header. od-jobhead__fold folds a job away (remembered on the device); a folded job
   (is-folded) keeps its counts, with late still in red, so folding never hides that something is late. */
.od-jobhead{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--od-space-3);row-gap:2px;margin:var(--od-space-6) 0 var(--od-space-1);padding:0 var(--od-space-2);font-size:var(--od-text-md);font-weight:400}
.od-jobhead:first-child{margin-top:0}
/* Jobs are set apart by space: a job group after another starts lower. */
:where(section,div)+:where(section,div)>.od-jobhead:first-child{margin-top:var(--od-space-5)}
.od-jobhead__fold{align-self:center;flex:none;display:inline-grid;place-items:center;width:24px;height:24px;margin:0 calc(-1 * var(--od-space-2)) 0 calc(-1 * var(--od-space-1));padding:0;border:0;border-radius:var(--od-radius-sm);background:none;color:var(--od-muted);cursor:pointer}
.od-jobhead__fold svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .12s}
.od-jobhead__fold[aria-expanded="true"] svg{transform:rotate(90deg)}
.od-jobhead__fold:hover{color:var(--od-ink);background:var(--od-soft)}
.od-jobhead__fold:focus-visible{outline:2px solid var(--od-blue);outline-offset:0}
.od-jobhead__name{min-width:0;overflow:hidden;color:var(--od-ink);font-size:var(--od-text-lg);font-weight:700;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.od-jobhead__name>a{color:inherit;text-decoration:none}
.od-jobhead__name>a:hover{text-decoration:underline}
.od-jobhead__where{min-width:0;overflow:hidden;color:var(--od-muted);font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-jobhead__counts{margin-left:auto;color:var(--od-muted);font-size:var(--od-text-sm);white-space:nowrap}
.od-jobhead__late{color:var(--od-red);font-weight:600}
.od-tasklist__foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-1) var(--od-space-4);padding:0 var(--od-space-1)}
.od-tasklist__add,.od-tasklist__more{display:inline-flex;align-items:center;gap:var(--od-space-2);min-height:36px;margin:0;padding:0 var(--od-space-1);border:0;border-radius:var(--od-radius-sm);background:none;color:var(--od-muted);font:inherit;font-size:var(--od-text-sm);cursor:pointer}
.od-tasklist__add svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.od-tasklist__add:hover,.od-tasklist__more:hover{color:var(--od-ink);background:var(--od-soft)}
.od-tasklist__add:focus-visible,.od-tasklist__more:focus-visible{outline:2px solid var(--od-blue);outline-offset:-2px}
@container od-list (max-width:480px){.od-jobhead{padding:0}.od-jobhead__fold{width:44px;height:44px;margin:-10px -10px -10px -14px}.od-tasklist__add,.od-tasklist__more{min-height:44px}}

/* Composer: the one way to make a task (New task, +, C, or Make a task from a job, photo or note). A title, then Job,
   For, Due and Repeats as chips you tap, always shown, because that's how most tasks get made on a phone. A chip
   with a value has a × to clear it. Words it understood ("for Mike", "Fri") fill a chip marked od-propchip--guessed
   until you save. Enter saves and keeps it open for the next one; Esc closes. */
.od-composer{display:grid;gap:var(--od-space-2);padding:var(--od-space-3);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-lg);background:var(--od-surface);box-shadow:var(--od-shadow-sm)}
.od-composer:focus-within{border-color:var(--od-blue)}
.od-composer__title{width:100%;min-width:0;min-height:32px;margin:0;padding:0;border:0;background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-lg);font-weight:600;outline:0}
.od-composer__title::placeholder{color:var(--od-faint);font-weight:500}
.od-composer__chips{display:flex;flex-wrap:wrap;gap:6px}
.od-composer__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--od-space-2);padding-top:var(--od-space-2);border-top:1px solid var(--od-line);color:var(--od-faint);font-size:var(--od-text-xs)}
.od-composer__foot>span{display:inline-flex;align-items:center;gap:var(--od-space-1)}
.od-propchip{display:inline-flex;align-items:stretch;max-width:100%;min-height:28px;border:1px solid var(--od-line-strong);border-radius:var(--od-radius-pill);background:var(--od-surface);color:var(--od-muted);font-size:var(--od-text-sm);font-weight:600}
.od-propchip__open{display:inline-flex;align-items:center;gap:var(--od-space-1);min-width:0;margin:0;padding:0 10px;border:0;border-radius:inherit;background:none;color:inherit;font:inherit;cursor:pointer}
.od-propchip__open>b{min-width:0;overflow:hidden;color:var(--od-ink);font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.od-propchip__open:hover{color:var(--od-ink)}
.od-propchip:hover{border-color:var(--od-faint)}
.od-propchip__clear{display:inline-grid;place-items:center;width:24px;margin:0 2px 0 -8px;padding:0;border:0;border-radius:var(--od-radius-pill);background:none;color:var(--od-faint);cursor:pointer}
.od-propchip__clear svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.od-propchip__clear:hover{color:var(--od-ink)}
.od-propchip__open:focus-visible,.od-propchip__clear:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
.od-propchip--guessed{border-style:dashed;border-color:var(--od-blue);background:var(--od-blue-soft);color:var(--od-blue)}
.od-propchip--guessed .od-propchip__open>b,.od-propchip--guessed .od-propchip__clear{color:var(--od-blue)}
@media (pointer:coarse){.od-propchip{min-height:36px}.od-propchip__clear{width:36px;margin-left:-10px}}

/* Properties: a record's facts as a labeled list, label on the left and the value on the right, in a side panel (a
   task's Status, Assigned to, Due, Job and Repeats). Each value is a button that opens its picker. An empty one reads
   in grey ("Nobody yet", "No date"), a late date in red. od-props__note is a small line under a value (an address
   and Directions, a link that goes with it).*/
.od-props{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;column-gap:var(--od-space-4);row-gap:2px;margin:0}
.od-props>dd{min-width:0;margin:0}
.od-props__label{color:var(--od-muted);font-size:var(--od-text-sm);font-weight:500}
.od-props__value{display:flex;align-items:center;gap:var(--od-space-2);max-width:100%;min-height:32px;margin:0 0 0 calc(-1 * var(--od-space-2));padding:0 var(--od-space-2);border:0;border-radius:var(--od-radius-md);background:none;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);font-weight:600;text-align:left;cursor:pointer}
.od-props__value>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.od-props__value:hover{background:var(--od-soft)}
.od-props__value:disabled{background:none;cursor:default}
.od-props__value:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
.od-props__value .od-avatar{width:22px;height:22px}
.od-props__value .od-status{min-width:0;min-height:0}
.od-props__value--empty{color:var(--od-faint);font-weight:500}
.od-props__value--late{color:var(--od-red)}
.od-props__note{grid-column:2;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px var(--od-space-2);margin:-2px 0 var(--od-space-1);color:var(--od-muted);font-size:var(--od-text-sm)}
.od-props__note .od-btn--link{min-height:0;padding:0;font-size:var(--od-text-sm)}
@media (pointer:coarse){.od-props__value{min-height:44px}}
/* What a record doesn't have yet, as one quiet row under its properties (od-propchips): "+ Due date", "+ Job", each a
   dashed chip (od-propchip--add) that opens the same picker its row would. Once it has a value it becomes a row, so
   the list only ever shows what's set. */
.od-propchips{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.od-propchip--add{border-style:dashed;background:transparent;font-weight:500}
.od-propchip--add .od-propchip__open{gap:4px}
.od-propchip--add:hover{border-color:var(--od-faint);color:var(--od-ink)}
.od-propchip--add svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-propchip__open:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
/* A one-line reply box that grows as you type (od-reply): the camera inside on the left, send inside on the right. */
.od-reply{display:flex;align-items:flex-end;gap:2px;padding:3px;border:1px solid var(--od-line-strong);border-radius:var(--od-radius-md);background:var(--od-surface)}
.od-reply:focus-within{border-color:var(--od-blue);box-shadow:0 0 0 3px var(--od-focus)}
.od-reply__field{flex:1 1 auto;min-width:0;height:32px;max-height:160px;margin:0;padding:6px 4px;border:0;background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);line-height:20px;resize:none;outline:0}
.od-reply__field::placeholder{color:var(--od-faint)}
.od-reply__field:focus,.od-reply__field:focus-visible{outline:0}
.od-reply__btn{flex:none;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-muted);cursor:pointer}
.od-reply__btn:hover{background:var(--od-soft);color:var(--od-ink)}
.od-reply__btn:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
.od-reply__btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.od-reply__send{color:var(--od-blue)}
.od-reply__send:hover{background:var(--od-blue-soft);color:var(--od-blue-dark)}
@media (pointer:coarse){.od-reply__field{font-size:var(--od-text-touch)}.od-reply__btn{width:40px;height:40px}}

/* Property picker: a compact list that opens from a task's status, person or date (S, A or D on a desktop). An
   optional search box at the top, one row per choice with a check on the current one (aria-checked) and a hint or
   shortcut on the right. aria-selected marks the row the arrow keys are on. On a phone, put it in an od-sheet. */
.od-popmenu{display:grid;gap:1px;width:min(260px,calc(100vw - 32px));padding:var(--od-space-1);border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-md);font-size:var(--od-text-sm)}
.od-popmenu[hidden]{display:none}
.od-popmenu__search{width:100%;min-width:0;min-height:32px;margin:0 0 var(--od-space-1);padding:0 var(--od-space-2);border:0;border-bottom:1px solid var(--od-line);border-radius:0;background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-sm);outline:0}
.od-popmenu__search::placeholder{color:var(--od-faint)}
.od-popmenu__label{padding:6px var(--od-space-2) 2px;color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600}
.od-popmenu__sep{height:1px;margin:var(--od-space-1) 0;background:var(--od-line)}
.od-popmenu__item{display:flex;align-items:center;gap:var(--od-space-2);width:100%;min-height:32px;margin:0;padding:0 var(--od-space-2);border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-sm);font-weight:500;text-align:left;cursor:pointer}
.od-popmenu__item:hover,.od-popmenu__item[aria-selected="true"]{background:var(--od-soft)}
.od-popmenu__item:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--od-focus)}
.od-popmenu__text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.od-popmenu__key{flex:none;color:var(--od-faint);font-size:var(--od-text-xs);font-variant-numeric:tabular-nums}
.od-popmenu__item[aria-checked="true"]::after{content:"";flex:none;width:8px;height:4px;margin:-3px 2px 0 0;border:solid var(--od-blue);border-width:0 0 2px 2px;transform:rotate(-45deg)}
.od-popmenu__item[aria-checked="false"]::after{content:"";flex:none;width:12px}
.od-popmenu .od-status{min-width:16px;min-height:16px;pointer-events:none}
.od-popmenu .od-avatar{width:20px;height:20px}
@media (pointer:coarse){.od-popmenu__item{min-height:44px;font-size:var(--od-text-md)}.od-popmenu__search{min-height:44px;font-size:var(--od-text-md)}}

/* Activity: one timeline per task. A change is one quiet line with a dot; a reply has who, when, the words, an
   optional photo and an optional action such as Make a task. Times are muted; nothing here is colored. */
.od-activity{display:grid;gap:var(--od-space-3);margin:0;padding:0;list-style:none}
.od-activity__item{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:var(--od-space-3);align-items:start;color:var(--od-text);font-size:var(--od-text-sm);line-height:1.45}
.od-activity__item:not(:last-child)::before{content:"";position:absolute;top:30px;bottom:calc(-1 * var(--od-space-3));left:11.5px;width:1px;background:var(--od-line)}
.od-activity__item>.od-avatar,.od-activity__mark{grid-column:1;grid-row:1}
.od-activity__mark{justify-self:center;width:8px;height:8px;margin-top:6px;border-radius:50%;background:var(--od-line-strong)}
.od-activity__item--event{color:var(--od-muted)}
.od-activity__item--event:not(:last-child)::before{top:20px}
.od-activity__head{grid-column:2;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px var(--od-space-2);min-height:20px}
.od-activity__item:not(.od-activity__item--event) .od-activity__head{min-height:24px;align-items:center}
.od-activity__head b{color:var(--od-ink);font-weight:600}
.od-activity__head time{color:var(--od-faint);font-size:var(--od-text-xs);font-variant-numeric:tabular-nums}
.od-activity__body{grid-column:2;margin:2px 0 0;color:var(--od-ink);font-size:var(--od-text-md);line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.od-activity__photo{grid-column:2;position:relative;display:grid;place-items:center;width:160px;max-width:100%;aspect-ratio:4/3;margin-top:var(--od-space-2);padding:0;border:1px solid var(--od-line);border-radius:var(--od-radius-md);overflow:hidden;background:var(--od-soft);color:var(--od-faint);cursor:pointer}
.od-activity__photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.od-activity__photo>svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.od-activity__photo:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
.od-activity__actions{grid-column:2;display:flex;flex-wrap:wrap;gap:var(--od-space-2);margin-top:var(--od-space-2)}

/* Punch list: the steps inside one task (a checklist), in the task view. The head says how many are done and how
   many photos are still to add. Each item is a square check (role="checkbox"), its title as an input that saves as
   you type, then the photo: a thumbnail once there is one, "Photo needed" while one is wanted (in a narrow list just
   the blue camera, od-checklist__camera--needed), or od-queued while it waits for signal. A camera button adds a photo; … has Photo needed, Move up, Move down and Remove. On an item that
   needs a photo the check opens the camera, so checking and the photo are one motion. Done items stay in place, in
   muted ink. Never amber: a missing photo isn't a problem, the task can still be done. */
.od-checklist{container:od-checklist/inline-size;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--od-space-1);min-width:0}
.od-checklist__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px var(--od-space-2);margin:0 0 var(--od-space-1)}
.od-checklist__head>h3{margin:0;color:var(--od-ink);font-size:var(--od-text-sm);font-weight:600}
.od-checklist__count{color:var(--od-muted);font-size:var(--od-text-sm);font-variant-numeric:tabular-nums}
.od-checklist__note{color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600}
.od-checklist__items{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.od-checklist__item{display:flex;align-items:center;gap:var(--od-space-2);min-height:36px;padding:0 var(--od-space-1);border-radius:var(--od-radius-sm)}
.od-checklist__item:hover,.od-checklist__item:focus-within{background:var(--od-soft)}
.od-checklist__check{position:relative;flex:none;display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);background:none;color:var(--od-faint);cursor:pointer}
.od-checklist__check::before{content:"";box-sizing:border-box;width:16px;height:16px;border:1.5px solid currentColor;border-radius:var(--od-radius-sm);background:var(--od-surface)}
.od-checklist__check[aria-checked="true"]{color:var(--od-blue)}
/* Done steps back: a pale tint with a thin blue check, so the items still to do lead. */
.od-checklist__check[aria-checked="true"]::before{border-color:var(--od-blue-soft);background:var(--od-blue-soft)}
.od-checklist__check[aria-checked="true"]::after{content:"";position:absolute;width:7px;height:3.5px;margin-top:-2px;border:solid var(--od-blue);border-width:0 0 1.5px 1.5px;transform:rotate(-45deg)}
.od-checklist__check:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
.od-checklist__title{flex:1 1 auto;min-width:0;min-height:28px;margin:0;padding:0 var(--od-space-1);border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);outline:0;text-overflow:ellipsis}
.od-checklist__title:focus{box-shadow:inset 0 0 0 1px var(--od-line-strong);background:var(--od-surface)}
.od-checklist__item.is-done .od-checklist__title{color:var(--od-muted)}
.od-checklist__need{flex:none;color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600;white-space:nowrap}
.od-checklist__photo{position:relative;flex:none;display:block;width:32px;height:32px;padding:0;border:1px solid var(--od-line);border-radius:var(--od-radius-sm);overflow:hidden;background:var(--od-soft)}
.od-checklist__photo>img{display:block;width:100%;height:100%;object-fit:cover}
.od-checklist__camera{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-muted);cursor:pointer}
.od-checklist__camera svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.od-checklist__camera:hover{background:var(--od-line);color:var(--od-ink)}
.od-checklist__camera:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
/* An item still waiting for its photo: the camera is blue. In a narrow list (a phone) that's all it shows, so the words have room. */
.od-checklist__camera--needed{color:var(--od-blue)}
@container od-checklist (max-width:420px){.od-checklist__need{display:none}}
.od-checklist__add{display:flex;align-items:center;gap:var(--od-space-2);min-height:36px;padding:0 var(--od-space-1)}
.od-checklist__add::before{content:"";flex:none;box-sizing:border-box;width:16px;height:16px;margin:0 6px;border:1.5px dashed var(--od-line-strong);border-radius:var(--od-radius-sm)}
/* Photos that show what needs doing (od-shots): a row of square thumbnails under a task's title, in New task and on
   the task, that everyone the task goes to sees. Each opens the photo; × (od-shots__remove) takes it off the task (it
   stays in Activity). The dashed tile at the end adds one (od-shots__add). A photo still sending shows od-queued over it. */
.od-shots{display:flex;flex-wrap:wrap;gap:var(--od-space-2);margin:0;padding:0;list-style:none}
.od-shots__item{position:relative;flex:none;width:72px;height:72px;border:1px solid var(--od-line);border-radius:var(--od-radius-md);overflow:hidden;background:var(--od-soft)}
.od-shots__item>img,.od-shots__item>a,.od-shots__item>a>img,.od-shots__open>img{display:block;width:100%;height:100%;object-fit:cover}
.od-shots__open{display:block;width:100%;height:100%;margin:0;padding:0;border:0;background:none;cursor:pointer}
.od-shots__open:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
.od-shots__item>.od-queued{position:absolute;inset:auto 0 0;padding:2px 4px;background:var(--od-surface);font-size:var(--od-text-xs);text-align:center}
.od-shots__remove{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:22px;height:22px;margin:0;padding:0;border:0;border-radius:var(--od-radius-pill);background:var(--od-surface);box-shadow:var(--od-shadow-sm);color:var(--od-ink);cursor:pointer}
.od-shots__remove svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.od-shots__add{flex:none;display:grid;place-items:center;align-content:center;gap:2px;width:72px;height:72px;margin:0;padding:0;border:1.5px dashed var(--od-line-strong);border-radius:var(--od-radius-md);background:transparent;color:var(--od-muted);font:inherit;font-size:var(--od-text-xs);font-weight:600;cursor:pointer}
.od-shots__add svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.od-shots__add:hover{border-color:var(--od-faint);color:var(--od-ink)}
.od-shots__add:focus-visible,.od-shots__remove:focus-visible,.od-shots__item>a:focus-visible{outline:3px solid var(--od-focus);outline-offset:1px}
/* Notes on photos of what needs doing (od-shot-notes): under the od-shots row, each photo's note in the words it was
   written in, numbered when there's more than one photo. */
.od-shot-notes{display:grid;gap:2px;margin:var(--od-space-2) 0 0;padding:0;list-style:none;color:var(--od-ink);font-size:var(--od-text-sm);line-height:1.45}
.od-shot-notes b{color:var(--od-muted);font-weight:600}
.od-checklist__new{flex:1 1 auto;min-width:0;min-height:28px;margin:0;padding:0 var(--od-space-1);border:0;border-radius:var(--od-radius-sm);background:transparent;color:var(--od-ink);font:inherit;font-size:var(--od-text-md);outline:0}
.od-checklist__new::placeholder{color:var(--od-faint)}
.od-checklist__new:focus{box-shadow:inset 0 0 0 1px var(--od-line-strong);background:var(--od-surface)}
@media (pointer:coarse){
 .od-checklist__item,.od-checklist__add{min-height:48px}
 .od-checklist__check,.od-checklist__camera{width:44px;height:44px}
 .od-checklist__check::before{width:20px;height:20px}
 .od-checklist__title,.od-checklist__new{font-size:var(--od-text-touch)} /* 16px: smaller makes iOS zoom in */
}

/* Dot's draft: a message Dot wrote on a task (a review ask, a supplier email, a change-order note) for you to send
   from your own phone or email. A quiet card: nothing leaves the business until you tap Text, Copy or Email, and it
   never uses the email budget. */
.od-draft{display:grid;gap:var(--od-space-2);padding:var(--od-space-3);border:1px solid var(--od-line);border-radius:var(--od-radius-md);background:var(--od-surface)}
.od-draft__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px var(--od-space-2);color:var(--od-muted);font-size:var(--od-text-xs)}
.od-draft__head b{color:var(--od-ink);font-size:var(--od-text-sm);font-weight:600}
.od-draft__body{margin:0;padding:var(--od-space-2) var(--od-space-3);border-radius:var(--od-radius-sm);background:var(--od-soft);color:var(--od-ink);font-size:var(--od-text-md);line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.od-draft__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2)}
.od-draft__actions>small{color:var(--od-faint);font-size:var(--od-text-xs)}
/* In a task's Activity: Dot's avatar on the left, the card in the text column. While its words are being changed the
   body is an od-input textarea. */
.od-activity__item>.od-draft{grid-column:2;margin-top:2px}
.od-draft>textarea.od-input{min-height:96px;resize:vertical;font-size:var(--od-text-md);line-height:1.5}
.od-draft__head time{color:var(--od-faint);font-variant-numeric:tabular-nums}

/* Sends when you have signal: a reply, photo or check made with no signal waits on the phone and goes by itself.
   Small and grey, never amber or red, because nothing is wrong; no spinner, because the thing is already saved.
   od-queued--photo sits on the corner of a photo. */
.od-queued{display:inline-flex;align-items:center;gap:6px;color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600;line-height:1.3;white-space:nowrap}
.od-queued::before{content:"";flex:none;width:10px;height:10px;box-sizing:border-box;border:1.5px dashed currentColor;border-radius:50%}
.od-queued--photo{position:absolute;left:6px;bottom:6px;max-width:calc(100% - 12px);padding:2px 6px;border-radius:var(--od-radius-sm);background:var(--od-surface);box-shadow:var(--od-shadow-sm);text-align:left;white-space:normal}

/* Inbox row: one alert. Unread rows have a blue dot and a bolder summary. The whole row opens the task (the summary
   link stretches over it); Clear (E) only takes it out of the Inbox and never marks the task done, Snooze (H) brings
   it back tomorrow at 7am. On a desktop the two buttons replace the time while the row is hovered or focused; in a
   narrow list (phones) they stay in view on the second line. Use od-inbox-item__icon instead of an avatar for alerts
   from Ownerday itself, like an automatic task that's ready. */
.od-inbox{container:od-list/inline-size;display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.od-inbox-item{position:relative;display:grid;grid-template-columns:8px 24px minmax(0,1fr) auto;grid-template-areas:"dot who sum end" "dot who task end";align-items:center;column-gap:var(--od-space-3);row-gap:2px;min-height:52px;padding:var(--od-space-2) var(--od-space-2) var(--od-space-2) var(--od-space-1);border-radius:var(--od-radius-sm);color:var(--od-ink)}
.od-inbox-item:hover,.od-inbox-item:focus-within{background:var(--od-soft)}
.od-inbox-item__dot{grid-area:dot;width:6px;height:6px;border-radius:50%;background:var(--od-blue);visibility:hidden}
.od-inbox-item.is-unread .od-inbox-item__dot{visibility:visible}
.od-inbox-item>.od-avatar,.od-inbox-item__icon{grid-area:who}
.od-inbox-item__icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--od-soft);color:var(--od-muted);box-shadow:inset 0 0 0 1px var(--od-line)}
.od-inbox-item__icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.od-inbox-item__summary{grid-area:sum;min-width:0;overflow:hidden;color:var(--od-ink);font-size:var(--od-text-md);font-weight:500;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
.od-inbox-item.is-unread .od-inbox-item__summary{font-weight:700}
.od-inbox-item__summary::after{content:"";position:absolute;inset:0;border-radius:var(--od-radius-sm)}
.od-inbox-item__summary:focus-visible{outline:0}
.od-inbox-item__summary:focus-visible::after{box-shadow:inset 0 0 0 2px var(--od-blue)}
.od-inbox-item__task{grid-area:task;min-width:0;overflow:hidden;color:var(--od-muted);font-size:var(--od-text-sm);text-overflow:ellipsis;white-space:nowrap}
.od-inbox-item__time{grid-area:end;justify-self:end;color:var(--od-faint);font-size:var(--od-text-xs);font-variant-numeric:tabular-nums;white-space:nowrap}
.od-inbox-item__actions{grid-area:end;position:relative;z-index:1;justify-self:end;display:flex;gap:var(--od-space-1);visibility:hidden}
.od-inbox-item:is(:hover,:focus-within) .od-inbox-item__actions{visibility:visible}
.od-inbox-item:is(:hover,:focus-within) .od-inbox-item__time{visibility:hidden}
@media (hover:none){.od-inbox-item:hover{background:none}}
@container od-list (max-width:480px){
 .od-inbox-item{grid-template-columns:8px 24px minmax(0,1fr) auto auto;grid-template-areas:"dot who sum sum time" "dot who task acts acts";min-height:60px}
 .od-inbox-item__time{grid-area:time}
 .od-inbox-item__actions{grid-area:acts}
 .od-inbox-item__actions,.od-inbox-item:is(:hover,:focus-within) .od-inbox-item__actions{visibility:visible}
 .od-inbox-item:is(:hover,:focus-within) .od-inbox-item__time{visibility:visible}
}

/* New-thing button (phones): one round + at the bottom right of a task screen, above the tab bar, that opens the
   composer. A desktop has the + in the page head and C instead, so it isn't shown there. One per screen. */
.od-fab{position:fixed;right:16px;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:45;display:grid;place-items:center;width:56px;height:56px;margin:0;padding:0;border:0;border-radius:50%;background:var(--od-blue);color:var(--od-surface);box-shadow:var(--od-shadow-md);cursor:pointer}
.od-fab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.od-fab:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
html.od-typing .od-fab{display:none}
@media (min-width:701px){.od-fab{display:none}}

/* Selection bar: what to do with the tasks you picked (X on a desktop, a long press on a phone). It floats at the
   bottom of the list with the count and a few small buttons; Clear lets go of the selection. */
.od-selectbar{position:sticky;bottom:var(--od-space-4);z-index:30;display:flex;flex-wrap:wrap;align-items:center;gap:var(--od-space-2);width:max-content;max-width:100%;margin:var(--od-space-4) auto 0;padding:var(--od-space-2) var(--od-space-2) var(--od-space-2) var(--od-space-4);border:1px solid var(--od-line-strong);border-radius:var(--od-radius-pill);background:var(--od-surface);box-shadow:var(--od-shadow-md);font-size:var(--od-text-sm)}
.od-selectbar>b{margin-right:var(--od-space-2);color:var(--od-ink);font-weight:600;font-variant-numeric:tabular-nums}
@media (max-width:700px){.od-selectbar{bottom:calc(84px + env(safe-area-inset-bottom,0px));border-radius:var(--od-radius-lg);width:auto}}

/* Messages with Ownerday. From Ownerday in the Inbox: an ask answered right in the row (od-inbox-item--ask, with
   od-inbox-item__body holding the words and the one-tap answers). The bell's count (od-bell__count). A conversation
   on Help (od-thread with od-msg bubbles; yours on the right). See /styleguide, "Messages with Ownerday". */
.od-inbox-item--ask{grid-template-areas:"dot who sum end" "dot who task end" "dot who body body";align-items:start;padding-top:var(--od-space-3)}
.od-inbox-item--ask .od-inbox-item__summary{white-space:normal}
.od-inbox-item__body{grid-area:body;position:relative;z-index:1;display:grid;gap:var(--od-space-2);padding:var(--od-space-1) 0 var(--od-space-2)}
.od-inbox-item__body p{margin:0;color:var(--od-text);font-size:var(--od-text-sm);line-height:1.5}
.od-inbox-item__answers{display:flex;flex-wrap:wrap;gap:var(--od-space-2);align-items:center}
.od-inbox-item__answers .od-input{flex:1 1 220px;min-width:0}
.od-inbox-item__done{color:var(--od-green);font-size:var(--od-text-sm);font-weight:600}
.od-inbox-item__icon--ownerday{background:var(--od-blue-soft);color:var(--od-blue);box-shadow:none}
@container od-list (max-width:480px){.od-inbox-item--ask{grid-template-areas:"dot who sum sum time" "dot who task acts acts" "dot who body body body"}}
.od-bell{position:relative}
.od-bell__count{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:var(--od-radius-pill);background:var(--od-blue);color:var(--od-surface);font-size:var(--od-text-xs);font-weight:700;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--od-surface);pointer-events:none}
.od-bell__count[hidden]{display:none}
.od-thread{display:flex;flex-direction:column;gap:var(--od-space-3);margin:0;padding:0;list-style:none}
.od-msg{max-width:min(560px,85%);padding:var(--od-space-3) var(--od-space-4);border-radius:var(--od-radius-lg);background:var(--od-soft);color:var(--od-ink);font-size:var(--od-text-md);line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.od-msg--you{align-self:flex-end;background:var(--od-blue-soft)}
.od-msg__meta{display:block;margin-bottom:var(--od-space-1);color:var(--od-muted);font-size:var(--od-text-xs);font-weight:600;white-space:normal}
/* The Help button at the top, beside the bell: the logo's blue mark and the word Help (hidden on narrow screens). */
.od-help-button{margin-left:auto;gap:var(--od-space-2);padding:0 var(--od-space-3)}
.od-help-button+.od-bell{margin-left:0}
.od-help-button img{display:block;width:20px;height:20px}
@media (max-width:900px){.od-help-button__label{display:none}.od-help-button{padding:0 var(--od-space-2)}}
/* A side panel over the right of the page (od-drawer): a modal dialog, so Escape closes it and focus stays inside.
   Full screen on phones. The Help panel (od-help-panel) is the first one. */
.od-drawer{position:fixed;inset:0 0 0 auto;width:min(420px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;border-left:1px solid var(--od-line);background:var(--od-surface);color:var(--od-ink);box-shadow:var(--od-shadow-md);display:flex;flex-direction:column}
.od-drawer:not([open]){display:none}
.od-drawer::backdrop{background:var(--od-scrim)}
.od-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-3);padding:var(--od-space-3) var(--od-space-4);border-bottom:1px solid var(--od-line)}
.od-drawer__head h2{display:flex;align-items:center;gap:var(--od-space-2);margin:0;font-size:var(--od-title-sm)}
.od-drawer__body{flex:1;overflow:auto;display:flex;flex-direction:column;gap:var(--od-space-5);padding:var(--od-space-4)}
.od-help-panel__section{display:grid;gap:var(--od-space-2)}
.od-help-panel__section>.od-btn--link{justify-self:start}
.od-help-panel__section .od-faq details>div p{margin:0 0 var(--od-space-2);color:var(--od-text);font-size:var(--od-text-sm);line-height:1.5}
.od-help-panel__ways{display:grid;gap:var(--od-space-2)}
.od-help-panel__ways .od-btn{justify-content:flex-start}
.od-help-panel__fine,.od-help-panel__none{margin:0;color:var(--od-muted);font-size:var(--od-text-sm);line-height:1.5}
.od-help-panel__convo{display:grid;grid-template-columns:1fr auto;gap:var(--od-space-1) var(--od-space-2);padding:var(--od-space-3);border:1px solid var(--od-line);border-radius:var(--od-radius-md);color:var(--od-ink);text-decoration:none}
.od-help-panel__convo:hover{background:var(--od-soft)}
.od-help-panel__convo small{grid-column:1/-1;color:var(--od-muted);font-size:var(--od-text-sm)}

/* ---------- The photo viewer, dark from edge to edge ----------
   One toolbar across the top (where you are; zoom, actions as rounded buttons with a word, Info, close), the photo, a
   strip of nearby photos, and the details as a dark panel that Info shows or hides. Scoped to #od-photo-viewer so
   Compare and Street View keep their own frames. */
#od-photo-viewer .od-viewer{--vw-text:var(--od-surface);--vw-muted:color-mix(in srgb,var(--od-surface) 62%,transparent);--vw-faint:color-mix(in srgb,var(--od-surface) 40%,transparent);--vw-fill:color-mix(in srgb,var(--od-surface) 9%,transparent);--vw-fill-2:color-mix(in srgb,var(--od-surface) 16%,transparent);--vw-line:color-mix(in srgb,var(--od-surface) 12%,transparent);grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:auto minmax(0,1fr);background:var(--od-night);color:var(--vw-text)}
#od-photo-viewer .od-viewer.is-bare{grid-template-columns:minmax(0,1fr)}
#od-photo-viewer .od-viewer__top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:var(--od-space-4);min-height:60px;padding:var(--od-space-2) var(--od-space-3) var(--od-space-2) var(--od-space-5);border-bottom:1px solid var(--vw-line)}
#od-photo-viewer .od-viewer__title{display:flex;align-items:baseline;gap:var(--od-space-3);min-width:0;white-space:nowrap}
#od-photo-viewer .od-viewer__title b{overflow:hidden;font-size:var(--od-text-lg);font-weight:600;text-overflow:ellipsis}
#od-photo-viewer .od-viewer__title span{color:var(--vw-muted);font-size:var(--od-text-sm);font-variant-numeric:tabular-nums}
#od-photo-viewer .od-viewer__tools{display:flex;align-items:center;gap:var(--od-space-2)}
#od-photo-viewer .od-viewer__zoom{display:flex;align-items:center;gap:2px;margin-right:var(--od-space-2);padding:2px;border-radius:var(--od-radius-pill);background:var(--vw-fill)}
#od-photo-viewer .od-viewer__zoom .od-viewer__btn{width:32px;height:32px;border:0}
#od-photo-viewer .od-viewer__zoom .od-viewer__btn--text{width:auto;min-width:52px;padding:0 var(--od-space-2);font-size:var(--od-text-sm);font-variant-numeric:tabular-nums}
#od-photo-viewer .od-viewer__pill{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 var(--od-space-3);border:0;border-radius:var(--od-radius-pill);background:var(--vw-fill);color:var(--vw-text);font:inherit;font-size:var(--od-text-sm);font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .15s}
#od-photo-viewer .od-viewer__pill svg{width:16px;height:16px}
#od-photo-viewer .od-viewer__pill:hover{background:var(--vw-fill-2)}
#od-photo-viewer .od-viewer__pill[aria-pressed="true"]{background:var(--vw-text);color:var(--od-night)}
#od-photo-viewer .od-viewer__pill:focus-visible,#od-photo-viewer .od-viewer__btn:focus-visible{outline:3px solid var(--od-focus);outline-offset:2px}
#od-photo-viewer .od-viewer__close{width:36px;height:36px;margin-left:var(--od-space-2);border:0;background:var(--vw-fill)}
#od-photo-viewer .od-viewer__close:hover{background:var(--vw-fill-2)}
#od-photo-viewer .od-viewer__stage{padding:var(--od-space-5) 72px 108px}
#od-photo-viewer .od-viewer__prev,#od-photo-viewer .od-viewer__next{border:0;background:var(--vw-fill)}
#od-photo-viewer .od-viewer__prev:hover,#od-photo-viewer .od-viewer__next:hover{background:var(--vw-fill-2)}
#od-photo-viewer .od-viewer__strip button{border-radius:var(--od-radius-sm);opacity:.55;transition:opacity .15s}
#od-photo-viewer .od-viewer__strip button:hover,#od-photo-viewer .od-viewer__strip button[aria-current="true"]{opacity:1}
/* The details: a dark panel whose fields read as text until you point at them. */
#od-photo-viewer .od-viewer__panel{gap:var(--od-space-5);padding:var(--od-space-5);border-left:1px solid var(--vw-line);background:color-mix(in srgb,var(--od-night) 88%,var(--od-surface));color:var(--vw-text)}
#od-photo-viewer .od-viewer__caption{color:var(--vw-text);font-size:var(--od-title-sm)}
#od-photo-viewer .od-viewer__caption::placeholder{color:var(--vw-faint)}
#od-photo-viewer .od-viewer__caption.od-input:hover,#od-photo-viewer .od-viewer__value:hover,#od-photo-viewer .od-viewer__tags.od-tagfield:hover{background-color:var(--vw-fill)}
#od-photo-viewer .od-viewer__caption.od-input:focus,#od-photo-viewer .od-viewer__value:focus,#od-photo-viewer .od-viewer__tags.od-tagfield:focus-within{border-color:var(--od-blue);background-color:var(--vw-fill)}
#od-photo-viewer .od-viewer__when{color:var(--vw-muted)}
#od-photo-viewer .od-viewer__props{border-top-color:var(--vw-line)}
#od-photo-viewer .od-viewer__props .od-props__label{color:var(--vw-muted)}
#od-photo-viewer .od-viewer__value.od-select,#od-photo-viewer .od-viewer__value.od-input,#od-photo-viewer .od-viewer__text,#od-photo-viewer .od-viewer__tags input{color:var(--vw-text);background-color:transparent}
#od-photo-viewer .od-viewer__value option{color:var(--od-ink)}
#od-photo-viewer .od-viewer__value::placeholder,#od-photo-viewer .od-viewer__tags input::placeholder{color:var(--vw-faint)}
#od-photo-viewer .od-viewer__panel .od-tag{background:var(--vw-fill-2);color:var(--vw-text)}
#od-photo-viewer .od-viewer__panel .od-btn--link,#od-photo-viewer .od-viewer__panel a{color:color-mix(in srgb,var(--od-blue) 60%,var(--od-surface))}
#od-photo-viewer .od-viewer__file,#od-photo-viewer .od-viewer__keys,#od-photo-viewer .od-viewer__keys summary{color:var(--vw-faint)!important}
#od-photo-viewer .od-viewer__note{color:color-mix(in srgb,var(--od-green) 70%,var(--od-surface))}
#od-photo-viewer .od-viewer__saving{color:var(--vw-muted)}
@media(max-width:760px){
 #od-photo-viewer .od-viewer{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto}
 #od-photo-viewer .od-viewer__top{padding:var(--od-space-2) var(--od-space-3);gap:var(--od-space-2)}
 #od-photo-viewer .od-viewer__title b{display:none}
 #od-photo-viewer .od-viewer__tools{overflow-x:auto;scrollbar-width:none}
 #od-photo-viewer .od-viewer__zoom{display:none}
 #od-photo-viewer .od-viewer__stage{padding:var(--od-space-3) var(--od-space-2)}
 #od-photo-viewer .od-viewer__panel{border-left:0;border-top:1px solid var(--vw-line)}
}

/* ---------- Type ----------
   One font (Manrope), one scale (--od-text-xs 12 · sm 13 · md 14 · lg 15 · --od-title-sm 18 · md 22 · lg 28) and four
   weights: 400 body, 500 meta, 600 labels, buttons and item titles, 700 headings. Bold text is always 700, never "bolder"
   than its parent (which would land on 900). Numbers that line up in columns use tabular figures. */
b,strong{font-weight:700}
.od-menu-item b,.od-menu-item strong{font-weight:600}
.od-num,.od-money,td.num,.num{font-variant-numeric:tabular-nums}
