:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #27372f; background: #f5f2eb; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 1100px; margin: 0 auto; padding: 28px 38px 32px; }
.topbar, .card-heading, .edit-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { font-size: 18px; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #dcebdc; color: #2f6145; margin-right: 7px; font-size: 25px; vertical-align: middle; }
.demo-tag, .mock-label { color: #7b8b7e; font-size: 12px; }
.welcome { margin: 26px 0 16px; padding: 26px 30px; border-radius: 20px; color: #f9f9ee; background: #356a4c; }
.welcome .eyebrow { color: #d0e5c9; }
.welcome h1 { margin: 0 0 6px; font-size: 33px; letter-spacing: -.045em; line-height: 1.1; }
.welcome p:last-child { margin: 0; color: #dcebdd; font-size: 14px; }
.eyebrow { color: #6d8a71; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 7px; }
.dashboard-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 15px; }
.card { border: 1px solid #e2e6dc; border-radius: 17px; background: #fffefa; padding: 20px 23px; box-shadow: 0 8px 28px #2c403708; margin-bottom: 15px; }
.card-heading { align-items: flex-start; }
h2 { font-size: 19px; letter-spacing: -.025em; margin: 0; }
.task-list { padding: 0; margin: 17px 0 0; list-style: none; }
.task-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #edf0e9; font-size: 14px; }
.task-dot { width: 10px; height: 10px; border: 2px solid #9bb5a0; border-radius: 50%; flex: 0 0 auto; }
.task-list small { margin-left: auto; color: #879389; font-size: 12px; white-space: nowrap; }
.deadline-row { display: flex; align-items: center; gap: 13px; border-top: 1px solid #edf0e9; padding: 14px 0 7px; }
.deadline-row:first-of-type { margin-top: 12px; }
.deadline-row strong, .break-option strong { display: block; font-size: 14px; }
.deadline-row small, .break-option small { display: block; color: #79877d; font-size: 12px; margin-top: 3px; }
.day-badge { display: inline-grid; place-items: center; min-width: 77px; border-radius: 8px; padding: 8px 7px; font-size: 11px; font-weight: 750; }
.day-badge.today { background: #f6eacb; color: #7b5a22; }
.day-badge.tomorrow { background: #e7efdf; color: #496c49; }
.situation-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.situation-summary > div + div { border-left: 1px solid #e9ede5; padding-left: 20px; }
.field-label { color: #829086; font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.situation { font-size: 17px; font-weight: 750; margin: 0 0 4px; }
.subtle, .reason, .section-description { color: #6b7a70; font-size: 13px; line-height: 1.45; margin: 0; }
#sources-short { margin: 0 0 5px; font-size: 14px; font-weight: 650; }
button { cursor: pointer; border: 1px solid #b9cabc; background: #fff; color: #345642; border-radius: 9px; padding: 9px 12px; font: inherit; font-size: 13px; font-weight: 700; }
button:hover { background: #e9f3e7; }
button.primary { background: #386b49; color: white; border-color: #386b49; }
button.primary:hover { background: #2d5b3b; }
button.text-button { border: 0; padding: 2px 0; border-radius: 0; background: transparent; color: #4a7958; font-size: 12px; }
button.text-button:hover { text-decoration: underline; }
button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #79ab7e; outline-offset: 2px; }
.inline-panel { margin-top: 17px; border-top: 1px solid #e7ece4; padding-top: 16px; }
.inline-panel[hidden] { display: none; }
.inline-panel label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.edit-row { justify-content: flex-start; }
select { min-width: 210px; padding: 9px; border: 1px solid #bccdbf; border-radius: 9px; background: white; color: #27372f; font: inherit; font-size: 13px; }
.context-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.context-fields label { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.context-fields select, .context-fields input[type="number"] { width: 100%; min-width: 0; padding: 9px; border: 1px solid #bccdbf; border-radius: 9px; background: white; color: #27372f; font: inherit; font-size: 13px; }
.context-fields .check-field { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.check-field input { accent-color: #386b49; }
.fine-print { color: #829086; font-size: 12px; line-height: 1.4; margin: 8px 0 0; }
.source-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e9ede5; padding: 11px 0; }
.source-row:first-child { border-top: 0; }
.source-row strong { display: block; font-size: 13px; }
.source-row small { color: #7a887e; font-size: 12px; }
.source-row button { white-space: nowrap; font-size: 11px; padding: 6px 9px; }
.breaks-card .section-description { margin: 12px 0 15px; }
.break-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.break-option { display: flex; gap: 10px; min-height: 82px; padding: 13px; border: 1px solid #e2e8dc; border-radius: 12px; background: #f7faf4; }
.break-icon { color: #5e8d68; font-size: 19px; line-height: 1; }
#next-preview { margin-top: 13px; }
.preview-empty { grid-column: 1 / -1; color: #79877d; font-size: 13px; margin: 0; }
.status { white-space: nowrap; border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 750; background: #edf2e9; color: #44654a; }
.status.invited { background: #e5efe0; color: #2f693c; }
.status.break { background: #f9eecf; color: #7f5c20; }
.companion-card .reason { margin-top: 14px; }
.interpretation { color: #466a50; font-size: 12px; font-weight: 700; margin: 14px 0 0; }
.flow { margin-top: 14px; border-radius: 12px; padding: 15px 17px; }
.flow.quiet { background: #f3f7ef; }
.flow.invited { background: #edf8eb; border: 1px solid #a8c5a7; }
.flow.break { background: #fffae9; border: 1px solid #e4d2a2; }
.flow h3 { font-size: 16px; margin: 0 0 6px; }
.flow p { color: #65746a; line-height: 1.45; font-size: 13px; margin: 0 0 10px; }
.flow p:last-child { margin-bottom: 0; }
.flow .stopping { color: #304d37; font-weight: 650; }
.intervention-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 13px 0; }
button.intervention-choice { display: block; text-align: left; min-height: 134px; padding: 12px; border-color: #b6d2b5; background: #fffefa; }
button.intervention-choice:hover { background: #e1f2df; border-color: #6c9a6e; }
.choice-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; color: #315a3c; }
.choice-top strong { font-size: 13px; }
.choice-top > span { font-size: 11px; white-space: nowrap; }
.choice-description, .choice-stop { display: block; font-size: 12px; font-weight: 400; line-height: 1.35; margin-top: 8px; }
.choice-stop { color: #52725a; font-weight: 600; }
.actions { display: flex; gap: 9px; flex-wrap: wrap; }
.simulation { border: 1px solid #e1e6dd; border-radius: 13px; background: #f8faf5; padding: 14px 18px; }
.simulation summary { cursor: pointer; color: #506c57; font-size: 13px; font-weight: 750; }
.simulation summary span { color: #89978d; font-size: 12px; font-weight: 400; margin-left: 8px; }
.simulation > p { color: #7b8a7f; font-size: 12px; margin: 13px 0 0; }
.choices { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.choices button { font-size: 12px; padding: 7px 10px; }
.choices button.selected { background: #e4eee2; border-color: #5b8a65; color: #295838; }
footer { color: #8b978e; font-size: 11px; line-height: 1.4; margin-top: 16px; }
@media (max-width: 720px) {
  .shell { padding: 22px; }
  .dashboard-grid, .situation-summary, .break-options, .intervention-options, .context-fields { grid-template-columns: 1fr; }
  .situation-summary > div + div { border-left: 0; border-top: 1px solid #e9ede5; padding: 14px 0 0; }
}
