.account-panel{background:#fff;border-radius:16px;max-width:460px;margin:8vh auto;padding:24px}.account-panel label{margin:16px 0;display:block}.account-panel input{border:1px solid #ccc;border-radius:8px;width:100%;margin-top:6px;padding:12px;display:block}.account-panel button,.sync-bar button{background:#fff;border:1px solid #ccc;border-radius:8px;margin:4px;padding:10px 12px}.sync-bar{overflow-wrap:anywhere;background:#edf4f0;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 16px;font-size:12px;display:flex}:root{color:#171717;font-synthesis:none;text-rendering:optimizelegibility;background:#fff;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#fff}body{background:#fff;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}.sampense-app{color:#171717;min-height:100dvh;padding-bottom:max(24px, env(safe-area-inset-bottom));background:#fff;font-weight:650}.sampense-app button,.sampense-app strong,.sampense-app h1,.sampense-app h2{font-weight:900}.app-header{z-index:20;height:calc(64px + env(safe-area-inset-top));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:env(safe-area-inset-top) 12px 0;background:#fffffff5;border-bottom:1px solid #e5e5e5;position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;gap:8px;width:min(100%,760px);height:63px;margin:0 auto;display:flex}.header-period{flex:auto;align-items:center;gap:2px;min-width:0;display:flex}.period-title{white-space:nowrap;text-overflow:ellipsis;text-align:center;letter-spacing:-.04em;flex:auto;min-width:0;font-size:clamp(22px,6vw,26px);font-weight:950;line-height:1;overflow:hidden}.header-actions{flex:0 0 114px;align-items:center;gap:2px;width:114px;display:flex}.header-action-placeholder{visibility:hidden;pointer-events:none}.icon-button{color:#404040;background:0 0;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.icon-button:hover{background:#fff}.icon-button.muted{color:#a3a3a3}.page-tabs-wrap{top:calc(64px + env(safe-area-inset-top));z-index:15;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;padding:10px 12px 8px;position:sticky}.page-tabs{background:#fff;border:1px solid #e5e5e5;border-radius:18px;grid-template-columns:repeat(3,1fr);gap:8px;width:min(100%,760px);margin:0 auto;padding:5px;display:grid;box-shadow:0 4px 18px #00000006}.page-tab{color:#a3a3a3;letter-spacing:.07em;background:0 0;border:0;border-radius:13px;min-height:38px;font-size:12px;position:relative}.page-tab.active{background:#fafafa}.page-tab-line{border-radius:999px;height:3px;position:absolute;bottom:3px;left:30%;right:30%}.app-body{width:min(100%,760px);margin:0 auto;padding:4px 12px 24px}.page-content{gap:12px;display:grid}.card,.summary-card{background:#fff;border:1px solid #e5e5e5;border-radius:24px;box-shadow:0 4px 20px #00000006}.card{padding:16px}.daily-hero{justify-content:space-between;align-items:center;min-height:116px;padding:18px;display:flex}.eyebrow,.section-label{color:#a3a3a3;letter-spacing:.12em;font-size:10px;font-weight:900}.hero-money{letter-spacing:-.055em;margin-top:5px;font-size:clamp(31px,9vw,46px);font-weight:950;line-height:1}.round-add{border:0;border-radius:17px;place-items:center;width:47px;height:47px;display:grid}.card-title-row,.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.card h2,.section-heading h2{letter-spacing:-.035em;margin:3px 0 0;font-size:19px}.ai-card{padding:15px}.ai-textarea{resize:none;color:#262626;background:#fafafa;border:1px solid #e5e5e5;border-radius:18px;outline:none;width:100%;margin-top:12px;padding:13px 14px;font-weight:750;line-height:1.5}.ai-textarea:focus,.monthly-memo-textarea:focus,.text-input:focus,.field input:focus,.field select:focus{background:#fff;border-color:#bdbdbd}.ai-textarea::placeholder{color:#c7c7c7;opacity:1}.monthly-memo-textarea{resize:vertical;color:#404040;background:#fafafa;border:1px solid #e5e5e5;border-radius:18px;outline:none;width:100%;min-height:112px;margin-top:10px;padding:14px;font-weight:720;line-height:1.55}.ai-actions{grid-template-columns:1fr 1.4fr;gap:8px;margin-top:9px;display:grid}.primary-button,.secondary-button,.danger-button{letter-spacing:.04em;border-radius:14px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 14px;font-size:12px;display:inline-flex}.primary-button{border:0}.secondary-button{color:#525252;background:#fff;border:1px solid #e5e5e5}.danger-button{color:#ef4444;background:#fff;border:1px solid #fecaca}.full{width:100%}.budget-card-list{gap:15px;margin-top:15px;display:grid}.budget-progress-row{min-width:0}.budget-progress-head{color:#737373;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:7px;font-size:11px;display:flex}.category-label{align-items:center;gap:7px;min-width:0;display:flex}.category-label>div{gap:2px;display:grid}.category-label span:not(.category-dot):not(.cycle-chip){color:#a3a3a3;font-size:10px}.category-dot{border-radius:999px;flex:none;width:10px;height:10px}.cycle-chip{color:#a3a3a3;letter-spacing:.04em;border:1px solid #e5e5e5;border-radius:999px;padding:2px 6px;font-size:8px}.progress-track{background:#f0f0f0;border-radius:999px;height:8px;overflow:hidden}.progress-fill{border-radius:inherit;height:100%;transition:width .2s}.count-badge{color:#a3a3a3;background:#fff;border-radius:999px;place-items:center;min-width:28px;height:28px;font-size:11px;display:grid}.transaction-list{margin-top:7px}.transaction-row{text-align:left;background:0 0;border:0;border-bottom:1px solid #f0f0f0;grid-template-columns:4px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:13px 2px;display:grid;position:relative}.transaction-row:last-child{border-bottom:0}.transaction-accent{border-radius:999px;width:4px;height:30px}.transaction-copy{gap:3px;min-width:0;display:grid}.transaction-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.transaction-copy span{text-overflow:ellipsis;white-space:nowrap;color:#a3a3a3;font-size:10px;font-weight:750;overflow:hidden}.transaction-amount{white-space:nowrap;font-size:13px;font-weight:900}.empty-state{color:#b3b3b3;border:1px dashed #e5e5e5;border-radius:17px;place-items:center;min-height:72px;margin-top:12px;font-size:12px;font-weight:800;display:grid}.weekly-total-card{padding:20px 18px}.subtle-copy{color:#a3a3a3;margin-top:7px;font-size:11px}.week-bars{grid-template-columns:repeat(7,1fr);gap:8px;height:190px;margin-top:15px;display:grid}.week-bar-item{color:#737373;background:0 0;border:0;grid-template-rows:18px 1fr 16px 14px;align-items:end;min-width:0;padding:0;display:grid}.week-bar-money{color:#b0b0b0;text-align:center;align-self:center;font-size:8px}.week-bar-track{background:#fff;border-radius:10px;align-items:flex-end;width:100%;height:120px;display:flex;overflow:hidden}.week-bar-fill{opacity:.75;border-radius:10px;width:100%;min-height:0}.week-bar-item strong{text-align:center;margin-top:7px;font-size:9px}.week-bar-item>span{color:#b0b0b0;text-align:center;font-size:9px}.simple-list{margin-top:8px}.simple-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 1px;font-size:12px;display:flex}.simple-row:last-child{border-bottom:0}.simple-row>div:not(.category-label){text-align:left;gap:2px;display:grid}.simple-row>div>span{color:#a3a3a3;font-size:10px}.row-button{background:0 0;border:0;width:100%}.monthly-summary-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.summary-card{min-width:0;padding:15px}.summary-card.wide{grid-column:1/-1}.summary-card strong{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.045em;margin-top:5px;font-size:clamp(18px,5vw,26px);display:block;overflow:hidden}.heatmap{margin-top:13px}.heatmap-weekdays,.heatmap-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.heatmap-weekdays{margin-bottom:6px}.heatmap-weekdays span{color:#b0b0b0;text-align:center;font-size:8px;font-weight:900}.heatmap-cell{aspect-ratio:1;color:#525252;background:#fafafa;border:1px solid #eee;border-radius:10px;align-content:center;place-items:center;gap:1px;min-width:0;padding:0;display:grid}.heatmap-cell.blank{background:0 0;border-color:#0000}.heatmap-cell strong{font-size:11px}.heatmap-cell small{color:#737373;height:9px;font-size:7px;font-weight:800}.small-add-button{letter-spacing:.04em;background:0 0;border:0;align-items:center;gap:3px;font-size:10px;display:inline-flex}.monthly-plan-table{margin-top:10px}.monthly-plan-head,.monthly-plan-row{grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:9px;display:grid}.monthly-plan-head{color:#b0b0b0;letter-spacing:.08em;padding:0 3px 6px;font-size:8px}.monthly-plan-row{text-align:left;background:0 0;border:0;border-top:1px solid #f0f0f0;width:100%;min-height:52px;padding:8px 3px;font-size:11px}.monthly-plan-row>span:nth-child(2){gap:2px;min-width:0;display:grid}.monthly-plan-row small{color:#a3a3a3;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.drawer-backdrop,.modal-backdrop{z-index:50;background:#00000047;position:fixed;inset:0}.drawer{width:min(88vw,430px);height:100%;padding-bottom:max(24px, env(safe-area-inset-bottom));background:#fff;margin-left:auto;overflow:auto;box-shadow:-12px 0 40px #0000001f}.drawer-header{z-index:2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:max(16px, env(safe-area-inset-top)) 16px 14px;background:#fffffff5;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.drawer-header h2,.modal-header h2{letter-spacing:-.035em;margin:2px 0 0;font-size:20px}.drawer-body{gap:13px;padding:14px;display:grid}.drawer-card{background:#fff;border:1px solid #e5e5e5;border-radius:20px;padding:13px}.budget-section,.stack{gap:8px;display:grid}.category-create-card{gap:10px;display:grid}.text-input,.field input,.field select,.category-name-input,.category-meta select,.category-budget-row input[type=number],.review-row input,.review-row select{color:#262626;background:#fafafa;border:1px solid #e5e5e5;border-radius:12px;outline:none;width:100%}.text-input,.field input,.field select{min-height:42px;padding:0 11px}.two-column{grid-template-columns:1fr 1fr;gap:8px;display:grid}.field{gap:5px;min-width:0;display:grid}.field>span{color:#8a8a8a;letter-spacing:.04em;font-size:9px;font-weight:900}.color-input{background:#fff;border:1px solid #e5e5e5;border-radius:11px;width:54px;height:38px;padding:4px}.color-input.compact{width:46px;height:34px}.category-editor{padding:11px}.category-title-row{grid-template-columns:11px minmax(0,1fr) 30px;align-items:center;gap:7px;display:grid}.category-name-input{height:37px;padding:0 9px;font-weight:900}.tiny-danger,.danger-icon-button{color:#ef4444;background:#fff;border:1px solid #fecaca;place-items:center;display:grid}.tiny-danger{border-radius:9px;width:30px;height:30px}.danger-icon-button{border-radius:13px;width:42px;height:42px}.category-meta{grid-template-columns:1fr 1fr;gap:7px;margin-top:8px;display:grid}.category-meta select{background:#fafafa;border:1px solid #e5e5e5;border-radius:11px;height:35px;padding:0 8px;font-size:10px;font-weight:800}.category-budget-row{grid-template-columns:minmax(0,1fr) auto 48px;align-items:center;gap:7px;margin-top:7px;display:grid}.category-budget-row input[type=number]{height:35px;padding:0 8px;font-size:11px}.category-budget-row>span{color:#a3a3a3;white-space:nowrap;font-size:9px}.settings-list{gap:5px;margin-top:8px;display:grid}.setting-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:12px;min-height:48px;font-size:12px;display:flex}.setting-row:last-child{border-bottom:0}.info-card p{color:#737373;font-size:11px;line-height:1.6}.modal-backdrop{place-items:end center;display:grid}.modal-card{width:min(100%,560px);max-height:92dvh;padding:17px 16px max(18px, env(safe-area-inset-bottom));background:#fff;border-radius:26px 26px 0 0;overflow:auto;box-shadow:0 -10px 40px #00000021}.modal-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-fields{gap:10px;margin-top:15px;display:grid}.modal-note{color:#8b8b8b;background:#f7f7f7;border-radius:12px;padding:10px 11px;font-size:9px;line-height:1.5}.modal-actions{justify-content:space-between;gap:10px;margin-top:15px;display:flex}.review-modal{max-height:94dvh}.review-list{gap:9px;margin:14px 0;display:grid}.review-row{border:1px solid #e5e5e5;border-radius:18px;grid-template-columns:22px minmax(0,1fr);gap:8px;padding:11px;display:grid}.review-row.disabled{opacity:.45}.review-row>input[type=checkbox]{width:17px;height:17px;margin-top:4px}.review-main{gap:7px;display:grid;position:relative}.review-description{height:37px;padding:0 9px;font-weight:900}.review-meta-grid,.review-bottom{grid-template-columns:1fr 1fr;gap:6px;display:grid}.review-meta-grid input,.review-meta-grid select,.review-bottom input{height:34px;padding:0 7px;font-size:10px}.review-money{color:#737373;text-align:right;font-size:9px}.capture-stage{pointer-events:none;width:1080px;height:1350px;position:fixed;top:0;left:-20000px}.monthly-capture{color:#171717;background:#fff;width:1080px;height:auto;min-height:1350px;padding:62px;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}.capture-header{justify-content:flex-start;align-items:center;height:120px;display:flex}.capture-brand{color:#a3a3a3;letter-spacing:.16em;font-size:20px;font-weight:900}.capture-header h1{letter-spacing:-.05em;margin:7px 0 0;font-size:58px;line-height:1}.capture-summary{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px;display:grid}.capture-summary .summary-card{border-radius:28px;min-height:128px;padding:24px}.capture-summary .eyebrow{font-size:15px}.capture-summary .summary-card strong{margin-top:12px;font-size:30px}.capture-grid{grid-template-rows:minmax(438px,auto) 384px;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:22px;display:grid}.capture-panel{background:#fff;border:1px solid #e5e5e5;border-radius:30px;padding:27px;overflow:hidden}.heat-panel{grid-area:1/1}.capture-memo{grid-area:2/1}.capture-grid>.capture-panel:nth-of-type(3){grid-area:1/2}.capture-plans{grid-area:2/2}.capture-panel-title{color:#737373;letter-spacing:.1em;font-size:18px;font-weight:950}.monthly-capture .heatmap{margin-top:18px}.monthly-capture .heatmap-weekdays,.monthly-capture .heatmap-grid{gap:12px}.monthly-capture .heatmap-weekdays span{font-size:12px}.monthly-capture .heatmap-cell{border-radius:18px;min-height:56px}.monthly-capture .heatmap-cell strong{font-size:20px}.monthly-capture .heatmap-cell small{height:17px;font-size:11px}.monthly-capture .compact-five-rows .heatmap-grid{grid-template-rows:repeat(5,56px);align-content:start}.capture-memo-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#525252;margin-top:20px;font-size:20px;font-weight:720;line-height:1.65}.capture-category-list,.capture-plan-list{gap:0;margin-top:18px;display:grid}.capture-category-row{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:14px;min-height:56px;font-size:17px;display:flex}.capture-category-row>div{align-items:center;gap:10px;display:flex}.capture-category-row .category-dot{width:14px;height:14px}.capture-plan-row{border-bottom:1px solid #eee;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;font-size:14px;display:grid}.capture-plan-row>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.capture-empty{color:#bdbdbd;place-items:center;min-height:100px;font-size:15px;font-weight:900;display:grid}@media (width>=640px){.app-body{padding-top:8px}.modal-backdrop{place-items:center}.modal-card{border-radius:26px;padding-bottom:18px}}@media (width<=420px){.app-header{padding-left:8px;padding-right:8px}.header-actions{flex-basis:105px;gap:0;width:105px}.icon-button{width:35px;height:35px}.card{border-radius:21px;padding:14px}.monthly-summary-grid{gap:8px}.summary-card{border-radius:20px;padding:13px}.heatmap-weekdays,.heatmap-grid{gap:4px}.heatmap-cell{border-radius:8px}}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}#root{background:#fff;min-height:100dvh}.monthly-items-note,.ai-notice{color:#737373;margin:8px 0 0;font-size:12px;line-height:1.5}
