/* When's Good? in the rd.rocks look (StyleGuide.rd.rocks, "Web pages"). Pages are always light:
   the mulberry paper wallpaper behind, white cards on top, the rd.rocks menu bar, Libre Franklin titles,
   Lato sentences, Lexend lowercase for names and labels, RD green accents and Button green pills. */
:root {
  --rd-green: #1E6B3A;      /* RD green: wordmark, numbers, rule under the title, focus */
  --btn: #0B7D4F;           /* Button green: fills with white labels */
  --btn-hover: #085F3B;
  --heading: #262626;       /* titles and headings */
  --subtitle: #24402F;      /* deep green ink */
  --lead: #404040;          /* intro and lead text */
  --blush: #E9DBE2; --icon-green: #498E63; --saffron: #E7903E; --navy: #10153A;
  --page: #F7F8F7;
  --surface: #FFFFFF;
  --surface-2: #F2F2F2;     /* gray box */
  --tip: #EDF3EF;           /* green box */
  --pill: #F2F2F2;          /* menu pills */
  --text: #000000;
  --text-2: #404040;
  --muted: #595959;
  --ink: #15171C;
  --border: #E2E2E2;
  --border-strong: #D9D9D9;
  --icon-border: #D9DCD4;
  --brand: var(--btn);
  --brand-strong: var(--rd-green);
  --brand-soft: #EDF3EF;
  --danger: #B3261E;
  --cell-empty: #FFFFFF;
  --cell-line: #D9D9D9;
  --cell-grey: repeating-linear-gradient(45deg, #ECECEC 0 4px, #F8F8F8 4px 8px);
  /* the paper card shadow rd.rocks uses */
  --shadow: inset 0 1px 0 #FFFFFF, -1px 2px 2px rgba(20, 30, 20, .08), -4px 8px 12px rgba(20, 30, 20, .07), -12px 22px 36px rgba(20, 30, 20, .07);
  --shadow-soft: 0 1px 4px rgba(0, 0, 0, .05);
  --radius: 14px;
  --font: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-title: "Libre Franklin", var(--font);
  --font-label: "Lexend", var(--font);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { position: relative; background: var(--page); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
/* mulberry paper wallpaper (green petals), the same paper rd.rocks sits on */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("https://rd.rocks/bg/mulberry-green-wall.webp") center top / 1236px auto repeat, var(--page); }
a { color: var(--brand-strong); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .4em; font-family: var(--font-title); color: var(--heading); }
h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
h2, h3 { font-weight: 700; }
h2 { font-size: 1.2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* menu bar: white, sticky, Lexend lowercase pills, round icon buttons, the four color bar under it */
.topband { position: sticky; top: 0; z-index: 20; background: var(--surface); box-shadow: var(--shadow-soft); }
.topbar { display: flex; align-items: center; gap: 10px; max-width: 1100px; margin: 0 auto; padding: 8px 16px; min-height: 56px; }
.home { display: flex; flex-direction: column; line-height: 1.05; padding-right: 12px; margin-right: 2px; border-right: 1px solid var(--border); text-decoration: none; color: var(--ink); }
.home b { font-family: var(--font-label); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.home small { font-family: var(--font-label); font-size: .72rem; color: var(--muted); }
.home:hover b { color: var(--rd-green); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--rd-green); font-family: var(--font-label); font-weight: 500; font-size: 1.08rem; text-transform: lowercase; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.topbar .spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--pill); color: var(--ink); border: 0; border-radius: 999px; padding: 7px 14px; font-family: var(--font-label); font-size: .9rem; text-transform: lowercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill:hover { background: #E6E6E6; text-decoration: none; }
.pill.solid { background: var(--btn); color: #FFFFFF; }
.pill.solid:hover { background: var(--btn-hover); }
.icon-btn { border: 1px solid var(--icon-border); background: var(--surface); color: var(--ink); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; flex: none; }
.icon-btn:hover { border-color: var(--btn); color: var(--btn); }
.tower-bar { display: flex; height: 3px; }
.tower-bar span { flex: 1; }
.tower-bar span:nth-child(1) { background: var(--blush); }
.tower-bar span:nth-child(2) { background: var(--icon-green); }
.tower-bar span:nth-child(3) { background: var(--saffron); }
.tower-bar span:nth-child(4) { background: var(--navy); }
@media (max-width: 560px) { .home { display: none; } .topbar .pill:not(.solid) { display: none; } }

main { max-width: 1100px; margin: 0 auto; padding: 22px 16px 60px; }
/* cards: white paper on the wallpaper */
.card, .hero, .event-head { background: linear-gradient(225deg, #FFFFFF 0%, #FDFDFB 40%, #F6F6F2 100%); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; margin: 0 0 20px; }
@media (max-width: 560px) { .card, .hero, .event-head { padding: 18px 16px; } }
.card > h2:first-child { padding-bottom: 8px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
/* page header: wordmark, big title, green rule, lead */
.hero { padding: 30px 34px 26px; }
.hero .wordmark, .event-head .wordmark { display: block; font-family: var(--font-label); font-weight: 500; font-size: .95rem; color: var(--rd-green); text-transform: lowercase; margin-bottom: 6px; }
.hero h1 { display: inline-block; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid var(--rd-green); max-width: 760px; }
.hero p { display: block; }
.hero p { color: var(--lead); margin: 0; max-width: 620px; font-size: 1.05rem; }

.field { margin: 0 0 22px; }
.field > label, .field > .label, .login-form label { display: block; font-family: var(--font-title); font-weight: 700; color: var(--heading); margin-bottom: 2px; }
.field .sub { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.input, .select { width: 100%; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #8A8A8A; }
.input:hover, .select:hover { border-color: #BFBFBF; }
.input:focus, .select:focus, .btn:focus-visible, .icon-btn:focus-visible, .chip:focus-visible, .seg button:focus-visible, .pill:focus-visible, .tab:focus-visible, .copy-link:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30, 107, 58, .28); border-color: var(--rd-green); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1 1 200px; }

/* Buttons from the style guide: solid (one main action), outline (secondary), neutral (page tools) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #0B7D4F; color: #FFFFFF; border: 2px solid #0B7D4F; border-radius: 999px; padding: 9px 20px; font-family: var(--font); font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { background: #085F3B; border-color: #085F3B; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.outline { background: #FFFFFF; color: #0B7D4F; border-color: #0B7D4F; border-radius: 6px; }
.btn.outline:hover { background: #EDF3EF; color: #085F3B; border-color: #085F3B; }
.btn.neutral, .btn.secondary { background: #FFFFFF; color: #262626; border-color: #D9D9D9; }
.btn.neutral:hover, .btn.secondary:hover { background: #F2F2F2; border-color: #BFBFBF; }
.btn.small { padding: 5px 14px; font-size: .9rem; }
.btn.google { color: #1F1F1F; }
.btn.google:hover { border-color: #4285F4; background: #FFFFFF; }
@media print { .btn, .icon-btn, .import-row, .controls { display: none !important; } }
.btn.big { padding: 12px 28px; font-size: 1.05rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand-strong); font-family: var(--font); text-decoration: underline; cursor: pointer; }

.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; background: var(--surface); padding: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 14px; cursor: pointer; font-family: var(--font-label); text-transform: lowercase; color: var(--text-2); border-radius: 999px; }
.seg button[aria-pressed="true"] { background: #0B7D4F; color: #FFFFFF; }

.error { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.warn { background: #FEF3E8; color: var(--text); border-left: 4px solid var(--saffron); border-radius: 6px; padding: 8px 12px; margin: 8px 0; font-size: .92rem; }
.tip { background: var(--tip); color: var(--text); border-radius: 6px; padding: 8px 10px; font-size: .9rem; }
.note { color: var(--muted); font-size: .9rem; }
.ok { color: var(--brand-strong); font-size: .9rem; }

/* date picker */
.cal { max-width: 420px; user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-title); font-weight: 700; color: var(--heading); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; touch-action: none; }
.cal-wd { text-align: center; font-size: .78rem; color: var(--muted); font-family: var(--font-label); text-transform: lowercase; padding: 2px 0; }
.cal-day { aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); cursor: pointer; font-size: .95rem; border: 1px solid transparent; }
.cal-day.other { opacity: .35; }
.cal-day.past { color: var(--muted); }
.cal-day.today { border-color: var(--rd-green); font-weight: 700; }
.cal-day.sel { background: #0B7D4F; color: #FFFFFF; }
.cal-day.pending-add { background: color-mix(in srgb, var(--brand) 60%, var(--surface-2)); color: #fff; }
.cal-day.pending-remove { background: var(--surface-2); color: var(--text); outline: 2px dashed var(--brand); }
.weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 520px; user-select: none; touch-action: none; }
.weekdays .cal-day { aspect-ratio: auto; padding: 14px 0; font-weight: 600; }

/* time range */
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; user-select: none; touch-action: none; margin: 6px 0; }
.hour { height: 34px; background: var(--surface-2); border-radius: 4px; cursor: pointer; }
.hour.sel { background: #0B7D4F; }
.hour-labels { display: grid; grid-template-columns: repeat(24, 1fr); font-size: .7rem; color: var(--muted); }
.hour-labels span { text-align: left; }
.time-summary { font-weight: 700; color: var(--subtitle); margin-top: 4px; }

/* event page */
.event-head { text-align: center; padding: 28px 26px 22px; }
.event-head h1 { display: inline-block; padding: 0 6px 10px; margin-bottom: 10px; border-bottom: 2px solid var(--rd-green); }
.event-head .meta { color: var(--subtitle); font-family: var(--font-title); font-size: .95rem; }
.event-head .note { margin: 10px 0 0; }
.share { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.copy-link { border: 1px dashed var(--rd-green); background: var(--tip); color: var(--brand-strong); border-radius: 999px; padding: 8px 18px; cursor: pointer; font-family: var(--font-label); text-transform: lowercase; max-width: 100%; overflow-wrap: anywhere; }
.login-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.login-form.no-pw { grid-template-columns: 1fr auto; }
@media (max-width: 640px) { .login-form, .login-form.no-pw { grid-template-columns: 1fr; } }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin: 0 0 14px; }
.board { padding-top: 10px; }
.tab { border: 0; background: none; padding: 10px 16px; font-family: var(--font-label); text-transform: lowercase; font-size: 1.02rem; color: var(--text-2); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: var(--brand-strong); border-color: var(--rd-green); font-weight: 500; }
.tab.disabled { opacity: .55; }

.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 10px 0; }
.import-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 12px 0; }
.panel { border: 0; border-radius: 10px; background: var(--surface-2); padding: 16px 18px; margin: 12px auto; max-width: 640px; }
.panel h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.panel .cal-list { max-height: 220px; overflow: auto; margin: 8px 0; }
.panel .cal-list label { display: flex; gap: 8px; align-items: center; padding: 3px 0; overflow-wrap: anywhere; }
.panel details { margin: 8px 0; }
.panel summary { cursor: pointer; font-weight: 700; color: var(--brand-strong); }
.panel ol { padding-left: 20px; margin: 6px 0; }
.opts { display: grid; gap: 8px; margin: 10px 0; font-size: .95rem; }
.opts label { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.opts .select { width: auto; padding: 4px 8px; }

.legend { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px 0; font-size: .9rem; }
.legend-bar { display: flex; height: 22px; width: min(320px, 70vw); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; }
.legend-bar div { flex: 1; }
.legend-bar div:hover { outline: 2px solid var(--text); outline-offset: -2px; }
.people { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0; }
.chip { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 4px 12px; cursor: pointer; font-family: var(--font-label); font-size: .92rem; }
.chip[aria-pressed="true"] { background: #0B7D4F; color: #FFFFFF; border-color: #0B7D4F; }
.info { text-align: center; color: var(--lead); font-size: .93rem; margin: 4px 0; }
.save-state { text-align: center; font-size: .88rem; color: var(--muted); min-height: 1.4em; }

/* availability grid */
.grid-wrap { overflow-x: auto; padding: 6px 2px 18px; }
.grid { display: flex; width: max-content; margin: 0 auto; user-select: none; }
.time-labels { display: flex; flex-direction: column; padding-top: 44px; margin-right: 6px; }
.time-label { height: 12px; font-size: .72rem; font-weight: 700; color: var(--lead); text-align: right; position: relative; min-width: 42px; }
.time-label span { position: absolute; right: 0; top: -.75em; white-space: nowrap; }
.row-gap { height: 14px; }
.col { display: flex; flex-direction: column; width: 58px; }
.col-head { height: 44px; text-align: center; font-size: .78rem; line-height: 1.2; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 4px; }
.col-head .d { color: var(--muted); font-family: var(--font-label); font-size: .72rem; text-transform: lowercase; }
.col-head .w { font-family: var(--font-title); font-weight: 700; font-size: .92rem; color: var(--heading); }
.cells { display: flex; flex-direction: column; border-left: 1px solid var(--cell-line); border-right: 1px solid var(--cell-line); border-bottom: 1px solid var(--cell-line); background: var(--cell-empty); }
.col:first-of-type .cells, .col-gap + .col .cells { border-radius: 6px 0 0 6px; }
.col + .col .cells { border-left: 0; }
.col-gap { width: 16px; }
.cell { height: 12px; background: var(--cell-empty); border-top: 1px solid var(--cell-line); touch-action: none; }
.cell.q { border-top-color: transparent; }
.cell.half { border-top-style: dotted; border-top-color: #CFCFCF; }
.cell.grey { background: var(--cell-grey); cursor: not-allowed; }
/* a paintbrush over everything you paint on (Thomas, 2026-11-28): your availability grid, and on a new event the dates,
   the days of the week and the hour bar. Microsoft's Fluent 3D paintbrush (MIT) recoloured: wood handle, green tip
   (choice 3 in bin/brush/choices). 20px, given to the browser as a 128px image (6.4x) so that a Mac with a larger pointer
   size scales it down, not up, and it stays sharp. Its tip, bottom left, is where it paints. */
.cell.editable, .cal-day, .hour { cursor: url("brush-green-20.png") 1 19, pointer; cursor: -webkit-image-set(url("brush-green-128.png") 6.4x) 1 19, pointer; cursor: image-set(url("brush-green-128.png") 6.4x) 1 19, pointer; }
.cell.on { background: #0B7D4F; }
.cell.pend-add { background: color-mix(in srgb, var(--brand) 65%, var(--cell-empty)); }
.cell.pend-remove { background: var(--cell-empty); }
.cell.hl { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 2px var(--navy); }
.cell.dim { opacity: .18; }
.cell-gap { height: 14px; border-left: 0; }

.tooltip { position: fixed; z-index: 30; pointer-events: none; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-left: 4px solid var(--icon-green); border-radius: 10px; box-shadow: 0 8px 24px rgba(20, 30, 20, .16); padding: 10px 12px; font-size: .88rem; max-width: 260px; }
.tooltip h4 { margin: 0 0 2px; font-size: .95rem; color: var(--rd-green); }
.tooltip .when { color: var(--muted); display: block; margin-bottom: 6px; }
.tooltip .names span { display: inline-block; margin: 0 6px 2px 0; }
.tooltip .names span.no { text-decoration: line-through; color: var(--muted); }

.recents { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.recents a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 14px; border: 1px solid var(--border); border-left: 5px solid var(--stripe, var(--icon-green)); border-radius: 10px; text-decoration: none; color: var(--text); background: var(--surface); }
.recents a span:first-child { font-family: var(--font-title); font-weight: 700; color: var(--brand-strong); }
/* card stripes repeat the four colors: blush, green, saffron, navy */
.recents li:nth-child(4n+1), .steps div:nth-child(4n+1) { --stripe: var(--blush); }
.recents li:nth-child(4n+2), .steps div:nth-child(4n+2) { --stripe: var(--icon-green); }
.recents li:nth-child(4n+3), .steps div:nth-child(4n+3) { --stripe: var(--saffron); }
.recents li:nth-child(4n+4), .steps div:nth-child(4n+4) { --stripe: var(--navy); }
.recents a:hover { border-color: var(--brand); }
.stats { display: flex; gap: 24px; flex-wrap: wrap; }
.stats > div { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 16px; color: var(--lead); }
.stats { justify-content: center; }
.stats b { font-size: 1.1rem; color: var(--rd-green); margin-right: 6px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.steps div { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--stripe); border-radius: 12px; padding: 14px 16px; color: var(--lead); font-size: .95rem; }
.steps b { display: block; font-family: var(--font-title); color: var(--heading); margin-bottom: 4px; }

dialog.settings { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); padding: 22px 24px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(20, 30, 20, .25); }
dialog.settings h2 { padding-bottom: 8px; border-bottom: 2px solid var(--rd-green); }
dialog.settings::backdrop { background: rgba(20, 30, 20, .28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.setting > span, .setting > label { font-family: var(--font-title); font-weight: 600; color: var(--heading); }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #262626; color: #FFFFFF; padding: 10px 16px; border-radius: 10px; z-index: 40; font-weight: 600; box-shadow: var(--shadow); }
footer { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 6px 16px 44px; }
footer .footnote { background: rgba(255, 255, 255, .88); color: var(--lead); font-size: .85rem; border-radius: 999px; padding: 6px 16px; max-width: 720px; }
footer .made { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 16px; font-size: .88rem; color: var(--lead); text-decoration: none; }
footer .made b { font-family: var(--font-label); font-weight: 500; color: var(--rd-green); text-transform: lowercase; }
footer .made:hover { border-color: var(--rd-green); }

/* Calendar connections */
.account-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; background: var(--surface-2); border-radius: 6px; padding: 8px 10px; margin: 6px 0 10px; font-size: .95rem; }
.account-line .grow { flex: 1; }
.apple-form { display: grid; gap: 12px; }
.apple-form .field { margin: 0; }
.apple-form .btn { justify-self: start; }
.check { display: flex; gap: 8px; align-items: center; }
.setting.connections { align-items: flex-start; }
#connections { display: grid; gap: 8px; justify-items: end; }
.conn { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }

/* Apple panel: four choices fit a phone by wrapping into a rounded box */
#apple-panel .seg { display: flex; flex-wrap: wrap; border-radius: 18px; max-width: 100%; }
#apple-panel .seg button { flex: 1 1 auto; white-space: nowrap; }
#shortcut-setup { margin: 10px 0; }
#shortcut-setup ol { padding-left: 1.3em; }
#shortcut-setup li { margin: 4px 0; }

/* what the Apple Shortcut sent back */
.sent { margin-top: 10px; font-size: .85rem; }
.sent summary { cursor: pointer; color: var(--heading); font-weight: 700; }
.sent pre { max-height: 220px; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin: 6px 0 0; font-size: .78rem; white-space: pre; }

/* the two shortcut steps, shown until the shortcut has answered once on this device */
.sc-steps { padding-left: 1.4em; margin: 10px 0; }
.sc-steps li { margin: 10px 0; }
.sc-steps li::marker { font-weight: 700; color: var(--heading); }
.sc-state { margin: 6px 0 10px; font-size: .92rem; color: var(--text-2); }
.sc-state .ok { color: var(--brand-strong); font-weight: 700; }

/* the word before Apple's sharing dialog, shown until the shortcut has answered once */
.sc-explain { border: 0; border-radius: 16px; padding: 22px 24px; max-width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.sc-explain::backdrop { background: rgba(20, 30, 20, .45); }
.sc-explain h3 { margin: 0 0 10px; font-family: var(--font-title); color: var(--heading); }
.sc-explain p { margin: 0 0 10px; line-height: 1.45; }
.sc-explain .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sc-explain .sc-done { display: flex; gap: 8px; align-items: center; font-size: .92rem; margin: 4px 0 0; cursor: pointer; }
/* the green * after "App-specific password", which opens the how-to, and the same * on the how-to (Thomas, 2026-11-29) */
.star, .star-link { color: var(--rd-green); font-weight: 800; }
.star-link { border: 0; background: none; padding: 0 2px; margin-left: 1px; cursor: pointer; font-size: 1.05em; line-height: 1; }
.star-link sup { font-size: .9em; }
.star-link:focus-visible { outline: 2px solid var(--rd-green); outline-offset: 2px; border-radius: 4px; }
