:root {
  --gc-green: #2e9d52;
  --gc-green-dark: #237a40;
  --gc-green-soft: #e8f5ec;
  --gc-accent-rgb: 46, 157, 82;
  --gc-ink: #22262b;
  --gc-muted: #626975;
  --gc-line: #e6e8eb;
  --gc-bg: #f5f7f6;
  --gc-card: #ffffff;
  --gc-weekend: #be4848;
  --gc-radius: 14px;
  --gc-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 30px rgba(16, 24, 40, .06);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--gc-ink);
  background: var(--gc-bg);
  font-feature-settings: "tnum" 1, "cv11" 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: var(--gc-green-dark); }
a:hover { color: var(--gc-green); }

.btn-gc { background: var(--gc-green); border-color: var(--gc-green); color: #fff; font-weight: 600; }
.btn-gc:hover, .btn-gc:focus, .btn-gc:active, .btn-gc.show { background: var(--gc-green-dark) !important; border-color: var(--gc-green-dark) !important; color: #fff !important; }
.btn-outline-gc { border: 1.5px solid var(--gc-green); color: var(--gc-green-dark); font-weight: 600; background: #fff; }
.btn-outline-gc:hover, .btn-outline-gc:focus { background: var(--gc-green-soft); color: var(--gc-green-dark); border-color: var(--gc-green); }
.btn-icon { border: 1px solid var(--gc-line); background: #fff; min-width: 40px; }
.btn-icon:hover { background: var(--gc-bg); }
.btn { border-radius: 10px; }
.form-control, .form-select { border-radius: 10px; border-color: #d9dde2; }
.form-control:focus, .form-select:focus { border-color: var(--gc-green); box-shadow: 0 0 0 .2rem rgba(var(--gc-accent-rgb), .15); }
.form-label { font-size: .82rem; font-weight: 600; color: var(--gc-muted); margin-bottom: .3rem; }

.topbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gc-line); position: sticky; top: 0; z-index: 1020; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--gc-ink); text-decoration: none; letter-spacing: -.01em; }
.brand:hover { color: var(--gc-ink); }
.brand-mark { color: var(--gc-green); font-size: 1.3rem; margin-right: .15rem; }
.brand-dot { color: var(--gc-green); }
.topbar-nav { display: flex; align-items: center; gap: .75rem; }
.topbar-link { color: var(--gc-muted); text-decoration: none; font-weight: 500; font-size: .92rem; }
.user-badge { display: flex; align-items: center; gap: .5rem; }
.user-badge .btn { font-size: .9rem; }
.user-avatar { width: 26px; height: 26px; border-radius: 50%; margin-right: .4rem; }
@media (max-width: 480px) { .brand { font-size: 1rem; } .topbar-nav { gap: .35rem; } .user-badge .btn { font-size: .8rem; padding: .25rem .6rem; } .lang-select { margin-left: 0 !important; } }

.site-footer { color: var(--gc-muted); font-size: .85rem; padding: 2rem 0; border-top: 1px solid var(--gc-line); margin-top: 3rem; background: #fff; }
.site-footer a { color: var(--gc-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gc-ink); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid h2 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--gc-muted); margin: 0 0 .75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-brand .brand { color: var(--gc-ink); font-size: 1.1rem; margin-bottom: .5rem; display: inline-block; }
.footer-brand p { margin: 0 0 .5rem; max-width: 22rem; }
.footer-bottom { border-top: 1px solid var(--gc-line); margin-top: 2rem; padding-top: 1rem; font-size: .8rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 2fr 1fr; } .footer-guides ul { columns: 2; column-gap: 2rem; } .footer-guides li { break-inside: avoid; } }

.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--gc-green-dark); margin-bottom: .5rem; }
.section-title { font-weight: 800; letter-spacing: -.02em; text-align: center; margin-bottom: 2rem; font-size: clamp(1.5rem, 3vw, 2rem); }

.hero { background: linear-gradient(180deg, #fff 0%, var(--gc-bg) 100%); padding: 3.5rem 0 2rem; overflow-x: clip; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; margin-bottom: 1rem; }
.hero .lead { color: #4b5563; font-size: 1.15rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.hero-note { color: var(--gc-muted); font-size: .88rem; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; max-width: 480px; display: block; margin-left: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(16, 24, 40, .18), 0 2px 6px rgba(16, 24, 40, .08); transform: rotate(1.5deg); background: #fff; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.step { background: var(--gc-card); border-radius: var(--gc-radius); padding: 1.5rem; box-shadow: var(--gc-shadow); }
.step h2 { font-size: 1.1rem; font-weight: 700; margin: .75rem 0 .4rem; }
.step p { color: var(--gc-muted); margin: 0; font-size: .95rem; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gc-green-soft); color: var(--gc-green-dark); font-weight: 800; }

.layouts { margin-top: 4.5rem; }
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.layout-card { position: relative; margin: 0; background: var(--gc-card); border: 0; border-radius: var(--gc-radius); padding: 1rem; box-shadow: var(--gc-shadow); display: flex; flex-direction: column; gap: .75rem; text-align: left; color: inherit; cursor: zoom-in; transition: transform .15s, box-shadow .15s; }
.layout-card:hover, .layout-card:focus-visible { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 16px 36px rgba(16, 24, 40, .12); }
.layout-zoom { position: absolute; top: 1.5rem; right: 1.5rem; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--gc-shadow); color: var(--gc-green-dark); font-size: 1rem; opacity: 0; transition: opacity .15s; }
.layout-card:hover .layout-zoom, .layout-card:focus-visible .layout-zoom { opacity: 1; }
.layout-caption strong { display: block; font-size: .95rem; }
.layout-caption > span { color: var(--gc-muted); font-size: .85rem; }
.layout-modal-body { background: var(--gc-bg); text-align: center; padding: 1rem; }
.layout-modal-body img { max-width: 100%; max-height: 75vh; height: auto; box-shadow: 0 10px 30px rgba(16, 24, 40, .15); background: #fff; }
@media (max-width: 575.98px) { .layout-modal-body img { max-height: none; } }
.layout-card img { width: 100%; height: 220px; object-fit: contain; background: var(--gc-bg); border-radius: 8px; padding: .5rem; }

.pricing { margin-top: 4.5rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan-grid.plans-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.plan-month { color: var(--gc-muted); font-size: .85rem; margin: -.8rem 0 1rem; }
.plan-plus { font-size: .88rem; font-weight: 600; color: var(--gc-ink); margin: 0 0 .4rem; }
.plan-card { position: relative; background: var(--gc-card); border-radius: var(--gc-radius); padding: 1.75rem 1.5rem; box-shadow: var(--gc-shadow); display: flex; flex-direction: column; border: 2px solid transparent; }
.plan-card.highlight { border-color: var(--gc-green); }
.plan-card h3 { font-weight: 800; font-size: 1.25rem; margin: 0; }
.plan-for { color: var(--gc-muted); font-size: .9rem; min-height: 2.6em; margin: .35rem 0 .75rem; }
.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--gc-muted); }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.plan-card li { padding: .35rem 0 .35rem 1.6rem; position: relative; font-size: .95rem; }
.plan-card li::before { content: "\002713"; position: absolute; left: 0; color: var(--gc-green); font-weight: 800; }
.plan-card li.off { color: #a0a6ae; }
.plan-card li.off::before { content: "\002013"; color: #c5cad0; }
.plan-badge { position: absolute; top: -12px; right: 1.25rem; background: var(--gc-green); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }

.faq { margin-top: 4.5rem; max-width: 760px; }
.faq details { background: var(--gc-card); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--gc-shadow); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { color: #4b5563; margin: .75rem 0 0; }
.final-cta { text-align: center; margin: 4.5rem auto 1rem; }
.final-cta h2 { font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.25rem; }

.editor { padding-top: 1.5rem; }
.rotation-year-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin: 1.5rem 0 .75rem; }
.rotation-year-head .section-title { margin: 0; }
.rotation-pdfs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.limit-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; background: #fff7e0; border: 1px solid #f1d58a; border-radius: var(--gc-radius); padding: .75rem 1rem; margin-bottom: 1rem; }
.limit-note-links { display: flex; flex-wrap: wrap; gap: .5rem; }
#alertModalActions:empty { display: none; }
.editor-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.editor-panel, .editor-panel .panel-card, .editor-panel .schedule-card { min-width: 0; }
.editor-panel .form-select { text-overflow: ellipsis; }
.editor-panel { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; padding: 2px 6px 24px 2px; scrollbar-width: thin; }
.panel-card, .schedule-card, .preview-card { background: var(--gc-card); border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); }
.panel-card { padding: 1rem; margin-bottom: 1rem; }
.schedule-list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: .85rem; }
.schedule-card { padding: 1rem; border-left: 6px solid var(--card-color, #8a9099); }
.schedule-head { display: flex; gap: .5rem; align-items: center; }
.schedule-head .form-select { font-weight: 700; }
.schedule-remove { border: 0; background: transparent; color: #a0a6ae; font-size: 1.35rem; line-height: 1; padding: 0 .25rem; }
.schedule-remove:hover { color: var(--gc-weekend); }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0 .25rem; }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gc-line); cursor: pointer; padding: 0; }
.swatch.active { box-shadow: 0 0 0 2px var(--gc-ink); }
.rule-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.rule-row .form-select { width: auto; flex: 1 1 140px; }
.chips { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .6rem; }
.chip { border: 1.5px solid var(--gc-line); background: #fff; border-radius: 999px; padding: .25rem .6rem; font-size: .82rem; font-weight: 600; color: var(--gc-muted); cursor: pointer; min-width: 40px; }
.chip.active { background: var(--card-color, var(--gc-green)); border-color: var(--card-color, var(--gc-green)); color: var(--card-ink, #fff); }
.rule-summary { margin: .7rem 0 0; font-size: .85rem; color: var(--gc-muted); }
.rule-summary::before { content: "\0021BB "; }
.rule-warning { margin: .4rem 0 0; font-size: .8rem; color: #8a5a00; background: #fff6e0; border-radius: 8px; padding: .35rem .55rem; }
.schedule-card:not(.active) .rule-warning { display: none !important; }
.rule-warning::before { content: "\0026A0 "; }
.range-toggle { font-size: .82rem; margin-top: .5rem; display: inline-block; }
.range-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.btn-add { border: 2px dashed #cfd5dc; color: var(--gc-muted); background: transparent; font-weight: 600; padding: .7rem; }
.btn-add:hover { border-color: var(--gc-green); color: var(--gc-green-dark); background: var(--gc-green-soft); }
.hint { color: var(--gc-muted); font-size: .85rem; }

.preview-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.pdf-menu { min-width: 280px; padding: .4rem; border-radius: 12px; border-color: var(--gc-line); box-shadow: var(--gc-shadow); }
.pdf-menu .dropdown-item { border-radius: 8px; padding: .55rem .75rem; white-space: normal; }
.pdf-menu .dropdown-item strong { display: block; font-size: .92rem; }
.pdf-menu .dropdown-item small { color: var(--gc-muted); }
.pdf-draft-note { margin: .35rem .75rem .15rem; padding-top: .45rem; border-top: 1px solid var(--gc-line); font-size: .78rem; color: var(--gc-muted); max-width: 260px; }
.preview-card { padding: 1.5rem; }
.preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; border-bottom: 1px solid var(--gc-line); padding-bottom: .75rem; margin-bottom: 1.25rem; }
.preview-head h1 { font-size: 1.5rem; font-weight: 700; margin: 0; letter-spacing: -.01em; overflow-wrap: anywhere; }
.preview-year { font-size: 1.9rem; font-weight: 800; color: var(--gc-green); }
.preview-year.is-period { font-size: 1.3rem; white-space: nowrap; }
.preview-empty { color: var(--gc-muted); text-align: center; padding: 3rem 1rem; margin: 0; }
.is-loading #preview { opacity: .55; transition: opacity .15s; }

.year-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.75rem; }
.yp-title { font-size: .92rem; font-weight: 700; margin: 0 0 .35rem; padding-bottom: .3rem; border-bottom: 1px solid var(--gc-line); }
.yp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; text-align: center; }
.yp-wd { font-size: .64rem; font-weight: 600; color: #6b7280; padding-bottom: 2px; }
.yp-wd.we { color: var(--gc-weekend); }
.yp-day { display: grid; place-items: center; aspect-ratio: 1 / 1; }
.yp-day i { font-style: normal; font-size: .74rem; width: 86%; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 50%; }
.yp-day.we i { color: var(--gc-weekend); }
.yp-day.has i { background: var(--bg); color: var(--ink); font-weight: 700; }
.yp-day.multi i { background: radial-gradient(circle, #fff 0 55%, transparent 56%), var(--ring); color: var(--gc-ink); }
.yp-day.today i { outline: 2px solid var(--gc-ink); outline-offset: 1px; }
.yp-day[data-types] { cursor: pointer; }
.yp-day.moving i { outline: 3px dashed var(--gc-ink); }
.yp-day.drop-target i { background: var(--gc-green-soft); cursor: copy; }
.yp-legend { list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid var(--gc-line); columns: 2; column-gap: 2rem; }
.yp-legend li { break-inside: avoid; padding: .2rem 0; font-size: .9rem; }
.yp-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .45rem; vertical-align: -1px; }
.yp-legend .rule { color: var(--gc-muted); margin-left: .25rem; }

.calendar-page { padding-top: 2rem; }
.calendar-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.25rem; }
.calendar-head h1 { font-weight: 800; letter-spacing: -.02em; margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.4rem); overflow-wrap: anywhere; }
.calendar-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.grow-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: var(--gc-green-soft); border-radius: var(--gc-radius); padding: 1.25rem 1.5rem; margin-top: 1.5rem; }
.grow-cta strong { display: block; }
.grow-cta span { color: #4b5563; font-size: .92rem; }
.ad-slot { margin-top: 1.5rem; min-height: 100px; text-align: center; }
@media print { .ad-slot { display: none; } }

.settings-page { padding-top: 2rem; max-width: 900px; }
.page-title { font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.settings-page h3 { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 .75rem; }
.settings-page .card, .settings-page .list-group { border: 0; border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); overflow: hidden; }
.legal-page { padding-top: 2rem; max-width: 820px; }
.legal-body { background: var(--gc-card); border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); padding: 2rem 2.25rem; line-height: 1.65; }
.legal-body h1 { font-weight: 800; letter-spacing: -.02em; font-size: 2rem; }
.legal-body h1 + p { color: var(--gc-muted); font-size: .9rem; }
.legal-body h2 { font-size: 1.15rem; font-weight: 700; margin-top: 1.75rem; }
.legal-body h3 { font-size: 1rem; font-weight: 700; margin-top: 1.25rem; margin-bottom: .35rem; }
.article-body table td:first-child { font-weight: 600; }
.legal-table { font-size: .88rem; }
.legal-notice { background: #fff6e0; color: #8a5a00; border-radius: 10px; padding: .6rem .9rem; font-size: .9rem; }
.not-found { padding: 5rem 0; text-align: center; }

.modal-content { border: 0; border-radius: 16px; box-shadow: 0 30px 60px rgba(16, 24, 40, .2); }
.slug-prefix { font-size: .85rem; color: var(--gc-muted); background: var(--gc-bg); }

.page-embed { background: #fff; display: block; min-height: 0; }
.embed { padding: 1rem; }
.embed .calendar-head h1 { font-size: 1.5rem; }
.embed-note { margin: 1rem 0 0; color: #4b5563; font-size: .9rem; }
.embed-powered { margin: 1rem 0 0; text-align: right; font-size: .75rem; }
.embed-powered a { color: var(--gc-muted); text-decoration: none; }
.preview-subtitle { color: var(--gc-muted); font-size: .9rem; margin: -.9rem 0 1.1rem; }
.lock { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--gc-green-soft); color: var(--gc-green-dark); border-radius: 999px; padding: .1rem .5rem; margin-left: .4rem; text-decoration: none; }
.logo-preview { max-height: 48px; max-width: 160px; border: 1px solid var(--gc-line); border-radius: 6px; padding: 4px; background: #fff; }
.embed-code { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }
@media (min-width: 1200px) {
  .calendar-page .year-preview { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual img { margin: 0 auto; max-width: 360px; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-panel { position: static; max-height: none; overflow: visible; }
  .layout-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .steps { grid-template-columns: 1fr; }
  .plan-grid.plans-2 { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .year-preview { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .yp-legend { columns: 1; }
  .preview-card { padding: 1rem; }
}
@media (max-width: 479.98px) {
  .year-preview { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .yp-day i { font-size: .68rem; }
}
.lang-toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .55rem; border: 1px solid transparent; border-radius: 999px; color: var(--gc-ink); font-size: .85rem; font-weight: 600; }
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { background: #f3f4f6; border-color: #e5e7eb; }
.lang-toggle::after { margin-left: .1rem; opacity: .55; }
.lang-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.lang-menu { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; min-width: 20rem; padding: .4rem; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 12px 32px rgba(17, 24, 39, .12); }
.lang-menu.show { display: grid; }
.lang-menu .dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .5rem .65rem; border-radius: 8px; font-size: .92rem; line-height: 1.2; color: var(--gc-ink); }
.lang-menu .dropdown-item .lang-flag { width: 20px; height: 20px; }
.lang-menu .dropdown-item:hover, .lang-menu .dropdown-item:focus { background: #f3f4f6; color: var(--gc-ink); }
.lang-menu .dropdown-item.active { background: var(--gc-green-soft); color: var(--gc-green-dark); font-weight: 600; }
.lang-menu { min-width: min(20rem, calc(100vw - 1.5rem)); }
@media (max-width: 480px) { .lang-code { display: none; } .lang-toggle { padding: .3rem .4rem; } }
#subscribeModal .only-ios, #subscribeModal .only-android, #subscribeModal .only-desktop { display: none; }
#subscribeModal.platform-ios .only-ios, #subscribeModal.platform-android .only-android, #subscribeModal.platform-desktop .only-desktop { display: block; }
#subscribeModal.platform-desktop .not-desktop { display: none; }
#subscribeModal.platform-desktop .subscribe-qr { display: flex; }
.subscribe-qr { align-items: center; gap: 1rem; padding: .85rem; margin-bottom: 1rem; border-radius: 12px; background: var(--gc-green-soft); }
.subscribe-qr-code { flex: none; background: #fff; padding: 6px; border-radius: 8px; line-height: 0; }
.subscribe-qr-code svg { width: 116px; height: 116px; }
.subscribe-hint { font-size: .82rem; color: var(--gc-muted); margin: -.2rem 0 .3rem; }
.consent-check { padding: .7rem .8rem .7rem 2.4rem; margin-bottom: .5rem; border: 1px solid var(--gc-line); border-radius: 10px; background: #fff; }
.consent-check .form-check-input { width: 1.3em; height: 1.3em; margin-top: .1em; margin-left: -1.65rem; border: 2px solid #9ca3af; cursor: pointer; }
.consent-check .form-check-input:checked { background-color: var(--gc-green); border-color: var(--gc-green); }
.consent-check .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(var(--gc-accent-rgb), .25); }
.consent-check .form-check-input.is-invalid { border-color: #dc3545; }
.consent-check:has(.is-invalid) { border-color: #dc3545; background: #fff5f5; }
.consent-check .form-check-label { cursor: pointer; }
.shake { animation: gc-shake .35s; }
@keyframes gc-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.panel-title { font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; }
.btn-demo { color: var(--gc-green-dark); font-weight: 600; background: transparent; border: 0; padding-left: .5rem; padding-right: .5rem; }
.btn-demo:hover { color: var(--gc-green); text-decoration: underline; }
.hero-cta .hero-note { width: 100%; }
.hero-copy > .hero-note { margin: .75rem 0 0; }
.hero-notif { position: absolute; left: -1.5rem; bottom: 2.5rem; display: flex; gap: .7rem; align-items: flex-start; width: min(330px, 88%); padding: .8rem .95rem; border-radius: 18px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(16, 24, 40, .22), 0 0 0 1px rgba(16, 24, 40, .06); animation: gc-notif .6s .4s both cubic-bezier(.2, .9, .3, 1.2); }
.hero-notif-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--gc-green); color: #fff; font-size: 1.25rem; }
.hero-notif-body { display: flex; flex-direction: column; min-width: 0; font-size: .85rem; line-height: 1.3; color: #4b5563; }
.hero-notif-body strong { color: var(--gc-ink); font-size: .95rem; }
.hero-notif-head { display: flex; justify-content: space-between; gap: .5rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; margin-bottom: .1rem; }
@keyframes gc-notif { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-notif { animation: none; } }

.app-promo { margin-top: 4.5rem; }
.app-promo-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 2.5rem 0; border-radius: 20px; background: var(--gc-card); border: 1px solid var(--gc-line); box-shadow: var(--gc-shadow); overflow: hidden; }
.app-promo-copy { padding-bottom: 2.5rem; }
.app-promo-card h2 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; margin-bottom: 1rem; }
.app-promo-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.app-promo-list li { position: relative; padding-left: 1.6rem; color: var(--gc-muted); }
.app-promo-list li::before { content: "\002713"; position: absolute; left: 0; color: var(--gc-green); font-weight: 700; }
.app-promo-shot { width: 100%; max-width: 300px; height: auto; justify-self: center; align-self: end; display: block; }
html.platform-ios .app-promo { display: none; }
.app-banner { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; padding: .75rem 1rem; border-radius: var(--gc-radius); background: var(--gc-green-soft); color: var(--gc-ink); text-decoration: none; }
.app-banner[hidden] { display: none; }
.app-banner img { border-radius: 10px; flex: none; }
.app-banner-copy { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.app-banner-copy span { font-size: .85rem; color: var(--gc-muted); }
.app-banner .btn { flex: none; }
@media (max-width: 767.98px) { .app-promo-card { grid-template-columns: 1fr; padding: 1.75rem 1.5rem 0; gap: 1rem; } .app-promo-copy { padding-bottom: 0; } .app-promo-shot { max-width: 220px; } }
.muni { margin-top: 4.5rem; }
.muni-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem; border-radius: 20px; background: linear-gradient(135deg, var(--gc-green-dark) 0%, var(--gc-green) 100%); color: #fff; box-shadow: var(--gc-shadow); }
.muni-card .eyebrow { color: rgba(255, 255, 255, .78); }
.muni-card h2 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.muni-lead { color: rgba(255, 255, 255, .9); margin: .75rem 0 1.5rem; }
.muni-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.muni-actions .btn-gc { background: #fff; border-color: #fff; color: var(--gc-green-dark); }
.muni-actions .btn-gc:hover { background: var(--gc-green-soft) !important; border-color: var(--gc-green-soft) !important; color: var(--gc-green-dark) !important; }
.muni-actions .btn-outline-gc { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.muni-actions .btn-outline-gc:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.muni-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.muni-list li { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: .8rem 1rem .8rem 2.6rem; position: relative; font-weight: 500; }
.muni-list li::before { content: "\002713"; position: absolute; left: 1rem; font-weight: 800; color: rgba(255, 255, 255, .85); }

.upcoming { background: var(--gc-card); border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; border-left: 6px solid var(--gc-green); }
.upcoming-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gc-green-dark); margin: 0 0 .6rem; }
.upcoming-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.upcoming-list li { display: flex; align-items: center; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--gc-line); }
.upcoming-list li:first-child { border-top: 0; }
.upcoming-when { flex: none; width: 8.5rem; display: flex; flex-direction: column; line-height: 1.2; }
.upcoming-when strong { text-transform: capitalize; }
.upcoming-when small { color: var(--gc-muted); }
.upcoming-list li.first .upcoming-when strong { font-size: 1.15rem; }
.upcoming-types { display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.upcoming-type { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.upcoming-type .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.upcoming-list li.first .upcoming-type { font-size: 1.05rem; }
.upcoming-remind { padding: 0; margin-top: .5rem; font-weight: 600; color: var(--gc-green-dark); text-decoration: none; font-size: .92rem; }
.yp-month.past { opacity: .4; }

.schedule-card.needs-day .chip { border-color: var(--card-color, var(--gc-green)); border-style: dashed; color: var(--gc-ink); animation: gc-pulse 1.6s ease-in-out 2; }
@keyframes gc-pulse { 50% { box-shadow: 0 0 0 4px rgba(var(--gc-accent-rgb), .18); } }

.mobile-bar { display: none; }
@media (max-width: 991.98px) {
  .page-editor main { padding-bottom: 4.5rem; }
  .mobile-bar { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-top: 1px solid var(--gc-line); }
  .mobile-bar > .btn, .mobile-bar > .dropup { flex: 1; }
  .mobile-bar > .mobile-preview-btn { flex: 0 0 3rem; }
  .mobile-bar > #mobileSave { flex: 1.6; }
  .hero-notif { left: 50%; transform: translateX(-50%); bottom: 1.5rem; animation: none; }
  .muni-card { grid-template-columns: 1fr; padding: 1.75rem; gap: 1.5rem; }
}
@media (max-width: 575.98px) {
  .hero .lead { font-size: 1.02rem; }
  .hero-cta .btn-lg { width: 100%; }
  .upcoming-when { width: 6.5rem; }
}
.dates-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .6rem; }
.dates-row .date-add { width: auto; flex: 1 1 140px; }
.date-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem; }
.date-chips:empty { display: none; }
.date-chip { display: inline-flex; align-items: center; gap: .15rem; padding: .15rem .25rem .15rem .6rem; border-radius: 999px; background: var(--card-color, var(--gc-green)); color: var(--card-ink, #fff); font-size: .82rem; font-weight: 600; }
.date-chip.other-year { background: #eef0f2; color: var(--gc-muted); text-decoration: line-through; }
.date-remove, .move-remove { border: 0; background: transparent; color: inherit; opacity: .75; font-size: 1rem; line-height: 1; padding: 0 .25rem; }
.date-remove:hover, .move-remove:hover { opacity: 1; }
.schedule-card.needs-day .pick-toggle { animation: gc-pulse 1.6s ease-in-out 2; }
.schedule-card.picking { box-shadow: 0 0 0 2px var(--card-color, var(--gc-green)), var(--gc-shadow); }
.pick-banner { position: sticky; top: 68px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: -.5rem -.5rem 1rem; padding: .6rem .8rem; border-radius: 12px; background: var(--gc-green-soft); color: var(--gc-green-dark); font-weight: 600; font-size: .9rem; }
.preview-panel.picking .yp-day[data-date] { cursor: copy; }
.preview-panel.picking .yp-day[data-date]:hover i { outline: 2px dashed var(--gc-green); outline-offset: 1px; }
.anchor-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: .6rem 0 0; font-size: .85rem; font-weight: 600; color: var(--gc-muted); }
.anchor-row .anchor-input { width: auto; flex: 0 1 11rem; }
.swatches-extra { display: contents; }
.swatches-extra[hidden] { display: none; }
.swatch { position: relative; }
.swatch.used::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.swatch-more { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px dashed #b8bec6; background: #fff; color: var(--gc-muted); padding: 0; cursor: pointer; }
.swatch-more::before, .swatch-more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%); }
.swatch-more::after { transform: translate(-50%, -50%) rotate(90deg); }
.swatch-more[aria-expanded="true"]::after { display: none; }
.swatch-more:hover { border-color: var(--gc-green); color: var(--gc-green-dark); }
.yp-day.pick-on i { background: var(--pick) !important; color: var(--pick-ink) !important; font-weight: 700; }
.yp-day.pick-off i { opacity: .35; }
.advanced-settings summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
.advanced-settings summary::-webkit-details-marker { display: none; }
.advanced-settings summary::after { content: "\0025BE"; color: var(--gc-muted); transition: transform .15s; }
.advanced-settings[open] summary::after { transform: rotate(180deg); }
.subscribe-manual { margin-top: .25rem; font-size: .88rem; }
.subscribe-manual summary { cursor: pointer; color: var(--gc-green-dark); font-weight: 600; }
.subscribe-steps { padding-left: 1.2rem; margin: .6rem 0; color: #4b5563; }
.subscribe-steps li { margin-bottom: .3rem; }
.with-weeks .yp-grid { grid-template-columns: .7fr repeat(7, 1fr); }
.yp-wk { display: grid; place-items: center; font-size: .6rem; color: #a3a9b1; font-variant-numeric: tabular-nums; }
.yp-wd.yp-wk { font-size: .58rem; }
.my-cals { background: #fff; border-bottom: 1px solid var(--gc-line); padding: .9rem 0 1rem; }
.my-cals-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.my-cals-head h2 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gc-green-dark); margin: 0; }
.my-cals-head a { font-size: .85rem; }
.my-cals-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.my-cal { position: relative; display: flex; flex-direction: column; border: 1px solid var(--gc-line); border-radius: 12px; background: var(--gc-card); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); min-width: 0; }
.my-cal-main { display: flex; flex-direction: column; gap: .3rem; padding: .7rem .85rem .6rem; color: var(--gc-ink); text-decoration: none; min-width: 0; }
.my-cal-main:hover strong { color: var(--gc-green-dark); }
.my-cal-main strong { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-cal-next { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; font-size: .84rem; }
.my-cal-next.muted { color: var(--gc-muted); }
.my-cal-when { font-weight: 700; color: var(--gc-ink); }
.my-cal-type { display: inline-flex; align-items: center; gap: .3rem; color: #4b5563; }
.my-cal-type .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.my-cal-new { align-items: center; justify-content: center; min-height: 3.6rem; border-style: dashed; color: var(--gc-green-dark); font-weight: 600; text-decoration: none; box-shadow: none; }
.my-cal-new:hover { background: var(--gc-green-soft); }
@media (max-width: 575.98px) {
  .my-cals-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding-bottom: .3rem; scrollbar-width: none; }
  .my-cals-list::-webkit-scrollbar { display: none; }
  .my-cal { flex: 0 0 82%; scroll-snap-align: start; }
  .my-cal-new { flex-basis: 40%; }
  .my-cals-list.single { overflow: visible; }
  .my-cals-list.single .my-cal { flex: 0 1 auto; max-width: 68%; }
  .my-cals-list.single .my-cal-new { flex: 1 0 7.5rem; max-width: none; }
}
#subscribeModal.platform-android .not-android { display: none; }
.push-block { padding: .85rem; margin-bottom: .25rem; border-radius: 12px; background: var(--gc-green-soft); }
.push-active { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-weight: 600; color: var(--gc-green-dark); }
.push-active[hidden], .push-block[hidden] { display: none; }
.push-active .btn-link { padding: 0; color: var(--gc-muted); }
.android-steps { font-size: .88rem; }
.android-steps > summary { cursor: pointer; color: var(--gc-green-dark); font-weight: 600; margin-bottom: .5rem; }
#subscribeModal.platform-android details.android-steps { display: block; }
.subscribe-icsx { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--gc-line); }
.anchor-row .cycle-anchor { width: auto; flex: 0 1 11rem; }
.cycle-chips { gap: .25rem; }
.cycle-chip { min-width: 34px; padding: .2rem .35rem; font-size: .78rem; }
.cycle-length { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--gc-muted); white-space: nowrap; }
.cycle-length .form-select { width: auto; }
.override-row { display: flex; align-items: center; gap: .45rem; margin: .5rem 0 .2rem; font-size: .85rem; font-weight: 600; color: var(--gc-muted); cursor: pointer; }
.override-row .form-check-input { margin: 0; }
.rotation-panel .rot-start { display: flex; gap: .4rem; align-items: stretch; }
.rotation-panel .rot-start .form-control { flex: 1 1 auto; }
.disclaimer { font-size: .82rem; color: var(--gc-muted); margin-top: 1rem; }
.crumbs { font-size: .85rem; color: var(--gc-muted); margin: 1.2rem 0 .6rem; }
.crumbs a { color: var(--gc-muted); }
.rotation-head { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-end; margin-bottom: 1.25rem; }
.rotation-head h1 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.rotation-head .lead { max-width: 46rem; font-size: 1.05rem; }
.rotation-facts { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rotation-facts li { background: var(--gc-green-soft); color: var(--gc-green-dark); border-radius: 999px; padding: .25rem .8rem; font-size: .85rem; font-weight: 600; }
.rotation-more { margin-top: 3rem; }
.rotation-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; }
.rotation-links a { display: block; background: var(--gc-card); border-radius: 12px; padding: .8rem 1rem; box-shadow: var(--gc-shadow); font-weight: 600; text-decoration: none; }
.rotation-links a:hover { background: var(--gc-green-soft); }
.guide-links { margin-top: 3rem; }
.guide-links.container { margin-top: 4.5rem; max-width: 760px; }
.guide-links .rotation-links { display: flex; flex-wrap: wrap; justify-content: center; }
.guide-links .rotation-links li { flex: 1 1 300px; max-width: 360px; }
.muni-list a { color: #fff; text-decoration: none; }
.muni-list a:hover { text-decoration: underline; }
.schedule-card.compact { padding-top: .75rem; padding-bottom: .75rem; }
.schedule-card.compact .type-select, .schedule-card.compact .schedule-remove, .schedule-card.compact .rule, .schedule-card.compact .rule-summary, .schedule-card.compact .rule-warning:not(.color-warning), .schedule-card.compact .override-row, .schedule-card.compact .range-toggle, .schedule-card.compact .range-fields { display: none !important; }
.schedule-card.compact .other-input { margin-top: 0 !important; font-weight: 600; }
.compact-label { display: block; font-size: .78rem; font-weight: 600; color: var(--gc-muted); margin-bottom: .35rem; }
.rename-toggle { display: inline-block; margin-top: .4rem; font-size: .82rem; }
.extras-head { margin: 1.4rem 0 .6rem; }
.extras-head .panel-title { margin-bottom: .2rem; }
.stats-table th, .stats-table td { text-align: center; white-space: nowrap; }
.stats-table th:first-child { text-align: left; }
.compare-form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.compare-form .form-select { flex: 1 1 14rem; }
.compare-plus { font-weight: 800; font-size: 1.3rem; color: var(--gc-muted); }
.compare-summary { font-size: 1.1rem; font-weight: 600; }
.custody-balance { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--gc-line); font-size: .9rem; line-height: 1.7; }
.balance-title { color: var(--gc-muted); font-weight: 600; margin-right: .3rem; }
.editor-list, .history-list { list-style: none; padding: 0; margin: 0 0 .6rem; }
.editor-list li, .history-list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--gc-line); font-size: .88rem; }
.moves-card { background: var(--gc-card); border-radius: var(--gc-radius); box-shadow: var(--gc-shadow); padding: .9rem 1rem; }
.move-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.workfund-page .wf-table td, .workfund-page .wf-table th { text-align: right; white-space: nowrap; }
.workfund-page .wf-table td:first-child, .workfund-page .wf-table th:first-child { text-align: left; }
.workfund-page .wf-plus { color: #b4541a; font-weight: 600; }
.workfund-page .wf-minus { color: #1f7a4d; font-weight: 600; }
.workfund-page .wf-form { max-width: 420px; }
.workfund-page .wf-rules p { max-width: 760px; }
.workfund-page .wf-summary { font-weight: 600; }
.login-or { display: flex; align-items: center; gap: .75rem; color: var(--bs-secondary-color, #6c757d); font-size: .85rem; margin: .25rem 0 .75rem; }
.login-or::before, .login-or::after { content: ""; flex: 1; border-top: 1px solid rgba(0, 0, 0, .12); }
.email-login { max-width: 22rem; margin: 0 auto; }
.email-login-sent { color: #2e7d32; font-weight: 600; }

.pdf-menu .premium-link { display: flex; align-items: center; gap: .75rem; background: linear-gradient(120deg, rgba(var(--gc-accent-rgb), .08), rgba(var(--gc-accent-rgb), .015)); }
.pdf-menu .premium-link:hover, .pdf-menu .premium-link:focus { background: linear-gradient(120deg, rgba(var(--gc-accent-rgb), .15), rgba(var(--gc-accent-rgb), .04)); color: var(--gc-ink); }
.premium-text { min-width: 0; flex: 1 1 auto; }
.premium-thumb { flex: 0 0 auto; position: relative; width: 30px; height: 40px; border-radius: 4px; background: #fbf7f1; box-shadow: 0 0 0 1px rgba(16, 24, 40, .08), 0 3px 8px rgba(16, 24, 40, .14); overflow: hidden; transform: rotate(-4deg); transition: transform .2s ease; }
.premium-link:hover .premium-thumb { transform: rotate(0) scale(1.06); }
.premium-thumb::before { content: ""; position: absolute; inset: 4px 4px auto; height: 5px; border-radius: 2px; background: #3d3530; opacity: .75; }
.premium-thumb::after { content: ""; position: absolute; inset: 13px 3px 3px; background: radial-gradient(circle, #d9cfc4 1px, transparent 1.3px) 0 0 / 4.6px 4.6px; }
.premium-thumb i { position: absolute; z-index: 1; width: 4px; height: 4px; border-radius: 50%; }
.premium-thumb i:nth-child(1) { top: 16px; left: 8px; background: #e8a87c; }
.premium-thumb i:nth-child(2) { top: 25px; left: 17px; background: #7fb3c8; }
.premium-thumb i:nth-child(3) { top: 30px; left: 6px; background: #b9c97a; }
.premium-chip { flex: 0 0 auto; font-size: .78rem; font-weight: 700; line-height: 1; padding: .35rem .55rem; border-radius: 999px; background: #fff; color: var(--gc-green-dark); box-shadow: inset 0 0 0 1px rgba(var(--gc-accent-rgb), .35); white-space: nowrap; font-variant-numeric: tabular-nums; }

.premium-modal .modal-dialog { max-width: 940px; }
.premium-modal .modal-content { overflow: hidden; position: relative; }
.premium-close { position: absolute; top: .85rem; right: .85rem; z-index: 3; }
.premium-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); min-height: 560px; }
.premium-stage { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 2rem 1.75rem 1.4rem; background: radial-gradient(110% 70% at 50% 0, #ffffff 0, #eef1ef 55%, #e4e9e5 100%); }
.premium-paper-wrap { position: relative; width: 100%; height: 520px; }
.premium-paper { position: absolute; top: 0; left: 50%; width: 760px; height: 1075px; transform-origin: top center; transform: translateX(-50%) scale(.48); overflow: hidden; display: flex; flex-direction: column; gap: 26px; padding: 52px 52px 44px; font-family: "Inter", system-ui, sans-serif; background: var(--pp-paper); color: var(--pp-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 30px 60px -18px rgba(16, 24, 40, .35); --pp-paper: #fff; --pp-ink: #22262b; --pp-muted: #8a9099; --pp-we: #be4848; --pp-rule: #e6e8eb; --pp-title: "Inter", system-ui, sans-serif; --pp-a: var(--gc-green); --pp-b: var(--pp-a); --pp-c: var(--pp-b); }
.premium-paper.pp-swap { animation: pp-fade .32s ease both; }
@keyframes pp-fade { from { opacity: .35; filter: blur(2px); } to { opacity: 1; filter: none; } }
.pp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.pp-names { min-width: 0; flex: 1 1 auto; }
.pp-name { margin: 0; font-family: var(--pp-title); font-size: 38px; line-height: 1.08; font-weight: 700; letter-spacing: -.01em; overflow-wrap: break-word; }
.pp-sub { margin: 8px 0 0; font-size: 14px; color: var(--pp-muted); }
.pp-year { flex: 0 0 auto; font-family: var(--pp-title); font-size: 66px; line-height: .85; font-weight: 800; color: var(--pp-a); white-space: nowrap; letter-spacing: -.03em; }
.premium-paper .pp-year.is-period { font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.pp-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 30px; align-content: start; }
.premium-paper .yp-month { min-width: 0; }
.premium-paper .yp-title { font-family: var(--pp-title); font-size: 15px; margin: 0 0 6px; padding: 0; border: 0; color: var(--pp-ink); }
.premium-paper .yp-wd { font-size: 9.5px; color: var(--pp-muted); padding-bottom: 3px; }
.premium-paper .yp-wd.we, .premium-paper .yp-day.we i { color: var(--pp-we); }
.premium-paper .yp-day { aspect-ratio: auto; height: 22px; }
.premium-paper .yp-day i { width: 20px; height: 20px; aspect-ratio: auto; font-size: 10.5px; color: var(--pp-ink); }
.premium-paper .yp-day.has i { background: var(--bg); color: var(--ink); }
.premium-paper .yp-day.multi i { background: radial-gradient(circle, var(--pp-paper) 0 52%, transparent 54%), var(--ring); color: var(--pp-ink); }
.premium-paper .yp-wk { font-size: 8.5px; color: var(--pp-muted); }
.premium-paper .yp-legend { margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--pp-rule); columns: 2; column-gap: 32px; }
.premium-paper .yp-legend li { padding: 3px 0; font-size: 12.5px; }
.premium-paper .yp-legend .rule { color: var(--pp-muted); }

.premium-paper[data-theme="pastel"] { --pp-paper: #fbf7f1; --pp-ink: #3d3530; --pp-muted: #a39488; --pp-we: #c0786a; --pp-rule: #eadfd3; --pp-title: "Fraunces", Georgia, "Times New Roman", serif; }
.premium-paper[data-theme="pastel"] .pp-name { font-weight: 500; font-size: 42px; }
.premium-paper[data-theme="pastel"] .pp-year { font-weight: 300; color: color-mix(in srgb, var(--pp-a) 60%, #fbf7f1); }
.premium-paper[data-theme="pastel"] .yp-title { font-style: italic; font-weight: 500; font-size: 17px; }
.premium-paper[data-theme="pastel"] .yp-day.has i { background: color-mix(in srgb, var(--bg) 48%, #fbf7f1); color: var(--pp-ink); }
.premium-paper[data-theme="pastel"] .yp-legend .dot { opacity: .6; }

.premium-paper[data-theme="contrast"] { --pp-paper: #fff; --pp-ink: #111; --pp-muted: #6f6f6f; --pp-we: #111; --pp-rule: #111; padding-top: 0; }
.premium-paper[data-theme="contrast"] .pp-head { margin: 0 -52px; padding: 46px 52px 30px; background: #111; color: #fff; }
.premium-paper[data-theme="contrast"] .pp-name { font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.premium-paper[data-theme="contrast"] .pp-sub { color: #b5b5b5; }
.premium-paper[data-theme="contrast"] .pp-year { color: #fff; font-size: 76px; letter-spacing: -.05em; }
.premium-paper[data-theme="contrast"] .yp-title { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; padding-bottom: 5px; margin-bottom: 7px; border-bottom: 2px solid #111; }
.premium-paper[data-theme="contrast"] .yp-day i { border-radius: 4px; }
.premium-paper[data-theme="contrast"] .yp-day.we i { font-weight: 700; }
.premium-paper[data-theme="contrast"] .yp-legend { border-top-width: 2px; }

.premium-paper[data-theme="color"] { --pp-paper: #f2f4f8; --pp-ink: #1f2a37; --pp-muted: #7b8794; --pp-we: #d0546b; --pp-rule: #dde2ea; background: radial-gradient(60% 34% at 100% 0, color-mix(in srgb, var(--pp-a) 20%, transparent), transparent 70%), radial-gradient(50% 30% at 0 100%, color-mix(in srgb, var(--pp-c) 16%, transparent), transparent 70%), var(--pp-paper); }
.premium-paper[data-theme="color"] .pp-name { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.premium-paper[data-theme="color"] .pp-year { background: linear-gradient(120deg, var(--pp-a), var(--pp-b) 55%, var(--pp-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.premium-paper[data-theme="color"] .pp-months { gap: 14px; }
.premium-paper[data-theme="color"] .yp-month { background: #fff; border-radius: 12px; padding: 9px 9px 5px; box-shadow: 0 1px 2px rgba(31, 42, 55, .06), 0 6px 16px -10px rgba(31, 42, 55, .18); }
.premium-paper[data-theme="color"] .yp-title { font-size: 13.5px; font-weight: 800; }
.premium-paper[data-theme="color"] .yp-day { height: 20px; }
.premium-paper[data-theme="color"] .yp-day i { width: 18px; height: 18px; font-size: 10px; }

.premium-themes { display: flex; gap: .8rem; }
.premium-swatch { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(16, 24, 40, .12); transition: box-shadow .15s ease, transform .15s ease; }
.premium-swatch:hover { transform: scale(1.08); }
.premium-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gc-ink); }
.premium-swatch:focus-visible { outline: 2px solid var(--gc-green); outline-offset: 5px; }
.premium-swatch-pastel { background: conic-gradient(#f2c4a8 0 33%, #efe0b9 0 66%, #bcd8e3 0); }
.premium-swatch-contrast { background: conic-gradient(#111 0 50%, #fff 0 75%, #e5484d 0); }
.premium-swatch-color { background: conic-gradient(#7c5cff 0 33%, #22b8a4 0 66%, #ff8a3d 0); }
.premium-note { margin: 0; font-size: .78rem; color: var(--gc-muted); }

.premium-info { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 2.25rem 2.25rem; }
.premium-step { display: flex; flex-direction: column; gap: 1.1rem; }
.premium-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gc-green-dark); }
.premium-info h2 { margin: 0; font-size: 1.65rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; outline: 0; }
.premium-features { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.premium-features li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.4; }
.premium-features li::before, .premium-done::after { content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px; background: var(--gc-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.premium-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .7rem; padding-top: .9rem; border-top: 1px solid var(--gc-line); }
.premium-price strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.premium-price span { font-size: .88rem; color: var(--gc-muted); }
.premium-actions { display: grid; gap: .3rem; }
.premium-actions .btn-lg { font-size: 1.02rem; padding: .75rem 1rem; border-radius: 12px; }
.premium-free { color: var(--gc-muted); font-weight: 500; text-decoration: none; }
.premium-free:hover { color: var(--gc-ink); text-decoration: underline; }
.premium-done { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gc-green-soft); animation: pp-pop .45s cubic-bezier(.2, .9, .3, 1.35) both; }
.premium-done::after { width: 28px; height: 28px; flex: none; margin: 0; }
.premium-soon-text { margin: 0; color: var(--gc-muted); line-height: 1.55; }
@keyframes pp-pop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }

@media (max-width: 767.98px) {
  .premium-layout { grid-template-columns: 1fr; min-height: 0; }
  .premium-stage { padding: 1.5rem 1rem 1rem; gap: .7rem; }
  .premium-info { padding: 1.4rem 1.25rem 1.6rem; justify-content: flex-start; }
  .premium-info h2 { font-size: 1.35rem; }
  .premium-step { gap: .9rem; }
  .premium-price strong { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { .premium-paper.pp-swap, .premium-done { animation: none; } .premium-thumb, .premium-swatch { transition: none; } }
