@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/syne-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/syne-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/syne-greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Figtree', -apple-system, system-ui, sans-serif; background: radial-gradient(1200px 600px at 10% -10%, #cfe3db 0%, transparent 55%), radial-gradient(900px 500px at 100% 0%, #f0d7c4 0%, transparent 45%), linear-gradient(180deg, #eef4f1 0%, #e9efeb 40%, #dde8e2 100%); color: #22302a; display: flex; justify-content: center; padding: 24px; min-height: 100vh; }
.card { width: 100%; max-width: 720px; padding: 0; }
h1 { margin: 0 0 4px; font-size: 1.75rem; font-family: 'Syne', 'Figtree', -apple-system, system-ui, sans-serif; letter-spacing: -0.01em; }
h2, #board-greeting { font-family: 'Syne', 'Figtree', -apple-system, system-ui, sans-serif; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 18px 0 10px; }
h3 { font-size: 0.9375rem; margin: 18px 0 8px; color: #4b5a53; }
.tag { margin: 0 0 20px; color: #5c6b64; }
label { display: block; font-size: 0.8125rem; color: #4b5a53; margin-bottom: 14px; }
input { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 10px; font-size: 1rem; border-radius: 8px; border: 1px solid #c9d4ce; background: #fff; color: #22302a; }
.row { display: flex; gap: 12px; } .row label { flex: 1; }
button { width: 100%; padding: 14px; font-size: 1.125rem; font-weight: 700; border: 0; border-radius: 10px; background: #e0561f; color: #fff; cursor: pointer; }
.chip { width: auto; padding: 8px 16px; font-size: 0.875rem; border-radius: 999px; background: #e3eae6; color: #22302a; margin-top: 14px; }
.hidden { display: none; }
.brief ol, .brief ul { padding-left: 20px; margin: 0; }
.brief li { padding: 4px 0; font-size: 0.875rem; }
.hookbox { background: #f2f6f4; border-left: 3px solid #e0561f; border-radius: 8px; padding: 12px 14px; }
.hooklabel { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: #c2481a; }
.hookbox p { margin: 6px 0 0; font-size: 1.062rem; line-height: 1.4; }
#bcta { font-size: 0.9375rem; font-weight: 600; }
.trend-examples { margin: 14px 0 4px; padding: 12px 14px; background: #f2f6f4; border-radius: 8px; border: 1px solid #dde5e0; }
.trend-examples-list { list-style: none; padding: 0; margin: 6px 0 0; }
.trend-examples-list li { padding: 6px 0; border-bottom: 1px solid #dde5e0; font-size: 0.875rem; }
.trend-examples-list li:last-child { border-bottom: 0; }
.trend-examples-list a { color: #c2481a; text-decoration: none; font-weight: 600; }
.trend-examples-list a:hover { text-decoration: underline; }
@media print {
  .trend-examples { background: #fff; border-color: #5c6b64; break-inside: avoid; }
  .trend-examples-list a { color: #000; }
  .trend-examples-list a::after { content: ' (' attr(href) ')'; font-weight: 400; font-size: 0.8rem; word-break: break-all; }
}
.admin-card .admin-trend-list li { align-items: flex-start; flex-direction: column; gap: 4px; }
.admin-trend-meta { font-size: 0.875rem; line-height: 1.45; }
.admin-trade-group { margin-top: 18px; }
.admin-home-link { color: #c2481a; }
.saved { list-style: none; padding: 0; margin: 0; }
.saved li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #dde5e0; }
.saved .empty { display: block; color: #4b5a53; font-size: 1rem; line-height: 1.5; padding: 18px; border: 1px solid #dde5e0; border-radius: 16px; background: #ffffff; box-shadow: 0 1px 3px rgba(20,36,40,0.05); }
.savedopen { flex: 1; width: auto; text-align: left; background: none; border: 0; color: #22302a; font-size: 0.9375rem; font-weight: 600; padding: 8px 0; }
.saveddel { width: auto; background: #eef2f0; border: 0; color: #64746d; border-radius: 999px; padding: 6px 12px; font-size: 0.8125rem; }
#savebrief, #copybrief, #printbrief { margin-left: 8px; }
@media print {
  body { background: #fff; color: #000; padding: 0; }
  .card { background: #fff; max-width: 100%; padding: 0; }
  form, .chip, #weekplan, #saved, .tag { display: none !important; }
  .brief.hidden { display: block !important; }
  .hookbox { background: #fff; border-left-color: #000; }
  .hooklabel { color: #000; }
}

.shotcheck { margin-top: 14px; }
.shotprogress { font-size: 0.875rem; font-weight: 600; color: #c2481a; margin-bottom: 8px; }
.shotlist { list-style: none; padding: 0; margin: 0; }
.shotlist li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid #dde5e0; font-size: 0.9375rem; }
/* min-height must beat the global input rule's 44px or the checkbox
   stretches into a tall empty box with the glyph marooned at the top. */
.shotlist input[type="checkbox"] { width: 1.25rem; height: 1.25rem; min-height: 1.25rem; margin: 0; flex: none; }
.shotlist .done { text-decoration: line-through; color: #64746d; }
#shotreset { margin-top: 10px; }

.streak { font-size: 0.875rem; font-weight: 600; color: #b25e09; margin: 10px 0 0; }

.savedprog { display: block; font-size: 0.75rem; font-weight: 400; color: #c2481a; margin-top: 2px; }
.savedprog.complete { color: #2e7d32; }

.note { color: #64746d; font-size: 0.8125rem; line-height: 1.5; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid #b25e09; outline-offset: 3px; }
@media(max-width:480px) { body { padding: 12px; } .card { padding: 20px; } .row { flex-direction: column; gap: 0; } }

.shotlist label { color: inherit; margin: 0; cursor: pointer; font-size: inherit; }
.brief, .savedopen, .note { overflow-wrap: anywhere; }
@media print {
  .note, .shotcheck, #week, .library-heading, #savestatus, #streak, #filmedstatus, #formstatus { display: none !important; }
  h3 { color: #000; }
  .brief.hidden { display: none !important; }
  .brief { break-inside: auto; }
  .hookbox { break-inside: avoid; }
}

[hidden] { display: none !important; }
#account { border: 1px solid #dde5e0; border-radius: 12px; padding: 14px; margin-bottom: 22px; background: #fff; }
#account h2 { margin-top: 0; }
#account p { font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
@media print { #account { display: none !important; } }

#password-recovery { border: 1px solid #dde5e0; border-radius: 12px; padding: 14px; margin-bottom: 22px; background: #fff; }
#password-status { font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
@media print { #password-recovery { display: none !important; } }

/* Comfortable phone targets, including compact action pills and library removal. */
.chip, .saveddel, .savedopen { min-height: 44px; }
.saveddel { min-width: 44px; flex-shrink: 0; }
#btitle { scroll-margin-top: 16px; }

.savedcontext { display: block; margin: 4px 0; color: #4b5a53; font-size: 0.75rem; font-weight: 400; line-height: 1.45; }
.savedopen { min-width: 0; }

/* The whole shot row toggles its checkbox, including the gap and padding. */
.shotlist label { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; width: 100%; padding: 2px 0; }

#account-toggle { min-height: 44px; display: list-item; cursor: pointer; padding: 11px 0; font-size: 0.875rem; font-weight: 600; }
#account-toggle:focus-visible { outline: 2px solid #b25e09; outline-offset: 3px; }
#account-status:empty { display: none; }

/* One interactive shot list on screen; plain directions remain in print. */
#shot-list-title, #bshots { display: none; }
@media print { #shot-list-title, #bshots { display: block; } }

#week-title { scroll-margin-top: 16px; }

#brief-save-status { font-size: 0.8125rem; line-height: 1.5; margin: 8px 0 0; overflow-wrap: anywhere; }
#brief-save-status:empty { display: none; }
@media print { #brief-save-status { display: none !important; } }

/* A visible filming checkpoint, without changing saved checklist semantics. */
.shotmeter { height: 8px; border-radius: 99px; overflow: hidden; background: #dde5e0; margin: 10px 0 12px; }
.shotmeter span { display: block; height: 100%; border-radius: inherit; background: #e0561f; }
.shotmeter.complete span { background: #2e7d32; }
.shotnext { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #e0561f14; color: #8c3a16; font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.shotnext:empty { display: none; }
.shotnext.complete { background: #2e7d3214; color: #2e7d32; }

.savedsearchrow { display: flex; align-items: center; gap: 8px; }
#saved-search-controls { margin: 12px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#saved-search-controls label { margin: 0 0 5px; }
#saved-search { min-width: 0; margin: 0; min-height: 44px; flex: 1; }
#saved-search-clear { margin: 0; flex: none; }
#saved-search-count { margin: 8px 0 0; font-size: 0.75rem; color: #64746d; }
@media print { #saved-search-controls { display: none !important; } }

.savedhook { display: block; margin: 7px 0; font-size: 0.875rem; font-weight: 400; line-height: 1.5; color: #22302a; }

#copy-recovery { margin: 14px 0; padding: 14px; border: 1px solid #dde5e0; border-radius: 12px; }
#copy-recovery label { margin: 0 0 8px; line-height: 1.5; }
#copy-text { width: 100%; resize: vertical; min-height: 180px; padding: 10px; border: 1px solid #c9d4ce; border-radius: 8px; background: #fff; color: #22302a; font: inherit; font-size: 1rem; line-height: 1.5; }
#copy-text:focus-visible { outline: 2px solid #b25e09; outline-offset: 3px; }
@media print { #copy-recovery { display: none !important; } }

#gen input[aria-invalid="true"] { border-color: #b3261e; }
#formstatus:not(:empty) { color: #b3261e; font-size: 0.8125rem; line-height: 1.5; }

#back-to-saved, #back-to-week { margin: 0 0 14px; }
#saved-title { scroll-margin-top: 16px; }

@media print { #week-context { display: none !important; } }

/* Checklist state belongs with each weekday, not hidden inside the brief. */
.weekprogress { display: block; margin-top: 6px; font-size: 0.8125rem; font-weight: 400; line-height: 1.45; color: #5c6b64; }
.weekprogress.complete { color: #a8e9b5; }
@media print { .weekprogress { display: none !important; } }

.savedfilmed { display: block; margin-top: 8px; color: #a8e9b5; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }
.savedfilmed[hidden] { display: none; }
@media print { .savedfilmed { display: none !important; } }

/* Saved cards are actions, not read-only text blocks. */
.savedaction { display: block; margin-top: 10px; color: #b25e09; font-size: 0.8125rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media print { .savedaction { display: none !important; } }

#back-to-form { margin: 0 0 14px; }

/* Keep the destructive action explicit without squeezing the saved brief. */
.saved li:has(.saveddel) { flex-wrap: wrap; }
.saved li:has(.saveddel) > .savedopen { flex-basis: min(100%, 12rem); }
.saveddel { color: #4b5a53; margin-left: auto; }

.weekfilmed { display: block; margin-top: 6px; color: #a8e9b5; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }
.weekfilmed[hidden] { display: none; }
@media print { .weekfilmed { display: none !important; } }

.saved .saved-empty { display: block; }
.saved-empty .chip { display: block; width: 100%; margin-top: 12px; border-radius: 12px; background: #e0561f; color: #fff; font-weight: 700; padding: 13px 16px; font-size: 1rem; }

/* Make one brief and five weekdays a choice at the same form. */
#gen #weekplan { width: 100%; border-radius: 10px; margin-top: 10px; }
#week-choice-help { margin: 8px 0 0; }

/* Keep saved searches readable when Clear shares a narrow or enlarged-text row. */
.savedsearchrow { flex-wrap: wrap; }
#saved-search { flex-basis: min(100%, 14rem); }
#saved-search-clear { margin-left: auto; }

/* Saving a script and recording filming are different jobs. */
.action-heading { margin-top: 24px; padding-top: 18px; border-top: 1px solid #3a3a3d; }
#savebrief { margin-left: 0; }
#savebrief.needs-save { background: #006fe0; color: #fff; }
@media print { .action-heading { display: none !important; } }

/* Script timing stays on its own line, above each spoken direction. */
#bbeats li { padding: 8px 0; line-height: 1.55; }
#bbeats strong { display: block; margin-bottom: 3px; }

/* Separate the next filming action from its label, without changing checklist data. */
.shotnext { font-size: 0.9375rem; padding: 14px; }
.shotnext strong { display: block; margin-bottom: 6px; font-size: 0.8125rem; }

/* A tick should keep the shot readable for review, rather than strike through it. */
.shotlist li { border-bottom: 0; padding: 4px 0; }
.shotlist label { border: 1px solid #dde5e0; border-radius: 12px; padding: 12px; background: #fff; box-shadow: 0 1px 3px rgba(20,36,40,0.05); }
.shotlist .done { text-decoration: none; color: #2e7d32; border-color: #2e7d3255; background: #2e7d320d; }

/* Keep the closing line readable as a separate part of the filming script. */
#bcta { padding: 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; font-size: 1rem; line-height: 1.55; }
@media print { #bcta { padding: 0; border: 0; background: transparent; } }

/* Keep each weekday visually separate while the whole card remains its open action. */
#week li { padding: 12px; margin-bottom: 10px; border: 1px solid #dde5e0; border-radius: 12px; background: #ffffff; }
#week .savedopen { width: 100%; }

/* Keep examples and purpose visible after the placeholder is replaced. */
.field-help { display: block; margin-top: 6px; color: #aaa; font-size: 0.8125rem; line-height: 1.5; font-weight: 400; }

/* Keep each saved script, its progress and Remove in one readable card. */
#saved > li:has(.savedopen) { padding: 14px; margin-bottom: 12px; border: 1px solid #dde5e0; border-radius: 14px; background: #ffffff; }
#saved .savedopen { padding-top: 0; padding-bottom: 0; }
#saved .savedhook { margin: 10px 0; font-size: 0.9375rem; line-height: 1.55; }
#saved .savedcontext { line-height: 1.55; }

#saved > li > .savedopen { flex-basis: 100%; width: 100%; }

/* Separate recording a filming day from saving or sharing the script. */
.filming-history { margin-top: 24px; padding: 16px; border: 1px solid #dde5e0; border-radius: 14px; background: #ffffff; }
.filming-history .action-heading { margin-top: 0; padding-top: 0; border-top: 0; }
.filming-history #filmed { border: 1px solid #dde5e0; }
.filming-history #filmed.is-filmed { color: #2e7d32; border-color: #2e7d3288; background: #2e7d3218; }
@media print { .filming-history { display: none !important; } }

/* Put the next filming step beside the hook as a full-width action. */
#start-filming { display: block; width: 100%; padding: 13px 16px; border: 1px solid #e0561f; border-radius: 12px; background: #e0561f; color: #fff; line-height: 1.5; }

/* Keep whether this script is saved visible before filming starts. */
#brief-draft-state { padding: 12px 14px; border: 1px solid #c9d4ce; border-radius: 12px; background: #f7faf8; color: #4b5a53; }
#brief-draft-state[data-state="saved"] { border-color: #2e7d3266; background: #2e7d3212; color: #2e7d32; }
#brief-draft-state[data-state="unavailable"] { border-color: #e3c98f; background: #fdf6e7; color: #7a5410; }
@media print { #brief-draft-state { display: none !important; } }

/* Reach save/share without scrolling through the whole filming checklist. */
/* #go-to-save lives in the brief-navigation pill row now; keep it hidden in print. */
@media print { #go-to-save { display: none !important; } }

/* Keep finding and counting saved briefs together. */
/* Oaks anatomy: the search is one plain row, no card around it. */
#saved-search-count { font-size: 0.875rem; color: #5c6b64; }

/* Keep script experiments separate from save and share. */
.version-panel { margin: 18px 0; padding: 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #ffffff; }
.version-panel h3 { margin: 0 0 8px; font-size: 1rem; }
.version-panel #another, .version-panel #undo-version { display: block; width: 100%; margin: 8px 0 0; }
@media print { .version-panel { display: none !important; } }

/* Make labels and examples easy to read before writing the first brief. */
#gen label { font-size: 0.9375rem; font-weight: 600; color: #22302a; line-height: 1.5; }
#gen .field-help { font-size: 0.875rem; color: #5c6b64; }

/* Keep the device-save limit and review reminder visible before the form. */

/* Keep saving, copying and printing together with full-width phone actions. */
#save-actions-panel { margin-top: 24px; padding: 14px; border: 1px solid #dde5e0; border-radius: 14px; background: #ffffff; }
#save-actions-panel .action-heading { margin-top: 0; padding-top: 0; border-top: 0; }
#save-actions-panel > button, #brief-save-feedback > button, #copy-success-feedback > button { display: block; width: 100%; margin: 10px 0 0; border-radius: 12px; }
/* Copying the brief is the point of this section: the one orange action in
   a row of gray buttons, so the eye lands on it first. */
#copybrief { background: #e0561f; color: #fff; border: 1px solid #e0561f; }
@media print { #save-actions-panel { display: none !important; } }

/* Keep movement around a brief separate from spoken script and filming actions. */
/* One slim row of pills, not a card of stacked gray buttons: the brief
   content is the star, the navigation is chrome. */
.brief-navigation { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; padding: 0; border: 0; background: transparent; }
.brief-navigation > button { width: auto; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 0.875rem; }
.brief-navigation #go-to-save { margin: 0; }
@media print { .brief-navigation { display: none !important; } }

/* Read one spoken beat at a time without losing its timing label. */
.brief #bbeats { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.brief #bbeats li { padding: 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #ffffff; font-size: 1rem; line-height: 1.6; white-space: pre-line; }
#bbeats strong { color: #5c6b64; font-size: 0.875rem; }
@media print { .brief #bbeats li { padding: 8px 0; border: 0; border-radius: 0; background: transparent; } #bbeats strong { color: #000; } }
@media print { .brief #bbeats { display: block; } }

/* Make missing-field feedback readable and tie it visually to the invalid input. */
#formstatus:not(:empty) { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #e3c98f; border-radius: 12px; background: #fdf6e7; color: #7a5410; font-size: 0.875rem; line-height: 1.6; }
#formstatus:empty { display: none; }
#gen input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }

/* Keep script/finish movement distinct from resetting recorded shot ticks. */
.checklist-actions { margin-top: 12px; }
.checklist-actions > button { display: block; width: 100%; margin: 10px 0 0; border-radius: 12px; line-height: 1.5; }
.checklist-actions #shotreset { border: 1px solid #c9d4ce; background: #fff; color: #4b5a53; }
.checklist-actions #finish-filming { border: 1px solid #e0561f; background: #e0561f; color: #fff; }
@media print { .checklist-actions { display: none !important; } }

/* Separate removing a saved brief from opening its script. */
#saved > li > .saveddel { display: block; width: 100%; margin: 12px 0 0; padding: 10px 14px; border: 1px solid #c9d4ce; border-radius: 12px; background: #fff; color: #64746d; font-size: 0.875rem; line-height: 1.5; }

/* Give the current filming count its own readable checkpoint. */
.shotprogress { margin: 0 0 10px; padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; color: #4b5a53; font-size: 1rem; line-height: 1.5; }
.shotnext strong { font-size: 0.875rem; }

/* Keep the filming mark's limits beside the action, apart from saved scripts. */
#filmed-help { padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; }
#filmedstatus:not(:empty) { margin: 12px 0 0; padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; overflow-wrap: anywhere; }

/* Make a saved brief's context and checklist state readable before opening it. */
#saved .savedcontext { font-size: 0.875rem; color: #5c6b64; }
#saved .savedprog { margin-top: 8px; padding: 8px 10px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.5; }
#saved .savedprog.complete { border-color: #2e7d3255; background: #2e7d3212; color: #2e7d32; }

/* Keep every weekday's checklist state visible without opening the brief. */
.weekprogress { margin-top: 10px; padding: 8px 10px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.5; }
.weekprogress.complete { border-color: #2e7d3255; background: #2e7d3212; color: #2e7d32; }

/* Match the saved and weekday Open action to the adjacent readable status. */
.savedaction { font-size: 0.875rem; line-height: 1.6; }

/* Make the cue for the opening spoken line readable without competing with it. */
.hooklabel { display: block; color: #c2481a; font-size: 0.875rem; line-height: 1.6; font-weight: 600; }

/* Keep the plan's business and place distinct from later edits to the form. */
#week-context { padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; }

/* Distinguish the day's filmed mark from checklist progress in both lists. */
.savedfilmed, .weekfilmed { padding: 6px 10px; border: 1px solid #2e7d3255; border-radius: 10px; background: #2e7d3212; color: #2e7d32; font-size: 0.875rem; line-height: 1.6; }

/* Keep save results readable between saving and the next share action. */
#brief-save-status:not(:empty) { padding: 10px 12px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; }

/* Explain what a version changes before replacing the open draft. */
#version-help { font-size: 0.875rem; line-height: 1.6; color: #5c6b64; }

/* Keep the five-day scope legible beside Plan my week. */
#week-choice-help { font-size: 0.875rem; line-height: 1.6; color: #5c6b64; }

/* Keep filming totals distinct from the mark button and script-save guidance. */
.streak { padding: 10px 12px; border: 1px solid #e3c98f; border-radius: 10px; background: #fdf6e7; color: #7a5410; font-size: 0.875rem; line-height: 1.6; overflow-wrap: anywhere; }

/* Account labels and feedback stay readable without changing sync claims. */
#account p, #account label { font-size: 0.875rem; line-height: 1.6; }
#account-status:not(:empty) { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; color: #4b5a53; }

/* Separate a five-day plan from the single-brief submit action. */
.week-choice { margin-top: 14px; padding: 12px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; }
.week-choice #weekplan { display: block; width: 100%; margin: 0; border-radius: 10px; }
.week-choice #week-choice-help { margin: 10px 0 0; }
@media print { .week-choice { display: none !important; } }

/* Make reset instructions and errors as readable as the account form. */
#password-recovery label { font-size: 0.875rem; line-height: 1.6; }
#password-status:not(:empty) { margin: 12px 0 0; padding: 10px 12px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; }

/* Keep the unavailable-checkout disclosure readable and separate from planning. */
#launch-price { margin: 18px 0; padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; }

/* Plans and paywall: shown only when monetization is enabled. */
.plans { margin: 18px 0; padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; }
.plans h2 { margin: 0 0 10px; font-size: 1.05rem; }
#plans-status { margin: 0 0 12px; font-weight: 600; color: #8c3a16; }
#plans-status:empty { display: none; }
.plan-cards { display: grid; gap: 10px; margin: 0 0 12px; }
.plan-card { border: 1px solid #dde5e0; border-radius: 10px; padding: 10px 12px; background: #f7faf8; }
.plan-card h3 { margin: 0 0 6px; font-size: 0.95rem; }
.plan-card ul { margin: 0; padding-left: 18px; color: #5c6b64; font-size: 0.875rem; line-height: 1.6; }
#upgrade-checkout { display: block; width: 100%; border: 1px solid #dde5e0; border-radius: 10px; }
#checkout-status { margin: 10px 0 0; font-size: 0.875rem; line-height: 1.6; }

/* Keep the manual-copy recovery instruction legible and its exit easy to reach. */
#copy-recovery label { font-size: 0.875rem; line-height: 1.6; color: #4b5a53; }
#copy-close { display: block; width: 100%; border: 1px solid #dde5e0; border-radius: 10px; }

/* Keep checklist save/reset feedback visible without showing an empty box. */
#shotstatus:not(:empty) { padding: 10px 12px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; overflow-wrap: anywhere; }

/* Keep draft-versus-saved guidance readable before the first filming action. */
#brief-draft-state { font-size: 0.875rem; line-height: 1.6; }

/* Return from sharing to the spoken script without a long phone scroll. */
#review-script { display: block; width: 100%; margin: 12px 0 0; border: 1px solid #c9d4ce; border-radius: 10px; }
@media print { #review-script { display: none !important; } }

/* Restore the complete manual-copy selection after moving around a long script. */
#copy-recovery > button { display: block; width: 100%; margin: 10px 0 0; border-radius: 10px; }
#copy-select { border: 1px solid #e0561f; background: #e0561f; color: #fff; }

/* Keep each checkbox tied to a visible filming step, even on a long phone scroll. */
.shotlist .shot-number { display: block; margin-bottom: 6px; color: #5c6b64; font-size: 0.875rem; line-height: 1.5; }
.shotlist .done .shot-number { color: #c4dfca; }
.shotlist label > span { min-width: 0; }

/* Identify the open saved script without relying on its title alone. */
#saved .savedopen[aria-current="true"] { border: 1px solid #e0561f; border-radius: 12px; padding: 12px; background: #e0561f0d; }
#saved .savedopen[aria-current="true"] .savedaction { color: #c2481a; }

/* Existing scripts are reachable before starting another form. */
#form-saved-shortcut { display: block; width: 100%; border: 1px solid #c9d4ce; border-radius: 10px; }
@media print { #form-saved-shortcut { display: none !important; } }

/* The week plan identifies the script already open above it. */
#week .savedopen[aria-current="true"] { border: 1px solid #e0561f; border-radius: 12px; padding: 12px; background: #e0561f0d; }
#week .savedopen[aria-current="true"] .savedaction { color: #c2481a; }

#copy-status { margin: 12px 0; padding: 12px 14px; border: 1px solid #dde5e0; border-radius: 12px; background: #f7faf8; color: #4b5a53; font-size: 0.875rem; line-height: 1.6; }
@media print { #copy-status { display: none !important; } }

.field-error { display: block; margin: 8px 0; padding: 10px 12px; border: 1px solid #e5b8bd; border-radius: 10px; background: #fdf0f1; color: #8a1f2b; font-size: 0.875rem; line-height: 1.5; }
.field-error[hidden] { display: none; }

#saved-read-recovery { margin: 12px 0; padding: 14px; border: 1px solid #e3c98f; border-radius: 12px; background: #fdf6e7; color: #7a5410; }
#saved-read-recovery p { margin: 12px 0 0; font-size: 0.875rem; line-height: 1.6; }
#saved-read-retry { width: 100%; white-space: normal; }
@media print { #saved-read-recovery { display: none !important; } }

/* Keep a tall saved-card heading visible when returning at larger text. */
#saved .savedopen { scroll-margin-block: 16px; }

/* A tall weekday card returns to its title instead of clipping the day above the viewport. */
#week .savedopen { scroll-margin-top: 16px; }

#copy-recovery { scroll-margin-top: 16px; }

/* Keep the opening words clear when returning to a long script. */
#bhook { scroll-margin-top: 16px; }

/* Keep the single failed-write status with the checkbox that did not save. */
.shotlist li.shot-write-error { display: block; }
.shot-write-error #shotstatus { margin: 0 0 10px; }

#savestatus { scroll-margin-top: 2px; }

#account-confirm-text { scroll-margin-top: 1px; }

.shotlist label.next-shot { border-color: #e0561f80; background: #e0561f0d; }
.shotlist .next-shot .shot-number { color: #c2defe; }

#filmedstatus:focus { outline: 2px solid #b25e09; outline-offset: 3px; }

/* Keep keyboard focus tied to the whole filming instruction, not just its checkbox. */
.shotlist label:has(input:focus-visible) { outline: 2px solid #b25e09; outline-offset: 3px; }

/* Keep saved-library feedback distinct from script cards and their controls. */
#savestatus:not(:empty) { margin: 12px 0; padding: 12px 14px; border: 1px solid #e3c98f; border-radius: 12px; background: #fdf6e7; color: #7a5410; font-size: 0.875rem; line-height: 1.6; overflow-wrap: anywhere; }
#savestatus:empty { display: none; }

/* Printed directions use black ink and keep each short instruction together. */
@media print {
  .hooklabel { color: #000; }
  .brief h3 { break-after: avoid; }
  .brief #bbeats li, .brief #bshots li { break-inside: avoid; }
}

/* Keep the unavailable reset readable without making it look active. */
.checklist-actions #shotreset:disabled { opacity: 1; color: #8a9891; border-color: #dde5e0; background: #f7faf8; }

/* Give the account disclosure its own visible action surface and rounded focus. */
#account-toggle { padding: 12px 10px; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; line-height: 1.5; }

/* Make the script landing point visible after review and checklist return. */
#bhook:focus { outline: 2px solid #b25e09; outline-offset: 3px; }

/* Show where keyboard planning lands without changing the planning action. */
#week-title:focus { outline: 2px solid #b25e09; outline-offset: 3px; }

/* Keep the saved-library keyboard destination visible after its shortcut. */
#saved-title:focus { outline: 2px solid #b25e09; outline-offset: 3px; }

/* Keep the visibility action separate from signing in or creating an account. */
.password-visibility { margin: -6px 0 8px; }
.password-visibility .chip { margin-top: 0; }

/* A keyboard-only state hint, outside the password input. */
.caps-lock-hint { margin: 0 0 12px; font-weight: 600; color: #ffd58a; }

/* A pending request is locked, but its progress message stays readable. */
#account-forgot[aria-busy="true"]:disabled { opacity: 1; cursor: wait; }

#account-form button[aria-busy="true"]:disabled { opacity: 1; cursor: wait; }

/* The reset action stays legible while its request is locked. */
#password-reset[aria-busy="true"]:disabled { opacity: 1; cursor: wait; }

/* Put the weekday above its spoken hook so a plan is easier to scan. */
#week .weekday { display: block; margin-bottom: 8px; color: #c2481a; font-size: 0.875rem; font-weight: 700; line-height: 1.5; }
#week .weekhook { display: block; color: #22302a; font-size: 1rem; font-weight: 500; line-height: 1.6; }

/* Keep saving separate from checklist ticks and filmed marks in the plan. */
.weeksaved { display: block; margin-top: 10px; color: #5c6b64; font-size: 0.875rem; font-weight: 400; line-height: 1.6; }
.weeksaved.kept { color: #c4dfca; }
@media print { .weeksaved { display: none !important; } }

.saveddate { display: block; margin-top: 8px; color: #5c6b64; font-size: 0.875rem; font-weight: 400; line-height: 1.6; }

/* Keep the next filming step distinct while scanning a long checklist. */
.shotlist .next-shot .shot-number { width: fit-content; max-width: 100%; padding: 3px 7px; border: 1px solid #e0561f55; border-radius: 8px; background: #e0561f0d; color: #8c3a16; }

/* Give filming instructions room to read without enlarging their labels. */
.shotlist label > span { line-height: 1.5; }

/* Ticked is a distinct state badge, not another next-step cue. */
.shotlist .done .shot-number { width: fit-content; max-width: 100%; padding: 3px 7px; border: 1px solid #2e7d3255; border-radius: 8px; background: #2e7d320d; color: #2e7d32; }

/* Match the completed summary to its ticked shots, not the next-step blue. */
.shotprogress.complete { border-color: #2e7d3255; background: #2e7d3212; color: #2e7d32; }

/* A kept script is distinct from an unsaved plan and filming progress. */
.weeksaved.kept { width: fit-content; max-width: 100%; padding: 6px 10px; border: 1px solid #2e7d3255; border-radius: 8px; background: #2e7d3212; color: #2e7d32; font-weight: 600; }

/* Show the new brief's destination after opening from either library. */
#btitle:focus { outline: 2px solid #b25e09; outline-offset: 3px; border-radius: 6px; }

/* Keep timing labels as readable as the spoken directions while scanning beats. */
@media screen { #bbeats strong { color: #c2481a; font-size: 1rem; } #bbeats .beat-time { white-space: nowrap; } }

/* Keep the closing words reachable without scrolling through every shot. */
#bcta { scroll-margin-top: 16px; }
#bcta:focus { outline: 2px solid #b25e09; outline-offset: 3px; }
@media print { #closer-back-to-script { display: none !important; } }

/* Return to the originating weekday without climbing back through the brief. */
@media print { #closer-back-to-week, #closer-back-to-saved { display: none !important; } }

/* Keep return routes separate and easy to touch after the closing words. */
.closer-navigation { margin: 14px 0; padding: 12px; border: 1px solid #dde5e0; border-radius: 12px; background: #ffffff; }
.closer-navigation > button { display: block; width: 100%; margin: 8px 0 0; border-radius: 10px; }
.closer-navigation #closer-back-to-script { margin-top: 0; }
@media print { .closer-navigation { display: none !important; } }

/* Name the return panel visually as well as for assistive navigation. */
.closer-navigation h3 { margin: 0 0 10px; font-size: 1rem; line-height: 1.4; }

/* Separate where a save lives from how it can be lost. */
#save-location-help > strong, #save-location-help > span { display: block; }
#save-location-help > strong { color: #4b5a53; }
#save-location-help > span { margin-top: 6px; }

/* Keep search instructions separate from the non-destructive filter reminder. */
#saved-search-help > strong { color: #4b5a53; font-weight: 600; }

/* Give the keep-your-work action its own line below the temporary-plan warning. */
#week-save-help > span, #week-save-help > strong { display: block; }
#week-save-help > strong { margin-top: 6px; color: #4b5a53; }

#version-help strong, #version-help span { display: block; }
#version-help strong { color: #4b5a53; }
#version-help span { margin-top: 6px; }

#print-action-help span, #print-action-help strong { display: block; }
#print-action-help strong { margin-top: 6px; color: #4b5a53; }

/* Keep posting preparation separate from where the business name is used. */
#biz-help > span, #biz-help > strong { display: block; }
#biz-help > strong { margin-top: 6px; color: #4b5a53; font-weight: 600; }

/* Lead clipboard recovery with a separate next step. */
#copy-help > span, #copy-help > strong { display: block; }
#copy-help > strong { margin-top: 6px; font-weight: 600; color: #22302a; }

/* Separate the read failure from the no-change reassurance. */
#saved-read-help > strong, #saved-read-help > span { display: block; }
#saved-read-help > strong { font-weight: 600; }
#saved-read-help > span { margin-top: 6px; }

/* Keep the live search result count apart from the search instructions. */
#saved-search-count:not(:empty) { margin-top: 8px; color: #5c6b64; font-weight: 600; }

/* Separate the filming day from keeping the script in each saved state. */
#filmed-help > span, #filmed-help > strong { display: block; }
#filmed-help > strong { margin-top: 6px; color: #4b5a53; font-weight: 600; }

/* Return from the library without reopening or changing a saved copy. */
#saved-back-to-open-brief { display: block; width: 100%; margin: 0 0 16px; border: 1px solid #dde5e0; border-radius: 12px; }

/* Return from the temporary plan without opening another weekday. */
#week-back-to-open-brief { display: block; width: 100%; margin: 0 0 16px; border: 1px solid #dde5e0; border-radius: 12px; }
@media print { #week-back-to-open-brief { display: none !important; } }

/* Revisit a prepared week without generating another plan from edited fields. */
#form-week-shortcut { display: block; width: 100%; margin: 14px 0 0; border: 1px solid #dde5e0; border-radius: 12px; }
@media print { #form-week-shortcut { display: none !important; } }

/* Name replacement before it can discard a temporary week. */
#week-choice-help > span, #week-choice-help > strong { display: block; }
#week-choice-help > strong { margin-top: 8px; color: #22302a; font-weight: 600; }

/* Reassure people that a failed replacement did not erase their week. */
#week-kept-status:empty { display: none; }
#week-kept-status:not(:empty) { margin: 12px 0; padding: 10px 12px; border: 1px solid #2e7d3255; border-radius: 10px; background: #2e7d3212; color: #2e7d32; font-weight: 600; line-height: 1.6; }

#week-kept-status .kept-label { display: block; margin-bottom: 8px; font-weight: 700; }
#week-kept-status .kept-instruction { font-weight: 400; }

/* ===== Shot Guide theme: hero + board ===== */
.hero { background: radial-gradient(420px 180px at 85% 20%, rgba(232,93,4,0.35), transparent 70%), radial-gradient(320px 160px at 15% 90%, rgba(143,196,178,0.22), transparent 65%), linear-gradient(135deg, #0f1f22 0%, #1a3a36 48%, #243f35 100%); color: #f4f7f5; border-radius: 22px; padding: 34px 26px 30px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(15,31,34,0.18); }
.hero-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #f2a25c; margin: 0 0 12px; }
.hero h1 { margin: 0 0 10px; font-size: 2.4rem; line-height: 1.08; letter-spacing: -0.02em; }
.hero-purpose { margin: 0 0 22px; font-size: 1.0625rem; line-height: 1.55; color: #cfe0d6; }
#hero-new-brief { width: 100%; background: #e0561f; padding: 15px 22px; font-size: 1.125rem; border-radius: 14px; }
#board-greeting { font-size: 1.25rem; font-weight: 700; margin: 0 0 16px; }
#board-greeting:empty { display: none; }

#board-chips { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0 0 16px; }
#board-chips button { width: auto; min-height: 44px; padding: 6px 11px; font-size: 0.8125rem; font-weight: 600; border-radius: 999px; border: 1px solid #c9d4ce; background: #fff; color: #22302a; margin: 0; white-space: nowrap; }
#board-chips button[aria-pressed="true"] { background: #14342c; border-color: #14342c; color: #f4f7f5; }
/* Oaks anatomy: the count is plain inline text ("To do 14"), not a pill. */
.board-count { margin-left: 4px; font-weight: 700; }

#saved > li.board-card { display: block; padding: 16px; margin-bottom: 14px; border: 1px solid #dde5e0; border-radius: 16px; background: #fff; }
.board-card .savedopen { padding: 0; }
.board-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.board-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: #e3eae6; color: #3c4a44; }
.board-tag-trade { background: #dcebe3; color: #1d5c3d; }
.board-status-todo { background: #14342c; color: #f4f7f5; }
.board-status-done { background: #f6dfae; color: #7a5410; }
.board-status-posted { background: #d2ead7; color: #1d5c3d; }
.board-card .board-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; display: block; }
.board-card .saveddate { display: block; margin: 4px 0 0; font-size: 0.75rem; font-weight: 400; color: #5c6b64; }
.board-ref { margin: 10px 0 0; font-size: 0.8125rem; line-height: 1.45; }
.board-ref-label { margin: 0 0 4px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: #5c6b64; }
.board-ref-link { display: block; color: #c2481a; overflow-wrap: anywhere; padding: 2px 0; }
.board-instructions { margin: 10px 0 0; font-size: 0.9375rem; line-height: 1.55; color: #22302a; }
.board-instructions-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; }
.board-instructions-text { margin: 0; }
.board-words { color: #5c6b64; font-size: 0.75rem; white-space: nowrap; }
details.board-steps { margin: 12px 0 0; border: 1px solid #dde5e0; border-radius: 10px; background: #f7faf8; }
details.board-steps > summary { min-height: 44px; display: flex; align-items: center; padding: 0 14px; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
details.board-steps[open] > summary { border-bottom: 1px solid #dde5e0; }
details.board-steps .board-beat { margin: 10px 14px 0; font-size: 0.875rem; line-height: 1.55; white-space: pre-line; }
details.board-steps .board-shotlist { margin: 6px 14px 0; padding-left: 20px; font-size: 0.875rem; line-height: 1.55; }
details.board-steps .board-shotlist li { margin-bottom: 6px; }
details.board-steps .board-beat:last-child { padding-bottom: 14px; }
.board-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.board-actions .board-action { width: auto; min-height: 44px; padding: 8px 16px; font-size: 0.875rem; font-weight: 600; border-radius: 999px; border: 1px solid #c9d4ce; background: #fff; color: #22302a; margin: 0; }
.board-card .saveddel { margin-top: 12px; }
@media print { .hero, #board-chips, .board-actions { display: none !important; } }

/* Board card title button carries legacy detail spans; the card shows its own. */
.board-card .savedopen .savedhook, .board-card .savedopen .savedcontext, .board-card .savedopen .savedaction { display: none; }
.board-card .savedopen .saveddate { margin-top: 4px; font-size: 0.75rem; color: #5c6b64; }
