:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#242038;background:#f4f3fb;font-synthesis:none;--ink:#242038;--muted:#78748b;--purple:#7248ef;--purple-dark:#5730c7;--line:#e9e6f2;--surface:#fff;--soft:#f2edff;--green:#d7f6a5;--coral:#ffb19c;--blue:#b9deff}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible{outline:3px solid #ab91ff;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:3px solid #e6dcff;border-color:var(--purple)}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.25px;line-height:1.14;font-weight:750}h2{font-size:19px;letter-spacing:-.5px;font-weight:700}h3{font-size:15px;letter-spacing:-.15px}svg{width:20px;height:20px;flex-shrink:0}button{border:0}small{font-size:12px}strong{font-weight:650}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#28223c;color:#fff;padding:31px 20px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:29px;font-weight:800;letter-spacing:-1.6px}.brand img{width:38px;height:38px}.brand-tag{font-size:9px;letter-spacing:1.4px;font-weight:600;color:#b1a8cb;text-transform:uppercase;margin:9px 0 33px 49px}.workspace-switch{display:flex;gap:10px;align-items:center;background:#383049;border:1px solid #4b405e;border-radius:14px;padding:12px;margin-bottom:29px;min-width:0}.workspace-switch .space-icon{background:#ae94ff;color:#2c1c4b;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.workspace-switch strong{display:block;font-size:12px;max-width:127px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-switch small{font-size:10px;color:#b3aac9;display:block;margin-top:4px}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#a69bbd;padding:0 12px;margin-bottom:11px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 14px;border-radius:12px;background:transparent;color:#c3bad6;font-size:13px;font-weight:550;min-height:44px}.nav button:hover{background:#3c3252;color:#fff}.nav button.active{background:#9771ff;color:#fff;box-shadow:0 6px 16px #0b06182e}.nav button svg{width:18px;height:18px;stroke-width:1.8}.nav .nav-count{margin-left:auto;font-size:10px;background:#ffffff20;border-radius:5px;padding:2px 5px}.sidebar-bottom{margin-top:auto;padding-top:28px}.sidebar-note{padding:17px;border:1px solid #4a3d61;border-radius:16px;background:linear-gradient(120deg,#413157,#302743);margin-bottom:18px}.sidebar-note .mini-stars{color:#e2c2ff;font-size:23px;line-height:1}.sidebar-note strong{display:block;font-size:13px;margin:9px 0 5px}.sidebar-note p{font-size:11px;line-height:1.65;color:#baadcc}.user-bar{display:flex;align-items:center;gap:10px;padding:16px 6px 0;border-top:1px solid #40354e}.user-bar strong{display:block;font-size:12px;max-width:115px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.user-bar small{display:block;color:#ab9fc0;margin-top:3px;font-size:10px}.user-bar .icon-button{margin-left:auto;color:#c1b8d2}.main{padding:0 38px 30px;min-width:0;max-width:1750px;width:100%;margin:auto}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px;margin-bottom:30px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.breadcrumbs svg{width:14px;height:14px}.breadcrumbs strong{color:var(--ink);font-weight:600}.topbar-actions{display:flex;align-items:center;gap:14px}.selfhost{display:flex;gap:5px;align-items:center;font-size:10px;color:var(--muted)}.selfhost svg{width:13px;height:13px}.period{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:9px 11px;background:#fff}.period svg{width:16px;height:16px;color:#71637f}.period input{border:0;padding:0;font-size:12px;max-width:150px;width:auto;background:transparent;color:var(--ink);outline:none}.page-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.page-title p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:10px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.5px;font-weight:750;color:var(--purple);margin-bottom:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:11px 16px;min-height:42px;font-size:12px;font-weight:650;background:white;color:var(--ink);text-decoration:none;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#f3f0fb;transform:translateY(-1px)}.button.primary,.button.dark{background:var(--purple);color:#fff;border-color:var(--purple);box-shadow:0 4px 10px #7248ef17}.button.primary:hover,.button.dark:hover{background:var(--purple-dark)}.button.lime{background:var(--green);color:#263d21;border-color:var(--green)}.button.small{min-height:34px;padding:7px 11px;font-size:11px}.button.danger{color:#b13b47;border-color:#f0d9dc;background:#fff4f5}.button svg{width:16px;height:16px}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.icon-button{width:33px;height:33px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:transparent;color:var(--muted)}.icon-button:hover{background:#e9e2fc;color:var(--purple)}.icon-button svg{width:17px;height:17px}.text-button{display:inline-flex;align-items:center;gap:6px;background:transparent;color:var(--purple);font-size:12px;font-weight:650;padding:4px 0}.text-button svg{width:15px;height:15px}.banner{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff2ce;color:#735d2e;border:1px solid #efdfb3;border-radius:11px;font-size:12px;line-height:1.5;margin-bottom:24px}.banner svg{width:17px;height:17px}.hero{background:linear-gradient(110deg,#7146ea,#8c5df6);color:#fff;border-radius:22px;padding:28px 31px;display:flex;justify-content:space-between;gap:30px;position:relative;overflow:hidden;margin-bottom:22px;isolation:isolate}.hero:after{content:"";position:absolute;width:260px;height:260px;right:36px;top:-140px;border:46px solid #ffffff0d;border-radius:50%;z-index:-1}.hero .eyebrow{color:#e1d6ff;font-size:10px;margin-bottom:13px}.hero h2{font-size:25px;font-weight:700;letter-spacing:-.9px;max-width:470px;line-height:1.35}.hero p{font-size:12px;line-height:1.7;color:#e7dbff;margin-top:10px;max-width:410px}.hero .hero-actions{display:flex;gap:9px;margin-top:22px}.hero .button{background:#ffffff17;color:#fff;border-color:#ffffff40;box-shadow:none}.hero .button.lime{background:#ddf9af;color:#2e3c22;border-color:#ddf9af}.hero-badge{display:grid;align-content:center;justify-items:center;flex:0 0 152px;position:relative}.hero-badge .badge-orbit{width:108px;height:108px;border:1px solid #cbb2ff80;border-radius:50%;display:grid;place-items:center}.hero-badge .badge-orbit svg{width:47px;height:47px;stroke-width:1.3}.hero-badge .spark{position:absolute;top:8px;right:5px;color:#d8f99d;font-size:35px}.hero-badge span:last-child{font-size:10px;margin-top:11px;letter-spacing:.5px;color:#e6d7ff}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{border-radius:19px;padding:22px 24px;border:1px solid #ebe7f5;background:#fff;overflow:hidden;min-width:0}.stat:nth-child(2){background:#e8f8d3;border-color:#dcecce}.stat:nth-child(3){background:#ffebe4;border-color:#f5ded6}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;gap:10px}.stat-icon{width:31px;height:31px;border-radius:10px;background:#f0eafb;color:#8063ae;display:grid;place-items:center}.stat:nth-child(2) .stat-icon{background:#d8edbd;color:#57773c}.stat:nth-child(3) .stat-icon{background:#fbd7ca;color:#bc735d}.stat-icon svg{width:17px;height:17px}.stat-amount{font-size:32px;font-weight:750;letter-spacing:-1.4px;margin:16px 0 8px;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat-note{font-size:11px;color:#7b748b;line-height:1.5}.content-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:23px;align-items:start}.stack{display:grid;gap:23px}.panel{border:1px solid var(--line);background:#fff;border-radius:19px;overflow:hidden;min-width:0}.panel-header{padding:22px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-header h2{font-size:16px}.panel-header p{font-size:11px;color:var(--muted);line-height:1.6;margin-top:6px}.panel-body{padding:0 23px 22px}.panel-body.padded{padding-top:23px}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 23px;background:#fbfafe;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.count{font-size:10px;background:#f0ebfb;color:#886eb3;padding:4px 7px;border-radius:6px;margin-left:7px;font-weight:650;vertical-align:middle}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#8c839e;font-weight:650;background:#faf9fd;padding:12px 22px;border-block:1px solid #f0edf7}td{padding:17px 22px;font-size:12px;border-bottom:1px solid #f0edf7}tr:last-child td{border-bottom:0}.member-cell{display:flex;align-items:center;gap:11px}.member-cell strong{display:block;white-space:nowrap;font-size:12px}.member-cell small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.avatar{display:inline-grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:13px;font-size:11px;font-weight:750;background:#e5dcff;color:#7550bd}.avatar.a1{background:#fbe1d5;color:#a86547}.avatar.a2{background:#d8eafa;color:#4b78a0}.avatar.a3{background:#e2edce;color:#678846}.avatar.a4{background:#ffe0ed;color:#ac6689}.amount{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.status{font-size:9px;font-weight:650;border-radius:7px;padding:5px 7px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#f0ecf8;color:#7a639e}.status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status.paid,.status.ready,.status.accepted{background:#e7f4db;color:#588438}.status.partial,.status.pending,.status.unknown{background:#fff0d2;color:#aa7b2e}.status.unpaid{background:#f3edfc;color:#9069b3}.status.disabled,.status.neutral{background:#eeeef2;color:#85818e}.status.failed,.status.error{background:#ffebeb;color:#b34b58}.collection{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);padding-bottom:2px}.collection strong{color:#6d479d;font-weight:700}.progress{height:7px;border-radius:9px;background:#f0edf6;flex:1;overflow:hidden}.progress div{height:100%;border-radius:9px;background:#ab83f9}.bill-row{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid #f1eef7}.bill-row:last-child{border-bottom:0}.tile-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#f0e9fc;color:#9267c1;flex-shrink:0}.tile-icon svg{width:18px;height:18px}.tile-icon.t1{background:#ffe9df;color:#c77d53}.tile-icon.t2{background:#e3f2ff;color:#648fc0}.tile-icon.t3{background:#eaf3d9;color:#7a9853}.tile-icon.t4{background:#ffe3f2;color:#b56f9d}.bill-meta{min-width:0;flex:1}.bill-meta strong{display:block;font-size:11px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bill-meta small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.bill-row .amount{font-size:11px}.note{border-radius:11px;padding:13px 15px;font-size:11px;line-height:1.7;background:#f4f0fd;color:#7b6598;display:flex;align-items:flex-start;gap:9px}.note svg{width:16px;height:16px;margin-top:2px}.note.warning{background:#fff3dc;color:#886b32}.help-copy{font-size:12px;color:var(--muted);line-height:1.8}.quick-link{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line);width:100%;background:none;text-align:left}.quick-link:last-child{border:0}.quick-link>div{flex:1}.quick-link strong{font-size:12px;display:block}.quick-link small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.quick-link>svg:last-child{width:15px;color:#9b86be}.connection-grid,.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.connection-card,.person-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:23px;display:flex;flex-direction:column;min-width:0}.connection-card .card-top,.person-card .card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.provider-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;color:#8053bb;background:#ede4ff;font-size:15px;font-weight:800;letter-spacing:-.6px}.provider-icon.smtp{background:#ffe8d1;color:#c18145}.provider-icon.telegram{background:#dff2ff;color:#438cbf}.provider-icon.whatsapp{background:#e0f6e8;color:#548b66}.provider-icon.twilio-sms{background:#ffe4eb;color:#bf6a86}.provider-icon.webhook{background:#e6e2ff;color:#816cc2}.provider-icon.bank-transfer{background:#dfeaff;color:#5c7fb8}.provider-icon.payment-link{background:#f7e3ff;color:#ac6ebd}.provider-icon.cash{background:#e6f3d3;color:#7a9847}.connection-card h3,.person-card h3{font-size:17px;letter-spacing:-.4px;overflow-wrap:anywhere}.connection-card .adapter-label{color:var(--purple);font-size:10px;font-weight:650;letter-spacing:.2px;margin-top:7px}.connection-card p{font-size:11px;color:var(--muted);line-height:1.7;margin:14px 0 20px;flex:1}.connection-card .card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.connection-card .card-bottom small{font-size:10px;color:var(--muted)}.add-card{border:1.5px dashed #d7c8ed;background:#ece7f74d;min-height:230px;border-radius:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:22px;color:#8c70b3}.add-card svg{width:27px;height:27px}.add-card strong{font-size:13px}.add-card span{font-size:11px;font-weight:400;text-align:center;line-height:1.7;max-width:170px}.section-label{display:flex;align-items:center;justify-content:space-between;margin:29px 0 16px}.section-label h2{font-size:18px}.section-label small{font-size:11px;color:var(--muted)}.callout{display:flex;gap:18px;background:#ede6ff;border:1px solid #dfd2fa;border-radius:18px;padding:22px 25px;margin:25px 0}.callout .tile-icon{background:#ded0ff;color:#8b63c6}.callout h3{font-size:14px;margin-bottom:7px}.callout p{font-size:12px;color:#8d76a9;line-height:1.75}.empty{text-align:center;display:flex;align-items:center;flex-direction:column;padding:45px 25px;gap:13px}.empty .empty-icon{width:63px;height:63px;border-radius:21px;background:#f1eafd;color:#a183d1;display:grid;place-items:center;margin-bottom:3px}.empty .empty-icon svg{width:27px;height:27px}.empty h3{font-size:19px;letter-spacing:-.5px}.empty p{color:var(--muted);font-size:12px;line-height:1.75;max-width:350px}.empty .actions{margin-top:9px;justify-content:center}.person-card .person-info{display:grid;gap:9px;font-size:11px;color:var(--muted);margin:15px 0 19px}.person-card .person-info>span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.person-card .person-info svg{width:14px;height:14px;color:#a295b4}.person-card .card-bottom{border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:23px;align-items:start}.field{margin-bottom:17px;min-width:0}.field label{display:block;font-size:11px;font-weight:650;margin-bottom:8px}.field input,.field select,.field textarea{border:1px solid #e1dce9;background:#fff;width:100%;border-radius:10px;min-height:42px;color:var(--ink);padding:11px 12px;font-size:12px;line-height:1.5}.field textarea{resize:vertical;min-height:83px}.field input::placeholder,.field textarea::placeholder{color:#b2a7bd}.field input:disabled,.field select:disabled{background:#f4f2f8;color:#9c91ab}.field small{display:block;color:var(--muted);font-size:10px;line-height:1.7;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.check-label{display:flex!important;align-items:flex-start;gap:9px;font-size:11px!important;font-weight:400!important;line-height:1.7;color:#71647f;margin:13px 0}.check-label input{width:16px!important;min-height:16px!important;height:16px;margin-top:2px;accent-color:var(--purple);flex-shrink:0}.checks{display:grid;grid-template-columns:1fr 1fr}.checks .check-label{margin:6px 0}.field-error{font-size:12px;color:#b74757;line-height:1.6;margin:10px 0}.field-error:empty{margin:0}.form-divider{margin:24px 0 19px;padding-top:20px;border-top:1px solid var(--line)}.form-divider h3{font-size:13px;margin-bottom:7px}.form-divider p{font-size:11px;color:var(--muted);line-height:1.6}.filter-row{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin:-7px 0 20px}.tag{font-size:10px;color:#8c76ab;background:#f3edfb;border-radius:6px;padding:4px 7px}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:18px 23px;border-top:1px solid var(--line)}.activity-row>div{flex:1;min-width:0}.activity-row strong{font-size:12px;display:block}.activity-row p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.activity-row .time{font-size:10px;color:#a195ae;margin-top:7px}.activity-row .status{flex-shrink:0}.app-footer{display:flex;justify-content:space-between;gap:12px;color:#aea4ba;font-size:10px;margin:30px 0 0;padding-top:18px;border-top:1px solid var(--line)}.app-footer>span{display:flex;align-items:center;gap:5px}.app-footer svg{width:13px;height:13px}.auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,1fr);min-height:100vh;background:#faf9fd}.auth-story{background:#35234f;color:#fff;padding:48px 10%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story .brand{font-size:32px;z-index:2}.auth-story .brand img{width:41px;height:41px}.auth-story h1{font-size:clamp(38px,4vw,57px);line-height:1.08;letter-spacing:-2px;font-weight:800;margin-top:70px;max-width:460px;z-index:2}.auth-story h1 span{color:#c2a5ff}.auth-story>p{font-size:14px;line-height:1.8;color:#cbbade;max-width:340px;margin-top:21px;z-index:2}.auth-visual{margin-top:45px;position:relative;min-height:210px;max-width:420px}.float-card{position:absolute;background:#fff;color:#443554;border-radius:18px;padding:18px 20px;box-shadow:0 20px 40px #170a2b30;width:230px;transform:rotate(-7deg);left:0;top:10px}.float-card small{font-size:10px;display:flex;align-items:center;gap:7px;color:#9b87ab}.float-card strong{display:block;font-size:27px;margin-top:15px;letter-spacing:-1px}.float-card .avatars{display:flex;margin-top:15px}.float-card .avatars .avatar{width:27px;height:27px;font-size:9px;border:2px solid #fff;margin-left:-5px;border-radius:50%}.float-card.secondary{transform:rotate(8deg);top:77px;left:140px;width:210px;background:#dcf7ac}.float-card.secondary strong{font-size:18px}.float-card.secondary small{color:#698448}.auth-story .auth-foot{font-size:10px;color:#a994bd;margin-top:auto;padding-top:24px;display:flex;align-items:center;gap:7px;z-index:2}.auth-story .auth-foot svg{width:13px;height:13px}.auth-main{padding:45px 50px;display:flex;align-items:center;justify-content:center}.auth-box{max-width:410px;width:100%}.auth-box h2{font-size:31px;font-weight:750;letter-spacing:-1.1px;line-height:1.2;margin:9px 0 12px}.auth-box>p{font-size:12px;line-height:1.75;color:var(--muted);margin-bottom:25px}.auth-box .button[type=submit]{width:100%;margin-top:7px}.auth-box .note{margin-top:20px}.auth-box .field{margin-bottom:15px}.auth-box .eyebrow{font-size:10px}.auth-brand-mobile{display:none}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.password-wrap button{position:absolute;right:7px;top:5px}.login-tail{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#9a8da8;margin-top:16px}.login-tail button{font-size:10px;color:#9169c8;background:none;padding:0}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:13px;padding:30px;text-align:center}.loading-dot{width:10px;height:10px;background:var(--purple);border-radius:50%;animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.25}}dialog{padding:0;border:1px solid #e2d9ef;border-radius:22px;background:#fff;width:min(670px,calc(100% - 32px));max-height:90vh;box-shadow:0 30px 120px #25103f45;color:var(--ink)}dialog::backdrop{background:#271a3c80;backdrop-filter:blur(5px)}dialog.wide{width:min(760px,calc(100% - 32px))}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:25px 28px 20px}.modal-header h2{font-size:23px;letter-spacing:-.8px;line-height:1.3}.modal-header p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:7px}.modal-header .icon-button{background:#f4f0fa;flex-shrink:0}.modal-body{padding:0 28px 26px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px;margin-top:23px}.modal-actions .danger{margin-right:auto}.statement-total{display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:15px;padding:21px 23px;background:#f0e8ff;margin:3px 0 22px}.statement-total.settled{background:#e7f5d5}.statement-total p{font-size:11px;color:#8a70ad;line-height:1.7}.statement-total strong{font-size:31px;font-weight:750;letter-spacing:-1px}.statement-total small{display:block;margin-top:6px;font-size:10px;color:#9c84bb}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:22px}.tabs button{background:transparent;padding:12px 14px;font-size:12px;color:#9888aa;border-bottom:3px solid transparent;margin-bottom:-1px;display:flex;align-items:center;gap:7px}.tabs button.active{color:var(--purple);border-color:var(--purple);font-weight:650}.tabs button svg{width:15px;height:15px}.statement-line{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.statement-line small{color:var(--muted);display:block;line-height:1.7;font-size:10px}.statement-lines{margin:0 0 22px}.message-bubble{background:#f5f1ff;border:1px solid #ece3ff;border-radius:15px;padding:20px;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:17px 0}.message-bubble:empty{display:none}.detail-section{margin-top:21px;padding-top:20px;border-top:1px solid var(--line)}.detail-section h3{font-size:13px;margin-bottom:12px}.detail-section>p{font-size:11px;color:var(--muted);line-height:1.7}.payment-snapshot{background:#f7f5fb;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:20px;font-size:12px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.payment-snapshot strong{display:block;color:#715390;font-size:11px;margin-bottom:7px}.payment-snapshot a{color:var(--purple)}.adapter-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.adapter-choice{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left}.adapter-choice:hover{border-color:#baa0ec;background:#faf7ff}.adapter-choice .provider-icon{width:37px;height:37px;border-radius:12px;font-size:12px;flex-shrink:0}.adapter-choice strong{font-size:12px;display:block;margin:2px 0 6px}.adapter-choice small{font-size:10px;line-height:1.6;color:var(--muted);display:block}.config-heading{display:flex;align-items:center;gap:12px;margin-bottom:23px;padding:15px;background:#f9f6fe;border-radius:12px}.config-heading h3{font-size:13px}.config-heading p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:5px}.secret-note{display:flex;gap:5px;align-items:center;color:#7c9d55!important}.secret-note svg{width:11px;height:11px}.spacer-top{margin-top:22px}#toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#39274d;color:#fff;border:1px solid #8e70af40;border-radius:12px;padding:14px 20px;box-shadow:0 12px 45px #20162c24;font-size:12px;line-height:1.6;max-width:min(90vw,600px);z-index:100;transition:opacity .15s,transform .15s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a83f52}.mobile-brand{display:none}
@media(min-width:1500px){.main{padding-left:55px;padding-right:55px}.hero{padding:32px 36px}.stats{gap:23px}.stat{padding:25px 28px}.stat-amount{font-size:38px}.content-grid{grid-template-columns:minmax(0,1.9fr) minmax(320px,1fr)}}
@media(max-width:1200px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:15px;padding-right:15px}.main{padding-inline:26px}.brand{font-size:27px}.workspace-switch strong{max-width:111px}.selfhost{display:none}.connection-grid,.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:20px}.stat-amount{font-size:29px}.content-grid{grid-template-columns:minmax(0,1fr)}.content-grid>.stack{grid-template-columns:1fr 1fr}.hero h2{font-size:23px}.hero-badge{flex-basis:130px}.auth-story{padding:39px 9%}.auth-main{padding:38px}.auth-visual{transform:scale(.87);transform-origin:left top}.auth-story h1{margin-top:60px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:820px){.shell{grid-template-columns:80px minmax(0,1fr)}.sidebar{align-items:center;padding:25px 12px}.sidebar .brand span,.brand-tag,.workspace-switch,.nav-label,.sidebar-note,.user-bar>div,.user-bar>.icon-button,.nav-count{display:none}.sidebar .brand{gap:0}.nav{margin-top:36px;width:100%}.nav button{font-size:0;justify-content:center;padding:13px;gap:0}.nav button svg{width:20px;height:20px}.nav button .nav-count{display:none}.sidebar-bottom{width:100%}.user-bar{justify-content:center;padding-top:18px}.main{padding-inline:23px}.topbar{height:75px;margin-bottom:25px}.stats{gap:12px}.stat{padding:18px 17px}.stat-amount{font-size:26px}.stat-icon{display:none}.stat-note{font-size:10px}.page-title h1{font-size:31px}.auth{grid-template-columns:minmax(0,1fr)}.auth-story{display:none}.auth-main{min-height:100vh;padding:33px 25px}.auth-brand-mobile{display:block;margin-bottom:36px}.auth-box{max-width:470px}.auth-box .brand{color:#3e2858;font-size:28px}.auth-box h2{font-size:32px}.auth-box .eyebrow{margin-top:25px}}
@media(max-width:600px){.shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;left:0;right:0;width:100%;height:auto;border-radius:20px 20px 0 0;padding:9px 7px 12px;background:#28223cf5;backdrop-filter:blur(12px);border-top:1px solid #4a3b64}.sidebar>.brand,.sidebar-bottom{display:none}.nav{margin:0;display:grid;grid-template-columns:repeat(6,1fr);gap:3px}.nav button{min-height:48px;display:flex;flex-direction:column;gap:5px;padding:7px 3px;font-size:8px;font-weight:500;border-radius:10px}.nav button svg{width:18px;height:18px}.main{padding:0 17px 100px}.topbar{height:72px;margin-bottom:23px}.breadcrumbs{display:none}.mobile-brand{display:flex;font-size:25px;color:#443058;gap:8px}.mobile-brand img{width:31px;height:31px}.period{padding:8px;gap:4px}.period input{font-size:11px;max-width:126px}.period svg{width:14px}.topbar-actions{gap:6px}.page-title{gap:10px;align-items:flex-start;margin-bottom:20px}.page-title h1{font-size:29px;letter-spacing:-1px}.page-title p{font-size:11px;line-height:1.6;max-width:220px;margin-top:7px}.page-title>.button{font-size:10px;padding:9px 11px;min-height:37px;margin-top:4px;gap:5px}.page-title>.button svg{width:14px}.hero{padding:23px;border-radius:19px;margin-bottom:17px}.hero h2{font-size:22px;line-height:1.35;max-width:280px}.hero p{font-size:11px;margin-top:8px;max-width:250px}.hero-badge{display:none}.hero .hero-actions{margin-top:20px;gap:7px}.hero .button{font-size:10px;padding:9px 12px;min-height:37px}.hero .eyebrow{font-size:9px}.stats{gap:9px;margin-bottom:20px;grid-template-columns:1fr 1fr}.stat{border-radius:16px;padding:18px 15px}.stat:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px}.stat:first-child .stat-amount{grid-column:2;grid-row:1/3;margin:0;font-size:27px}.stat:first-child .stat-note{grid-row:2}.stat-top{font-size:11px}.stat-amount{font-size:27px;margin:15px 0 9px}.stat-note{font-size:10px}.panel{border-radius:16px}.panel-header{padding:20px}.panel-body{padding:0 20px 20px}.panel-body.padded{padding-top:20px}.panel-header h2{font-size:16px}.panel-header p{font-size:10px}.panel-footer{padding:13px 20px;font-size:10px}.panel-footer .text-button{font-size:10px}.content-grid{gap:18px}.content-grid>.stack{grid-template-columns:1fr;gap:18px}.collection{font-size:10px;gap:10px}th,td{padding:12px 13px}th{font-size:9px}td{font-size:11px}.member-cell{gap:8px}.member-cell .avatar{width:29px;height:29px;border-radius:10px;font-size:10px}.member-cell strong{font-size:11px}.member-cell small{font-size:9px}.status{font-size:8px;padding:5px 6px}.table-wrap .text-button{font-size:10px}.table-wrap .text-button svg{width:13px}.connection-grid,.people-grid{grid-template-columns:1fr;gap:15px}.connection-card,.person-card{padding:21px;border-radius:17px}.connection-card .card-top{margin-bottom:15px}.connection-card p{margin-bottom:17px}.add-card{min-height:155px;gap:10px}.add-card span{max-width:280px}.callout{padding:19px;gap:12px;border-radius:15px}.callout p{font-size:11px}.callout .tile-icon{width:32px;height:32px}.section-label{margin-top:25px}.banner{font-size:10px;padding:11px 13px;align-items:flex-start;margin-bottom:20px}.banner svg{width:15px;height:15px}.form-grid{grid-template-columns:1fr;gap:0}.field{margin-bottom:17px}.field input,.field select,.field textarea{font-size:14px}.settings-grid{gap:18px}.app-footer{font-size:9px}.app-footer span:last-child{display:none}.auth-main{padding:30px 23px}.auth-brand-mobile{margin-bottom:29px}.auth-box h2{font-size:29px}.auth-box .form-grid{grid-template-columns:1fr 1fr;gap:0 12px}.auth-box .form-grid .field label{font-size:10px}.auth-box .form-grid .field input{font-size:13px}dialog,dialog.wide{border-radius:19px;width:calc(100% - 20px);max-height:91vh}.modal-header{padding:22px 20px 17px}.modal-header h2{font-size:21px}.modal-body{padding:0 20px 22px}.statement-total{padding:18px;gap:12px}.statement-total strong{font-size:26px}.statement-total p{font-size:10px}.tabs{gap:0;justify-content:space-between}.tabs button{font-size:11px;padding:12px 8px;gap:5px}.tabs button svg{width:14px}.adapter-options{grid-template-columns:1fr}.adapter-choice{padding:14px}.message-bubble{font-size:11px;padding:17px}.modal-actions .button{font-size:11px;padding:10px 13px}.activity-row{padding:17px 20px;gap:10px}.activity-row strong{font-size:11px}#toast{bottom:88px;font-size:11px;padding:12px 16px}.empty{padding:35px 20px}.empty h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


.hero.compact{padding:18px 25px;align-items:center}.hero.compact>div:first-child{display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:center;width:100%}.hero.compact .eyebrow,.hero.compact .hero-badge{display:none}.hero.compact h2{font-size:18px;grid-column:1}.hero.compact p{font-size:11px;margin-top:7px;grid-column:1;max-width:510px}.hero.compact .hero-actions{grid-column:2;grid-row:1/3;margin:0}.hero.compact .hero-actions .button{font-size:11px;padding:9px 12px;min-height:37px}.hero.compact .hero-actions .button:last-child{display:none}@media(max-width:600px){.hero.compact{padding:18px}.hero.compact>div:first-child{display:block}.hero.compact h2{font-size:18px}.hero.compact p{display:none}.hero.compact .hero-actions{margin-top:13px}}
