:root {
  color-scheme: light;
  --paper: #f5f5f7;
  --surface: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --blue: #0066cc;
  --blue-light: #eaf3ff;
  --line: #e3e3e8;
  --green: #28784a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a, select, summary { touch-action: manipulation; }
button { color: inherit; cursor: pointer; border: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-underline-offset: 3px; }
button, a, summary { transition: background .18s, color .18s, box-shadow .18s; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, article:focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
svg { width: 22px; height: 22px; flex-shrink: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 40px; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 18px; background: white; border-radius: 12px; z-index: 30; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.header { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; letter-spacing: -.8px; font-weight: 650; line-height: 1.2; }
.brand img { flex-shrink: 0; }
.brand-note { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0; font-weight: 400; margin-top: 5px; }
.main-nav { display: flex; flex-shrink: 0; padding: 4px; border-radius: 14px; background: #e9e9ed; gap: 4px; }
.nav-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 11px; background: transparent; font-size: 14px; font-weight: 550; color: #57575d; white-space: nowrap; }
.nav-button.active { background: white; color: var(--ink); box-shadow: 0 1px 5px #0000000d; }
.nav-button svg { width: 20px; height: 20px; }
#plan-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; border-radius: 20px; background: #dedee4; color: #57575d; margin-left: 4px; font-size: 11px; font-weight: 650; padding-inline: 5px; }
.nav-button.active #plan-count { background: var(--blue-light); color: var(--blue); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 45px; padding: 40px 0 42px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 500; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5c9270; }
h1 { font-size: clamp(38px, 4.5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -2.5px; margin: 15px 0 18px; }
h1 span { color: var(--muted); }
.hero-copy > p { font-size: 17px; line-height: 1.6; }
.how-it-works { list-style: none; display: flex; flex-direction: column; gap: 23px; margin: 0; padding: 28px 32px; border-radius: 24px; border: 1px solid #fff; background: #ffffffa8; }
.how-it-works li { display: flex; align-items: center; gap: 16px; }
.step-number { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 15px; font-weight: 600; }
.how-it-works strong { font-size: 15px; font-weight: 600; }
.how-it-works p { font-size: 13px; margin-top: 2px; }
.starter-guide { margin-bottom: 38px; }
.starter-heading { margin-bottom: 16px; }
.starter-heading h2 { font-size: 23px; letter-spacing: -.6px; font-weight: 650; }
.starter-heading p { font-size: 14px; margin-top: 4px; }
.starter-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.starter-card { text-align: left; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 21px 18px; background: var(--surface); border: 1px solid #e6e6eb; border-radius: 19px; }
.starter-card:hover { background: #fafdff; border-color: #a7c9ee; box-shadow: 0 4px 16px #1d1d1f06; }
.starter-card:active { background: var(--blue-light); }
.starter-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #edf3fc; color: #3773b4; flex-shrink: 0; }
.starter-card:nth-child(2) .starter-icon { background: #ecf5ee; color: #39774d; }
.starter-card:nth-child(3) .starter-icon { background: #fff2e6; color: #a86828; }
.starter-copy { min-width: 0; flex: 1; }
.starter-copy strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.2px; }
.starter-copy small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.starter-arrow { width: 16px; height: 16px; color: #8e8e93; }
.resume-reading { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #edf2fa; border-radius: 16px; padding: 16px 20px; margin-bottom: 30px; }
.resume-reading > div { min-width: 0; }
.resume-reading .eyebrow { font-size: 12px; }
.resume-reading p { font-size: 14px; color: var(--ink); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-reading button { flex-shrink: 0; }
.explore { border-top: 1px solid var(--line); padding-top: 30px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; }
.section-heading p { margin-top: 6px; font-size: 14px; }
#result-count { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -8px 0 23px; }
.selection-bar p { font-size: 13px; }
.text-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: var(--blue); padding: 8px 0; font-size: 14px; font-weight: 500; }
.text-button:hover { color: #004a99; }
.selection-bar .text-button { flex-shrink: 0; }
.search { display: flex; align-items: center; gap: 10px; padding-inline: 16px; min-width: 0; background: #eaeaec; border: 1px solid transparent; border-radius: 13px; color: #77777e; }
.search:focus-within { background: white; border-color: #0071e3; box-shadow: 0 0 0 3px #0071e314; }
.search input { width: 100%; min-width: 0; background: transparent; border: 0; padding: 13px 0; font-size: 16px; color: var(--ink); outline: none; }
.search input::placeholder { color: #68686e; }
.catalog-toolbar { position: relative; display: flex; align-items: flex-start; gap: 18px; margin-top: 15px; }
.chips { display: flex; gap: 7px; }
.topic-chips { flex: 1; min-width: 0; overflow-x: auto; padding: 2px 2px 7px; scrollbar-width: thin; }
.chip { background: transparent; border-radius: 24px; padding: 10px 17px; min-height: 44px; font-size: 13px; white-space: nowrap; flex-shrink: 0; color: #626269; border: 1px solid transparent; }
.chip:hover { background: #e9e9ee; }
.chip.active { background: var(--ink); color: white; }
.filters-panel { flex-shrink: 0; z-index: 3; }
.filters-panel > summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 15px; border: 1px solid #d7d7de; background: var(--surface); border-radius: 12px; cursor: pointer; font-size: 13px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.filters-panel > summary svg { width: 18px; height: 18px; }
.filters-panel[open] > summary { border-color: #91b8e5; color: var(--blue); background: #f5f9ff; }
#filter-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; border-radius: 50%; background: var(--blue); color: white; font-size: 11px; }
.filter-fields { position: absolute; top: 56px; right: 0; display: grid; gap: 16px; width: 320px; max-width: 100%; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 12px 40px #1d1d1f1a; }
.select-label { display: grid; gap: 7px; font-size: 13px; font-weight: 550; min-width: 0; }
.select-label select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #d7d7de; border-radius: 10px; background: #f9f9fb; color: var(--ink); font-size: 14px; font-weight: 400; }
.filter-fields .text-button { justify-self: start; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 4px 0 15px; }
.filter-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-size: 12px; color: var(--blue); background: var(--blue-light); }
.filter-tag span { font-size: 18px; line-height: 1; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; margin-top: 18px; }
.card { min-width: 0; background: var(--surface); border: 1px solid #e7e7ec; border-radius: 21px; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 5px 20px #1d1d1f06; }
.card-head { padding: 23px 23px 0; flex-shrink: 0; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; font-size: 11px; color: var(--muted); }
.card-meta > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.region-badge { flex-shrink: 0; font-size: 10px; border-radius: 5px; padding: 2px 6px; background: #f3f3f6; color: #6e6e73; }
.card h3 { font-size: 20px; font-weight: 650; line-height: 1.3; letter-spacing: -.5px; overflow-wrap: anywhere; }
.card-body { padding: 13px 23px 0; flex: 1 0 auto; min-width: 0; }
.card-summary { font-size: 14px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.card details { margin-top: 10px; font-size: 14px; overflow-wrap: anywhere; }
.card summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; min-height: 44px; padding: 10px 0; color: var(--blue); font-weight: 500; font-size: 13px; list-style: none; gap: 10px; }
.card summary::after { content: "+"; color: #8e8e93; font-size: 21px; line-height: 1; font-weight: 400; }
.card details[open] > summary::after { content: "−"; }
.detail-item { margin: 10px 0 18px; white-space: pre-wrap; color: #56565d; font-size: 13px; line-height: 1.7; }
.detail-item strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.review-meta { font-size: 11px; margin: 12px 0; line-height: 1.65; }
.source-list { padding-left: 17px; margin: 12px 0 18px; font-size: 12px; color: #626269; }
.source-list li { margin: 8px 0; }
.source-list a, .detail-item a { overflow-wrap: anywhere; }
.original-link { font-size: 11px; color: var(--muted); }
.card-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 23px 22px; flex-shrink: 0; }
.save-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 11px; padding: 10px 14px; background: var(--blue); color: white; font-size: 13px; font-weight: 550; flex: 1; }
.save-button:hover, .primary:hover { background: #0059b3; }
.save-button.saved { background: #edf6ef; color: var(--green); }
.save-button.saved:hover { background: #dfefe3; }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: #f5f5f7; border-radius: 11px; color: #73737a; }
.icon-button:hover { background: #eaeaec; color: var(--ink); }
.icon-button svg { width: 19px; height: 19px; }
.calendar-button { margin-left: auto; }
.share-button { font-size: 0; }
.share-button svg { width: 19px; height: 19px; }
.done-label { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; font-weight: 500; cursor: pointer; margin-right: auto; }
.done-label input { width: 23px; height: 23px; accent-color: var(--green); margin: 0; }
.card.done { background: #fafcfb; border-color: #d4e5d9; }
.card.done h3 { color: #68786d; }
.card.done .done-label { color: var(--green); }
.archive-notice { font-size: 13px; margin-bottom: 12px; }
.archived { border-style: dashed; }
.primary, .subtle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 12px; padding: 11px 19px; text-decoration: none; font-size: 14px; font-weight: 500; cursor: pointer; }
.primary { background: var(--blue); color: white; }
.subtle { background: var(--surface); border: 1px solid #d9d9e0; }
.subtle:hover { background: #f0f0f4; }
.load-row { display: flex; justify-content: center; margin-top: 30px; }
.load-row .subtle { gap: 24px; padding-inline: 24px; }
.plan-summary { background: white; padding: 22px 24px; border-radius: 19px; margin-bottom: 20px; border: 1px solid #e7e7ec; }
.progress-heading { display: flex; align-items: center; gap: 13px; }
.progress-heading strong { font-size: 16px; font-weight: 600; }
.progress-heading p { font-size: 13px; margin-top: 3px; }
.progress-icon { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: #edf6ef; color: var(--green); font-size: 20px; flex-shrink: 0; }
progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 6px; overflow: hidden; accent-color: var(--green); margin-top: 18px; background: #e9e9ed; }
progress::-webkit-progress-bar { background: #e9e9ed; }
progress::-webkit-progress-value { background: #4c9365; border-radius: 6px; }
progress::-moz-progress-bar { background: #4c9365; }
#custom-form { display: flex; gap: 10px; }
#custom-title { flex: 1; min-width: 0; background: var(--surface); border: 1px solid #d9d9e0; border-radius: 12px; padding: 12px 15px; font-size: 16px; color: var(--ink); }
#custom-form .primary span { font-size: 23px; line-height: 1; }
.plan-options { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 19px; }
.status-chips { flex-shrink: 0; }
.backup-tools { position: relative; min-width: 0; }
.backup-tools > summary { cursor: pointer; color: var(--muted); min-height: 44px; padding-block: 11px; font-size: 13px; text-align: right; }
.backup-content { position: absolute; z-index: 3; right: 0; top: 50px; width: 360px; max-width: 80vw; border: 1px solid var(--line); border-radius: 17px; background: white; padding: 20px; box-shadow: 0 12px 40px #1d1d1f1a; }
.backup-content p { font-size: 13px; line-height: 1.65; }
.plan-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.plan-actions .subtle { font-size: 13px; width: 100%; }
.import-label:focus-within { outline: 3px solid #0071e3; outline-offset: 3px; }
body[data-view="plan"] #list-tools { margin-top: 18px; }
body[data-view="plan"] .explore { border: 0; padding-top: 28px; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 24px; text-align: center; margin-top: 20px; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--blue-light); color: var(--blue); margin: 0 auto 18px; }
.empty h3 { font-size: 22px; letter-spacing: -.5px; }
.empty p { max-width: 370px; margin: 10px auto 23px; font-size: 14px; line-height: 1.7; }
.empty .primary { max-width: 100%; }
.loading-state { color: var(--muted); font-size: 14px; padding: 32px 0; }
.closing { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 55px 0 40px; }
.closing img { opacity: .7; }
.closing p { font-size: 14px; }
.context-note { border-top: 1px solid var(--line); padding: 8px 0; font-size: 12px; color: var(--muted); }
.context-note summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; min-height: 44px; list-style: none; }
.context-note summary::after { content: "+"; font-size: 20px; }
.context-note[open] summary::after { content: "−"; }
.context-note > div { max-width: 850px; padding-bottom: 15px; }
.context-note p { margin: 10px 0; line-height: 1.8; }
.context-note a { overflow-wrap: anywhere; }
.footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand { font-size: 16px; letter-spacing: -.5px; }
.footer small { color: var(--muted); font-size: 11px; }
.socials { display: flex; gap: 5px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--muted); border-radius: 50%; }
.socials a:hover { background: #e9e9ee; }
.socials svg { width: 19px; height: 19px; }
dialog { border: 1px solid #e5e5ea; border-radius: 25px; padding: 35px; max-width: 460px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); color: var(--ink); background: #fff; box-shadow: 0 20px 80px #0002; }
dialog::backdrop { background: #18181e66; backdrop-filter: blur(6px); }
dialog h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.8px; margin: 18px 0 12px; }
.dialog-close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: #f1f1f4; border-radius: 50%; color: #75757c; font-size: 26px; }
#calendar-title { font-size: 14px; margin-bottom: 25px; }
#calendar-form { display: flex; flex-direction: column; gap: 13px; }
#calendar-form label { font-size: 14px; font-weight: 500; }
input[type="date"] { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid #d9d9e0; border-radius: 11px; background: #fafafa; color: var(--ink); font-size: 16px; }
.muted, .calendar-help { font-size: 12px; line-height: 1.6; }
.calendar-help { text-align: center; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; background: #252529; color: white; padding: 12px 18px; border: 1px solid #ffffff20; border-radius: 16px; max-width: min(580px, calc(100% - 32px)); width: max-content; font-size: 13px; z-index: 20; box-shadow: 0 8px 30px #0002; }
#toast-plan { display: flex; align-items: center; gap: 8px; padding: 0; min-height: 44px; background: transparent; color: #9eccff; font-size: 13px; font-weight: 600; flex-shrink: 0; }
@media (max-width: 1050px) {
  .wrap { padding-inline: 28px; }
  .hero { gap: 28px; }
  .how-it-works { padding: 25px; }
  .starter-card { gap: 10px; padding: 18px 14px; }
  .starter-copy strong { font-size: 14px; }
  .starter-arrow { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { font-size: 21px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .wrap { padding-inline: 20px; }
  .header { height: 76px; }
  .brand { font-size: 21px; }
  .brand-note { font-size: 10px; }
  .main-nav { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; justify-content: center; gap: 8px; background: #fafafaef; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 7px 20px calc(7px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #dedee5; border-radius: 0; }
  .nav-button { width: min(45%, 200px); min-height: 54px; flex-direction: column; gap: 3px; font-size: 11px; padding: 4px 8px; border-radius: 12px; color: var(--muted); }
  .nav-button svg { width: 23px; height: 23px; }
  .nav-button.active { background: transparent; color: var(--blue); box-shadow: none; }
  #plan-count { min-width: 17px; height: 17px; font-size: 10px; margin-left: 2px; }
  .hero { display: block; padding: 16px 0 28px; }
  .hero .eyebrow { font-size: 12px; }
  h1 { font-size: 38px; letter-spacing: -1.6px; margin: 11px 0 13px; line-height: 1.12; }
  .hero-copy > p { font-size: 15px; line-height: 1.6; max-width: 340px; }
  .desktop-break { display: none; }
  .how-it-works { display: none; }
  .starter-guide { margin-bottom: 30px; }
  .starter-heading { margin-bottom: 14px; }
  .starter-heading h2 { font-size: 22px; }
  .starter-heading p { font-size: 13px; line-height: 1.6; max-width: 310px; margin-top: 5px; }
  .starter-options { grid-template-columns: 1fr; gap: 9px; }
  .starter-card { padding: 14px 16px; gap: 13px; border-radius: 16px; min-height: 78px; }
  .starter-copy strong { font-size: 15px; }
  .starter-copy small { font-size: 12px; margin-top: 3px; }
  .starter-icon { width: 42px; height: 42px; border-radius: 12px; }
  .starter-arrow { display: block; }
  .resume-reading { gap: 10px; padding: 13px 15px; margin-bottom: 24px; }
  .resume-reading p { font-size: 12px; }
  .resume-reading button { font-size: 12px; }
  .resume-reading .eyebrow { font-size: 11px; }
  .explore { padding-top: 25px; }
  .section-heading { gap: 12px; margin-bottom: 18px; align-items: flex-start; }
  .section-heading h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.9px; }
  .section-heading p { font-size: 13px; max-width: 260px; line-height: 1.6; }
  #result-count { font-size: 11px; margin-top: 8px; }
  .selection-bar { align-items: flex-start; flex-direction: column; gap: 0; margin-bottom: 15px; }
  .selection-bar p { font-size: 12px; }
  .search { padding-inline: 14px; }
  .search input { min-height: 48px; }
  .catalog-toolbar { display: block; margin-top: 12px; }
  .topic-chips { width: 100%; gap: 2px; padding-bottom: 9px; }
  .chip { padding: 10px 14px; font-size: 12px; }
  .filters-panel { margin-top: 3px; }
  .filters-panel > summary { display: inline-flex; padding: 10px 13px; font-size: 13px; gap: 7px; border-color: transparent; background: #eaeaec; }
  .filters-panel > summary svg { width: 20px; height: 20px; }
  #filter-count { font-size: 10px; }
  .filter-fields { position: relative; top: auto; right: auto; width: 100%; max-width: none; box-shadow: none; margin: 12px 0 4px; border-radius: 16px; padding: 18px; gap: 15px; }
  .filters-panel[open] { width: 100%; }
  .filters-panel[open] > summary { width: auto; font-size: 13px; gap: 7px; padding-inline: 13px; }
  .filters-panel[open] #filter-count { position: static; }
  .filters-panel[open] > summary::after { content: "−"; margin-left: auto; font-size: 18px; padding-left: 12px; }
  .cards { grid-template-columns: 1fr; gap: 14px; margin-top: 13px; }
  .card { border-radius: 20px; }
  .card-head { padding: 21px 21px 0; }
  .card-meta { margin-bottom: 11px; font-size: 11px; }
  .card h3 { font-size: 21px; line-height: 1.32; }
  .card-body { padding: 12px 21px 0; }
  .card-summary { font-size: 15px; line-height: 1.65; }
  .card summary { font-size: 14px; }
  .card-footer { padding: 10px 21px 21px; }
  .save-button { font-size: 14px; }
  .plan-summary { padding: 19px; margin-bottom: 17px; }
  .progress-heading strong { font-size: 15px; }
  .progress-heading p { font-size: 12px; }
  #custom-form { gap: 8px; }
  #custom-title { padding: 12px; }
  #custom-form .primary { padding-inline: 13px; font-size: 13px; gap: 5px; }
  .plan-options { flex-wrap: wrap; gap: 3px; margin-top: 15px; }
  .status-chips { flex-shrink: 1; gap: 4px; }
  .backup-tools { margin-left: auto; }
  .backup-tools > summary { font-size: 12px; }
  .backup-content { width: 320px; max-width: calc(100vw - 40px); }
  body[data-view="plan"] .explore { padding-top: 14px; }
  body[data-view="plan"] .section-heading h2 { font-size: 32px; }
  body[data-view="plan"] .closing { padding-top: 30px; }
  .empty { padding: 32px 20px; }
  .empty h3 { font-size: 21px; }
  .closing { padding: 40px 0 28px; }
  .closing p { font-size: 12px; }
  .closing img { width: 24px; height: 24px; }
  .footer { flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 22px; }
  .footer small { width: 100%; order: 3; font-size: 10px; }
  .socials { margin-left: auto; }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); font-size: 12px; padding: 10px 14px; gap: 12px; border-radius: 14px; }
  #toast-plan { font-size: 12px; }
  dialog { padding: 30px 23px 25px; border-radius: 22px; }
  dialog h2 { font-size: 26px; padding-right: 8px; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  h1 { font-size: 34px; }
  .starter-heading p { font-size: 12px; }
  .starter-card { padding: 12px 13px; }
  .starter-copy strong { font-size: 14px; }
  .card-head { padding-inline: 18px; }
  .card-body, .card-footer { padding-inline: 18px; }
  .card-footer { gap: 6px; }
  .save-button { font-size: 13px; padding-inline: 10px; }
  .section-heading { flex-wrap: wrap; gap: 0; }
  #result-count { margin-top: 6px; }
  #custom-form { flex-wrap: wrap; }
  #custom-title { flex-basis: 100%; }
  #custom-form .primary { width: 100%; }
  .toast { flex-wrap: wrap; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
