/* Owner desk: the Codex design (codex/property-owner-design 7b7e6fd, owner-preview/style.css) as the application's
   shell and its Today / Properties / property and unit / task / Upcoming screens. Same measures and colours; class
   names carry an od- prefix so the older screens' styles (app.css) never collide. Dark mode derives the same family. */
:root{--po-sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --po-mono:"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;--od-ink:#1c3734;--od-paper:#f4f3ee;--od-card:#fffefa;--od-line:#d9dfd4;--od-rule:#e2e5dc;--od-muted:#53645e;
  --od-small:#63736d;--od-cap:#57726a;--od-desk:#0a2138;--od-desk-text:#c2d5e5;--od-gold:#36ff00;--od-gold-mark:#36ff00;
  --od-feature:#103a5e;--od-feature-text:#c2d5e5;--od-tag:#e6edf4;--od-tag-text:#103a5e;--od-warm:#f7e6cb;
  --od-warm-text:#85551d;--od-btn:#103a5e;--od-btn-line:#b6c4d2;--od-primary:#0a2138;--od-hover:#157f05;
  --od-mark:#e8eede;--od-mark-text:#455c42;--od-crumb:#5d7167;--od-focus:#1f9b07;--od-field:#adbbb0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--od-ink:#e4ebe6;--od-paper:#0f1614;--od-card:#16201d;
  --od-line:#2a3833;--od-rule:#26332e;--od-muted:#a5b5ad;--od-small:#97a8a0;--od-cap:#94ada4;--od-desk:#071827;
  --od-feature:#0f2c47;--od-tag:#15304a;--od-tag-text:#c2d5e5;--od-warm:#3b2c14;--od-warm-text:#f0c27a;--od-btn:#c2d5e5;
  --od-btn-line:#3d4f48;--od-primary:#1d4f7a;--od-hover:#57e83a;--od-mark:#22302b;--od-mark-text:#c3d6c6;--od-crumb:#a5b5ad;
  --od-field:#3d4f48}}
:root[data-theme="dark"]{--od-ink:#e4ebe6;--od-paper:#0f1614;--od-card:#16201d;--od-line:#2a3833;--od-rule:#26332e;
  --od-muted:#a5b5ad;--od-small:#97a8a0;--od-cap:#94ada4;--od-desk:#071827;--od-feature:#0f2c47;--od-tag:#15304a;
  --od-tag-text:#c2d5e5;--od-warm:#3b2c14;--od-warm-text:#f0c27a;--od-btn:#c2d5e5;--od-btn-line:#3d4f48;--od-primary:#1d4f7a;
  --od-hover:#57e83a;--od-mark:#22302b;--od-mark-text:#c3d6c6;--od-crumb:#a5b5ad;--od-field:#3d4f48}

html,body{background:var(--od-paper)}
body.has-shell{color:var(--od-ink)}
/* Shell: the prototype's header, nothing else in it but the account menu. */
.od-header{background:var(--od-desk);color:#fff;display:flex;align-items:center;gap:46px;
  padding:16px max(5vw,calc((100vw - 1100px)/2));white-space:nowrap;position:relative;z-index:15}
.od-brand{display:flex;align-items:center;gap:10px;font:600 20px var(--po-sans);letter-spacing:-.02em;color:#fff}
.od-brand:hover{color:#fff;text-decoration:none}
.od-brand i{font:normal 24px var(--po-sans);color:var(--od-gold-mark)}
.od-logo{width:26px;height:26px;flex:none;display:block}
.od-nav{display:flex;gap:22px}
.od-nav a{color:var(--od-desk-text);padding:7px 0;border-bottom:2px solid transparent;font:16px/1.52 var(--po-sans)}
.od-nav a:hover{color:#fff;text-decoration:none}
.od-nav a[aria-current=page]{border-color:var(--od-gold);color:#fff}
.od-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.od-ask{font:600 14px var(--po-sans);color:#fff;border:1px solid #3d5f80;border-radius:7px;padding:10px 14px;background:transparent}
.od-ask:hover,.od-ask[aria-current=page]{color:#fff;background:#ffffff1a;text-decoration:none}
.od-header .account>summary{list-style:none;cursor:pointer}
.od-header .account>summary::-webkit-details-marker{display:none}
.od-header .avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffffff1a;color:#fff;
  font:700 15px var(--po-sans);box-shadow:inset 0 0 0 1px #3d5f80}
.od-header .menu-panel{color:var(--text);white-space:normal;min-width:270px;max-height:min(80vh,640px);overflow-y:auto}
.od-header .menu-panel>a{gap:10px}
.menu-search{padding:6px 8px 4px}.menu-search input{width:100%;min-height:40px;font-size:16px}
.has-shell .od-footer{padding-bottom:40px}
.od-env,.od-env.demo-db{max-width:1130px;margin:12px auto 0;padding:0 28px;font-size:13px;color:var(--od-warm-text);
  background:none;border:0;box-shadow:none;border-radius:0}
.od-env span{display:inline-block;background:var(--od-warm);border-radius:6px;padding:4px 10px}
.od summary.od-btn,.od .od-menu>summary{list-style:none}
.od summary.od-btn::before,.od summary.od-btn::-webkit-details-marker,.od .od-menu>summary::before{content:none;display:none}
.od-footer{width:100%;max-width:1130px;margin:auto auto 0;padding:40px 28px;font-size:11px;letter-spacing:.1em;color:#536863;
  display:flex;justify-content:space-between;border-top:1px solid #cdd5cd;text-align:left}
.od-footer span{letter-spacing:0}
.has-shell main{max-width:1130px;margin:0 auto;padding:40px 28px}
.has-shell main.od{font:16px/1.52 var(--po-sans);color:var(--od-ink)}

/* Content: hero, two columns, panels, the dark feature, one-line rows, tags, buttons, breadcrumb, property cards. */
.od a{color:inherit;text-decoration:none}
.od .od-cap{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:var(--od-cap);margin:0}
.od .od-hero{padding:14px 0 25px}
.od .od-hero h1,.od h1{font:600 clamp(34px,4.4vw,54px)/1.08 var(--po-sans);letter-spacing:-.035em;margin:10px 0;color:var(--od-ink)}
.od p{color:var(--od-muted);margin:6px 0 14px}
.od .od-cols{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:24px;align-items:start}
.od .od-cols>*{min-width:0}
.od .od-panel,.od .od-feature{background:var(--od-card);border:1px solid var(--od-line);border-radius:12px;margin-bottom:18px;padding:22px}
.od .od-feature{background:var(--od-feature);color:#fff;border:0;padding:26px}
.od .od-feature p,.od .od-feature .od-cap{color:var(--od-feature-text)}
.od .od-feature h2{color:#fff}
.od .od-feature .unit-tag{background:#ffffff1f;color:#fff;border-color:#ffffff40}
.od .od-feature a u{color:#fff}
.od h2{font:600 22px/1.25 var(--po-sans);margin:2px 0 14px;letter-spacing:-.015em;color:inherit}
.od h3{margin:3px 0;font-size:17px;font-family:var(--po-sans);font-weight:650}
.od .od-row,.od .od-prop{display:flex;align-items:center;gap:16px;padding:15px 0;border-top:1px solid var(--od-rule);color:inherit}
.od .od-row .od-end,.od .od-push{margin-left:auto;text-align:right}
.od small{display:block;color:var(--od-small);font-size:13px}
.od .od-row strong,.od .od-prop strong{display:block;font-weight:650;overflow-wrap:anywhere}
.od .od-row small,.od .od-prop small{overflow-wrap:anywhere}
.od .od-row:hover,.od .od-prop:hover{color:var(--od-hover);text-decoration:none}
.od .od-row>div{min-width:0}
.od .od-row-main{flex:1;min-width:0;display:block}
.od .od-row-main:hover{color:var(--od-hover)}
.od .od-work small .unit-tag{margin-left:4px;font-size:12px}
.od .od-set-unit{font:600 13px var(--po-sans);color:var(--od-btn);text-decoration:underline;text-underline-offset:3px;margin-right:8px;white-space:nowrap}
.od .od-end{display:flex;align-items:center;gap:6px;justify-content:flex-end;flex:none}
.od .od-end .od-btn{white-space:nowrap}
.od .od-arrow{font-size:21px}
.od .od-tag{display:inline-block;font-size:11px;letter-spacing:.035em;text-transform:uppercase;font-weight:750;
  background:var(--od-tag);color:var(--od-tag-text);padding:4px 8px;border-radius:5px;white-space:nowrap}
.od .od-warm{background:var(--od-warm);color:var(--od-warm-text)}
.od .od-tag-quiet{background:transparent;border:1px dashed var(--od-field)}
.od .od-btn,.od button.od-btn,.od summary.od-btn{font:600 14px var(--po-sans);color:var(--od-btn);border:1px solid var(--od-btn-line);
  background:var(--od-card);cursor:pointer;border-radius:7px;padding:10px 14px;display:inline-block;min-height:0;line-height:1.3}
.od .od-btn:hover{color:var(--od-hover);text-decoration:none;background:var(--od-card)}
.od .od-primary,.od button.od-primary,.od summary.od-primary{background:var(--od-primary);color:#fff;border-color:var(--od-primary)}
.od .od-primary:hover{background:var(--od-primary);color:#fff;filter:brightness(1.25)}
.od .od-feature .od-btn{color:#0a2138;background:#fffefa;border-color:#fffefa}
.od .od-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}
.od .od-crumb{display:flex;gap:7px;flex-wrap:wrap;color:var(--od-crumb);font-size:14px;margin:0}
.od .od-crumb a{text-decoration:underline;text-underline-offset:3px}
.od .od-mark{width:44px;height:44px;display:grid;place-items:center;flex:none;background:var(--od-mark);color:var(--od-mark-text);
  font:20px var(--po-sans);border-radius:9px}
.od .od-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.od .od-prop{border:1px solid var(--od-line);padding:17px;border-radius:9px;background:var(--od-card)}
.od .od-prop .od-arrow{margin-left:auto}
.od .od-empty{font-style:italic}
.od details{border-top:1px solid #dde2d8;padding:12px 0}
.od details.od-plain{border-top:0;padding:0}
.od summary{cursor:pointer;font-weight:600}
.od .od-panel>.od-row:first-of-type,.od .od-panel>h2+.od-row{border-top-color:var(--od-rule)}
.od .od-note{border-left:3px solid #b4813c;padding-left:12px}
.od .od-date{font:600 19px var(--po-sans);color:#486459;letter-spacing:-.01em}
.od .od-sub{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:var(--od-cap);margin:18px 0 0;padding-bottom:6px}
.od .od-sub:first-of-type{margin-top:4px}
.od label{font-weight:600}
.od input,.od textarea,.od select{font:inherit;border:1px solid var(--od-field);padding:9px;border-radius:6px;background:var(--od-card);color:inherit}
.od button:focus-visible,.od a:focus-visible,.od summary:focus-visible{outline:3px solid var(--od-focus);outline-offset:3px}
.od .od-inline{display:inline}
.od .od-link{background:none;border:0;color:var(--od-btn);font:600 14px var(--po-sans);padding:10px 4px;cursor:pointer;min-height:0}
.od .od-link:hover{background:none;color:var(--od-hover);text-decoration:underline}
.od .od-menu{position:relative;border:0;padding:0;display:inline-block}
.od .od-menu>summary{list-style:none}
.od .od-menu>summary::-webkit-details-marker{display:none}
.od .od-menu[open]>.od-menu-panel{position:absolute;z-index:20;left:0;top:calc(100% + 6px);min-width:240px;background:var(--od-card);
  border:1px solid var(--od-line);border-radius:10px;box-shadow:0 12px 30px #0f172a26;padding:6px;display:flex;flex-direction:column}
.od .od-menu-panel a,.od .od-menu-panel button{display:block;text-align:left;padding:10px 12px;border-radius:7px;font:15px var(--po-sans);
  background:none;border:0;color:inherit;width:100%;min-height:0}
.od .od-menu-panel a:hover,.od .od-menu-panel button:hover{background:var(--od-tag);color:inherit}
.od .od-menu-panel .presets{padding:4px 6px 0}
.od .od-menu-panel .preset-buttons{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 4px}
.od .od-menu-panel .preset-buttons button{width:auto;border:1px solid var(--od-btn-line);border-radius:7px;padding:8px 12px;font-weight:600;color:var(--od-btn)}
.od .od-presets{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.od .od-capture .quick{margin-top:12px}
.od .od-unit-tag{font-size:13px;color:var(--od-small)}
.od .od-dl{display:flex;flex-wrap:wrap;gap:6px 26px;margin:4px 0 8px}
.od .od-dl div{min-width:140px}
.od .od-dl dt{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:var(--od-cap)}
.od .od-dl dd{margin:2px 0 0;color:var(--od-ink)}
.od .od-records>details{border-top:1px solid var(--od-rule)}
.od .od-records>details>summary{font:600 18px var(--po-sans);min-height:44px;display:flex;align-items:center}
.od .od-records .group,.od .od-records .facts-panel{margin-top:10px}
/* Property and unit pages: bands instead of a tall sidebar. Work first and full width: the units as a compact grid of
   rows, then Open work, then Done. Operations band: Systems, agreements and visits in equal thirds; when Systems has
   many lines it takes two thirds and flows its lines into two columns, with agreements and visits stacked beside it.
   Panels in a band stretch to a common height, so there are no ragged gaps between them. */
.od #units .unit-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));column-gap:28px}
.od .od-band{display:grid;column-gap:24px;row-gap:0;align-items:stretch}
.od .od-band>*{min-width:0}
.od .od-band>.od-panel{display:flex;flex-direction:column}
.od .od-band>.od-panel>.od-actions:last-child,.od .od-band>.od-panel>.od-btn:last-child{margin-top:auto;align-self:flex-start}
.od .od-ops-wide>#systems>.od-actions{margin-top:12px}
.od .unit-fact small{display:inline}
.od .od-ops{grid-template-columns:repeat(3,minmax(0,1fr))}
.od .od-ops-wide{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.od .od-ops-wide>#systems{grid-row:1 / span 2}
.od .od-ops-wide.od-ops-cols .od-sys{column-count:2;column-gap:28px}
.od .od-sys>*,.od .od-sys .od-row,.od .od-sys details{break-inside:avoid}
.od .od-sys .od-sub{break-after:avoid}
.od .od-sys>:first-child,.od .od-sys .od-sub:first-child{margin-top:0}
.od .od-records>details.manage{margin-top:0}
.od .od-records>details.manage>summary,.od .od-records .manage-body{background:none;box-shadow:none;border-radius:0;padding-left:0;padding-right:0}
.od .od-records .manage-body{border-top:0}
@media (max-width:980px){
  .od .od-ops,.od .od-ops-wide{grid-template-columns:repeat(2,minmax(0,1fr))}
  .od .od-ops>#systems{grid-column:1 / -1;grid-row:auto}
}
.od .od-btn,.od button.od-btn,.od summary.od-btn{min-height:44px;display:inline-flex;align-items:center}
.od .od-link{min-height:44px}
.od .od-suggestion{border-top:1px solid var(--od-rule);padding:14px 0 4px}
.od .od-suggestion strong{display:block}
.od .od-suggestion .od-actions{margin:8px 0}
.od .od-ask-line{margin-top:16px}
.od .od-ask-line label{display:block;font-size:14px;margin-bottom:6px}
.od .od-ask-row{display:flex;gap:8px}
.od .od-ask-row input{flex:1;min-width:0}
.od .quick{max-width:100%}
.od .quick-opts{flex-wrap:wrap}
@media (max-width:700px){
  .od input,.od select,.od textarea{font-size:16px}
  .od-header .avatar{width:44px;height:44px}
  .od-ask{min-height:44px;display:inline-flex;align-items:center}
  .od-header{padding:12px 16px 0;gap:8px;flex-wrap:wrap}
  .od-brand{font-size:20px}
  .od-nav{order:3;width:100%;justify-content:space-around}
  .od-nav a{padding:10px 0}
  .od-env{padding:0 16px}
  .od .od-cols,.od .od-grid{grid-template-columns:1fr}
  .od .od-cols{gap:0}
  .has-shell main{padding:22px 16px}
  .od-footer{display:block;padding:20px 16px}
  .od-footer span{display:block;margin-top:5px}
  .od .od-panel,.od .od-feature{padding:17px}
  .od .od-hero{padding-bottom:16px}
  .od .od-row{gap:10px}
  .od .od-row .od-tag{font-size:10px;white-space:normal;text-align:center}
  .od .od-end{flex:0 1 auto;max-width:48%;flex-wrap:wrap;white-space:nowrap}
  .od .od-cols{grid-template-columns:minmax(0,1fr)}
  .od .od-band,.od .od-ops,.od .od-ops-wide{grid-template-columns:minmax(0,1fr)}
  .od .od-band>*{grid-column:1 !important;grid-row:auto !important}
  .od .od-ops-wide.od-ops-cols .od-sys{column-count:1}
}
/* Forms on the owner desk: one readable column, labels above fields, quiet help text, choices as tappable rows, and at
 most one small optional section. Shared by task, issue and other short forms (templates/ops/od_field.html). */
.od .od-form{max-width:720px}
.od .od-field{margin:0 0 20px;border:0;padding:0}
.od .od-field>label,.od .od-field>legend{display:block;font-weight:650;margin:0 0 7px;color:var(--od-ink);padding:0}
.od .od-field input:not([type=checkbox]):not([type=radio]),.od .od-field select,.od .od-field textarea{width:100%;min-height:46px;box-sizing:border-box}
.od .od-field textarea{min-height:96px}
.od .od-field .helptext{display:block;font-size:13px;color:var(--od-small);margin-top:6px}
.od .od-form .errorlist{list-style:none;padding:0;margin:0 0 6px;color:#a33a2a;font-weight:600;font-size:14px}
.od .od-choice>div{display:grid;gap:6px}
.od .od-choice label{display:flex;gap:10px;align-items:center;font-weight:500;padding:11px 13px;border:1px solid var(--od-line);
 border-radius:8px;background:var(--od-card);cursor:pointer;margin:0}
.od .od-choice label:has(input:checked){border-color:var(--od-primary);box-shadow:inset 0 0 0 1px var(--od-primary)}
.od .od-choice>div>div{display:contents}
.od .od-check{display:flex;gap:10px;align-items:flex-start;font-weight:600}
.od .od-check input{margin-top:4px;width:18px;height:18px;flex:none}
.od .od-check small{font-weight:400;margin-top:2px}
.od .od-context{border-bottom:1px solid var(--od-rule);padding-bottom:14px;margin:0 0 20px}
.od .od-context dd{overflow-wrap:anywhere}
.od .od-extras{margin:0 0 8px}
.od .od-extras>summary{min-height:44px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.od .od-extras[open]>summary{margin-bottom:14px}
.od .od-summary-note{font-weight:400;color:var(--od-small);font-size:14px}
.od .od-form>.od-actions{margin-top:18px}
.od .od-lead{font-size:18px;max-width:760px}
.od .od-lead p{color:var(--od-ink);margin:4px 0 8px}
.od .od-meta{font-size:14px;color:var(--od-small);margin:4px 0 6px}
.od .od-plain-text{font-weight:500}
.od .od-add-note>summary{margin-top:8px}
.od .od-add-note[open]>summary{display:none}
.od .od-context:empty{display:none}
.plain-details{margin:-4px 0 16px;font-size:14px}
.od .od-field-label{font-weight:650;color:var(--od-ink);margin:0 0 4px}
.od .od-presets{margin:0 0 20px}

/* Identity (2026-11-09), after RESP Mission Control in light mode: IBM Plex Sans for text and headings, IBM Plex Mono
   for small capitals (section labels, field names, status chips); one status palette used the same way everywhere;
   hairline borders and smaller radii. Self-hosted fonts (static/fonts, SIL OFL): no third-party requests. */
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2")}
:root{--serif:var(--po-sans);
  --po-urgent:#b42318;--po-attention:#94560f;--po-waiting:#5f4791;--po-done:#19734f;--po-info:#1f6584;--po-neutral:#56655f}
body{font-family:var(--po-sans);font-feature-settings:normal}
button,input,select,textarea{font-family:inherit}
/* Small capitals: section labels, field names, the footer. */
.od .od-cap,.od .od-sub,.od .od-dl dt,.od-footer{font-family:var(--po-mono);font-weight:500;letter-spacing:.12em}
.od .od-cap,.od .od-sub,.od .od-dl dt{font-size:11px}
/* Status chips: the record's own tone, as text colour on a faint tint of it with a hairline border. */
.od .od-tag{font:500 10.5px/1.25 var(--po-mono);letter-spacing:.06em;text-transform:uppercase;padding:4px 7px;border-radius:4px;
  color:var(--po-neutral);background:color-mix(in srgb,currentColor 7%,var(--od-card));border:1px solid color-mix(in srgb,currentColor 28%,transparent)}
.od .od-tag.od-warm,.od .od-tag.od-t-attention{color:var(--po-attention)}
.od .od-tag.od-t-urgent{color:var(--po-urgent)}
.od .od-tag.od-t-waiting{color:var(--po-waiting)}
.od .od-tag.od-t-done{color:var(--po-done)}
.od .od-tag.od-t-info{color:var(--po-info)}
.od .od-tag.od-tag-quiet{background:transparent;border-style:dashed}
.od .od-feature .od-tag{color:#fff;background:#ffffff14;border-color:#ffffff4d}
/* Cards, rows, controls: hairlines, tighter radii, the same 44 px touch height. */
.od .od-panel,.od .od-feature{border-radius:10px}
.od .od-prop{border-radius:8px}
.od .od-btn,.od button.od-btn,.od summary.od-btn{border-radius:6px;font-weight:600;letter-spacing:-.005em}
.od input,.od textarea,.od select{border-radius:6px}
.od .od-mark{border-radius:8px;font:600 18px var(--po-sans)}
.od .od-row strong,.od .od-prop strong{font-weight:600}
.od-nav a{font-weight:500}
.od-header .avatar{font-family:var(--po-sans)}
.od-brand{min-height:44px}   /* the logo is the way back to Today: a full touch target */
/* The older screens (app.css) share the identity: their serif headings become semibold Plex Sans. */
h1,h2,.brand,.page-head h1,.desk-hero h1,.identity h1,.task-head h1,.hero-card h1,.desk-panel>h2,.desk-panel>details>summary{font-weight:600}
input::placeholder,textarea::placeholder{font-family:var(--po-sans)}

/* Task and issue priority (Normal shows no tag). Urgent is filled so it reads apart from date tags. */
.od .od-tag.od-prio-urgent{color:#fff;background:var(--po-urgent);border-color:var(--po-urgent)}
.od .od-tag.od-prio-high{color:var(--po-attention);font-weight:700}
.od .od-tag.od-prio-low{color:var(--po-neutral);border-style:dashed}

/* List bars: actions and search on one row, the sort choice beside or under them (Properties, Open tasks). */
.od .od-listbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:12px 0 16px}
.od .od-listbar>.od-actions{margin:0;flex-wrap:nowrap}
.od .od-search{display:flex;gap:8px;align-items:stretch;margin:0;flex:1 1 auto;min-width:0}
.od .od-search input{flex:1 1 220px;min-width:0;width:auto;min-height:44px;box-sizing:border-box;margin:0}
.od .od-search .od-btn{flex:none}
.od .od-sort{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.od .od-sort .od-btn{min-height:38px;padding-top:0;padding-bottom:0}
.od .od-sort-label{font-size:13px;color:var(--od-cap);margin-right:2px}
.od .od-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.od .od-filters select{min-height:40px;width:auto;max-width:100%;margin:0}
.od .od-clear{font-size:14px}
@media (max-width:640px){
  .od .od-listbar{flex-direction:column;align-items:stretch}
  .od .od-listbar>.od-actions{flex-wrap:wrap}
  .od .od-listbar>.od-actions>.od-btn{flex:none}
  .od .od-search{flex:1 1 100%}
  .od .od-filters select{flex:1 1 140px}
}

/* Tasks: Open / Completed / All, then completed rows (when, note, cost) with Reopen and Add details. */
.od .od-views{display:flex;gap:6px;margin:4px 0 4px;flex-wrap:wrap}
.od .od-views .od-btn{min-height:40px;display:inline-flex;align-items:center;gap:6px}
.od .od-count{font-size:12px;font-weight:700;opacity:.75}
.od .od-done-note{font-style:italic;margin-top:2px}
.od .od-done-end{flex-direction:column;align-items:flex-end;gap:6px}
.od .od-done-when{font-size:13px;color:var(--od-small);white-space:nowrap}
.od .od-done-actions{display:flex;align-items:center;gap:8px}
.od .od-done-actions .od-set-unit{margin-right:0}
.od .od-more{margin:14px 0 0;text-align:center}
@media (max-width:640px){
  .od .od-views .od-btn{flex:1 1 0;justify-content:center}
  .od .od-done-row{flex-wrap:wrap;gap:8px}
  .od .od-done-row>.od-row-main{flex:1 1 100%}
  .od .od-done-row>[aria-hidden]{display:none}
  .od .od-done-end{flex-direction:row;flex:1 1 100%;justify-content:space-between;align-items:center}
}

/* The property page's More menu, in four small groups. */
.od .od-menu-grouped{max-height:min(70vh,560px);overflow-y:auto}
.od .od-menu-group{margin:8px 12px 2px;font:600 11px var(--po-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--od-cap)}
.od .od-menu-group:first-child{margin-top:2px}
.od .od-panel-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.od .od-head-link{font-size:14px;font-weight:600}
.od .od-panel-head+.od-row{border-top-color:var(--od-rule)}

/* Routes to sorting: Today's "All open tasks by" strip, and the Properties page's pointer to tasks. */
.od .od-today-sort{margin:4px 0 18px}
.od .od-crosslink{margin:-6px 0 14px;font-size:14px;color:var(--od-cap)}
@media (max-width:640px){ .od-nav{gap:0} .od .od-today-sort .od-btn{flex:1 1 0;justify-content:center} .od .od-today-sort .od-sort-label{flex-basis:100%} }

/* Priority accent (separate from status): a red or amber edge on Urgent and High work. Status keeps its own
   outlined tag colours: red overdue, amber due/follow-up, purple waiting, green done. */
.od .od-row.od-accent-urgent,.od .od-row.od-accent-high{box-shadow:inset 3px 0 0 var(--po-urgent);padding-left:12px}
.od .od-row.od-accent-high{box-shadow:inset 3px 0 0 #d97706}
.od .od-tag.od-prio-high{color:#92400e;background:#fef3c7;border-color:#f59e0b}
.od .od-feature .od-tag.od-prio-urgent{color:#fff;background:var(--po-urgent);border-color:#fff6}
.od .od-feature .od-tag.od-prio-high{color:#92400e;background:#fef3c7;border-color:#f59e0b}

/* Delete: the one destructive button, and its entry in a More menu. */
.od .od-btn.od-danger{background:var(--po-urgent);border-color:var(--po-urgent);color:#fff}
.od .od-menu-panel a.od-menu-danger{color:var(--po-urgent);border-top:1px solid var(--od-rule);margin-top:4px}
@media (max-width:640px){ .od .od-today-sort .od-btn{white-space:nowrap;font-size:14px;padding-left:6px;padding-right:6px} }
/* Phones: an open menu is a sheet along the bottom edge, so it never runs past the screen (a panel anchored at its
 * button overflowed on the right, widened the page and put taps on the column beside it). */
@media (max-width:640px){ .od .od-menu[open]>.od-menu-panel{position:fixed;left:12px;right:12px;top:auto;bottom:calc(12px + env(safe-area-inset-bottom, 0px));min-width:0;max-width:none;max-height:70vh;overflow-y:auto;z-index:60;box-shadow:0 8px 32px rgba(0,0,0,.28)} }
/* Phones: sort buttons are full touch targets (44 px), like every other button. */
@media (max-width:640px){ .od .od-sort .od-btn{min-height:44px} }
