body,html{background:var(--bg);color:var(--ink)}body{font:400 15px/22px var(--font-body)}h1{font-size:36px;line-height:42px;font-weight:700;letter-spacing:-.03em;color:var(--ink)}h2{font-size:19px;line-height:26px;letter-spacing:-.015em}h2,h3{font-weight:600;color:var(--ink)}h3{font-size:15px;line-height:22px}:is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--brand);outline-offset:2px}.muted{color:var(--ink-2)}.positive{color:var(--ok)}.danger-text,.negative{color:var(--bad)}.app-root,.sidebar{background:var(--bg)}.sidebar{padding:24px 12px 20px 16px;color:#24362c}.brand{padding:2px 8px 18px}.brand-lockup{align-items:center;gap:10px}.brand-lockup img,.brand-lockup img.inverse{height:34px;filter:none}.brand-lockup b{padding:4px 8px;border-radius:6px;background:var(--lime);color:var(--deep);font:700 12px/1 var(--font-body);letter-spacing:.12em}.brand-logo small,:is(.sidebar,.drawer) .brand-logo small{color:var(--ink-2)}.nav-groups{padding:0 0 16px}.nav-group{display:flex;flex-direction:column;gap:2px;margin-bottom:20px}.nav-group p{margin:0;padding:0 12px 6px;color:var(--ink-2);font:600 11px/16px var(--font-body);letter-spacing:.08em;text-transform:uppercase}.nav-item{height:40px;margin:0;padding:0 12px;border-radius:999px;color:#24362c;font:500 14px/1 var(--font-body)}.nav-item svg{flex:0 0 20px;width:20px;height:20px;stroke-width:1.75}.nav-item:hover{color:#24362c;background:#e1e7df}.nav-item.active,.nav-item.active:hover{color:#fff;background:var(--deep);font-weight:500}.nav-item.active svg{color:var(--lime)}.sidebar-foot{padding:12px 12px 0;border-top:0;color:var(--ink-2);font-size:12px;line-height:16px}.drawer :focus-visible,.sidebar :focus-visible{outline-color:var(--brand)}.topbar{flex:0 0 88px;height:88px;gap:10px;padding:20px 32px 20px 12px;border-bottom:0;background:transparent}.global-search{flex:1 1 300px;width:auto;max-width:520px}.search{height:48px;padding:0 8px 0 18px;gap:10px;border:0;border-radius:999px;background:var(--surface);color:var(--ink-3)}.search input:not([type=checkbox]):not([type=radio]){font:400 14px var(--font-body);color:var(--ink)}.search:focus-within{border:0;outline:0;box-shadow:0 0 0 2px var(--brand),var(--focus-glow)}.search kbd{padding:8px 10px;border:0;border-radius:999px;background:var(--surface-2);color:var(--ink-2);font:500 12px/1 var(--font-body)}.topbar>.primary-button{height:44px;padding:0 18px}.create-shortcut{margin-left:2px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font:600 12px/1 var(--font-body)}.period{height:44px;gap:8px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);font:600 14px/1 var(--font-body)}.topbar-divider{display:none}.icon-button{width:44px;height:44px;border:0;border-radius:50%;background:var(--surface);color:var(--ink)}.icon-button:hover{background:var(--surface-2)}.icon-button.inverse{background:var(--surface);color:var(--ink)}.notification-button i{top:2px;right:2px;min-width:18px;height:18px;padding:0 5px;border:0;border-radius:999px;background:var(--bad);box-shadow:0 0 0 2px var(--surface);font:700 11px/18px var(--font-body)}.topbar .user-button{height:48px;padding:0 16px 0 4px;border-radius:999px;background:var(--surface)}.avatar{flex:0 0 40px;width:40px;height:40px;color:var(--lime);background:var(--brand);font:700 13px/1 var(--font-body)}.user-name b{font:600 14px/18px var(--font-body)}.user-name small{font:500 12px/16px var(--font-body);color:var(--ink-2)}.content{padding:4px 32px 56px 12px}.content>*{max-width:1360px}.quick-create,.user-menu{padding:8px;border:0;border-radius:22px;background:var(--surface);box-shadow:var(--shadow-dropdown)}.user-menu{top:76px;right:32px;width:300px}.user-menu :is(a,button){min-height:44px;border-radius:14px}.search-results{border-radius:22px;box-shadow:0 0 0 1px rgba(1,72,41,.08),0 28px 60px -18px rgba(4,18,11,.35)}@media (max-width:1023px){.app-root:has(.v41-wizard,.deal-edit-form) .bottom-nav,.app-root:has(.v41-wizard,.deal-edit-form) .quick-create{display:none}}.drawer{width:min(320px,calc(100vw - 40px));border-radius:0 28px 28px 0;color:var(--ink);box-shadow:24px 0 60px -24px rgba(4,18,11,.5);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.drawer,.drawer-top{background:var(--bg)}.drawer-top{position:sticky;top:0;z-index:1;padding:calc(16px + env(safe-area-inset-top)) 16px 12px 20px}.drawer-top .icon-button{border:0;background:var(--surface);color:var(--ink)}.drawer .nav-groups{flex:none;min-height:auto;overflow:visible;padding:0 12px}.drawer .nav-item{height:44px;font-size:15px}.drawer-account{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;column-gap:12px;row-gap:2px;margin:8px 12px calc(30px + env(safe-area-inset-bottom));padding:14px 16px;border:0;border-radius:22px;background:var(--surface)}.drawer-account>.user .avatar{width:40px;height:40px}.drawer-account-name{min-width:0;color:var(--ink);font:700 15px/20px var(--font-body);overflow-wrap:anywhere}.drawer-account>:is(a,button){grid-column:1/-1;display:flex;align-items:center;gap:12px;min-height:44px;padding:0 0 0 10px;color:var(--ink);font:500 15px/20px var(--font-body);text-decoration:none}.drawer-account>.drawer-logout{color:var(--bad)}@media (max-width:1023px){.app-root{grid-template-rows:calc(60px + env(safe-area-inset-top)) minmax(0,1fr) 0}.mobile-header{gap:8px;padding:env(safe-area-inset-top) 16px 0;background:var(--bg);color:var(--ink)}.mobile-header .brand{padding:0}.mobile-header .brand-lockup img{height:31px}.mobile-header .brand-lockup b{display:none}.mobile-header .icon-button{width:40px;height:40px;background:var(--surface);color:var(--ink)}.mobile-header .avatar{width:40px;height:40px;flex-basis:40px;color:var(--lime);background:var(--brand)}.content{padding:8px 16px calc(120px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;left:16px;right:16px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;justify-content:space-between;height:68px;padding:0 8px;border:0;border-radius:999px;background:var(--deep);box-shadow:var(--shadow-dock)}.bottom-nav :is(a,button){flex-direction:row;gap:8px;height:52px;min-width:52px;padding:0;border-radius:999px;color:#b7c8be;font:600 14px/1 var(--font-body);font-size:0}.bottom-nav .active{padding:0 18px;color:var(--deep);background:var(--lime);font-size:14px}.bottom-nav button[aria-label="Быстрое создание"]{width:52px;height:52px;color:#fff;background:var(--brand)}.quick-create{bottom:calc(92px + env(safe-area-inset-bottom))}}.page-heading{align-items:flex-end;gap:20px;margin-bottom:24px}.page-heading p{margin-top:6px;color:var(--ink-2);font-size:15px;line-height:22px}.danger-button,.modal-cancel,.panel-action,.panel-cta,.primary-button,.secondary-button,.table-action{gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);font:600 14px/1 var(--font-body);white-space:nowrap}.primary-button{background:var(--brand);box-shadow:none;color:#fff}.primary-button:hover{background:var(--brand-2)}:is(.secondary-button,.table-action,.panel-action,.modal-cancel):hover{background:var(--surface-2)}.danger-button{background:var(--surface);box-shadow:inset 0 0 0 1px var(--bad-line);color:var(--bad)}.danger-button:hover{background:var(--bad-bg)}.panel-action,.table-action{min-height:36px;padding:0 14px;font-size:13px}.modal-cancel{box-shadow:none;background:transparent;color:var(--brand)}:is(.primary-button,.secondary-button,.danger-button):disabled,button:disabled{opacity:.5}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:52px;padding:0 16px;border:1.5px solid transparent;border-radius:var(--r-in);background-color:var(--surface-2);color:var(--ink);font:500 16px/1.4 var(--font-body)}textarea{min-height:88px;padding:14px 16px;line-height:22px}:is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{border-color:var(--brand);background-color:#fff;outline:0;box-shadow:var(--focus-glow)}:is(input,select,textarea)[aria-invalid=true]{border-color:var(--bad);background-color:#fff}input::placeholder,textarea::placeholder{color:var(--ink-3)}select:not([multiple]):not([size]),select[size="1"]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234e6157' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}label>span{color:var(--ink-2);font:500 13px/18px var(--font-body)}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--brand)}.panel,.state-card{border:0;border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow)}.panel-title{padding:24px 24px 12px}.panel-title h2{font-size:19px;line-height:26px}.panel-body{padding:0 24px 24px}.state-card h2{color:var(--ink)}.detail-empty,.inline-notice,.state-card{color:var(--ink-2);font-size:14px;line-height:20px}.inline-notice{padding:14px 16px;border-radius:var(--r-note);background:var(--surface-2)}.inline-notice.error{background:var(--bad-bg);color:#7d1f19}.form-success,.inline-notice.success{background:var(--ok-bg);color:var(--ok)}.inline-notice.warning{background:var(--warn-bg);color:var(--warn)}.form-error:before,.inline-notice.error:before{content:"";flex:0 0 18px;width:18px;height:18px;margin-top:1px;background:currentColor;-webkit-mask:var(--icon-alert) center /18px 18px no-repeat;mask:var(--icon-alert) center /18px 18px no-repeat}:root{--icon-alert:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E")}.load-state{display:flex;align-items:center;gap:12px;min-height:64px;margin:0 24px 24px;padding:12px 16px 12px 22px;border-radius:var(--r-note);background:var(--surface-2);color:var(--ink-2);font-size:15px;line-height:22px}.load-state.failed{justify-content:space-between;flex-wrap:wrap;color:var(--ink)}.load-spinner{width:18px;height:18px;flex:0 0 18px;border:2px solid var(--line-2);border-top-color:var(--brand);border-radius:50%;animation:isg-spin .8s linear infinite}@keyframes isg-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.load-spinner{animation-duration:2.4s}}.load-retry{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);font:600 14px/1 var(--font-body);cursor:pointer}.load-retry:hover{box-shadow:inset 0 0 0 1px var(--brand)}@media (max-width:767px){.load-state{margin:0 16px 16px}}.outbox-status,.release-chip,.status,.status-active,.status-muted{gap:6px;min-height:28px;padding:0 10px;border-radius:999px;background:var(--neu-bg);color:var(--neu);font:600 12px/1 var(--font-body);white-space:nowrap}.status-active,.status.success{color:var(--ok);background:var(--ok-bg)}.status.warning{color:var(--warn);background:var(--warn-bg)}.status.danger,.status.error{color:var(--bad);background:var(--bad-bg)}.status.neutral{color:var(--neu);background:var(--neu-bg)}.status.brand{color:var(--lime-ink);background:var(--lime-soft)}.status.partial{color:#0b5a33;background:#d5eadb}.status.fact{color:#fff;background:var(--brand)}.status.draft{color:var(--ink-2);background:transparent;box-shadow:inset 0 0 0 1px var(--line-2)}.count{min-width:24px;height:24px;padding:0 8px;border-radius:999px;background:var(--surface-2);color:var(--ink);font:600 12px/24px var(--font-body)}.administration-tabs-v41,.notification-filters,.payment-view-tabs,.report-tabs,.tab-strip,.v41-tabs,.view-tabs{gap:4px;border-bottom:0}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.notification-filters,.payment-view-tabs)>:is(a,button){min-height:44px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--ink-2);font:600 14px/1 var(--font-body)}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.notification-filters,.payment-view-tabs)>:is(a,button):is(.active,[aria-current=page],[aria-selected=true]){background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs)>:is(a,button)>span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 8px;border-radius:999px;background:var(--surface-2);color:var(--ink);font:600 12px/1 var(--font-body);white-space:nowrap}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs)>:is(a,button):is(.active,[aria-current=page],[aria-selected=true])>span{background:var(--lime);color:var(--deep)}.modal-backdrop{background:rgba(4,18,11,.45)}.modal-card{padding:28px;border-radius:var(--r-modal);box-shadow:var(--shadow-modal)}.modal-card h2{margin-bottom:18px}@media (max-width:767px){h1{line-height:34px}.page-heading h1,h1{font-size:28px}.modal-backdrop>.modal-card,.modal-backdrop>.modal-card.wide-modal{border-radius:28px 28px 0 0}}@media (max-width:767px){:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs){flex-wrap:wrap;gap:8px}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs)>:is(a,button){padding:0 14px;background:var(--surface)}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs)[data-motion-indicator]>.isg-motion-indicator{display:none}:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs)>:is(a,button):is(.active,[aria-current=page],[aria-selected=true]),[data-motion-indicator=pill]:is(.tab-strip,.report-tabs,.view-tabs,.v41-tabs,.administration-tabs-v41,.payment-view-tabs)>:is(a,button):is(.active,[aria-current=page],[aria-selected=true]){background:var(--deep)!important;color:#fff!important;box-shadow:none!important}}.auth-page{min-height:100dvh;background:var(--bg)}.auth-aside{position:relative;overflow:hidden;gap:48px;padding:48px 56px;background:var(--deep);color:#fff}.auth-aside>*{position:relative;z-index:1}.auth-aside .brand-lockup img{height:48px;filter:brightness(0) invert(1)}.auth-aside h2{max-width:520px;color:#fff;font:700 48px/54px var(--font-body);letter-spacing:-.035em}.auth-aside p{max-width:460px;margin-top:18px;color:var(--on-brand-2);font-size:18px;line-height:28px}.auth-aside footer{color:var(--on-brand-2);font-size:13px;line-height:18px}.auth-aside>.auth-mark{position:absolute;z-index:0;right:-40px;bottom:-60px;width:360px;height:auto;opacity:.16;pointer-events:none}.auth-main{padding:32px}.auth-card{display:flex;flex-direction:column;gap:24px;max-width:440px;padding:40px;border-radius:var(--r-modal);background:var(--surface);box-shadow:var(--shadow)}.auth-heading{margin:0}.auth-heading h1{font:700 32px/38px var(--font-body);letter-spacing:-.03em}.auth-heading p{margin-top:8px;color:var(--ink-2);font-size:15px;line-height:22px}.auth-card .auth-form{display:flex;flex-direction:column;gap:16px}.auth-card .auth-form input:not([type=checkbox]):not([type=radio]){min-height:52px;height:52px;padding:0 16px;font-size:16px}.auth-card .auth-form input[type=email],.auth-card .auth-form input[type=password]{padding-left:48px;background-repeat:no-repeat;background-position:16px;background-size:20px 20px}.auth-card .auth-form input[type=email]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e6157' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")}.auth-card .auth-form input[type=password]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e6157' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}.auth-submit{height:52px;min-height:52px;margin-top:0;font-size:15px}.auth-link,button.auth-link{display:inline-flex;align-self:flex-start;align-items:center;width:auto;min-height:44px;margin:0;color:var(--brand);font:600 14px/20px var(--font-body);text-align:left}.auth-note{margin:0;padding-top:16px;border-top:1px solid var(--line);color:var(--ink-2);font-size:13px;line-height:18px;text-align:left}.form-error{background:var(--bad-bg);color:#7d1f19}.form-error,.form-success{padding:12px 14px;border-radius:var(--r-in);font:500 14px/20px var(--font-body)}@media (max-width:1023px){.auth-page{display:flex;flex-direction:column;background:var(--surface)}.auth-aside{display:flex;flex:0 0 auto;min-height:calc(168px + env(safe-area-inset-top));padding:calc(56px + env(safe-area-inset-top)) 20px 72px}.auth-aside footer,.auth-aside>div{display:none}.auth-aside .brand-lockup img{height:40px}.auth-aside>.auth-mark{top:16px;right:24px;bottom:auto;width:80px;opacity:.16}.auth-main{flex:1;align-items:flex-start;margin-top:-28px;padding:0;position:relative;z-index:1}.auth-card{max-width:none;min-height:100%;padding:28px 20px calc(32px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;box-shadow:none}.auth-brand{display:none}}.not-found-card .not-found-code{margin:0 0 -8px;color:var(--brand);font:800 72px/1 var(--font-body);letter-spacing:-.04em}.not-found-in-shell{display:grid;place-items:center;min-height:60vh}.user-menu .user-menu-who{display:grid;gap:2px;margin:0 0 6px;padding:10px 12px 12px;border-bottom:1px solid var(--line)}.user-menu .user-menu-who b{overflow:hidden;color:var(--ink);font:600 14px/20px var(--font-body);text-overflow:ellipsis;white-space:nowrap}.user-menu .user-menu-who small{overflow:hidden;color:var(--ink-2);font:400 12px/16px var(--font-body);text-overflow:ellipsis;white-space:nowrap}:is(.user-menu,.quick-create) :is(a,button){min-height:44px;padding:0 12px;border-radius:14px;color:var(--ink);font:500 15px/20px var(--font-body)}:is(.user-menu,.quick-create) :is(a,button):hover{background:var(--surface-2)}.user-menu button:last-child{color:var(--bad)}.search-results{top:58px;padding:8px;border:0;border-radius:var(--r-card);background:var(--surface)}.search-results section+section{border-top:1px solid var(--line)}.search-results section>b,.search-results>p{padding:10px 12px 6px;color:var(--ink-2);font:600 11px/16px var(--font-body);letter-spacing:.08em;text-transform:uppercase}.search-results>p{font:400 14px/20px var(--font-body);letter-spacing:0;text-transform:none}.search-results button{min-height:48px;padding:6px 12px;border-radius:14px;background:transparent;color:var(--ink)}.search-results button span{font:600 14px/20px var(--font-body)}.search-results button small{color:var(--ink-2);font:500 12px/16px var(--font-body);white-space:nowrap}.search-results button.active,.search-results button:hover{background:var(--lime-soft)}.mobile-search-backdrop{position:fixed;inset:0;z-index:110;background:var(--bg)}.mobile-search{display:flex;flex-direction:column;gap:12px;height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));overflow-y:auto}.mobile-search-bar{display:flex;align-items:center;gap:8px}.mobile-search-bar .search{flex:1;height:52px;box-shadow:0 0 0 2px var(--brand),var(--focus-glow)}.mobile-search-bar input[type=search]{min-height:0;height:48px;padding:0;border:0;background:transparent;box-shadow:none;font-size:17px}.mobile-search-clear{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--surface-2);color:var(--ink)}.mobile-search-cancel{min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--brand);font:600 15px/1 var(--font-body)}.mobile-search .search-results{position:static;display:flex;flex-direction:column;gap:12px;width:auto;max-height:none;padding:0;overflow:visible;background:transparent;box-shadow:none}.mobile-search .search-results section{padding:8px;border:0;border-radius:var(--r-card);background:var(--surface)}.mobile-search .search-results>p{padding:18px 14px;border-radius:var(--r-card);background:var(--surface)}.mobile-search-hint{margin:4px 4px 0;color:var(--ink-2);font-size:14px;line-height:20px}@media (min-width:1024px){.mobile-search-backdrop{display:none}}.search input:not([type=checkbox]):not([type=radio]):focus{border-color:transparent;background-color:transparent;box-shadow:none}.search input[type=search]::-webkit-search-cancel-button,.search input[type=search]::-webkit-search-decoration{appearance:none}.network-banner{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 16px;border-radius:var(--r-note);font-size:14px;font-weight:500}.network-banner.offline{background:var(--deep);color:#fff}.network-banner.restored{background:var(--ok-bg);color:var(--ok);font-weight:600}.app-update-banner{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:8px 8px 8px 16px;border-radius:var(--r-note);background:var(--lime-soft);color:var(--ink);font-size:14px;font-weight:600}.app-update-banner>svg{flex:0 0 auto;color:var(--lime-ink)}.app-update-banner>span{flex:1;min-width:0}.app-update-banner>.primary-button{min-height:40px;padding:0 18px}