:root{--navy:#17345b;--blue:#356ee2;--text:#1d2d45;--muted:#768194;--line:#e7ecf3;--bg:#f7f9fc;--soft:#edf3fe;--green:#238476;--amber:#976526;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--text);background:var(--bg);font-size:15px;line-height:1.55;font-variant-numeric:tabular-nums}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:var(--blue);text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #86aaff;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #8caeee;outline-offset:1px}h1,h2,h3,p{margin:0}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{position:fixed;left:0;top:0;bottom:0;width:234px;background:#fff;border-right:1px solid var(--line);padding:36px 23px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;color:var(--navy);font-size:19px;font-weight:800;letter-spacing:-.5px}.brand-icon{width:39px;height:40px;background:var(--navy);color:#fff;border-radius:12px;display:grid;place-items:center;font-size:25px;line-height:1;letter-spacing:-2px;padding-right:3px}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:0;margin-top:4px;color:var(--muted)}.sidebar-caption{font-size:10px;letter-spacing:1.8px;color:#919bab;margin:49px 15px 14px}.desktop-nav{display:grid;gap:9px}.desktop-nav a{display:flex;align-items:center;gap:13px;color:#748094;padding:14px 17px;border-radius:12px;font-weight:600}.desktop-nav a.active{background:var(--soft);color:var(--blue)}.sidebar-bottom{margin-top:auto;padding:24px 14px 0;font-size:12px;color:var(--muted)}.privacy-mark{display:flex;gap:8px;color:#596b85;margin-bottom:15px;font-weight:600}.sidebar-bottom p{line-height:1.9;margin-bottom:24px}.text-button{background:none;border:0;color:var(--blue);padding:5px 0;font-weight:600;min-height:44px}.sidebar-bottom .text-button{color:#647791;font-size:12px;width:100%;display:flex;justify-content:space-between}.workspace{margin-left:234px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:#fff}.desktop-toplabel{font-size:13px;color:#75839a}.top-actions{display:flex;align-items:center;gap:17px}.preview-label{font-size:12px;color:#7b889e}.icon-button{background:#fff;border:1px solid var(--line);width:44px;height:44px;border-radius:12px;display:grid;place-items:center}.mobile-brand{display:none}main{max-width:1224px;margin:0 auto;padding:33px 42px 50px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.eyebrow{font-size:12px;color:var(--muted);margin-bottom:6px}.page-heading h1{font-size:27px;letter-spacing:-1px;font-weight:750}.page-heading h1 .wave{font-size:24px;margin-left:4px}.month-control{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;white-space:nowrap;min-height:45px}.month-control button{border:0;background:none;width:40px;height:44px;display:grid;place-items:center;color:#748298}.month-control button svg{width:16px}.month-control input{background:none;border:0;padding:3px;width:137px;font-size:13px;color:var(--navy)}.sample-banner{display:flex;align-items:center;gap:10px;font-size:13px;background:#edf3fd;border:1px solid #e0e9fa;border-radius:12px;padding:11px 16px;color:#526c93;margin-bottom:23px}.sample-banner b{color:var(--blue);white-space:nowrap}.sample-banner .text-button{margin-left:auto;white-space:nowrap;font-size:12px;min-height:30px}.home-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:25px}.left-column,.right-column{display:grid;gap:25px;align-content:start}.summary-card{border-radius:var(--radius);padding:29px 30px;background:var(--navy);color:#fff;position:relative;overflow:hidden}.summary-top{display:flex;align-items:center;justify-content:space-between;color:#cfdbef;font-size:14px}.summary-top .pill{background:#ffffff12;color:#d6e4ff;border:1px solid #ffffff1a}.hero-amount{font-size:43px;font-weight:720;letter-spacing:-1.5px;margin:12px 0 10px;line-height:1.3}.hero-amount span{font-size:20px;letter-spacing:0;font-weight:400;margin-left:6px;color:#d8e4f5}.comparison{display:flex;align-items:center;gap:8px;font-size:12px;color:#cedcf2}.comparison b{color:#bdcdf4;font-weight:600}.hero-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:26px;padding-top:18px;border-top:1px solid #ffffff20;font-size:12px;color:#c8d5e9}.hero-bottom a{color:white;display:flex;gap:7px;align-items:center;font-weight:600}.hero-bottom a svg{width:14px;height:14px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:8px}.section-head h2{font-size:17px;font-weight:750;letter-spacing:-.5px}.section-head .subtitle{font-size:12px;color:var(--muted);font-weight:400;margin-left:8px}.section-head a,.section-head button{font-size:12px}.pill{font-size:11px;line-height:1.5;padding:3px 8px;border-radius:7px;background:var(--soft);color:var(--blue);display:inline-flex;align-items:center;gap:4px;font-weight:500;white-space:nowrap}.pill.green{background:#edf8f5;color:var(--green)}.pill.amber{background:#faf2e5;color:var(--amber)}.pill.gray{background:#f0f3f7;color:#738096}.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.bank-card{background:white;border:1px solid var(--line);border-radius:15px;padding:17px 18px;display:block;text-align:left;width:100%;transition:border-color .15s,transform .15s}.bank-card:hover{border-color:#b7cbf3;transform:translateY(-1px)}.card-title{display:flex;align-items:center;gap:9px;margin-bottom:13px}.card-mini{width:31px;height:22px;border-radius:5px;position:relative;background:var(--navy);flex-shrink:0}.card-mini:before{content:"";position:absolute;left:6px;top:6px;width:6px;height:5px;border:1px solid #ffffff65;border-radius:1px}.card-mini:after{content:"";position:absolute;bottom:5px;right:5px;width:6px;height:2px;background:#ffffff55;border-radius:1px}.card-mini.edu{background:#717da5}.card-mini.kb{background:#99856b}.card-mini.lg{background:#658f91}.card-mini.kt{background:#7f86a0}.card-mini.kal{background:#41516b}.card-name{font-size:13px;font-weight:700;line-height:1.5;min-width:0}.card-title .chevron{width:14px;height:14px;margin-left:auto;color:#a5aebd}.card-label{font-size:11px;color:var(--muted);margin-bottom:4px}.card-amount{display:flex;align-items:baseline;justify-content:space-between;gap:6px;font-size:20px;font-weight:720;letter-spacing:-.5px}.card-amount small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}.progress{height:5px;background:#edf1f7;border-radius:10px;margin-top:11px;overflow:hidden}.progress span{height:100%;display:block;background:#6a93e6;border-radius:10px}.card-foot{margin-top:10px;font-size:11px;display:flex;align-items:center;justify-content:space-between;color:#718098;gap:4px}.card-foot .pill{font-size:10px}.cards-note{color:var(--muted);font-size:11px;line-height:1.7;margin-top:12px}.surface{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.quick-add{background:#fff;border:1px solid #c4d4f2;border-radius:var(--radius);padding:23px 24px;color:var(--navy)}.quick-add h2{font-size:17px;letter-spacing:-.5px}.quick-add p{color:var(--muted);font-size:12px;margin:8px 0 17px}.primary{border:0;border-radius:11px;min-height:49px;background:var(--blue);color:white;font-weight:650;display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:12px 22px;font-size:14px}.primary.full{width:100%}.primary svg{width:18px;height:18px}.secondary{min-height:46px;border:1px solid var(--line);border-radius:10px;background:white;padding:10px 17px;font-weight:600;font-size:13px}.danger{color:#b44d4d}.records{display:grid}.record{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #f0f3f7;background:none;padding:14px 0;text-align:left;width:100%}.record:last-child{border-bottom:0}.category-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#f0f4fb;color:#6480a9;flex-shrink:0}.category-icon svg{width:19px;height:19px}.record-meta{flex:1;min-width:0}.record-name{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-detail{font-size:11px;color:var(--muted);margin-top:4px}.record-value{font-size:14px;font-weight:700;white-space:nowrap}.cancelled .record-value,.cancelled .record-name{text-decoration:line-through;color:#9099a8}.cancelled .record-value:after{content:" 취소";text-decoration:none;font-weight:400;font-size:10px}.record-value small{display:block;font-size:10px;font-weight:400;color:var(--muted);text-align:right;margin-top:3px}.husband-head{display:flex;gap:10px;align-items:center}.husband-head h2{font-size:15px;letter-spacing:-.4px}.husband-head .category-icon{width:35px;height:35px;background:#f0f3f8}.check-strip{display:flex;gap:8px;margin:17px 0 11px}.check-slot{padding:8px 12px;font-size:11px;background:#f4f6fa;border-radius:8px;flex:1;text-align:center;color:#7b8596}.check-slot.done{background:#edf7f4;color:var(--green)}.husband-description{font-size:11px;color:var(--muted);line-height:1.7}.husband-buttons{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.husband-buttons .text-button{font-size:12px}.bottom-nav{display:none}.footer-note{font-size:11px;color:#8a95a7;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:29px}.footer-note svg{width:13px;height:13px}.empty{text-align:center;padding:30px 10px;color:var(--muted);font-size:13px;line-height:1.9}.empty b{display:block;color:#54677f;margin-bottom:7px}.form-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:25px;align-items:start}.form-surface{padding:29px}.field{display:block;margin-bottom:23px}.field-title{font-size:13px;font-weight:650;display:block;margin-bottom:10px}.field-title small{font-size:11px;color:var(--muted);font-weight:400;margin-left:7px}.card-select-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice-card{border:1px solid var(--line);background:#fff;border-radius:11px;min-height:55px;padding:10px 12px;display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;text-align:left}.choice-card.active{border-color:var(--blue);background:#f0f5ff;color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.amount-box{display:flex;align-items:center;border-bottom:2px solid #dce5f3;padding:3px 0 9px;gap:10px}.amount-box input{border:0;background:none;width:100%;font-size:38px;color:var(--navy);font-weight:700;padding:0;min-width:0;letter-spacing:-1px}.amount-box input::placeholder{color:#ced7e5}.amount-box span{font-size:19px;color:#7a899f}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.category-choice{min-height:65px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#738198}.category-choice.active{border-color:#91b0ed;background:#eef4ff;color:var(--blue);font-weight:650}.category-choice svg{width:20px;height:20px}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.inline-fields .field{margin-bottom:20px}input:not(.amount-box input),select,textarea{font-size:14px;min-height:47px;max-width:100%;border:1px solid var(--line);border-radius:9px;background:white;color:var(--text);padding:10px 12px;width:100%}.month-control input{min-height:38px;border:none;padding:4px;width:137px;font-size:13px}.person-choice{display:flex;gap:5px;background:#f2f5fa;padding:4px;border-radius:9px}.person-choice button{border:0;background:none;border-radius:6px;min-height:39px;flex:1;color:#7a8495;font-size:13px}.person-choice button.active{background:#fff;color:var(--navy);font-weight:650;box-shadow:0 1px 3px #17345b10}details.optional{margin:3px 0 22px;border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;color:#697b93}details.optional .field{margin-top:8px;margin-bottom:15px}.form-foot{font-size:11px;color:var(--muted);text-align:center;margin-top:12px}.help-card h3{font-size:14px;margin-bottom:13px}.help-card p{font-size:12px;color:#778397;line-height:1.9}.help-card .help-line{padding:12px 0;border-top:1px solid var(--line);display:flex;gap:10px;font-size:12px;color:#718098}.help-line:first-of-type{margin-top:16px}.help-line svg{width:17px;height:17px;color:#587dae}.notice{padding:13px 15px;background:#f3f6fb;border-radius:10px;font-size:12px;color:#677b98;line-height:1.8}.notice.amber{color:var(--amber);background:#faf4e9}.notice + .notice{margin-top:12px}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.analysis-hero{grid-column:1/-1;padding:27px 30px;display:flex;align-items:center;justify-content:space-between}.analysis-total{font-size:35px;font-weight:750;letter-spacing:-1px;margin-top:6px}.analysis-total small{font-size:17px;font-weight:400;margin-left:5px}.analysis-delta{text-align:right;font-size:13px;color:#75849a}.analysis-delta b{display:block;font-size:20px;color:var(--navy);margin-top:7px;font-weight:650}.bar-row{margin:19px 0}.bar-row:last-child{margin-bottom:0}.bar-label{display:flex;justify-content:space-between;gap:10px;font-size:13px}.bar-label span{color:#6e7c92}.bar-label b{font-weight:600}.bar-track{height:6px;background:#f0f3f8;margin-top:10px;border-radius:4px;overflow:hidden}.bar-fill{background:#7296dc;height:100%;border-radius:4px}.category-bar .bar-fill{background:#94a9c9}.month-row{display:flex;align-items:center;gap:13px;margin:18px 0;font-size:12px}.month-row .bar-track{margin:0;flex:1;height:16px;border-radius:3px}.month-row .bar-fill{border-radius:3px;background:#b5c7e7}.month-row.current .bar-fill{background:var(--blue)}.month-row b{min-width:86px;text-align:right;font-size:12px;font-weight:600}.history-surface{grid-column:1/-1}.search-fields{display:grid;grid-template-columns:1fr 160px 160px;gap:10px;margin-bottom:14px}.search-fields input{font-size:12px}.search-total{font-size:12px;color:var(--muted);margin-bottom:7px}.history-surface .record-name{font-size:14px}.history-surface .record{padding:16px 0}.toast{position:fixed;bottom:30px;left:calc(50% + 117px);transform:translate(-50%,20px);background:var(--navy);color:#fff;border-radius:12px;box-shadow:0 5px 20px #17345b20;padding:13px 22px;z-index:10;font-size:13px;max-width:90vw;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:21px;width:min(560px,calc(100vw - 30px));max-height:88dvh;padding:0;color:var(--text);box-shadow:0 20px 80px #17345b25}dialog::backdrop{background:#16283d60;backdrop-filter:blur(3px)}.modal-top{position:sticky;top:0;background:white;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:20px 23px;gap:10px;z-index:1}.modal-top h2{font-size:17px;line-height:1.5}.modal-body{padding:24px}.modal-body h3{font-size:14px;margin:22px 0 10px}.modal-body p,.modal-body li{font-size:13px;color:#697b94;line-height:1.9}.modal-body ul{padding-left:20px;margin:8px 0}.modal-buttons{display:flex;gap:10px;margin-top:22px}.modal-buttons>*{flex:1}.detail-title{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;margin:15px 0}.detail-dl{display:grid;grid-template-columns:100px 1fr;font-size:13px;gap:15px 10px;margin:0}.detail-dl dt{color:var(--muted)}.detail-dl dd{margin:0;font-weight:600;overflow-wrap:anywhere}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.settings-row b{font-size:13px}.settings-row p{font-size:11px;margin-top:4px}.settings-row button{flex-shrink:0}.file-label{border:1px solid var(--line);border-radius:10px;padding:10px 17px;min-height:46px;cursor:pointer;font-size:13px;font-weight:600;display:inline-flex;align-items:center;flex-shrink:0}.file-label input{position:absolute;width:1px;height:1px;opacity:0}.source-link{font-size:12px;display:inline-flex;align-items:center;gap:6px;margin-top:12px}.phase-note{font-size:11px;color:var(--muted);margin-top:20px;line-height:1.8}.error-box{border:1px solid #e6b9b9;border-radius:12px;background:#fff4f4;color:#aa4949;padding:14px;margin-bottom:20px;font-size:13px}.welcome-surface{margin-bottom:20px}.toggle-row{display:flex;align-items:center;gap:8px;font-size:13px}.toggle-row input{width:18px;min-height:18px}.cancel-amount{color:#8b96a7}.form-error{color:#b44d4d;font-size:13px;margin-bottom:14px;min-height:0}.form-error:empty{display:none}.check-date{margin-top:14px}.no-js{padding:30px}
@media(min-width:1500px){main{padding-top:40px}.home-grid{gap:30px}.left-column,.right-column{gap:28px}.hero-amount{font-size:48px}.summary-card{padding:32px 34px}.bank-card{padding:21px}.card-name{font-size:14px}}
@media(max-width:1150px){.sidebar{width:200px;padding:30px 15px}.brand{font-size:17px}.workspace{margin-left:200px}main{padding:28px}.topbar{padding:0 28px}.home-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:18px}.card-grid{gap:10px}.bank-card{padding:15px 13px}.card-name{font-size:12px}.card-amount{font-size:18px}.surface{padding:21px}.toast{left:calc(50% + 100px)}.form-layout{gap:18px}.form-surface{padding:22px}.choice-card{font-size:11px}}
@media(max-width:920px){.sidebar{width:178px}.brand{font-size:15px;gap:8px}.brand-icon{width:34px;height:36px}.workspace{margin-left:178px}.home-grid,.form-layout{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;gap:18px}.quick-add{display:none}.right-column .recent-surface{grid-column:1}.right-column .husband-surface{grid-column:2}.card-grid{grid-template-columns:repeat(3,1fr)}.card-name{font-size:12px}.form-help{display:none}.toast{left:calc(50% + 89px)}}
@media(max-width:640px){body{background:#fff;font-size:15px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:69px;padding:0 21px;background:#fff}.desktop-toplabel{display:none}.mobile-brand{display:block;font-weight:800;color:var(--navy);font-size:18px;letter-spacing:-.3px}.mobile-brand span{display:block;font-size:10px;color:#8893a5;font-weight:400;letter-spacing:0}.preview-label{font-size:10px}.top-actions{gap:10px}.topbar .icon-button{border:0;width:42px;height:42px}.topbar .icon-button svg{width:20px}main{padding:24px 20px 108px}.page-heading{margin-bottom:20px;align-items:flex-end}.page-heading h1{font-size:25px}.eyebrow{font-size:11px;margin-bottom:5px}.month-control{min-height:40px;border-radius:9px}.month-control button{width:25px;height:39px}.month-control input{width:105px;font-size:11px;padding:0;min-height:35px}.month-control button svg{width:13px}.sample-banner{padding:10px 12px;font-size:11px;gap:7px;margin-bottom:20px;align-items:flex-start;flex-wrap:wrap}.sample-banner span{flex:1;min-width:190px}.sample-banner .text-button{font-size:11px;min-height:22px;padding:0}.sample-banner b{font-size:10px;margin-top:1px}.summary-card{padding:24px 23px;border-radius:17px}.summary-top{font-size:12px}.summary-top .pill{font-size:10px}.hero-amount{font-size:38px;letter-spacing:-1px;margin:13px 0 9px}.hero-amount span{font-size:18px}.comparison{font-size:11px;gap:6px}.hero-bottom{margin-top:22px;padding-top:15px;font-size:10px}.hero-bottom a{font-size:11px}.home-grid{gap:25px}.left-column{gap:25px}.right-column{display:grid;grid-template-columns:1fr;gap:24px}.right-column .recent-surface,.right-column .husband-surface{grid-column:auto}.section-head{margin-bottom:13px}.section-head h2{font-size:17px}.section-head .subtitle{display:none}.section-head .pill{font-size:10px}.card-grid{grid-template-columns:1fr 1fr;gap:10px}.bank-card{padding:15px 13px;border-radius:13px;min-height:162px}.card-title{gap:7px;margin-bottom:13px;align-items:flex-start}.card-mini{width:26px;height:20px;margin-top:2px}.card-name{font-size:11px;min-height:34px;display:flex;align-items:center}.card-title .chevron{display:none}.card-label{font-size:10px}.card-amount{font-size:18px;flex-wrap:wrap;line-height:1.4;gap:2px}.card-amount small{font-size:10px}.card-foot{font-size:10px;flex-wrap:wrap;gap:5px}.card-foot .pill{font-size:9px}.cards-note{font-size:10px;margin-top:11px}.surface{padding:20px;border-radius:15px}.recent-surface{padding:0;border:0;border-top:1px solid var(--line);border-radius:0;padding-top:24px}.record{padding:14px 0}.record-name{font-size:13px}.record-detail{font-size:10px}.record-value{font-size:14px}.husband-surface{background:#f8fafd;border-color:#ebeff5}.footer-note{font-size:10px;margin-top:25px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -5px 20px #17345b04}.bottom-nav a{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:11px;color:#8b95a6}.bottom-nav a svg{width:21px;height:21px}.bottom-nav a.active{color:var(--blue);font-weight:700}.bottom-nav a.active svg{stroke-width:2}.toast{left:50%;bottom:91px;font-size:12px;min-width:180px;text-align:center;max-width:calc(100vw - 35px)}.form-surface{padding:0;border:0;border-radius:0}.form-layout{gap:0}.field{margin-bottom:24px}.choice-card{font-size:11px;min-height:57px}.amount-box input{font-size:38px}.category-choice{min-height:68px;font-size:12px}.inline-fields{gap:13px}.analysis-grid{grid-template-columns:1fr;gap:20px}.analysis-hero{padding:23px;align-items:flex-start;flex-direction:column;gap:13px;background:var(--navy);color:white}.analysis-hero .eyebrow{color:#c8d7ef}.analysis-delta{text-align:left;font-size:11px;color:#cddaf0;display:flex;gap:10px;align-items:baseline}.analysis-delta b{color:#e5edfd;font-size:14px;margin-top:0}.analysis-total{font-size:35px;margin-top:8px}.analysis-grid .surface{grid-column:auto}.bar-row{margin:17px 0}.bar-label{font-size:12px}.search-fields{grid-template-columns:1fr 1fr;gap:9px}.search-fields>input:first-child{grid-column:1/-1}.search-fields input{font-size:12px;min-height:44px;padding:9px}.history-surface .record-name{font-size:13px}.history-surface .record-value{font-size:13px}.modal-body{padding:21px}.modal-top{padding:16px 20px}.modal-top h2{font-size:16px}.settings-row .secondary,.file-label{padding:9px 12px;font-size:11px;min-height:43px}.detail-dl{grid-template-columns:85px 1fr;font-size:12px}.primary{min-height:52px;font-size:15px}.form-foot{font-size:10px}.modal-buttons{flex-wrap:wrap}.phase-note{font-size:10px}.notice{font-size:11px}.page-heading h1 .wave{font-size:22px}}
@media(max-width:640px){.page-heading:has(.month-control){position:relative;align-items:flex-start;min-height:78px}.page-heading:has(.month-control)>div:first-child{width:100%}.page-heading:has(.month-control) h1{margin-top:23px}.page-heading .month-control{position:absolute;right:0;top:-2px}.card-name{font-size:12px;min-height:36px}.card-label{font-size:11px}.card-foot{font-size:11px}.record-detail{font-size:11px}.cards-note{font-size:11px}.sample-banner span{min-width:170px}.hero-amount{font-size:39px}.comparison svg{width:16px;height:16px}}
.cancelled .record-value:after{content:none}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
:root{color-scheme:light}
.performance-summary{background:#f3f7fc;border:1px solid #e0e8f4;border-radius:18px;padding:20px;margin:14px 0}.performance-summary strong{display:block;font-size:32px;color:#18375e;letter-spacing:-1px}.performance-summary strong small{font-size:16px;margin-left:6px}.performance-summary p{margin:8px 0}.performance-counts{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:18px 0;font-size:14px}.performance-row{width:100%;display:flex;justify-content:space-between;gap:14px;align-items:center;background:white;border:0;border-bottom:1px solid #e7edf5;padding:16px 0;text-align:left;color:#24334a}.performance-row span:first-child{min-width:0}.performance-row small,.performance-rule small{display:block;font-size:13px;line-height:1.65;color:#64748b;margin-top:7px;overflow-wrap:anywhere}.performance-row .pill{flex-shrink:0}.performance-rule{display:flex;flex-wrap:wrap;gap:8px;padding:15px 0;border-bottom:1px solid #e7edf5}.performance-rule small{flex-basis:100%;margin-top:0}.benefit-detail{border-bottom:1px solid #e7edf5;padding:12px 0}.benefit-detail h3 .pill{font-size:11px;white-space:nowrap}.payment-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;margin-bottom:16px}.payment-row label{min-width:0;font-size:13px;color:#566781}.payment-row input{width:100%;min-width:0;margin-top:6px}.payment-row button{padding:12px 10px;min-height:46px}.modal-body .optional{margin:18px 0}.modal-body summary{cursor:pointer;min-height:44px;line-height:1.5;padding:12px 0;font-weight:700}.modal-body .primary,.modal-body .secondary{min-height:44px}.modal-body select{width:100%;min-height:48px}.modal-body .notice{overflow-wrap:anywhere}@media(max-width:420px){.payment-row{grid-template-columns:1fr 1fr}.payment-row button{grid-column:2}.performance-summary strong{font-size:30px}.performance-counts{gap:10px}}
.inline-fields>.field:only-child{grid-column:1/-1}
/* Clearer card amounts, readable conditions, and explicit record/sample modes. */
.card-data-tag{display:inline-flex;font-size:12px;font-weight:700;padding:3px 8px;border-radius:6px;margin-bottom:10px}.sample-tag{background:#fff0d6;color:#80501e}.real-tag{background:#edf5fc;color:#315a89}.usage-line{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;color:#53657e;margin-bottom:12px}.usage-line b{color:#3b506c;font-weight:600}.card-label{font-size:13px;line-height:1.55;color:#52657f}.card-target{font-size:13px;color:#53657e;margin-top:8px}.card-amount{font-size:25px;justify-content:flex-start;gap:5px;line-height:1.5}.card-amount small{font-size:14px;color:#53657e}.card-foot{font-size:13px;flex-wrap:wrap;gap:8px}.card-foot .pill{font-size:12px}.service-hint{font-size:12px;line-height:1.6;color:#62738b;margin-top:9px}.mode-sample{background:#fff6e7;border-color:#efd9b6;color:#755b3c}.mode-sample b{color:#86561f}.mode-real{background:#f1f7fc;border-color:#dbe8f4}.sample-banner{font-size:14px}.sample-banner b,.sample-banner .text-button{font-size:13px}.sample-banner .text-button{min-height:44px}.preview-label{font-size:13px;font-weight:700;color:#345471}body[data-mode=sample] .preview-label{color:#895c24;background:#fff0d6;padding:5px 10px;border-radius:7px}.record-detail{font-size:13px;color:#5d6e85}
.modal-top h2{font-size:19px;word-break:keep-all;overflow-wrap:anywhere;flex:1;line-height:1.45}.modal-top .icon-button{flex-shrink:0}.modal-body{font-size:15px}.modal-body p,.modal-body li{font-size:15px;line-height:1.7;color:#52657f}.modal-body h3{font-size:18px;line-height:1.45;word-break:keep-all;margin:24px 0 12px}.modal-body .cards-note{font-size:14px;line-height:1.7;color:#5c6d84}.modal-body .notice,.modal-body .detail-dl,.modal-body .source-link{font-size:14px}.modal-body summary{font-size:15px;word-break:keep-all;overflow-wrap:anywhere}.modal-body .field-title{font-size:15px;color:#3b4c64}.modal-body input,.modal-body select,.modal-body textarea{font-size:16px;min-height:48px}.detail-data-mode{border:1px solid #dce7f3;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.detail-data-mode b{font-size:15px;word-break:keep-all}.detail-data-mode span{font-size:14px;color:#53657e;line-height:1.65}.sample-mode{background:#fff6e7;border-color:#efd9b6}.sample-mode b{color:#80551f}.real-mode{background:#f2f7fc}.detail-data-mode .secondary{align-self:flex-start}.detail-jump{display:flex;justify-content:space-between;gap:8px;margin-bottom:14px}.detail-jump button{font-size:14px;min-height:44px}.amount-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.amount-comparison>div{padding:18px 16px;border-radius:15px;border:1px solid #e2e9f2;min-width:0}.usage-panel{background:#f8fafc}.recognized-panel{background:#eff5fd}.amount-comparison span{display:block;font-size:14px;font-weight:600;word-break:keep-all;line-height:1.6}.amount-comparison strong{display:block;font-size:30px;margin:9px 0;letter-spacing:-.8px;color:#17345b;overflow-wrap:anywhere}.amount-comparison strong small{font-size:14px;margin-left:4px;font-weight:500;letter-spacing:0}.modal-body .amount-comparison p{font-size:13px;line-height:1.65;margin:0;color:#5a6c83}.modal-body .basis-note{font-size:14px;line-height:1.7;margin-top:13px;color:#52657f}.goal-line{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;margin:18px 0 10px}.modal-body .previous-performance{font-size:14px;margin-top:12px}.service-overview{margin:16px 0}.service-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 12px;border:1px solid #e6ecf4;background:#fff;border-radius:11px;text-align:left;min-width:0;min-height:72px;color:#2d4563}.service-list{display:grid;gap:8px}.service-row.selected{border-color:#9cb9ed;background:#f2f6fd}.service-row>span:first-child{min-width:0}.service-row b{font-size:15px;word-break:keep-all;line-height:1.5}.service-row small{display:block;color:#5e7088;font-size:13px;line-height:1.65;margin-top:4px}.service-value{flex-shrink:0;text-align:right}.service-value b{font-size:16px}.amount-breakdown{border:1px solid #e6ecf4;border-radius:12px;padding:16px;margin:18px 0}.modal-body .amount-breakdown>p:first-child{font-size:14px;font-weight:600}.amount-breakdown dl{margin:12px 0}.amount-breakdown dl>div{display:flex;justify-content:space-between;gap:12px;margin:9px 0;font-size:15px}.amount-breakdown dd{font-weight:650;margin:0;white-space:nowrap}.amount-breakdown dt small{font-size:13px;color:#61748e;margin-left:7px}.pending-amount{color:#8c6128}.baseline-status{display:flex;flex-direction:column;gap:6px;border-radius:12px;background:#f2f7fc;padding:16px;margin-bottom:18px;font-size:14px;color:#526781}.baseline-status b{font-size:15px;color:#315276}.card-controls{border-top:1px solid #e6ecf4;margin-top:18px;padding-top:1px}.control-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.control-buttons button{font-size:14px;padding:12px 8px;word-break:keep-all;min-height:48px}.modal-body .card-controls>p{font-size:14px;margin-bottom:12px}.modal-body .card-controls .cards-note{margin-top:12px}.card-detail-section{scroll-margin-top:92px}#performance-section{scroll-margin-top:92px}.benefit-list{display:grid;gap:12px;margin-top:14px}.benefit-item{border:1px solid #e1e8f2;border-radius:13px;padding:17px 16px;background:#fff;min-width:0}.benefit-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.benefit-item h4{font-size:16px;margin:0;color:#2a405e;line-height:1.6;word-break:keep-all}.benefit-item-head .pill{flex-shrink:0;font-size:12px;margin-top:2px}.benefit-numbers{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:14px;align-items:center;margin:15px 0}.benefit-numbers strong{font-size:23px;color:#2e63c3;line-height:1.5;word-break:keep-all}.benefit-numbers span small{display:block;color:#5f7188;font-size:13px;margin-bottom:5px}.benefit-numbers span b{font-size:16px;line-height:1.65;word-break:keep-all;color:#2e425d}.modal-body .benefit-condition{font-size:14px;background:#f6f8fc;padding:9px 11px;border-radius:8px;margin:0}.benefit-item details{margin-top:8px}.benefit-item summary{font-size:14px;color:#536b8a}.extra-benefits,.official-review{margin-top:22px;padding-top:6px;border-top:1px solid #e6ecf4}.modal-body .setting-intro{margin:14px 0 18px}.modal-body form .field{margin-top:18px}.modal-body .detail-dl dt,.modal-body .detail-dl dd{font-size:14px;line-height:1.7}.modal-body .performance-row small,.modal-body .performance-rule small{font-size:14px}
@media(max-width:640px){body{font-size:16px}.sample-banner{font-size:14px;line-height:1.65;padding:13px 14px;gap:7px;display:block}.sample-banner b{display:block;font-size:14px;margin:0 0 5px}.sample-banner span{display:block;min-width:0}.sample-banner .text-button{font-size:14px;min-height:44px;margin:4px 0 0}.page-heading:has(.month-control){position:static;display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:0}.page-heading:has(.month-control)>div:first-child{width:auto}.page-heading:has(.month-control) h1{margin-top:0;font-size:26px;word-break:keep-all;line-height:1.4}.page-heading .month-control{position:static;align-self:flex-start}.card-title{gap:6px;align-items:flex-start;min-height:42px}.card-mini{width:20px;height:17px;margin-top:3px}.card-name{font-size:14px;display:block;min-height:42px;word-break:keep-all;overflow-wrap:normal;text-wrap:balance}.card-data-tag{font-size:12px}.usage-line{font-size:13px;display:block}.usage-line b{display:block;font-size:15px;margin-top:3px}.card-label{font-size:13px;min-height:40px}.card-amount{font-size:23px;gap:4px;overflow-wrap:anywhere}.card-amount small{font-size:14px}.card-target{font-size:13px;line-height:1.65}.card-foot{font-size:13px;display:block;line-height:1.7}.card-foot .pill{font-size:12px;margin-top:5px;display:inline-flex}.service-hint{font-size:12px;line-height:1.65}.record-detail{font-size:13px}.cards-note,.footer-note{font-size:13px;line-height:1.75}.bottom-nav a{font-size:13px}dialog{width:calc(100% - 24px);max-width:620px;max-height:90dvh}.modal-top{padding:15px 16px;align-items:flex-start}.modal-top h2{font-size:18px}.modal-body{padding:18px 16px}.amount-comparison{gap:9px}.amount-comparison>div{padding:13px 11px}.amount-comparison strong{font-size:clamp(18px,5.3vw,25px);letter-spacing:-.7px}.amount-comparison span{font-size:14px}.control-buttons{grid-template-columns:1fr}.control-buttons button{font-size:15px;min-height:48px}.detail-data-mode{padding:13px}.service-row{gap:9px;padding:13px 10px}.service-row b{font-size:14px}.service-value b{font-size:15px}.service-row small{font-size:13px}.benefit-item{padding:15px 13px}.benefit-numbers{gap:11px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.benefit-numbers strong{font-size:21px}.benefit-item h4{font-size:16px}.record-name{font-size:15px}.form-foot{font-size:13px}.field-title{font-size:15px}.choice-card,.category-choice{font-size:14px;word-break:keep-all}.preview-label{font-size:12px}.modal-body .source-link{min-height:44px}}
@media(max-width:640px){.modal-body .inline-fields{grid-template-columns:1fr}.service-value{max-width:47%;overflow-wrap:anywhere}.service-value b{display:block;overflow-wrap:anywhere}}
.detail-data-mode .secondary{font-size:14px;min-height:44px}.modal-body .amount-comparison p{word-break:keep-all}

/* Keep the home title in meaningful phrases, including narrow desktop layouts. */
.page-heading{flex-wrap:wrap}.page-heading>div:first-child{min-width:0;flex:1 1 260px}.page-heading .month-control{flex-shrink:0}.home-heading{word-break:keep-all;line-height:1.4}.home-heading .heading-phrase{display:inline-block;white-space:nowrap}.refund-summary{display:grid;gap:10px;border:1px solid var(--line);background:#f6f9fd;padding:16px;border-radius:12px;margin:15px 0}.refund-summary span{display:flex;justify-content:space-between;gap:12px;font-size:15px}.refund-summary strong{color:var(--navy)}.secondary.full{width:100%}.refund-row{padding:12px 0;border-bottom:1px solid var(--line)}
@media(max-width:640px){.page-heading>div:first-child{flex:0 1 auto}.home-heading{font-size:26px}.refund-summary span{flex-wrap:wrap}.refund-row{grid-template-columns:1fr 1fr}.refund-row button{grid-column:2}}
