:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-synthesis: none;
  color: #18314f;
  background: #f7f9fc;
  --ink: #18314f;
  --muted: #6e7e93;
  --line: #e0e7f0;
  --blue: #2463eb;
  --navy: #143664;
  --soft: #edf3ff;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 2rem; letter-spacing: -.055rem; font-weight: 650; line-height: 1.2; margin-bottom: 12px; }
h2 { font-size: 1.125rem; letter-spacing: -.02rem; line-height: 1.4; }
h3 { font-size: 1rem; }
p { line-height: 1.65; }
small { font-size: .75rem; line-height: 1.6; }
input, textarea, select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #cbd6e4; border-radius: 9px; outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #8492a5; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2463eb15; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #92b3ff; outline-offset: 4px; }
textarea { resize: vertical; }
input[type=checkbox] { width: 18px; min-height: 18px; height: 18px; accent-color: var(--blue); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 12px; padding: 12px; background: var(--navy); color: white; z-index: 1000; }
.skip-link:focus { top: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 700; text-decoration: none; letter-spacing: -.03rem; }
.brand-mark { background: var(--blue); width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: inline-flex; justify-content: center; align-items: center; font-size: 31px; line-height: 1; font-weight: 800; color: #fff; box-shadow: 0 5px 15px #2463eb20; font-family: Georgia, serif; font-style: italic; padding-bottom: 4px; }
.boot { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: var(--muted); padding: 24px; text-align: center; }
.eyebrow { display: block; color: var(--blue); font-size: .75rem; font-weight: 750; letter-spacing: .12em; margin-bottom: 13px; line-height: 1.5; }
.button { border-radius: 9px; padding: 11px 17px; font-size: .875rem; font-weight: 650; min-height: 44px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.button.primary { color: white; background: var(--blue); box-shadow: 0 3px 7px #2463eb19; }
.button.primary:hover { background: #1853d0; }
.button.secondary { background: white; border-color: #d5deea; }
.button.secondary:hover { background: #f0f4fa; }
.button.danger { color: #bd3347; background: #fff5f5; border-color: #f2c9ce; }
.full { width: 100%; }
.field { margin-bottom: 20px; min-width: 0; }
.field > label, fieldset legend { display: block; font-size: .875rem; font-weight: 620; margin-bottom: 8px; line-height: 1.5; }
.field > small { display: block; color: var(--muted); margin-top: 6px; }
.optional { font-weight: 400; color: #77869a; font-size: .75rem; margin-left: 6px; }
.muted { color: var(--muted); }
.inline-error { background: #fff2f1; color: #a73b39; border: 1px solid #f4d3d0; border-radius: 8px; font-size: .875rem; line-height: 1.5; padding: 11px 13px; white-space: pre-line; overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); border-radius: 10px; background: var(--navy); color: #fff; padding: 13px 20px; box-shadow: 0 6px 25px #18314f30; z-index: 1000; width: max-content; max-width: calc(100% - 32px); font-size: .875rem; line-height: 1.5; }
.toast.error { background: #a33f42; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-intro { background: #eaf0fb; padding: 48px 64px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; position: relative; overflow: hidden; }
.auth-intro:after { content: ""; position: absolute; width: 500px; height: 500px; bottom: -315px; right: -250px; border: 1px solid #c6d6f2; border-radius: 50%; box-shadow: 0 0 0 65px #c6d6f230, 0 0 0 130px #c6d6f218; pointer-events: none; }
.auth-intro h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.13; margin-top: 25px; margin-bottom: 24px; letter-spacing: -.09rem; }
.auth-intro p { color: #65788f; font-size: 1.0625rem; }
.auth-note { font-size: .875rem; color: #63788f; }
.auth-panel { padding: 50px 32px; display: flex; align-items: center; justify-content: center; background: #fff; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form h2 { font-size: 1.55rem; letter-spacing: -.035rem; margin-bottom: 12px; }
.auth-form > .muted { margin-bottom: 32px; }
.auth-footnote { font-size: .75rem; color: #78889d; text-align: center; margin: 24px 0 0; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.sidebar { background: #fff; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; padding: 31px 18px 20px; display: flex; flex-direction: column; }
.sidebar .brand { font-size: 1.0625rem; gap: 10px; padding-left: 4px; }
.sidebar .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 28px; }
.sidebar-label { font-size: .75rem; font-weight: 700; letter-spacing: .11em; color: #7e8da1; margin: 46px 12px 12px; }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { border: 0; border-radius: 8px; background: transparent; text-align: left; width: 100%; display: flex; align-items: center; gap: 10px; font-size: .875rem; color: #66798f; padding: 12px; font-weight: 550; min-height: 46px; }
.nav-item > span { font-size: 1.3rem; width: 20px; flex-shrink: 0; line-height: 20px; text-align: center; }
.nav-item:hover { background: #f5f7fb; }
.nav-item.active { background: var(--soft); color: #2463d8; font-weight: 650; }
.sidebar-bottom { margin-top: auto; padding: 24px 9px 0; }
.timezone { font-size: .75rem; font-weight: 550; color: #6a7c94; margin-bottom: 27px; }
.timezone small { display: block; margin-left: 15px; margin-top: 4px; color: #7f8ea1; }
.tiny-dot { display: inline-block; width: 6px; height: 6px; background: #7ca18a; border-radius: 50%; margin-right: 7px; }
.account { border-top: 1px solid var(--line); padding-top: 20px; display: flex; align-items: center; gap: 9px; min-width: 0; }
.avatar { background: #eff2f7; border-radius: 50%; width: 31px; height: 31px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .875rem; color: #70859f; }
.account > div { min-width: 0; }
.account strong { font-size: .875rem; display: block; font-weight: 620; }
.account #account-email { font-size: .75rem; color: #7e8ca0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; margin-top: 3px; }
.logout { border: 0; background: none; font-size: .875rem; color: #72849c; padding: 14px 0 0; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; }
.logout:hover { color: var(--blue); }
.workspace { padding: 0 44px; max-width: 1600px; min-width: 0; width: 100%; margin: 0 auto; outline: none; }
.topbar { min-height: 82px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; color: #78889e; }
.topbar #today-label { text-transform: capitalize; }
.private-label { color: #73869d; font-size: .75rem; white-space: nowrap; }
.private-label span { font-size: .75rem; color: #789d8b; margin-right: 5px; }
.mobile-logout { display: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 38px 0 29px; }
.page-heading .eyebrow { margin-bottom: 11px; }
.page-heading h1 { font-size: 1.875rem; margin-bottom: 10px; }
.page-heading p { color: #74869e; margin-bottom: 0; }
.page-heading > .button { margin-top: 5px; flex-shrink: 0; }
.notice { background: #fff8e9; border: 1px solid #f1e3c6; color: #816223; border-radius: 10px; padding: 13px 16px; font-size: .875rem; line-height: 1.6; margin-bottom: 24px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.notice .text-button { color: inherit; flex-shrink: 0; }
.notice.info { background: #f3f7ff; border-color: #dde7fa; color: #526f97; }
.notice.compact { margin-top: 5px; }
.stats { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 18px; margin-bottom: 33px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 20px 23px; min-height: 135px; min-width: 0; }
.stat > span { font-size: .875rem; color: #708299; display: block; margin-bottom: 11px; }
.stat > strong { display: block; font-size: 1.625rem; line-height: 1.2; font-weight: 620; letter-spacing: -.025rem; }
.stat .stat-date { font-size: 1.125rem; padding-top: 3px; line-height: 1.5; }
.stat > small { display: block; color: #798ba2; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 3px; padding: 3px; background: #eaf0f6; border-radius: 8px; }
.filter { border: 0; background: none; min-height: 40px; border-radius: 6px; font-size: .875rem; color: #65798f; padding: 8px 11px; white-space: nowrap; }
.filter.active { background: white; color: #3c5b82; font-weight: 650; box-shadow: 0 1px 3px #2647740a; }
.filter > span { background: #edf3fc; color: #607b9f; padding: 2px 5px; border-radius: 4px; font-size: .75rem; margin-left: 4px; }
.search-field { display: flex; align-items: center; position: relative; margin-left: auto; }
.search-field > span { position: absolute; left: 12px; font-size: 1.3rem; color: #8295ad; top: 8px; }
.search-field input { background: #fff; padding: 8px 12px 8px 35px; font-size: .875rem; min-height: 44px; width: 240px; border-color: #dce4ef; }
.reminder-list { display: flex; flex-direction: column; gap: 14px; }
.reminder-card { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 215px; gap: 20px 24px; align-items: center; }
.reminder-main { min-width: 0; }
.reminder-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.reminder-card h2 { margin: 0; font-weight: 640; overflow-wrap: anywhere; }
.badge { display: inline-flex; border-radius: 5px; padding: 4px 7px; font-size: .75rem; font-weight: 650; white-space: nowrap; line-height: 1.4; }
.badge.active, .badge.sent { background: #e9f5ef; color: #427c5e; }
.badge.paused, .badge.pending { background: #fff4de; color: #88671e; }
.badge.sending { background: #edf3ff; color: #3267b2; }
.badge.completed, .badge.cancelled { background: #edf1f6; color: #6e7f96; }
.badge.failed, .badge.uncertain { background: #fff0ef; color: #a14f4c; }
.reminder-description { line-height: 1.6; color: #72849a; margin: 0 0 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reminder-recipients { font-size: .875rem; color: #7589a1; line-height: 1.6; overflow-wrap: anywhere; margin: 0; }
.reminder-recipients:before { content: "↗"; color: #6d8db6; margin-right: 6px; }
.reminder-schedule { border-left: 1px solid #edf1f6; padding-left: 22px; min-width: 0; }
.reminder-schedule > small { display: block; color: #778ba3; margin-bottom: 5px; }
.reminder-schedule > strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.5; }
.reminder-schedule > span { font-size: .875rem; color: #768ba4; display: block; margin-top: 4px; line-height: 1.5; }
.card-actions { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid #edf1f6; padding-top: 10px; }
.text-button { background: none; border: 0; color: var(--blue); font-size: .875rem; font-weight: 600; padding: 6px 2px; min-height: 36px; }
.text-button:hover { text-decoration: underline; }
.card-actions .text-button.muted-action { color: #6e819c; }
.card-actions .text-button.delete-action { color: #a35c68; }
.empty-state { background: #fff; border: 1px dashed #dce4ef; border-radius: 12px; padding: 52px 22px; text-align: center; }
.empty-icon { width: 57px; height: 57px; border-radius: 17px; background: #edf3ff; color: #7498df; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; }
.empty-state h2 { font-size: 1.25rem; margin-bottom: 10px; }
.empty-state p { color: #788ba4; margin: 0 auto 23px; max-width: 450px; }
.page-footer { text-align: center; font-size: .75rem; color: #7e8fa6; margin: 28px 0; line-height: 1.6; }
.subtle-note { font-size: .875rem; color: #74869e; max-width: 750px; margin-bottom: 24px; }
.history-list { display: flex; flex-direction: column; gap: 12px; }
.history-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 100px; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 10px; padding: 20px 23px; background: #fff; }
.history-row h2 { font-size: 1rem; margin-bottom: 5px; overflow-wrap: anywhere; }
.history-row p { font-size: .875rem; color: #73879e; margin: 0; overflow-wrap: anywhere; }
.history-row time { font-size: .875rem; color: #6d819b; line-height: 1.65; }
.history-row .badge { justify-self: end; }
.history-error { grid-column: 1 / -1; color: #a35754 !important; background: #fff6f5; padding: 8px 10px; border-radius: 6px; white-space: pre-wrap; }
.settings-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 27px; max-width: 760px; margin-bottom: 20px; }
.settings-card-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 19px; margin-bottom: 24px; gap: 20px; }
.settings-card h2 { margin-bottom: 5px; }
.settings-card-head p, .timezone-card p { color: #73869e; margin: 0; }
.settings-card-head .badge { margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 19px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; margin: -2px 0 21px; cursor: pointer; line-height: 1.6; }
.check-row input { margin: 3px 0 0; flex-shrink: 0; }
.check-row small { display: block; color: #72849d; margin-top: 4px; }
.timezone-card { display: flex; align-items: center; gap: 17px; padding: 20px 27px; }
.empty-icon.small { margin: 0; width: 40px; height: 40px; border-radius: 12px; font-size: 1.5rem; flex-shrink: 0; }
.editor-dialog { padding: 0; border: 0; border-radius: 15px; box-shadow: 0 24px 100px #10294b36; width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 48px); color: var(--ink); background: #fff; }
.editor-dialog::backdrop { background: #162d4a65; backdrop-filter: blur(3px); }
.editor-dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.dialog-header { padding: 25px 29px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-shrink: 0; }
.dialog-header .eyebrow { margin-bottom: 9px; }
.dialog-header h2 { margin: 0; font-size: 1.375rem; }
.icon-button { background: #f4f7fb; border: 0; border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0; font-size: 1.5rem; color: #72869f; line-height: 1; display: flex; align-items: center; justify-content: center; }
.icon-button:hover { background: #e8eef8; }
.dialog-body { padding: 25px 29px; overflow: auto; }
.dialog-body .field { margin-bottom: 19px; }
.dialog-footer { padding: 18px 29px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; flex-shrink: 0; background: #fff; }
.section-divider { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; margin: 25px 0 20px; font-size: .875rem; font-weight: 650; }
.section-divider > span:last-child { font-size: .75rem; color: #72879f; font-weight: 450; }
.recurrence-box { background: #f7f9fc; border-radius: 9px; padding: 13px 15px; margin-bottom: 19px; }
.inline-fields { display: flex; align-items: center; gap: 12px; font-size: .875rem; }
.inline-fields input { width: 80px; padding: 7px 10px; min-height: 42px; }
.field-hint { font-size: .75rem; color: #71859e; margin: 8px 0 0; line-height: 1.6; }
.weekday-fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.weekday-fieldset > small { display: block; color: #74879e; margin-top: 8px; }
.weekday-options { display: flex; gap: 7px; }
.weekday-options label { flex: 1; min-width: 0; position: relative; cursor: pointer; }
.weekday-options input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.weekday-options span { display: block; text-align: center; padding: 11px 6px; border-radius: 7px; border: 1px solid #d8e0ec; font-size: .875rem; color: #6f829b; }
.weekday-options input:checked + span { border-color: #8eaff5; background: #edf3ff; color: #2463d8; }
.weekday-options input:focus-visible + span { outline: 3px solid #92b3ff; outline-offset: 3px; }
.end-options { margin: 5px 0 20px; font-size: .875rem; }
.end-options summary { cursor: pointer; font-weight: 550; color: #627d9f; padding: 8px 0; min-height: 40px; }
.end-options[open] summary { margin-bottom: 13px; }
.end-options > small { color: #72869e; display: block; margin-top: -8px; }
.preview-box { border: 1px solid #dce7f7; border-radius: 9px; background: #f5f8fe; padding: 15px 17px; margin-top: 24px; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.preview-heading h3 { font-size: .875rem; margin: 0; color: #4f7099; }
.preview-dates p { font-size: .875rem; margin: 0; color: #6b83a1; line-height: 1.6; }
.preview-dates ol { padding-left: 21px; margin: 0; color: #57759b; font-size: .875rem; line-height: 1.9; }
.preview-dates .error-text { color: #9b5851; }
.dialog-body > .inline-error { margin-bottom: 0; margin-top: 18px; }
.loading-text { text-align: center; padding: 32px; color: #71859e; }

@media (min-width: 1450px) {
  .workspace { padding: 0 65px; }
  .reminder-card { grid-template-columns: minmax(0, 1fr) 245px; }
}
@media (max-width: 1100px) {
  .workspace { padding: 0 28px; }
  .page-heading { align-items: flex-start; flex-wrap: wrap; }
  .stats { gap: 12px; }
  .stat { padding: 18px; }
  .reminder-card { grid-template-columns: minmax(0, 1fr) 185px; gap: 16px; padding: 20px; }
  .reminder-schedule { padding-left: 16px; }
  .auth-intro { padding: 40px; }
  .history-row { grid-template-columns: minmax(0, 1fr) 125px 90px; gap: 12px; }
}
@media (max-width: 800px) {
  .app-shell { display: block; }
  .sidebar { height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 17px 22px; }
  .sidebar .brand-mark { width: 32px; height: 32px; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .sidebar nav { flex-direction: row; margin-top: 18px; gap: 5px; }
  .nav-item { width: auto; flex: 1; padding: 10px; justify-content: center; }
  .nav-item > span { font-size: 1.125rem; width: 18px; }
  .workspace { padding: 0 24px; }
  .topbar { min-height: 58px; }
  .topbar .private-label { margin-left: auto; }
  .mobile-logout { display: inline-block; }
  .page-heading { margin-top: 30px; gap: 18px; }
  .auth-shell { display: block; }
  .auth-intro { min-height: auto; padding: 24px 32px; }
  .auth-intro > div, .auth-note, .auth-intro:after { display: none; }
  .auth-panel { min-height: calc(100vh - 86px); padding: 40px 28px; }
  .auth-form { max-width: 390px; }
  .settings-card { padding: 24px; }
}
@media (max-width: 560px) {
  .sidebar { padding: 16px 14px; }
  .sidebar nav { gap: 3px; }
  .nav-item { gap: 5px; padding: 10px 7px; flex-direction: column; font-size: .875rem; line-height: 1.4; }
  .nav-item > span { display: none; }
  .workspace { padding: 0 16px; }
  .topbar { gap: 10px; }
  .topbar .private-label { display: none; }
  .page-heading { display: block; margin-bottom: 22px; }
  .page-heading h1 { font-size: 1.75rem; }
  .page-heading > .button { margin-top: 20px; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 25px; }
  .stat { padding: 17px; min-height: 122px; }
  .stat:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .stat:nth-child(2) .stat-date { font-size: 1.25rem; }
  .stat > small { white-space: normal; }
  .filter-tabs { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .filter { padding: 8px 7px; flex: 1; }
  .search-field { width: 100%; margin: 0; }
  .search-field input { width: 100%; font-size: 1rem; }
  .list-toolbar { gap: 13px; margin-bottom: 15px; }
  .reminder-card { display: block; padding: 20px; }
  .reminder-schedule { margin-top: 16px; border-left: 0; padding: 13px 0 0; border-top: 1px solid #edf1f6; }
  .card-actions { margin-top: 15px; gap: 20px; justify-content: flex-start; }
  .reminder-description { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .notice { display: block; }
  .notice .text-button { display: block; margin-top: 5px; }
  .empty-state { padding: 40px 20px; }
  .history-row { grid-template-columns: minmax(0, 1fr) auto; padding: 18px; }
  .history-row time { grid-column: 1; grid-row: 2; }
  .history-row > .badge { grid-column: 2; grid-row: 1; }
  .settings-card { padding: 22px 18px; }
  .settings-card-head { display: block; }
  .settings-card-head .badge { margin-top: 12px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-actions .button { width: 100%; }
  .timezone-card { gap: 12px; align-items: flex-start; }
  .editor-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; }
  .editor-dialog form { max-height: calc(100dvh - 16px); }
  .dialog-header { padding: 21px 20px 18px; }
  .dialog-header h2 { font-size: 1.25rem; }
  .dialog-body { padding: 21px 20px; }
  .dialog-footer { padding: 15px 20px; }
  .dialog-footer .button { padding: 10px 12px; }
  .weekday-options { gap: 5px; flex-wrap: wrap; }
  .weekday-options label { flex: 1 0 calc(25% - 5px); }
  .weekday-options span { padding: 11px 4px; }
  .section-divider { align-items: flex-start; flex-wrap: wrap; gap: 7px; }
  .inline-fields { gap: 9px; flex-wrap: wrap; }
  .inline-fields input { width: 75px; }
}
