:root{color-scheme:light;--ink:#112d38;--muted:#647780;--teal:#127a70;--teal-dark:#0b655d;--mint:#e7f4ef;--line:#dee6e9;--surface:#fff;--bg:#f4f7f8;--orange:#a35e16;--orange-bg:#fff5e7;--danger:#ad3939;--shadow:0 8px 26px #102c370a;font-family:Arial,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--teal);text-decoration-thickness:1px;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #62b9ab;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35;letter-spacing:-.035em}h1{font-size:2rem}h2{font-size:1.3rem}h3{font-size:1.05rem}button{border:0;background:none;color:inherit}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.skip-link{position:fixed;left:12px;top:-60px;background:var(--ink);color:white;padding:10px 18px;z-index:20}.skip-link:focus{top:12px}.app-shell{min-height:100vh;display:grid;grid-template-columns:236px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:var(--ink);color:#fff;padding:35px 22px 24px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;font-weight:800;font-size:1.4rem;letter-spacing:-.05em}.brand img{width:39px;height:39px}.brand-sub{font-size:.875rem;color:#afc6cc;padding:12px 5px 34px;line-height:1.6}.side-nav{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 16px;text-decoration:none;border-radius:12px;color:#c4d3d8;font-weight:600}.nav-item.active{background:#27515a;color:#d5fff0}.nav-item:hover{background:#254750;color:#fff}.sidebar-note{margin-top:auto;padding:20px 8px 0;border-top:1px solid #31515b;color:#c3d2d7;font-size:.875rem}.sidebar-note .icon{color:#8ae1c5;margin-bottom:9px}.sidebar-note a{display:block;color:#c3d2d7;font-size:.875rem;margin-top:14px}.workspace{min-width:0}.topbar{height:84px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface);gap:12px}.breadcrumb{font-size:.95rem;font-weight:600}.topbar-actions{display:flex;gap:12px;align-items:center}.storage-badge{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:.875rem}.storage-badge .icon{width:17px;height:17px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;min-width:42px;min-height:42px;padding:8px;background:white}.main-content{max-width:1280px;margin:auto;padding:36px 48px 48px;outline:none}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}.page-heading p{color:var(--muted);margin-top:8px;font-size:.95rem}.eyebrow{font-size:.875rem;font-weight:700;color:var(--teal);margin-bottom:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 19px;border-radius:11px;font-weight:700;text-decoration:none;border:1px solid transparent;white-space:nowrap;line-height:1.5}.btn-primary{background:var(--teal);color:white}.btn-primary:hover{background:var(--teal-dark)}.btn-secondary{background:white;color:var(--ink);border-color:var(--line)}.btn-secondary:hover{background:#f3f7f7}.btn-subtle{color:var(--teal);padding:8px 2px;min-height:40px;font-weight:700}.btn-danger{color:var(--danger);background:#fff5f5;border-color:#efcccc}.btn-small{font-size:.875rem;min-height:38px;padding:7px 12px}.home-hero{position:relative;display:grid;grid-template-columns:1fr 220px;gap:24px;background:var(--ink);border-radius:20px;color:white;padding:35px 36px;overflow:hidden}.home-hero .eyebrow{color:#89d9bf}.home-hero h1{font-size:2.05rem;line-height:1.45;max-width:540px}.home-hero p{color:#c4d7dc;margin:12px 0 22px;max-width:520px}.home-hero .btn-primary{background:#9ae3c9;color:#12372f}.home-hero .btn-primary:hover{background:#b7f1dc}.hero-illustration{position:relative;align-self:center;height:180px;display:flex;align-items:center;justify-content:center}.paper{position:absolute;width:116px;height:142px;border-radius:10px;background:#f2faf6;box-shadow:0 8px 0 #00000008;transform:rotate(10deg);right:25px;top:25px}.paper.back{background:#39717a;transform:rotate(-12deg);right:70px;top:11px}.paper.front{display:flex;flex-direction:column;gap:12px;padding:22px}.paper.front .icon{color:#278879;width:30px;height:30px}.paper-line{height:5px;border-radius:3px;background:#c1d8d0;width:100%}.paper-line.short{width:65%}.hero-check{position:absolute;bottom:8px;left:10px;border-radius:14px;background:#9ae3c9;color:#113e32;padding:12px;box-shadow:0 10px 20px #0002;display:flex;align-items:center}.mode-switch{display:flex;gap:8px;margin:22px 0 25px;flex-wrap:wrap}.mode-button{padding:10px 17px;border:1px solid var(--line);background:white;border-radius:99px;font-size:.925rem;font-weight:600}.mode-button.active{color:var(--teal-dark);border-color:#9fcfc1;background:var(--mint)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:15px;padding:22px 23px;box-shadow:var(--shadow);min-width:0}.metric-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:.925rem}.metric-label .icon{width:20px;height:20px;color:#77959b}.metric-value{font-size:1.65rem;letter-spacing:-.045em;font-weight:800;margin:10px 0 3px;word-break:break-word;line-height:1.35}.metric-value.empty{font-size:1.1rem;margin:16px 0 8px;font-weight:600;color:#6c8087}.metric small{font-size:.875rem;color:var(--muted)}.metric.featured{background:#e9f4ef;border-color:#c7e4d8}.metric.featured .metric-value{color:var(--teal-dark)}.two-col{display:grid;grid-template-columns:1.08fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:25px;box-shadow:var(--shadow);min-width:0}.panel+.panel{margin-top:22px}.two-col>.panel+.panel{margin-top:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}.section-heading h2{font-size:1.18rem}.section-heading .btn-subtle{font-size:.875rem}.label-pill{display:inline-block;padding:4px 9px;font-size:.875rem;line-height:1.4;border-radius:6px;background:#f0f4f5;color:var(--muted);font-weight:600}.label-pill.green{background:var(--mint);color:var(--teal-dark)}.label-pill.orange{background:var(--orange-bg);color:var(--orange)}.subtext,.muted{color:var(--muted);font-size:.925rem}.small{font-size:.875rem}.task-mini{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #edf1f2}.task-mini:last-child{border-bottom:0;padding-bottom:0}.task-mini-icon{background:var(--mint);border-radius:10px;color:var(--teal);height:40px;width:40px;display:flex;justify-content:center;align-items:center;flex:none}.task-mini h3{font-size:.975rem;font-weight:700}.task-mini p{font-size:.875rem;color:var(--muted);margin-top:4px}.task-mini a{font-size:.875rem}.step-kicker{color:var(--teal);font-size:.875rem;margin-bottom:5px;font-weight:700}.info-banner{display:flex;align-items:flex-start;gap:12px;border:1px solid #cfe2e7;border-radius:12px;padding:16px 19px;background:#edf5f7;margin-top:22px;font-size:.925rem;color:#365a67}.info-banner.warning{background:var(--orange-bg);border-color:#efdab8;color:#7c541d}.info-banner .icon{width:21px;height:21px;margin-top:2px}.info-banner p+p{margin-top:6px}.info-banner a{color:inherit}.empty-state{text-align:center;padding:38px 20px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:#eef5f3;border-radius:18px;color:var(--teal);margin-bottom:17px}.empty-icon .icon{width:30px;height:30px}.empty-state h3{font-size:1.1rem;margin-bottom:8px}.empty-state p{font-size:.95rem;color:var(--muted);max-width:420px;margin:0 auto 18px}.ledger-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.segmented{display:flex;padding:4px;background:#e8eef0;border-radius:12px;gap:3px}.segmented button{padding:9px 19px;border-radius:9px;font-size:.925rem;font-weight:700}.segmented button.active{background:white;box-shadow:0 2px 5px #122e3710;color:var(--teal)}.ledger-list{display:flex;flex-direction:column;gap:12px}.ledger-row{display:grid;grid-template-columns:48px 1fr auto auto;align-items:center;gap:14px;background:white;border:1px solid var(--line);padding:18px 20px;border-radius:13px}.category-icon{height:46px;width:46px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:var(--teal);background:#edf5f2}.ledger-title{font-size:1rem;font-weight:700;overflow-wrap:anywhere}.ledger-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:5px;color:var(--muted);font-size:.875rem}.ledger-amount{text-align:right;font-weight:800;font-size:1.1rem}.ledger-amount small{display:block;font-weight:400;color:var(--muted);font-size:.875rem}.row-actions{display:flex;gap:4px}.row-actions button{padding:9px;color:var(--muted);border-radius:8px}.row-actions button:hover{background:#f0f5f5;color:var(--teal)}.row-actions .icon{width:18px;height:18px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.field-grid .field{margin-bottom:0}.field label{font-size:.925rem;font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #cbd7db;border-radius:10px;padding:11px 12px;min-height:46px;color:var(--ink);background:white;line-height:1.5}.field select{appearance:none;background-image:url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23647780%22 stroke-width=%222%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}.field input:disabled{background:#eef2f3;color:var(--muted)}.field-help{font-size:.875rem;color:var(--muted)}.checkbox-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:.95rem;margin:14px 0}.checkbox-row input{accent-color:var(--teal);width:19px;height:19px;flex:none;margin:3px 0 0}.checkbox-row span{flex:1}.checkbox-row small{font-size:.875rem;color:var(--muted);display:block;margin-top:4px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px;flex-wrap:wrap}.form-error{color:var(--danger);font-size:.925rem;margin-top:12px}.form-error:empty{display:none}.panel-intro{color:var(--muted);font-size:.925rem;margin:8px 0 20px}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.shares-list{display:flex;flex-direction:column;gap:14px;margin-top:18px}.share-row{display:grid;grid-template-columns:90px 1fr 90px;gap:12px;align-items:center;font-size:.925rem}.share-row strong{text-align:right}.share-bar{height:9px;accent-color:var(--teal);width:100%;border:0;border-radius:9px;overflow:hidden;background:#edf2f3}.share-bar::-webkit-progress-bar{background:#edf2f3;border-radius:9px}.share-bar::-webkit-progress-value{background:var(--teal);border-radius:9px}.share-bar::-moz-progress-bar{background:var(--teal);border-radius:9px}.calculation-note{font-size:.925rem;color:var(--muted);margin-top:18px}.calc-result{background:var(--mint);border-radius:13px;padding:22px;margin:20px 0}.calc-result .metric-value{font-size:2rem}.calc-breakdown{display:flex;flex-direction:column;gap:11px;font-size:.925rem}.calc-line{display:flex;justify-content:space-between;gap:18px}.calc-line strong{text-align:right}.calc-line.total{border-top:1px solid var(--line);padding-top:14px;margin-top:3px;font-weight:800}.disclosure{border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.disclosure summary{cursor:pointer;font-size:.925rem;font-weight:700}.disclosure ul{font-size:.875rem;color:var(--muted);padding-left:20px;margin:12px 0}.disclosure li+li{margin-top:7px}.checklist-group{margin-top:25px}.checklist-group h2{font-size:1.08rem;margin-bottom:12px}.checklist-item{display:flex;gap:13px;padding:18px 0;border-bottom:1px solid #e9eff1;align-items:flex-start}.checklist-item:last-child{border:0}.checklist-item input{width:20px;height:20px;margin-top:4px;accent-color:var(--teal);flex:none}.checklist-item label{font-weight:700;font-size:.95rem;cursor:pointer}.checklist-item.completed label{text-decoration:line-through;color:var(--muted)}.checklist-item p{font-size:.875rem;color:var(--muted);margin:5px 0}.checklist-item a{font-size:.875rem}.progress-summary{display:flex;align-items:center;gap:14px;margin:19px 0 2px;font-size:.925rem}.progress-summary progress{flex:1}.deadline-list{display:flex;flex-direction:column;gap:13px;margin-top:18px}.deadline-row{border:1px solid var(--line);padding:18px;border-radius:11px}.deadline-row h3{font-size:.95rem}.deadline-date{font-weight:800;color:var(--teal);font-size:1.15rem;margin:5px 0}.deadline-row p{font-size:.875rem;color:var(--muted);margin-top:6px}.deadline-row a{font-size:.875rem}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border:0;padding-bottom:0}.setting-row h3{font-size:1rem}.setting-row p{font-size:.925rem;color:var(--muted);margin-top:7px;max-width:550px}.setting-row .btn{flex:none}.source-list{list-style:none;padding:0;margin:0}.source-list li+li{margin-top:15px}.source-list a{font-size:.925rem}.source-list small{font-size:.875rem;color:var(--muted);display:block;margin-top:3px}.page-footer{display:flex;justify-content:space-between;gap:15px;font-size:.875rem;color:var(--muted);margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.page-footer a{color:var(--muted)}.mobile-brand,.bottom-nav{display:none}dialog{width:min(520px,calc(100% - 32px));padding:28px;border:0;border-radius:18px;box-shadow:0 24px 100px #112d3833;color:var(--ink);max-height:90dvh}dialog::backdrop{background:#0b253866;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-heading h2{font-size:1.3rem}.dialog-close{padding:2px}.dialog-close .icon{width:24px;height:24px}.dialog-intro{font-size:.925rem;color:var(--muted);margin-bottom:20px}.dialog-content .field-grid{margin-bottom:18px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:min(90%,600px);padding:13px 20px;background:var(--ink);color:white;border-radius:12px;box-shadow:0 6px 30px #112d3833;z-index:30;font-size:.925rem;display:none}#toast.visible{display:block}.lock-screen{max-width:470px;margin:11vh auto 0;background:white;border:1px solid var(--line);padding:38px;border-radius:20px;box-shadow:var(--shadow)}.lock-screen>img{width:56px;height:56px;margin-bottom:20px}.lock-screen h1{font-size:1.6rem}.lock-screen p{color:var(--muted);margin:12px 0 23px}.lock-screen .btn{width:100%;margin-top:12px}.lock-screen .btn-subtle{margin-top:9px;font-size:.925rem}.loading-shell{margin:20vh auto;text-align:center}.loading-shell h1{margin:15px 0}.loading-shell p{color:var(--muted);margin:10px}.noscript{padding:24px;margin:30px;border:1px solid var(--line);background:white}.privacy-page{max-width:820px;margin:40px auto;padding:30px;background:white;border:1px solid var(--line);border-radius:16px}.privacy-page h1{margin:25px 0 10px}.privacy-page h2{margin:30px 0 10px}.privacy-page p{margin-bottom:14px}.print-report{display:none}
@media(min-width:1500px){.main-content{padding-top:42px}.home-hero{padding:40px}.home-hero h1{font-size:2.25rem}}
@media(max-width:1150px){.app-shell{grid-template-columns:206px 1fr}.sidebar{padding:28px 17px}.topbar{padding:0 30px}.main-content{padding:28px 30px 40px}.home-hero{grid-template-columns:1fr 150px;padding:28px}.home-hero h1{font-size:1.8rem}.hero-illustration{transform:scale(.8);transform-origin:center}.two-col{grid-template-columns:1fr}.two-col>.panel+.panel{margin-top:0}.metric{padding:19px}.metric-value{font-size:1.45rem}.setting-row{align-items:flex-start}}
@media(max-width:780px){.app-shell{display:block}.sidebar{display:none}.topbar{height:70px;padding:0 20px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:1.2rem;letter-spacing:-.05em}.mobile-brand img{width:32px;height:32px}.topbar-actions{gap:10px}.storage-badge{font-size:.875rem}.storage-badge .icon{width:15px;height:15px}.icon-button{min-width:38px;min-height:38px}.main-content{padding:24px 20px 104px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:1.65rem}.page-heading .btn{padding:10px 12px;min-height:43px}.home-hero{grid-template-columns:1fr 115px;padding:26px 24px;gap:2px;border-radius:17px}.home-hero h1{font-size:1.7rem}.home-hero p{font-size:.925rem}.hero-illustration{transform:scale(.65);transform-origin:right center;margin-left:-35px}.hero-illustration .paper{right:10px}.hero-illustration .paper.back{right:55px}.hero-check{left:-10px}.metrics{gap:10px}.metric{padding:15px 14px;border-radius:12px}.metric-label{font-size:.875rem;gap:5px}.metric-label .icon{display:none}.metric-value{font-size:1.15rem}.metric-value.empty{font-size:.9rem;margin:12px 0 5px}.metric small{font-size:.875rem}.panel{padding:21px}.two-col{gap:18px}.mode-switch{margin:20px 0}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:10;background:#fffffff7;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:8px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #102c3705}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#71858c;text-decoration:none;font-size:.875rem;font-weight:600;min-height:50px}.bottom-nav a.active{color:var(--teal)}.bottom-nav .icon{height:23px;width:23px}.ledger-row{grid-template-columns:42px 1fr auto;gap:10px;padding:16px 13px}.category-icon{width:40px;height:40px}.ledger-amount{grid-column:2;grid-row:2;text-align:left;font-size:1rem}.row-actions{grid-column:3;grid-row:1 / span 2}.ledger-meta{font-size:.875rem}.ledger-title{font-size:.95rem}.ledger-amount small{font-size:.875rem}.page-footer{flex-direction:column;font-size:.875rem;gap:7px}.setting-row{flex-direction:column;gap:14px}.setting-row .btn{align-self:flex-start}.setting-row p{font-size:.925rem}.share-row{grid-template-columns:70px 1fr 70px;font-size:.875rem;gap:8px}#toast{bottom:100px}.privacy-page{margin:15px;padding:24px}.lock-screen{margin:7vh 20px;padding:28px}.btn{padding:10px 15px}.field-grid{gap:14px}.mode-button{font-size:.875rem;padding:9px 15px}}
@media(max-width:420px){.topbar{padding:0 16px}.main-content{padding:21px 16px 105px}.home-hero{padding:24px 21px;display:block}.home-hero h1{font-size:1.65rem;max-width:240px}.hero-illustration{position:absolute;right:19px;top:12px;opacity:.17;pointer-events:none;transform:scale(.85)}.home-hero p{position:relative}.metrics{grid-template-columns:1fr 1fr}.metrics .metric:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:0 15px;align-items:center}.metrics .metric:last-child .metric-value{grid-column:2;grid-row:1 / span 2;margin:0}.metrics .metric:last-child small{grid-column:1}.panel{padding:19px}.section-heading{gap:8px}.section-heading h2{font-size:1.1rem}.field-grid{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.page-heading .btn{align-self:center}.storage-badge{max-width:105px;line-height:1.4}.segmented button{padding:8px 15px}.ledger-toolbar{align-items:flex-start}.ledger-toolbar>.subtext{width:100%}dialog{padding:24px}.form-actions .btn{flex:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{@page{size:A4;margin:16mm}body{background:white;color:#111;font-size:10pt;line-height:1.5}.app-shell,.bottom-nav,#toast,dialog,.skip-link{display:none!important}.print-report{display:block}.print-report h1{font-size:22pt;margin-bottom:7mm}.print-report h2{font-size:14pt;border-bottom:1px solid #999;padding-bottom:3mm;margin:7mm 0 3mm}.print-report h3{font-size:11pt;margin:3mm 0}.print-report p{margin:2mm 0}.print-report table{border-collapse:collapse;width:100%;font-size:9pt;page-break-inside:auto}.print-report th,.print-report td{padding:2.5mm;border:1px solid #aaa;text-align:left;overflow-wrap:anywhere}.print-report th{background:#eee}.print-report tr{page-break-inside:avoid}.print-report small{font-size:8pt}.print-report a{color:#333;word-break:break-all}.print-report ul{padding-left:5mm}.print-report .muted{font-size:9pt;color:#555}.privacy-page{border:0;padding:0;margin:0;max-width:none}}
