:root {
  color-scheme: light;
  --plum: #4e2d5c;
  --violet: #623a82;
  --lavender: #b499c9;
  --parchment: #ead8ce;
  --page: #f0f1f3;
  --ink: var(--plum);
  --muted: #6d5c76;
  --line: #d3c7dc;
  --paper: #faf9fb;
  --heading-font: Georgia, "Times New Roman", serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--page); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--violet); text-underline-offset: .23em; }
a:hover { color: var(--plum); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
::selection { background: var(--violet); color: var(--parchment); }
p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--heading-font); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 4.2vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: 1.7rem; letter-spacing: -.025em; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 10px 18px; z-index: 10; background: var(--page); }
.skip-link:focus { top: 12px; }
.site-header, .site-footer { color: var(--parchment); background: var(--plum); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { color: var(--parchment); font-family: var(--heading-font); font-size: 1.35rem; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: white; }
.wordmark span { color: var(--lavender); }
nav { display: flex; flex-wrap: wrap; gap: 27px; }
nav a { padding: 13px 0; color: var(--parchment); font-size: .85rem; text-decoration: none; }
nav a:hover { color: white; }
nav a[aria-current] { border-bottom: 2px solid var(--lavender); }
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding: 60px 0 48px; align-items: center; }
.eyebrow, .note-label { font-size: .68rem; letter-spacing: .13em; font-weight: 600; text-transform: uppercase; }
.eyebrow { color: var(--violet); margin-bottom: 15px; }
.lead { max-width: 550px; color: var(--muted); font-size: 1rem; line-height: 1.8; margin-top: 20px; }
.intro-meta { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-top: 22px; font-size: .75rem; color: var(--muted); }
.local-indicator::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-right: 9px; vertical-align: middle; }
.intro-note { color: var(--parchment); background: var(--plum); padding: 28px 30px; border-top: 3px solid var(--lavender); }
.intro-note .note-label { color: var(--parchment); opacity: .85; }
.workflow { padding: 0; margin: 20px 0; list-style: none; }
.workflow li { display: flex; align-items: baseline; gap: 17px; padding: 9px 0; font-family: var(--heading-font); font-size: 1.15rem; }
.workflow span { color: var(--lavender); font: .7rem -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.intro-note > p:last-child { border-top: 1px solid #82638f; padding-top: 17px; font-size: .78rem; line-height: 1.7; }
.workspace-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; border-top: 1px solid var(--lavender); }
.workspace-toolbar > p { font-weight: 600; font-size: .9rem; }
.count-tag { font-size: .7rem; color: var(--muted); font-weight: 400; margin-left: 10px; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 9px; }
button { border: 1px solid var(--lavender); background: transparent; color: var(--plum); border-radius: 3px; padding: 9px 13px; font-size: .8rem; line-height: 1.4; min-height: 40px; }
button:hover:not(:disabled) { background: #e8e1ed; border-color: var(--violet); }
.file-status { color: var(--muted); font-size: .82rem; }
.file-status:not(:empty) { padding-bottom: 16px; }
.file-status[data-error="true"] { color: #8a341f; }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.editor, .review-column { min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 27px; margin-bottom: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 23px; }
.heading-label { display: flex; align-items: center; gap: 15px; }
.step { color: var(--violet); font-size: .65rem; letter-spacing: .08em; border-bottom: 1px solid var(--lavender); padding-bottom: 3px; align-self: center; }
label { display: block; font-size: .78rem; font-weight: 500; }
input:not([type="checkbox"]), select, textarea { display: block; width: 100%; min-width: 0; background: #fff; color: var(--ink); border: 1px solid #c5b6ce; border-radius: 3px; padding: 11px 12px; margin-top: 7px; font-size: .86rem; }
input[type="checkbox"] { accent-color: var(--violet); }
textarea { min-height: 70px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #817987; opacity: 1; }
.date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.range-presets { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 22px; }
.range-presets span { font-size: .67rem; color: var(--muted); margin-right: auto; }
.range-presets button { min-height: 32px; padding: 5px 9px; font-size: .68rem; }
.hint { color: var(--muted); font-size: .75rem; line-height: 1.7; }
.panel > .hint { margin-top: 12px; }
.section-copy { color: var(--muted); font-size: .83rem; line-height: 1.8; }
.task { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; }
.task-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.task-name { font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.task-actions { display: flex; gap: 12px; }
.task-actions button { border: 0; padding: 4px 0; min-height: 30px; font-size: .7rem; }
.task-actions button:hover { background: none; text-decoration: underline; }
.task-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.task-fields .title-field { grid-column: 1 / -1; }
.task-note { margin-bottom: 16px; }
.repeat-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.repeat-heading > span { font-size: .76rem; font-weight: 500; }
.repeat-presets { display: flex; gap: 10px; }
.repeat-presets button { min-height: 30px; border: 0; padding: 4px 0; font-size: .67rem; color: var(--violet); }
.repeat-presets button:hover { background: none; text-decoration: underline; }
.days { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 0; }
.day { position: relative; cursor: pointer; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day span { display: flex; align-items: center; justify-content: center; min-width: 42px; min-height: 40px; padding: 8px; border: 1px solid #c5b6ce; border-radius: 3px; color: var(--muted); font-size: .72rem; font-weight: 400; }
.day input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.day input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 3px; }
.overnight-note { color: var(--violet); font-size: .7rem; margin-top: 10px; }
.add-button { width: 100%; border-style: dashed; margin-top: 23px; }
.review-column { position: sticky; top: 24px; }
.review-panel { border-top: 3px solid var(--violet); padding: 25px 23px; margin-bottom: 13px; }
.review-panel .heading-label { gap: 11px; align-items: flex-start; }
.review-panel h2 { font-size: 1.5rem; }
.review-panel .section-copy { margin: 17px 0 20px; }
.button-primary { background: var(--violet); color: #fff; border-color: var(--violet); }
.button-primary:hover:not(:disabled) { background: var(--plum); color: #fff; }
.wide { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 13px 15px; }
.review-status { font-size: .76rem; color: var(--muted); margin: 17px 0; overflow-wrap: anywhere; }
.review-status[data-error="true"] { color: #8a341f; background: #f8eee9; padding: 10px; border-left: 2px solid #a3462a; }
.stats { display: grid; grid-template-columns: 1fr 1fr; padding: 17px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.stats dt { font-size: .68rem; color: var(--muted); }
.stats dd { margin: 6px 0 0; font-family: var(--heading-font); font-size: 1.8rem; line-height: 1.1; }
.import-note { margin: 20px 0; }
.import-note .note-label { font-size: .6rem; margin-bottom: 10px; color: var(--violet); }
.import-note p:not(.note-label) { font-size: .72rem; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.import-note p + p { margin-top: 9px; }
.acknowledge { display: flex; align-items: flex-start; gap: 9px; font-size: .72rem; line-height: 1.6; font-weight: 400; margin: 20px 0 16px; }
.acknowledge input { flex: 0 0 auto; margin-top: 4px; }
.format-note { font-size: .62rem; color: var(--muted); text-align: center; margin-top: 9px; }
.privacy-note { font-size: .7rem; color: var(--muted); line-height: 1.75; padding-inline: 5px; }
#warning-details { border-bottom: 1px solid var(--line); margin-top: 12px; padding-bottom: 12px; color: #884021; font-size: .73rem; }
#warnings { padding-left: 17px; max-height: 210px; overflow: auto; overflow-wrap: anywhere; }
#warnings li + li { margin-top: 9px; }
.preview-section { border-top: 1px solid var(--lavender); margin-top: 18px; padding: 34px 0 44px; }
.preview-section .eyebrow { margin-bottom: 9px; }
.empty-state { border: 1px solid var(--line); padding: 32px; text-align: center; }
.empty-symbol { font-size: 1.8rem; color: var(--violet); }
.empty-state p { font-family: var(--heading-font); font-size: 1.2rem; margin: 5px 0 8px; }
.empty-state > span:last-child { font-size: .8rem; color: var(--muted); }
.preview-controls { display: flex; gap: 22px; align-items: flex-end; margin-bottom: 20px; }
.search-label { width: 330px; max-width: 100%; }
.preview-controls .hint { max-width: 310px; padding-bottom: 10px; }
.tablewrap { overflow: auto; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .8rem; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
th { background: #e9e2ee; font-size: .68rem; font-weight: 500; letter-spacing: .025em; }
td:first-child { min-width: 170px; font-variant-numeric: tabular-nums; white-space: nowrap; }
td:nth-child(2) { min-width: 220px; }
td:nth-child(3) { min-width: 260px; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; }
.pagination > div { display: flex; gap: 8px; }
.guide { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; border-top: 1px solid var(--lavender); padding: 40px 0 60px; }
.guide > div > p:last-child { font-size: .83rem; color: var(--muted); margin-top: 18px; max-width: 260px; }
.guide-copy details { border-bottom: 1px solid var(--line); padding: 16px 0; font-size: .82rem; }
.guide-copy details:first-child { padding-top: 0; }
summary { cursor: pointer; font-weight: 500; }
.guide-copy details p, .guide-copy details ol { margin-top: 16px; color: var(--muted); }
.guide-copy details ol { padding-left: 20px; }
.guide-copy li + li { margin-top: 10px; }
code { font-family: ui-monospace, monospace; font-size: .9em; overflow-wrap: anywhere; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; padding-block: 25px; font-size: .75rem; }
.footer-inner a { color: var(--parchment); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: 24px; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .intro { gap: 32px; grid-template-columns: 1.25fr 1fr; }
  .builder-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
  .panel { padding: 23px; }
  .review-panel { padding: 23px 20px; }
  .intro-note { padding: 25px; }
}
@media (max-width: 780px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 20px 0 14px; gap: 8px; }
  nav { gap: 22px; }
  nav a { padding: 8px 0; font-size: .75rem; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 38px 0 30px; }
  .intro-note { display: none; }
  .builder-layout { grid-template-columns: 1fr; gap: 0; }
  .review-column { position: static; }
  .workspace-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .toolbar-actions { width: 100%; }
  .guide { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .preview-controls { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 440px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 2.45rem; }
  h2 { font-size: 1.5rem; }
  .panel { padding: 22px 18px; }
  .toolbar-actions { gap: 7px; }
  .toolbar-actions button { font-size: .68rem; padding: 9px; flex: 1; }
  .range-presets span { flex-basis: 100%; margin-bottom: 3px; }
  .date-grid { gap: 11px; }
  .days { gap: 5px; }
  .day span { min-width: 34px; padding: 7px; font-size: .66rem; }
  .preview-section .section-heading { flex-direction: column; gap: 12px; }
  .pagination { align-items: flex-start; flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: no-preference) { button, a { transition: background-color .15s, color .15s, border-color .15s; } }
