* { box-sizing: border-box; }
:root { --ink: #263c33; --muted: #59665e; --green: #2b5947; --line: #dce3dc; --paper: #fff; --accent: #b44e37; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6f8f5; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; letter-spacing: 0; }
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #c48343; outline-offset: 4px; }
button:disabled { opacity: .4; cursor: default; }
[hidden] { display: none !important; }
p, h1, h2, h3, h4 { margin: 0; }
svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.7; }
.wrap, .topbar-inner { max-width: 1160px; margin: auto; padding-left: 32px; padding-right: 32px; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.logo { width: 144px; height: 65px; object-fit: contain; }
.topbar-label { flex: 1; color: var(--muted); font-size: 15px; }
.icon-button { display: inline-flex; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: white; transition: background .2s, border-color .2s; }
.icon-button:hover { background: #ecf1eb; border-color: #91a795; }
.workspace-title { background: #e8eee5; border-bottom: 1px solid #dce3d7; }
.title-inner { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 48px; padding-top: 32px; padding-bottom: 32px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--green); margin-bottom: 8px; }
h1 { font-family: Georgia, serif; font-size: 36px; line-height: 1.2; font-weight: 500; }
.intro { margin-top: 14px; max-width: 760px; }
.title-photo { width: 200px; height: 154px; object-fit: cover; object-position: 50% 25%; border-radius: 4px; }
.guide { border-bottom: 1px solid var(--line); margin: 10px 0 24px; }
.guide summary { list-style: none; display: flex; gap: 12px; align-items: center; min-height: 62px; font-weight: 600; }
.guide summary::-webkit-details-marker { display: none; }
.guide-heading { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; min-width: 0; }
.guide-hint { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.guide summary svg:last-child { margin-left: auto; transition: transform .2s; }
.guide[open] summary svg:last-child { transform: rotate(180deg); }
.guide-body { max-width: 940px; padding-bottom: 24px; }
.guide-body p + p { margin-top: 16px; }
.guide-item { border-left: 3px solid #aac3ae; padding-left: 16px; }
.week-navigation { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.week-tab { border: 1px solid var(--line); border-radius: 6px; padding: 12px 18px; text-align: left; background: #fff; min-height: 77px; }
.week-tab span { display: block; }
.week-tab span:first-child { font-weight: 650; }
.week-tab span:last-child { color: var(--muted); font-size: 15px; }
.week-tab.active { background: var(--green); border-color: var(--green); color: white; }
.week-tab.active span:last-child { color: #e1eae2; }
.week-overview { display: flex; align-items: center; gap: 10px; padding: 18px 0; }
.week-overview p { font-weight: 600; flex: 1; }
#week-progress { color: var(--muted); font-size: 15px; }
.day-navigation { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.day-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 10px 6px 13px; display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 60px; position: relative; }
.day-tab span:first-child { font-weight: 650; }
.day-tab span:nth-child(2) { font-size: 15px; color: var(--muted); }
.day-tab.active { border-bottom-color: var(--green); background: #eaf0e6; }
.sale-dot { height: 7px; width: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.day-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.date-line { color: var(--muted); font-size: 15px; margin-bottom: 5px; text-transform: capitalize; }
h2 { font-size: 26px; line-height: 1.3; font-weight: 650; max-width: 780px; }
.kind { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--green); white-space: nowrap; }
.kind.sale { color: var(--accent); }
.day-preparation { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-bottom: 26px; }
.day-preparation p + p { margin-top: 10px; }
.day-preparation strong { color: var(--green); }
.stories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.story { border: 1px solid #d8e1d7; border-radius: 8px; background: #fff; overflow: hidden; transition: border-color .2s; }
.story.prepared { border-color: #729783; }
.story-header { display: flex; gap: 14px; align-items: center; padding: 22px 22px 18px; }
.story-number { font-family: Georgia, serif; font-size: 32px; line-height: 1; color: #8eaa96; min-width: 38px; }
.story-header > div { flex: 1; }
.story-index { font-size: 15px; color: var(--muted); }
h3 { font-size: 20px; line-height: 1.35; font-weight: 650; }
.done-control { display: flex; position: relative; cursor: pointer; }
.done-control input { position: absolute; inset: 0; opacity: 0; width: 36px; height: 36px; margin: 0; cursor: pointer; }
.done-control span { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #b9c8bb; border-radius: 50%; color: transparent; }
.done-control input:checked + span { background: var(--green); border-color: var(--green); color: white; }
.done-control input:focus-visible + span { outline: 3px solid #c48343; outline-offset: 3px; }
.format { background: #eff3ec; padding: 12px 22px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 15px; }
.format span { flex-basis: 100%; color: var(--muted); }
.format.video { background: #e7eef1; color: #315769; }
.format.poll, .format.question { background: #fbefdf; color: #745625; }
.format.link { background: #f8eae4; color: #92422f; }
.story-body { padding: 22px; }
h4 { font-size: 15px; font-weight: 650; line-height: 1.5; }
.instructions h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.instructions p { color: var(--muted); }
.script-field { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.script-field h4 { color: var(--green); margin-bottom: 10px; }
.script-copy { display: flex; align-items: start; gap: 16px; }
.script-copy p { flex: 1; font-size: 18px; line-height: 1.65; color: #1e3529; overflow-wrap: anywhere; }
.script-copy .icon-button { width: 36px; height: 36px; flex-basis: 36px; border: 0; background: #eff3ec; }
.option-divider { font-weight: bold; color: #947c59; }
.extra { margin-top: 18px; }
.sticker-label { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.destination { margin-top: 16px; }
.destination > span { font-size: 15px; color: var(--muted); }
.destination > div { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
code { font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; overflow-wrap: anywhere; flex: 1; }
.day-review { display: flex; align-items: start; gap: 12px; border-top: 1px solid var(--line); margin-top: 28px; padding: 22px 0; color: var(--muted); }
.day-review svg { margin-top: 3px; }
.day-review p + p { margin-top: 16px; }
.sequence-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 36px; border-top: 1px solid var(--line); }
.nav-action { background: none; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 6px 0; font-weight: 600; }
#day-count { font-size: 15px; color: var(--muted); }
footer { background: #edf1eb; border-top: 1px solid var(--line); padding: 24px 0; font-size: 15px; font-weight: 600; }
footer span { font-weight: 400; color: var(--muted); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: #263c33; color: white; padding: 12px 20px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; max-width: calc(100% - 40px); font-size: 15px; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.skip-link { position: absolute; left: 20px; top: -100px; background: white; padding: 12px; z-index: 2; }
.skip-link:focus { top: 10px; }
@media (max-width: 780px) {
 .wrap, .topbar-inner { padding-left: 20px; padding-right: 20px; }
 .topbar-label { display: none; }
 .topbar-inner { min-height: 76px; justify-content: space-between; }
 .logo { width: 132px; height: 58px; }
 .title-inner { grid-template-columns: 1fr; gap: 0; padding-top: 24px; padding-bottom: 24px; }
 .title-photo { display: none; }
 h1 { font-size: 30px; }
 .intro { font-size: 16px; }
 .week-tab { padding: 10px; }
 .week-tab span { font-size: 15px; }
 .week-tab span:last-child { line-height: 1.35; margin-top: 5px; }
 .week-overview { flex-wrap: wrap; }
 .week-overview p { flex-basis: calc(100% - 32px); }
 #week-progress { margin-left: 30px; }
 .day-tab { flex-direction: column; gap: 2px; padding: 10px 2px; }
 .day-tab span:nth-child(2) { font-size: 15px; }
 .sale-dot { position: absolute; top: 9px; right: 8px; }
 .day-heading { flex-direction: column; align-items: start; gap: 12px; }
 h2 { font-size: 20px; }
 .story-header h3 { font-size: 18px; }
 .stories-grid { grid-template-columns: 1fr; gap: 20px; }
 .story-header, .story-body { padding: 20px; }
 .story-header { gap: 10px; }
 .format { padding: 12px 20px; }
 .script-copy p { font-size: 17px; }
 .script-copy { gap: 10px; }
 #day-count { display: none; }
 .sequence-navigation { gap: 12px; }
 .kind { white-space: normal; }
}
@media (max-width: 380px) {
 .wrap, .topbar-inner { padding-left: 16px; padding-right: 16px; }
 .week-navigation { gap: 5px; }
 .week-tab { padding: 10px 6px; }
 .day-tab span:nth-child(2) { word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
 body { background: white; color: black; }
 .week-navigation, .day-navigation, .week-overview, .sequence-navigation, .copy, .done-control, #print, .toast, .skip-link { display: none !important; }
 .day-section[hidden] { display: block !important; }
 .guide { display: none; }
 .day-section { break-before: page; }
 .stories-grid { grid-template-columns: 1fr; }
 .story { break-inside: avoid; margin-bottom: 20px; }
 .title-inner { padding: 20px 0; }
 .wrap, .topbar-inner { padding: 0; }
 .title-photo { display: none; }
 .kind { white-space: normal; }
}
