:root{--ink:#18212f;--muted:#697386;--line:#e9edf2;--surface:#fff;--canvas:#f7f8fa;--blue:#246bdb;--red:#de4c4c;--orange:#e8872e;--yellow:#c99808;--green:#249b6b;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.4 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.app-shell{max-width:1660px;margin:auto;padding:34px 38px 54px}.topbar,.top-actions,.section-heading,.board-controls,.company-head,.lane-title,.payment-meta,.drawer-head,.drawer-footer{display:flex;align-items:center}.topbar,.section-heading,.board-controls{justify-content:space-between}.eyebrow{letter-spacing:.1em;font-size:10px;font-weight:800;color:#8892a1;margin:0 0 5px}.eyebrow.blue{color:var(--blue)}h1{font-size:28px;letter-spacing:-.04em;margin:0}h2{margin:0;font-size:18px;letter-spacing:-.02em}.subtitle{margin:5px 0 0;color:var(--muted);font-size:12px}.top-actions{gap:12px}.icon-button,.primary-button,.text-button,.filter,.view-button,.close-drawer,.more-button{border:0;background:transparent;font:inherit;cursor:pointer}.icon-button{font-size:21px;position:relative;color:#4b5565}.notification{width:6px;height:6px;background:var(--red);border-radius:50%;position:absolute;right:2px;top:3px}.primary-button{border-radius:8px;background:var(--ink);color:#fff;padding:10px 15px;font-weight:650}.kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:29px 0}.kpis article{min-height:112px;border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:var(--surface);display:flex;flex-direction:column}.kpis span,.kpis small{color:var(--muted);font-size:12px}.kpis strong{font-size:21px;letter-spacing:-.04em;margin:8px 0 auto}.kpis .positive{color:var(--green)}.critical-text{color:var(--red)}.shortfall-kpi{background:#fff6f5!important;border-color:#f5d8d4!important}.shortfall-kpi strong{color:#b54040}.receipts{background:var(--surface);border:1px solid var(--line);padding:18px 20px 15px;border-radius:var(--radius)}.text-button{font-size:12px;font-weight:650;color:var(--blue)}.text-button span{padding-left:5px}.receipt-list{display:flex;gap:0;margin-top:14px}.receipt-list article{display:flex;align-items:center;gap:10px;min-width:0;flex:1;padding:3px 16px 3px 0;margin-right:16px;border-right:1px solid var(--line)}.receipt-list article:last-child{border:0}.receipt-list i{font-style:normal;background:#e5f7ee;color:var(--green);display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-weight:800}.receipt-list div{display:flex;min-width:0;flex-direction:column}.receipt-list strong{font-size:13px}.receipt-list span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--muted)}.receipt-list b{margin-left:auto;font-size:13px;white-space:nowrap}.receipt-list time{font-size:11px;color:var(--muted);margin-left:8px}.board-controls{margin:30px 0 10px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter,.view-button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px 10px;color:#4d596b;font-size:12px}.filter.active{color:var(--ink);font-weight:650}.filter span{color:#8b95a4;margin-left:6px}.view-button{color:var(--muted)}.board-hint{font-size:11px;color:#8b95a4;margin:0 0 12px}.board{display:flex;gap:18px;overflow-x:auto;padding-bottom:16px}.company{background:#eff1f4;border:1px solid #e4e7eb;min-width:360px;width:360px;border-radius:var(--radius);overflow:hidden}.company-head{padding:18px 18px 14px;gap:10px;flex-wrap:wrap;background:#fff;border-bottom:1px solid var(--line)}.company-title{width:100%;display:flex;align-items:center;justify-content:space-between}.company-title h2{font-size:18px}.company-title .dots{color:#8490a0}.cash-alert{font-size:10px;font-weight:750;color:#bd3d3d;padding:4px 7px;background:#fff0ef;border-radius:5px}.company-metric{min-width:0;flex:1;display:flex;flex-direction:column}.company-metric span{font-size:10px;color:var(--muted)}.company-metric b{font-size:14px;letter-spacing:-.02em;white-space:nowrap}.company-metric b.negative{color:var(--red)}.lane{padding:14px 10px 2px;min-height:110px}.lane-title{justify-content:space-between;padding:0 7px 9px}.lane-title h3{font-size:10px;letter-spacing:.09em;margin:0}.lane-count{font-size:10px;color:var(--muted);border-radius:9px;background:#dfe3e8;padding:2px 6px}.payment-card{background:#fff;border:1px solid #e5e8ed;border-radius:10px;padding:12px;margin-bottom:8px;cursor:pointer;transition:transform .16s,box-shadow .16s;box-shadow:0 1px 1px #15203308;border-left:3px solid var(--yellow)}.payment-card:hover{transform:translateY(-2px);box-shadow:0 7px 14px #15203312}.payment-card[data-priority="critical"]{border-left-color:var(--red)}.payment-card[data-priority="urgent"]{border-left-color:var(--orange)}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:11px}.type-pill{color:#4a5667;font-weight:650}.card-status{font-size:10px;color:#788495}.blocked{color:#ba4141}.payment-card h4{font-size:14px;margin:8px 0 2px}.payment-card p{color:var(--muted);font-size:11px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.amount{font-size:16px;font-weight:750;letter-spacing:-.03em;margin:10px 0}.payment-meta{justify-content:space-between;color:#758093;font-size:10px}.drag-over{outline:2px dashed var(--blue);outline-offset:-4px;background:#e8f1ff}.drawer{z-index:3;position:fixed;right:0;top:0;height:100dvh;width:min(450px,100%);background:#fff;transform:translateX(101%);transition:transform .22s ease;box-shadow:-12px 0 32px #12203a18;overflow:auto}.drawer.open{transform:translateX(0)}.backdrop{position:fixed;inset:0;background:#17233733;opacity:0;pointer-events:none;transition:opacity .22s}.backdrop.open{opacity:1;pointer-events:auto}.drawer-head{height:63px;padding:0 20px;border-bottom:1px solid var(--line);gap:12px}.close-drawer{font-size:27px;color:#778294;line-height:1}.priority-label{font-size:11px;font-weight:700;padding:4px 8px;border-radius:5px}.priority-label.critical{background:#fff0ef;color:#bf4141}.more-button{margin-left:auto;color:#718096}.drawer-body{padding:26px 28px}.drawer-body h2{font-size:25px;margin:6px 0}.drawer-body .company-name{font-size:13px;color:var(--muted);margin:0}.drawer-amount{font-size:30px;font-weight:750;letter-spacing:-.05em;margin:27px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line);margin-top:20px}.detail-grid div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px}.detail-grid span,.drawer-section h3{font-size:10px;letter-spacing:.07em;color:var(--muted);text-transform:uppercase}.detail-grid b{display:block;font-size:13px;margin-top:3px}.drawer-section{margin-top:25px}.drawer-section h3{margin:0 0 11px}.history{list-style:none;margin:0;padding:0}.history li{padding:0 0 13px 16px;border-left:1px solid #dce1e7;font-size:12px;position:relative}.history li:before{content:"";width:7px;height:7px;background:var(--blue);border-radius:50%;position:absolute;left:-4px;top:4px}.history time{color:var(--muted);display:block;font-size:10px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px;font-size:12px;opacity:0;transition:.18s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:950px){.kpis{grid-template-columns:repeat(3,1fr)}.receipt-list{flex-direction:column;gap:10px}.receipt-list article{border:0;margin:0;padding:0}.board-controls{align-items:flex-start;gap:10px}.view-button{display:none}}@media(max-width:600px){.app-shell{padding:22px 16px}.topbar{align-items:flex-start}.kpis{grid-template-columns:repeat(2,1fr);margin:20px 0}.kpis article{min-height:94px;padding:12px}.kpis strong{font-size:17px}.kpis article:last-child{grid-column:span 2}.receipts{padding:15px}.filters{flex-wrap:nowrap;overflow:auto}.filter{white-space:nowrap}.company{min-width:calc(100vw - 32px);width:calc(100vw - 32px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.screen-nav{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-top:26px}.screen-tab{background:transparent;border:0;color:var(--muted);font:600 13px/1 inherit;padding:0 13px 12px;cursor:pointer;position:relative}.screen-tab.active{color:var(--ink)}.screen-tab.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:var(--ink)}.screen-tab span{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#edf0f4;font-size:10px;margin-left:3px}.screen{padding-top:1px}.dashboard-expenses{margin-top:28px}.dashboard-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.compact-card{margin:0}.screen-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0 0}.screen-summary>div{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px 16px}.screen-summary span{color:var(--muted);font-size:11px;display:block}.screen-summary strong{font-size:19px;letter-spacing:-.04em;display:block;margin-top:5px}.receipt-workspace{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.receipt-column{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);padding:16px}.list-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line)}.list-heading h2{font-size:15px}.list-heading span{font-size:11px;color:var(--muted);background:#eef1f4;padding:3px 7px;border-radius:10px}.receipt-card{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.receipt-card:last-child{border-bottom:0}.receipt-card i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e5f7ee;color:var(--green);font-style:normal;font-weight:700}.receipt-card:has(em.expected) i{background:#e9f1ff;color:var(--blue)}.receipt-card div{min-width:0;display:flex;flex-direction:column}.receipt-card strong{font-size:13px}.receipt-card span,.receipt-card small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.receipt-card b{font-size:13px;white-space:nowrap;text-align:right}.receipt-card em{grid-column:3;font-style:normal;font-size:10px;text-align:right}.receipt-card em.received{color:var(--green)}.receipt-card em.expected{color:var(--blue)}@media(max-width:950px){.dashboard-cards{grid-template-columns:1fr}.receipt-workspace{grid-template-columns:1fr}.screen-summary{grid-template-columns:1fr 1fr}}@media(max-width:600px){.screen-nav{overflow:auto}.screen-tab{white-space:nowrap}.screen-summary{grid-template-columns:1fr}.receipt-card{grid-template-columns:30px minmax(0,1fr) auto}.receipt-card em{display:none}}
.drawer-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.edit-button,.cancel-edit{border:1px solid var(--line);background:#fff;border-radius:7px;padding:7px 9px;font:600 12px/1 inherit;color:#4b5565;cursor:pointer}.payment-form{display:flex;flex-direction:column;gap:14px;margin-top:16px}.payment-form label{font-size:11px;color:var(--muted);font-weight:650;display:flex;flex-direction:column;gap:5px}.payment-form input,.payment-form select{font:14px/1.2 inherit;color:var(--ink);background:#fff;border:1px solid #dce1e7;border-radius:7px;padding:9px 10px;width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:16px;margin-top:4px}@media(max-width:600px){.form-grid{grid-template-columns:1fr}}
.responsible-summary,.calendar-top{display:flex;justify-content:space-between;align-items:end;margin:28px 0 16px}.responsible-summary h2,.calendar-top h2{font-size:21px}.responsible-summary p:not(.eyebrow){margin:5px 0 0;color:var(--muted);font-size:12px}.responsible-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.responsible-card{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e9f1ff;color:var(--blue);font-size:12px;font-weight:750}.responsible-card>div:nth-child(2){min-width:0;flex:1}.responsible-card h3{font-size:14px;margin:0}.responsible-card p{font-size:11px;color:var(--muted);margin:3px 0 0}.responsible-stat{text-align:right}.responsible-stat span{display:block;font-size:10px;color:var(--muted)}.responsible-stat b{font-size:16px}.responsible-card .text-button{white-space:nowrap}.calendar-modes{display:flex;gap:4px;background:#edf0f4;padding:3px;border-radius:8px}.calendar-mode{border:0;background:transparent;color:var(--muted);font:600 12px/1 inherit;border-radius:6px;padding:8px 10px;cursor:pointer}.calendar-mode.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #18212f12}.calendar-hint{font-size:11px;color:var(--muted);margin:0 0 14px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:7px}.calendar-weekdays{margin-bottom:6px}.calendar-weekdays span{font-size:10px;color:var(--muted);padding-left:9px}.calendar-day{min-height:126px;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:9px;display:flex;flex-direction:column}.calendar-day.muted{background:transparent;border-color:transparent}.calendar-day.today{border-color:var(--blue);box-shadow:0 0 0 1px #246bdb25}.day-number{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.day-number span{font-size:9px;font-weight:650;color:var(--blue);background:#e9f1ff;border-radius:4px;padding:2px 4px}.calendar-flow{margin:11px 0 auto;display:flex;flex-direction:column;gap:3px}.calendar-flow b{font-size:11px;font-weight:650}.flow-in{color:var(--green)}.flow-out{color:var(--red)}.day-net{padding-top:7px;border-top:1px solid var(--line);font-size:11px;font-weight:750}.day-net.positive{color:var(--green)}.day-net.negative{color:var(--red)}@media(max-width:950px){.responsible-list{grid-template-columns:1fr}.calendar-grid,.calendar-weekdays{overflow-x:auto;grid-template-columns:repeat(7,110px);padding-bottom:6px}}@media(max-width:600px){.responsible-summary,.calendar-top{align-items:flex-start;gap:12px;flex-direction:column}.calendar-modes{width:100%;justify-content:space-between}.calendar-mode{flex:1}.responsible-card{flex-wrap:wrap}.responsible-card .text-button{margin-left:auto}}
.calendar-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 16px}.calendar-summary article{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 14px}.calendar-summary span,.calendar-summary small{display:block;font-size:10px;color:var(--muted)}.calendar-summary strong{display:block;font-size:17px;letter-spacing:-.03em;margin:4px 0}.calendar-summary .calendar-net{background:#f4f8ff;border-color:#dce9ff}.calendar-day{min-height:150px}.calendar-operations{display:flex;flex-direction:column;gap:5px;margin:10px 0 auto}.calendar-operation{display:flex;align-items:flex-start;gap:5px;min-width:0}.calendar-operation>span{width:14px;height:14px;border-radius:4px;display:grid;place-items:center;flex:0 0 auto;font-size:11px;font-weight:800}.calendar-operation.in>span{background:#e5f7ee;color:var(--green)}.calendar-operation.out>span{background:#fff0ef;color:var(--red)}.calendar-operation p{font-size:10px;line-height:1.2;color:#465267;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-operation b{display:block;font-size:10px;color:var(--ink);margin-top:2px}.no-operations{font-size:10px;color:#a1a9b5;margin:13px 0 0}.calendar-day .day-net{font-size:10px}@media(max-width:950px){.calendar-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.calendar-summary{grid-template-columns:1fr 1fr}.calendar-summary strong{font-size:14px}}
@media(max-width:600px){body{font-size:15px}.app-shell{padding:18px 14px 34px}.topbar{gap:14px}.topbar h1{font-size:25px}.top-actions{gap:8px}.icon-button{width:42px;height:42px}.primary-button{min-height:42px;padding:10px 13px}.screen-nav{margin:18px -14px 0;padding:0 14px;gap:8px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.screen-tab{min-height:42px;padding:0 10px 12px;scroll-snap-align:start}.screen-tab.active:after{left:10px;right:10px}.kpis{gap:8px}.kpis article{border-radius:11px}.receipts,.receipt-column{border-radius:11px}.receipt-list article{min-height:42px}.dashboard-expenses{margin-top:24px}.payment-card{min-height:116px;padding:14px;margin-bottom:10px}.payment-card h4{font-size:15px}.amount{font-size:18px}.board{margin:0 -14px;padding:0 14px 16px;scroll-snap-type:x mandatory}.company{scroll-snap-align:center;min-width:calc(100vw - 28px);width:calc(100vw - 28px);border-radius:12px}.company-head{padding:16px}.lane{padding:15px 10px 4px;min-height:125px}.drawer{width:100vw;border-radius:0}.drawer-head{height:58px;padding:0 16px;position:sticky;top:0;background:#fff;z-index:1}.drawer-body{padding:22px 18px 34px}.payment-form{gap:16px}.payment-form input,.payment-form select{min-height:44px;font-size:16px}.form-actions{position:sticky;bottom:-34px;background:#fff;padding:14px 0 2px}.form-actions .primary-button,.form-actions .cancel-edit{min-height:44px}.form-actions .primary-button{flex:1}.responsible-card{padding:15px}.responsible-card .text-button{min-height:38px}.calendar-grid{display:grid;grid-template-columns:1fr;overflow:visible;gap:9px}.calendar-weekdays{display:none}.calendar-day{min-height:0;padding:12px;border-radius:11px}.calendar-day.muted{display:none}.calendar-operations{gap:8px;margin:12px 0}.calendar-operation>span{width:20px;height:20px;font-size:13px}.calendar-operation p{font-size:12px;white-space:normal}.calendar-operation b{font-size:12px}.calendar-day .day-net{font-size:12px;padding-top:9px}.no-operations{margin:3px 0}.calendar-summary{gap:8px}.calendar-summary article{padding:11px}.calendar-hint{line-height:1.45}.receipt-workspace{margin-top:14px}.filter{min-height:40px}.toast{max-width:calc(100vw - 28px);text-align:center}}
.app-frame{min-height:100dvh;display:grid;grid-template-columns:244px minmax(0,1fr)}.app-sidebar{position:sticky;top:0;height:100dvh;background:#17212f;color:#c7d0dc;padding:22px 12px;display:flex;flex-direction:column;border-right:1px solid #243246}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:#fff;font-weight:750;font-size:16px;padding:4px 8px 25px;letter-spacing:-.02em}.brand small{display:block;font-size:10px;font-weight:600;color:#8f9bad;letter-spacing:.08em;text-transform:uppercase;margin-top:1px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:linear-gradient(145deg,#4888f0,#2757c7);box-shadow:0 6px 14px #0004;font-size:17px}.sidebar-label{font-size:9px;letter-spacing:.1em;color:#7e8b9d;padding:0 10px;margin:0 0 8px;font-weight:750}.side-nav{display:flex;flex-direction:column;gap:3px}.side-nav-item{display:flex;align-items:center;gap:11px;width:100%;border:0;border-radius:8px;background:transparent;color:#abb8c8;padding:10px 11px;font:600 13px/1 inherit;text-align:left;cursor:pointer}.side-nav-item i{font-style:normal;color:#94a6bd;font-size:16px;width:16px;text-align:center}.side-nav-item span{margin-left:auto;font-size:10px;background:#2c3a4e;color:#c9d7eb;border-radius:9px;padding:2px 6px}.side-nav-item:hover{background:#202e40;color:#f3f7fc}.side-nav-item.active{background:#285dcc;color:#fff;box-shadow:0 3px 10px #07142a55}.side-nav-item.active i{color:#fff}.side-nav-item.active span{background:#ffffff2a;color:#fff}.sidebar-spacer{flex:1}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid #2a394d;margin-top:14px;padding:15px 8px 1px}.profile-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#dbeafe;color:#2852ad;font-size:10px;font-weight:800}.profile div{min-width:0;flex:1}.profile strong{display:block;color:#edf3fa;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:9px;color:#8f9bad;white-space:nowrap}.profile b{font-size:13px;color:#8f9bad}.app-shell{max-width:none;width:100%;padding:34px 42px 54px;background:var(--canvas)}.topbar{padding-bottom:4px}.topbar h1{font-size:30px}.screen-nav{display:none}.kpis article,.receipts,.receipt-column,.responsible-card,.calendar-summary article,.screen-summary>div{box-shadow:0 1px 2px #1b2a3d08}.payment-card{box-shadow:0 1px 2px #1520330b}.board-controls{position:relative}.top-actions .icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff}@media(max-width:1000px){.app-frame{grid-template-columns:202px minmax(0,1fr)}.app-shell{padding:28px 26px 44px}.brand{padding-bottom:20px}}@media(max-width:720px){.app-frame{display:block}.app-sidebar{display:none}.app-shell{padding-bottom:82px}.screen-nav{display:flex;position:fixed;z-index:4;bottom:0;left:0;right:0;margin:0;padding:7px 6px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);justify-content:space-around;overflow:visible;box-shadow:0 -4px 18px #1723370c}.screen-tab{min-width:0;flex:1;padding:6px 4px 4px;min-height:48px;font-size:10px;text-align:center}.screen-tab span{display:none}.screen-tab.active:after{left:30%;right:30%;bottom:0}.screen-tab:before{display:block;font-size:16px;line-height:18px;color:#7f8a99}.screen-tab[data-screen="dashboard"]:before{content:"◫"}.screen-tab[data-screen="expenses"]:before{content:"↗"}.screen-tab[data-screen="receipts"]:before{content:"↓"}.screen-tab[data-screen="responsible"]:before{content:"◌"}.screen-tab[data-screen="calendar"]:before{content:"□"}.app-shell{padding:18px 14px 90px}.topbar{padding-bottom:0}.screen-nav{margin-top:0}.kpis{margin-top:20px}}
.calendar-day.past{opacity:.46;filter:saturate(.65)}.day-number .past-label{color:#8994a4;background:#edf0f4}.calendar-day.today{border-width:2px;background:#fbfdff}.calendar-day.today .day-number{color:var(--blue)}
.calendar-tools{display:flex;align-items:center;gap:10px}.calendar-zoom{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}.calendar-zoom button{width:31px;height:32px;border:0;background:#fff;color:#475569;font-size:19px;cursor:pointer}.calendar-zoom button:hover:not(:disabled){background:#f3f6fa}.calendar-zoom button:disabled{color:#c4ccd6;cursor:not-allowed}.calendar-zoom strong{min-width:72px;text-align:center;font-size:11px;border-left:1px solid var(--line);border-right:1px solid var(--line);padding:9px 6px;white-space:nowrap}@media(max-width:720px){.calendar-tools{width:100%;align-items:stretch;flex-direction:column}.calendar-zoom{justify-content:center}.calendar-zoom strong{min-width:94px}.calendar-zoom button{width:44px;height:40px}.calendar-modes{width:100%}}
.calendar-grid[data-scale="1"] .calendar-day{min-height:250px;padding:15px}.calendar-grid[data-scale="1"] .day-number{font-size:15px}.calendar-grid[data-scale="1"] .calendar-operations{gap:9px;margin:16px 0}.calendar-grid[data-scale="1"] .calendar-operation>span{width:21px;height:21px;font-size:13px}.calendar-grid[data-scale="1"] .calendar-operation p,.calendar-grid[data-scale="1"] .calendar-operation b{font-size:12px}.calendar-grid[data-scale="1"] .day-net{font-size:12px}.calendar-grid[data-scale="2"] .calendar-day{min-height:190px;padding:12px}.calendar-grid[data-scale="2"] .calendar-operation p,.calendar-grid[data-scale="2"] .calendar-operation b{font-size:11px}.calendar-grid[data-scale="4"] .calendar-day{min-height:132px;padding:8px}.calendar-grid[data-scale="4"] .calendar-operations{gap:3px;margin:7px 0 auto}.calendar-grid[data-scale="4"] .calendar-operation>span{width:13px;height:13px;font-size:10px}.calendar-grid[data-scale="4"] .calendar-operation p,.calendar-grid[data-scale="4"] .calendar-operation b{font-size:9px}.calendar-grid[data-scale="4"] .day-net{font-size:9px;padding-top:5px}@media(max-width:720px){.calendar-grid[data-scale="1"] .calendar-day,.calendar-grid[data-scale="2"] .calendar-day,.calendar-grid[data-scale="4"] .calendar-day{min-height:0;padding:12px}.calendar-grid[data-scale="1"] .calendar-operation p,.calendar-grid[data-scale="1"] .calendar-operation b,.calendar-grid[data-scale="2"] .calendar-operation p,.calendar-grid[data-scale="2"] .calendar-operation b,.calendar-grid[data-scale="4"] .calendar-operation p,.calendar-grid[data-scale="4"] .calendar-operation b{font-size:12px}.calendar-grid[data-scale="1"] .calendar-operation>span,.calendar-grid[data-scale="2"] .calendar-operation>span,.calendar-grid[data-scale="4"] .calendar-operation>span{width:20px;height:20px;font-size:13px}.calendar-grid[data-scale="4"] .calendar-operations{gap:8px;margin:12px 0}}
.nav-icon{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.side-nav-item .nav-icon{color:#94a6bd}.side-nav-item.active .nav-icon{color:#fff}@media(max-width:720px){.screen-tab:before{display:none!important}.screen-tab .nav-icon{display:block;width:18px;height:18px;margin:0 auto 3px;color:#7f8a99}.screen-tab.active .nav-icon{color:var(--blue)}}
.side-nav-item[data-screen="expenses"] .nav-icon{color:#e67a7a}.side-nav-item[data-screen="receipts"] .nav-icon{color:#48a982}.side-nav-item.active[data-screen="expenses"] .nav-icon,.side-nav-item.active[data-screen="receipts"] .nav-icon{color:#fff}@media(max-width:720px){.screen-tab[data-screen="expenses"] .nav-icon{color:#d96969}.screen-tab[data-screen="receipts"] .nav-icon{color:#32976e}.screen-tab.active[data-screen="expenses"] .nav-icon,.screen-tab.active[data-screen="receipts"] .nav-icon{color:var(--blue)}}
.responsible-note{grid-column:1/-1;display:flex;align-items:center;gap:12px;border:1px dashed #cbd3df;border-radius:10px;background:#f4f6f8;padding:12px 15px;color:#576477}.responsible-note span{font-size:11px;color:var(--muted)}.responsible-note strong{font-size:14px}.responsible-note p{margin:0 0 0 auto;font-size:11px;color:var(--muted)}.responsible-card{grid-template-columns:auto minmax(0,1fr) auto auto auto}.responsible-card{display:grid}@media(max-width:600px){.responsible-note{align-items:flex-start;flex-wrap:wrap}.responsible-note p{width:100%;margin:0}.responsible-card{display:flex}.responsible-card .responsible-stat{margin-left:auto}.responsible-card .responsible-stat+ .responsible-stat{margin-left:8px}}
.postpone-actions{display:flex;gap:5px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.postpone-actions button{flex:1;min-width:0;border:1px solid #dbe2ea;border-radius:6px;background:#f8fafc;color:#506075;padding:6px 4px;font:700 10px/1 inherit;white-space:nowrap;cursor:pointer}.postpone-actions button:hover{border-color:#8bb0eb;background:#edf4ff;color:#1f5ebd}@media(max-width:600px){.postpone-actions{gap:7px;margin-top:12px;padding-top:12px}.postpone-actions button{min-height:32px;font-size:11px}}
.postpone-actions button:disabled{cursor:not-allowed;border-color:#e6e9ee;background:#f4f5f7;color:#a1a9b5}.receipt-confirm{grid-column:3;border:1px solid #bfe6d0;border-radius:6px;background:#eefaf3;color:#19744d;padding:6px 8px;font:750 11px/1 inherit;cursor:pointer}.receipt-confirm:hover{background:#dff6e9}.receipt-card:has(.receipt-confirm){grid-template-columns:30px minmax(0,1fr) auto}.receipt-card:has(.receipt-confirm) b{align-self:end}@media(max-width:600px){.receipt-confirm{min-height:34px;font-size:12px;padding:6px 10px}.receipt-card:has(.receipt-confirm) b{align-self:center}}.top-actions .icon-button[aria-label="Уведомления"]{font-size:0}.top-actions .icon-button[aria-label="Уведомления"]:before{content:"🔔";font-size:16px}
.receipt-card{cursor:pointer}.receipt-confirm{cursor:pointer}.form-note{font-size:12px;line-height:1.45;color:var(--muted);margin:0}.notification-panel{position:fixed;z-index:8;top:76px;right:42px;width:min(360px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 34px #17233724;padding:8px}.notification-panel-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px}.notification-panel-head strong{font-size:14px}.notification-panel-head button{border:0;background:transparent;color:#6f7d90;font:24px/1 inherit;cursor:pointer}.notification-panel>button{display:block;width:100%;border:0;border-top:1px solid var(--line);background:#fff;padding:12px 10px;text-align:left;cursor:pointer}.notification-panel>button:hover{background:#f6f9fd}.notification-panel b,.notification-panel span{display:block}.notification-panel b{font-size:12px;color:var(--ink)}.notification-panel span{font-size:11px;color:var(--muted);margin-top:3px}@media(max-width:720px){.notification-panel{top:66px;right:14px}.receipt-card{min-height:72px}}
.confirm-receipt{border:1px solid #42a977;border-radius:8px;background:#249b6b;color:#fff;padding:10px 12px;font:700 12px/1 inherit;cursor:pointer}.confirm-receipt:hover{background:#1c865b}
.pay-payment,.no-funds-payment{border-radius:8px;padding:10px 12px;font:700 12px/1 inherit;cursor:pointer}.pay-payment{border:1px solid #42a977;background:#249b6b;color:#fff}.no-funds-payment{border:1px solid #e9b8b5;background:#fff5f4;color:#b6443e}@media(max-width:600px){.form-actions{flex-wrap:wrap}.form-actions .pay-payment,.form-actions .no-funds-payment{min-height:44px;flex:1}}
.calendar-focus-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce6f4;border-radius:12px;background:#f5f8fd;padding:13px 15px;margin:0 0 14px}.calendar-risk-copy span,.calendar-risk-copy small{display:block;color:var(--muted);font-size:10px}.calendar-risk-copy span{letter-spacing:.07em;font-weight:750}.calendar-risk-copy strong{display:block;font-size:14px;margin:3px 0}.calendar-focus-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}.calendar-focus,.calendar-review{border:1px solid #d7dfe9;border-radius:7px;background:#fff;color:#526174;padding:7px 9px;font:700 11px/1 inherit;cursor:pointer}.calendar-focus.active{border-color:#90b4ee;background:#eaf2ff;color:#1f5ebd}.calendar-review{border-color:#2e71da;background:#246bdb;color:#fff}.calendar-day.cash-risk{border-color:#efaaa5;background:#fff8f7;box-shadow:0 0 0 1px #efaaa533}.calendar-day.muted-focus{opacity:.45}.risk-label{background:#fff0ef!important;color:#bd3d3d!important}.day-balance{display:grid;grid-template-columns:1fr auto;gap:2px 6px;margin:8px 0 1px;padding:7px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.day-balance span{font-size:9px;color:var(--muted)}.day-balance b{font-size:10px;text-align:right}.calendar-operation{border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.calendar-operation:hover p{text-decoration:underline}.calendar-operation em{display:block;color:#7b8797;font-size:9px;font-style:normal;margin-top:2px}@media(max-width:720px){.calendar-focus-panel{align-items:flex-start;flex-direction:column}.calendar-focus-actions{justify-content:flex-start;width:100%}.calendar-focus,.calendar-review{min-height:36px}.day-balance{margin:10px 0 3px}.calendar-day.muted-focus{display:none}}
