/* Journey Reflections — application styles.
 *
 * LIFTED VERBATIM from Prototype/Journey Reflections Prototype.html. The
 * prototype's styling is the design and it is already correct: custom
 * properties for the type scale and spacing, the brand palette encoded
 * properly, sensible breakpoints. Nothing here has been "improved" — spacing,
 * type scale, colour and radii are byte-for-byte the prototype's.
 *
 * Only the prototype-only preview switch (#preview) was dropped. Additions the
 * real app needs and the prototype had no equivalent for are at the bottom,
 * clearly fenced.
 */
@import url("fonts.css");

*{box-sizing:border-box}
body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Barlow,sans-serif;background:#FBFAF5;color:#1B2021}
button{font:inherit;color:inherit}
img{display:block;max-width:100%}
@keyframes tfsPulse{0%,100%{opacity:.3}50%{opacity:1}}
.hatch{background:repeating-linear-gradient(135deg,#F1EFE6,#F1EFE6 9px,#EAE8DD 9px,#EAE8DD 18px)}
/* shared type + spacing tokens — one place to keep styles of the same role consistent */
:root{
  --fs-body:18px;      /* standard paragraph text within cards */
  --fs-subhead:21px;   /* section prompts / sub-questions (e.g. Experiencing) */
  --fs-title:18px;     /* entry heading (challenge title, etc.) */
  --fs-eyebrow:16px;   /* category label above an entry (practice name, etc.) */
  --fs-microhead:14px; /* small group labels (ROLES, POP-UPS, GRATITUDE) */
  --fs-ts:12px;        /* timestamps */
  --lh-body:1.55;
  --entry-pad:22px;
  --entry-radius:10px;
  /* Travel / Home / School tag colours, from the brand palette */
  --tag-travel-t:#2E7D4F; --tag-travel-bg:rgba(68,175,105,0.14);
  --tag-home-t:#2868D9;   --tag-home-bg:rgba(40,104,217,0.10);
  --tag-school-t:#A66A00; --tag-school-bg:rgba(255,174,25,0.20);
  --brand-red:#FF3A20;
}

/* ---- top bar ---- */
.topbar{display:flex;align-items:center;gap:28px;padding:14px 28px;border-bottom:1px solid rgba(27,32,33,0.10);background:#FFFDF7}
.topbar .logo{height:20px;width:auto}
.topbar .cap{font-size:14px;color:rgba(57,62,65,0.7)}
.topbar .spacer{flex:1}
.topbar .proto{font-size:12px;color:rgba(57,62,65,0.45);letter-spacing:.04em;text-transform:uppercase}

/* ---- layout ---- */
.container{max-width:820px;margin:0 auto;padding:32px 24px 96px;display:flex;flex-direction:column;gap:24px}
section.card{background:#FFFFFF;border:1px solid rgba(27,32,33,0.10);border-radius:14px;padding:36px 40px;display:flex;flex-direction:column}
section.card.header{padding:0;overflow:hidden}
h2{font-family:Merriweather,serif;font-weight:300;font-size:28px;line-height:1.25;letter-spacing:-0.02em;color:#1B2021;margin:0}
.divider{border-top:1px solid rgba(27,32,33,0.08);padding-top:32px;margin-top:22px;display:flex;flex-direction:column;gap:16px}
.subhead{font-family:Barlow;font-weight:500;font-size:var(--fs-subhead);line-height:1.35;color:#1B2021;margin:0}
.microhead{font-family:Barlow;font-weight:600;font-size:var(--fs-microhead);color:rgba(75,79,81,0.55);margin:0 0 4px;text-transform:uppercase;letter-spacing:0.8px}
.entry-title{font-family:Barlow;font-weight:600;font-size:var(--fs-title);line-height:1.4;color:#1B2021;margin:0}

/* ---- header ---- */
.cover{height:190px;border-bottom:1px solid rgba(27,32,33,0.08);position:relative;display:flex;align-items:center;justify-content:center}
.cover .edit,.avatar .edit{position:absolute;cursor:pointer}
.cover .edit{right:16px;bottom:16px;background:rgba(255,255,255,0.92);border:1px solid rgba(27,32,33,0.14);border-radius:100px;padding:6px 14px;font-size:12px;font-weight:600;color:#393E41}
.hdrbody{padding:0 40px 32px}
.hdrrow{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.avatar{width:104px;height:104px;border-radius:50%;margin:-52px 0 24px;border:4px solid #FFFFFF;box-shadow:0 2px 6px rgba(27,32,33,0.14);position:relative;overflow:hidden;background-size:cover;background-position:center}
.avatar .edit{inset:0;background:rgba(27,32,33,0.35);color:#fff;display:none;align-items:center;justify-content:center;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.avatar:hover .edit{display:flex}
.name{font-family:Merriweather,serif;font-weight:300;font-size:38px;line-height:1.2;letter-spacing:-0.02em;color:#1B2021;margin:0}
.pills{display:flex;gap:10px;padding-bottom:0;flex-wrap:wrap}
.hdr-ennea{margin-top:8px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.hdr-ennea .controls{margin-top:6px}
.hdr-ennea .form{width:320px;max-width:100%;margin-top:0}
.ennea-hist{display:flex;flex-direction:column;align-items:flex-end;gap:18px}
.ennea-row{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.pill{display:inline-flex;align-items:center;font-family:Barlow;font-size:12px;font-weight:600;letter-spacing:0.02em;border-radius:100px;padding:5px 13px}

/* ---- entry cards ---- */
.entry{border:1px solid rgba(27,32,33,0.10);border-radius:var(--entry-radius);padding:var(--entry-pad);display:flex;flex-direction:column;gap:8px;transition:opacity .2s}
.entry.pending{opacity:.5}
.entry.failed{border-color:#FF3A20;background:#FFF8F6}
.lead{font-family:Barlow;font-size:var(--fs-body);line-height:var(--lh-body);color:#393E41;margin:0}
.biglead{font-family:Merriweather,serif;font-weight:300;font-size:20px;line-height:1.45;color:#1B2021;margin:0}
.ts{font-family:Barlow;font-size:var(--fs-ts);line-height:1.5;color:rgba(57,62,65,0.5);margin:6px 0 0}
.loc-place{font-family:Barlow;font-size:24px;color:#1B2021}
.tag{display:inline-flex;align-items:center;align-self:flex-start;font-family:Barlow;font-size:11px;font-weight:600;letter-spacing:0.09em;text-transform:uppercase;border-radius:100px;padding:4px 11px}
.tag.travel{color:var(--tag-travel-t);background:var(--tag-travel-bg)}
.tag.home{color:var(--tag-home-t);background:var(--tag-home-bg)}
.tag.school{color:var(--tag-school-t);background:var(--tag-school-bg)}
.practice-name{font-family:Barlow;font-weight:600;font-size:var(--fs-eyebrow);line-height:1.4;letter-spacing:0.06em;text-transform:uppercase;margin:0}
.cardfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}
.cardfoot .ts{margin:0}
.histwrap{margin-top:0;display:flex;flex-direction:column;gap:16px}
.poplist{display:flex;flex-direction:column}
.poprow{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 0}
.poprow+.poprow{border-top:1px solid rgba(27,32,33,0.07)}
.saving{display:inline-flex;align-items:center;gap:6px;font-family:Barlow;font-size:12px;color:rgba(57,62,65,0.55)}
.saving .dot{width:6px;height:6px;border-radius:50%;background:#2868D9;animation:tfsPulse 1.1s ease-in-out infinite}

/* ---- controls ---- */
.controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:8px}
.lnk{font-family:Barlow;font-size:12px;font-weight:400;color:#2868D9;background:transparent;border:none;padding:0;cursor:pointer;white-space:nowrap}
.lnk:hover{opacity:.7}
.sep{font-family:Barlow;font-size:12px;color:rgba(40,104,217,0.35)}
.del{color:var(--brand-red)}
.err{font-family:Barlow;font-size:13px;color:#FF3A20}

/* ---- inline forms ---- */
.form{border:1px dashed rgba(40,104,217,0.4);border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:10px;margin-top:12px}
.form input,.form textarea{width:100%;font-family:Barlow;font-size:16px;color:#393E41;padding:10px 12px;border:1px solid rgba(40,104,217,0.5);border-radius:6px;background:#FFFDF7;outline:none}
.form textarea{min-height:84px;line-height:1.5;resize:vertical}
.form .row{display:flex;align-items:center;gap:12px;margin-top:8px}
.form select{width:100%;font-family:Barlow;font-size:16px;color:#393E41;padding:10px 12px;border:1px solid rgba(40,104,217,0.5);border-radius:6px;background:#FFFDF7;outline:none}
.btn{font-family:Barlow;font-size:14px;font-weight:600;color:#FFFDF7;background:#2868D9;border:none;border-radius:6px;padding:9px 18px;cursor:pointer}
.btn.ghost{color:rgba(57,62,65,0.6);background:transparent;padding:0}
.btn:disabled{opacity:.45;cursor:not-allowed}
.addbtn{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;font-family:Barlow;font-size:14px;color:#2868D9;background:transparent;border:none;padding:2px 0;cursor:pointer}
.addbtn .plus{font-size:16px;line-height:1}
.empty{font-family:Barlow;font-size:16px;line-height:1.5;color:rgba(57,62,65,0.5);margin:0}

/* photos */
.photobox{aspect-ratio:16/9;border:1px solid rgba(27,32,33,0.10);border-radius:6px;display:flex;align-items:center;justify-content:center;color:rgba(57,62,65,0.42);font-family:ui-monospace,Menlo,monospace;font-size:11px;background-size:cover;background-position:center}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}
.thumb{width:60px;height:60px;border:1px solid rgba(27,32,33,0.10);border-radius:4px;background-size:cover;background-position:center;cursor:pointer}
.thumb.sel{outline:2px solid #2868D9;outline-offset:1px;border-color:#2868D9}
.filepick{font-family:Barlow;font-size:13px;color:#2868D9;cursor:pointer}
.mainphoto{cursor:zoom-in}
/* lightbox gallery */
#lightbox{position:fixed;inset:0;z-index:60;background:rgba(20,20,20,0.86);display:flex;align-items:center;justify-content:center;padding:32px}
#lightbox img{max-width:90vw;max-height:82vh;border-radius:6px;box-shadow:0 10px 40px rgba(0,0,0,0.4)}
#lightbox .gnav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.9);border:none;border-radius:50%;width:44px;height:44px;font-size:22px;cursor:pointer;color:#1B2021}
#lightbox .gprev{left:24px} #lightbox .gnext{right:24px}
#lightbox .gclose{position:absolute;top:20px;right:24px;background:none;border:none;color:#fff;font-size:30px;cursor:pointer;line-height:1}
#lightbox .gcount{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);color:#fff;font-family:Barlow;font-size:13px;letter-spacing:.04em}

/* geocoder */
.geo-results{border:1px solid rgba(27,32,33,0.12);border-radius:6px;margin-top:2px;overflow:hidden}
.geo-item{padding:9px 12px;font-size:15px;cursor:pointer;border-bottom:1px solid rgba(27,32,33,0.06)}
.geo-item:last-child{border-bottom:none}
.geo-item:hover{background:#F4F1E8}
.tagpick{display:flex;gap:8px}
.tagopt{font-family:Barlow;font-size:13px;border-radius:100px;padding:6px 14px;cursor:pointer;border:1px solid rgba(27,32,33,0.18);background:transparent;color:rgba(57,62,65,0.7)}
.tagopt.on{background:#44AF69;border-color:#44AF69;color:#FFFDF7}

/* pop-ups */
.poptitle{font-family:Barlow;font-size:var(--fs-body);line-height:1.4;color:#393E41;margin:0}

/* tech break circle */
.daywrap{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.daycircle{flex:0 0 auto;width:96px;height:96px;border-radius:50%;background:#2868D9;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#FFFDF7}
.daycircle .n{font-family:Merriweather,serif;font-weight:300;font-size:38px;line-height:1}
.daycircle .l{font-family:Barlow;font-size:10px;font-weight:600;letter-spacing:0.14em;opacity:.85}

/* attendance */
.attrow{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.attnum{font-family:Merriweather,serif;font-weight:300;font-size:64px;line-height:.9;letter-spacing:-0.03em;color:#2868D9}
.attpct{font-family:Merriweather,serif;font-weight:300;font-size:30px;color:#2868D9}
.attcount{font-family:Barlow;font-weight:600;font-size:22px;color:#1B2021}
.attlbl{font-family:Barlow;font-size:11px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:rgba(57,62,65,0.45);margin-top:8px;display:block;text-align:right}
.bar{width:100%;height:10px;border-radius:100px;background:rgba(40,104,217,0.15);overflow:hidden;margin-top:18px}
.bar > div{height:100%;border-radius:100px;background:#2868D9}

/* thought shift */
.ts-block{display:flex;flex-direction:column;gap:8px}
.ts-label{font-family:Barlow;font-size:15px;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;margin:0}
.ts-text{font-family:Barlow;font-size:21px;line-height:1.5;margin:0}

/* coach notes */
.coachgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;border-top:1px solid rgba(27,32,33,0.08);padding-top:32px;margin-top:22px}
.coachcard{border:1px solid rgba(27,32,33,0.10);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:16px}
.coachquote{font-family:Merriweather,serif;font-weight:300;font-size:17px;line-height:1.6;color:#1B2021;margin:0}
.coachby{font-family:Barlow;font-size:12px;font-weight:600;letter-spacing:0.09em;text-transform:uppercase;color:rgba(57,62,65,0.5);margin:0}
.coachcard .lnk{align-self:flex-start;margin-top:-4px}

/* history */
.history{display:flex;flex-direction:column;gap:12px;margin-top:2px;padding-top:16px;border-top:1px dashed rgba(27,32,33,0.12)}
.h-item{display:flex;flex-direction:column;gap:2px}
.h-t{font-family:Barlow;font-size:15px;line-height:1.5;color:#393E41;margin:0}
.h-m{font-family:Barlow;font-size:12px;color:rgba(57,62,65,0.5);margin:0}

/* sign in */
#signin{position:fixed;inset:0;z-index:50;background:
    radial-gradient(1100px 520px at 12% -12%, rgba(90,210,244,0.12), transparent 60%),
    radial-gradient(900px 520px at 102% 112%, rgba(40,104,217,0.08), transparent 55%),#FFFDF7;
    display:flex;align-items:center;justify-content:center;text-align:center;padding:40px 24px}
#signin .panel{width:100%;max-width:520px;display:flex;flex-direction:column;align-items:center}
#signin .logo{height:28px;margin-bottom:40px}
#signin h1{font-family:Merriweather,serif;font-weight:300;font-size:40px;line-height:1.22;letter-spacing:-0.02em;margin:0 0 16px;white-space:nowrap}
#signin .sub{font-size:18px;color:#83878A;margin:0 0 30px}
#signin .gbtn{display:inline-flex;align-items:center;gap:14px;font-size:16px;font-weight:600;color:#fff;background:#2868D9;border:none;border-radius:4px;padding:15px 26px;cursor:pointer}
#signin .g{width:22px;height:22px;background:#fff;border-radius:3px;display:grid;place-items:center}

/* footer */
.footer{max-width:820px;margin:0 auto;padding:0 24px 48px;text-align:center;color:rgba(57,62,65,0.45);font-size:12px}
.footer button{background:none;border:none;color:#2868D9;cursor:pointer;font-size:12px;text-decoration:underline}

@media (max-width:560px){
  section.card{padding:28px 22px}
  .hdrbody{padding:0 22px 26px}
  .cover{height:130px}
  .name{font-size:30px}
  h2{font-size:24px}
  .attnum{font-size:52px}
}

/* ---------------------------------------------------------------------------
 * ADDITIONS — not in the prototype, required by the real app.
 * Each one styles something the prototype simulated or did not have.
 * ------------------------------------------------------------------------- */

/* ---- DELIBERATE DEPARTURES FROM THE PROTOTYPE -----------------------------
 * Each of these is a place where the prototype has the same problem, so it is
 * a change of design intent rather than a bug fix. Recorded in App Build Plan.md
 * so a later fidelity pass does not "correct" them back.
 * ------------------------------------------------------------------------- */

/* 1. "Journey Reflections" in the top bar: 400 -> 500. One step up the weight
 *    scale already in the self-hosted set (400/500/600/700). No new weight. */
.topbar .cap{font-weight:500;white-space:nowrap}

/* 1b. Hairline rule between the logo and the wordmark.
 *
 *  - Colour is the top bar's OWN border-bottom colour, rgba(27,32,33,0.10).
 *    No new colour.
 *  - Height is 20px — the logo's own height (.topbar .logo{height:20px}), so it
 *    is measured against the mark rather than the 14px text. Both sit on the
 *    same centre line because .topbar is align-items:center, which is what
 *    makes it read as optically centred on the logo.
 *  - The bar's flex gap moves 28px -> 14px, a value already in this file (the
 *    top bar's own vertical padding, and its mobile gap). Logo-to-wordmark
 *    stays 14 + 1 + 14 = 29px against the previous 28px, so the header rhythm
 *    is unchanged. No new spacing value. */
.topbar{gap:14px}
.topbar .tb-rule{flex:0 0 auto;width:1px;height:20px;background:rgba(27,32,33,0.10)}

/* 2. Space above a reflection prompt, made STATE-INDEPENDENT.
 *
 *    `.divider` is a flex column with gap:16px, so every child sat 16px below
 *    the last. The prototype padded its Practices and Community sub-blocks with
 *    a 10px spacer div, giving those 16+10+16 = 42px, but the three Experiencing
 *    prompts got only 16px — so they read as flush against the block above.
 *
 *    The spacer divs are gone; this rule replaces both mechanisms. Because the
 *    margin is on the prompt itself, the space above it is 42px whether the
 *    block above ended with an entry, a controls row, or an empty-state line.
 *    42px is the prototype's own sub-block rhythm, reused rather than invented.
 *    :not(:first-child) keeps the first prompt tight to the divider rule. */
.divider > .subhead:not(:first-child),
.divider > .microhead:not(:first-child){margin-top:26px}

/* 4. Coach Notes now sits inside `.divider` like every other card (see app.js).
 *    `.coachgrid` carries its own copy of the same border/padding/margin, which
 *    would double up inside a divider — neutralised here rather than by editing
 *    the lifted rule, so `.coachgrid` still stands alone if ever reused. */
.divider > .coachgrid{border-top:none;padding-top:0;margin-top:0}

/* 5. Gap above the footer text: 96px -> 48px, matching the 48px the footer
 *    already sets below itself. Reused value, not a new one. */
.container{padding-bottom:48px}

/* In-app browser guidance. Google OAuth refuses to run inside a WebView, so a
 * participant who opens a shared link from Instagram/WhatsApp/Messenger/Slack
 * cannot sign in at all. Replaces the Google button rather than sitting next
 * to it, because a button that dead-ends is worse than no button. */
#signin .webview{max-width:420px;border:1px solid rgba(27,32,33,0.14);border-radius:10px;background:#FFFFFF;padding:22px 24px;display:flex;flex-direction:column;gap:10px;text-align:left}
#signin .webview p{margin:0;font-family:Barlow;font-size:15px;line-height:1.55;color:#393E41}
#signin .webview .wv-head{font-weight:600;color:#1B2021}
#signin .webview .wv-url{font-family:ui-monospace,Menlo,monospace;font-size:12px;color:#2868D9;word-break:break-all;background:#F4F1E8;border-radius:6px;padding:8px 10px}

/* Sign-in headline on a phone.
 *
 * `Sign In Page.html` drops the headline to 32px and the logo to 24px below
 * 560px, but keeps `white-space:nowrap` from the desktop rule — so at 375px the
 * headline is still clipped at BOTH edges. Reproduced in the spec file itself,
 * so this is not a transcription error. Releasing nowrap on small screens is
 * the smallest change that honours the intent: one line where it fits, two
 * where it does not. Phones are the primary device and this is the first
 * screen every participant sees. */
@media (max-width:560px){
  #signin h1{font-size:32px;white-space:normal}
  #signin .logo{height:24px;margin-bottom:32px}
}

/* Sign-in error + the pre-Clerk loading state. */
#signin .signin-err{font-family:Barlow;font-size:14px;color:#FF3A20;margin:14px 0 0;max-width:420px}
#signin .booting{font-family:Barlow;font-size:14px;color:rgba(57,62,65,0.5)}

/* Loading skeleton.
 *
 * Shown only after a 250ms delay, so a warm cache (~100ms) renders with no
 * indicator at all — flashing something on a fast load makes the app feel
 * slower than showing nothing. It mirrors the page's own structure rather than
 * centring a spinner, so the shape of what is coming is already on screen and
 * the real content does not pop in.
 *
 * No new idiom: it reuses the card, border, radius and spacing values already
 * defined above, the .hatch pattern used by the empty cover and avatar, and
 * @keyframes tfsPulse — the same animation the "Saving" dot uses. The tint is
 * rgba(27,32,33,0.07), already used by .poprow borders. */
.skel{animation:tfsPulse 1.4s ease-in-out infinite}
.skel-bar{background:rgba(27,32,33,0.07);border-radius:6px;height:14px}
.skel-h2{background:rgba(27,32,33,0.07);border-radius:6px;height:28px;width:38%}
/* 46px is the rendered height of h1.name (38px Merriweather at line-height 1.2),
 * not the font size — matching the box is what keeps the cards below from
 * jumping when the real header replaces this one. 36px on mobile, where
 * .name drops to 30px. */
/* No margin-top: .avatar already contributes its own 24px bottom margin, the
 * same way it does for the real h1.name. */
.skel-name{background:rgba(27,32,33,0.07);border-radius:6px;height:46px;width:56%}
.skel-entry{border:1px solid rgba(27,32,33,0.10);border-radius:var(--entry-radius);padding:var(--entry-pad);display:flex;flex-direction:column;gap:10px}
/* 24px and the 100px radius are .pill's own rendered box, so the placeholder
 * wraps and stacks exactly as the real pills do. */
.skel-pill{display:inline-block;height:24px;border-radius:100px;background:rgba(27,32,33,0.07)}
@media (max-width:560px){
  .skel-h2{height:24px;width:52%}
  .skel-name{height:36px;width:72%}
}

/* Whole-page load failure (Notion down past the stale window, or offline). */
.page-error{font-family:Barlow;font-size:16px;line-height:1.6;color:#393E41;text-align:center;padding:48px 0}
.page-error button{margin-top:14px}

/* Topbar sign-out. The prototype's topbar ended at the "Prototype" caption;
 * the real app has to fit a participant name and a sign-out control after it. */
.topbar .who{font-size:13px;color:rgba(57,62,65,0.6);white-space:nowrap}
.topbar .signout{font-family:Barlow;font-size:13px;color:#2868D9;background:none;border:none;cursor:pointer;padding:0;white-space:nowrap}
.topbar .signout:hover{opacity:.7}
/* The logo must not be squeezed by the two extra items. Without this the
 * wordmark shrinks and the bar wraps onto two lines at 375px — verified. */
.topbar .logo{flex:0 0 auto}
@media (max-width:560px){
  /* The name is the page's H1 two centimetres below; repeating it in the bar
     is what pushed the row over the edge on a phone. Sign out stays. */
  .topbar{gap:14px;padding:14px 16px}
  .topbar .who{display:none}
  /* "Journey Reflections" measures 123px. With the 132px logo, Sign out, the
     three 14px gaps and 32px of padding the row needs 404px inside a 375px
     screen, and Sign out gets clipped. The logo already identifies the app on
     a phone, so the wordmark and its rule step aside there; the desktop
     treatment is untouched. Measured on the live deployment, not guessed. */
  .topbar .cap, .topbar .tb-rule{display:none}
}

/* Stale-data notice. The server serves a last-good payload when Notion is
 * unreachable; saying so quietly is better than showing old data as current. */
.stale-note{font-family:Barlow;font-size:12px;color:#A66A00;background:rgba(255,174,25,0.16);border-radius:6px;padding:8px 12px;text-align:center}
