/* ONE APP — the rebuild's shell and screens on the live app (owner Nov 9 1:53 PM). Everything here applies only under
   html.one; "Classic view" in Settings removes the class and the old shell is back untouched. */
html.one { --o-ink: #0F1B2D; --o-surface: #172538; --o-surface2: #1E2F46; --o-line: rgba(243, 238, 228, .12); --o-paper: #F3EEE4; --o-muted: #8E99AB; --o-gold: #D4B47A; --o-gold-ink: #0F1B2D; --o-red: #E07A6B; --o-green: #7FBF9A;
  --o-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --o-tabs: 54px; --o-floor: 124px; }
html.one[data-theme="light"] { --o-ink: #F6F2EA; --o-surface: #FFFFFF; --o-surface2: #F0EBE1; --o-line: rgba(15, 27, 45, .12); --o-paper: #1B2433; --o-muted: #5E6878; --o-gold: #A8862E; --o-gold-ink: #FFFFFF; --o-red: #B8463A; --o-green: #2E7D57; }
html.one, html.one body { font-family: var(--o-sans); }
html.one body { background: var(--o-ink); }

/* the top: the name, light/dark, and one door to everything else */
html.one header { background: var(--o-ink); border-bottom: 1px solid var(--o-line); padding: 10px 8px 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); flex-wrap: nowrap; }
html.one header .logo { font: 600 15px/1 var(--o-sans); letter-spacing: .14em; color: var(--o-gold); }
html.one header .logo b { font-weight: 600; color: inherit; }
html.one header .motto, html.one header .pill, html.one #menu-toggle, html.one .note-btn, html.one #note-fab, html.one #ticker, html.one #alert-stack, html.one #nav { display: none !important; }
html.one #one-more, html.one .theme-toggle { width: 40px; height: 40px; border: 0; background: none; color: var(--o-muted); font-size: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
html:not(.one) #one-more, html:not(.one) #one-tabs, html:not(.one) #one-toast { display: none !important; }

/* the page */
html.one .shell { display: block; }
html.one #main { max-width: 720px; margin: 0 auto; padding: 8px 16px calc(var(--o-floor) + 28px + env(safe-area-inset-bottom)); }
html.one #main::before { display: none !important; }
html.one .one-view { color: var(--o-paper); font: 15px/1.45 var(--o-sans); }
html.one .one-view h1 { font: 600 21px/1.25 var(--o-sans); margin: 16px 0 6px; letter-spacing: -.01em; color: var(--o-paper); }
html.one .one-view h2 { font: 600 13px/1.3 var(--o-sans); margin: 24px 0 6px; color: var(--o-muted); letter-spacing: .02em; text-transform: none; }
html.one .one-view .sr { position: absolute; left: -9999px; }
html.one .one-view .say { font: 400 16px/1.5 var(--o-sans); margin: 12px 0 6px; }
html.one .one-view .say strong { font-weight: 600; }
html.one .one-view .when { color: var(--o-muted); font-size: 13px; }
html.one .one-view .quiet { color: var(--o-muted); }
html.one .one-view .small { font-size: 13px; margin-top: 22px; }
html.one .one-view .empty { color: var(--o-muted); padding: 10px 0; margin: 0; }
html.one .one-view button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; padding: 0; }
html.one .one-view a { color: inherit; text-decoration: none; }
html.one .one-view button:focus-visible, html.one .one-view a:focus-visible, html.one .one-view input:focus-visible, html.one #one-tabs button:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
html.one .one-view .row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--o-line); background: none; border-radius: 0; margin: 0; justify-content: flex-start; }
html.one .one-view .row:last-child { border-bottom: 0; }
html.one .one-view .row .main { flex: 1; min-width: 0; display: block; }
html.one .one-view .row .title { font-weight: 500; overflow-wrap: anywhere; }
html.one .one-view .row .title.plain { font-weight: 400; }
html.one .one-view .row .sub { color: var(--o-muted); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
html.one .one-view .row.late .sub { color: var(--o-red); }
html.one .one-view .row .amt { font-variant-numeric: tabular-nums; color: var(--o-gold); white-space: nowrap; }
html.one .one-view .row.item .main { cursor: pointer; }
html.one .one-view .check { width: 24px; height: 24px; flex: none; border: 1.5px solid var(--o-muted); border-radius: 50%; margin-top: 1px; position: relative; }
html.one .one-view .check::after { content: ""; position: absolute; inset: -10px; }
html.one .one-view .check:active { background: var(--o-gold); border-color: var(--o-gold); }
html.one .one-view .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
html.one .one-view .chips.foot { margin-top: 22px; }
html.one .one-view .chip { padding: 7px 12px; border: 1px solid var(--o-line); border-radius: 999px; font-size: 13px; color: var(--o-paper); background: var(--o-surface); max-width: 100%; overflow-wrap: anywhere; display: inline-block; }
html.one .one-view .chip.primary { background: var(--o-gold); color: var(--o-gold-ink); border-color: var(--o-gold); font-weight: 500; }
html.one .one-view .chip.quiet { background: none; color: var(--o-muted); }
html.one .one-view .pill { font-size: 12px; font-weight: 400; color: var(--o-muted); border: 1px solid var(--o-line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; background: none; display: inline-block !important; }
html.one .one-view .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--o-surface2); display: inline-flex; align-items: center; justify-content: center; font: 500 13px/1 var(--o-sans); flex: none; }
html.one .one-view .search { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--o-line); background: var(--o-surface); color: var(--o-paper); font: 16px/1.3 var(--o-sans); margin: 10px 0 4px; }
html.one .one-view .search::placeholder { color: var(--o-muted); }
html.one .one-view mark { background: rgba(212, 180, 122, .35); color: inherit; border-radius: 2px; }
html.one .one-view .kind { font-size: 12px; color: var(--o-muted); width: 72px; flex: none; padding-top: 2px; }
html.one .one-view .tl .row { align-items: baseline; }
html.one .one-view .tl .day { font: 600 13px/1 var(--o-sans); color: var(--o-muted); margin: 18px 0 2px; }
html.one .one-view .back { display: inline-block; color: var(--o-muted); font-size: 13px; margin: 10px 0 -8px; padding: 6px 0; }
html.one .one-view .inline { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--o-line); }
html.one .one-view .more { color: var(--o-muted); font-size: 13px; padding: 10px 0; }
html.one #one-classic[hidden] { display: none !important; }

/* the floor: five places, and the Ask bar sitting on them */
html.one #one-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: none; justify-content: space-around; background: var(--o-ink); border-top: 1px solid var(--o-line); height: calc(var(--o-tabs) + max(env(safe-area-inset-bottom), 8px)); padding: 0 6px max(env(safe-area-inset-bottom), 8px); }
html.one.one-ready #one-tabs { display: flex; }
html.one #one-tabs button { flex: 1; min-width: 0; white-space: nowrap; border: 0; background: none; color: var(--o-muted); font: 500 13px/1 var(--o-sans); position: relative; cursor: pointer; }
html.one #one-tabs button[aria-current="page"] { color: var(--o-gold); }
html.one #one-tabs .dot { position: absolute; top: 12px; margin-left: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--o-red); }
html.one #cmd-bubble .rd-dock { left: 12px; right: 12px; width: auto; max-width: 696px; margin: 0 auto; bottom: calc(var(--o-tabs) + 8px + env(safe-area-inset-bottom)); background: var(--o-surface); border-color: var(--o-line); box-shadow: none; }
html.one #cmd-bubble .rd-dock { z-index: 45; }
html.one #cmd-bubble .rd-dock-orb { display: none; }
html.one .one-set { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
html.one .one-set button { padding: 8px 14px; border: 1px solid var(--o-line); border-radius: 999px; background: none; color: var(--o-paper); font: 500 14px/1.2 var(--o-sans); cursor: pointer; }
html.one #mate-whisper, html.one .mate-whisper { bottom: calc(var(--o-floor) + 6px + env(safe-area-inset-bottom)) !important; }

/* one quiet notice line: docked just above the floor, never over the page; the page makes room while it shows */
html.one #one-toast { position: fixed; left: 0; right: 0; bottom: calc(var(--o-floor) + env(safe-area-inset-bottom)); z-index: 43; display: flex; gap: 12px; align-items: baseline; justify-content: space-between; padding: 9px 16px; background: var(--o-ink); border-top: 1px solid var(--o-line); color: var(--o-muted); font: 13px/1.4 var(--o-sans); }
html.one #one-toast[hidden] { display: none; }
html.one #one-toast span { min-width: 0; overflow-wrap: anywhere; }
html.one #one-toast button { border: 0; background: none; color: var(--o-gold); font: 500 13px/1.4 var(--o-sans); cursor: pointer; flex: none; padding: 0 0 0 8px; }
html.one body.one-noticed #main { padding-bottom: calc(var(--o-floor) + 76px + env(safe-area-inset-bottom)); }
html.one body.rd-mate-open #one-toast { z-index: 60; bottom: env(safe-area-inset-bottom); }
html.one #note-toast { display: none !important; }

/* Strogis speaks in the same plain type as everything else (owner Nov 9 6:56 AM: "it seems loud… way too big") */
html.one.rd .mate-text { font-family: var(--o-sans); font-size: 15.5px; line-height: 1.55; letter-spacing: 0; }
html.one .heading { font: 600 21px/1.25 var(--o-sans); letter-spacing: -.01em; }
html.one .eyebrow { display: none; }
@media (min-width: 851px) { html.one #cmd-bubble .rd-dock { left: 12px; right: 12px; bottom: calc(var(--o-tabs) + 10px); } html.one #one-tabs { justify-content: center; } html.one #one-tabs button { flex: 0 0 132px; } }
@media (prefers-reduced-motion: reduce) { html.one * { transition: none !important; animation: none !important; } }
/* the floor is solid: page text never shows through between the Ask bar and the tabs */
html.one #one-tabs::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--o-floor) - var(--o-tabs)); background: var(--o-ink); border-top: 1px solid var(--o-line); }
html.one header .account-out { display: none; }
html.one.rd .mate-msg.user .mate-text { font-family: var(--o-sans); font-size: 15.5px; line-height: 1.5; }
html.one, html.one body, html.one header, html.one .shell, html.one #main { background: var(--o-ink) !important; }
html.one #one-more, html.one .theme-toggle { border: 0 !important; background: none !important; box-shadow: none !important; color: var(--o-muted) !important; }
html.one header .logo, html.one header .logo b { color: var(--o-gold) !important; }
/* round + and microphone (owner Nov 9 2:28 PM) */
html.one #cmd-bubble .rd-dock { padding: 6px 6px 6px 6px; gap: 6px; }
html.one #cmd-bubble .rd-dock .rd-dock-in { padding-left: 4px; }
html.one .one-plus, html.one .one-mic { width: 40px !important; height: 40px !important; min-width: 40px !important; flex: none; border-radius: 50% !important; border: 0 !important; background: var(--o-surface2) !important; color: var(--o-paper) !important; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; box-shadow: none !important; cursor: pointer; }
html.one .one-plus svg, html.one .one-mic svg { display: block; }
html.one.rd .mate-panel .cmd-row .one-send { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
html.one.rd .mate-panel .cmd-row .one-plus { order: 1; }
html.one.rd .mate-panel .cmd-row .one-mic { margin-left: auto; }
/* the top of the conversation: one quiet line (owner Nov 9 2:33 PM: "looks tacky and cumbersome") */
html.one.rd .mate-head { display: flex; align-items: center; gap: 2px; padding: 8px 8px 8px 18px !important; padding-top: calc(8px + env(safe-area-inset-top)) !important; border-bottom: 1px solid var(--o-line) !important; min-height: 0; }
html.one.rd .mate-head .mate-avatar, html.one.rd .mate-head .mate-live, html.one.rd .mate-head .mate-full-btn { display: none !important; }
html.one.rd .mate-head .mate-name { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
html.one.rd .mate-head .mate-name strong { font: 600 16px/1.2 var(--o-sans); color: var(--o-paper); letter-spacing: 0; }
html.one.rd .mate-head .mate-name .tiny { display: none; font: 400 13px/1.2 var(--o-sans); color: var(--o-muted); opacity: 1; }
html.one.rd .mate-head .mate-name .tiny.one-busy { display: inline; }
html.one.rd .mate-head .cmd-x { width: 40px; height: 40px; min-width: 40px; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 50%; background: none !important; color: var(--o-muted) !important; opacity: 1 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 0; }
html.one.rd .mate-head .cmd-x:active { background: var(--o-surface2) !important; }
@media (min-width: 851px) { html.one.rd .mate-head { padding-top: 8px !important; } }

/* Timeline title row with Refresh (owner Nov 9 6:03 PM) */
.one-view .one-tl-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.one-view .one-tl-head h1{margin-bottom:0}
.one-view .one-tl-when{margin:4px 0 12px;font-size:13px}
