:root{--paper:#f7f5ef;--surface:#fffefb;--soft:#eeede5;--ink:#303d36;--muted:#657068;--line:#dfe2d8;--accent:#476653;--accent-soft:#e6eee5;--rose:#9e625e;--danger:#a23e35;--shadow:0 12px 40px #283b2910;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;font-family:PingFang SC,Microsoft YaHei,sans-serif}[data-theme=dark]{--paper:#1e2621;--surface:#29332c;--soft:#323e35;--ink:#edf0e7;--muted:#b5bfb4;--line:#49564a;--accent:#b7d2b5;--accent-soft:#384b3c;--rose:#e1b0a7;--danger:#ffb1a5;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){[data-theme=system]{--paper:#1e2621;--surface:#29332c;--soft:#323e35;--ink:#edf0e7;--muted:#b5bfb4;--line:#49564a;--accent:#b7d2b5;--accent-soft:#384b3c;--rose:#e1b0a7;--danger:#ffb1a5;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}body{color:var(--ink);background:var(--paper);margin:0;line-height:1.6}html,body,#root{min-height:100%}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:3px solid var(--rose);outline-offset:3px}h1,h2,h3,h4,h5,p{overflow-wrap:anywhere}h1,h2,h3{font-family:Songti SC,STSong,Georgia,serif}input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--surface);padding:12px;position:absolute;top:-80px;left:16px}.skip-link:focus{top:10px}.primary-button,.secondary-button,.ghost-link{border:1px solid var(--line);border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:10px 20px;font-size:14px;font-weight:600;transition:background .18s,box-shadow .18s;display:inline-flex}.primary-button{color:var(--surface);background:var(--accent);border-color:var(--accent)}.primary-button:not(:disabled):hover{box-shadow:0 4px 12px #2d463530}.primary-button--block{width:100%}.secondary-button,.ghost-link{background:var(--surface);color:var(--ink)}.secondary-button:hover,.ghost-link:hover{background:var(--soft)}.text-action{color:var(--accent);background:0 0;border:0;min-height:36px;padding:5px 7px;font-size:13px}.text-action:hover{text-decoration:underline}.text-action--danger,.budget-overage{color:var(--danger)}.page-badge,.brand-block__badge,.workspace-header__eyebrow,.expense-kicker{color:var(--accent);letter-spacing:.14em;font-size:11px;font-weight:700;display:inline-block}.hero-actions,.header-actions,.panel-actions,.account-actions,.project-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.form-field{color:var(--muted);gap:7px;min-width:0;font-size:13px;display:grid}.form-field input,.form-field select,.form-field textarea{border:1px solid var(--line);width:100%;min-width:0;min-height:44px;color:var(--ink);background:var(--surface);border-radius:9px;padding:10px 12px}.form-field textarea{resize:vertical;min-height:110px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--accent)}.auth-form{gap:18px;display:grid}.form-message{color:var(--accent);margin:0;font-size:14px}.form-message--error{color:var(--danger)}.feedback-banner,.expense-notice{background:var(--accent-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.empty-state,.expense-empty{text-align:center;color:var(--muted);background:var(--soft);border-radius:14px;padding:36px 20px}.expense-empty{justify-items:center;gap:12px;display:grid}.expense-empty p{max-width:520px;margin:0}.marketing-page{max-width:1200px;margin:auto;padding:30px 28px 60px}.marketing-masthead{border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:10px 0 24px;font-size:13px;display:flex}.marketing-hero{text-align:center;padding:78px 28px 52px;position:relative}.marketing-hero__content{z-index:1;max-width:790px;margin:auto;position:relative}.marketing-hero__title{letter-spacing:.02em;margin:22px 0;font-size:clamp(34px,4.5vw,62px);font-weight:500;line-height:1.3}.marketing-hero__description{color:var(--muted);max-width:570px;margin:auto;line-height:1.9}.marketing-hero .hero-actions{justify-content:center;margin-top:30px}.hero-status{color:var(--rose);font-size:14px}.marketing-hero__visual{place-items:center;height:80px;margin:36px auto 0;display:grid}.wedding-mark{width:110px;height:65px;position:relative;transform:rotate(-16deg)}.wedding-mark:before,.wedding-mark:after{content:"";border:2px solid var(--rose);border-radius:50%;width:62px;height:62px;position:absolute}.wedding-mark:after{right:0}.feature-grid{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.feature-card{padding:30px}.feature-card+.feature-card{border-left:1px solid var(--line)}.feature-card__title{font-size:21px;font-weight:500}.feature-card__description{color:var(--muted);font-size:14px}.auth-page{background:radial-gradient(at top,#e6ebdf,#0000 65%);place-items:center;min-height:100dvh;padding:40px 20px;display:grid}.auth-card{border:1px solid var(--line);background:var(--surface);width:min(470px,100%);box-shadow:var(--shadow);border-radius:24px 24px 12px 12px;padding:38px}.auth-card:before{content:"";border-top:2px solid var(--rose);width:38px;margin-bottom:24px;display:block}.auth-card__title{margin:15px 0;font-size:32px;font-weight:500}.auth-card__description{color:var(--muted);margin-bottom:24px;font-size:14px}.auth-card__footer{color:var(--accent);flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:24px;font-size:13px;display:flex}.workspace-layout{min-height:100dvh;color:var(--ink);background:var(--paper)}.app-bar{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:24px;padding:14px max(24px,50vw - 640px);display:flex}.app-brand{white-space:nowrap;font-family:Songti SC,serif;font-size:19px}.app-brand>span{background:var(--accent);width:35px;height:35px;color:var(--surface);border-radius:50%;place-items:center;margin-right:8px;font-family:Georgia,serif;display:inline-grid}.workspace-nav{flex:1;align-items:center;gap:6px;display:flex}.workspace-nav__item{white-space:nowrap;color:var(--muted);border-radius:9px;padding:10px 15px;font-size:14px}.workspace-nav__item--active{background:var(--accent-soft);color:var(--accent);font-weight:600}.workspace-nav__item:hover{color:var(--accent)}.workspace-nav__label{display:block}.workspace-nav__description{display:none}.account-actions{font-size:13px}.workspace-layout__main{width:min(1280px,100%);margin:auto;padding:28px 28px 20px}.project-ribbon{justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px;display:flex}.project-ribbon p{color:var(--muted);margin:5px 0 0;font-size:13px}.project-controls select{max-width:300px}.project-create{grid-template-columns:1fr 1fr auto;align-items:end;gap:18px;margin-bottom:20px;display:grid}.workspace-content{gap:24px;display:grid}.workspace-footer{text-align:center;color:var(--muted);padding:40px 10px 16px;font-size:12px}.workspace-header{justify-content:space-between;gap:20px;margin-bottom:25px;display:flex}.workspace-header__title{margin:8px 0;font-weight:500}.workspace-layout__sidebar{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:24px;padding:18px 32px;display:flex}.brand-block__title{margin:4px 0;font-size:21px}.brand-block__description{display:none}.account-panel{gap:3px;font-size:13px;display:grid}.account-panel__label,.account-panel__meta{color:var(--muted)}.page-panel{gap:24px;min-width:0;display:grid}.page-panel__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;display:flex}.page-panel__title{margin:8px 0 0;font-size:32px;font-weight:500}.page-panel__subtitle{max-width:460px;color:var(--muted);margin:0;font-size:14px}.summary-grid,.detail-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;display:grid}.summary-card,.detail-card,.placeholder-block{border:1px solid var(--line);background:var(--surface);border-radius:15px;min-width:0;padding:24px}.summary-card__title{color:var(--muted);font-size:13px}.summary-card__value{color:var(--accent);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:10px 0;font-size:28px;font-weight:500;display:block}.summary-card__description,.detail-card__content{color:var(--muted);margin:6px 0 0;font-size:13px}.detail-card__title{margin:0 0 16px;font-size:18px}.workspace-grid{gap:20px;display:grid}.panel-toolbar,.guest-toolbar,.expense-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.journey-hero{text-align:center;border:1px solid var(--line);background:var(--surface);border-radius:100px 100px 16px 16px;padding:46px 24px;position:relative}.journey-hero h1{margin:16px 0 8px;font-size:clamp(30px,4vw,48px);font-weight:500}.journey-hero p{color:var(--muted);margin:10px 0}.journey-countdown{color:var(--rose);margin:25px 0;font-family:Georgia,serif;font-size:68px;line-height:1.2}.journey-countdown small{margin-left:10px;font:14px sans-serif}.journal-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.journal-link{border-top:2px solid var(--accent);background:var(--surface);border-radius:0 0 12px 12px;gap:14px;padding:24px;display:grid}.journal-link span{color:var(--muted);font-size:13px}.journal-link:hover{background:var(--accent-soft)}.settings-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.settings-form>:first-child,.settings-form>:nth-last-child(-n+4){grid-column:1/-1}.guest-main-card,.guest-side-stack,.guest-editor-side{align-content:start;gap:18px;display:grid}.guest-side-stack{grid-template-columns:repeat(3,minmax(0,1fr))}.guest-filters,.expense-filters{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.guest-record-list,.guest-family-list,.guest-tag-list,.guest-group-list{gap:12px;display:grid}.guest-record-card{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;gap:16px;padding:20px 0;display:grid}.guest-record-card__main{min-width:0}.guest-record-card__header{justify-content:space-between;align-items:start;gap:16px;display:flex}.guest-record-card__name{font-size:18px}.guest-record-card__meta{color:var(--muted);margin:6px 0;font-size:13px}.guest-record-card__details{color:var(--muted);grid-template-columns:1fr 1fr;gap:4px 18px;font-size:13px;display:grid}.guest-record-card__details p{margin:4px 0}.guest-record-card__actions{flex-wrap:wrap;align-content:start;gap:8px;display:flex}.guest-chip-list,.guest-tag-palette{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.guest-chip,.guest-status,.expense-status,.expense-soft-label{border:1px solid var(--line);background:var(--soft);color:var(--muted);border-radius:8px;align-items:center;padding:5px 10px;font-size:12px;display:inline-flex}.guest-chip--active,.guest-status--confirmed,.expense-status--paid{background:var(--accent-soft);color:var(--accent)}.guest-status--declined{color:var(--danger)}.guest-status--pending,.guest-status--to_confirm,.guest-status--tentative,.expense-status--unpaid{color:var(--rose)}.guest-color-dot{border:2px solid var(--surface);border-radius:50%;flex-shrink:0;width:26px;height:26px}.guest-color-dot--active{outline:2px solid var(--accent);outline-offset:2px}.guest-tag-item,.guest-group-item,.guest-tag-item__meta{justify-content:space-between;align-items:center;gap:10px;display:flex}.guest-tag-item,.guest-group-item{border-bottom:1px solid var(--line);padding:8px 0}.guest-pagination,.guest-selection-bar{background:var(--soft);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:14px;font-size:13px;display:flex}.guest-editor-grid{gap:20px;display:grid}.guest-editor-grid>.auth-form,.guest-editor-side{grid-template-columns:repeat(2,minmax(0,1fr))}.guest-editor-card__title{margin:0 0 12px;font-size:16px}.guest-family-list{max-height:260px;margin-top:12px;overflow-y:auto}.guest-family-item,.guest-switch{border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;padding:10px;display:flex}.guest-family-item p{color:var(--muted);margin:0;font-size:12px}.module-list{gap:12px;display:grid}.module-card{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 0;display:flex}.module-card>div:first-child{flex:1;min-width:min(100%,360px)}.module-card h5{flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:17px;display:flex}.module-card p{color:var(--muted);margin:7px 0 0;font-size:13px}.timeline-focus{grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:18px;margin-top:18px;display:grid}.timeline-focus>div{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px}.timeline-focus h4{margin:8px 0;font-size:28px;font-weight:500}.timeline-focus p,.timeline-next p{color:var(--muted);margin:6px 0 0;font-size:14px}.timeline-next{align-content:start;gap:12px;display:grid}.timeline-next strong{font-size:20px}.lodging-grid{grid-template-columns:.9fr 1.1fr;gap:20px;display:grid}.compact-field{min-width:min(100%,260px)}.lodging-guest-picker{padding:16px}.expense-page,.expense-progress-card,.expense-records-card{gap:20px;display:grid}.expense-intro,.expense-modal__intro{color:var(--muted);margin:0;font-size:14px}.expense-section-heading .detail-card__title{margin:8px 0 0}.budget-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;display:grid}.budget-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;gap:16px;padding:20px;display:grid}.budget-card--over{border-color:var(--rose)}.budget-card__top,.budget-card__amounts,.budget-card__footer{justify-content:space-between;gap:14px;display:flex}.budget-card__actions{display:flex}.budget-card h5{margin:0;font-size:17px}.budget-card p,.budget-card__amounts,.budget-card__footer{color:var(--muted);margin:0;font-size:12px}.budget-card__amounts strong{color:var(--ink);margin-top:6px;font-size:16px;display:block}.budget-progress{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.budget-progress span{background:var(--accent);height:100%;display:block}.budget-card--over .budget-progress span{background:var(--rose)}.expense-list{gap:8px;display:grid}.expense-record{border-bottom:1px solid var(--line);grid-template-columns:115px 1fr auto;gap:20px;padding:22px 0;display:grid}.expense-record__date{color:var(--muted);align-content:start;gap:6px;font-size:12px;display:grid}.expense-record__main{min-width:0}.expense-record__title{justify-content:space-between;gap:16px;display:flex}.expense-record__title h5{margin:0;font-size:17px}.expense-record__title p,.expense-record__remark{color:var(--muted);margin:6px 0;font-size:13px}.expense-record__meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.expense-record__actions{align-items:start;display:flex}.expense-attachment{color:var(--accent);font-size:13px;text-decoration:underline}.expense-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.expense-form-grid__wide{grid-column:1/-1}.guest-modal,.expense-modal{z-index:50;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.guest-modal__backdrop,.expense-modal__backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#16271eb3;border:0;width:100%;height:100%;position:absolute;inset:0}.guest-modal__panel,.expense-modal__panel{background:var(--surface);width:min(720px,100%);max-height:calc(100dvh - 48px);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;gap:20px;padding:30px;display:grid;position:relative;overflow-y:auto}.guest-modal__panel{width:min(920px,100%)}.expense-modal__panel--wide{width:min(800px,100%)}.expense-modal__header,.expense-modal__actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.expense-modal__actions{justify-content:flex-end}.expense-modal__header h4{margin:8px 0 0;font-family:Songti SC,serif;font-size:24px}.modal-close{background:var(--soft);width:36px;height:36px;color:var(--ink);border:0;border-radius:50%;font-size:24px}@media (width<=1000px){.app-bar{gap:12px}.workspace-nav{flex-basis:100%;order:3;overflow-x:auto}.account-actions{margin-left:auto}.guest-side-stack{grid-template-columns:1fr}.guest-filters,.expense-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-links,.timeline-focus,.lodging-grid{grid-template-columns:1fr}}@media (width<=640px){.marketing-page{padding:20px 18px}.marketing-hero{padding:44px 0 30px}.feature-grid{grid-template-columns:1fr}.feature-card{padding:20px 0}.feature-card+.feature-card{border-left:0;border-top:1px solid var(--line)}.auth-card{padding:28px 22px}.app-bar{padding:12px 16px}.workspace-layout__main{padding:20px 16px}.workspace-nav__item{padding:9px 12px}.project-ribbon,.workspace-header,.page-panel__header,.panel-toolbar,.guest-toolbar,.expense-section-heading{flex-direction:column;align-items:flex-start}.project-controls{width:100%}.project-controls .form-field{flex:1}.project-controls select{max-width:100%}.project-create,.settings-form,.guest-editor-grid>.auth-form,.guest-editor-side,.expense-form-grid{grid-template-columns:1fr}.expense-form-grid__wide{grid-column:auto}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-card{padding:16px}.summary-card__value{font-size:22px}.detail-card{padding:18px}.guest-record-card{grid-template-columns:auto minmax(0,1fr)}.guest-record-card__actions{grid-column:2}.guest-record-card__details{grid-template-columns:1fr}.guest-record-card__header,.guest-selection-bar,.guest-pagination{flex-wrap:wrap}.expense-record{grid-template-columns:1fr;gap:10px}.expense-record__date{display:flex}.expense-record__title{flex-wrap:wrap}.expense-record__actions{justify-content:flex-end}.guest-modal,.expense-modal{padding:12px}.guest-modal__panel,.expense-modal__panel{max-height:calc(100dvh - 24px);padding:20px}.journey-hero{border-radius:48px 48px 14px 14px;padding:30px 18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
