.image-crop-dialog{width:min(94vw,370px)!important;max-height:min(90dvh,650px)!important;padding:0!important;overflow-y:auto!important;box-sizing:border-box;border:1px solid #d5e5ec;border-radius:14px;background:#fff;color:#203e5b;box-shadow:0 16px 50px #132f4a42}.image-crop-dialog::backdrop{background:#182e4870}.image-crop-dialog h2{font-size:17px;margin:0;padding:16px 16px 10px;line-height:1.4}.image-crop-dialog canvas{display:block;width:min(calc(100% - 32px),320px,calc(90dvh - 172px));aspect-ratio:1;height:auto;margin:0 auto 4px;border-radius:12px;touch-action:none;cursor:grab}.image-crop-dialog canvas:active{cursor:grabbing}.image-crop-dialog canvas:focus-visible{outline:2px solid #327da5;outline-offset:2px}.image-crop-help{margin:8px 16px 14px;text-align:center;color:#6c8796;font-size:11px}.image-crop-dialog label{display:flex;align-items:center;gap:10px;font-size:14px;min-height:42px}.image-crop-dialog label input{flex:1;min-width:0}.image-crop-dialog .actions{display:flex;gap:8px;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));position:static}.image-crop-dialog .actions button{flex:1;min-height:42px}.image-preview .image-recrop{display:block;flex:1 1 auto;min-width:0;padding:0;border:0;background:transparent;cursor:pointer}.image-preview .image-recrop .item-image{display:block;width:100%;height:100%;object-fit:cover}.editor-page-dialog .media-three-row .image-preview .image-recrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;border-radius:10px;padding:0;background:transparent}.editor-page-dialog .media-three-row .image-preview .image-recrop:after{content:"調整";position:absolute;bottom:5px;left:5px;padding:2px 6px;border-radius:5px;background:#203e5bd6;color:#fff;font-size:10px}.image-preview .image-recrop:focus-visible{outline:2px solid #3286b6;outline-offset:-2px}.export-screen{padding:0 var(--page-inline, 14px) 18px;color:#203e5b}.export-section-head{display:flex;align-items:center;justify-content:space-between;min-height:44px}.export-section-head h2{font-size:16px;font-weight:600}.export-section-head>span{color:#7893a6;font-size:11px}.export-settings{padding:12px;background:#fff;border:1px solid #dce8ef;border-radius:12px}.export-settings>p:first-child{color:#54788f;font-size:12px;margin-bottom:10px}.export-date-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.export-date-fields label{min-width:0;color:#54788f;font-size:11px}.export-date-fields input{display:block;width:100%;min-width:0;min-height:42px;margin-top:4px;padding:8px;color:#203e5b;font-size:16px;background:#f9fcfd;border:1px solid #d3e3ed;border-radius:8px}.export-hint{color:#7893a6;font-size:10px;line-height:1.6;margin-top:8px}.export-pager{display:flex;align-items:center;min-height:48px;gap:4px;margin:8px 0 4px}.export-pager>button{flex:0 0 40px;padding:0;min-height:44px;border:0;background:transparent;color:#318fc7;font-size:25px}.export-pager select{width:0;flex:1;min-width:0;min-height:42px;padding:7px 20px 7px 8px;font-size:12px;border:0;background-color:transparent;color:#203e5b}.export-actions,.export-save-actions{display:flex;gap:8px;margin-bottom:10px}.export-actions>button,.export-save-actions>*{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;min-height:44px;padding:9px 5px;border:1px solid #d5e5ec;border-radius:10px;background:#fff;color:#397d9d;font-size:12px;text-decoration:none}.export-actions .export-image-action{background:#eef8fc;border-color:#b6d9e7;color:#217daf}.export-actions svg{width:18px;height:18px}.export-save-actions>*{background:#edf8f3;border-color:#b8ddcd;color:#287e65;font-weight:600}.export-save-actions a:focus-visible{outline:3px solid #6aa5c0;outline-offset:2px}.export-status{margin:4px 0 10px;color:#54788f;font-size:11px;line-height:1.6}.export-status:empty{display:none}.export-error{margin:4px 0 10px;padding:10px;border-radius:8px;background:#fff1f0;color:#ae4646;font-size:12px}.export-paper{position:relative;width:100%;overflow:hidden;background:#fff;box-shadow:0 1px 8px #25476012;outline:1px solid #e2ebf0}.export-paper iframe{position:absolute;top:0;left:0;display:block;width:794px;height:1122px;max-width:none;border:0;background:#fff;transform-origin:top left;pointer-events:none}.export-png-preview{display:block;width:100%;height:auto}.export-save-hint{margin:10px 1px 0}.export-settings{padding:4px 12px}.export-setting-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;border-bottom:1px solid #eaf0f3;font-size:12px}.export-setting-row:last-child{border-bottom:0}.export-setting-row>span,.export-setting-row>label{flex-shrink:0}.export-setting-row>select,.export-setting-row .dream-sort-trigger{flex:0 0 clamp(116px,30vw,158px);width:clamp(116px,30vw,158px);min-height:38px;box-sizing:border-box;padding:5px 8px;border:1px solid #dce8ef;border-radius:8px;background:#fff;font-size:13px;color:#203e5b;text-align:left}.export-paper{margin:4px 0 12px}.export-actions{margin-bottom:4px}.export-settings{padding:2px 10px}.export-setting-row{min-height:40px;gap:8px}.export-setting-row>select,.export-setting-row .dream-sort-trigger{min-height:34px;padding-block:3px}.recurring-dream-strip{display:flex;align-items:center;gap:6px;padding:4px 0 0;min-height:26px;max-height:28px;overflow:hidden;font-size:9px;color:#64859b}.recurring-dream-label{font-weight:700;flex-shrink:0}.recurring-dream-items{display:flex;gap:4px;flex-wrap:nowrap;min-width:0;overflow:hidden}.recurring-dream-item{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;min-width:0;padding:2px;border-radius:10px;background:#eef7f9}.recurring-dream-item>.item-icon{display:inline}.recurring-dream-item .item-icon,.recurring-dream-item .item-image{width:17px;height:17px;font-size:13px}.recurring-dream-item .item-image{border-radius:4px}.dream-sort-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:36px;padding:5px 9px;border:1px solid #d8e5ec;border-radius:9px;background:#fff;color:#28465e;font-size:12px;white-space:nowrap;cursor:pointer}.dream-sort-dialog{width:min(92vw,360px);max-height:min(80dvh,520px);padding:0;border:1px solid #d5e5ec;border-radius:16px;background:#fff;color:#203e5b;box-shadow:0 18px 60px #18384f46}.dream-sort-dialog::backdrop{background:#19384b80}.dream-sort-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid #e7f0f3}.dream-sort-dialog-head h2{margin:0;font-size:16px}.dream-sort-dialog-head button{border:0;background:none;color:#7892a4;font-size:23px}.dream-sort-dialog-body{display:grid;gap:14px;overflow-y:auto;padding:16px;max-height:calc(min(80dvh,520px) - 126px)}.dream-sort-dialog-body>label{display:grid;gap:6px;font-size:12px}.dream-sort-dialog select{min-height:40px;min-width:0;max-width:100%;padding:6px 8px;border:1px solid #d8e5ec;border-radius:8px;color:#28465e;background:#fff;font-size:16px}.dream-sort-direction{display:flex;gap:8px}.dream-sort-direction button{flex:1;min-height:40px;border:1px solid #d8e5ec;border-radius:8px;background:#fff;color:#51798e}.dream-sort-direction button[aria-pressed=true]{border-color:#5b9ebc;background:#ecf8fd;color:#2276a4;font-weight:700}.dream-sort-custom{width:100%;min-width:0;display:grid;gap:7px}.dream-sort-rule{display:flex;align-items:center;gap:4px}.dream-sort-rule>span{width:15px}.dream-sort-rule select:first-of-type{flex:1 1 90px}.dream-sort-rule select:nth-of-type(2){flex:0 0 62px}.dream-sort-rule button,.dream-sort-custom>button{min-height:40px;border:0;background:transparent;color:#377e9b;font-size:13px}.dream-sort-dialog-actions{display:flex;gap:8px;padding:10px 16px 16px;border-top:1px solid #e7f0f3}.dream-sort-dialog-actions button{flex:1;min-height:42px;border:1px solid #d8e5ec;border-radius:9px;background:#fff;color:#386e88}.dream-sort-dialog-actions button:last-child{border-color:#74b2c9;background:#ecf8fd;color:#2276a4;font-weight:700}.list-controls .dream-sort-trigger{max-width:min(45vw,164px)}.budget-block-controls .dream-sort-trigger{max-width:128px;overflow:hidden;text-overflow:ellipsis}.budget-block-header .dream-sort-trigger{min-height:30px!important;padding:3px 7px!important;border:1px solid #d8e5ec!important;border-radius:8px!important;background:#fff!important;color:#28465e!important;font-size:11px!important}.living-origin-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 12px;border:1px solid #dce8ee;border-radius:10px;background:#fff;color:#36566a;font-size:12px}.living-origin-row input{width:135px;min-width:0;min-height:40px;border:1px solid #d8e5ec;border-radius:8px;padding:6px;background:#fff;color:#28465e;font-size:16px}.living-origin-row>span{flex:0 0 auto;white-space:nowrap}.savings-start-batch{display:flex;gap:6px;padding:8px}.savings-start-batch button{flex:1;padding:8px 5px;border:1px solid #badce2;border-radius:8px;color:#247c91;background:#f4fbfd;font-size:11px}:root{font-family:Segoe UI,Yu Gothic,Meiryo,sans-serif;color:#344952;background:#fafbf9;font-synthesis:none;font-weight:400;line-height:1.5;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:#fff;border:1px solid #d6e1e7;border-radius:10px;padding:10px 16px;min-height:44px}button:hover{background:#edf4f8}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6aa5c0;outline-offset:3px}input,select,textarea{border:1px solid #cbd8df;border-radius:8px;padding:10px;background:#fff;color:inherit;min-width:0}input:not([type=checkbox]),textarea{width:100%}input[type=checkbox]{width:21px;height:21px;accent-color:#43829d;flex-shrink:0}:root{color:#203e5b;background:#f1f5f7;line-height:1.5}html,body{height:100%;overflow:hidden}#root{width:min(100%,520px);height:100dvh;margin:auto;display:flex;flex-direction:column;background:#fbfdfd;box-shadow:0 0 60px #29496309}h1,h2,h3,p{margin:0}button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}svg{width:24px;height:24px;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-height:62px;padding:calc(8px + env(safe-area-inset-top)) 18px 8px;background:#fff}.brand h1{font-size:20px;letter-spacing:.06em}.brand-mark{width:36px;height:34px}.header-add,.header-symbol{margin-left:auto;width:42px;height:42px;display:grid;place-items:center;padding:0}.header-add{border-radius:50%;border:0;color:#fff;background:#318fd3}.header-add:hover{background:#247bb9}.header-symbol{color:#347ba5}.app-main{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.scroll-content{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;flex:1;padding:0 14px 16px}.scroll-content:focus-visible{outline:2px solid #7caac4;outline-offset:-2px}.list-controls{display:flex;align-items:center;gap:10px;padding:10px 14px;flex-shrink:0;background:#f4f8fa;border-radius:16px 16px 0 0}.dream-count{font-size:22px;white-space:nowrap}.dream-count small{font-size:12px;font-weight:400}.list-controls select{padding:8px;min-height:42px;font-size:14px;border-color:#dce6ec;border-radius:12px}.check-label{display:flex;align-items:center;gap:6px!important;flex-direction:row!important;font-size:12px;min-height:44px}.list-controls .check-label{margin-left:auto;white-space:nowrap}.list-controls input{margin:0}.dream-list{display:grid;gap:10px;padding-top:2px}.do{--genre: #55a8e1;--paper: #e9f5fd}.be{--genre: #65b890;--paper: #eaf7ed}.have{--genre: #efa34f;--paper: #fff0db}.dream-card{display:flex;gap:8px;padding:12px 10px;border:1px solid #e2eaf0;border-left:3px solid var(--genre);border-radius:13px;background:#fff;min-width:0}.complete-check{margin:2px 0 0;flex-shrink:0}.card-content{border:0;background:transparent!important;padding:0;text-align:left;width:100%;min-width:0}.card-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.card-top strong{font-size:15px;line-height:1.4;min-width:0;overflow-wrap:anywhere}.stars{color:#da994a;font-size:12px;letter-spacing:0;white-space:nowrap}.date{display:block;font-size:12px;color:#648097;margin-top:3px}.description{display:block;font-size:12px;color:#718698;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.costs{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px;font-size:11px}.costs:empty{display:none}.costs span{background:#f0f7fc;border:1px solid #e7f0f6;padding:1px 6px;border-radius:5px;overflow-wrap:anywhere}.completed .card-content{opacity:.55}.completed strong,.sticky-note.completed>span:last-child{text-decoration:line-through}.bottom-nav{flex-shrink:0;display:flex;padding:4px 14px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e1e8ed;z-index:5}.bottom-nav button{flex:1;min-width:0;border:0;background:transparent;color:#8594a2;padding:3px;min-height:50px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px}.bottom-nav .active{color:#278bd0;font-weight:600}.bottom-nav svg{width:24px;height:24px}.year-picker{display:flex;align-items:center;justify-content:space-between;width:242px;max-width:calc(100% - 32px);margin:4px auto 10px;border:1px solid #dce7ee;border-radius:24px;background:#fff;flex-shrink:0}.year-picker button{border:0;background:transparent;font-size:27px;padding:0 13px;min-height:40px;color:#307aaf}.year-picker select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;font-size:20px;font-weight:600;text-align:center;padding:4px 12px}.timeline-scroll{padding:0 14px 12px 22px;background:#fffefa}.notebook{border-top:1px solid #ccdce6}.month-row{display:grid;grid-template-columns:43px minmax(0,1fr);min-height:44px;border-bottom:1px dashed #d6e1e8;position:relative}.month-row:before{content:"";position:absolute;width:10px;height:5px;border:1px solid #a7aaa2;border-radius:4px;background:#deddd4;top:18px;left:-20px}.month-row h2{font-size:14px;font-weight:400;padding:12px 0;border-right:1px solid #d6e1e8}.month-row h2 small{font-size:11px}.month-notes{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:5px 8px;min-width:0}.sticky-note{display:flex;align-items:center;gap:7px;border:0;border-radius:5px 9px 7px 3px;border-left:2px solid var(--genre);background:var(--paper);min-height:33px;max-width:100%;padding:6px 10px;font-size:12px;box-shadow:0 2px 2px #354c6810;text-align:left}.sticky-note:hover{background:var(--paper);filter:brightness(.97)}.sticky-note>span:first-child{color:var(--genre);font-size:18px;line-height:1}.sticky-note>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.undated-notes{margin-top:10px;font-size:12px}.undated-notes summary{min-height:40px;padding:10px 0;cursor:pointer}.undated-notes summary span{color:#728799;margin-left:8px}.notebook-hint{margin:12px 0 0;text-align:right;font-size:11px;color:#8194a0}.budget-summary{background:#eef9fc;border:1px solid #e1eff4;border-radius:14px;padding:15px 14px 10px}.budget-summary-top{display:flex;gap:12px;align-items:center}.budget-summary-top>div{min-width:0}.wallet-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#e1f3e8;color:#35ac87}.wallet-icon svg{width:29px;height:29px}.budget-summary p{font-size:13px;color:#3f6e90}.budget-summary h2{font-size:clamp(24px,7.5vw,32px);font-weight:600;line-height:1.35;margin-top:3px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.budget-summary h2 small{font-size:14px;white-space:nowrap;font-weight:500}.balance{display:flex;height:9px;border-radius:6px;overflow:hidden;margin:13px 0;background:#e8f0f5}.balance span:first-child{background:#42a0e1}.balance span:last-child{background:#54bd94}.totals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.totals>div+div{border-left:1px solid #d7e8ed;padding-left:14px}.totals span{display:block;font-size:12px;color:#58768c}.totals span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#42a0e1;margin-right:5px}.totals>div+div span:before{background:#54bd94}.totals strong{display:block;font-size:19px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.totals>div+div strong{color:#31846f}.annual-details{margin-top:12px;background:#fff;border-radius:9px;padding:0 10px;font-size:11px}.annual-details summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;cursor:pointer}.annual-details summary:after{content:"›";font-size:19px;color:#8296a6}.annual-details strong{margin-left:auto;font-size:13px;overflow-wrap:anywhere}.annual-details p{padding-bottom:10px;font-size:11px}.section-head{display:flex;align-items:center;gap:6px;margin:14px 0 4px}.section-head h2{font-size:15px;margin-right:auto;white-space:nowrap}.section-head button{font-size:12px;padding:6px 8px;min-height:40px;color:#337dab;border-color:#d5e6f1;white-space:nowrap}.month-select select{font-size:16px;padding:6px 4px;min-height:40px;border:0;background:transparent}.budget-section{margin-top:8px}.budget-section h3{font-size:11px;font-weight:400;color:#7e91a0;margin:8px 2px 4px}.budget-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,46%);align-items:center;gap:8px;background:#fff;border-bottom:1px solid #e9eff3;padding:7px 10px}.budget-row:first-of-type{border-radius:10px 10px 0 0}.budget-row:last-of-type{border-radius:0 0 10px 10px}.budget-row>div{min-width:0}.text-button{border:0;padding:0;min-height:28px;background:transparent;text-align:left;font-size:14px;font-weight:600;overflow-wrap:anywhere}.row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:10px;color:#7b8d9b}.badge{padding:1px 4px;border-radius:4px}.expense{background:#edf6fc;color:#4b89b3}.savings{background:#eaf6ed;color:#508e71}.category{border:0;background:transparent;min-height:24px;font-size:10px;padding:0 2px;color:#728ca0;text-align:left;overflow-wrap:anywhere}.dream-badge{color:#c28643;background:#fff3e3;border-radius:6px;padding:0 4px}.row-amount{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.row-amount strong{display:block;font-size:15px;font-weight:500}.row-amount small{font-size:10px;white-space:nowrap}.row-amount>span{font-size:9px;color:#8696a3;display:block}.budget-hint{font-size:10px;color:#8093a2;margin-top:14px}.empty{padding:18px 10px;text-align:center;font-size:12px;color:#71899b;background:#fff;border:1px dashed #dfe9ef;border-radius:10px}.primary{background:#3189bd;color:#fff;border-color:#3189bd}.primary:hover{background:#2475a5}.error{background:#fff1ef;color:#9b4036;padding:12px;border-radius:8px;font-size:13px}@media(max-width:374px){.list-controls{gap:7px;padding-inline:10px}.list-controls select{font-size:13px;padding:6px}.check-label{font-size:11px}.scroll-content{padding-inline:10px}.timeline-scroll{padding-left:22px}.totals strong{font-size:17px}}@media(max-width:340px){.list-controls{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}}@media(min-width:768px){#root{border-inline:1px solid #e1e9ee}}dialog{border:1px solid #dce6eb;border-radius:16px;width:min(560px,calc(100% - 24px));max-height:90dvh;padding:26px;color:inherit;box-shadow:0 20px 80px #203b4933}dialog::backdrop{background:#243c4c66}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.icon{border:0;font-size:25px;padding:0 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}form label{display:flex;flex-direction:column;gap:7px;font-size:14px;margin-bottom:16px}form label small{color:#84929a;font-size:12px}fieldset{border:1px solid #e0e9ee;border-radius:10px;margin:0 0 14px;padding:14px}fieldset label:last-child{margin-bottom:0}.hint{color:#778b96;font-size:12px;margin:12px 0}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.danger{color:#b25d51;margin-right:auto;border-color:#ead6d2}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{padding:20px}.actions button{font-size:14px;padding:9px 10px}.brand{min-height:54px;padding:calc(5px + env(safe-area-inset-top)) 16px 5px;gap:8px}.brand h1{font-size:18px}.brand-mark{width:29px;height:30px}.header-add{width:40px;height:40px;min-height:40px;border-radius:12px;background:#eff7fb;color:#3286b6}.header-add:hover{background:#e4f1f7}.list-controls{padding-block:7px;background:#f7fafb}.dream-list{gap:0;background:#fff;border:1px solid #e6edf0;border-radius:10px;overflow:hidden}.compact-dream{display:block;padding:0;border:0;border-left:3px solid var(--genre);border-bottom:1px solid #edf1f3;border-radius:0}.compact-dream:last-child{border-bottom:0}.dream-line{display:flex;align-items:center;gap:0;padding:2px 6px 2px 2px}.complete-target{width:34px;min-height:48px;display:grid;place-items:center;flex-shrink:0}.complete-target input{margin:0;width:18px;height:18px}.dream-toggle{display:flex;align-items:center;gap:9px;min-height:60px}.dream-mark{display:grid;place-items:center;width:30px;height:34px;flex-shrink:0;background:#f4f8f7;border-radius:8px;overflow:hidden}.item-icon{font-size:22px;line-height:1;display:inline-grid;place-items:center;flex-shrink:0;color:#80a8a0}.item-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.dream-heading{flex:1;min-width:0}.dream-heading>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.6}.dream-subline{display:flex;align-items:center;gap:12px;color:#8394a0;font-size:11px}.dream-subline .stars{font-size:10px;color:#caa46f}.expand-chevron{font-size:17px;color:#9baab3;padding:0 4px;transform:rotate(0)}.expand-chevron.open{transform:rotate(180deg)}.dream-details{padding:5px 14px 12px 38px;background:#fcfdfc}.dream-details[hidden]{display:none}.dream-toggle[aria-expanded=true] .dream-heading>strong{white-space:normal;overflow-wrap:anywhere}.dream-details h3{font-size:14px;font-weight:600;overflow-wrap:anywhere}.dream-genre{margin:4px 0 8px;font-size:11px;color:#85968f}.full-memo{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.detail-image{width:100%;max-width:260px;height:140px;border-radius:10px;margin:8px 0;overflow:hidden}.detail-image img{object-fit:contain}.detail-actions{display:flex;gap:8px;margin-top:10px}.detail-actions button{min-height:36px;padding:4px 13px;font-size:12px}.quiet-danger{color:#ac736a;background:transparent;border-color:transparent}.appearance-settings{margin:12px 0;border-block:1px solid #e6edef;padding:0 2px}.appearance-settings>summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;color:#648595}.icon-picker,.color-picker,.image-picker{padding:10px;border-color:#e5edef;margin:10px 0}fieldset legend{font-size:12px;padding:0 5px;color:#6d8793}.icon-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.icon-options button{padding:0;font-size:22px;min-height:42px;border-color:transparent;background:#f8faf9}.icon-options button:first-child{font-size:11px}.icon-options button[aria-pressed=true],.color-options button[aria-pressed=true]{outline:2px solid #6a9d94;outline-offset:-2px;background-color:#eaf4ef}.color-options{display:flex;flex-wrap:wrap;gap:6px}.color-options button{min-width:38px;min-height:38px;padding:5px 9px;font-size:11px;background:var(--paper);border-color:transparent}.paper-blue{--paper: #e7f3fb;--genre: #79b7d8}.paper-green{--paper: #eaf6eb;--genre: #8cbf9e}.paper-orange{--paper: #fff0df;--genre: #d9ac76}.paper-pink{--paper: #fbeef2;--genre: #d4a4b5}.paper-yellow{--paper: #fff8d9;--genre: #d9c27c}.image-upload{font-size:12px}.image-upload input{font-size:12px;padding:6px}.image-preview{display:flex;align-items:center;gap:10px;margin-bottom:10px}.image-preview img{width:72px;height:60px;border-radius:8px;object-fit:cover}.image-preview button{font-size:12px;padding:5px 10px;min-height:36px}.image-picker>small{font-size:10px;color:#81969f}.field-error{background:#fff1ed;color:#a45243;padding:10px;font-size:12px;margin:8px 0;border-radius:8px}.month-row{min-height:45px}.month-notes{gap:4px}.sticky-note{gap:5px;padding:5px 8px;min-height:32px}.sticky-note .item-icon{font-size:16px}.sticky-note>span:last-child{font-size:11px}.sticky-note.photo-note img{width:30px;height:27px;border-radius:4px;flex-shrink:0}.photo-note{max-width:190px}.more-notes{font-size:11px;padding:4px 7px;min-height:32px;border:0;background:#f4f2eb;color:#84908d}.budget-period{display:flex;align-items:center;justify-content:center;gap:8px;padding:4px 14px 10px}.budget-period .year-picker{margin:0;width:212px}.budget-period .month-select{border-bottom:1px solid #dce7ee}.budget-period select{font-size:17px}.budget-summary{padding:17px 16px;border:0;background:#f0f8f9}.budget-summary-top{gap:10px}.budget-summary p{font-size:12px}.budget-summary h2{font-size:clamp(26px,7vw,32px)}.wallet-icon{width:34px;height:34px}.wallet-icon svg{width:24px;height:24px}.balance{height:5px;margin:13px 0 10px}.totals strong{font-size:18px}.section-head{margin:16px 2px 8px}.section-head>span{color:#8a9da7;font-size:10px}.budget-items{background:#fff;border:1px solid #e7eef0;border-radius:10px;overflow:hidden}.budget-items:empty{display:none}.budget-row{display:flex;gap:5px;padding:4px 7px;color:inherit;background:#fff;border-radius:0!important}.budget-item-icon{display:grid;place-items:center;width:36px;min-width:36px;min-height:42px;padding:0;border:0;background:transparent}.budget-item-icon .item-icon{font-size:21px}.budget-item-main{display:flex;align-items:center;gap:5px;flex:1;min-width:0;border:0;padding:6px 0;min-height:42px;background:transparent;text-align:left}.budget-item-name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.budget-item-main strong{margin-left:auto;font-size:14px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.row-chevron{color:#a0b0b9;font-size:16px}.budget-item-main .dream-badge{font-size:9px;color:#b99d73;background:#faf4e9;flex-shrink:0}.budget-footnote{margin:14px 2px;background:transparent;padding:0;color:#8599a4}.budget-footnote summary{justify-content:flex-start;gap:7px;min-height:36px}.budget-footnote summary:after{font-size:15px}.budget-footnote dl{margin:4px 0 8px;font-size:12px}.budget-footnote dl>div{display:flex;justify-content:space-between;padding:3px 0}.budget-footnote dd{margin:0}.budget-footnote p{font-size:10px;color:#8b9ca5}dialog{max-height:calc(100dvh - 24px)}.modal-head{margin-bottom:12px}.modal-head h2{font-size:19px}form label{margin-bottom:12px}@media(max-width:374px){.dream-heading>strong{font-size:13px}.dream-toggle{gap:6px}.budget-item-main strong{font-size:13px}.budget-item-name{font-size:12px}}.header-add{width:auto!important;min-width:92px;padding:0 12px!important;border-radius:12px!important;gap:6px;display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;font-size:12px;font-weight:700;box-shadow:0 3px 10px #2b7fa31a}.header-add svg{display:none}.header-add:after{content:attr(aria-label)}input[name=oneTimeCost],input[name=recurringAmount],input[name=amount]{font-variant-numeric:tabular-nums;text-align:right}.enhanced-money-tools{display:block;margin-top:8px;width:100%;min-width:0}.enhanced-money-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;min-width:0}.enhanced-money-buttons button{min-width:0;width:100%;min-height:38px;padding:6px 2px;font-size:11px;line-height:1;white-space:nowrap;border-radius:9px;background:#f6fafc;border-color:#dae6ec}.savings-start-field{font-size:13px;margin-top:10px}.savings-start-field small{color:#8797a1;font-size:11px}.hidden-budget-category,.hidden-memo-date,.category,.row-meta .category{display:none!important}dialog{width:min(520px,calc(100% - 18px))!important;max-height:min(82dvh,720px)!important;padding:0!important;border-radius:18px!important;overflow:hidden!important;border:1px solid #dbe7ec!important;background:#fbfdfd!important}.modal-head{position:sticky;top:0;z-index:3;margin:0!important;padding:14px 16px 12px;background:linear-gradient(180deg,#eef8fb,#fbfdfd);border-bottom:1px solid #e0e9ed}.modal-head h2{font-size:18px;color:#254d66;letter-spacing:.02em}.modal-head .icon{width:36px;min-height:36px;padding:0;border-radius:10px;color:#66818f}dialog>form{max-height:calc(min(82dvh,720px) - 62px);overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 18px;scrollbar-width:thin}dialog form>label,dialog form .form-grid>label{margin-bottom:10px;gap:5px;color:#3b5e70;font-size:12px;font-weight:700}dialog input,dialog select,dialog textarea{background:#fff;border-color:#d7e3e8;min-height:42px;color:#263f4d}dialog textarea{min-height:76px}dialog fieldset{margin:0 0 10px;padding:10px 12px;border-color:#e1eaee;background:#fff}dialog fieldset>.check-label{color:#2f596f;font-weight:700;font-size:13px}dialog details.appearance-settings{margin:2px 0 10px;border-block:1px solid #e7eef1;padding:8px 0}dialog details.appearance-settings>summary{color:#688392;font-size:12px;font-weight:700}dialog .hint{font-size:10px;line-height:1.5;color:#8a9ba4;margin:7px 0}dialog .actions{position:sticky;bottom:-18px;z-index:4;margin:12px -16px -18px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fbfdfdf2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid #e4ecef}dialog .actions button{min-height:40px;border-radius:10px}.free-memo-form>label:first-of-type{margin-top:2px}.free-memo-form textarea{min-height:88px;background:#fffdf5;border-color:#eadfbf}.free-memo-form .color-picker,.free-memo-form .icon-picker,.free-memo-form .image-picker{background:#fff}.notebook{position:relative}.free-memo-layer{position:absolute;top:0;right:0;bottom:0;left:43px;z-index:3;pointer-events:none;overflow:hidden}.free-memo{position:absolute;pointer-events:auto;min-height:30px;max-width:142px;padding:6px 9px;border:0;border-radius:4px 8px 7px 3px;display:flex;align-items:center;gap:6px;text-align:left;font-size:10px;line-height:1.25;box-shadow:0 4px 10px #3954631c;opacity:.96}.free-memo span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-dream-note.align-have{justify-content:flex-start;text-align:left}.smart-dream-note.align-have>span:last-child{text-align:left}.smart-dream-note.align-do,.smart-dream-note.align-be{justify-content:flex-start;text-align:left}.smart-dream-note.align-do>span:last-child,.smart-dream-note.align-be>span:last-child{text-align:left}.recurring-dream-strip{min-height:26px;max-height:28px;overflow:hidden}.recurring-dream-items{flex-wrap:nowrap;overflow:hidden}.recurring-dream-item{width:24px;height:24px;flex:0 0 24px;padding:3px;justify-content:center}.recurring-dream-item .item-icon,.recurring-dream-item .item-image{width:18px;height:18px;font-size:13px}.dream-quick-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;display:grid;place-items:center;padding:20px;background:#203e5b40}.dream-quick-card{position:relative;width:min(92vw,360px);padding:24px 22px 20px;border:1px solid #d4e2e9;border-radius:16px;background:#fff;box-shadow:0 16px 40px #183b5528;text-align:center}.dream-quick-close{position:absolute;top:6px;right:8px;border:0;background:transparent;min-height:32px;padding:2px 9px;font-size:24px;color:#8296a3}.dream-quick-icon{display:grid;place-items:center;height:58px;margin-bottom:6px}.dream-quick-icon .item-icon{font-size:38px}.dream-quick-icon .item-image{width:58px;height:58px;border-radius:10px;object-fit:cover}.dream-quick-card h2{margin:0 28px 6px;color:#203e5b;font-size:19px;overflow-wrap:anywhere}.dream-quick-date{margin:0;color:#7390a2;font-size:12px}.dream-quick-cost{margin:14px 0 2px;color:#203e5b;font-size:21px;font-weight:700}.dream-quick-subcost{margin:0 0 14px;color:#7390a2;font-size:11px}.dream-quick-edit{width:100%;margin-top:16px;border-color:#68a9c9;background:#eef8fc;color:#2476a5;font-weight:600}.dream-quick-description{max-height:min(28dvh,170px);overflow-y:auto;margin:10px 0 0;padding:10px 12px;border-radius:9px;background:#f5f9fa;color:#38586a;font-size:12px;line-height:1.6;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.free-memo .item-icon{font-size:15px}.photo-free-memo{width:92px;height:68px;padding:4px;background:#fff!important;border:1px solid #e3e8e9}.photo-free-memo .item-image{width:100%;height:100%;border-radius:3px}.photo-free-memo span:last-child{display:none}.budget-period{display:grid!important;grid-template-columns:46px minmax(92px,1fr) 72px 46px;align-items:center;width:min(330px,calc(100% - 24px));margin:4px auto 10px;border:1px solid #dce7ee;border-radius:24px;background:#fff;overflow:hidden;flex-shrink:0}.budget-period .year-picker>label{grid-column:2}.budget-period .month-select{grid-column:3;grid-row:1}.budget-period .year-picker>button,.budget-period .year-picker select,.budget-period .month-select select{border:0!important;background:transparent!important}.budget-period .year-picker>button{min-width:46px;min-height:42px;padding:0;color:#307aaf;font-size:26px}.budget-period .year-picker select{width:100%;min-height:42px;padding:0 4px;font-size:18px;font-weight:700;text-align:right}.budget-period .month-select{margin:0;padding:0;border-left:1px solid #edf1f3}.budget-period .month-select select{width:100%;min-height:42px;padding:0 6px;font-size:16px;font-weight:700;color:#507183;text-align:left}.year-picker{height:44px}.year-picker button{min-width:48px}.budget-item-main strong,.row-amount,.totals strong,.budget-summary h2{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.budget-item-main strong{margin-left:auto;min-width:102px;text-align:right;white-space:nowrap}.icon-options{max-height:188px;overflow-y:auto;align-content:start}.icon-options button{min-width:42px;min-height:42px}@media(max-width:390px){.header-add{min-width:84px;padding-inline:9px!important;font-size:11px}.enhanced-money-buttons{gap:5px}.enhanced-money-buttons button{font-size:10px;padding-inline:0}dialog{width:calc(100% - 12px)!important;max-height:80dvh!important;border-radius:16px!important}dialog>form{max-height:calc(80dvh - 58px);padding:11px 12px 16px}dialog .actions{margin-inline:-12px;margin-bottom:-16px;padding-inline:12px}.form-grid{gap:10px!important}.budget-period{grid-template-columns:42px minmax(86px,1fr) 66px 42px;width:calc(100% - 18px)}.budget-period .year-picker select{font-size:17px}.budget-period .month-select select{font-size:15px}.free-memo{max-width:120px;font-size:9px}}.app-main.timeline>.year-picker{width:300px!important;max-width:calc(100% - 36px)!important}.app-main.timeline>.year-picker>button{width:48px!important;min-width:48px!important}.app-main.timeline>.year-picker select{font-size:20px!important;padding-inline:14px!important}.budget-period{display:grid!important;grid-template-columns:44px minmax(118px,1fr) 68px 44px!important;width:310px!important;max-width:calc(100% - 28px)!important;height:44px;margin:4px auto 10px!important;border-radius:24px!important}.budget-period .year-picker{display:contents!important}.budget-period .year-picker>button:first-child{grid-column:1}.budget-period .year-picker>label{grid-column:2;min-width:0}.budget-period .month-select{grid-column:3;grid-row:1;min-width:0}.budget-period .year-picker>button:last-child{grid-column:4}.budget-period .year-picker>button{width:44px!important;min-width:44px!important;min-height:42px!important;padding:0!important;display:grid;place-items:center;font-size:25px!important}.budget-period .year-picker select,.budget-period .month-select select{-moz-appearance:none;appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;box-shadow:none!important;min-height:42px!important;padding-block:0!important;color:#2d5067!important;font-weight:700!important;white-space:nowrap}.budget-period .year-picker select{width:100%;font-size:18px!important;text-align:center;padding-inline:8px!important}.budget-period .month-select{margin:0!important;padding:0!important;border:0!important}.budget-period .month-select select{width:100%;font-size:16px!important;text-align:center;padding-inline:4px!important}@media(max-width:390px){.app-main.timeline>.year-picker{width:286px!important;max-width:calc(100% - 28px)!important}.budget-period{width:296px!important;grid-template-columns:42px minmax(112px,1fr) 64px 42px!important}.budget-period .year-picker>button{width:42px!important;min-width:42px!important}.budget-period .year-picker select{font-size:17px!important}.budget-period .month-select select{font-size:15px!important}}.timeline-genre-headings{display:grid;grid-template-columns:43px repeat(3,minmax(0,1fr));align-items:center;gap:6px;padding:0 6px 6px 0;color:#7f919c;font-size:9px;letter-spacing:.02em}.timeline-genre-headings .timeline-legend-toggle{min-width:0;min-height:20px;padding:0;border:0;background:transparent;color:#557e93;font-size:9px;cursor:pointer}.genre-heading{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;white-space:nowrap}.genre-heading i{width:6px;height:6px;border-radius:50%;flex:0 0 auto}.genre-heading.genre-do i{background:#55a8e1}.genre-heading.genre-be i{background:#65b890}.genre-heading.genre-have i{background:#efa34f}.genre-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:6px;width:100%;min-width:0;padding:5px 6px}.genre-slot{min-width:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px}.timeline-dream-note{width:100%;max-width:100%;min-width:0;min-height:30px;padding:5px 7px;border:0;border-left:2px solid var(--genre);border-radius:5px 8px 7px 3px;background:var(--paper);display:flex;align-items:center;justify-content:flex-start;gap:5px;text-align:left;font-size:9px;line-height:1.2;box-shadow:0 2px 4px #354c6810;overflow:hidden}.timeline-dream-note span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-dream-note .item-icon{font-size:15px}.timeline-dream-note .item-image{width:22px;height:22px;flex:0 0 22px;border-radius:5px}.timeline-dream-note.icon-only{width:30px;height:30px;min-height:30px;padding:3px;border-left-width:2px;justify-content:center;border-radius:7px}.timeline-dream-note.icon-only .item-icon{font-size:18px}.timeline-dream-note.icon-only .item-image{width:100%;height:100%;flex-basis:auto;border-radius:5px}.timeline-dream-note.completed{opacity:.48}.month-row{grid-template-columns:43px minmax(0,1fr)!important}.month-row>.genre-month-grid{grid-column:2}.undated-notes .genre-month-grid{padding:8px 0}@media(max-width:390px){.timeline-genre-headings,.genre-month-grid{gap:4px}.timeline-genre-headings{font-size:8px}.timeline-dream-note{padding-inline:5px;font-size:8px}.timeline-dream-note.icon-only{width:28px;height:28px;min-height:28px}}.smart-notebook{--timeline-row-height: 44px;position:relative}.smart-notebook.layout-editing{isolation:isolate}.smart-notebook.layout-editing:after{content:"";position:absolute;top:0;right:0;bottom:0;left:-8px;box-sizing:border-box;border:2px dashed #549aba;border-radius:6px;pointer-events:none;z-index:4}.smart-notebook .month-row{height:var(--timeline-row-height);min-height:var(--timeline-row-height)}.smart-dream-layer{position:absolute;top:0;right:0;bottom:0;left:43px;z-index:2;pointer-events:none;overflow:visible}.smart-dream-note{position:absolute;pointer-events:auto;box-sizing:border-box;width:max-content;min-width:0;min-height:34px;padding:5px 8px;border:0;border-left:2px solid var(--genre);border-radius:5px 8px 7px 3px;background:var(--paper);display:flex;align-items:center;gap:6px;font-size:11.5px;line-height:1.22;box-shadow:0 2px 5px #354c6816;overflow:hidden;white-space:normal}.smart-dream-note.align-do{transform:translateY(-50%);justify-content:flex-start;text-align:left}.smart-dream-note.align-be{transform:translate(-50%,-50%);justify-content:center;text-align:center}.smart-dream-note.align-have{transform:translate(-100%,-50%);justify-content:flex-end;text-align:right}.smart-dream-note>span:last-child{min-width:0;flex:1 1 auto;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:normal;overflow-wrap:anywhere;word-break:normal}.smart-dream-note.align-be>span:last-child{text-align:center}.smart-dream-note.align-have>span:last-child{text-align:right}.smart-dream-note .item-icon{flex:0 0 auto;font-size:17px}.smart-dream-note .item-image{width:23px;height:23px;flex:0 0 23px;border-radius:5px}.smart-dream-note.completed{opacity:.46}.smart-dream-note.align-placed{transform-origin:center;justify-content:flex-start;text-align:left}.smart-dream-note.align-placed>span:last-child{text-align:left}.smart-notebook.layout-editing .smart-dream-note{outline:1px dashed #6ea9bf;outline-offset:2px}.smart-dream-note.layout-editing{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}.smart-dream-note.layout-editing.layout-selected{outline:2px solid #428eae;outline-offset:1px;z-index:5}.smart-dream-note.layout-editing .item-image{pointer-events:none;-webkit-user-drag:none}.timeline-layout-popup{position:fixed;z-index:80;top:clamp(88px,15dvh,150px);right:max(10px,calc((100vw - 520px)/2 + 10px));width:min(260px,calc(100vw - 20px));height:176px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;box-sizing:border-box;border:2px solid #74aac3;border-radius:13px;background:#fffefa;box-shadow:0 12px 28px #1a48614d;color:#385d70;font-size:11px;overflow:auto}.timeline-layout-popup.is-collapsed{height:42px;overflow:hidden}.timeline-popup-head{display:flex;align-items:center;flex:0 0 38px;box-sizing:border-box;gap:4px;padding:3px 5px;border-bottom:1px solid #bbd7e4;background:#e3f1f8}.timeline-layout-popup.is-collapsed .timeline-popup-head{border-bottom:0}.timeline-popup-grip{flex:1;min-width:0;min-height:30px;display:flex;align-items:center;padding:0 4px;color:#236787;font-weight:700;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab}.timeline-popup-grip:active{cursor:grabbing}.timeline-popup-grip:focus-visible{outline:2px solid #428eae;border-radius:5px}.timeline-layout-popup button{min-height:30px;padding:3px 6px;border:1px solid #d6e5ec;border-radius:7px;background:#f6fbfd;color:#336c88;font-size:11px;white-space:nowrap}.timeline-layout-popup button:disabled{opacity:.4}.timeline-popup-head button{min-width:30px;font-size:17px;line-height:1}.timeline-popup-body{display:grid;flex:1 0 132px;box-sizing:border-box;grid-template-rows:20px repeat(3,30px);gap:4px;padding:5px}.timeline-popup-selected{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:600}.timeline-popup-control-row{display:grid;align-items:center;min-width:0}.timeline-popup-hint{color:#8297a3}.timeline-popup-buttons{display:flex;gap:4px}.timeline-popup-buttons button{flex:1;min-width:0}.timeline-display-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 23px 23px;gap:3px}.timeline-display-buttons button{padding-inline:2px}.timeline-display-buttons button:nth-child(n+3){padding:0;font-size:15px}.timeline-popup-buttons button[aria-pressed=true]{background:#dcedf5;border-color:#80b3ce;font-weight:700}.timeline-layout-popup .timeline-dream-reset{justify-self:end;color:#716c63;background:#faf8f2;border-color:#e7dfce}.smart-notebook .free-memo-layer.timeline-shared-layer{display:contents}.smart-icon-cluster{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;width:calc(33.333% - 6px);max-width:138px;min-height:30px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px}.smart-icon-cluster .smart-dream-note{position:static;transform:none}.smart-dream-note.icon-only{width:29px!important;height:29px;min-height:29px;max-width:29px!important;padding:2px;border-left-width:2px;border-radius:7px;justify-content:center}.smart-dream-note.icon-only .item-icon{font-size:18px}.smart-dream-note.icon-only .item-image{width:100%;height:100%;flex-basis:auto;border-radius:5px}.smart-more-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;border-radius:12px;background:#edf3f6;color:#6d8290;font-size:9px;font-weight:700}.smart-notebook .free-memo-layer{z-index:3}.smart-notebook .free-memo{touch-action:manipulation;user-select:none;-webkit-user-select:none;cursor:pointer;transition:box-shadow .12s ease,opacity .12s ease}.smart-notebook .free-memo.layout-editing{touch-action:none;cursor:grab;outline:1px dashed #6ea9bf;outline-offset:2px}.smart-notebook .free-memo.layout-editing.layout-selected{outline:2px solid #428eae;outline-offset:1px}.brand-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;margin-left:auto}.app-main.timeline>.timeline-edit-mode-banner{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;flex:0 0 38px;width:calc(100% - 36px);height:38px;margin:1px 14px 3px 22px;padding-right:12px;border:1px solid #83b9d2;border-radius:9px;background:#deeff9;color:#195f82}.timeline-edit-mode-banner strong{position:absolute;left:50%;transform:translate(-50%);font-size:20px;letter-spacing:.04em;white-space:nowrap}.timeline-edit-mode-banner span{font-size:12px;color:#567e91}.brand-actions .header-add{flex:0 0 40px;margin-left:0}.brand-actions .header-layout-action{flex:0 0 auto;min-height:40px;padding:0 10px;border:1px solid #d8e5ec;border-radius:12px;background:#eff7fb;color:#3286b6;font-size:12px;font-weight:600;white-space:nowrap}.brand-actions .header-layout-action:hover{background:#e4f1f7}.brand-actions .header-layout-save{background:#e8f6f9;border-color:#8fbfd3;color:#26779a}@media(max-width:360px){.brand{padding-inline:10px;gap:5px}.brand-actions{gap:4px}.brand-actions .header-layout-action{padding-inline:7px;font-size:11px}}.smart-notebook .free-memo .item-image{pointer-events:none;-webkit-user-drag:none}.smart-notebook .free-memo.dragging{z-index:10;cursor:grabbing;opacity:.92;box-shadow:0 10px 22px #24455c35}@media(max-width:390px){.smart-dream-note{min-height:33px;padding:5px 7px;font-size:11px;line-height:1.2}.smart-dream-note .item-icon{font-size:16px}.smart-dream-note .item-image{width:22px;height:22px;flex-basis:22px}.smart-icon-cluster{width:calc(33.333% - 4px);gap:2px}.smart-dream-note.icon-only{width:27px!important;height:27px;min-height:27px;max-width:27px!important}}.smart-dream-note.align-have,.smart-dream-note.align-do,.smart-dream-note.align-be{justify-content:flex-start;text-align:left}.smart-dream-note.align-have>span:last-child,.smart-dream-note.align-do>span:last-child,.smart-dream-note.align-be>span:last-child{text-align:left}.app-main.budget .budget-summary{padding:14px 16px 12px!important;border-radius:18px!important;margin-bottom:10px!important}.app-main.budget .budget-summary-top{gap:10px!important;margin-bottom:8px!important}.app-main.budget .wallet-icon{width:42px!important;height:42px!important}.app-main.budget .budget-summary p{margin:0 0 2px!important;font-size:11px!important}.app-main.budget .budget-summary h2{font-size:clamp(25px,7vw,34px)!important;line-height:1.05!important}.app-main.budget .budget-summary h2 small{font-size:12px!important}.app-main.budget .balance{height:5px!important;margin:8px 0 7px!important}.app-main.budget .totals{min-height:42px!important}.app-main.budget .totals>div{padding:2px 10px 0!important}.app-main.budget .totals span{font-size:10px!important}.app-main.budget .totals strong{font-size:19px!important;line-height:1.05!important}.app-main.budget .budget-items{display:block!important;border:0!important;background:transparent!important;overflow:visible!important}.budget-sections-generated{display:grid;gap:10px}.budget-block{border:1px solid #e0e8ed;border-radius:14px;background:#fff;overflow:hidden}.budget-block-header{height:40px;padding:0 10px 0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2f5;background:#fff}.budget-block-header strong{color:#29495c;font-size:14px;letter-spacing:.01em}.budget-block-controls{display:flex;align-items:center;gap:6px;min-width:0}.budget-block-header .budget-sort{display:block;margin:0}.budget-block-header .budget-sort select{width:auto;min-height:28px;margin:0;padding:3px 20px 3px 6px;border:1px solid #deeaef;border-radius:7px;background-color:#f8fbfc;color:#315c76;font-size:11px}.budget-block-header button>svg{width:13px;height:13px;flex-shrink:0}.budget-block-total{flex:0 0 auto;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 12px;border-top:1px solid #deeaef;background:#f0f8fb;color:#315c76;font-size:11px}.dream-block .budget-block-total{background:#f0f8f5;color:#287b68}.budget-block-total output{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.budget-block-total small{font-size:9px;font-weight:400}.budget-block-header button{min-height:28px;padding:3px 8px;border:0;border-radius:999px;background:#f3f7f9;color:#657f8f;font-size:9.5px;font-weight:600;white-space:nowrap}.budget-block-list{max-height:min(22vh,168px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.budget-block-empty{margin:0;padding:14px 12px;color:#9aa8b0;font-size:11px;text-align:center}.budget-display-row{position:relative;min-height:42px!important;height:42px;padding:0!important;border:0!important;border-bottom:1px solid #edf1f3!important;border-radius:0!important;background:#fff!important}.budget-display-row:last-child{border-bottom:0!important}.budget-display-row:before{content:"";position:absolute;inset:4px auto 4px 0;width:3px;border-radius:0 3px 3px 0}.budget-display-row.expense:before{background:#49a9df}.budget-display-row.savings:before{background:#53bea0}.budget-display-row .budget-item-icon{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;display:grid!important;place-items:center;border:0!important;background:transparent!important}.budget-display-row .budget-item-icon .item-icon{font-size:19px!important}.budget-display-row .budget-item-icon .item-image,.budget-display-row .budget-item-icon .item-icon{width:27px!important;height:27px!important;border-radius:7px}.budget-display-row .budget-item-main{min-height:42px!important;height:42px!important;padding:0 8px 0 2px!important;gap:5px!important;border:0!important;background:transparent!important}.budget-display-row .budget-item-name{font-size:12px!important;font-weight:600;color:#304f62}.budget-display-row .budget-item-main strong{min-width:86px!important;margin-left:auto!important;font-size:12px!important;font-weight:600!important;text-align:right}.budget-display-row .row-chevron{width:10px!important;margin-left:1px!important;color:#a2b0b8!important}.budget-display-row .dream-badge{display:none!important}.budget-display-row .static-budget-button{cursor:default!important}.life-block .budget-display-row button{pointer-events:none}.living-settings-page{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12000;display:flex;flex-direction:column;background:#f7fafb;color:#29495c;overflow:hidden}.living-page-header{flex:0 0 58px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:0 10px;border-bottom:1px solid #e1e9ed;background:#fffffff5}.living-page-header h2{grid-column:2;margin:0;text-align:center;font-size:17px;font-weight:700}.living-page-back{grid-column:1;width:38px;height:38px;border:0;border-radius:12px;background:transparent;color:#3b7fa4;font-size:32px;line-height:1}.living-page-content{flex:1;min-height:0;overflow-y:auto;padding:16px}.living-page-intro{margin:0 0 12px;color:#7c8f9a;font-size:11px;line-height:1.5}.phase-list{display:grid;gap:8px}.phase-card{min-height:52px;padding:8px 12px;display:grid;grid-template-columns:1fr auto 18px;align-items:center;gap:8px;border:1px solid #dfe9ee;border-radius:13px;background:#fff;text-align:left}.phase-card strong{font-size:15px;color:#2b4c5f}.phase-card small{color:#8b9ba4;font-size:10px}.phase-card span{color:#8ca0ac;font-size:21px}.phase-add{margin-top:12px;min-height:48px;display:grid;grid-template-columns:84px auto 42px;align-items:center;justify-content:center;gap:7px;border:1px dashed #cfdde4;border-radius:13px;background:#fff}.phase-add select{width:84px;min-height:34px;padding:3px 24px 3px 9px;border:1px solid #d9e5ea;border-radius:9px;background:#fff;color:#2d5369;font-size:14px;font-weight:700}.phase-add span{font-size:13px;color:#587486}.phase-plus{width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#3d9ac7;color:#fff;font-size:23px;line-height:1}.living-editor-page{padding-bottom:84px}.living-editor-range{margin:0 0 10px;color:#82959f;font-size:11px}.living-editor-rows{display:grid;gap:6px}.living-editor-row{position:relative;min-height:46px;display:grid;grid-template-columns:minmax(0,1fr) 96px 48px 28px;align-items:center;gap:5px;padding:5px 5px 5px 8px;border:1px solid #e0e8ed;border-radius:11px;background:#fff;overflow:hidden}.living-editor-row:before{content:"";position:absolute;inset:4px auto 4px 0;width:3px;border-radius:0 3px 3px 0}.living-editor-row.expense:before{background:#49a9df}.living-editor-row.savings:before{background:#53bea0}.living-editor-row input.living-name{width:100%;min-width:0;min-height:34px;padding:5px 7px;border:0;border-radius:7px;background:#f8fafb;font-size:12px}.living-amount{min-width:0;min-height:34px;padding:4px 5px;border:1px solid #e0e8ed;border-radius:8px;background:#fff;color:#29495c;font-size:11px;font-weight:700;text-align:right;white-space:nowrap}.living-type{min-height:32px;padding:3px 4px;border:0;border-radius:8px;background:#f2f6f8;color:#607d8d;font-size:10px;font-weight:700}.living-editor-row.savings .living-type{background:#edf8f4;color:#47957e}.living-remove{width:28px;height:28px;padding:0;border:0;background:transparent;color:#a28a8a;font-size:18px}.living-add-item{width:100%;min-height:38px;margin-top:9px;border:1px dashed #cbdce4;border-radius:10px;background:#fff;color:#4f8099;font-size:11px;font-weight:600}.living-save-bar{position:fixed;left:0;right:0;bottom:0;z-index:1;padding:8px 14px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e1e8ec;background:#fffffff5}.living-save-bar .primary{width:100%;min-height:42px;border:0;border-radius:11px;background:#3496c4;color:#fff;font-size:14px;font-weight:700}.money-pad-input{cursor:pointer;caret-color:transparent}.money-pad-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20000;display:flex;align-items:flex-end;background:#18313d55}.money-pad{width:100%;padding:12px 12px calc(12px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#f8fafb;box-shadow:0 -10px 35px #1936432b}.money-pad-display{padding:3px 5px 10px;text-align:right}.money-pad-display strong{display:block;color:#24495f;font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}.money-pad-display small{color:#8b9ca5;font-size:9px}.money-pad-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.money-pad-keys button{min-height:46px;border:1px solid #e0e8ec;border-radius:11px;background:#fff;color:#29495c;font-size:18px;font-weight:650}.money-pad-keys button.muted{background:#eef3f5;color:#708590}.money-pad-keys button.unit{background:#eaf5fb;color:#287da8}.money-pad-keys button.done{background:#3497c4;color:#fff;border-color:#3497c4;font-size:14px}.savings-start-dialog,.custom-budget-dialog{width:min(520px,calc(100% - 18px))!important;max-height:min(80dvh,680px)!important}.savings-start-list{display:flex;flex-direction:column;gap:7px}.savings-start-row{display:grid!important;grid-template-columns:minmax(0,1fr) 128px;align-items:center;gap:8px!important;margin:0!important;padding:8px 9px;border:1px solid #e3ebef;border-radius:10px;background:#fff}.savings-start-name{min-width:0;color:#29495c;font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.savings-start-name small{display:block;margin-top:2px;color:#8b9aa3;font-size:9px;font-weight:400}@media(max-width:390px){.app-main.budget .budget-summary{padding:12px 13px 10px!important}.budget-block-list{max-height:min(21vh,154px)}.living-page-content{padding:12px}.living-editor-row{grid-template-columns:minmax(0,1fr) 86px 44px 25px;gap:4px;padding-left:7px}.living-amount{font-size:10px}.living-type{font-size:9px}.money-pad-keys button{min-height:43px}}.editor-page-dialog{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:1200!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f7fafb!important;overflow:hidden!important}.editor-page-dialog::backdrop{background:transparent!important}.editor-page-dialog .modal-head{height:58px;padding:max(8px,env(safe-area-inset-top)) 16px 8px!important;display:grid!important;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;background:#fff!important;border-bottom:1px solid #e7eef2!important;position:sticky;top:0;z-index:2}.editor-page-dialog .modal-head h2{grid-column:2;margin:0!important;text-align:center;font-size:18px!important;line-height:1.2;color:#284b61}.editor-page-dialog .modal-head .editor-back{grid-column:1;grid-row:1;width:40px!important;height:40px!important;min-width:40px!important;border:0!important;background:transparent!important;font-size:0!important;color:#3e748f}.editor-page-dialog .modal-head .editor-back:before{content:"‹";font-size:34px;line-height:1;font-weight:400}.editor-page-form{height:calc(100dvh - 58px);overflow-y:auto;overscroll-behavior:contain;padding:12px 14px calc(74px + env(safe-area-inset-bottom))!important;display:grid;gap:8px!important;align-content:start;background:#f7fafb}.editor-page-form>label,.editor-page-form>.form-grid,.editor-page-form>fieldset,.editor-page-form>details,.editor-page-form>p{margin:0!important}.editor-page-form label,.editor-page-form legend,.editor-page-form summary{color:#35576b;font-size:11px!important;font-weight:700}.editor-page-form label>small,.editor-page-form legend small{color:#94a4ad;font-weight:500}.editor-page-form input:not([type=checkbox]):not([type=radio]),.editor-page-form select,.editor-page-form textarea{min-height:40px!important;padding:8px 10px!important;margin-top:4px!important;border-radius:10px!important;font-size:14px!important;background:#fff!important}.editor-page-form textarea{min-height:58px!important;max-height:76px;resize:none}.editor-page-form .form-grid{gap:8px!important}.editor-page-form details.appearance-settings{padding:0!important;border:1px solid #e2eaee!important;border-radius:11px!important;background:#fff}.editor-page-form details.appearance-settings>summary{min-height:38px;padding:9px 11px!important;display:flex;align-items:center}.editor-page-form details.appearance-settings[open]>:not(summary){margin-inline:10px!important}.editor-page-form fieldset{min-width:0;padding:8px 10px!important;border:1px solid #e2eaee!important;border-radius:11px!important;background:#fff!important}.editor-page-form fieldset>.check-label{min-height:28px;display:flex!important;align-items:center;gap:8px!important;font-size:12px!important}.editor-page-form fieldset>label:not(.check-label),.editor-page-form fieldset>.form-grid{margin-top:5px!important}.editor-page-form .hint{display:none!important}.editor-page-form .actions{position:sticky;bottom:0;z-index:3;margin:4px -14px calc(-74px - env(safe-area-inset-bottom))!important;padding:9px 14px calc(9px + env(safe-area-inset-bottom))!important;background:color-mix(in srgb,#fff 94%,transparent);border-top:1px solid #e3ebef;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.editor-page-form .actions button{min-height:42px!important}.dream-editor-page .editor-page-form{grid-template-columns:1fr}.dream-editor-page .editor-page-form>.form-grid{grid-template-columns:1fr 1fr!important}.dream-editor-page .editor-page-form>fieldset{padding-block:7px!important}.dream-editor-page input.money-pad-input{cursor:pointer}.memo-editor-page .hidden-memo-date{display:none!important}.memo-editor-page .editor-page-form{gap:10px!important}.memo-editor-page .editor-page-form>label:first-of-type{display:none!important}.icon-picker{border:0!important;padding:6px 0 8px!important;background:transparent!important}.icon-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;max-height:210px;overflow-y:auto;padding:2px!important}.icon-options button{min-width:0!important;min-height:52px!important;padding:4px 2px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:9px!important;font-size:18px!important}.icon-options button small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6e838f;font-size:8px!important;font-weight:500}.icon-options button[aria-pressed=true]{outline:2px solid #63a6c7;background:#edf8fc!important}.money-pad-layer{z-index:2400!important}.money-pad{z-index:2401!important}@media(max-height:760px){.editor-page-dialog .modal-head{height:52px}.editor-page-form{height:calc(100dvh - 52px);padding-top:8px!important;gap:6px!important}.editor-page-form textarea{min-height:48px!important;max-height:58px}.editor-page-form input:not([type=checkbox]):not([type=radio]),.editor-page-form select{min-height:36px!important}.editor-page-form details.appearance-settings>summary{min-height:34px;padding-block:7px!important}.editor-page-form fieldset{padding-block:6px!important}}.dream-money-summary{margin:10px 0 4px;display:grid;grid-template-columns:1fr 1fr;border:1px solid #e2eaee;border-radius:13px;background:#fff;overflow:hidden}.dream-money-summary>div{min-width:0;padding:9px 10px 8px}.dream-money-summary>div+div{border-left:1px solid #edf2f4}.dream-money-summary span{display:block;margin-bottom:2px;color:#80939e;font-size:9px;line-height:1.2}.dream-money-summary strong{display:block;color:#2d5267;font-size:14px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-page-dialog .modal-head{position:fixed!important;inset:0 0 auto 0!important;width:100%!important}.editor-page-dialog .editor-page-form{position:fixed!important;inset:58px 0 calc(64px + env(safe-area-inset-bottom)) 0!important;width:100%!important;height:auto!important;max-height:none!important;overflow-y:auto!important;padding:10px 14px 12px!important;scroll-padding-bottom:12px}.editor-page-dialog .editor-page-form .actions{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:5!important;min-height:64px;margin:0!important;padding:8px 14px calc(8px + env(safe-area-inset-bottom))!important;display:flex!important;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid #dfe8ec;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.editor-page-dialog .editor-page-form .actions button{min-height:42px!important}.phase-card-wrap{position:relative}.phase-card-wrap .phase-card{width:100%;padding-right:44px}.phase-delete{position:absolute;right:8px;top:50%;z-index:2;width:30px;height:30px;padding:0;transform:translateY(-50%);border:0;border-radius:9px;background:#f6f3f3;color:#9c7c7c;font-size:19px;line-height:1}.living-editor-row{grid-template-columns:34px minmax(0,1fr) 88px 46px 26px!important;gap:4px!important;padding-left:5px!important}.living-icon-button{width:32px;height:32px;min-width:32px;padding:0;border:0;border-radius:8px;background:#f5f8fa;font-size:18px}.living-icon-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:25000;display:flex;align-items:flex-end;background:#17313d55}.living-icon-sheet{width:100%;max-height:58dvh;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -10px 30px #1b3a4924}.living-icon-head{height:38px;display:flex;align-items:center;justify-content:space-between}.living-icon-head strong{color:#2e5165;font-size:14px}.living-icon-head button{width:32px;height:32px;border:0;background:transparent;color:#718590;font-size:20px}.living-icon-grid{max-height:calc(58dvh - 52px);overflow-y:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.living-icon-grid button{min-width:0;min-height:54px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #e5ecef;border-radius:9px;background:#fafcfd}.living-icon-grid button.selected{border-color:#72b1cf;background:#edf8fc;box-shadow:inset 0 0 0 1px #72b1cf}.living-icon-grid span{font-size:20px}.living-icon-grid small{color:#738791;font-size:8px}@media(max-width:390px){.editor-page-dialog .editor-page-form{padding-inline:10px!important}.living-editor-row{grid-template-columns:31px minmax(0,1fr) 80px 44px 24px!important;gap:3px!important}.living-icon-button{width:29px;height:29px;min-width:29px;font-size:17px}.dream-money-summary strong{font-size:13px}}@media(max-height:760px){.editor-page-dialog .editor-page-form{top:52px!important;bottom:calc(60px + env(safe-area-inset-bottom))!important}.editor-page-dialog .editor-page-form .actions{min-height:60px}}.app-main.timeline>.year-picker{height:38px!important;margin:1px auto 3px!important}.app-main.timeline>.year-picker>button{min-height:36px!important;height:36px!important}.app-main.timeline>.year-picker select{min-height:36px!important;padding-block:0!important;font-size:18px!important}.timeline-scroll{padding-bottom:0!important}.timeline-genre-headings{padding-top:0!important;padding-bottom:2px!important;line-height:1.05}.app-main.budget .budget-period{margin-bottom:6px!important}.app-main.budget .budget-scroll{padding-top:0!important}.app-main.budget .budget-summary{padding:9px 12px 8px!important;margin-bottom:7px!important;border-radius:15px!important}.app-main.budget .budget-summary-top{gap:8px!important;margin-bottom:4px!important}.app-main.budget .wallet-icon{width:34px!important;height:34px!important}.app-main.budget .wallet-icon svg{width:23px!important;height:23px!important}.app-main.budget .budget-summary p{font-size:9.5px!important;line-height:1.15!important}.app-main.budget .budget-summary h2{margin-top:0!important;font-size:clamp(23px,6vw,29px)!important;line-height:1.02!important}.app-main.budget .budget-summary h2 small{font-size:10px!important}.app-main.budget .balance{height:4px!important;margin:6px 0 5px!important}.app-main.budget .totals{min-height:34px!important;gap:8px!important}.app-main.budget .totals>div{padding:0 8px!important}.app-main.budget .totals>div:first-child{padding-left:0!important}.app-main.budget .totals span{font-size:9px!important;line-height:1.15!important}.app-main.budget .totals span:before{width:6px!important;height:6px!important;margin-right:4px!important}.app-main.budget .totals strong{margin-top:1px!important;font-size:16px!important;line-height:1!important}.app-main.budget .annual-details.budget-footnote{display:none!important}.editor-page-dialog,.living-settings-page{width:min(100vw,520px)!important;max-width:520px!important}.editor-page-dialog{left:0!important;right:0!important;margin:0 auto!important;transform:none!important}.living-settings-page{left:50%!important;right:auto!important;transform:translate(-50%)!important}.editor-page-dialog .modal-head,.editor-page-dialog .editor-page-form,.editor-page-dialog .editor-page-form .actions{width:min(100vw,520px)!important;max-width:520px!important;left:50%!important;right:auto!important;transform:translate(-50%)!important}.editor-page-dialog .modal-head{position:fixed!important;top:0!important;z-index:8!important}.editor-page-dialog .editor-page-form{position:fixed!important;top:58px!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:12px!important}.editor-page-dialog .editor-page-form .actions{position:fixed!important;top:auto!important;bottom:0!important;z-index:10!important;margin:0!important;min-height:64px!important;padding:8px 14px calc(8px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #dfe8ec!important;box-shadow:0 -3px 10px #29495c0d}.living-page-header,.living-page-content{width:100%}.money-pad{width:min(100vw,520px)!important;margin-inline:auto}.app-main.list .list-scroll{padding-bottom:72px!important}.dream-money-summary{position:fixed!important;left:50%!important;bottom:calc(58px + env(safe-area-inset-bottom))!important;z-index:4!important;width:min(calc(100vw - 20px),500px)!important;margin:0!important;transform:translate(-50%)!important;border:1px solid #e1eff4!important;border-radius:13px!important;background:#eef9fc!important;box-shadow:none!important}.dream-money-summary>div{padding:8px 10px 7px!important}.dream-money-summary>div+div{border-left:1px solid #d7e8ed!important}.dream-money-summary span{font-size:0!important;margin-bottom:2px!important}.dream-money-summary>div:first-child span:after{content:"夢達成の必要金額"}.dream-money-summary>div:last-child span:after{content:"夢の年間消費金額"}.dream-money-summary span:after{color:#58768c;font-size:9px;line-height:1.2}.dream-money-summary strong{font-size:14px!important;color:#284f64!important}@media(min-width:600px){.brand{min-height:48px!important;padding-top:3px!important;padding-bottom:3px!important}.brand h1{font-size:17px!important}.brand-mark{width:27px!important;height:27px!important}.header-add{min-height:36px!important;height:36px!important}.bottom-nav{padding-block:2px!important}.bottom-nav button{min-height:44px!important;padding-block:2px!important}.bottom-nav svg{width:21px!important;height:21px!important}}@media(max-height:760px){.editor-page-dialog .modal-head{height:52px!important}.editor-page-dialog .editor-page-form{top:52px!important;bottom:calc(60px + env(safe-area-inset-bottom))!important}.editor-page-dialog .editor-page-form .actions{min-height:60px!important}.app-main.timeline>.year-picker{height:36px!important}}.editor-page-dialog{box-sizing:border-box!important}.existing-dream-editor{background:#f7fafb!important}.existing-dream-editor .modal-head{box-shadow:none!important}.existing-dream-editor .editor-page-form{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable;padding-bottom:12px!important}.existing-dream-editor .editor-page-form>fieldset{padding:7px 9px!important}.existing-dream-editor .editor-page-form>fieldset .check-label{min-height:26px!important}.existing-dream-editor .editor-page-form>fieldset input:not([type=checkbox]),.existing-dream-editor .editor-page-form>fieldset select{min-height:36px!important}.editor-page-dialog .editor-page-form .actions{display:grid!important;grid-template-columns:auto minmax(92px,1fr) minmax(92px,1fr);align-items:center!important;gap:8px!important;box-shadow:none!important}.editor-page-dialog .editor-page-form .actions .danger{margin:0!important;justify-self:start;min-width:68px;color:#a45e57!important;background:#fff8f7!important;border-color:#ead9d6!important}.editor-page-dialog .editor-page-form .actions button:not(.danger){width:100%;margin:0!important}.editor-page-dialog:not(.existing-dream-editor):not(.existing-memo-editor) .editor-page-form .actions{grid-template-columns:1fr 1fr!important}@media(max-width:390px){.editor-page-dialog .editor-page-form .actions{grid-template-columns:auto minmax(82px,1fr) minmax(82px,1fr);gap:6px!important;padding-inline:10px!important}.editor-page-dialog .editor-page-form .actions .danger{min-width:58px;padding-inline:8px!important}}.editor-page-dialog{touch-action:pan-y}.editor-page-dialog .editor-page-form{position:absolute!important;top:58px!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;transform:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:16px!important}.editor-page-dialog .editor-page-form .actions{position:fixed!important;left:50%!important;right:auto!important;bottom:0!important;width:min(100vw,520px)!important;max-width:520px!important;transform:translate(-50%)!important;z-index:40!important;margin:0!important;background:#fff!important;border-top:1px solid #dfe8ec!important}.app-main.timeline>.year-picker,.app-main.budget .budget-period{height:38px!important;min-height:38px!important;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}.app-main.timeline>.year-picker>button,.app-main.budget .budget-period .year-picker>button{height:38px!important;min-height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important}.app-main.timeline>.year-picker select,.app-main.budget .budget-period .year-picker select,.app-main.budget .budget-period .month-select select{min-height:38px!important;height:38px!important;border:0!important;background:transparent!important;box-shadow:none!important}.app-main.budget .budget-period{margin-top:1px!important;margin-bottom:5px!important}.app-main.budget .budget-scroll{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;padding-bottom:8px!important}.app-main.budget .budget-summary{flex:0 0 auto}.app-main.budget .budget-sections-generated{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:8px!important}.app-main.budget .budget-block{flex:1 1 0;min-height:96px;display:flex;flex-direction:column}.app-main.budget .budget-block:has(.budget-block-empty){flex:0 0 84px;min-height:84px}.app-main.budget .budget-block-header{flex:0 0 36px;height:36px!important}.app-main.budget .budget-display-row,.app-main.budget .budget-display-row .budget-item-main,.app-main.budget .budget-display-row .budget-item-icon{min-height:40px!important;height:40px!important}@media(max-height:760px){.editor-page-dialog .editor-page-form{top:52px!important;bottom:calc(60px + env(safe-area-inset-bottom))!important}.editor-page-dialog .editor-page-form .actions{min-height:60px!important}}:root{--app-max-width: 520px;--period-height: 38px;--page-inline: clamp(10px, 3vw, 14px)}#root{width:min(100%,var(--app-max-width))!important;max-width:var(--app-max-width)!important}.app-main.list{position:relative}.app-main.list .list-scroll{padding-bottom:76px!important}.app-main.list .list-scroll>.dream-money-summary{display:none!important}.app-main:not(.list) .dream-money-summary,.app-main.timeline .dream-money-summary,.app-main.budget .dream-money-summary{display:none!important}.app-main.list>.dream-money-summary{position:absolute!important;left:var(--page-inline)!important;right:var(--page-inline)!important;bottom:8px!important;z-index:4!important;width:auto!important;max-width:none!important;margin:0!important;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #e1eff4!important;border-radius:13px!important;background:#eef9fc!important;box-shadow:none!important;overflow:hidden}.app-main.list>.dream-money-summary>div{min-width:0;padding:8px 10px 7px!important}.app-main.list>.dream-money-summary>div+div{border-left:1px solid #d7e8ed!important}.app-main.list>.dream-money-summary span{display:block!important;margin:0 0 2px!important;color:#58768c!important;font-size:clamp(8px,2.35vw,10px)!important;line-height:1.15!important;white-space:normal;overflow-wrap:anywhere}.app-main.list>.dream-money-summary span:after{content:none!important}.app-main.list>.dream-money-summary strong{display:block;min-width:0;color:#284f64!important;font-size:clamp(13px,4vw,16px)!important;line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-page-dialog{position:fixed!important;top:0!important;bottom:0!important;left:max(0px,calc((100vw - var(--app-max-width)) / 2))!important;right:auto!important;width:min(100vw,var(--app-max-width))!important;max-width:var(--app-max-width)!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important;display:grid!important;grid-template-rows:auto minmax(0,1fr);overflow:hidden!important;border:0!important;border-radius:0!important;background:#f7fafb!important}.editor-page-dialog .modal-head{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;min-height:54px;height:auto!important;margin:0!important;padding:max(7px,env(safe-area-inset-top)) 14px 7px!important;transform:none!important;background:#fff!important;border-bottom:1px solid #e7eef2!important}.editor-page-dialog .editor-page-form{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto;overflow:hidden!important;background:#f7fafb!important}.editor-scroll-body{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;display:grid;align-content:start;gap:8px;padding:10px var(--page-inline) 14px;scroll-padding-bottom:16px}.editor-scroll-body>label,.editor-scroll-body>.form-grid,.editor-scroll-body>fieldset,.editor-scroll-body>details,.editor-scroll-body>p{margin:0!important}.dream-editor-page .editor-scroll-body>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.editor-page-dialog .editor-page-form .actions{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;min-height:60px;margin:0!important;padding:8px var(--page-inline) calc(8px + env(safe-area-inset-bottom))!important;transform:none!important;z-index:1!important;background:#fff!important;border-top:1px solid #dfe8ec!important;box-shadow:none!important}.app-main.timeline>.year-picker,.app-main.budget .budget-period{height:var(--period-height)!important;min-height:var(--period-height)!important;margin:1px auto 5px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.app-main.timeline>.year-picker{width:clamp(230px,66vw,310px)!important;max-width:calc(100% - 24px)!important}.app-main.budget .budget-period{width:clamp(270px,74vw,340px)!important;max-width:calc(100% - 20px)!important}.app-main.timeline>.year-picker>button,.app-main.budget .budget-period .year-picker>button,.app-main.timeline>.year-picker select,.app-main.budget .budget-period .year-picker select,.app-main.budget .budget-period .month-select select{height:var(--period-height)!important;min-height:var(--period-height)!important;border:0!important;background:transparent!important;box-shadow:none!important}.app-main.budget .budget-scroll{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;padding:0 var(--page-inline) 8px!important}.app-main.budget .budget-summary{flex:0 0 auto;padding:clamp(8px,1.2dvh,10px) 12px 8px!important;margin-bottom:clamp(6px,1dvh,9px)!important}.app-main.budget .budget-items{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}.app-main.budget .budget-sections-generated{height:100%!important;min-height:0!important;display:grid!important;grid-template-rows:minmax(108px,1fr) minmax(108px,1.15fr);gap:clamp(7px,1dvh,10px)!important}.app-main.budget .budget-block{min-height:0!important;display:flex!important;flex-direction:column}.app-main.budget .budget-block:has(.budget-block-empty){min-height:108px!important;max-height:none}.app-main.budget .budget-block-header{flex:0 0 34px;height:34px!important}.app-main.budget .budget-block-list{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.app-main.budget .budget-display-row,.app-main.budget .budget-display-row .budget-item-main,.app-main.budget .budget-display-row .budget-item-icon{min-height:39px!important;height:39px!important}.app-main.budget .annual-details,.app-main.budget .budget-footnote{display:none!important}.living-settings-page{left:max(0px,calc((100vw - var(--app-max-width)) / 2))!important;right:auto!important;width:min(100vw,var(--app-max-width))!important;max-width:var(--app-max-width)!important;transform:none!important}.money-pad{width:min(100vw,var(--app-max-width))!important;max-width:var(--app-max-width)!important;margin-inline:auto}@media(max-width:350px){.dream-editor-page .editor-scroll-body>.form-grid{grid-template-columns:1fr!important}.editor-page-dialog .editor-page-form .actions{gap:5px!important;padding-inline:8px!important}.editor-page-dialog .editor-page-form .actions .danger{min-width:54px;padding-inline:7px!important}}.dream-editor-page .dream-editor-v2-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;align-content:start}.dream-editor-page .dream-editor-v2-body>*{grid-column:1 / -1;min-width:0}.dream-editor-page .dream-editor-v2-body>.dream-cost-card{grid-column:auto}.dream-editor-page .dream-appearance-v2{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.82fr) minmax(0,.95fr);gap:7px;align-items:stretch;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.dream-editor-page .dream-appearance-v2>summary{display:none!important}.dream-editor-page .dream-icon-picker,.dream-editor-page .dream-image-picker,.dream-editor-page .dream-color-picker{grid-row:1;min-width:0;margin:0!important;padding:8px!important;border:1px solid #dfe8ec!important;border-radius:12px!important;background:#fff!important;align-self:stretch;overflow:hidden}.dream-editor-page .dream-icon-picker{grid-column:1}.dream-editor-page .dream-image-picker{grid-column:2}.dream-editor-page .dream-color-picker{grid-column:3}.dream-editor-page .appearance-choice{width:100%;border:0!important;background:transparent!important;min-height:30px!important;padding:0 0 7px!important;display:flex!important;align-items:center;justify-content:flex-start;gap:6px;color:#35576b;font-size:11px!important;font-weight:700;white-space:nowrap}.dream-editor-page .choice-dot{width:16px;height:16px;border:1.8px solid #8ca0aa;border-radius:50%;display:inline-grid;place-items:center;flex:0 0 auto;background:#fff}.dream-editor-page .dream-appearance-v2[data-media-mode=icon] .appearance-choice-icon .choice-dot:after,.dream-editor-page .dream-appearance-v2[data-media-mode=image] .appearance-choice-image .choice-dot:after{content:"";width:8px;height:8px;border-radius:50%;background:#3a8db9}.dream-editor-page .dream-icon-picker>legend,.dream-editor-page .dream-image-picker>legend,.dream-editor-page .dream-image-picker>small{display:none!important}.dream-editor-page .dream-icon-picker .icon-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;max-height:126px!important;overflow-y:auto;padding:1px!important;scrollbar-width:thin}.dream-editor-page .dream-icon-picker .icon-options button{min-width:0!important;min-height:34px!important;height:34px;padding:0!important;font-size:19px!important;border-radius:8px!important;background:#f7faf9!important}.dream-editor-page .dream-icon-picker .icon-options button small{display:none!important}.dream-editor-page .dream-icon-picker .icon-options button[aria-pressed=true]{outline:2px solid #5d9fc0;outline-offset:-2px;background:#edf7fb!important}.dream-editor-page .dream-image-picker .image-upload{position:relative;display:grid!important;place-items:center;width:100%;min-height:86px;margin:0!important;border:1px dashed #b8cbd4;border-radius:10px;background:#f8fbfc;font-size:0!important;color:#5c899f;cursor:pointer}.dream-editor-page .dream-image-picker .image-upload:before{content:"+";font-size:30px;line-height:1;font-weight:300}.dream-editor-page .dream-image-picker .image-upload input{position:absolute!important;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;margin:0!important;padding:0!important;cursor:pointer}.dream-editor-page .dream-image-picker:has(.image-preview) .image-upload{display:none!important}.editor-page-dialog .media-three-row .image-preview{position:relative;display:block;width:100%;height:86px;margin:0!important;border-radius:10px;overflow:hidden;background:#f4f7f8}.editor-page-dialog .media-three-row .image-preview .item-image{width:100%;height:100%;object-fit:cover;border-radius:10px}.editor-page-dialog .media-three-row .image-preview button.image-remove{position:absolute;right:4px;top:4px;min-width:24px!important;width:24px;min-height:24px!important;height:24px;padding:0!important;overflow:hidden;color:#6a7c86!important;font-size:16px!important;line-height:1;border-radius:50%!important;background:#fffd!important;border:1px solid #d9e3e7!important;z-index:2}.dream-editor-page .dream-color-picker>legend{display:flex!important;align-items:center;min-height:30px;margin:0!important;padding:0 0 7px!important;font-size:11px!important;color:#35576b;font-weight:700;white-space:nowrap}.dream-editor-page .dream-color-picker .color-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important}.dream-editor-page .dream-color-picker .color-options button{min-width:0!important;min-height:31px!important;height:31px;padding:0 3px!important;border-radius:8px!important;font-size:9px!important}.dream-editor-page .dream-color-picker .color-options button:first-child{grid-column:1 / -1;background:#f6f8f9!important;color:#657d89}.dream-editor-page .dream-cost-card{min-width:0;padding:8px!important;border-radius:11px!important}.dream-editor-page .dream-cost-card .check-label{gap:6px!important;min-height:26px!important;font-size:11px!important;white-space:nowrap}.dream-editor-page .dream-cost-card .check-label input{width:17px;height:17px;flex:0 0 auto}.dream-editor-page .dream-cost-card>label:not(.check-label),.dream-editor-page .dream-cost-card>.form-grid{margin-top:4px!important}.dream-editor-page .dream-cost-card>label:not(.check-label){font-size:9px!important}.dream-editor-page .dream-cost-card input[type=number]{min-width:0;width:100%;font-variant-numeric:tabular-nums;text-align:right}.dream-editor-page .dream-cost-recurring .form-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 64px!important;gap:5px!important}.dream-editor-page .dream-cost-recurring .form-grid label{min-width:0;font-size:9px!important}.dream-editor-page .dream-cost-recurring select{padding-inline:5px!important}.dream-row-v2 .dream-line{min-height:58px}.dream-row-v2 .dream-toggle-v2{min-height:56px!important;padding:4px 2px 4px 0!important;gap:8px!important}.dream-row-v2 .dream-mark{width:34px;height:34px;border-radius:8px}.dream-row-v2 .dream-row-main{flex:1;min-width:0;display:grid;gap:2px}.dream-row-v2 .dream-row-top,.dream-row-v2 .dream-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.dream-row-v2 .dream-row-top strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.35;color:#28485a}.dream-row-v2 .dream-row-top .stars{flex:0 0 auto;font-size:10px;color:#c79d5f;letter-spacing:.02em}.dream-row-v2 .dream-row-bottom{color:#81939d;font-size:11px}.dream-row-v2 .dream-row-genre{text-align:right;color:#7d9089}.dream-row-v2 .expand-chevron{width:18px;padding:0!important}.dream-row-v2 .dream-details-v2{padding:7px 14px 11px 82px!important;background:#fcfdfd}.dream-row-v2 .dream-details-v2 .full-memo{margin:0 0 7px;font-size:12px;line-height:1.55;color:#415d6b}.dream-row-v2 .dream-cost-summary{display:flex;flex-wrap:wrap;gap:5px 10px;margin:0 0 8px;font-size:11px;color:#647b87}.dream-row-v2 .dream-cost-summary span{white-space:nowrap}.dream-row-v2 .detail-actions{margin-top:3px!important;gap:6px!important}.dream-row-v2 .detail-actions button{min-height:32px!important;padding:3px 11px!important;font-size:11px!important}@media(max-width:380px){.dream-editor-page .dream-appearance-v2{grid-template-columns:minmax(0,1.18fr) minmax(0,.8fr) minmax(0,.9fr);gap:5px}.dream-editor-page .dream-icon-picker,.dream-editor-page .dream-image-picker,.dream-editor-page .dream-color-picker{padding:6px!important;border-radius:10px!important}.dream-editor-page .appearance-choice,.dream-editor-page .dream-color-picker>legend{font-size:10px!important}.dream-editor-page .dream-icon-picker .icon-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dream-row-v2 .dream-details-v2{padding-left:74px!important}}.dream-editor-page details.dream-appearance-v2{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}.dream-editor-page details.dream-appearance-v2>summary{display:none!important}.editor-page-dialog .media-three-row{display:grid!important;grid-template-columns:minmax(0,2.2fr) minmax(84px,1fr)!important;gap:12px!important;width:100%;grid-column:1 / -1;margin:0!important}.editor-page-dialog .media-three-row>fieldset{min-width:0;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;position:static!important}.editor-page-dialog .media-three-row>.icon-picker{grid-column:1!important;grid-row:1!important}.editor-page-dialog .media-three-row>.image-picker{grid-column:2!important;grid-row:1!important}.editor-page-dialog .media-three-row>.color-picker{grid-column:1 / -1!important;grid-row:2!important}.editor-page-dialog .media-three-row>fieldset>legend{display:block!important;position:static!important;float:none!important;width:100%!important;height:auto!important;margin:0 0 6px!important;padding:0!important;background:transparent!important;font-size:12px!important;line-height:20px!important;color:#35576b;font-weight:600}.editor-page-dialog .media-three-row .icon-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;height:120px!important;max-height:120px!important;overflow-y:auto!important;overscroll-behavior:contain;padding:3px!important;border:1px solid #dfe8ec;border-radius:10px;scrollbar-width:thin}.editor-page-dialog .media-three-row .icon-options button{width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;padding:0!important;font-size:20px!important;border-radius:7px!important}.editor-page-dialog .media-three-row .icon-options button small,.editor-page-dialog .media-three-row .image-picker>small{display:none!important}.editor-page-dialog .media-three-row .image-upload{display:grid!important;place-items:center;position:relative;width:100%!important;height:120px!important;min-height:120px!important;margin:0!important;padding:0!important;border:1px dashed #b8cbd4!important;border-radius:10px!important;background:#f8fbfc!important;font-size:0!important}.editor-page-dialog .media-three-row .image-upload:before{content:"+";font-size:30px;font-weight:300;color:#5c899f}.editor-page-dialog .media-three-row .image-upload input{position:absolute!important;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;margin:0!important;padding:0!important}.editor-page-dialog .media-three-row .image-picker:has(.image-preview) .image-upload{display:none!important}.editor-page-dialog .media-three-row .image-preview{position:relative;width:100%;height:120px!important;margin:0!important;overflow:hidden;border-radius:10px}.editor-page-dialog .media-three-row .image-preview img{width:100%;height:100%;object-fit:cover}.editor-page-dialog .media-three-row .color-options{display:flex!important;gap:8px!important;height:auto!important;max-height:none!important;padding:3px!important;overflow-x:auto!important;overscroll-behavior:contain}.editor-page-dialog .media-three-row .color-options button{flex:0 0 36px;width:36px!important;min-width:36px!important;height:34px!important;min-height:34px!important;padding:0 4px!important;border-radius:8px!important;font-size:12px!important}.editor-page-dialog .media-three-row .color-options button:not([class]){flex-basis:66px;width:66px!important}.editor-page-dialog .editor-scroll-body>label,.editor-page-dialog .editor-scroll-body .form-grid>label{display:flex;flex-direction:column;gap:6px;font-size:12px!important}.dream-editor-page .dream-cost-card{padding:0!important;border:0!important;background:transparent!important}.dream-editor-page .dream-cost-card>label:not(.check-label){font-size:12px!important}.memo-editor-page .memo-editor-v2-body>label{grid-column:1 / -1}.paper-red{background:#ffe3e2!important;color:#8d4545}.paper-purple{background:#eee4fb!important;color:#6c508c}.living-settings-page .living-save-bar{left:max(0px,calc((100vw - var(--app-max-width, 520px)) / 2))!important;right:auto!important;width:min(100vw,var(--app-max-width, 520px))!important;max-width:var(--app-max-width, 520px)!important;box-sizing:border-box}.living-icon-sheet{width:min(100vw,var(--app-max-width, 520px))!important;max-width:var(--app-max-width, 520px)!important;margin-inline:auto!important;box-sizing:border-box}.dream-editor-page .editor-page-form details.appearance-settings[open]>.dream-appearance-row{margin-inline:0!important}.paper-red{--paper: #ffe3e2;--genre: #dca1a0}.paper-purple{--paper: #eee4fb;--genre: #b49bd1}.editor-page-dialog .editor-scroll-body input:not([type=checkbox]):not([type=hidden]):not([type=file]),.editor-page-dialog .editor-scroll-body select,.editor-page-dialog .editor-scroll-body textarea,.editor-page-dialog .media-three-row .icon-options,.editor-page-dialog .media-three-row .image-upload,.editor-page-dialog .media-three-row .color-options,.dream-editor-page .dream-cost-card>.check-label{border:1px solid #d9e3e9!important;border-radius:12px!important;background:#fff!important}.editor-page-dialog .media-three-row .media-choice-hint{grid-column:1 / -1;grid-row:1;margin:0!important;padding:0!important;color:#657e8c;font-size:11px;line-height:1.5}.editor-page-dialog .media-three-row>.icon-picker,.editor-page-dialog .media-three-row>.image-picker{grid-row:2!important}.editor-page-dialog .media-three-row>.color-picker{grid-row:3!important}.editor-page-dialog .media-three-row{row-gap:8px!important}.editor-page-dialog .media-state{float:right;color:#78909e;font-size:10px;font-weight:500}.editor-page-dialog [data-selected=true] .media-state{color:#2e839f}.editor-page-dialog .media-three-row [data-selected=true] .icon-options,.editor-page-dialog .media-three-row [data-selected=true] .image-preview{border:1px solid #5299ae!important;box-shadow:0 0 0 1px #5299ae inset}.editor-page-dialog .media-three-row .color-options{padding:8px!important}.dream-editor-page .dream-cost-card>.check-label{min-height:42px!important;padding:8px!important;box-sizing:border-box}.dream-editor-page .dream-cost-card:has(input[type=checkbox]:checked)>.check-label{border-color:#8ab2c1!important}.dream-editor-page .dream-cost-card>legend{display:block;position:static;width:100%;margin:0 0 6px;padding:0;font-size:12px;font-weight:600;line-height:20px;color:#35576b}.editor-page-dialog .media-three-row>.icon-picker,.editor-page-dialog .media-three-row>.image-picker{grid-row:1!important}.editor-page-dialog .media-three-row>.color-picker{grid-row:2!important}.editor-page-dialog .media-mode-button{display:inline-flex;align-items:center;gap:7px;padding:0!important;min-height:28px;border:0;border-radius:4px;background:transparent;font:inherit;color:inherit;box-shadow:none}.media-radio{width:16px;height:16px;border:1.5px solid #8aa0ac;border-radius:50%;display:inline-grid;place-items:center}[aria-pressed=true]>.media-radio{border-color:#3287a5}[aria-pressed=true]>.media-radio:after{content:"";width:8px;height:8px;background:#3287a5;border-radius:50%}.dream-editor-page .dream-cost-card>.check-label{border:0!important;border-radius:0!important;background:transparent!important;min-height:32px!important;padding:3px 0!important}.editor-page-dialog .media-three-row .color-options{gap:5px!important}.editor-page-dialog .media-three-row .color-options button{flex-basis:30px;min-width:30px!important;width:30px!important}.editor-page-dialog .media-three-row .color-options button:not([class]){flex-basis:56px;width:56px!important}.editor-page-dialog .media-three-row .color-options button:not([class]){white-space:nowrap;font-size:10px!important;padding:0 2px!important}.dream-editor-page .dream-cost-card>label:not(.check-label),.dream-editor-page .dream-cost-card>.form-grid{margin-top:0!important}.dream-editor-page .dream-cost-card label:not(.check-label){gap:0!important}.dream-editor-page .dream-cost-card input[type=number],.dream-editor-page .dream-cost-card select{margin-top:0!important;min-height:38px!important;height:38px!important}.dream-editor-page .dream-cost-card>.check-label{margin-bottom:2px!important}.dream-editor-page .dream-cost-card .cost-field-label{display:block;margin-bottom:4px;font-size:11px;line-height:16px;color:#35576b}.dream-editor-page .dream-cost-card label:has(>.cost-field-label){position:relative;padding-top:0;overflow:visible}.dream-editor-page .dream-cost-card .cost-field-label{position:absolute;z-index:1;top:-8px;left:8px;width:auto;margin:0;padding:0 4px;background:#fff;font-size:10px;line-height:16px;white-space:nowrap}.dream-editor-page .dream-cost-card>.check-label{margin-bottom:10px!important}.living-settings-page{background:#f7f9fb!important;color:#294858}.living-settings-page .living-editor-range{color:#526d7b;font-size:12px;margin:4px 0 12px}.living-settings-page .living-editor-rows{display:flex;flex-direction:column;gap:0!important;border:1px solid #dce5eb;border-radius:14px;overflow:hidden;background:#fff}.living-settings-page .living-editor-rows:empty{display:none}.living-settings-page .living-editor-row{display:grid!important;grid-template-columns:36px minmax(0,1fr) 34px!important;gap:6px 8px!important;padding:12px!important;margin:0!important;border:0!important;border-bottom:1px solid #e7edf1!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.living-settings-page .living-editor-row:last-child{border-bottom:0!important}.living-settings-page .living-editor-row:before{display:none}.living-settings-page .living-icon-button{grid-column:1;grid-row:1;width:36px;height:36px;background:#f0f6fa;border:0;border-radius:10px;font-size:21px}.living-settings-page .living-editor-row input.living-name{grid-column:2;grid-row:1;min-width:0;background:transparent!important;border:0!important;border-radius:0!important;padding:4px 0!important;font-size:15px!important;color:#294858;font-weight:600}.living-settings-page .living-name::placeholder{color:#81939d;font-weight:400}.living-settings-page .living-remove{grid-column:3;grid-row:1;width:34px;height:36px;color:#83959f;border:0;background:transparent}.living-settings-page .living-amount{grid-column:2;grid-row:2;justify-self:stretch;min-width:0;height:36px;padding:4px 0;border:0!important;border-radius:0!important;background:transparent!important;color:#244e65;font-size:17px;font-weight:600;text-align:left;font-variant-numeric:tabular-nums}.living-settings-page .living-type{grid-column:3;grid-row:2;justify-self:end;width:46px;height:30px;padding:0;border:0;border-radius:8px;background:#edf5fb;color:#397b9b;font-size:11px}.living-settings-page .living-editor-row.savings .living-type{background:#edf7f0;color:#408366}.living-settings-page .living-add-item{margin-top:12px;min-height:42px;border:1px solid #dce5eb;border-radius:12px;background:#fff;color:#357da0}.living-settings-page .living-save-bar{border-top:1px solid #e4ebef;background:#fff;padding:8px 12px}.living-settings-page .living-save-bar .primary{min-height:42px;border-radius:12px;background:#3687aa}.living-settings-page .living-page-header button{background:transparent}.money-pad-layer{z-index:30000!important}dialog.money-pad-layer[open]{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;display:flex!important;align-items:flex-end;background:transparent!important;box-shadow:none!important}dialog.money-pad-layer::backdrop{background:#18313d55}dialog.money-pad-layer .money-pad{max-height:100%;overflow-y:auto;box-sizing:border-box}.living-settings-page .living-editor-row{grid-template-columns:22px 32px minmax(0,1fr) minmax(54px,auto) 38px 24px!important;gap:4px!important;padding:10px 6px!important;align-items:center}.living-settings-page .living-reorder{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:22px;min-width:22px;height:36px;padding:0;border:0;background:transparent;color:#87a2b0;touch-action:none;cursor:grab}.living-settings-page .living-reorder span{display:block;width:13px;height:2px;border-radius:2px;background:currentColor}.living-settings-page .living-reorder:focus-visible{outline:2px solid #3687aa;border-radius:4px}.living-settings-page .living-editor-row.is-dragging{z-index:4;background:#eaf6fb!important;box-shadow:0 5px 16px #244f6930,inset 0 0 0 2px #8cbdd1!important}.living-settings-page .living-editor-row.is-dragging .living-reorder{cursor:grabbing}.living-settings-page .living-editor-row.drop-before{box-shadow:inset 0 3px #54a5c7!important}.living-settings-page .living-editor-row.drop-after{box-shadow:inset 0 -3px #54a5c7!important}.living-settings-page .living-icon-button{grid-column:2;grid-row:1;width:32px;height:36px}.living-settings-page .living-editor-row input.living-name{grid-column:3;grid-row:1;font-size:14px!important}.living-settings-page .living-amount{grid-column:4;grid-row:1;text-align:right;font-size:14px;white-space:nowrap}.living-settings-page .living-type{grid-column:5;grid-row:1;width:36px;font-size:10px}.living-settings-page .living-remove{grid-column:6;grid-row:1;width:24px}.achievement-stamp{display:inline-grid;place-items:center;width:42px;height:42px;border:2px solid #c87055;border-radius:50%;outline:1px solid #c87055;outline-offset:-5px;color:#b75b41;background:#fff9f0ec;transform:rotate(-12deg);font-size:12px;line-height:14px;font-weight:700;text-align:center;pointer-events:none;flex:0 0 auto;box-sizing:border-box}.dream-card{position:relative}.dream-card>.achievement-stamp{position:absolute;right:12px;top:12px;z-index:2}.dream-card.completed .dream-toggle{padding-right:60px!important}.smart-dream-note>.achievement-stamp,.timeline-dream-note>.achievement-stamp{position:absolute;right:-5px;top:-10px;width:30px;height:30px;font-size:9px;line-height:10px;z-index:2}.timeline-dream-note{position:relative}.stamp-confirmation{padding:20px 16px 16px;text-align:center}.stamp-confirmation>.achievement-stamp{width:70px;height:70px;font-size:19px;line-height:22px}.stamp-confirmation p{margin:18px 0;color:#35576b;overflow-wrap:anywhere}.stamp-confirmation .actions{display:flex;gap:8px;justify-content:center}.smart-dream-note.completed{opacity:1}.smart-dream-note>.achievement-stamp,.timeline-dream-note>.achievement-stamp{right:1px;top:1px;width:26px;height:26px;font-size:8px;line-height:9px}.smart-dream-note.completed:not(.icon-only){padding-right:30px!important}.budget-block-header button{display:inline-flex!important;align-items:center!important;gap:4px!important;min-height:28px!important;padding:3px 5px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#607d8d!important;font-size:10px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important}.budget-block-header button:hover,.budget-block-header button:focus-visible{background:#f2f7f9!important;color:#3f7189!important}.budget-block-header button>span[aria-hidden=true]{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;border-radius:0!important;background:transparent!important;color:#5b91aa!important;line-height:1!important;text-align:center!important}.budget-block-header button>span[aria-hidden=true] svg{display:block!important;width:15px!important;height:15px!important;overflow:visible!important;stroke-width:1.75!important}.budget-block-header .budget-settings-action{border:1px solid #d8e5ec!important;border-radius:8px!important;background:#fff!important;padding:4px 8px!important;color:#365e73!important}.achievement-stamp{display:inline-grid!important;place-items:center!important}.achievement-stamp-content{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1;text-align:center;transform:translateY(.5px)}.achievement-stamp-label,.achievement-stamp-check{display:block;width:100%;margin:0;padding:0;text-align:center;line-height:1}.achievement-stamp-label{font-size:.82em;letter-spacing:.02em}.achievement-stamp-check{margin-top:1px;font-family:Segoe UI Symbol,Apple Symbols,sans-serif;font-size:1.18em}.dream-card.completed .dream-toggle{padding-right:2px!important}.dream-card>.achievement-stamp{right:7px!important;top:8px!important;z-index:4!important;background:#fff9f0d9!important}.smart-dream-note>.achievement-stamp,.timeline-dream-note>.achievement-stamp{right:2px!important;top:2px!important}.smart-dream-note>.achievement-stamp .achievement-stamp-content,.timeline-dream-note>.achievement-stamp .achievement-stamp-content{gap:0;transform:translateY(0)}.smart-dream-note>.achievement-stamp .achievement-stamp-label,.timeline-dream-note>.achievement-stamp .achievement-stamp-label{font-size:7px}.smart-dream-note>.achievement-stamp .achievement-stamp-check,.timeline-dream-note>.achievement-stamp .achievement-stamp-check{margin-top:1px;font-size:9px}.smart-dream-note.icon-only.completed>.achievement-stamp{top:1px!important;right:1px!important;width:14px!important;height:14px!important;border:1px solid #bd755b;outline:0;border-radius:50%;background:#fff9f0;transform:none;z-index:2}.smart-dream-note.icon-only.completed>.achievement-stamp .achievement-stamp-label{display:none}.smart-dream-note.icon-only.completed>.achievement-stamp .achievement-stamp-check{margin:0;font-size:10px;line-height:12px}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px 16px;background:linear-gradient(180deg,#f8fbfa,#eef7f4);color:#29495c}.auth-card{width:min(100%,390px);padding:28px 22px 22px;border:1px solid #dce8e4;border-radius:24px;background:#fffe;box-shadow:0 14px 36px #24485d12}.auth-brand-mark{width:42px;height:42px;margin:0 auto 10px;display:grid;place-items:center;border-radius:14px;background:#e8f5f0;color:#559582;font-size:22px}.auth-kicker{margin:0 0 4px;text-align:center;color:#8aa099;font-size:10px;font-weight:700;letter-spacing:.16em}.auth-card h1{margin:0;text-align:center;font-size:26px;color:#29495c}.auth-intro{margin:10px auto 22px;max-width:300px;text-align:center;color:#667f8c;font-size:13px;line-height:1.65}.auth-card form{display:grid;gap:12px}.auth-card .auth-text-link{justify-self:end;padding:0;border:0;background:none;color:#287fa1;font-size:12px;text-decoration:underline;text-underline-offset:3px}.auth-card label{display:grid;gap:6px;color:#456475;font-size:12px;font-weight:700}.auth-card input{width:100%;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid #d8e4e8;border-radius:12px;background:#fff;color:#29495c;font:inherit;font-size:16px;outline:none}.auth-card input:focus{border-color:#7eb0a1;box-shadow:0 0 0 3px #7eb0a118}.auth-primary,.auth-secondary,.cloud-error-card button{min-height:44px;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}.auth-primary{border:0;background:#57937f;color:#fff}.auth-secondary{border:1px solid #d6e4df;background:#f7fbf9;color:#527466}.auth-primary:disabled,.auth-secondary:disabled{opacity:.55;cursor:default}.auth-card>small{display:block;margin-top:16px;color:#8b9ba3;text-align:center;font-size:10px;line-height:1.55}.auth-error,.auth-message{margin:0;padding:9px 10px;border-radius:10px;font-size:11px;line-height:1.5}.auth-error{background:#fff2ef;color:#a54e3c}.auth-message{background:#eef8f4;color:#4c7668}.migration-card h1{font-size:21px;line-height:1.45}.migration-card button{width:100%;margin-top:8px}.cloud-loading{min-height:100dvh;display:grid;place-items:center;background:#f7fbfa;color:#68808c;font-size:13px}.cloud-error-card{text-align:center}.cloud-error-card h1{font-size:20px;margin-bottom:12px}.cloud-error-card p{color:#9a5748;font-size:12px;line-height:1.6}.cloud-error-card button{width:100%;margin-top:8px}.cloud-account{position:fixed;top:calc(15px + env(safe-area-inset-top));left:max(152px,calc(50% - 108px));z-index:90;display:none}#root:has(.app-main.list) .cloud-account{display:block}.cloud-account-button{width:32px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:#78909c;font-size:16px}.cloud-account-button:hover,.cloud-account-button:focus-visible{background:#eef6f3}.cloud-account-button.saving{color:#5b91aa}.cloud-account-button.error{color:#b7604c}.cloud-account-menu{position:absolute;top:38px;right:-38px;width:220px;padding:13px;border:1px solid #dce7e4;border-radius:14px;background:#fff;box-shadow:0 12px 32px #27485b24;color:#365567}.cloud-account-menu strong{font-size:12px}.cloud-email{margin:5px 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#788c96;font-size:10px}.cloud-status{margin:0 0 8px;color:#5b8b7b;font-size:11px;font-weight:700}.cloud-status.saving{color:#5b91aa}.cloud-status.error{color:#b7604c}.cloud-account-menu small{display:block;margin:0 0 8px;color:#a15c4c;font-size:9px;line-height:1.45}.cloud-account-menu button{width:100%;min-height:34px;border:1px solid #dfe8e5;border-radius:9px;background:#f8fbfa;color:#607b70;font-size:10px;font-weight:700}.cloud-account{position:fixed;top:calc(8px + env(safe-area-inset-top));left:auto;right:max(112px,calc((100vw - 520px)/2 + 112px));z-index:90}.cloud-account-button{width:36px;height:36px;min-height:36px;border-radius:11px;background:#f1f7f5;color:#78909c}.cloud-account-button:hover,.cloud-account-button:focus-visible{background:#e8f3ef}.cloud-account-menu{top:42px;right:0}@media(max-width:360px){.cloud-account{right:106px}}#root{--ui-control-border: #d8e5ec;--ui-control-radius: 9px;--ui-control-text: #28465e;--ui-control-bg: #fff}.brand{gap:8px}.brand-actions{gap:6px}.brand-actions .header-add,.brand-actions .header-layout-action{box-sizing:border-box;height:40px!important;min-height:40px!important;border-radius:10px!important;line-height:1.2}.brand-actions .header-add{flex:0 0 auto;margin-left:0}.brand-actions .header-layout-action{display:inline-flex;align-items:center;justify-content:center;padding-inline:10px}.app-main.list .list-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(5px,2vw,10px);min-height:56px;padding:7px var(--page-inline, 14px)}.app-main.list .dream-count{margin:0;line-height:1}.app-main.list .dream-sort-trigger{box-sizing:border-box;width:auto;max-width:min(42vw,150px);min-height:36px;justify-self:start;padding:4px 9px;border-radius:var(--ui-control-radius);overflow:hidden;text-overflow:ellipsis}.app-main.list .list-controls .check-label{min-width:0;min-height:40px;margin:0;gap:5px!important;font-size:clamp(10px,2.7vw,12px)}.app-main.list .list-controls .check-label input{flex:0 0 auto}.app-main.budget .budget-block-header{box-sizing:border-box;flex:0 0 38px!important;height:38px!important;min-height:38px;gap:8px;padding-inline:12px 9px}.app-main.budget .budget-block-controls{justify-content:flex-end;gap:6px;margin-left:auto}.app-main.budget .budget-block-header .budget-settings-action,.app-main.budget .budget-block-header .dream-sort-trigger{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;height:30px!important;min-height:30px!important;padding:3px 7px!important;border:1px solid var(--ui-control-border)!important;border-radius:8px!important;background:var(--ui-control-bg)!important;color:var(--ui-control-text)!important;font-size:11px!important;line-height:1!important;white-space:nowrap}.app-main.budget .budget-block-header .dream-sort-trigger{max-width:min(27vw,112px);overflow:hidden;text-overflow:ellipsis}.export-screen .export-setting-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,39%);align-items:center;gap:8px;min-height:44px}.export-screen .export-setting-row>label,.export-screen .export-setting-row>span{min-width:0;line-height:1.3}.export-screen .export-setting-row>select,.export-screen .export-setting-row .dream-sort-trigger{box-sizing:border-box;width:100%;min-width:0;height:36px;min-height:36px;padding:4px 8px;border:1px solid var(--ui-control-border);border-radius:var(--ui-control-radius);background:var(--ui-control-bg);color:var(--ui-control-text);font-size:12px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-screen .export-pager{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:4px}.export-screen .export-pager>button{box-sizing:border-box;width:40px;height:40px;min-height:40px;display:grid;place-items:center;border-radius:var(--ui-control-radius)}.export-screen .export-pager>button:not(:disabled):hover,.export-screen .export-pager>button:not(:disabled):focus-visible{background:#eff7fb}.export-screen .export-pager select{box-sizing:border-box;width:100%;min-width:0;height:40px;min-height:40px;padding:4px 8px;text-align:center}.export-screen .export-actions>button,.export-screen .export-save-actions>*{min-height:44px;border-radius:10px}.editor-page-dialog .editor-page-form .actions button,.living-save-bar .primary{box-sizing:border-box;min-height:44px!important;border-radius:10px!important}.living-add-item{min-height:40px;border-radius:var(--ui-control-radius)}.bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.bottom-nav button{width:100%;justify-content:center;text-align:center}.brand-actions{--header-action-width: clamp(84px, 23vw, 102px)}.brand-actions .header-add,.brand-actions .header-layout-action{flex:0 0 var(--header-action-width);box-sizing:border-box;width:var(--header-action-width)!important;min-width:var(--header-action-width)!important;max-width:var(--header-action-width);padding:0 5px!important;border:1px solid #bdd9e6!important;border-radius:10px!important;background:#eff7fb!important;color:#2c779e!important;box-shadow:0 3px 10px #2b7fa31a;font-size:clamp(10px,2.8vw,12px);font-weight:700;white-space:nowrap}.brand-actions .header-add:hover,.brand-actions .header-layout-action:hover{background:#e4f1f7!important}.app-main.timeline>.timeline-edit-mode-banner{flex-basis:40px;height:40px;min-height:40px;margin:1px 14px 3px 22px}.timeline-edit-mode-banner .timeline-legend-toggle{position:absolute;left:6px;display:inline-flex;align-items:center;justify-content:center;height:27px;min-height:27px;padding:0 6px;border:1px solid #a9ccdc;border-radius:7px;background:#f6fcff;color:#286c8e;font-size:11px;line-height:1;cursor:pointer}.timeline-genre-headings{box-sizing:border-box;height:13px;min-height:13px;padding:0 6px 2px 0!important}@media(max-width:360px){.brand{gap:5px}.brand h1{font-size:clamp(15px,4.7vw,18px);letter-spacing:.03em;white-space:nowrap}.brand-actions{gap:4px}.brand-actions .header-layout-action{padding-inline:7px}.app-main.list .list-controls{gap:5px}.app-main.budget .budget-block-header{padding-inline:8px}.app-main.budget .budget-block-controls{gap:4px}.app-main.budget .budget-block-header .budget-settings-action,.app-main.budget .budget-block-header .dream-sort-trigger{padding-inline:5px!important}}.app-main.budget{--budget-sky-tint: #eef8fc;--budget-sky-border: #d6eaf2;--budget-frame-border: #bdd9e6}.app-main.budget .budget-summary{overflow:hidden;padding:0!important;margin-bottom:5px!important;border:1px solid var(--budget-frame-border);border-radius:15px!important;background:linear-gradient(180deg,#deeff8,#edf8fc 55%,#f8fcfe)}.app-main.budget .budget-summary-top{margin:0!important;padding:7px 12px 5px}.app-main.budget .wallet-icon{display:none}.app-main.budget .budget-summary-top>div{display:flex;align-items:baseline;justify-content:space-between;gap:6px;width:100%}.app-main.budget .budget-summary h2{min-width:0;text-align:right;font-size:clamp(18px,5.4vw,26px)!important;line-height:1.05!important;font-weight:750;color:#233f55}.app-main.budget .budget-summary p{margin:0!important;color:#617e8b;font-size:clamp(9px,2.6vw,11px)!important;white-space:nowrap}.app-main.budget .balance{position:relative;z-index:1;height:4px!important;margin:0 12px!important}.app-main.budget .totals{min-height:0!important;gap:0!important;padding:5px 10px 6px;background:transparent}.app-main.budget .totals>div{display:flex;align-items:baseline;justify-content:space-between;min-width:0;gap:4px;padding:0 8px!important}.app-main.budget .totals span{white-space:nowrap}.app-main.budget .totals strong{min-width:0;margin-top:0!important;text-align:right;font-size:clamp(12px,3.8vw,17px)!important;line-height:1.1!important}.app-main.budget .budget-block{border-color:var(--budget-frame-border)}.app-main.budget .budget-sections-generated{grid-template-rows:repeat(2,minmax(0,1fr))!important}.app-main.budget .budget-block:has(.budget-block-empty){min-height:0!important;max-height:none!important;flex:initial!important}.app-main.budget .budget-block-header{border-bottom-color:var(--budget-sky-border);background:var(--budget-sky-tint)}.app-main.budget .budget-block-header strong{color:#2a4858;font-size:15px;font-weight:750}.app-main.budget .budget-block-total{border-top-color:var(--budget-sky-border);background:#fff;color:#2a4858}.app-main.budget .budget-block-total output{color:#2a4858}.app-main.budget .budget-block-list{scroll-snap-type:y mandatory;scroll-padding-block:0}.app-main.budget .budget-display-row,.app-main.budget .budget-display-row .budget-item-main,.app-main.budget .budget-display-row .budget-item-icon{min-height:var(--budget-row-height, 39px)!important;height:var(--budget-row-height, 39px)!important}.app-main.budget .budget-display-row{scroll-snap-align:start}.premium-export-banner{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #bdd9e6;border-radius:10px;background:#f1f9fc;color:#375c70;font-size:11px}.premium-export-banner span{flex:1}.premium-export-banner button{flex:0 0 auto;min-height:34px;padding:4px 8px;border-color:#bdd9e6;background:#fff;color:#287ea5;font-size:11px}.premium-account{display:grid;gap:4px;padding:8px 0;border-block:1px solid #e1ebee;color:#3d6275;font-size:12px}.premium-account button{min-height:36px;color:#287ea5;border-color:#bdd9e6}.premium-dialog{position:fixed;width:min(calc(100% - 40px),390px)!important;max-height:calc(100dvh - 40px)!important;padding:26px 20px 20px!important;border:1px solid #bdd9e6!important;border-radius:18px;background:#fff!important;box-shadow:0 18px 55px #233f5540;color:#2a4858;overflow-y:auto!important}.premium-dialog::backdrop{background:#253f51aa}.premium-dialog>small{display:block;color:#6b95a9;font-size:10px}.premium-dialog h2{margin:6px 0 12px;font-size:21px}.premium-dialog>strong{display:block;margin:12px 0 5px;font-size:22px}.premium-dialog p{margin:6px 0;font-size:13px;line-height:1.6}.premium-dialog .premium-error{color:#a63d3d}.premium-dialog button:not(.premium-close){display:block;width:100%;margin-top:10px}.premium-dialog .premium-buy{color:#fff;background:#348eb8;border-color:#348eb8;font-weight:700}.premium-dialog .premium-close{position:absolute;right:12px;top:12px;width:34px;min-height:34px;padding:0;font-size:23px}.brand .header-account-slot{position:relative;flex:0 0 auto;margin-left:0}.brand .brand-actions{margin-left:auto}.plan-badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:78px;min-width:78px;height:28px;min-height:28px;padding:0 6px;border:1px solid #cfdee3;border-radius:999px;background:#f5f9fa;color:#547484;font-size:11px;font-weight:600;white-space:nowrap;box-shadow:none}.plan-badge:hover{background:#eaf3f6}.plan-badge.is-premium{border-color:#e6dac0;background:#faf8f1;color:#816c43}.plan-badge.is-premium:hover{background:#f5efdf}.plan-badge.sync-error{border-color:#b7604c}.plan-account-menu{position:fixed;z-index:100;top:calc(60px + env(safe-area-inset-top));right:max(12px,calc((100vw - 520px)/2 + 12px));width:min(282px,calc(100vw - 24px));padding:14px;border:1px solid #bdd9e6;border-radius:14px;background:#fff;box-shadow:0 12px 32px #27485b24;color:#365567;font-size:12px}.plan-account-menu>strong{font-size:14px}.plan-account-menu .cloud-email{margin:4px 0 12px}.plan-account-row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:35px;border-top:1px solid #eaf0f3}.plan-account-row .cloud-status{margin:0;font-size:12px}.plan-account-menu small{display:block;margin:4px 0 8px;color:#a15c4c;line-height:1.5}.plan-account-menu button{width:100%;min-height:36px;margin-top:9px;border:1px solid #d5e5ec;border-radius:9px;color:#287ea5;background:#f3f9fc}.plan-account-menu button:last-child{background:#fff;color:#49677a}.premium-intro{color:#56788b}.premium-benefits{margin:15px 0 12px;padding-left:24px;color:#32586a;font-size:13px;line-height:2}.premium-benefits li::marker{color:#4eae94}.premium-dialog .premium-once{margin-top:0;color:#678696}.export-preview-intro{margin:0 0 9px;padding:8px 1px 1px;color:#527589;font-size:12px;line-height:1.5}.export-paper.free-preview{max-width:430px;margin-inline:auto}.export-paper.free-preview iframe{filter:blur(.42px)}.export-preview-watermarks{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;flex-direction:column;justify-content:space-around;align-items:center;pointer-events:none;overflow:hidden}.export-preview-watermarks span{display:block;transform:rotate(-25deg);color:#277394;opacity:.2;font-weight:800;font-size:clamp(24px,10vw,54px);letter-spacing:.18em;text-shadow:1px 1px #fff}.export-actions>button.export-locked{background:#f6f9fa;border-color:#d4e1e6;color:#628697}.export-actions>button.export-locked:hover{background:#eaf4f8}@media(max-width:400px){.brand{gap:4px!important;padding-inline:8px!important}.brand .brand-mark{width:24px!important;height:25px!important}.brand h1{font-size:16px!important;letter-spacing:0!important;white-space:nowrap}.brand .brand-actions{gap:4px!important;--header-action-width: clamp(65px, 20vw, 82px)}}@media(max-width:360px){.brand{gap:3px!important;padding-inline:6px!important}.brand .brand-mark{width:22px!important;height:24px!important}.brand h1{font-size:15px!important}}.legal-page{width:100%;height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:24px 16px 48px;background:linear-gradient(180deg,#f8fbfa,#f2f7f5);color:#29495c}.legal-document{width:min(100%,820px);margin:0 auto;padding:28px clamp(18px,4vw,44px) 36px;border:1px solid #dce8e4;border-radius:22px;background:#fff;box-shadow:0 14px 36px #24485d0d;font-size:14px;line-height:1.85}.legal-header{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e6eeeb}.legal-back{display:inline-block;margin-bottom:20px;color:#4e8071;font-size:12px;text-decoration:none}.legal-kicker{margin:0 0 4px;color:#8aa099;font-size:10px;font-weight:700;letter-spacing:.16em}.legal-header h1{margin:0;color:#29495c;font-size:clamp(24px,5vw,32px);line-height:1.4}.legal-date{margin:8px 0 0;color:#82939b;font-size:11px}.legal-document a{color:#287fa1;text-underline-offset:3px}.legal-section{margin:28px 0}.legal-section h2{margin:0 0 10px;color:#355b69;font-size:16px;line-height:1.5}.legal-section p{margin:8px 0}.legal-section ul{margin:8px 0;padding-left:1.4em}.commercial-list{margin:0}.commercial-list>div{display:grid;grid-template-columns:minmax(150px,28%) minmax(0,1fr);gap:18px;padding:16px 0;border-bottom:1px solid #edf2f0}.commercial-list dt{font-weight:700;color:#456475}.commercial-list dd{margin:0}.legal-footer{margin-top:38px;padding-top:22px;border-top:1px solid #e6eeeb;color:#87979e;font-size:11px}.legal-footer nav{display:flex;flex-wrap:wrap;gap:8px 16px}.legal-footer p{margin:12px 0 0}.auth-legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 12px;margin-top:14px;font-size:10px}.auth-legal-links a,.plan-account-menu .account-legal-links a{color:#4d7f70;text-underline-offset:2px}.legal-consent{padding:10px 12px;border:1px solid #dce8e4;border-radius:12px;background:#f8fbfa}.auth-card .legal-consent label,.consent-card .legal-consent label{display:flex;flex-direction:row;align-items:flex-start;gap:9px;margin:0;font-size:11px;font-weight:500;line-height:1.55}.auth-card .legal-consent input,.consent-card .legal-consent input{width:17px;height:17px;min-height:0;margin:1px 0 0;flex:0 0 auto}.legal-consent a{color:#287fa1}.consent-card{width:min(100%,430px)}.consent-card .auth-primary,.consent-card .auth-secondary{width:100%;margin-top:10px}.consent-card .legal-consent{margin:18px 0 8px}.account-legal-links{display:grid;gap:6px;margin:8px 0 10px;padding:8px 0;border-block:1px solid #e8efec;font-size:10px}@media(max-width:620px){.legal-page{padding:0;background:#fff}.legal-document{border:0;border-radius:0;box-shadow:none;padding:22px 18px 36px}.commercial-list>div{grid-template-columns:1fr;gap:4px}}
