@charset "UTF-8";
:root{--ink:#18223d;--muted:#66718a;--paper:#f4f6fb;--line:#e7ebf3;--green:#227356;--lime:#e7edff;--dark:#315cfa;--white:#fff;--danger:#a63d32;--radius:22px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7193ff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:38px;line-height:1.15;letter-spacing:-1.5px;margin-bottom:12px;font-weight:650}h2{font-size:19px;letter-spacing:-.5px;margin-bottom:16px;font-weight:650}h3{font-size:15px;line-height:1.5;margin-bottom:12px}p{font-size:14px;line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;margin-bottom:14px}.accent-dot{color:#315cfa}.icon{width:21px;height:21px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font-size:32px;letter-spacing:-1.6px;font-weight:750;text-decoration:none}.brand-mark{display:grid;place-items:center;background:var(--dark);color:var(--lime);font-size:36px;letter-spacing:-3px;line-height:1;width:43px;height:43px;border-radius:13px;padding-right:3px;padding-bottom:5px}.brand-dot{color:#315cfa}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:12px;min-height:48px;padding:13px 20px;font-size:13px;font-weight:650;text-decoration:none;transition:background .16s,transform .16s}.button:hover{transform:translateY(-1px)}.primary{background:var(--dark);color:#ffffff}.primary:hover{background:#254ad7}.secondary{border-color:#d8deec;background:var(--white)}.secondary:hover{background:#f8faff}.subtle{background:#edf2ff;color:#3158d7}.full{width:100%}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:none;padding:8px 0;font-size:12px;font-weight:650;text-align:left}.text-button:hover{text-decoration:underline}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border:1px solid var(--line);background:white;border-radius:12px;font-size:0}.icon-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.icon-button:hover{background:var(--paper)}.circle-button{border:1px solid #5d7160;background:none;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:inherit;font-size:0;flex-shrink:0}.circle-button span{display:none}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#edf2ff;font-size:14px;font-weight:700;flex-shrink:0}.avatar.small{width:34px;height:34px}.skip{position:fixed;left:12px;top:-80px;z-index:20;background:white;padding:12px;border-radius:8px}.skip:focus{top:12px}.loading{min-height:100dvh;display:grid;place-content:center;justify-items:center;gap:16px}.small-text{font-size:12px}.danger{color:var(--danger)}.green{color:var(--green)}[hidden]{display:none!important}
.app-shell{display:flex;min-height:100dvh}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:#fff;padding:40px 24px 24px;display:flex;flex-direction:column;z-index:3}.sidebar .brand{margin:0 4px 54px}.sidebar-label{font-size:9px;letter-spacing:1.5px;color:#66718a;padding-left:15px;margin-bottom:15px}.sidebar nav{display:grid;gap:8px}.nav-link{display:flex;align-items:center;gap:13px;width:100%;border:0;background:none;padding:14px;border-radius:11px;font-size:12px;text-align:left;font-weight:550;color:#66718a}.nav-link.active{background:#edf2ff;color:#315cfa;font-weight:700}.nav-link:hover{background:#f4f6fb}.sidebar-bottom{margin-top:auto}.privacy-tag{display:flex;align-items:center;gap:8px;font-size:10px;color:#66718a;padding:20px 8px}.privacy-tag .icon{width:14px;height:14px}.mini-profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:22px}.mini-profile>div{min-width:0;flex:1}.mini-profile strong,.mini-profile span:not(.avatar){display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px}.mini-profile div span{color:var(--muted);font-size:10px;margin-top:4px}.mini-profile .icon-button{border:0;width:30px}.mini-profile .icon{width:17px}.workspace{margin-left:240px;width:calc(100% - 240px)}.topbar{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px}.topbar-label{font-size:12px;color:var(--muted)}.topbar-tools{display:flex;align-items:center;gap:18px}.currency-label{font-size:11px;color:var(--muted);letter-spacing:.5px}.currency-label span{padding:0 5px}.bell{position:relative;background:transparent;border:0}.bell i{position:absolute;right:11px;top:8px;width:6px;height:6px;border-radius:50%;background:#315cfa;border:1px solid var(--paper)}.main-content{max-width:1350px;padding:40px 48px 12px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{margin-bottom:0;font-size:13px}.date-chip{border:1px solid #d8deec;background:#f8faff;padding:10px 14px;border-radius:20px;white-space:nowrap;font-size:11px;color:#66718a}.balance-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.balance-card{padding:28px 30px 22px;border-radius:var(--radius);min-width:0;overflow:hidden;position:relative}.balance-card.dark{background:var(--dark);color:white}.balance-card.dark:after{display:none;content:'';position:absolute;right:-40px;top:-90px;border:1px solid #ffffff30;width:300px;height:300px;border-radius:50%;pointer-events:none}.balance-card.light{background:#ffffff;border:1px solid #e7ebf3}.card-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:500;position:relative;z-index:1}.circle-icon{display:grid;place-items:center;background:#edf2ff;border-radius:50%;width:32px;height:32px;color:#315cfa}.dark .circle-icon{color:var(--lime);background:#ffffff25}.circle-icon .icon{width:17px;height:17px}.big-amount{font-size:clamp(30px,3.8vw,50px);line-height:1.2;letter-spacing:-2px;font-weight:550;margin-top:19px;white-space:nowrap}.dark .big-amount{color:#ffffff}.card-caption{font-size:11px;color:#66718a;margin-top:7px}.dark .card-caption{color:#e3eaff}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e7ebf3;padding-top:18px;margin-top:25px;min-height:50px;font-size:10px;color:#66718a}.dark .card-bottom{border-color:#ffffff35;color:#eef3ff;position:relative;z-index:1}.soft-dot{width:8px;height:8px;background:#315cfa;border-radius:50%}.quick-actions{display:flex;gap:12px;margin:22px 0 34px}.quick-actions .primary{background:var(--lime);color:#18223d}.quick-actions .primary:hover{background:#dce6ff}.quick-actions .button{min-width:210px}.home-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr);gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.section-heading h2{margin:0}.section-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.section-heading.compact{margin:20px 0 8px}.section-heading.compact h3{margin:0}.section-heading .text-button{flex-shrink:0}.entry-list{display:grid}.entry-row{display:flex;gap:13px;align-items:center;padding:19px 0;border:0;border-bottom:1px solid #e7ebf3;width:100%;background:transparent;text-align:left;text-decoration:none}.entry-row:last-child{border-bottom:0}.entry-row:not(.payment-row):hover{background:#fafbff}.entry-icon{width:41px;height:43px;display:grid;place-items:center;flex-shrink:0;background:#fff2e6;color:#ad661e;border-radius:12px}.entry-icon.fuel{background:#edf2ff;color:#315cfa}.entry-icon.paid{background:#e7f6ef;color:#227356}.entry-icon .icon{width:19px;height:19px}.entry-main{display:grid;gap:6px;min-width:0;flex:1}.entry-main strong{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-main>span{font-size:10px;color:var(--muted);line-height:1.5}.entry-main b{font-weight:400;padding:0 4px}.entry-amount{display:grid;gap:7px;text-align:right;justify-items:end;flex-shrink:0}.entry-amount strong{font-size:12px;font-weight:650}.badge{display:inline-flex;font-size:9px;line-height:1.4;padding:3px 7px;border-radius:6px;background:#fff3e3;color:#8c591c;font-weight:500}.badge.paid{background:#e7f6ef;color:#226c51}.badge.partial{background:#edf2ff;color:#3158d7}.row-arrow{width:14px;height:14px;color:#8590a9}.home-aside{display:grid;gap:20px}.relation-card{display:flex;align-items:center;text-align:left;gap:11px;padding:14px 0;width:100%;border:0;background:none}.relation-card>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}.relation-card strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.relation-card small{font-size:10px;color:var(--muted)}.relation-card>.icon{width:15px;height:15px;color:#66718a}.relations-preview .full{margin-top:12px;font-size:11px;min-height:42px}.notification-card{padding:24px 28px;border:1px solid #dce5fc;background:#edf2ff;border-radius:var(--radius)}.notification-symbol{background:#dce6ff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;margin-bottom:15px;color:#3158d7}.notification-symbol .icon{width:18px}.notification-card h3{margin-bottom:7px;font-size:16px}.notification-card p{font-size:11px;color:#66718a;margin-bottom:8px}.notification-card .text-button{font-size:11px;display:flex;justify-content:flex-start}.notification-card .small-text{font-size:10px;color:#66718a;font-weight:500}.page-footer{text-align:center;font-size:10px;color:#66718a;padding:28px 15px 32px}.mobile-nav,.mobile-brand{display:none}.empty-state{text-align:center;padding:36px 15px;color:var(--muted)}.empty-icon{display:inline-grid;place-items:center;background:#edf2ff;width:52px;height:52px;border-radius:17px;margin-bottom:17px}.empty-state h3{color:var(--ink);margin-bottom:7px;font-size:15px}.empty-state p{max-width:300px;margin:0 auto 18px;font-size:12px}.filter-bar{display:flex;gap:15px;margin-bottom:20px}.filter-bar .field{flex:1;margin:0}.relation-totals{display:grid;grid-template-columns:1fr 1fr;background:#f4f6fb;border-radius:12px;padding:20px;margin-bottom:22px;gap:24px}.relation-totals>div{display:grid;gap:8px}.relation-totals span{font-size:11px;color:var(--muted)}.relation-totals strong{font-size:25px;letter-spacing:-.8px}.relation-totals small{font-size:10px;color:#74825e}.tabs{display:flex;border-bottom:1px solid var(--line);gap:24px;margin-top:12px}.tabs button{display:flex;align-items:center;gap:8px;padding:12px 0 17px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:12px;color:var(--muted)}.tabs .active{border-bottom-color:#668c47;color:#375633;font-weight:650}.tabs .icon{width:17px;height:17px}.people-grid,.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.space-top{margin-top:22px}.viewer-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.viewer-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.logout-row{padding:24px 0}.privacy-tag .icon{width:14px}.notice{padding:14px 16px;border:1px solid #e2e9d2;border-radius:10px;background:#f3f7ea;font-size:12px;line-height:1.65;color:#5a6c49;margin:16px 0}.hint{font-size:11px;line-height:1.65;color:var(--muted);margin:4px 0 12px}
.stack{display:grid;gap:17px}.field{display:grid;gap:9px;font-size:12px;min-width:0}.field>span{font-weight:600}.field small{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{width:100%;min-width:0;border:1px solid #d8deec;background:#fff;border-radius:10px;color:var(--ink);padding:13px 14px;min-height:47px;font-size:14px;outline-offset:2px}input::placeholder,textarea::placeholder{color:#7a869f;font-size:12px}textarea{resize:vertical;line-height:1.6}input[type=checkbox],input[type=radio]{accent-color:#315cfa;width:17px;height:17px;flex-shrink:0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{display:flex;align-items:center;gap:8px;font-size:11px}.form-between{display:flex;align-items:center;justify-content:space-between;gap:10px}.form-between .text-button{font-size:10px}.form-error{padding:12px;background:#fff0ec;color:#a4473c;border-radius:8px;font-size:12px;margin:0}.stack>fieldset{border:0;margin:0;padding:0;display:grid;gap:18px;min-width:0}.step-label{font-size:12px;font-weight:600;margin-bottom:22px}.email-pill{font-size:12px;background:#edf2ff;padding:10px 14px;border-radius:8px;color:#3b5396;overflow-wrap:anywhere}.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:white}.auth-art{background:#edf2ff;color:#18223d;display:flex;flex-direction:column;justify-content:space-between;padding:48px 56px;position:relative;overflow:hidden}.auth-art:before{content:'';width:720px;height:720px;border:1px solid #e7ebf3;border-radius:50%;position:absolute;top:40%;left:-55%;pointer-events:none}.auth-art .brand{color:#18223d}.auth-art .brand-mark{color:var(--dark);background:var(--lime)}.auth-art .brand-dot{color:var(--lime)}.auth-statement{max-width:430px;z-index:1;margin:90px 0}.auth-statement .eyebrow{font-size:9px;color:#4563a6;letter-spacing:1.8px}.auth-statement h2{font-size:clamp(32px,3.5vw,52px);line-height:1.16;letter-spacing:-1.7px;font-weight:500;margin-bottom:23px}.auth-statement em{color:var(--lime);font-style:normal}.auth-statement p{font-size:13px;color:#66718a;max-width:290px}.abstract-ledger{margin-top:44px;border:1px solid #dfe6fa;background:#ffffff;border-radius:20px;padding:12px 24px;max-width:350px;transform:rotate(-3deg);box-shadow:14px 17px 0 #315cfa0c}.abstract-ledger>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid #e7ebf3;font-size:12px;color:#18223d}.abstract-ledger>div:last-child{border-bottom:0;color:var(--lime)}.abstract-ledger span{display:flex;align-items:center;gap:10px}.abstract-ledger .icon{width:17px;height:17px}.large-dot{font-size:19px}.art-footer{color:#66718a;font-size:10px;z-index:1}.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:65px 36px 36px;position:relative}.auth-form{width:100%;max-width:360px;margin:auto}.auth-form h1{font-size:31px;letter-spacing:-1px}.auth-form>.muted{font-size:12px;margin-bottom:32px}.auth-form .eyebrow{color:#66718a;font-size:9px}.auth-footer{font-size:8px;letter-spacing:2px;color:#66718a;margin:60px 0 0}.private-note{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:#66718a;margin:25px 0}.private-note .icon{width:13px;height:13px}
dialog{border:0;border-radius:24px;padding:0;max-width:510px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 30px 120px #18223d40;color:var(--ink);background:white;overscroll-behavior:contain}dialog::backdrop{background:#17213e66;backdrop-filter:blur(4px)}dialog.wide{max-width:700px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 26px 17px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.modal-header h2{margin:0;font-size:19px}.modal-header .icon-button{border:0;width:32px;height:32px}.modal-body{padding:22px 26px 28px}.modal-body>.muted{font-size:12px}.calculated{display:flex;align-items:center;justify-content:space-between;padding:17px;background:#edf2ff;border:1px solid #dce5fc;border-radius:10px;margin-top:15px;font-size:12px}.calculated output{font-size:21px;font-weight:650;letter-spacing:-.5px}.upload-box{padding:20px 15px;border:1px dashed #bbc9ee;border-radius:13px;text-align:center;background:#fafbff}.upload-box>.icon{width:24px;height:24px;color:#315cfa;margin-bottom:8px}.upload-box>strong{display:block;font-size:12px}.upload-box p{font-size:10px;color:var(--muted);margin:7px 0 13px}.upload-actions{display:flex;justify-content:center;gap:9px}.small-button{padding:9px 12px;min-height:37px;font-size:10px;cursor:pointer}.selected-file{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:10px;text-align:left;margin-top:10px}.selected-file>span{overflow-wrap:anywhere}.selected-file .icon-button{width:28px;height:28px}.selected-file .icon{width:15px}.payment-options{background:#f4f6fb!important;padding:16px!important;border-radius:10px}.payment-options legend{float:left;width:100%;font-size:12px;font-weight:600;margin-bottom:10px}.invoice-choice{display:flex;gap:10px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.invoice-choice>span{flex:1;min-width:0}.invoice-choice strong{font-size:12px;display:block;overflow-wrap:anywhere}.invoice-choice small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.invoice-choice b{font-size:12px;flex-shrink:0}.success-circle{width:50px;height:50px;display:grid;place-items:center;margin:0 auto 20px;background:#e7f6ef;border-radius:50%;color:#227356}.detail-hero{text-align:center;padding:8px 0 24px;display:grid;justify-items:center;gap:12px}.detail-hero h3{font-size:18px;margin:2px 0;overflow-wrap:anywhere}.detail-hero>strong{font-size:38px;letter-spacing:-1.7px}.detail-hero .badge{font-size:11px;padding:5px 10px}.detail-list{margin:0 0 26px;border-top:1px solid var(--line)}.detail-list>div{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-list dt{color:var(--muted)}.detail-list dd{text-align:right;margin:0;max-width:60%;overflow-wrap:anywhere}.file-link{display:flex;align-items:center;gap:10px;background:#f4f6fb;padding:14px;border-radius:10px;text-decoration:none;margin-bottom:12px;font-size:12px}.file-link>span{flex:1;min-width:0;overflow-wrap:anywhere}.file-link small,.allocation small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.file-link>.icon{width:18px}.allocation{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.activity-row{display:flex;gap:12px;padding:16px 8px;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;width:100%}.activity-row.unread{background:#edf2ff}.activity-row strong{font-size:12px}.activity-row p{font-size:11px;margin:5px 0}.activity-row small{font-size:9px;color:var(--muted)}.install-mark{margin:15px 0 30px}.install-mark .brand{justify-content:center}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);background:#18223d;color:white;border:1px solid #18223d;padding:14px 22px;border-radius:13px;box-shadow:0 8px 30px #18223d22;max-width:calc(100% - 32px);width:max-content;font-size:12px;line-height:1.6;z-index:100;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#833e34;border-color:#af695c}
@media(min-width:1500px){.main-content{padding-top:50px}.home-grid{grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr)}.balance-card{padding:32px 34px}.big-amount{font-size:52px}.topbar{padding:0 60px}.main-content{padding-left:60px;padding-right:60px}}
@media(max-width:1150px){.sidebar{width:210px;padding:32px 19px}.workspace{margin-left:210px;width:calc(100% - 210px)}.main-content{padding:32px 28px 12px}.topbar{padding:0 28px}.home-grid{grid-template-columns:1fr}.home-aside{grid-template-columns:1fr 1fr}.auth-art{padding:40px 36px}.balance-card{padding:24px}.entry-main strong{font-size:13px}.entry-main>span{font-size:11px}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0;width:100%}.topbar{height:76px;padding:0 22px;background:#fff;border-bottom:0}.topbar-label{display:none}.mobile-brand{display:block}.mobile-brand .brand{font-size:26px;gap:8px}.mobile-brand .brand-mark{width:32px;height:32px;border-radius:10px;font-size:28px;padding-bottom:4px}.topbar-tools{gap:8px}.currency-label{display:none}.topbar-tools>.avatar{display:none}.main-content{padding:28px 20px 14px}.page-heading{gap:10px;margin-bottom:23px}.page-heading h1{font-size:31px;letter-spacing:-1px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:11px}.date-chip{display:none}.balance-cards{gap:12px}.balance-card{padding:20px 17px 16px;border-radius:18px}.card-label{font-size:11px;gap:4px;line-height:1.4}.circle-icon{width:25px;height:25px}.circle-icon .icon{width:14px;height:14px}.big-amount{font-size:clamp(23px,5.7vw,37px);letter-spacing:-1.1px;margin-top:22px}.card-caption{font-size:9px;line-height:1.5;min-height:27px}.card-bottom{font-size:9px;margin-top:19px;padding-top:14px;line-height:1.5;min-height:47px}.card-bottom .circle-button{width:27px;height:27px;margin-left:2px}.card-bottom .icon{width:14px;height:14px}.card-bottom .soft-dot{display:none}.balance-card.dark:after{width:220px;height:220px;right:-100px;top:-50px}.quick-actions{gap:10px;margin:16px 0 28px}.quick-actions .button{flex:1;min-width:0;padding:12px 9px;min-height:48px;font-size:10px;gap:6px;border-radius:10px}.quick-actions .icon{width:17px;height:17px}.home-grid{gap:18px}.panel{padding:21px 17px;border-radius:18px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:16px}.section-heading p{font-size:10px}.section-heading .text-button{font-size:10px;gap:4px}.section-heading .text-button .icon{width:14px;height:14px}.entry-row{gap:10px;padding:17px 0}.entry-icon{width:34px;height:37px;border-radius:10px}.entry-icon .icon{width:17px;height:17px}.entry-main strong{font-size:12px}.entry-main>span{font-size:9px;line-height:1.5}.entry-amount strong{font-size:12px}.entry-amount .badge{font-size:8px}.row-arrow{display:none}.home-aside{grid-template-columns:1fr}.relations-preview .relation-card{padding:12px 0}.notification-card{padding:22px}.notification-card p{font-size:12px}.notification-card h3{font-size:17px}.notification-card .text-button{font-size:12px}.page-footer{padding:20px 15px 110px}.mobile-nav{display:flex;align-items:center;justify-content:space-around;gap:4px;position:fixed;bottom:0;left:0;right:0;padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid #e7ebf3;z-index:5}.mobile-nav button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;border:0;background:none;min-height:44px;min-width:50px;font-size:9px;color:#66718a;border-radius:12px}.mobile-nav button.active{color:#315cfa;font-weight:700}.mobile-nav .icon{width:20px;height:20px}.mobile-nav .mobile-add{margin-top:-24px;color:#315cfa}.mobile-nav .mobile-add .icon{width:43px;height:43px;padding:10px;background:var(--lime);border:4px solid var(--paper);border-radius:15px;box-sizing:content-box;box-shadow:0 4px 12px #20381912}.mobile-nav .mobile-add span{margin-top:-2px}.people-grid,.settings-grid{grid-template-columns:1fr;gap:18px}.filter-bar{gap:10px}.filter-bar select{font-size:12px;padding-left:10px;padding-right:8px}.relation-totals{padding:16px;gap:15px}.relation-totals strong{font-size:22px}.page-heading>.button{padding:10px 12px;font-size:11px;min-height:42px}.page-heading>.button .icon{width:17px}.entry-main{min-width:0}.payment-row{align-items:flex-start}.payment-row .entry-amount{max-width:125px}.payment-row .badge{white-space:normal}.auth-shell{grid-template-columns:1fr;background:#f4f6fb;min-height:100dvh}.auth-art{display:none}.auth-main{padding:32px 25px;justify-content:flex-start}.auth-main>.mobile-brand{align-self:flex-start;margin-bottom:65px}.auth-main>.mobile-brand .brand{font-size:31px}.auth-main>.mobile-brand .brand-mark{width:39px;height:39px;font-size:33px}.auth-form{max-width:390px;margin:0 auto}.auth-form h1{font-size:32px}.auth-form>.muted{font-size:13px}.auth-form .eyebrow{font-size:9px}.auth-footer{margin-top:auto;padding-top:55px}.auth-form input{background:#fff}.form-between .text-button{font-size:11px}.check{font-size:12px}.auth-form .button{font-size:14px}.private-note{font-size:11px}.auth-form .field{font-size:13px}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{font-size:16px;min-height:48px}.field{font-size:12px}.hint{font-size:11px}.field input::placeholder{font-size:13px}.two-fields{gap:12px}dialog{width:calc(100% - 20px);max-height:92dvh;border-radius:20px}.modal-header{padding:19px 20px 15px}.modal-header h2{font-size:18px}.modal-body{padding:19px 20px 24px}.modal-body p{font-size:13px}.modal-body .hint{font-size:11px}.modal-body .button{font-size:12px}.modal-body .small-button{font-size:10px}.detail-list>div{font-size:12px}.upload-box{padding:17px 10px}.upload-box p{font-size:10px}#toast{bottom:100px;font-size:12px}.empty-state{padding:28px 8px}.date-chip{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.auth-tabs{display:flex;gap:4px;padding:5px;margin-bottom:30px;background:#e8edf8;border-radius:14px}.auth-tab{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:#66718a;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.auth-tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px #18223d0b}.auth-tab:focus-visible{outline:2px solid #7193ff;outline-offset:2px}.auth-form>.notice{margin:22px 0}

/* Clair : accueil et liens entre personnes. */
:root{--radius:23px}.button{border-radius:15px}.text-button{color:#3158d7}.brand-mark{color:white}.brand-dot{color:var(--dark)}.auth-art .brand-mark{background:var(--dark);color:white}.auth-art .brand-dot,.auth-statement em{color:var(--dark)}.auth-art:before{display:none}.abstract-ledger{transform:none;box-shadow:0 12px 36px #315cfa0c}.abstract-ledger>div:last-child{color:var(--dark)}.auth-form .eyebrow{color:var(--muted)}.field input,.field textarea,.field select{border-radius:13px}.eyebrow{letter-spacing:.3px;color:var(--muted);font-size:11px}.balance-card.dark{box-shadow:0 12px 26px #315cfa19}.card-bottom .text-button{color:white;flex-shrink:0;font-size:11px}.card-bottom .text-button .icon{width:16px}.overview{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;margin-bottom:30px}.overview-actions{display:flex;flex-direction:column;justify-content:center;gap:18px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}.quick-actions .button{padding:20px 10px;flex-direction:column;font-size:13px;min-width:0;border-radius:20px;gap:12px}.quick-actions .icon{color:var(--dark);background:#edf2ff;box-sizing:content-box;padding:11px;border-radius:14px;width:24px;height:24px}.owed-strip{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:19px;padding:18px}.owed-strip>div{display:grid;gap:5px;flex:1;font-size:13px}.owed-strip small{font-size:11px;color:var(--muted)}.owed-strip>strong{font-size:21px;letter-spacing:-.5px}.friends-tools{display:grid;grid-template-columns:1fr 1fr;gap:22px}.friend-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.friend-row:last-child{border-bottom:0}.friend-identity{display:grid;gap:5px;flex:1;min-width:0}.friend-identity strong{font-size:14px;overflow-wrap:anywhere}.friend-identity small{color:var(--muted);overflow-wrap:anywhere}.request-actions{display:flex;align-items:center;gap:15px}.code-actions{display:grid;gap:12px;margin:20px 0 14px}.invitation-code{display:block;text-align:center;font-size:46px;letter-spacing:8px;color:var(--dark);font-variant-numeric:tabular-nums;font-weight:750;margin:24px 0 12px}.code-input{text-align:center;letter-spacing:6px}.code-caption{text-align:center;margin-bottom:24px}summary{font-size:14px;font-weight:650;cursor:pointer}details[open] summary{margin-bottom:16px}.small-button{min-height:40px}.entry-main strong,.entry-amount strong{font-size:13px}.relation-card strong{font-size:13px}.relation-card small{font-size:11px}.entry-icon{border-radius:13px}.nav-count{display:none}.notice{background:#edf2ff;color:#3c508c}.auth-tabs{background:var(--paper)}.auth-tab.active{color:var(--dark)}
@media(max-width:1150px){.overview{gap:18px}.friends-tools{grid-template-columns:1fr}}
@media(max-width:760px){.topbar{background:var(--paper);height:80px}.main-content{padding-top:14px}.page-heading h1{font-size:28px}.page-heading .eyebrow{font-size:11px;letter-spacing:.3px}.overview{display:flex;flex-direction:column;gap:16px;margin-bottom:26px}.balance-card{padding:23px 23px 18px;border-radius:23px}.card-label{font-size:14px}.big-amount{font-size:clamp(30px,10vw,44px);letter-spacing:-1.5px;margin-top:12px;white-space:normal;overflow-wrap:anywhere}.card-caption{font-size:12px;min-height:0}.card-bottom{font-size:10px;margin-top:20px;padding-top:10px}.card-bottom .text-button{font-size:10px}.quick-actions{gap:12px;margin:0}.quick-actions .button{padding:17px 8px;min-height:98px;font-size:12px;gap:10px;border-radius:19px}.quick-actions .icon{padding:8px;width:22px;height:22px;border-radius:12px}.overview-actions{gap:14px}.owed-strip{padding:15px;border-radius:18px}.owed-strip>strong{font-size:20px}.panel{border-radius:21px}.section-heading h2{font-size:17px}.section-heading .text-button{font-size:11px}.entry-icon{width:38px;height:40px;border-radius:12px}.entry-main strong,.entry-amount strong{font-size:13px}.entry-main>span{font-size:10px}.entry-amount .badge{font-size:9px}.mobile-nav button{width:25%;font-size:10px;min-height:46px}.mobile-nav .icon{width:22px;height:22px}.nav-count{position:absolute;left:calc(62.5% + 9px);top:4px;background:var(--dark);color:white;border-radius:10px;min-width:17px;height:17px;display:grid;place-items:center;font-size:10px;padding:0 4px}.friends-tools{grid-template-columns:1fr;gap:18px}.request-actions{flex-direction:column;gap:0}.friend-row{gap:9px}.friend-identity strong{font-size:13px}.friend-identity small{font-size:11px}.auth-main>.mobile-brand{margin-bottom:48px}.auth-tabs{background:#e8edf8}.auth-footer{padding-top:45px}.invitation-code{font-size:40px;letter-spacing:7px}#toast{bottom:calc(90px + env(safe-area-inset-bottom))}.page-footer{padding-bottom:calc(110px + env(safe-area-inset-bottom))}}

.category-control{display:flex;align-items:center;gap:9px;min-width:0}.category-control select{flex:1;width:0;min-width:0}.category-control .entry-icon{width:42px;height:46px}.category-grosserie{background:#e7f6ed;color:#277348}.category-fuel{background:#edf2ff;color:#315cfa}.category-restaurant{background:#fff0e5;color:#b75b21}.category-vehicle{background:#f0eaff;color:#7550b8}.category-hardware{background:#fff5db;color:#956a19}.category-home{background:#e3f4f6;color:#237b87}.category-leisure{background:#fce9f3;color:#ac427e}.category-other{background:#edf0f5;color:#647089}.friend-controls{display:flex;justify-content:flex-end;border-bottom:1px solid var(--line);padding-bottom:8px}.danger-button{background:#a63142;color:white}.danger-button:hover{background:#882537}

.relation-totals.net-balance{display:block}.net-balance small{display:block;margin-top:8px;color:var(--muted);line-height:1.5}
