@font-face{font-family:IBM Plex Sans;font-weight:400;font-display:swap;src:url(/fonts/IBMPlexSans.ttf) format("truetype")}@font-face{font-family:IBM Plex Sans;font-weight:500 700;font-display:swap;src:url(/fonts/IBMPlexSansMedium.ttf) format("truetype")}@font-face{font-family:Arimo;font-weight:400;font-display:swap;src:url(/fonts/Arimo.ttf) format("truetype")}@font-face{font-family:Arimo;font-weight:500 700;font-display:swap;src:url(/fonts/ArimoMedium.ttf) format("truetype")}:root{color-scheme:light;--navy: #121734;--navy-90: #1c2246;--navy-80: #272e57;--navy-60: #4a5178;--blue: #2563eb;--blue-soft: #e8efff;--blue-ink: #1d4fc4;--paper: #f4f4f2;--paper-2: #ebebe7;--surface: #ffffff;--text: #121734;--text-2: #4b5170;--muted: #6b7089;--line: #e4e5ea;--line-2: #d3d5de;--good: #1a7f4b;--good-bg: #e6f4ec;--warn: #a35f00;--warn-bg: #fdf1dc;--bad: #b42318;--bad-bg: #fdecea;--series-1: #2563eb;--series-2: #e06a2c;--radius: 10px;--radius-sm: 6px;--shadow: 0 1px 2px rgba(18, 23, 52, .06), 0 1px 1px rgba(18, 23, 52, .03);--shadow-lg: 0 12px 32px rgba(18, 23, 52, .16), 0 2px 6px rgba(18, 23, 52, .06);--sidebar: 244px;--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--font-head: "Arimo", "Helvetica Neue", Arial, sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font);font-size:14px;line-height:1.5;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:var(--blue-ink);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{font-family:var(--font-head);font-weight:500;margin:0;letter-spacing:-.01em;color:var(--navy)}h1{font-size:26px;line-height:1.2;font-weight:400}h2{font-size:17px}h3{font-size:15px}p{margin:0 0 8px}.num,td.num,th.num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.muted{color:var(--muted)}.small{font-size:12.5px}.tiny{font-size:11.5px}.strong{font-weight:500}.nowrap{white-space:nowrap}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-0{margin-top:0!important}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.gap-1{gap:8px}.gap-2{gap:16px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row.between{justify-content:space-between}.row.top{align-items:flex-start}.stack{display:flex;flex-direction:column;gap:12px}.grow{flex:1;min-width:0}.right{margin-left:auto}:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:4px}.app{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh}.sidebar{background:var(--navy);color:#c9cce0;position:sticky;top:0;height:100vh;overflow-y:auto;display:flex;flex-direction:column;padding:22px 14px 16px}.sidebar .brand{display:flex;align-items:center;gap:10px;padding:2px 10px 22px}.sidebar .brand img{height:26px}.sidebar .brand span{font-size:11px;color:#8d92b5;letter-spacing:.08em;text-transform:uppercase;border-left:1px solid rgba(255,255,255,.22);padding-left:10px;line-height:1.2}.nav-group{margin-bottom:18px}.nav-group .label{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#7d82a6;padding:0 10px 6px}.nav a{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:7px;color:#d4d7ea;font-size:13.5px;text-decoration:none;transition:background .12s}.nav a svg{width:17px;height:17px;flex:none;opacity:.85}.nav a:hover{background:var(--navy-90);color:#fff}.nav a.active{background:var(--navy-80);color:#fff}.nav a.active svg{opacity:1;color:#8fb0ff}.nav a .count{margin-left:auto;font-size:11px;background:#ffffff1f;color:#fff;padding:0 7px;border-radius:10px;line-height:18px}.sidebar .foot{margin-top:auto;padding:12px 10px 0;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#8d92b5}.sidebar .foot .claim{color:#8fb0ff;font-size:11.5px;margin-top:6px}.sidebar .user{display:flex;align-items:center;gap:10px;color:#e4e6f3}.avatar{width:30px;height:30px;border-radius:50%;background:var(--navy-80);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:500;flex:none}.main{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:12px 28px;background:#f4f4f2e0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid transparent}.topbar.scrolled{border-bottom-color:var(--line)}.menu-btn{display:none}.search{position:relative;flex:1;max-width:520px}.search input{width:100%;padding-left:36px;background:var(--surface)}.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;color:var(--muted)}.search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:6px;max-height:420px;overflow:auto;z-index:30}.search-results a{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:7px;color:var(--text);text-decoration:none}.search-results a:hover,.search-results a.sel{background:var(--paper)}.search-results .type{font-size:11px;color:var(--muted);width:92px;flex:none}.content{padding:8px 28px 60px;max-width:1440px;width:100%}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:14px 0 20px}.page-head .sub{color:var(--muted);margin-top:4px;font-size:13.5px}.page-head .actions{display:flex;gap:8px;flex-wrap:wrap}.crumbs{font-size:12.5px;color:var(--muted);margin-bottom:6px}.crumbs a{color:var(--muted)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:18px 20px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line)}.card-head h2{font-size:15px}.card-head .hint{font-size:12.5px;color:var(--muted)}.card-body{padding:16px 20px}.card+.card{margin-top:16px}.grid{display:grid;gap:16px}.grid.c2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.c3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.c4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.c-main{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.section-title{font-family:var(--font-head);font-size:11px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:26px 0 10px}.kpi{padding:16px 18px}.kpi .label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.kpi .value{font-family:var(--font-head);font-size:25px;margin-top:6px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.15}.kpi .foot{font-size:12px;color:var(--muted);margin-top:6px}.kpi.hero{background:var(--navy);color:#fff;border-color:var(--navy);position:relative;overflow:hidden}.kpi.hero .label,.kpi.hero .foot{color:#aeb3d3}.kpi.hero .value{color:#fff;font-size:30px}.kpi.hero:after{content:"";position:absolute;right:-28px;top:-18px;width:150px;height:146px;background:url(/brand/aest-mark-white.svg) no-repeat center / contain;opacity:.06}.delta{font-size:12px;font-weight:500}.delta.up{color:var(--good)}.delta.down{color:var(--bad)}label.field{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--text-2);min-width:0}label.field>span.lbl{font-weight:500;display:flex;align-items:center;gap:6px}label.field .req{color:var(--blue)}.field-hint{font-size:11.5px;color:var(--muted);font-weight:400}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--line-2);border-radius:var(--radius-sm);padding:8px 10px;min-height:36px;width:100%;transition:border-color .12s,box-shadow .12s}textarea{resize:vertical;min-height:64px;line-height:1.45}input:hover,select:hover,textarea:hover{border-color:#b9bccb}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px #2563eb24}input[disabled],select[disabled],textarea[disabled]{background:var(--paper);color:var(--text-2)}input.num{text-align:right;font-variant-numeric:tabular-nums}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--blue)}.check{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13.5px}.form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px 14px}.span-12{grid-column:span 12}.span-8{grid-column:span 8}.span-6{grid-column:span 6}.span-4{grid-column:span 4}.span-3{grid-column:span 3}.span-2{grid-column:span 2}.span-9{grid-column:span 9}.input-suffix{position:relative}.input-suffix input{padding-right:var(--sfx, 30px)}.input-suffix .sfx{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:13px;pointer-events:none}.segmented{display:inline-flex;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:2px}.segmented button{border:0;background:transparent;padding:6px 12px;border-radius:6px;font:inherit;font-size:13px;color:var(--text-2);cursor:pointer}.segmented button.on{background:var(--surface);color:var(--navy);box-shadow:var(--shadow);font-weight:500}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:13.5px;font-weight:500;line-height:1;padding:0 14px;height:36px;border-radius:8px;cursor:pointer;border:1px solid var(--line-2);background:var(--surface);color:var(--navy);white-space:nowrap;text-decoration:none!important;transition:background .12s,border-color .12s,transform .05s}.btn svg{width:16px;height:16px}.btn:hover{background:var(--paper);border-color:#babdcc}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}.btn.primary:hover{background:var(--navy-80)}.btn.accent{background:var(--blue);border-color:var(--blue);color:#fff}.btn.accent:hover{background:var(--blue-ink)}.btn.danger{color:var(--bad)}.btn.danger:hover{background:var(--bad-bg);border-color:#f1b8b2}.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover{background:var(--paper-2)}.btn.sm{height:30px;padding:0 10px;font-size:12.5px;border-radius:7px}.btn.icon{width:36px;padding:0}.btn.sm.icon{width:30px}.btn[disabled]{opacity:.5;cursor:not-allowed}.table-wrap{overflow-x:auto}table.table{width:100%;border-collapse:collapse;font-size:13.5px}.table th{text-align:left;font-weight:400;color:var(--muted);font-size:12px;padding:10px 12px;border-bottom:1px solid var(--line-2);white-space:nowrap;background:var(--surface);position:sticky;top:0}.table td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tbody tr.click{cursor:pointer}.table tbody tr.click:hover td{background:#fafaf8}.table td.actions{text-align:right;white-space:nowrap;width:1%}.table tfoot td{font-weight:500;border-top:1px solid var(--line-2);border-bottom:0}.table .sub{font-size:12px;color:var(--muted)}.table.compact td,.table.compact th{padding:7px 10px}.items-table td{padding:6px;vertical-align:top}.items-table th{padding:8px 6px}.items-table input,.items-table select,.items-table textarea{min-height:34px;padding:6px 8px}.items-table textarea{min-height:34px;height:34px}.items-table .pos{width:30px;color:var(--muted);padding-top:14px;text-align:center}.items-table .drag{cursor:grab;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:500;padding:2px 8px;border-radius:20px;background:var(--paper-2);color:var(--text-2);white-space:nowrap;line-height:18px}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.85}.badge.plain:before{display:none}.badge.blue{background:var(--blue-soft);color:var(--blue-ink)}.badge.good{background:var(--good-bg);color:var(--good)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.bad{background:var(--bad-bg);color:var(--bad)}.badge.navy{background:var(--navy);color:#fff}.callout{display:flex;gap:12px;padding:12px 14px;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);font-size:13.5px}.callout svg{width:18px;height:18px;flex:none;margin-top:1px}.callout.info{background:var(--blue-soft);border-color:#cddcff;color:#19306e}.callout.info svg{color:var(--blue)}.callout.warn{background:var(--warn-bg);border-color:#f3d9a8;color:#6b3d00}.callout.warn svg{color:var(--warn)}.callout.bad{background:var(--bad-bg);border-color:#f5c0ba;color:#7a1a12}.callout.bad svg{color:var(--bad)}.callout.good{background:var(--good-bg);border-color:#bfe3cf;color:#0f4d2d}.callout.good svg{color:var(--good)}.callout b{font-weight:500}.callout ul{margin:4px 0 0;padding-left:18px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--line-2);margin-bottom:16px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.tabs button{border:0;background:none;font:inherit;font-size:13.5px;color:var(--text-2);padding:9px 14px;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}.tabs button:hover{color:var(--navy)}.tabs button.on{color:var(--navy);border-bottom-color:var(--blue);font-weight:500}.tabs button .count{font-size:11px;background:var(--paper-2);border-radius:10px;padding:0 6px;margin-left:6px}.modal-backdrop{position:fixed;inset:0;background:#1217346b;display:grid;place-items:center;z-index:100;padding:20px;animation:fade .12s ease-out}.modal{background:var(--surface);border-radius:14px;box-shadow:var(--shadow-lg);width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;animation:pop .14s ease-out}.modal.wide{width:min(880px,100%)}.modal-head{padding:18px 22px 0}.modal-head h2{font-size:18px}.modal-body{padding:14px 22px}.modal-foot{padding:14px 22px 18px;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{transform:translateY(6px) scale(.99);opacity:0}}.toasts{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;gap:8px;z-index:200}.toast{background:var(--navy);color:#fff;padding:11px 16px;border-radius:10px;box-shadow:var(--shadow-lg);font-size:13.5px;max-width:420px;animation:pop .15s ease-out;display:flex;gap:10px;align-items:flex-start}.toast.error{background:#7a1a12}.toast svg{width:17px;height:17px;flex:none;margin-top:1px}.empty{text-align:center;padding:48px 20px;color:var(--muted)}.empty .ic{width:44px;height:44px;margin:0 auto 12px;border-radius:12px;background:var(--paper);display:grid;place-items:center;color:var(--navy-60)}.empty .ic svg{width:22px;height:22px}.empty h3{color:var(--navy);margin-bottom:4px}.spinner{width:18px;height:18px;border:2px solid var(--line-2);border-top-color:var(--navy);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.loading{display:flex;align-items:center;gap:10px;color:var(--muted);padding:40px;justify-content:center}.dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 18px;font-size:13.5px;margin:0}.dl dt{color:var(--muted)}.dl dd{margin:0;min-width:0;overflow-wrap:anywhere}.divider{height:1px;background:var(--line);margin:14px 0}.totals-box{margin-left:auto;width:min(340px,100%);font-size:13.5px}.totals-box .r{display:flex;justify-content:space-between;padding:5px 0;font-variant-numeric:tabular-nums}.totals-box .r.sum{border-top:1px solid var(--line-2);margin-top:6px;padding-top:10px;font-family:var(--font-head);font-size:17px}.totals-box .r.muted{color:var(--muted)}.progress{height:8px;background:var(--paper-2);border-radius:6px;overflow:hidden;position:relative}.progress>div{height:100%;background:var(--blue);border-radius:6px}.progress.warn>div{background:var(--warn)}.progress.bad>div{background:var(--bad)}.progress .mark{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--navy);border-radius:1px}.file-drop{border:1.5px dashed var(--line-2);border-radius:var(--radius);padding:22px;text-align:center;color:var(--muted);background:#fbfbfa;cursor:pointer;transition:border-color .12s,background .12s}.file-drop:hover,.file-drop.over{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-ink)}.file-drop svg{width:26px;height:26px;margin-bottom:6px}.file-list{display:flex;flex-direction:column;gap:6px}.file-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:13px;background:var(--surface)}.file-item svg{width:16px;color:var(--navy-60);flex:none}.preview-pane{position:sticky;top:72px;align-self:start}.preview-frame{width:100%;height:calc(100vh - 150px);min-height:520px;border:1px solid var(--line);border-radius:var(--radius);background:#e9e9e6;display:block}.preview-img{max-width:100%;border-radius:8px;border:1px solid var(--line)}.kz{display:inline-block;min-width:36px;font-variant-numeric:tabular-nums;font-weight:500;color:var(--navy);background:var(--paper);border-radius:5px;padding:1px 6px;text-align:center;font-size:12.5px}.copy{border:0;background:none;color:var(--muted);cursor:pointer;padding:2px 4px;border-radius:4px}.copy:hover{color:var(--blue);background:var(--blue-soft)}.copy svg{width:14px;height:14px;vertical-align:-2px}.timeline{list-style:none;margin:0;padding:0}.timeline li{display:flex;gap:10px;padding:7px 0;font-size:13px;border-bottom:1px solid var(--line)}.timeline li:last-child{border-bottom:0}.timeline .t{color:var(--muted);width:130px;flex:none;font-size:12px}.deadline{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13.5px}.deadline:last-child{border-bottom:0}.deadline .date{width:50px;flex:none;text-align:center;line-height:1.1}.deadline .date b{display:block;font-family:var(--font-head);font-size:18px;font-weight:500}.deadline .date span{font-size:11px;color:var(--muted);text-transform:uppercase}.legend{display:flex;gap:16px;font-size:12.5px;color:var(--text-2);flex-wrap:wrap}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.chart-tip{position:absolute;pointer-events:none;background:var(--navy);color:#fff;padding:8px 10px;border-radius:8px;font-size:12px;box-shadow:var(--shadow-lg);white-space:nowrap;z-index:5;transform:translate(-50%,-100%);margin-top:-10px}.chart-tip .r{display:flex;justify-content:space-between;gap:14px;font-variant-numeric:tabular-nums}.chart-tip i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:var(--navy);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand:after{content:"";position:absolute;right:-120px;bottom:-110px;width:520px;height:506px;background:url(/brand/aest-mark-white.svg) no-repeat center / contain;opacity:.06}.auth-brand img{height:34px;align-self:flex-start}.auth-brand h1{color:#fff;font-size:40px;line-height:1.12;max-width:460px}.auth-brand .claim{color:#8fb0ff;margin-top:14px}.auth-form{display:grid;place-items:center;padding:40px 24px}.auth-form .box{width:min(380px,100%)}.mobile-only{display:none}@media(max-width:1180px){.grid.c4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.c-main{grid-template-columns:1fr}.preview-pane{position:static}.preview-frame{height:760px}}@media(max-width:860px){.app{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;bottom:0;width:264px;z-index:90;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:var(--shadow-lg)}.sidebar-backdrop{position:fixed;inset:0;background:#12173466;z-index:80}.menu-btn{display:inline-flex}.topbar{padding:10px 16px}.content{padding:4px 16px 90px}.grid.c2,.grid.c3,.grid.c4{grid-template-columns:1fr}.form-grid>*{grid-column:span 12!important}h1{font-size:22px}.auth-page{grid-template-columns:1fr}.auth-brand{padding:28px 24px;min-height:200px}.auth-brand h1{font-size:26px}.hide-mobile{display:none!important}.mobile-only{display:initial}.fab{position:fixed;right:16px;bottom:16px;z-index:40;border-radius:28px;height:52px;padding:0 20px;box-shadow:var(--shadow-lg)}.table th,.table td{padding:9px 8px}}@media print{.sidebar,.topbar,.page-head .actions,.no-print{display:none!important}.app{display:block}body{background:#fff}.card{box-shadow:none}}.grid.c-side{grid-template-columns:minmax(260px,.8fr) minmax(0,2fr)}@media(max-width:1180px){.grid.c-side{grid-template-columns:1fr}}.items .item{padding:12px 14px;border-bottom:1px solid var(--line)}.items .item:hover{background:#fcfcfb}.item-top{display:flex;align-items:center;gap:8px}.item-top .pos{width:22px;flex:none;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center}.item-body{padding-left:30px;display:flex;flex-direction:column;gap:6px;margin-top:6px}.item-nums{display:grid;grid-template-columns:minmax(80px,.9fr) minmax(90px,1fr) minmax(120px,1.3fr) minmax(76px,.7fr) minmax(110px,1.1fr);gap:8px;align-items:end}.item-nums.no-vat{grid-template-columns:minmax(80px,.9fr) minmax(90px,1fr) minmax(120px,1.3fr) minmax(110px,1.1fr)}.item-nums.no-price{grid-template-columns:minmax(80px,140px) minmax(90px,160px)}.item-nums label.field .lbl{font-size:11px;font-weight:400;color:var(--muted)}.item-total{text-align:right;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:7px}.item-total b{font-size:14px}@media(max-width:860px){.item-nums,.item-nums.no-vat{grid-template-columns:1fr 1fr}.item-body{padding-left:0}}.grid>*{min-width:0}.card{min-width:0}.ai-panel{position:fixed;right:20px;top:72px;bottom:20px;width:min(420px,calc(100vw - 40px));background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;z-index:95;animation:pop .14s ease-out}.ai-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;border-bottom:1px solid var(--line)}.ai-head>svg{width:20px;height:20px;color:var(--blue);flex:none}.ai-log{flex:1;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.ai-empty{display:flex;flex-direction:column;gap:8px}.ai-empty p{margin:0 0 4px}.ai-chip{text-align:left;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:8px 11px;font:inherit;font-size:13px;color:var(--text);cursor:pointer}.ai-chip:hover:not(:disabled){border-color:var(--blue);background:var(--blue-soft)}.ai-chip:disabled{opacity:.55;cursor:default}.ai-msg{max-width:88%;padding:8px 12px;border-radius:12px;font-size:13.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.ai-msg.user{align-self:flex-end;background:var(--navy);color:#fff;border-bottom-right-radius:4px}.ai-msg.assistant{align-self:flex-start;background:var(--paper);border-bottom-left-radius:4px}.ai-msg.error{background:var(--bad-bg);color:var(--bad)}.ai-note{display:flex;gap:6px;align-items:flex-start;margin-top:6px;font-size:12px;color:var(--good)}.ai-note svg{flex:none;margin-top:2px}.ai-input{display:flex;gap:8px;align-items:flex-end;padding:10px 12px 4px;border-top:1px solid var(--line)}.ai-input textarea{flex:1;min-height:44px;max-height:160px;resize:none}.ai-actions{display:flex;gap:6px;align-items:center}.ai-mic{width:40px;height:40px;border-radius:50%;border:1px solid var(--line-2);background:var(--surface);color:var(--navy);display:grid;place-items:center;cursor:pointer;flex:none}.ai-mic svg{width:18px;height:18px}.ai-mic:hover:not(:disabled){border-color:var(--blue);color:var(--blue)}.ai-mic:disabled{opacity:.5;cursor:default}.ai-mic.on{background:var(--bad);border-color:var(--bad);color:#fff;animation:ai-pulse 1.4s ease-out infinite}@keyframes ai-pulse{0%{box-shadow:0 0 #b4231873}70%{box-shadow:0 0 0 10px #b4231800}to{box-shadow:0 0 #b4231800}}.ai-foot{padding:2px 16px 10px}@media(max-width:760px){.ai-panel{inset:auto 0 0;width:100%;height:min(80vh,640px);border-radius:16px 16px 0 0;border-bottom:0}}@media(prefers-reduced-motion:reduce){.ai-mic.on,.ai-panel{animation:none}}.ms-login{justify-content:center;height:44px;font-size:14.5px;gap:10px}.ms-login svg{width:16px;height:16px}html{-webkit-text-size-adjust:100%}body.ph-locked{overflow:hidden}.phone{--ph-radius: 16px;--ph-card: 0 .5px 0 rgba(18, 23, 52, .04), 0 1px 2px rgba(18, 23, 52, .04), 0 6px 20px -8px rgba(18, 23, 52, .1);--ph-hair: rgba(18, 23, 52, .08);min-height:100dvh;background:var(--paper);-webkit-tap-highlight-color:transparent;font-size:15px}.phone input,.phone select,.phone textarea{font-size:16px;border-radius:11px}.phone input:not([type=checkbox]):not([type=radio]),.phone select{min-height:44px}.phone .btn{min-height:42px;border-radius:12px;transition:transform .1s,background .15s}.phone .btn:active{transform:scale(.97)}.ph-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;padding:calc(env(safe-area-inset-top) + 8px) 12px 8px 18px;background:#f4f4f2d1;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);transition:box-shadow .2s}.ph-top.scrolled{box-shadow:0 .5px 0 var(--ph-hair)}.ph-brand img{height:20px;display:block}.ph-icon-btn{width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:var(--navy);display:grid;place-items:center;cursor:pointer;box-shadow:0 .5px #1217340f,0 1px 3px #1217340f;transition:transform .1s}.ph-icon-btn svg{width:19px;height:19px}.ph-icon-btn:active{transform:scale(.92)}.ph-icon-btn.on{background:var(--navy);color:#fff}.ph-icon-btn.dark{background:transparent;box-shadow:none;color:var(--muted);width:32px;height:32px}.ph-content{padding:0 16px calc(104px + env(safe-area-inset-bottom))}.ph-large{font:700 32px/1.1 var(--font-head);letter-spacing:-.025em;margin:10px 2px 16px;color:var(--navy)}.ph-tabs{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px 8px calc(env(safe-area-inset-bottom) + 4px);background:#ffffffdb;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 -.5px 0 var(--ph-hair)}.ph-tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0 3px;font-size:10.5px;font-weight:500;letter-spacing:.01em;color:#8a8ea6;text-decoration:none}.ph-tabs a svg{width:25px;height:25px;stroke-width:1.6}.ph-tabs a.on{color:var(--navy)}.ph-tabs a.on svg{stroke-width:2}.ph-plus{justify-self:center;width:50px;height:50px;border-radius:17px;border:0;background:linear-gradient(160deg,#2a3266 0%,var(--navy) 70%);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px -6px #1217348c,inset 0 1px #ffffff1f;cursor:pointer;transition:transform .12s}.ph-plus svg{width:24px;height:24px;stroke-width:2.3}.ph-plus:active{transform:scale(.92)}.ph-plus:disabled{opacity:.35}.ph-segment{display:flex;gap:2px;margin:0 0 14px;padding:3px;background:#1217340f;border-radius:12px}.ph-segment a{flex:1;text-align:center;padding:8px 4px;border-radius:9px;font-size:13.5px;font-weight:500;color:var(--text-2);text-decoration:none;transition:background .15s}.ph-segment a.on{background:#fff;color:var(--navy);font-weight:600;box-shadow:0 1px 3px #1217341f,0 .5px #1217340f}.phone .page-head{margin:10px 2px 16px;align-items:flex-start;flex-direction:column;gap:12px}.phone .page-head h1{font-size:32px;font-weight:700;letter-spacing:-.025em;line-height:1.1;color:var(--navy)}.phone .page-head .sub{font-size:13.5px}.phone .page-head .actions{width:100%;gap:8px}.phone .page-head .actions .btn:not(.icon){flex:1 1 auto;justify-content:center}.phone .page-head .crumbs{font-size:13px}.phone .hide-phone{display:none!important}.phone .page-head .actions:has(>.hide-phone:only-child){display:none}.phone .card{border:0;border-radius:var(--ph-radius);box-shadow:var(--ph-card)}.phone .card-head{padding:16px 16px 0}.phone .card-head h2{font-size:16px;letter-spacing:-.01em}.phone .card-body{padding:14px 16px 16px}.phone .grid{gap:12px}.phone .grid.c4,.phone .grid.c3{grid-template-columns:1fr 1fr}.phone .kpi{padding:14px 14px 13px}.phone .kpi .label{font-size:12px}.phone .kpi .value{font-size:20px;letter-spacing:-.02em}.phone .kpi .foot{font-size:11.5px}.phone .kpi.hero{grid-column:1 / -1;padding:20px 20px 18px;background:radial-gradient(120% 140% at 0% 0%,#2a3266 0%,var(--navy) 55%,#0c1028 100%);box-shadow:0 18px 40px -18px #121734b3}.phone .kpi.hero .value{font-size:36px;letter-spacing:-.03em}.phone .kpi.hero:after{opacity:.08;width:170px;height:166px;right:-30px;top:-10px}.phone .tabs{margin-bottom:8px}.phone .table th,.phone .table td{padding:10px}.phone .deadline:has(>.date){display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:3px;align-items:center;border-bottom-color:var(--ph-hair)}.phone .deadline:has(>.date) .date{grid-row:1 / span 2}.phone .deadline:has(>.date) .grow{grid-row:1 / span 2;font-size:14px}.phone .deadline:has(>.date)>.num{grid-column:3;grid-row:1;text-align:right;font-weight:500}.phone .deadline:has(>.date)>.badge{grid-column:3;grid-row:2;justify-self:end}.phone .deadline:has(>.date)>.badge:nth-child(3){grid-row:1 / span 2}.phone .badge{border-radius:999px;padding:2px 9px;font-size:11.5px}.ph-stats{display:flex;gap:10px;overflow-x:auto;margin:0 -16px 14px;padding:2px 16px 6px;scroll-snap-type:x mandatory;scrollbar-width:none}.ph-stats::-webkit-scrollbar{display:none}.ph-stat{flex:none;min-width:128px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;border:0;border-radius:14px;background:#fff;box-shadow:var(--ph-card);font:inherit;color:var(--text);text-align:left;cursor:pointer;transition:transform .1s,background .15s}.ph-stat:active{transform:scale(.97)}.ph-stat:disabled{cursor:default}.ph-stat-label{font-size:12px;color:var(--muted)}.ph-stat-value{font:600 18px var(--font-head);letter-spacing:-.02em;font-variant-numeric:tabular-nums}.ph-stat.bad .ph-stat-value{color:var(--bad)}.ph-stat.on{background:var(--navy);color:#fff}.ph-stat.on .ph-stat-label{color:#b6bbdb}.ph-stat.on.bad .ph-stat-value{color:#ffb4ab}.ph-filter{display:flex;gap:8px;margin-bottom:10px}.ph-filter>:first-child{flex:1;min-width:0}.ph-searchfield{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;border-radius:12px;background:#1217340f;color:var(--muted)}.ph-searchfield svg{width:17px;height:17px;flex:none}.ph-searchfield input{flex:1;min-width:0;min-height:0!important;height:40px;border:0!important;background:transparent!important;box-shadow:none!important;padding:0;color:var(--text)}.ph-searchfield input::-webkit-search-cancel-button{display:none}.ph-searchfield button{border:0;background:#12173440;color:#fff;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;padding:0}.ph-searchfield button svg{width:11px;height:11px;stroke-width:2.6}.ph-select{width:auto!important;min-height:42px!important;height:42px;padding:0 30px 0 12px;border:0!important;border-radius:12px!important;background-color:#1217340f!important;font-weight:500;color:var(--text)}.ph-pills{display:flex;gap:6px;overflow-x:auto;margin:0 -16px 6px;padding:2px 16px 8px;scrollbar-width:none}.ph-pills::-webkit-scrollbar{display:none}.ph-pills button{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 13px;border:0;border-radius:999px;background:#fff;box-shadow:0 .5px #1217340f,0 1px 2px #1217340f;font:inherit;font-size:13.5px;font-weight:500;color:var(--text-2);cursor:pointer}.ph-pills button.on{background:var(--navy);color:#fff;box-shadow:none}.ph-pills .n{font-size:11.5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#12173412;display:inline-grid;place-items:center}.ph-pills button.on .n{background:#ffffff2e}.ph-section{margin-top:14px}.ph-section-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 4px 7px;font-size:13px;font-weight:600;color:var(--text-2);letter-spacing:-.005em}.ph-section-right{font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}.ph-list{background:#fff;border-radius:var(--ph-radius);overflow:hidden;box-shadow:var(--ph-card)}.ph-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:11px 14px;border:0;background:none;font:inherit;color:var(--text);text-align:left;cursor:pointer;transition:background .12s}.ph-item+.ph-item:before{content:"";position:absolute;top:0;left:66px;right:0;height:.5px;background:var(--ph-hair)}.ph-item:active{background:#12173409}.ph-item.muted{opacity:.55}.ph-item-main{flex:1;min-width:0;display:flex;flex-direction:column}.ph-item-title{font-weight:600;font-size:15.5px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-item-sub{font-size:13px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-item-side{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px;max-width:46%}.ph-item-amount{font:600 15.5px var(--font-head);letter-spacing:-.015em;font-variant-numeric:tabular-nums;white-space:nowrap}.ph-item-amount.pos{color:var(--good)}.ph-item-amount.neg{color:var(--text)}.ph-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;font:600 14px var(--font-head);letter-spacing:.02em}.ph-avatar svg{width:19px;height:19px}.ph-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:40px 24px;margin-top:14px;background:#fff;border-radius:var(--ph-radius);box-shadow:var(--ph-card)}.ph-empty-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);margin-bottom:4px}.ph-empty-icon svg{width:26px;height:26px}.ph-empty b{font:600 17px var(--font-head)}.ph-empty p{margin:0 0 8px;color:var(--muted);font-size:14px;max-width:280px}.ph-sheet-backdrop{position:fixed;inset:0;z-index:96;background:#0c10286b;display:flex;align-items:flex-end;animation:fade .18s ease-out}.ph-sheet{width:100%;max-height:88dvh;overflow:auto;background:var(--paper);border-radius:22px 22px 0 0;padding:8px 16px calc(env(safe-area-inset-bottom) + 18px);animation:ph-up .28s cubic-bezier(.2,.85,.25,1);box-shadow:0 -10px 40px -10px #0c102859}@keyframes ph-up{0%{transform:translateY(100%)}}.ph-grabber{width:36px;height:5px;border-radius:3px;background:#1217342e;margin:2px auto 12px}.ph-sheet-title{font:600 17px var(--font-head);text-align:center;margin-bottom:14px;color:var(--navy)}.ph-action{display:flex;align-items:center;gap:14px;width:100%;padding:15px 16px;margin-bottom:12px;border:0;border-radius:var(--ph-radius);background:#fff;box-shadow:var(--ph-card);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:transform .1s}.ph-action.primary{background:radial-gradient(130% 160% at 0% 0%,#2a3266 0%,var(--navy) 60%);color:#fff;box-shadow:0 14px 30px -14px #121734bf}.ph-action b{display:block;font-size:16px;font-weight:600;letter-spacing:-.01em}.ph-action small{display:block;font-size:13px;opacity:.7;margin-top:2px}.ph-action:active{transform:scale(.98)}.ph-action-icon{width:46px;height:46px;border-radius:14px;background:#ffffff21;display:grid;place-items:center;flex:none}.ph-action-icon.soft{background:var(--blue-soft);color:var(--blue)}.ph-action-icon svg{width:23px;height:23px}.ph-group{background:#fff;border-radius:var(--ph-radius);overflow:hidden;margin-bottom:12px;box-shadow:var(--ph-card)}.ph-row{position:relative;display:flex;align-items:center;gap:13px;width:100%;min-height:52px;padding:11px 14px;border:0;background:none;font:inherit;font-size:16px;letter-spacing:-.01em;color:var(--text);text-decoration:none;text-align:left;cursor:pointer;transition:background .12s}.ph-row+.ph-row:before{content:"";position:absolute;top:0;left:57px;right:0;height:.5px;background:var(--ph-hair)}.ph-row:active{background:#12173409}.ph-row>svg:first-child{width:21px;height:21px;color:var(--navy);flex:none;margin:0 4px}.ph-row>svg:last-child:not(:first-child){width:17px;height:17px;color:#c2c5d3;flex:none;stroke-width:2.2}.ph-row small{display:block;font-size:13px;color:var(--muted);margin-top:1px;letter-spacing:0}.ph-row.danger{color:var(--bad)}.ph-row-icon{width:30px;height:30px;border-radius:9px;background:var(--navy);color:#fff;display:grid;place-items:center;flex:none}.ph-row-icon svg{width:17px;height:17px}.ph-row.danger .ph-row-icon{background:var(--bad)}.ph-group-label{font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:22px 6px 8px}.ph-profile{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border:0;border-radius:var(--ph-radius);background:#fff;box-shadow:var(--ph-card);color:var(--text);font:inherit;text-align:left;cursor:pointer}.ph-profile .avatar{width:50px;height:50px;font:600 17px var(--font-head);background:radial-gradient(120% 120% at 0% 0%,#2a3266,var(--navy))}.ph-profile b{font-size:17px;letter-spacing:-.01em}.ph-profile small{display:block;color:var(--muted);font-size:13px;margin-top:2px}.ph-profile>svg{width:17px;height:17px;color:#c2c5d3}.ph-claim{text-align:center;color:var(--muted);font-size:12.5px;margin:28px 0 8px;letter-spacing:.01em}.ph-install{display:flex;align-items:center;gap:12px;margin:4px 16px 6px;padding:11px 8px 11px 12px;background:#fff;border-radius:var(--ph-radius);box-shadow:var(--ph-card);font-size:13px;line-height:1.35}.ph-install img{width:42px;height:42px;border-radius:10px;flex:none}.ph-install svg{vertical-align:-2px;color:var(--blue)}.ph-search .search{max-width:none}.ph-search .search>svg{display:none}.ph-search .search input{padding-left:14px}.ph-search .search-results{position:static;box-shadow:none;border:0;padding:0;margin-top:10px;max-height:60dvh;background:transparent}.ph-search .search-results a{background:#fff;border-radius:12px;margin-bottom:6px;padding:12px;box-shadow:var(--ph-card)}@media(max-width:760px){.modal-backdrop{padding:0;align-items:end}.modal{width:100%;max-height:92dvh;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:ph-up .24s cubic-bezier(.2,.8,.2,1)}.modal.wide{width:100%}.modal-foot .btn{flex:1 1 auto;justify-content:center}.toasts{left:16px;right:16px;bottom:calc(92px + env(safe-area-inset-bottom))}.ai-panel{padding-bottom:env(safe-area-inset-bottom)}}.ph-stats,.ph-pills{scroll-padding-inline:16px}.phone .grid>.kpi.hero~.kpi:last-child:nth-child(2n){grid-column:1 / -1}.phone .card-head{align-items:flex-start;gap:10px}.phone .card-head .btn{min-height:32px;height:32px;padding:0 12px;font-size:13px;border-radius:999px}.phone .card-head .hint{font-size:12.5px}.ph-tx-head{text-align:center;padding:4px 8px 18px}.ph-tx-amount{font:700 34px var(--font-head);letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--navy)}.ph-tx-amount.pos{color:var(--good)}.ph-tx-ref{margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff;font-size:13.5px;color:var(--text-2);text-align:left;box-shadow:var(--ph-card);overflow-wrap:anywhere}.phone .beleg-grid>.beleg-files{order:-1;position:static!important}.phone .beleg-files .preview-img{max-height:320px;width:100%;object-fit:contain;border-radius:12px;background:#fff}.phone .beleg-files .preview-frame{height:360px!important;border-radius:12px}.phone .item-total{grid-column:1 / -1;flex-direction:row;justify-content:space-between;align-items:baseline;padding:8px 2px 0;border-top:.5px solid var(--ph-hair)}.phone .item-total .tiny{font-size:13px}.phone .item-total b{font:600 16px var(--font-head)}.phone .items .item{padding:14px 16px}@media(max-width:760px){.ai-panel{border-radius:22px 22px 0 0;border:0;box-shadow:0 -10px 40px -10px #0c102859}.ai-head{padding:14px 12px 12px 18px}.ai-input textarea{border-radius:12px}}
