/* Shared 2.0: same Pocket palette, clearer connection and confirmation states. */
:root{--amber:#815314;--amber-bg:#fbf0d8}.app-shell{max-width:660px}.tabbar{max-width:660px}.brand-dot{color:#799654}.wordmark img{width:30px;height:33px}.hero .hero-money{overflow-wrap:anywhere}.hero{margin-bottom:12px}.app-header{margin-bottom:23px}.app-header .eyebrow{font-size:8px;letter-spacing:1px}.version-tag{font-size:10px;background:var(--tint);padding:5px 8px;border-radius:99px;letter-spacing:0}.profile-chip{max-width:135px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-bar{border:1px solid #dac492;background:var(--amber-bg);border-radius:13px;padding:11px 13px;margin-bottom:20px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.demo-bar label{font-size:11px;font-weight:650;flex:1}.demo-bar select{width:160px;padding:8px;border-radius:8px;border:1px solid #ddcfb4;background:#fff;font-size:13px}.demo-bar p{width:100%;font-size:10px;color:var(--amber);line-height:1.5}.demo-bar button{border:0;background:transparent;font-size:11px;text-decoration:underline;min-height:32px}.intro h1{max-width:100%}.topline{display:flex;justify-content:space-between;align-items:center;gap:12px}.topline select{padding:8px;border:1px solid var(--line);border-radius:9px;background:white;font-size:14px;max-width:110px}.stats.four{grid-template-columns:1fr 1fr;margin:13px 0}.stat-label{line-height:1.5}.stat-value{line-height:1.35}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.quick-action{min-height:68px}.quick-action span{font-size:22px;font-weight:400}.quick-action:last-child{grid-column:auto}.notice{font-size:12px;line-height:1.7;padding:14px 16px;margin:14px 0;border-radius:12px;background:var(--tint);color:var(--green)}.notice.warning{background:var(--amber-bg);color:var(--amber)}.notice.danger{color:var(--red);background:#fff0eb}.notice button{border:0;background:none;padding:0;text-decoration:underline;font-size:inherit;color:inherit}.sync-line{font-size:10px;color:var(--muted);margin:12px 0 18px;line-height:1.6;display:flex;justify-content:space-between;gap:8px}.sync-line button{border:0;background:none;text-decoration:underline;font-size:10px;color:var(--green)}.segmented{display:flex;padding:4px;background:#e8ecdf;gap:4px;border-radius:13px;margin:20px 0}.segmented button{flex:1;border:0;border-radius:10px;padding:11px 5px;background:transparent;font-size:12px}.segmented .active{background:white;font-weight:650;box-shadow:0 2px 5px #00000005}.count{display:inline-block;min-width:17px;border-radius:20px;padding:2px 5px;background:var(--amber-bg);color:var(--amber);font-size:10px;margin-left:3px}.balance-card{padding:17px;background:white;border:1px solid var(--line);border-radius:18px;margin-bottom:12px}.balance-card .card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.balance-card h3{font-size:15px;line-height:1.5;overflow-wrap:anywhere}.balance-card .big{font-size:20px;letter-spacing:-.5px;white-space:nowrap}.balance-card p{font-size:11px;color:var(--muted);line-height:1.7;margin-top:6px}.tag{display:inline-block;border-radius:6px;background:var(--tint);color:var(--green);padding:4px 7px;font-size:9px;font-weight:650;margin-bottom:8px}.tag.pending{background:var(--amber-bg);color:var(--amber)}.tag.payable{background:#f4e5df;color:#8c513d}.tag.closed{background:#ebefec;color:#5c6b63}.row-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.row-actions button{flex:1;min-height:39px;padding:9px 11px;font-size:11px;line-height:1.4}.row-actions .text-btn{flex:0 1 auto;min-width:65px}.small-btn.danger{background:#fff0eb;color:var(--red);border-color:#efddd5}.empty p{max-width:340px}.field small{display:block;line-height:1.6;margin-top:7px;color:var(--muted)}.field input,.field select,.field textarea{width:100%;min-width:0;max-width:100%}.field textarea{min-height:80px;padding:12px;border:1px solid var(--line);border-radius:12px;background:white}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkbox-option{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.checkbox-option input{width:18px;height:18px;accent-color:var(--green)}.custom-share{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:10px 0}.custom-share label{font-size:12px;overflow-wrap:anywhere;flex:1}.custom-share input{width:118px;padding:10px;border:1px solid var(--line);border-radius:10px;background:white}.share-list{margin:12px 0}.share-line{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.share-line strong{display:block;font-size:13px}.share-line small{color:var(--muted);font-size:10px}.share-line>div:last-child{text-align:right}.detail-total{font-size:32px;letter-spacing:-1px;margin:6px 0 8px}.timeline{padding:0;list-style:none;margin:15px 0}.timeline li{position:relative;font-size:11px;line-height:1.6;border-left:2px solid #dce3d5;padding:0 0 17px 15px;margin-left:3px}.timeline li:last-child{padding-bottom:0}.timeline li:before{content:'';position:absolute;left:-5px;top:3px;border-radius:50%;width:8px;height:8px;background:#9cb589}.timeline small{display:block;color:var(--muted);font-size:10px}.settings-section{margin-top:24px}.settings-section h2{margin-bottom:14px}.settings-buttons{display:grid;gap:9px;margin-top:15px}.privacy-copy{line-height:1.8;font-size:12px}.login-hero{padding:22px 0 18px}.login-hero h1{font-size:42px;line-height:1.08;letter-spacing:-1.8px;margin:15px 0}.login-hero h1 em{font-style:normal;color:#668745}.login-hero p{font-size:14px;color:var(--muted);line-height:1.8;max-width:430px}.login-card{margin:20px 0}.login-card h2{margin-bottom:8px}.login-card .field{margin-top:15px}.login-example{padding:18px;border-radius:19px;background:var(--green);color:white;margin:20px 0}.login-example .eyebrow{color:#dbe6c5}.login-example .sample-amount{font-size:26px;margin:11px 0}.login-example p{font-size:12px;color:#d3e0cd;line-height:1.7}.login-footer{margin-top:22px;font-size:11px;line-height:1.8;color:var(--muted)}.login-footer a{text-decoration:underline}.inline-btn{padding:5px 0;border:0;background:transparent;text-decoration:underline;font-size:12px;color:var(--green)}.clipboard-field{font-size:12px!important;word-break:break-all}.friend-initial{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:13px;background:var(--tint);font-weight:650}.friend-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.friend-row>div:last-child{flex:1;min-width:0}.friend-row h3{font-size:14px;overflow-wrap:anywhere}.friend-row p{font-size:10px;color:var(--muted);line-height:1.6;margin-top:4px}.form-sticky-note{padding:10px 0;font-size:11px;line-height:1.7;color:var(--muted)}.setup-steps{line-height:1.9;padding-left:20px;font-size:12px}.muted-link{font-size:11px}.activity-item{display:flex;align-items:flex-start;justify-content:space-between;width:100%;gap:12px;background:white;border:0;border-bottom:1px solid var(--line);padding:16px;text-align:left}.activity-item:last-child{border-bottom:0}.activity-item h3{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.activity-item p{font-size:10px;color:var(--muted);line-height:1.7;margin-top:3px}.activity-item strong{font-size:13px;white-space:nowrap}.activity-list{border:1px solid var(--line);background:white;border-radius:17px;overflow:hidden}.section+.section{margin-top:24px}.terms-box{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0}.category-track .category-fill{background:var(--green)}.export-file{display:none}.menu-pill{border:1px solid var(--line);background:white;border-radius:20px;padding:9px 12px;font-size:11px}.thin-divider{border:0;border-top:1px solid var(--line);margin:19px 0}.form-error{font-size:12px}.fixed-error{position:relative}.small-muted{font-size:10px;color:var(--muted);line-height:1.7}.group-label{margin:16px 0 9px;color:var(--muted);font-size:11px;font-weight:600}.checkline{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.7;margin:14px 0}.checkline input{margin-top:4px;width:17px;height:17px;accent-color:var(--green)}.detail-status{margin-bottom:15px}.open-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 13px;gap:12px}.open-heading h2{font-size:18px}.btn-secondary{border:1px solid var(--line);border-radius:12px;background:white;min-height:44px;padding:11px 14px}.private-label{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.tabbar button .nav-symbol{font-size:22px;line-height:1.2;font-weight:400}.tabbar button{gap:4px}.sheet-header button{flex-shrink:0}.text-btn{min-height:32px}.amount-field input{padding-left:18px}.primary-btn,.secondary-btn{min-height:46px}.settings-buttons .secondary-btn{margin:0}.field label{line-height:1.5}.no-margin{margin:0}.modal-info{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:20px}.backup-note{font-size:11px;line-height:1.8;margin:10px 0}.badge-inline{display:inline-block;margin-left:6px;font-size:9px;padding:3px 6px;border-radius:7px;background:var(--tint);font-weight:400}
@media(max-width:380px){.app-shell{padding-left:16px;padding-right:16px}.stat-value{font-size:17px}.balance-card .big{font-size:17px}.field-grid{grid-template-columns:1fr}.quick-action{font-size:10px}.login-hero h1{font-size:37px}.profile-chip{max-width:90px}.demo-bar select{width:145px}.card-top{flex-wrap:wrap}}@media(min-width:700px){.login-hero h1{font-size:46px}.app-shell{padding-left:30px;padding-right:30px}}
