:root{--bg:#e8eef5;--bg-soft:#eef1f4;--ink:#111827;--muted:#6b7280;--line:#e5e7eb;--card:#fff;--dark:#111;--lime:#c8f000;--glass:#20202485;--glass-border:#ffffff47;--glass-highlight:#ffffff8c;--radius:22px;--radius-sm:14px;--shadow:0 10px 30px #0f172a0f;--font:"Manrope", "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);color:var(--ink);background-color:#0000;background-image:radial-gradient(900px 480px at 12% 8%,#dfe9ff 0%,#0000 55%),radial-gradient(700px 420px at 88% 18%,#e7f7d4 0%,#0000 50%),radial-gradient(800px 500px at 70% 90%,#f3e8ff 0%,#0000 45%),linear-gradient(165deg,#eef2f7 0%,#e4ebf3 45%,#dde6ef 100%);background-position:0 0,0 0,0 0,0 0;background-repeat:repeat,repeat,repeat,repeat;background-size:auto,auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:0 0;border:0}.shell{grid-template-columns:96px 1fr;gap:12px;min-height:100%;padding:14px;display:grid}.sidebar{z-index:20;color:#fff;isolation:isolate;background:linear-gradient(165deg, #ffffff47 0%, #ffffff0f 38%, #14141859 100%), var(--glass);-webkit-backdrop-filter:blur(28px)saturate(190%);border:1px solid var(--glass-border);border-radius:34px;flex-direction:column;justify-content:center;place-self:start center;align-items:center;gap:14px;width:68px;height:calc(100vh - 28px);max-height:calc(100vh - 28px);margin:0;padding:14px 0;display:flex;position:sticky;top:14px;overflow:hidden;box-shadow:0 18px 40px #0f172a29,0 2px 8px #0f172a14,inset 0 1px #ffffff80,inset 0 -1px #ffffff14}.sidebar:before{content:"";border-radius:inherit;pointer-events:none;opacity:.85;background:linear-gradient(#ffffff61 0%,#ffffff0d 28%,#0000 52%);position:absolute;inset:0}.sidebar:after{content:"";border-radius:inherit;pointer-events:none;border:1px solid #ffffff14;position:absolute;inset:1px;box-shadow:inset 0 0 24px #ffffff0f}.sidebar-nav,.sidebar-settings{z-index:1;position:relative}.sidebar-nav-group{display:contents}.sidebar-submenu{display:none}.sidebar-nav{flex-direction:column;flex:none;justify-content:center;align-items:center;gap:6px;width:100%;margin:0;padding:0;display:flex}.sidebar-nav button,.sidebar-settings{color:#ffffffc7;border-radius:16px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;margin:0;padding:0;line-height:0;transition:background .18s,color .18s,transform .18s,box-shadow .18s;display:flex}.sidebar-nav button svg,.sidebar-settings svg{margin:0 auto;display:block}.sidebar-nav button:hover,.sidebar-settings:hover{color:#fff;background:#ffffff1f;box-shadow:inset 0 1px #fff3}.sidebar-nav button.active{color:#111;background:linear-gradient(#fffffff2 0%,#ffffffb8 100%);box-shadow:0 6px 14px #00000024,inset 0 1px #ffffffe6}.sidebar-nav button:active,.sidebar-settings:active{transform:scale(.96)}.sidebar-settings{margin:0}.main{-webkit-backdrop-filter:blur(18px)saturate(140%);min-width:0;box-shadow:var(--shadow);background:#ffffff59;border:1px solid #ffffff8c;border-radius:28px;flex-direction:column;display:flex;overflow:hidden}@media (prefers-reduced-transparency:reduce){.sidebar,.main{-webkit-backdrop-filter:none}.sidebar{background:#1c1c20eb}.main{background:#fffffff5}}.topbar{justify-content:space-between;align-items:center;gap:14px;min-height:88px;padding:18px 28px 8px;display:flex}.topbar-right{flex:none;align-self:center;align-items:center;gap:12px;display:inline-flex}.topbar .icon-btn,.topbar .avatar{width:52px;height:52px}.search-expand{align-items:center;display:flex;position:relative}.search-trigger{box-shadow:var(--shadow);background:#ffffffbf;border:1px solid #11182714;transition:transform .16s,background .16s}.search-trigger:hover{background:#fff;transform:scale(1.03)}.search-expand-field{width:min(320px,52vw);height:52px;box-shadow:var(--shadow);color:#6b7280;background:#ffffffeb;border:1px solid #1118271a;border-radius:999px;align-items:center;gap:10px;padding:0 14px 0 16px;animation:.18s search-slide;display:flex}.search-expand-field input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:15px;font-weight:600}.search-expand-field input::placeholder{color:#9ca3af;font-weight:500}.search-clear{color:#6b7280;border-radius:50%;place-items:center;width:28px;height:28px;font-size:14px;display:grid}.search-clear:hover{color:#111;background:#f3f4f6}.search-results{width:min(360px,78vw);max-height:360px;box-shadow:var(--shadow);z-index:20;background:#fff;border:1px solid #1118271a;border-radius:18px;flex-direction:column;gap:2px;padding:8px;display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.search-result-item{text-align:left;background:0 0;border-radius:12px;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 12px;transition:background .12s;display:flex}.search-result-item:hover{background:#f3f4f6}.search-result-name{color:var(--ink);font-size:14px;font-weight:700}.search-result-stage{color:#6b7280;font-size:12px;font-weight:500}.search-results-empty{color:#9ca3af;text-align:center;padding:14px 12px;font-size:13px;font-weight:500}.notification-bell{align-items:center;display:flex;position:relative}.notification-trigger{position:relative}.notification-badge{color:#fff;background:#ef4444;border:2px solid #fff;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:700;display:grid;position:absolute;top:-2px;right:-2px}.notification-panel{width:min(380px,84vw);max-height:480px;box-shadow:var(--shadow);z-index:20;background:#fff;border:1px solid #1118271a;border-radius:18px;flex-direction:column;gap:8px;padding:8px;display:flex;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.notification-card{background:#f9fafb;border:1px solid #1118270f;border-radius:14px;flex-direction:column;gap:8px;padding:12px;display:flex}.notification-card-header{flex-direction:column;gap:2px;display:flex}.notification-card-title{color:var(--ink);font-size:14px;font-weight:700}.notification-card-hint{color:#9ca3af;font-size:12px;font-weight:500}.notification-card-amounts{color:#4b5563;flex-direction:column;gap:2px;font-size:12px;font-weight:600;display:flex}.notification-card-cta{background:var(--ink);color:#fff;border-radius:999px;align-self:flex-start;padding:8px 14px;font-size:13px;font-weight:700}.notification-card-form{flex-direction:column;gap:8px;display:flex}.notification-payment-line{grid-template-columns:1fr 90px 140px;gap:6px;display:grid}.notification-payment-line input,.notification-payment-line select{border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:13px}.notification-add-line{color:#2563eb;align-self:flex-start;font-size:12px;font-weight:600}.notification-card-actions{gap:8px;display:flex}@keyframes search-slide{0%{opacity:.7;width:52px}to{opacity:1;width:min(320px,52vw)}}@media (prefers-reduced-motion:reduce){.search-expand-field{animation:none}}.content{padding:18px 28px 32px}.page-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.page-head h1{letter-spacing:-.04em;margin:0;font-size:34px;font-weight:800}.topbar-title{letter-spacing:-.04em;min-width:0;color:var(--ink);flex:1;align-self:center;margin:0;font-size:36px;font-weight:800;line-height:1.05}.topbar-title-stack{flex-direction:column;justify-content:center;font-size:44px;line-height:.95;display:flex}.topbar-title-stack span{display:block}.page-head-actions-only{justify-content:flex-end;margin-bottom:14px}.page-head-deals{margin-bottom:28px}.page-head-deals .section-label-inline{margin-bottom:0}.sidebar-settings.active,.sidebar-settings.active:hover{color:#111827;background:#ffffffeb;box-shadow:0 8px 24px #0f172a1f}.eyebrow{color:var(--muted);margin:0 0 4px;font-size:13px;font-weight:600}.page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.title-with-back{align-items:center;gap:12px;display:flex}.btn-dark,.btn-ghost{border-radius:999px;align-items:center;gap:8px;padding:11px 16px;font-size:14px;font-weight:700;display:inline-flex}.btn-dark{background:var(--dark);color:#fff}.btn-dark:disabled{opacity:.45;cursor:not-allowed}.btn-ghost{border:1px solid var(--line);color:var(--ink);background:#fff}.icon-btn{color:#374151;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.icon-btn.solid{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}.avatar{object-fit:cover;background:#e5e7eb;border-radius:50%;width:40px;height:40px}.avatar.sm{width:28px;height:28px}.avatar.lg{width:72px;height:72px}.hint-inline{color:var(--muted);font-size:13px}.panel{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px}.panel h2{margin:0 0 14px;font-size:18px}.panel-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.panel-head h2{margin:0}.chip{color:#4b5563;background:#f3f4f6;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.count-badge{color:#4b5563;background:#e5e7eb;border-radius:999px;place-items:center;min-width:24px;height:24px;padding:0 7px;font-size:12px;font-weight:700;display:inline-grid}.modal-backdrop{z-index:1000;background:#11182773;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;flex-direction:column;width:min(480px,100%);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 60px #0003}.modal-wide{width:min(640px,100%)}.modal-compact{width:min(420px,100%)}.modal-head{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.modal-head h2{margin:0;font-size:18px}.modal-body{min-height:0;padding:18px;overflow-y:auto}.chip-toggle{border:1px solid var(--line);color:#6b7280;cursor:pointer;background:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.chip-toggle.is-on{color:#fff;background:#111827;border-color:#111827}.service-type-toggle{gap:6px;margin-bottom:12px;display:inline-flex}.product-category-grid{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.product-category-tile{border:1px solid var(--line);cursor:pointer;text-align:left;width:100%;font:inherit;background:#f8fafc;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;transition:border-color .15s,background .15s;display:flex}.product-category-tile:hover{border-color:color-mix(in srgb, #2563eb 30%, var(--line));background:#edf2fb}.product-category-tile.is-selected{background:#e7eefb;border-color:#2563eb}.product-category-tile-label{font-size:14px;font-weight:600}.product-category-tile .count-badge{padding:2px 10px;font-size:12px}.confirm-text{color:#111827;margin:0 0 8px;font-size:16px;font-weight:600;line-height:1.4}.confirm-sub{color:#6b7280;word-break:break-word;margin:0 0 18px;font-size:14px}.confirm-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.fired-notices-list{color:#111827;flex-direction:column;gap:6px;margin:0 0 12px;padding-left:20px;font-size:14px;display:flex}.btn-danger{color:#fff;cursor:pointer;background:#b91c1c;border:0;border-radius:999px;align-items:center;gap:8px;padding:11px 18px;font-size:14px;font-weight:700;display:inline-flex}.btn-danger:hover{background:#991b1b}.btn-danger:disabled{opacity:.45;cursor:not-allowed}.form{flex-direction:column;gap:12px;display:flex}.inline-form{grid-template-columns:1.4fr 1fr auto;gap:8px;display:grid}.form-note,.stub-text{color:var(--muted);font-size:14px;line-height:1.45}.form-error{color:#b91c1c;margin:0;font-size:13px}.form-error-box{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.form-error-box p{color:#991b1b;margin:0;font-size:13px}.form-error-box .stage-list{margin:0}.form-warning{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.form-warning p{color:#92400e;margin:0;font-size:13px}.form-warning .stage-list{margin:0}.form-success{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.form-success-text{color:#166534;margin:0;font-size:13px;line-height:1.5}.form-success-close{color:#166534;cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:2px 4px;font-size:16px;line-height:1}.login-screen{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-form{background:var(--surface,#fff);border-radius:16px;width:100%;max-width:340px;padding:28px;box-shadow:0 10px 40px #00000014}.login-title{margin:0 0 8px;font-size:20px}.user-menu{position:relative}.user-menu-trigger{border:1px solid var(--line);background:var(--card);max-width:280px;box-shadow:var(--shadow);cursor:pointer;border-radius:999px;align-items:center;gap:10px;padding:0 14px 0 0;display:inline-flex;overflow:hidden}.user-menu-trigger .avatar{flex:none}.user-menu-info{white-space:nowrap;flex-direction:column;line-height:1.25;display:flex}.user-menu-email{color:var(--ink);font-size:13px;font-weight:600}.user-menu-role{color:var(--muted);font-size:12px}.user-menu-dropdown{z-index:40;opacity:0;pointer-events:none;padding-top:8px;transition:opacity .18s,transform .18s;position:absolute;top:100%;right:0;transform:translateY(-4px)}.user-menu-dropdown.is-open{opacity:1;pointer-events:auto;transform:translateY(0)}@media (prefers-reduced-motion:reduce){.user-menu-dropdown{transition:none}}.user-menu-dropdown-card{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);min-width:170px;box-shadow:var(--shadow);flex-direction:column;padding:6px;display:flex}.user-menu-action{text-align:left;white-space:nowrap;width:100%;color:var(--ink);border-radius:8px;padding:8px 14px;font-size:13px;display:block}.user-menu-action:hover{background:var(--bg-soft)}.stub-fields{color:#374151;margin:0 0 14px;padding-left:18px}.file-stub{flex-direction:column;gap:8px;margin:12px 0;font-size:13px;font-weight:600;display:flex}.mrr-banner{grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:20px;display:grid}.mrr-card{border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:24px 28px;display:flex}.mrr-card-akegroup{color:#fff;background:#111}.mrr-card-aketech{background:var(--lime);color:#111}.mrr-label{text-transform:uppercase;letter-spacing:.04em;opacity:.75;font-size:14px;font-weight:700}.mrr-value{letter-spacing:-.04em;font-size:44px;font-weight:800}@media (width<=720px){.mrr-banner{grid-template-columns:1fr}}.mobile-card-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.mobile-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:var(--shadow);padding:14px 16px}.mobile-card.is-clickable{cursor:pointer}.mobile-card-title{margin-bottom:8px;font-size:15px;font-weight:700}.mobile-card-fields{flex-direction:column;gap:4px;display:flex}.mobile-card-actions{border-top:1px solid var(--line);gap:10px;margin-top:10px;padding-top:10px;display:flex}.detail-field{justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;display:flex}.detail-field-label{color:var(--muted);flex:none}.detail-field-value{color:var(--ink);text-align:right;word-break:break-word;font-weight:600}.stage-badge{border:1px solid var(--line);background:var(--bg-soft);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;display:inline-block}.detail-page-fields{background:var(--card);border-radius:var(--radius-sm);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:16px 18px;display:flex}.page-dashboard{flex-direction:column;gap:16px;display:flex}.dashboard-task-groups{flex-direction:column;gap:18px;display:flex}.dashboard-task-group h3{align-items:center;gap:8px;margin:0 0 8px;font-size:14px;font-weight:700;display:flex}.dashboard-task-group-overdue h3{color:#b91c1c}.dashboard-task-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.dashboard-task-row{cursor:pointer;background:#f8fafc;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-size:13px;display:flex}.dashboard-task-row:hover{background:#eef2f7}.dashboard-task-name{flex:auto;min-width:0;font-weight:600}.dashboard-task-company{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.dashboard-task-deadline{color:#6b7280;white-space:nowrap;flex-shrink:0;font-weight:600}.dashboard-task-group-overdue .dashboard-task-deadline{color:#b91c1c}.tasks-overview-panel{padding-bottom:4px}.boards-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.board-tile{background:var(--bg-soft);cursor:pointer;border-radius:16px;flex-direction:column;justify-content:space-between;gap:24px;min-height:120px;padding:16px;transition:background .12s,transform .12s;display:flex}.board-tile:hover{background:#e7edf7}.board-tile-title{cursor:text;overflow-wrap:break-word;font-size:16px;font-weight:700}.board-tile-title-input{border:1px solid var(--line);border-radius:8px;width:100%;padding:4px 8px;font-size:16px;font-weight:700}.board-tile-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.board-tile-count{color:var(--muted);font-size:12.5px}.board-tile-delete{box-sizing:border-box;opacity:.5;flex-shrink:0;width:24px;height:24px;font-size:12px}.board-tile-delete:hover{opacity:1}.board-tile-add{cursor:default;border:1.5px dashed var(--line);background:0 0;justify-content:center;align-items:center}.board-tile-add-btn{width:100%;height:100%;min-height:60px;color:var(--muted);cursor:pointer;background:0 0;border:none;font-size:14px;font-weight:600}.board-tile-add-btn:hover{color:inherit}.board-tile-add-form{flex-direction:column;gap:8px;width:100%;display:flex}.board-participants{flex-direction:column;gap:20px;display:flex}.board-participants-section h4{color:var(--muted);margin:0 0 8px;font-size:13px;font-weight:700}.board-participants-search{border:1px solid var(--line);border-radius:10px;width:100%;margin-bottom:8px;padding:8px 10px;font-size:13px}.board-participants-list{flex-direction:column;gap:6px;max-height:220px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.board-participant-row{background:#f8fafc;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;font-size:13px;display:flex}.board-participant-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-weight:600;overflow:hidden}.board-participant-you{color:var(--muted);font-weight:400}.board-participant-role{color:var(--muted);text-transform:uppercase;flex-shrink:0;font-size:11.5px}.board-participant-remove,.board-participant-add{flex-shrink:0;padding:5px 10px;font-size:12px}.tasks-board-panel{padding-bottom:4px}.tasks-board-head{gap:12px}.tasks-back-link{color:var(--muted);cursor:pointer;background:0 0;border:none;align-items:center;gap:4px;padding:4px 6px;font-size:13px;font-weight:600;display:inline-flex}.tasks-back-link:hover{color:inherit}.tasks-back-link svg{width:16px;height:16px}.tasks-board-name{flex:auto;min-width:0;margin:0}.tasks-participants-btn{flex-shrink:0;padding:6px 12px;font-size:13px}.tasks-board{gap:16px;padding-bottom:8px;display:flex;overflow-x:auto}.tasks-column{background:var(--bg-soft);border-radius:16px;flex-direction:column;flex:0 0 280px;min-height:380px;padding:14px;transition:background .12s;display:flex}.tasks-column.is-drag-over{background:#e7f7d4}@keyframes tasksRollDown{0%{opacity:0;transform:scaleY(0)translateY(-12px)}to{opacity:1;transform:scaleY(1)translateY(0)}}.tasks-column-enter{transform-origin:top;animation:.32s both tasksRollDown}.tasks-card-enter{transform-origin:top;animation:.28s both tasksRollDown}@keyframes tasksRollUp{0%{opacity:1;transform:scaleY(1)translateY(0)}to{opacity:0;transform:scaleY(0)translateY(-12px)}}.tasks-column-exit{transform-origin:top;animation:.22s both tasksRollUp}.tasks-column-head{cursor:grab;align-items:center;gap:8px;display:flex}.tasks-column-head:active{cursor:grabbing}.tasks-column-title{text-overflow:ellipsis;white-space:nowrap;cursor:text;flex:auto;min-width:0;font-size:15px;font-weight:700;overflow:hidden}.tasks-list-title-input{border:1px solid var(--line);border-radius:8px;flex:auto;min-width:0;padding:2px 6px;font-size:15px;font-weight:700}.tasks-column-delete{box-sizing:border-box;opacity:.5;flex-shrink:0;width:24px;height:24px;font-size:12px}.tasks-column-delete:hover{opacity:1}.tasks-color-picker-wrap{flex-shrink:0;align-items:center;display:flex;position:relative}.tasks-color-swatch{box-sizing:border-box;cursor:pointer;border:none;border-radius:50%;width:24px;height:24px;padding:0;box-shadow:0 0 0 1.5px #0f172a80}.tasks-color-swatch-none{background:#fff;border:1.5px dashed #9ca3af}.tasks-color-picker{z-index:20;border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;display:grid;position:absolute;top:auto;bottom:28px;right:0;box-shadow:0 12px 28px #0f172a24}.tasks-color-option{border:1px solid var(--line);cursor:pointer;border-radius:50%;width:22px;height:22px;padding:0}.tasks-color-option-none{background:#fff;border:1.5px dashed #9ca3af}.tasks-color-option-custom{appearance:none;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.tasks-color-option-custom::-webkit-color-swatch-wrapper{border-radius:50%;padding:0;overflow:hidden}.tasks-color-option-custom::-webkit-color-swatch{border:none;border-radius:50%}.tasks-color-option-custom::-moz-color-swatch{border:none;border-radius:50%}.tasks-cards{flex-direction:column;gap:8px;min-height:40px;margin-top:12px;display:flex}.tasks-card{box-shadow:var(--shadow);cursor:grab;background:#fff;border-top:2px solid #0000;border-radius:12px;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.tasks-card:active{cursor:grabbing}.tasks-card.is-drop-before{border-top-color:#22c55e}.tasks-card-checkbox{appearance:none;border:2px solid var(--line);cursor:pointer;opacity:0;background:#fff;border-radius:50%;flex-shrink:0;place-content:center;width:22px;height:22px;margin-top:2px;transition:opacity .15s;display:inline-grid}.tasks-card:hover .tasks-card-checkbox,.tasks-card-checkbox:checked,.tasks-card-checkbox:focus-visible{opacity:1}.tasks-card-checkbox:checked{background:#22c55e;border-color:#22c55e}.tasks-card-checkbox:checked:after{content:"✓";color:#fff;font-size:13px;font-weight:700;line-height:1}.tasks-card-title{white-space:pre-wrap;overflow-wrap:break-word;font-size:13.5px;font-weight:600}.tasks-card.is-done .tasks-card-title{color:var(--muted);text-decoration:line-through}.tasks-column-footer{justify-content:space-between;align-items:flex-end;gap:8px;display:flex}.tasks-add-card{text-align:left;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:10px;margin-top:10px;padding:8px 10px;font-size:13px}.tasks-add-card:hover{color:inherit;background:#0f172a0f}.tasks-add-column{flex:0 0 280px;justify-content:flex-start}.tasks-add-card-form{flex-direction:column;flex:auto;gap:8px;min-width:0;margin-top:10px;display:flex}.tasks-add-card-input{border:1px solid var(--line);resize:vertical;border-radius:10px;width:100%;padding:8px 10px;font-family:inherit;font-size:13px}.tasks-add-card-actions{gap:8px;display:flex}.tasks-add-card-btn-sm{padding:6px 12px;font-size:12.5px}.task-card-modal{flex-direction:column;gap:14px;display:flex}.task-card-field{flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.task-card-field input[type=text],.task-card-field input:not([type]),.task-card-field textarea{border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-family:inherit;font-size:13px;font-weight:400}.task-card-field-checkbox{flex-direction:row;align-items:center;gap:8px}.task-card-modal-actions{justify-content:space-between;gap:10px;display:flex}.task-card-assignee-wrap{position:relative}.task-card-assignee-btn{align-self:flex-start;padding:6px 10px;font-weight:400}.task-card-assignee-picker{z-index:20;border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;gap:2px;min-width:180px;max-height:220px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.task-card-assignee-option{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px 8px;font-size:13px;font-weight:400}.task-card-assignee-option:hover{background:#f8fafc}.page-analytics{flex-direction:column;min-height:calc(100vh - 140px);display:flex}.page-analytics .metric-row{margin-top:6px}.page-footer{justify-content:flex-end;margin-top:auto;padding-top:24px;display:flex}.metric-row{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px;display:grid}.metric-card{min-height:150px;box-shadow:var(--shadow);border-radius:24px;padding:20px}.metric-dark,.metric-accent{color:#fff;background:#111}.metric-light{color:#111;background:#eceff3}.metric-top{opacity:.85;justify-content:space-between;margin-bottom:18px;font-size:14px;font-weight:600;display:flex}.metric-value{letter-spacing:-.04em;font-size:34px;font-weight:800}.metric-hint{opacity:.7;margin:10px 0 0;font-size:12px}.analytics-grid{grid-template-columns:1.2fr 1fr;gap:14px;display:grid}.funnel-bars{grid-template-columns:repeat(3,1fr);align-items:end;gap:18px;min-height:200px;padding-top:20px;display:grid}.funnel-col{color:var(--muted);flex-direction:column;align-items:center;gap:10px;font-size:12px;font-weight:600;display:flex}.funnel-bar{background:linear-gradient(180deg, var(--lime), #9ccc00);border-radius:12px 12px 8px 8px;width:42px}.stage-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.stage-list li{background:#f8fafc;border-radius:12px;justify-content:space-between;gap:12px;padding:10px 12px;font-size:13px;display:flex}.deal-payment-badge{letter-spacing:.01em;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:12px;align-items:center;height:40px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.deal-payment-badge.is-paid{color:#166534;background:#dcfce7;border-color:#bbf7d0}.deal-payment-badge.is-unpaid{color:#9a3412;background:#ffedd5;border-color:#fed7aa}.deal-payment-progress-badge{font-variant-numeric:tabular-nums;letter-spacing:.01em;color:#854d0e;-webkit-user-select:none;user-select:none;background:#fef9c3;border:1px solid #fde68a;border-radius:12px;align-items:center;height:40px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.deal-payments-list{flex-direction:column;gap:8px;margin:0 0 12px;padding:0;list-style:none;display:flex}.deal-payments-list li{border:1px solid var(--line);border-radius:var(--radius-sm);background:#f9fafb;align-items:center;gap:12px;padding:10px 12px;display:flex}.deal-payment-date{color:#6b7280;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12.5px}.deal-payment-main{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.deal-payment-channel{font-size:13.5px;font-weight:600}.deal-payment-note{color:#6b7280;word-break:break-word;font-size:12.5px}.deal-payment-amount{font-variant-numeric:tabular-nums;flex-shrink:0}.deal-payment-remove{flex-shrink:0;margin-left:-4px}.deal-payment-remove:hover{color:#b91c1c}.deal-payment-form{gap:12px;margin-top:4px}.deal-payment-form-row{grid-template-columns:1fr 1fr 1fr;gap:12px;display:grid}.section-label{align-items:center;gap:10px;margin-bottom:14px;display:flex}.section-label h2{margin:0;font-size:18px}.view-switch{background:var(--bg-soft);border-radius:12px;gap:2px;padding:3px;display:inline-flex}.view-switch-btn{color:var(--muted);border-radius:9px;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:600;display:inline-flex}.view-switch-btn.is-active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #0f172a1f}.kanban-board{gap:16px;padding-bottom:8px;display:flex;overflow-x:auto}.kanban-column{background:var(--bg-soft);border-radius:16px;flex-direction:column;flex:0 0 280px;padding:14px;transition:background .12s;display:flex}.kanban-column.is-drag-over{background:#e7f7d4}.kanban-column-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.kanban-column-title{font-size:13px;font-weight:700}.kanban-cards{flex-direction:column;gap:8px;min-height:40px;margin-top:12px;display:flex}.kanban-card{box-shadow:var(--shadow);cursor:grab;background:#fff;border-radius:12px;padding:12px}.kanban-card:active{cursor:grabbing}.kanban-context-menu{border:1px solid var(--line);z-index:50;background:#fff;border-radius:12px;min-width:160px;padding:6px;position:fixed;box-shadow:0 12px 28px #0f172a24}.kanban-card-title{text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:13.5px;font-weight:700;display:-webkit-box;overflow:hidden}.kanban-card-bin{color:#6b7280;letter-spacing:.02em;margin-top:4px;font-size:11px;font-weight:600}.kanban-card-foot{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.kanban-card-amount{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px;font-weight:700}.kanban-card-responsible{align-items:center;gap:6px;min-width:0;display:flex}.deal-responsible-name{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:100px;font-size:11px;overflow:hidden}.kanban-more-hint{color:var(--muted);text-align:center;margin:10px 0 0;font-size:12px}.kanban-mobile{flex-direction:column;gap:10px;display:flex}.kanban-mobile-indicator{justify-content:center;gap:6px;display:flex}.kanban-mobile-dot{background:var(--line);border-radius:50%;width:8px;height:8px;padding:0}.kanban-mobile-dot.is-active{background:var(--dark);border-radius:999px;width:20px}.kanban-mobile-label{justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.kanban-mobile-viewport{border-radius:16px;flex-direction:column;gap:8px;min-height:120px;padding:14px;display:flex}.kanban-mobile-card{cursor:default;padding-right:40px;position:relative}.kanban-mobile-card.is-lifted{opacity:.35;outline:2px dashed var(--muted);outline-offset:2px}.kanban-mobile-card-more{width:28px;height:28px;color:var(--muted);border-radius:50%;place-items:center;display:grid;position:absolute;top:8px;right:8px}.kanban-mobile-card-more:active{background:var(--bg-soft)}.kanban-mobile-lifted-overlay{z-index:60;pointer-events:none;width:min(85vw,300px);position:fixed;transform:translate(-50%,-50%)scale(1.05)}.kanban-mobile-lifted-overlay .kanban-card{box-shadow:0 20px 45px #0f172a40}.deals-list-menu-wrap{display:inline-flex;position:relative}.folder-more{width:32px;height:32px;color:inherit;opacity:.55;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:grid}.folder-more:hover,.folder-more[aria-expanded=true]{opacity:.9;background:#0f172a0f}.folder-menu{border:1px solid var(--line);z-index:5;background:#fff;border-radius:12px;min-width:140px;padding:6px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 12px 28px #0f172a24}.folder-menu-item{text-align:left;width:100%;font:inherit;color:#111827;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:600;display:block}.folder-menu-item:hover{background:#f3f4f6}.folder-menu-item.is-danger{color:#b91c1c}.folder-menu-item.is-danger:hover{background:#fef2f2}.deals-list-search{border:1px solid var(--line);max-width:360px;color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:8px;margin-bottom:12px;padding:10px 14px;display:flex}.deals-list-search input{min-width:0;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.deals-list-loading-more{text-align:center}.deals-list-table{table-layout:fixed}.deals-list-table th:first-child,.deals-list-table td:first-child{width:22%}.deals-list-table th:nth-child(2),.deals-list-table td:nth-child(2){width:12%}.deals-list-table th:nth-child(3),.deals-list-table td:nth-child(3){width:18%}.deals-list-table th:nth-child(4),.deals-list-table td:nth-child(4){width:16%}.deals-list-table th:nth-child(5),.deals-list-table td:nth-child(5),.deals-list-table th:nth-child(6),.deals-list-table td:nth-child(6){width:12%}.deals-list-table th:last-child,.deals-list-table td:last-child{width:44px}.deals-list-table .ledger-cell{vertical-align:middle;padding:16px 18px}.deals-list-table .deals-list-sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;padding:0 18px 14px;overflow:hidden}.deals-list-sortable:hover{color:#111827}.deals-list-sort-arrow{font-size:10px}.deals-list-row{cursor:pointer}.deals-list-row:hover{background:#0f172a08}.deals-list-truncate{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.deals-list-table td.deals-list-wrap{white-space:normal;overflow-wrap:break-word;word-break:break-word;line-height:1.4}.deals-list-responsible{align-items:center;gap:8px;min-width:0;display:flex}.deals-list-responsible .avatar{flex:none}.deals-list-responsible .deals-list-truncate{flex:auto;min-width:0}.deals-list-stage-select{border:1px solid var(--line);width:100%;max-width:100%;font:inherit;cursor:pointer;text-overflow:ellipsis;border-radius:8px;padding:6px 8px;font-size:12.5px;font-weight:600;overflow:hidden}.deals-list-actions{text-align:center}.detail-grid{grid-template-columns:1.3fr 1fr;align-items:start;gap:14px;display:grid}.detail-side{flex-direction:column;gap:14px;min-width:0;display:flex}.deal-tasks-panel{flex-direction:column;max-height:240px;display:flex;overflow:hidden}.deal-tasks-panel>h2{flex-shrink:0}.deal-tasks-panel .deal-tasks,.deal-tasks-panel .stub-text{overscroll-behavior:contain;min-height:0;overflow-y:auto}.deal-comments-panel{flex-direction:column;height:280px;display:flex;overflow:hidden}.deal-comments-panel>h2{flex-shrink:0;margin-bottom:10px}.deal-comments-list{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:8px;min-height:0;margin-bottom:10px;padding-right:2px;display:flex;overflow-y:auto}.deal-comment{border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:10px 12px}.deal-comment-meta{color:#6b7280;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:11px;font-weight:600;display:flex}.deal-comment-text{color:#111827;white-space:pre-wrap;word-break:break-word;margin:0;font-size:13px;line-height:1.4}.deal-comments-add{flex-direction:column;flex-shrink:0;gap:6px;display:flex}.deal-comments-add-row{gap:8px;display:flex}.deal-comments-add-row input[type=text],.deal-comments-add-row input:not([type]){border:1px solid var(--line);background:#fff;border-radius:12px;flex:1;min-width:0;padding:10px 12px}.deal-comments-add-photo{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;flex-shrink:0;padding:0 12px;font-size:16px}.deal-comments-add-files{flex-wrap:wrap;gap:6px;display:flex}.deal-comments-add-file{color:#374151;background:#eef2ff;border-radius:10px;align-items:center;gap:6px;max-width:180px;padding:4px 8px;font-size:12px;display:inline-flex}.deal-comments-add-file button{cursor:pointer;color:#6b7280;background:0 0;border:none;padding:0;font-size:14px;line-height:1}.deal-comment-attachments{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.deal-comment-attachment{border:1px solid var(--line);background:#eef0f3;border-radius:8px;width:64px;height:64px;position:relative;overflow:hidden}.deal-comment-attachment-loading{animation:1.2s ease-in-out infinite deal-attachment-pulse}@keyframes deal-attachment-pulse{0%,to{opacity:.5}50%{opacity:1}}.deal-comment-attachment img{object-fit:cover;cursor:zoom-in;width:100%;height:100%;display:block}.deal-comment-attachment-remove{color:#fff;cursor:pointer;background:#111827a6;border:none;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:12px;line-height:1;display:flex;position:absolute;top:2px;right:2px}.deal-comment-lightbox{z-index:1000;cursor:zoom-out;background:#111827d9;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.deal-comment-lightbox img{border-radius:8px;max-width:90vw;max-height:90vh}.deal-purchase-archive-panel{flex-direction:column;max-height:280px;display:flex;overflow:hidden}.deal-purchase-archive-panel>h2{flex-shrink:0;margin-bottom:10px}.deal-purchase-archive-list{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:8px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.deal-purchase-archive-item{text-align:left;border:1px solid var(--line);cursor:pointer;width:100%;font:inherit;color:inherit;background:#f8fafc;border-radius:12px;padding:10px 12px;display:block}.deal-purchase-archive-item:hover{background:#f1f5f9;border-color:#cbd5e1}.deal-purchase-archive-meta{color:#6b7280;justify-content:space-between;gap:8px;margin-bottom:2px;font-size:11px;font-weight:600;display:flex}.deal-purchase-archive-resp{color:#374151;margin-bottom:6px;font-size:12px}.deal-purchase-archive-empty{color:#9ca3af;margin:0;font-size:12px}.deal-purchase-archive-products{color:#111827;margin:0;padding-left:16px;font-size:13px;line-height:1.35}.field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.deal-fields-toggle{color:#4b5563;background:#e8ebef;border:1px solid #c4c9d1;border-radius:999px;width:30px;height:30px;padding:0;font-size:16px;line-height:1;transition:transform .15s,background .15s,border-color .15s}.deal-fields-toggle:hover{color:#111827;background:#dde1e7;border-color:#9ca3af}.deal-fields-toggle.is-collapsed{transform:rotate(-90deg)}.field-span-2{grid-column:1/-1}.contact-block{border:1px solid var(--line);background:#f3f6f9;border-radius:18px;padding:14px}.contact-block-head-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.contact-block-head{color:#4b5563;margin-bottom:0;font-size:13px;font-weight:700}.contact-person-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px}.contact-person-card+.contact-person-card{margin-top:10px}.contact-person-card-head{color:#6b7280;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:12.5px;font-weight:650;display:flex}.contact-block-grid{grid-template-columns:1.2fr 1fr;gap:12px;display:grid}.contact-link-input{border:1px solid var(--line);color:#0b5cab;word-break:break-all;background:#fff;border-radius:12px;align-items:center;min-height:44px;padding:11px 12px;font-weight:600;text-decoration:none;display:flex}.contact-link-input:hover{background:#f8fafc}.products-block{border:1px solid var(--line);background:#f8fafc;border-radius:18px;padding:16px}.products-empty{color:#6b7280;margin:0;font-size:14px}.products-lines{gap:10px;margin:0;padding:0;list-style:none;display:grid}.products-lines li{border:1px solid var(--line);background:#fff;border-radius:14px;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px 14px;min-height:72px;padding:14px 16px;font-size:14px;display:flex}.products-line-main{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.products-name{color:#111827;font-weight:600}.products-name-variant{color:#6b7280;font-size:12px}.products-meta{color:#4b5563;font-variant-numeric:tabular-nums;font-size:13px}.products-line-actions{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.products-edit{flex-shrink:0;width:34px;height:34px}.picker-variant-chips{flex-wrap:wrap;gap:6px;padding:6px 12px 10px;display:flex}.products-qty-controls{background:#f3f4f6;border-radius:12px;flex-shrink:0;align-items:center;gap:2px;padding:4px;display:inline-flex}.products-qty-btn{color:#111827;width:34px;height:34px;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:10px;font-size:18px;line-height:1;box-shadow:0 0 0 1px #0f172a0f}.products-qty-btn:hover{background:#eef2ff}.products-qty-value{text-align:center;font-variant-numeric:tabular-nums;color:#111827;min-width:2.2ch;padding:0 6px;font-weight:600}.products-remove{color:#9ca3af;flex-shrink:0;width:34px;height:34px}.products-remove:hover{color:#111827;background:#f3f4f6}.products-add-btn{align-items:center;gap:6px;margin-top:12px;display:inline-flex}.products-hint{color:#6b7280;margin:8px 0 0;font-size:12px}.recommended-products{border-top:1px dashed var(--line);margin-top:14px;padding-top:12px}.recommended-products-head{color:#6b7280;margin-bottom:8px;font-size:13px;font-weight:700}.recommended-products-list{overscroll-behavior:contain;flex-direction:column;gap:6px;max-height:200px;margin:0;padding:0 2px 0 0;list-style:none;display:flex;overflow-y:auto}.recommended-product-item{text-align:left;border:1px solid var(--line);cursor:pointer;background:#f8fafc;border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;width:100%;padding:8px 12px;display:grid}.recommended-product-item:hover{background:#fff;border-color:#9ca3af}.recommended-product-add{color:#fff;background:#111827;border-radius:50%;place-items:center;width:22px;height:22px;font-size:14px;font-weight:700;line-height:1;display:grid}.deal-expenses-hint{margin-bottom:12px}.deal-suppliers-panel .products-hint{margin-top:0}.deal-suppliers-status{border:1px solid var(--border);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;padding:14px 16px;display:flex}.deal-suppliers-status.is-warn{background:#fff7ed;border-color:#fdba74}.deal-suppliers-status.is-pending{background:#fffbeb;border-color:#fcd34d}.deal-suppliers-status.is-ok{background:#f0fdf4;border-color:#86efac}.deal-suppliers-status strong{margin-bottom:4px;display:block}.deal-suppliers-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.deal-cost-form{gap:12px;margin:12px 0 16px;display:grid}.deal-cost-readonly{flex-direction:column;gap:2px;display:flex}.deal-expenses{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.deal-expenses li{border:1px solid var(--line);border-radius:var(--radius-sm);background:#f9fafb;align-items:baseline;gap:12px;padding:10px 12px;display:flex}.deal-expense-date{color:#6b7280;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12.5px}.deal-expense-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.deal-expense-category{font-size:13.5px;font-weight:600}.deal-expense-note{color:#6b7280;word-break:break-word;font-size:12.5px}.deal-expense-amount{font-variant-numeric:tabular-nums;flex-shrink:0}.product-picker{flex-direction:column;gap:12px;min-height:280px;display:flex}.product-picker .service-type-toggle{margin-bottom:0}.product-picker-expand{grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1);display:grid}.product-picker-expand.is-open{grid-template-rows:1fr}.product-picker-expand-inner{flex-direction:column;gap:12px;min-height:0;transition:padding-top .32s cubic-bezier(.22,1,.36,1);display:flex;overflow:hidden}.product-picker-expand.is-open .product-picker-expand-inner{padding-top:12px}.product-picker-toolbar{align-items:center;gap:10px;display:flex}.product-picker-search{border:1px solid var(--line);width:100%;font:inherit;background:#fff;border-radius:12px;padding:12px 14px}.product-picker-list{flex-direction:column;gap:6px;max-height:min(420px,55vh);margin:0;padding:0;list-style:none;display:flex;overflow:auto}.product-picker-item{text-align:left;border:1px solid var(--line);width:100%;font:inherit;cursor:pointer;background:#fff;border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px 14px;transition:background .12s,border-color .12s;display:grid}.product-picker-item:hover{background:#f8fafc;border-color:#cbd5e1}.product-picker-item.is-doc-template{grid-template-columns:minmax(0,1fr) auto}.product-picker-item.is-doc-template .product-picker-name,.product-picker-item.is-doc-template .field-hint{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.product-picker-name{color:#111827;min-width:0;font-weight:600}.product-picker-price{color:#4b5563;font-variant-numeric:tabular-nums;white-space:nowrap}.product-picker-qty{color:#6b7280;font-variant-numeric:tabular-nums;text-align:right;min-width:2.5ch;font-size:13px}.legal-entity-picker-item{flex-direction:column;align-items:flex-start;gap:3px;display:flex}.field-with-action{align-items:center;gap:8px;display:flex}.field-with-action input{flex:1;min-width:0}.field-with-action .btn-ghost{white-space:nowrap;flex-shrink:0}.legal-search-field{position:relative}.legal-search-dropdown{z-index:20;border:1px solid var(--line);background:#fff;border-radius:12px;max-height:min(320px,45vh);padding:6px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 12px 28px #0f172a1f}.legal-search-dropdown-empty{color:#6b7280;margin:0;padding:10px 8px;font-size:13px;font-weight:400}.legal-search-dropdown-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.legal-search-dropdown-list .product-picker-item{border-radius:8px;padding:8px 10px}.form label,.field-grid label{color:#374151;flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.form input,.form select,.form textarea,.field-grid input,.field-grid select,.field-grid textarea{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;min-width:0;padding:11px 12px}.form textarea,.field-grid textarea{resize:vertical;min-height:84px;line-height:1.4}.responsible-row{align-items:center;gap:8px;display:flex}.responsible-row input{flex:1}.field-hint{color:#b45309;font-size:12px;font-weight:500}.field-grid .chip-toggle{box-sizing:border-box;border-radius:12px;justify-content:center;align-items:center;width:100%;margin-top:2px;padding:11px 12px;display:flex}.deal-tasks{flex-direction:column;gap:10px;display:flex}.deal-task-card{border:1px solid var(--line);background:#f8fafc;border-radius:12px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.deal-task-card.is-overdue{background:#fff7f7;border-color:#fecaca}.deal-task-card-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.deal-task-name{color:#374151;font-size:13px;font-weight:700}.deal-task-deadline{color:#6b7280;white-space:nowrap;flex-shrink:0;font-size:12px;font-weight:600}.deal-task-card.is-overdue .deal-task-deadline{color:#b91c1c}.deal-task-card input{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;min-width:0;padding:8px 10px;font-size:13px}.deal-task-done-hint{color:#9ca3af;margin-top:4px;font-size:11px;display:block}.responsible-edit{color:#6b7280;border:1px solid var(--line);background:#fff;border-radius:10px;flex-shrink:0;width:36px;height:36px}.responsible-edit:hover{color:#111827;background:#f3f4f6}.employee-picker-item{grid-template-columns:auto 1fr auto!important}.employee-picker-item.is-selected{background:#f8fafc;border-color:#111827}.amount-preview{color:#fff;background:#111;border-radius:16px;grid-column:1/-1;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.checklist{flex-direction:column;gap:8px;margin:0 0 14px;padding:0;list-style:none;display:flex}.checklist li{background:#f8fafc;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.check-row{align-items:center;gap:10px;font-weight:600;display:inline-flex}.check-row .done{color:var(--muted);text-decoration:line-through}.check-add{gap:8px;display:flex}.check-add input{border:1px solid var(--line);border-radius:12px;flex:1;padding:11px 12px}.linkish{color:#6b7280;font-size:12px;text-decoration:underline}.deal-docs-dropzone{border:1.5px dashed var(--line);background:var(--bg-soft);cursor:pointer;text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:140px;margin-top:8px;padding:20px 16px;transition:border-color .15s,background .15s;display:flex}.deal-docs-dropzone:hover{border-color:var(--ink);background:#fff}.deal-docs-dropzone.is-busy{opacity:.7;cursor:wait}.deal-docs-dropzone-icon{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:4px;display:inline-flex}.deal-docs-dropzone-title{font-size:14px;font-weight:700}.deal-docs-dropzone-hint{color:var(--muted);font-size:12.5px}.deal-header-actions .btn-dark{gap:6px;padding:9px 13px;font-size:11px}.deal-header-actions .btn-dark svg{width:16px;height:16px}.deal-slide-viewport{position:relative;overflow:hidden}.deal-slide-track{align-items:start;width:200%;transition:transform .32s cubic-bezier(.22,1,.36,1);display:flex}.deal-slide-viewport.is-active .deal-slide-track{transform:translate(-50%)}.deal-slide-pane{flex-shrink:0;width:50%;min-width:0}.deal-slide-pane-overlay{padding-right:2px}.deal-overlay-track{align-items:start;width:300%;transition:transform .32s cubic-bezier(.22,1,.36,1);display:flex}.deal-overlay-track.is-letter{transform:translate(-33.3333%)}.deal-overlay-track.is-employees{transform:translate(-66.6667%)}.deal-overlay-pane{flex-shrink:0;width:33.3333%;min-width:0}.deal-slide-screen{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);min-height:320px;padding:18px 20px}.deal-slide-screen-head{align-items:center;gap:14px;margin-bottom:14px;display:flex}.deal-slide-screen-head h2{margin:0}.deal-slide-back{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.deal-document-employees-table-wrap{overflow-x:auto}.deal-document-employees-table{border-collapse:collapse;width:100%;font-size:13px}.deal-document-employees-table th,.deal-document-employees-table td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:6px 8px}.deal-document-employees-table th{color:var(--muted);font-weight:600}.deal-document-employees-table input,.deal-document-employees-table select{background:0 0;border:1px solid #0000;border-radius:6px;width:100%;min-width:120px;padding:4px 6px;font-size:13px}.deal-document-employees-table input:focus,.deal-document-employees-table select:focus{border-color:var(--line);background:#fff;outline:none}.deal-slide-back:hover{border-color:var(--ink)}.deal-products-view-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.deal-products-view-row{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.deal-products-view-row:last-child{border-bottom:none}.deal-products-view-main{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.deal-products-view-name{font-weight:600}.deal-products-view-qty{color:var(--muted);font-size:13px}.deal-products-view-sum{color:var(--muted);white-space:nowrap;font-size:13px}.deal-products-view-total{text-align:right;margin:14px 0 0;font-size:14px}.product-service-badge{letter-spacing:.01em;-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:999px;align-items:center;height:26px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.product-service-badge.is-training{color:#166534;background:#dcfce7;border-color:#bbf7d0}.product-service-badge.is-tech{color:#9a3412;background:#ffedd5;border-color:#fed7aa}.deal-letter-field{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.deal-letter-field label{color:var(--muted);font-size:12.5px;font-weight:600}.deal-letter-field input,.deal-letter-field textarea{border:1px solid var(--line);font:inherit;resize:vertical;border-radius:12px;padding:11px 12px}.deal-letter-field textarea{min-height:180px}.deal-taxi-payment-row{align-items:stretch;gap:10px;display:flex}.deal-taxi-wallet-field{color:#374151;flex-direction:column;flex:1.15 1 0;gap:6px;min-width:0;font-size:13px;font-weight:700;display:flex}.deal-taxi-wallet-field select{appearance:none;border:1.5px solid var(--line);color:#111827;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23374151' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/12px 8px no-repeat,#fff;border-radius:16px;width:100%;height:100%;padding:14px 34px 14px 16px;font-size:14px;font-weight:700;transition:box-shadow .15s,border-color .15s;box-shadow:0 6px 16px #0f172a12}.deal-taxi-wallet-field select:focus{border-color:var(--lime);outline:none;box-shadow:0 0 0 3px #c8f00066}.deal-taxi-wallet-field select:disabled{opacity:.6}.deal-taxi-dispatch-btn{text-align:center;white-space:normal;flex-wrap:wrap;flex:1 1 0;place-content:center;width:auto;min-width:0;min-height:64px;padding:10px;font-size:12.5px;line-height:1.25}.deal-letter-header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.deal-letter-menu{position:relative}.deal-letter-menu-panel{z-index:20;border:1px solid var(--line);background:#fff;border-radius:14px;width:max(260px,100%);max-height:min(360px,60vh);padding:8px;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 16px 40px #00000024}.deal-letter-menu-empty{color:var(--muted);margin:0;padding:8px 6px;font-size:13px}.deal-letter-menu-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.deal-letter-menu-item{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.deal-letter-menu-item:hover{background:#f8fafc}.deal-letter-menu-item-name{color:#111827;font-weight:600}.deal-letter-menu-item-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.deal-letter-attachments{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.deal-letter-attachment{align-items:center;gap:10px;display:flex}.deal-letter-attachment-remove{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;padding:3px 10px;font-size:12px}.deal-letter-attachment-remove:hover{border-color:var(--ink)}.deal-letter-send{justify-content:center;width:100%;margin-top:14px}.deal-mail-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.deal-mail-list-item{border:1px solid var(--line);cursor:pointer;text-align:left;width:100%;font:inherit;background:#f8fafc;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.deal-mail-list-item:hover{border-color:var(--ink)}.deal-mail-list-subject{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.deal-mail-list-meta{color:var(--muted);flex-shrink:0;align-items:center;gap:10px;font-size:12px;display:flex}.count-badge.is-unassigned{color:#92400e;background:#fef3c7}.deal-mail-list-date{white-space:nowrap}.deal-mail-thread-subject{margin:0 0 12px}.deal-mail-messages{flex-direction:column;gap:10px;margin:0 0 16px;padding:0;list-style:none;display:flex}.deal-mail-message{border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:10px 12px}.deal-mail-message.is-outbound{background:#eef2ff}.deal-mail-message-meta{color:#6b7280;align-items:center;gap:10px;margin-bottom:4px;font-size:11px;font-weight:600;display:flex}.deal-mail-message-status{border-radius:999px;padding:2px 8px;font-size:11px}.deal-mail-message-status.is-failed{color:#991b1b;background:#fee2e2}.deal-mail-message-status.is-pending{color:#4b5563;background:#f3f4f6}.deal-mail-message-body{color:#111827;white-space:pre-wrap;word-break:break-word;margin:0;font-size:13px;line-height:1.4}.deal-mail-message-attachments{flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.deal-mail-attachment-link{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;padding:3px 10px;font-size:12px}.deal-mail-attachment-link:hover{border-color:var(--ink)}.deal-mail-attachment-link:disabled{cursor:not-allowed;opacity:.6}.deal-mail-compose{margin-top:4px}.deal-mail-compose>.deal-letter-header-actions{margin-bottom:14px}.deal-mail-categories{flex-direction:column;gap:10px;display:flex}.deal-mail-category-row{border:1px solid var(--line);cursor:pointer;text-align:left;width:100%;font:inherit;background:#f8fafc;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex;position:relative}.deal-mail-category-row:hover{border-color:var(--ink)}.deal-mail-category-label{align-items:center;gap:10px;font-weight:600;display:flex}.deal-mail-category-unread-badge{color:#fff;background:#dc2626;border-radius:999px;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:700;display:flex;position:absolute;top:-6px;right:-6px;box-shadow:0 0 0 2px #fff}.page-settings{flex-direction:column;gap:20px;display:flex}.page-settings .page-head{margin-bottom:0}.settings-top-row{grid-template-columns:1fr 1fr;align-items:stretch;gap:16px;display:grid}.settings-top-row>.panel{min-width:0;height:100%}.settings-top-row .settings-toolbar,.settings-top-row .tax-rate-toolbar{flex-wrap:wrap}.settings-top-row .tax-rate-field{padding:12px 16px}.bitrix-sync-panel{flex-direction:column;justify-content:space-between;gap:16px;display:flex}.bitrix-sync-panel .panel-head{margin-bottom:0}.bitrix-sync-panel>.btn-dark{align-self:flex-start}.bitrix-sync-panel-top,.bitrix-sync-panel-bottom{flex-direction:column;gap:8px;display:flex}.bitrix-sync-progress-wrap{flex-direction:column;gap:6px;display:flex}.bitrix-sync-progress{background:var(--line);border-radius:4px;height:6px;overflow:hidden}.bitrix-sync-progress-fill{background:var(--lime);border-radius:4px;height:100%;transition:width .3s}.bitrix-sync-progress--indeterminate .bitrix-sync-progress-fill{width:40%;animation:1.2s ease-in-out infinite bitrix-sync-progress-slide}@keyframes bitrix-sync-progress-slide{0%{transform:translate(-100%)}to{transform:translate(250%)}}.bitrix-sync-progress-label{color:var(--muted);font-size:12px}.bitrix-sync-divider{border:none;border-top:1px solid var(--line);margin:0}.bitrix-sync-aliases{flex-direction:column;gap:8px;display:flex}.bitrix-sync-aliases .panel-head{margin-bottom:0}.alias-row{flex-wrap:wrap}.alias-row-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}@media (width<=900px){.settings-top-row{grid-template-columns:1fr}}.settings-grid{grid-template-columns:1fr 1fr;align-items:stretch;gap:16px;display:grid}.settings-grid-single{grid-template-columns:1fr}.settings-panel{flex-direction:column;min-height:420px;max-height:min(72vh,760px);display:flex}.settings-panel-compact{min-height:520px;max-height:min(88vh,920px);overflow:hidden}.settings-panel-compact .stage-list{flex:1;min-height:0;overflow:auto}.product-picker-expand-inner .settings-list{flex:none;max-height:min(42vh,380px);overflow-y:auto}.permissions-panel{min-height:0}.permissions-table{border-collapse:collapse;width:100%;margin-top:8px}.permissions-table th,.permissions-table td{text-align:left;border-bottom:1px solid var(--line);padding:8px 10px}.permissions-table select{min-width:160px}.settings-search{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;margin-bottom:12px;padding:11px 12px}.settings-toolbar{grid-template-columns:1fr auto;align-items:start;gap:10px;margin-bottom:12px;display:grid}.settings-toolbar .settings-search{margin-bottom:0}.category-expand-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 10px;display:flex}.category-expand-actions{flex-wrap:wrap;gap:8px;display:flex}.category-expand-actions .btn-ghost,.category-expand-actions .btn-dark,.category-expand-actions .btn-danger{white-space:nowrap;flex:none}.settings-name-btn{text-align:left;color:inherit;cursor:pointer;padding:0;font-weight:700}.settings-name-btn:hover{color:#0b5cab}.emp-avatar-field{align-items:center;gap:14px;margin-bottom:14px;display:flex}.emp-avatar-preview{border:1px solid var(--border,#e5e7eb);flex-shrink:0}.emp-avatar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.emp-avatar-hint{width:100%;color:var(--muted);margin:0;font-size:12px;line-height:1.35}.emp-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.emp-form-grid .field-span-2{grid-column:1/-1}.emp-form-actions-left{gap:8px;display:flex}.emp-form-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.btn-ghost.danger{color:#b91c1c}.btn-ghost.danger:hover{background:#fef2f2}.settings-add-form{margin-bottom:14px}.settings-list{flex-direction:column;flex:1;gap:8px;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.settings-list li{border:1px solid var(--line);background:#f8fafc;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px 12px;padding:10px 12px;display:grid}.settings-list li.is-inactive{opacity:.62}.product-settings-list li{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 14px;padding:12px 14px}.product-settings-list.is-selecting li{cursor:pointer;grid-template-columns:auto minmax(0,1fr)}.product-settings-list li.is-selected{border-color:color-mix(in srgb, #2563eb 28%, var(--line));background:#eef3fd}.product-select-circle{cursor:pointer;background:#fff;border:2px solid #9ca3af;border-radius:50%;flex-shrink:0;width:22px;height:22px;padding:0}.product-select-circle.is-checked{background:#111;border-color:#111;box-shadow:inset 0 0 0 3px #fff}.product-select-circle:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.settings-list-main{flex-direction:column;gap:2px;min-width:0;display:flex}.settings-name-input,.settings-price-input{font:inherit;background:0 0;border:1px solid #0000;border-radius:8px;width:100%;padding:4px 6px;font-weight:600}.settings-name-input:focus,.settings-price-input:focus{border-color:var(--line);background:#fff;outline:none}.settings-price-field{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:4px;min-width:0;padding:6px 10px;display:flex}.settings-price-prefix{color:#9ca3af;flex-shrink:0;font-size:13px;font-weight:600}.settings-price-field .settings-price-input{font-variant-numeric:tabular-nums;text-align:right;-moz-appearance:textfield;padding:0;font-weight:600}.settings-price-field .settings-price-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.settings-price-field .settings-price-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.settings-meta{color:#6b7280;font-size:12px}.settings-row-remove{color:#9ca3af;justify-self:end;width:34px;height:34px}.settings-row-remove:hover{color:#111827;background:#f3f4f6}.kkb-field-row{align-items:center;gap:8px;display:flex}.kkb-field-row input{flex:1;min-width:0}.kkb-unit-toggle{flex-shrink:0;gap:4px;display:inline-flex}.kkb-unit-toggle .chip-toggle{min-width:40px}.pricing-rule-row{margin-bottom:8px}.pricing-summary-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.pricing-rule-unbounded{min-width:0;color:var(--text-muted,#6b7280);flex:1;font-size:13px}.activity-types-field{flex-direction:column;gap:8px;display:flex}.activity-types-label{font-size:13px;font-weight:700}.activity-types-chips{flex-wrap:wrap;gap:8px;display:flex}.activity-types-add{align-items:center;gap:10px;margin-bottom:12px;display:flex}.deal-task-create{grid-template-columns:minmax(0,1.6fr) 110px minmax(140px,auto) auto;align-items:end;gap:10px 12px;margin:14px 0 16px;display:grid}.deal-task-create-done{grid-column:1/-1}.deal-task-create label,.deal-task-create-scope{color:#6b7280;flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.deal-task-create input{border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);background:#fff;border-radius:12px;padding:11px 12px;font-weight:500}.deal-task-create-scope .chip-toggle{justify-content:center;min-height:42px}.deal-task-create-submit{align-self:end;height:42px}.deal-task-type-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.deal-task-type-card{border:1px solid var(--line);background:#f8fafc;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.deal-task-type-card.is-inactive{opacity:.72}.deal-task-type-main{flex-direction:column;gap:8px;min-width:0;display:flex}.deal-task-type-title{color:var(--ink);align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.deal-task-type-hidden{color:#9ca3af;text-transform:lowercase;font-size:11px;font-weight:600}.deal-task-type-meta{flex-wrap:wrap;gap:6px;display:flex}.deal-task-type-chip{border:1px solid var(--line);color:#6b7280;background:#fff;border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.deal-task-type-actions{flex-shrink:0;gap:6px;display:flex}@media (width<=720px){.deal-task-create{grid-template-columns:1fr 1fr}.deal-task-create-name,.deal-task-create-submit{grid-column:1/-1}.deal-task-type-card{flex-direction:column;align-items:stretch}.deal-task-type-actions{justify-content:flex-end}}.activity-types-add input{border:1px solid var(--line);background:#fff;border-radius:12px;flex:auto;min-width:0;padding:11px 12px}.activity-types-list{max-height:420px}.activity-types-list>li{flex-direction:column;align-items:stretch;gap:0;padding:0;display:flex;overflow:hidden}.activity-type-row{align-items:center;gap:10px;padding:10px 12px;display:flex}.activity-type-toggle{text-align:left;cursor:pointer;min-width:0;color:inherit;flex:auto;align-items:center;gap:8px;padding:0;display:flex}.activity-type-toggle:hover .settings-name-btn{color:#0b5cab}.activity-type-chevron{color:#9ca3af;flex-shrink:0;width:14px;font-weight:700;transition:transform .15s;display:inline-block}.activity-type-chevron.is-open{transform:rotate(90deg)}.activity-types-row-actions{flex-shrink:0;gap:6px;display:flex}.activity-type-products{border-top:1px solid var(--line);background:#fff;padding:8px 12px 10px 34px}.activity-type-products ul{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.activity-type-products ul li{background:0 0;border:none;border-radius:0;justify-content:space-between;align-items:baseline;gap:12px;padding:4px 0;display:flex}.activity-type-products .is-inactive-text{opacity:.62}.activity-type-products .stub-text{margin:0}.tax-rate-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;display:flex}.tax-rate-field{border:1px solid var(--line);cursor:text;background:#fff;border-radius:999px;align-items:center;gap:10px;padding:16px 24px;font-size:15px;transition:border-color .15s,box-shadow .15s;display:inline-flex}.tax-rate-field:hover{border-color:#9ca3af}.tax-rate-field:focus-within{border-color:#111827;box-shadow:0 0 0 3px #1118271a}.tax-rate-field-company{letter-spacing:.02em;color:#6b7280;white-space:nowrap;cursor:pointer;padding:0;font-size:13px;font-weight:700}.tax-rate-field-company:hover{color:#111827}.tax-rate-field>span:last-child{color:#6b7280;font-weight:700}.tax-rate-field input{width:56px;font:inherit;text-align:right;font-variant-numeric:tabular-nums;-moz-appearance:textfield;background:0 0;border:none;border-radius:0;padding:0;font-size:16px;font-weight:700}.tax-rate-field input:focus{outline:none}.tax-rate-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tax-rate-field input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.unassigned-deals-table td:first-child,.unassigned-deals-table td:nth-child(2){white-space:normal;word-break:break-word}.unassigned-deals-table td:first-child{max-width:420px}.unassigned-deals-table td:nth-child(2){max-width:260px}.stub-panel{min-height:280px}.disk-placeholder{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px;display:grid}.disk-folder{min-height:110px;font:inherit;color:#4b5563;cursor:pointer;background:#eceff3;border:none;border-radius:18px;place-items:center;font-weight:700;transition:background-color .15s;display:grid}.disk-folder:hover{background:#e2e6ec}.file-upload-label{cursor:pointer}.file-upload-label.is-busy{opacity:.6;cursor:not-allowed}.email-template-attachments{flex-direction:column;gap:6px;margin:4px 0 0;padding:0;list-style:none;display:flex}.email-template-attachment{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.email-template-attachment-remove{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;flex-shrink:0;padding:3px 10px;font-size:12px}.email-template-attachment-remove:hover{border-color:var(--ink)}.email-template-attachment-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px;display:flex}.email-template-dropzone{border:1px dashed var(--line);cursor:pointer;border-radius:12px;align-items:center;gap:8px;padding:9px 14px;font-size:13px;font-weight:600;display:inline-flex}.email-template-dropzone:hover{border-color:var(--ink)}.email-template-dropzone.is-busy{opacity:.6;cursor:not-allowed}.panel-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px;display:flex}.doc-field-group{margin-top:16px}.doc-field-group-title{text-transform:uppercase;letter-spacing:.02em;color:var(--muted);margin-bottom:8px;font-size:12.5px;font-weight:700}.doc-field-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.doc-field-row{border:1px solid var(--line);background:#f8fafc;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 12px;display:grid}.doc-field-token{color:#0b5cab;white-space:nowrap;background:#eaf2fc;border-radius:8px;padding:3px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;font-weight:600}.doc-field-info{flex-direction:column;gap:1px;min-width:0;display:flex}.doc-field-label{color:#111827;font-weight:600}.doc-field-value{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.doc-field-copy{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;flex-shrink:0;padding:4px 10px;font-size:12px}.doc-field-copy:hover{border-color:var(--ink)}.ledger-list li{grid-template-columns:1fr auto}.page-accounting{flex-direction:column;gap:24px;display:flex}.page-accounting .metric-row,.page-accounting .page-head{margin-bottom:0}.page-accounting .page-head-actions-only{justify-content:space-between}.page-accounting .metric-row{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.metric-card-clickable{cursor:pointer;transition:transform .12s,box-shadow .12s}.metric-card-clickable:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a24}.page-accounting .analytics-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:stretch}.page-accounting .analytics-grid>.panel{flex-direction:column;align-self:start;height:320px;display:flex}.page-accounting .funnel-bars{scrollbar-width:none;flex:1;align-items:end;gap:16px;min-height:0;padding-bottom:4px;display:flex;overflow-x:auto}.page-accounting .funnel-bars::-webkit-scrollbar{display:none}.page-accounting .funnel-col{flex-direction:column;flex:0 0 68px;justify-content:flex-end;align-items:center;height:100%;display:flex}.page-accounting .funnel-bar-pair{justify-content:center;align-items:end;gap:4px;width:100%;height:100%;display:flex}.page-accounting .funnel-bar-group,.page-accounting .funnel-bar-tech{width:20px}.page-accounting .funnel-bar-tech{background:linear-gradient(180deg, #3a3f4b, var(--ink,#111827))}.page-accounting .funnel-legend{color:var(--muted);align-items:center;gap:12px;font-size:12px;display:flex}.page-accounting .funnel-legend-item{align-items:center;gap:6px;display:flex}.page-accounting .funnel-legend-dot{border-radius:50%;width:8px;height:8px}.page-accounting .funnel-legend-dot-group{background:var(--lime)}.page-accounting .funnel-legend-dot-tech{background:var(--ink,#111827)}.stage-list-resizable{min-height:80px;overflow:auto}.stage-list-resizable .ledger-table thead th,.stage-list-resizable .total-table thead th{background:var(--card);z-index:1;position:sticky;top:0}.managers-detail-link{background:linear-gradient(155deg, #d8ff3d 0%, var(--lime) 48%, #b4d600 100%);cursor:pointer;text-align:left;color:#0a0a0a;width:100%;height:320px;font:inherit;border:0;border-radius:32px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:28px;margin:0;padding:36px 32px 28px;line-height:1.2;transition:filter .12s,box-shadow .12s,transform .12s;display:flex;overflow:hidden}.managers-detail-link:hover{filter:brightness(.98);transform:translateY(-1px);box-shadow:0 14px 30px #8caa0047}.managers-detail-top{flex-direction:column;align-items:flex-start;gap:14px;max-width:100%;display:flex}.managers-detail-title{letter-spacing:-.04em;font-size:52px;font-weight:800;line-height:.98}.managers-detail-sub{color:#0a0a0a;max-width:22em;font-size:16px;font-weight:500;line-height:1.4}.managers-detail-topics{flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:auto;display:flex}.managers-detail-topics>span{color:#0a0a0a;white-space:nowrap;background:#ffffff6b;border:0;border-radius:999px;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:700;line-height:1.15;display:inline-flex}.managers-detail-topics>span.managers-detail-topic-wide{white-space:normal;align-items:center}.managers-detail-topics>span.managers-detail-topic-wide>span{font-size:14px;font-weight:700;line-height:1.15;display:block}.managers-detail-topics>span svg{flex-shrink:0;width:18px;height:18px}.resize-handle{cursor:row-resize;touch-action:none;justify-content:center;align-items:center;margin-top:4px;padding:10px 0 4px;display:flex}.resize-handle-bar{background:var(--dark);border-radius:999px;width:36px;height:4px}.recent-deals-chart{position:relative}.recent-deals-svg{touch-action:none;width:100%;height:220px;display:block}.chart-axis-text{fill:var(--muted);font-size:11px}.chart-tooltip{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);pointer-events:none;white-space:nowrap;z-index:2;border-radius:10px;flex-direction:column;gap:2px;padding:8px 12px;font-size:13px;display:flex;position:absolute;transform:translate(-50%,-115%)}.chart-tooltip strong{font-size:15px}.audit-diff-list{flex-direction:column;gap:2px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.chart-tooltip-muted{color:var(--muted);font-size:12px}.table-scroll{overflow-x:visible}.ledger-table{border-collapse:collapse;width:100%;font-size:13.5px}.ledger-table-payroll{table-layout:fixed}.ledger-table-payroll .ledger-cell{padding-top:15px;padding-bottom:15px}.ledger-table-payroll tr.payroll-row-toggle{cursor:pointer}.ledger-table-payroll tr.payroll-row-toggle:hover td,.ledger-table-payroll tr.payroll-row-toggle:focus-visible td{background:var(--bg-soft,#00000008)}.ledger-table-payroll tr.payroll-row-toggle:focus-visible{outline:2px solid var(--ink,#111);outline-offset:-2px}.ledger-table-payroll tr.payroll-row-open td{background:var(--bg-soft,#00000008)}.payroll-split-toggle{border:1px solid var(--border);background:color-mix(in srgb, var(--lime,#c8e600) 22%, var(--bg,#fff));color:var(--muted);font:inherit;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;border-radius:999px;align-items:center;gap:5px;margin:0;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.payroll-split-toggle:hover{border-color:var(--lime,#c6e35b);color:var(--ink)}.payroll-split-toggle-icon{opacity:.7;font-size:11px}.payroll-manager-cell{align-items:center;gap:8px;min-width:0;display:inline-flex}.payroll-expand-chevron{width:14px;color:var(--muted);flex:none;justify-content:center;align-items:center;font-size:11px;display:inline-flex}.payroll-expand-chevron-placeholder{visibility:hidden}.ledger-table-payroll tr.payroll-deals-row>td{white-space:normal;vertical-align:top;background:var(--color-surface-muted,#00000005);width:auto;padding:0 10px 12px}.payroll-deals-list{gap:0;margin:0;padding:4px 0 2px 22px;list-style:none;display:grid}.payroll-deals-list li{border-top:1px solid var(--line);grid-template-columns:108px minmax(0,1fr) minmax(120px,auto) minmax(120px,auto) minmax(100px,auto);align-items:start;gap:12px;padding:10px 4px;display:grid}.payroll-deals-list li:first-child{border-top:none}.payroll-deals-head{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700}.payroll-deals-head span:nth-child(3),.payroll-deals-head span:nth-child(4),.payroll-deals-head span:nth-child(5),.payroll-deals-amount,.payroll-deals-share,.payroll-deals-kkb{text-align:right;font-variant-numeric:tabular-nums}.payroll-deals-amount,.payroll-deals-share,.payroll-deals-kkb{font-weight:700}.payroll-deals-share,.payroll-deals-kkb{color:var(--muted)}.payroll-deals-list .settings-name-btn{white-space:normal;word-break:break-word;text-align:left;min-width:0;line-height:1.35}.payroll-deals-empty{color:var(--muted);margin:0;padding:10px 4px 8px 22px;font-size:13px}.payroll-advance-input{width:100%;max-width:140px;font-family:var(--font);text-align:right;font-variant-numeric:tabular-nums;border:1.5px solid var(--line,#d8d8d8);background:var(--bg,#fff);border-radius:8px;outline:none;margin-left:auto;padding:6px 8px;font-size:13.5px;font-weight:700;display:block}.payroll-advance-input:hover,.payroll-advance-input:focus{border-color:var(--lime,#c6e35b)}.payroll-advance-input:disabled{opacity:.55}.payroll-paid-toggle{border:1.5px solid var(--line,#d8d8d8);background:var(--bg,#fff);cursor:pointer;border-radius:50%;width:20px;height:20px;margin:0 auto;padding:0;transition:background-color .15s,border-color .15s;display:block}.payroll-paid-toggle:hover:not(:disabled){border-color:var(--lime,#c6e35b)}.payroll-paid-toggle.is-paid{border-color:var(--lime,#c8e600);background:var(--lime,#c8e600)}.payroll-paid-toggle:disabled{opacity:.5;cursor:default}.payroll-all-paid-banner{border:1px solid color-mix(in srgb, var(--lime,#c8e600) 55%, var(--border));background:linear-gradient(155deg,#f7ffd6 0%,#eef8b0 100%);border-radius:10px;margin:0 0 12px;padding:10px 16px;font-size:13.5px;font-weight:700}.ledger-table-staff th:first-child,.ledger-table-staff td:first-child{width:34%}.ledger-table-staff th:nth-child(2),.ledger-table-staff td:nth-child(2),.ledger-table-staff th:nth-child(3),.ledger-table-staff td:nth-child(3),.ledger-table-staff th:nth-child(4),.ledger-table-staff td:nth-child(4){width:18%}.ledger-table-staff th:nth-child(5),.ledger-table-staff td:nth-child(5){width:12%}.ledger-table-staff .ledger-cell{padding-top:12px;padding-bottom:12px}.metric-card-hint{color:var(--muted,#6b7280);margin:8px 0 0;font-size:12px;line-height:1.35}.metric-payroll-cash .metric-value{color:#0a0a0a}.payroll-cash-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.payroll-cash-card{border:1px solid var(--border);background:var(--bg,#fff);border-radius:14px;gap:6px;padding:16px 18px;display:grid}.payroll-cash-card .muted{color:var(--muted,#6b7280);font-size:12px}.payroll-cash-card strong{letter-spacing:-.02em;font-size:22px}.payroll-cash-card-accent{border-color:color-mix(in srgb, var(--lime,#c8e600) 55%, var(--border));background:linear-gradient(155deg,#f7ffd6 0%,#eef8b0 100%)}@media (width<=800px){.payroll-cash-strip{grid-template-columns:1fr}}.payroll-summary-footer{border:1px solid color-mix(in srgb, var(--lime,#c8e600) 55%, var(--border));background:linear-gradient(155deg,#f7ffd6 0%,#eef8b0 100%);border-radius:12px;margin:12px 0;overflow:hidden}.payroll-summary-band{align-items:center;gap:4px;padding:11px 14px;display:grid}.payroll-summary-band+.payroll-summary-band{border-top:1px solid var(--border)}.payroll-summary-footer-managers .payroll-summary-band{grid-template-columns:55fr 14fr 13fr 13fr 8fr}.payroll-summary-footer-staff .payroll-summary-band{grid-template-columns:34fr 18fr 18fr 18fr 12fr}.payroll-summary-label{text-align:left;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700}.payroll-summary-label-ink{color:var(--ink)}.payroll-summary-cell{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.payroll-summary-metric{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.payroll-summary-metric-label{letter-spacing:.03em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:700}.payroll-summary-cell-wide{grid-column:2/-1}.advance-request-list{margin:0;padding:0;list-style:none}.advance-request-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.advance-request-row:last-child{border-bottom:0}.advance-request-main{gap:2px;display:grid}.advance-request-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.manager-advance-panel{max-width:640px}.manager-advance-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px;display:grid}.manager-advance-metrics>div{border:1px solid var(--border);border-radius:8px;gap:4px;padding:12px;display:grid}.manager-advance-metrics .muted{color:var(--muted,#6b7280);font-size:12px}.manager-advance-metrics strong{font-size:18px}.managers-sized-table.ledger-table-payroll .ledger-cell,.managers-sized-table .ledger-cell{padding:var(--mgr-cell-pad,14px) 12px;font-size:inherit}.managers-sized-table{font-size:var(--mgr-cell-font,15px)}.managers-sized-table th{letter-spacing:.03em;padding:14px 18px 16px;font-size:.85em}.page-accounting .panel-head{margin-bottom:16px;padding-bottom:4px}.managers-cell-size{border:1px solid var(--line);background:var(--card);height:34px;box-shadow:none;border-radius:10px;align-items:center;gap:0;padding:2px;display:inline-flex}.managers-cell-size-btn{width:30px;height:28px;color:var(--dark);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;font-size:16px;font-weight:700;line-height:1;display:inline-flex}.managers-cell-size-btn:hover:not(:disabled){background:var(--bg-soft)}.managers-cell-size-btn:disabled{opacity:.35;cursor:default}.managers-cell-size-btn+.managers-cell-size-btn{border-left:1px solid var(--line);border-radius:0 8px 8px 0}.managers-cell-size-btn:first-child{border-radius:8px 0 0 8px}.ledger-table-manager-stages{table-layout:auto;border-spacing:0;min-width:960px}.ledger-table-manager-stages th,.ledger-table-manager-stages td{white-space:nowrap;padding-left:18px;padding-right:18px}.ledger-table-manager-stages thead th{padding:18px 18px 16px;line-height:1.35}.ledger-table-manager-stages th:first-child,.ledger-table-manager-stages td:first-child{background:var(--card);z-index:1;padding-right:24px;position:sticky;left:0}.ledger-table-manager-stages thead th:first-child{z-index:2}.ledger-table-manager-stages th:not(:first-child),.ledger-table-manager-stages td:not(:first-child){min-width:7.5rem}.ledger-table-journal{table-layout:fixed}.ledger-table-journal th:first-child,.ledger-table-journal td:first-child{width:13%}.ledger-table-journal th:nth-child(2),.ledger-table-journal td:nth-child(2){width:11%}.ledger-table-journal th:nth-child(3),.ledger-table-journal td:nth-child(3){width:23%}.ledger-table-journal th:nth-child(4),.ledger-table-journal td:nth-child(4){width:13%}.ledger-table-journal th:nth-child(5),.ledger-table-journal td:nth-child(5){width:21%}.ledger-table-journal th:nth-child(6),.ledger-table-journal td:nth-child(6){width:19%}.ledger-date-cell{align-items:center;gap:4px;display:inline-flex}.ledger-expand-btn{cursor:pointer;width:16px;height:16px;color:inherit;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;font-size:11px;display:inline-flex}.ledger-row-group td{font-weight:500}.ledger-row-sub td{background:var(--color-surface-muted,#00000005);font-weight:400}.ledger-date-cell-sub{padding-left:24px}.ledger-row-subtype td{background:var(--color-surface-muted,#00000008);font-weight:500}.ledger-subtype-label{padding-left:24px}.ledger-row-subservice td{background:var(--color-surface-muted,#00000004);font-weight:400}.ledger-row-subservice .ledger-date-cell-sub,.ledger-subservice-label{padding-left:40px}.ledger-table-journal td:nth-child(2),.ledger-table-journal td:nth-child(3),.ledger-table-journal td.editable:not(.num){white-space:normal;word-break:break-word}.ledger-table-journal td:nth-child(3) .settings-name-btn{white-space:normal;word-break:break-word;line-height:1.4;display:block}.ledger-table-journal .ledger-cell{vertical-align:top;padding-top:15px;padding-bottom:15px}.ledger-table-company-journal{table-layout:fixed}.ledger-table-company-journal th:first-child,.ledger-table-company-journal td:first-child{width:9%}.ledger-table-company-journal th:nth-child(2),.ledger-table-company-journal td:nth-child(2){width:20%}.ledger-table-company-journal th:nth-child(3),.ledger-table-company-journal td:nth-child(3){width:13%}.ledger-table-company-journal th:nth-child(4),.ledger-table-company-journal td:nth-child(4){width:15%}.ledger-table-company-journal th:nth-child(5),.ledger-table-company-journal td:nth-child(5){width:13%}.ledger-table-company-journal th:nth-child(6),.ledger-table-company-journal td:nth-child(6),.ledger-table-company-journal th:nth-child(7),.ledger-table-company-journal td:nth-child(7){width:15%}.ledger-table-company-journal th{white-space:normal;vertical-align:top;padding-top:8px;padding-bottom:14px;line-height:1.6}.ledger-table-company-journal td:nth-child(2),.ledger-table-company-journal td:nth-child(4){white-space:normal;word-break:break-word}.ledger-table-company-journal td:nth-child(2) .settings-name-btn{white-space:normal;word-break:break-word;line-height:1.4;display:block}.ledger-table-company-journal .ledger-cell{vertical-align:top;padding-top:15px;padding-bottom:15px}.ledger-table-movements{table-layout:fixed}.ledger-table-movements th:first-child,.ledger-table-movements td:first-child{width:11%}.ledger-table-movements th:nth-child(2),.ledger-table-movements td:nth-child(2){width:12%}.ledger-table-movements th:nth-child(3),.ledger-table-movements td:nth-child(3){width:19%}.ledger-table-movements th:nth-child(4),.ledger-table-movements td:nth-child(4){width:26%}.ledger-table-movements th:nth-child(5),.ledger-table-movements td:nth-child(5){width:18%}.ledger-table-movements th:nth-child(6),.ledger-table-movements td:nth-child(6){width:14%}.ledger-table-movements td:nth-child(4),.ledger-table-movements td:nth-child(5){white-space:normal;word-break:break-word;line-height:1.4}.ledger-table-movements .ledger-cell{vertical-align:top;padding:16px 14px}.payroll-potential{color:var(--muted);font-weight:500}.ledger-table th{text-align:left;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:0 10px 10px;font-size:11px;font-weight:700}.ledger-table td{border-bottom:1px solid var(--line);white-space:nowrap;padding:0}.ledger-table tr:last-child td{border-bottom:none}.ledger-cell{color:var(--ink);padding:11px 10px;display:table-cell}.ledger-cell.muted{color:var(--muted)}.ledger-cell.num{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.ledger-cell.editable{cursor:text;border-radius:8px}.ledger-cell.editable:hover{background:var(--bg-soft)}.ledger-cell-value{position:relative}.ledger-cell.is-editing{padding:6px}.ledger-cell.is-editing input{width:100%;font-family:var(--font);border:1.5px solid var(--lime);border-radius:8px;outline:none;padding:7px 9px;font-size:13.5px;font-weight:700}.ledger-cell.is-editing input.num{text-align:right;font-variant-numeric:tabular-nums}.saved-flash{white-space:nowrap;pointer-events:none;color:#2b3300;background:var(--lime);opacity:0;border-radius:999px;align-items:center;margin-left:8px;padding:2px 7px;font-size:10px;font-weight:700;transition:opacity .25s;display:inline-flex;position:absolute;top:50%;left:100%;transform:translateY(-50%)}.saved-flash.show{opacity:1}.chat-panel{z-index:60;transform-origin:100% 100%;opacity:0;pointer-events:none;visibility:hidden;border-radius:24px;flex-direction:column;width:380px;max-width:calc(100vw - 32px);height:min(600px,100vh - 140px);transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .18s,visibility .22s;display:flex;position:fixed;bottom:96px;right:24px;transform:scale(.92)translateY(10px);box-shadow:0 20px 48px #0f172a38}.chat-panel.is-open{opacity:1;pointer-events:auto;visibility:visible;transform:scale(1)translateY(0)}.chat-panel-close{width:30px;height:30px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.chat-panel-close:hover{background:var(--bg-soft);color:var(--ink)}.chat-fab{z-index:55;background:var(--dark);color:#fff;border-radius:50%;place-items:center;width:54px;min-width:54px;height:54px;min-height:54px;padding:0;transition:transform .15s;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 24px #00000038}.chat-fab:hover{transform:translateY(-2px)}.chat-panel-hint{margin-top:-6px;margin-bottom:10px}.chat-panel-log{flex-direction:column;flex:1;gap:8px;min-height:200px;padding:4px 2px;display:flex;overflow-y:auto}.chat-bubble{border-radius:var(--radius-sm);max-width:90%;padding:10px 13px;font-size:13.5px;line-height:1.4}.chat-bubble-user{background:var(--dark);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.chat-bubble-bot{background:var(--bg-soft);color:var(--ink);border-bottom-left-radius:4px;align-self:flex-start}.chat-panel-form{gap:8px;margin-top:12px;display:flex}.chat-panel-form input{border:1.5px solid var(--line);background:var(--bg-soft);min-width:0;color:var(--ink);border-radius:999px;flex:1;padding:11px 18px;font-size:13.5px;transition:border-color .15s,background .15s}.chat-panel-form input::placeholder{color:var(--muted)}.chat-panel-form input:focus{border-color:var(--lime);background:var(--card);outline:none}.chat-panel-form input:disabled{opacity:.6}@media (width<=480px){.chat-panel{width:calc(100vw - 32px);height:min(70vh,100vh - 120px);bottom:84px;right:16px}.chat-fab{bottom:16px;right:16px}}.total-section{padding:28px 30px 32px}.total-section-collapsed{padding:16px 30px}.total-section .panel-head{margin-bottom:20px}.total-section-collapsed .panel-head{margin-bottom:0}.total-section .panel-head h2{font-size:21px}.total-tables{flex-direction:column;gap:36px;display:flex}.total-table{border-collapse:collapse;width:100%;font-size:15px}.total-table th{text-align:left;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);white-space:nowrap;min-width:118px;padding:0 16px 14px;font-size:12.5px;font-weight:700}.total-table th:first-child,.total-table td:first-child{z-index:2;background:var(--card);min-width:210px;box-shadow:1px 0 0 var(--line);position:sticky;left:0}.total-table th:first-child{text-align:left;color:var(--ink);text-transform:none;z-index:3;font-size:15px}.total-table td{white-space:nowrap;border-top:1px solid var(--line);padding:14px 16px}.total-table td.num{text-align:right;font-variant-numeric:tabular-nums}.total-table td.muted{color:var(--muted)}.total-table .total-col{border-left:1px solid var(--line);font-weight:700}.total-row-income td{font-weight:700}.total-row-expense td{border-top:2px solid var(--line);font-weight:700}.total-row-profit td{color:var(--ink);font-weight:800}.deal-picker-results{flex-direction:column;gap:6px;max-height:260px;display:flex;overflow-y:auto}.deal-picker-item{text-align:left;border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer;background:#fff;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.deal-picker-item:hover{border-color:var(--dark);background:#f9fafb}.deal-picker-item-name{font-size:13.5px;font-weight:600}.deal-picker-item-meta{color:var(--muted);font-size:12.5px}.deal-picker-selected{border:1px solid var(--line);border-radius:var(--radius-sm);background:#f9fafb;flex-direction:column;gap:12px;padding:12px;display:flex}.deal-picker-selected-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.deal-picker-selected-head strong{font-size:14px;display:block}.movement-deal-field{flex-direction:column;gap:8px;display:flex}.total-row-profit td.negative{color:#c0392b}.wallet-card{flex-direction:column;min-height:180px;display:flex;position:relative;overflow:hidden}.wallet-card .metric-top{justify-content:space-between;align-items:center;width:100%;display:flex}.wallet-card .metric-value{font-size:28px;font-weight:700;line-height:1.15}.wallet-card .metric-value.is-negative{color:#b91c1c}.wallet-card .metric-available-body{flex-direction:column;gap:8px;margin-top:auto;display:flex}.wallet-card-bank{background:radial-gradient(120% 160% at 100% 0%, #262626 0%, #0a0a0a 55%), var(--dark);color:#fff;box-shadow:0 16px 32px #00000038}.wallet-card-bank .metric-top-label{color:#ffffffd9}.wallet-card-cash .metric-top-label,.wallet-card-deposit .metric-top-label{color:#0f172a;background:#0f172a0f;border-color:#0f172a1a}.wallet-card-bank .metric-value{color:var(--lime)}.wallet-card-bank .metric-hint{color:#fff9}.wallet-card-cash .metric-top-icon,.wallet-card-deposit .metric-top-icon{color:#0f172a;background:#0f172a14}.wallet-card-cash{background:linear-gradient(165deg,#ecfdf3 0%,#d1fae5 100%);border:1px solid #a7f3d0}.wallet-card-deposit{background:linear-gradient(165deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe}.company-top-grid{grid-template-columns:3fr 5fr;align-items:stretch;gap:16px;display:grid}.company-wallets-col{flex-direction:column;gap:16px;width:100%;display:flex}.company-wallets-subrow{flex:1;grid-template-columns:1fr;gap:16px;display:grid}.company-wallets-subrow .wallet-card{min-height:180px}.company-debts-row{grid-template-columns:1fr 1fr;align-items:stretch;gap:16px;display:grid}.company-debt-summary-card{flex-direction:column;display:flex}.company-debt-summary-card-payable{background:linear-gradient(165deg,#fef2f2 0%,#fee2e2 100%);border:1px solid #fecaca}.company-debt-summary-card-receivable{background:linear-gradient(165deg,#f0fdf4 0%,#dcfce7 100%);border:1px solid #bbf7d0}.debt-summary-list{flex:1;min-height:0;max-height:320px;overflow-y:auto}@media (width<=900px){.company-top-grid{grid-template-columns:1fr}}.company-highlight-row{grid-template-columns:1fr 1fr;align-items:stretch;gap:16px;display:grid}.company-taxes-card{background:linear-gradient(165deg,#f8fafc 0%,#e2e8f0 100%);border:1px solid #cbd5e1;flex-direction:column;display:flex}.company-taxes-card .section-label,.company-upcoming-card .section-label{margin-bottom:0}.company-taxes-card .page-actions,.company-upcoming-card .page-actions{min-height:40px}.company-side-head-slot{width:1px;height:40px;display:inline-block}.company-taxes-card .metric-hint,.company-upcoming-card .metric-hint{min-height:2.6em;margin:0 0 14px;font-size:12px;line-height:1.4}.tax-obligation-list,.upcoming-payments-list{scrollbar-width:thin;flex:1;min-height:0;max-height:280px;margin-bottom:8px;padding-right:4px;overflow-y:auto}.tax-obligation-list li,.upcoming-payments-list li{grid-template-columns:minmax(0,1fr) 7.5em 108px;align-items:center;gap:12px;display:grid}.tax-obligation-main{flex-direction:column;gap:2px;min-width:0;display:flex}.tax-obligation-title{font-weight:600}.tax-obligation-meta{color:var(--muted,#64748b);font-size:13px}.tax-obligation-amount{white-space:nowrap;text-align:right}.tax-obligation-list .btn-dark,.upcoming-payments-list .btn-dark,.tax-paid-label{text-align:center;justify-content:center;min-width:108px}.tax-paid-label{color:#64748b;font-size:13px}.tax-urgency-overdue .tax-obligation-meta{color:#b91c1c;font-weight:600}.tax-urgency-soon .tax-obligation-meta{color:#c2410c;font-weight:600}.debt-status-badge{color:#b45309;background:#b453091a;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-block}.debt-status-badge.is-settled{color:#15803d;background:#15803d1a}.debt-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.checkbox-row{align-items:center;gap:8px;flex-direction:row!important;display:flex!important}.checkbox-row input[type=checkbox]{width:auto}@media (width<=900px){.company-highlight-row{grid-template-columns:1fr}}.company-available-card{background:radial-gradient(120% 160% at 100% 0%, #262626 0%, #0a0a0a 55%), var(--dark);color:#fff;flex-direction:column;align-self:start;height:300px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 48px #00000052}.company-available-card:after{content:"";pointer-events:none;background:radial-gradient(circle,#c8f00029 0%,#0000 70%);border-radius:50%;width:240px;height:240px;position:absolute;top:-70px;right:-70px}.company-available-card .metric-top{justify-content:space-between;align-items:center;width:100%;display:flex;position:relative}.metric-top-icon{width:32px;height:32px;color:var(--lime);background:#c8f00024;border-radius:50%;flex-shrink:0;place-items:center;display:grid}.metric-top-icon svg{width:16px;height:16px}.metric-top-label{text-transform:uppercase;letter-spacing:.05em;border:1px solid #0000;border-radius:999px;padding:8px 16px;font-size:12px;font-weight:700}.company-available-card .metric-top-label,.wallet-card-bank .metric-top-label{color:#ffffffbf;background:#ffffff14;border-color:#ffffff1a}.metric-available-body{flex-direction:column;gap:10px;margin-top:auto;display:flex;position:relative}.company-available-card .metric-value{color:var(--lime);font-size:64px;line-height:1.05}.company-available-card .metric-value.is-negative{color:#ff6b6b}.company-available-card .metric-hint{color:#fff9;max-width:400px;font-size:15px;line-height:1.5}.company-upcoming-card{background:linear-gradient(165deg,#fff7ed 0%,#ffedd5 100%);border:1px solid #fed7aa;flex-direction:column;display:flex}.upcoming-payments-list li{background:#fff9}.upcoming-payment-form{grid-template-columns:1fr;gap:8px;margin-top:auto;display:grid}.upcoming-payment-form-row{grid-template-columns:1fr auto;gap:8px;display:grid}.upcoming-payment-form input{width:100%;min-width:0;color:var(--ink);background:#fff;border:1.5px solid #fed7aa;border-radius:14px;padding:12px 16px;font-size:13.5px;transition:border-color .15s,box-shadow .15s}.upcoming-payment-form input::placeholder{color:var(--muted)}.upcoming-payment-form input:focus{border-color:var(--dark);outline:none;box-shadow:0 0 0 3px #11111114}.month-filter-select{appearance:none;cursor:pointer;background-image:linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);background-position:calc(100% - 18px),calc(100% - 13px);background-repeat:no-repeat;background-size:5px 5px;padding-right:34px}.ledger-table-movements-status th:first-child,.ledger-table-movements-status td:first-child{width:110px}.ledger-table-movements-status th:nth-child(2),.ledger-table-movements-status td:nth-child(2){width:auto}.ledger-table-movements-status th:nth-child(3),.ledger-table-movements-status td:nth-child(3){width:140px}.ledger-table-movements-status th:nth-child(4),.ledger-table-movements-status td:nth-child(4){width:130px}.ledger-table-movements-status th:nth-child(5),.ledger-table-movements-status td:nth-child(5){width:48px}.ledger-table-movements-status td:nth-child(2){white-space:normal;word-break:break-word;overflow-wrap:anywhere;line-height:1.4}.ledger-table-movements-status td:nth-child(2) .settings-name-btn{white-space:normal;word-break:break-word;overflow-wrap:anywhere;text-align:left;max-width:100%;line-height:1.4;display:block}.ledger-table-movements-status td:nth-child(3),.ledger-table-movements-status td:nth-child(4),.ledger-table-movements-status td:nth-child(5){white-space:nowrap}.ledger-table-movements-status-company th:first-child,.ledger-table-movements-status-company td:first-child{width:100px}.ledger-table-movements-status-company th:nth-child(2),.ledger-table-movements-status-company td:nth-child(2){white-space:nowrap;word-break:normal;overflow-wrap:normal;width:150px}.ledger-table-movements-status-company th:nth-child(3),.ledger-table-movements-status-company td:nth-child(3){white-space:normal;word-break:break-word;overflow-wrap:anywhere;width:auto;line-height:1.4}.ledger-table-movements-status-company td:nth-child(3) .settings-name-btn{white-space:normal;word-break:break-word;overflow-wrap:anywhere;text-align:left;max-width:100%;line-height:1.4;display:block}.ledger-table-movements-status-company th:nth-child(4),.ledger-table-movements-status-company td:nth-child(4){white-space:nowrap;width:140px}.ledger-table-movements-status-company th:nth-child(5),.ledger-table-movements-status-company td:nth-child(5){white-space:nowrap;width:130px}.ledger-table-movements-status-company th:nth-child(6),.ledger-table-movements-status-company td:nth-child(6){white-space:nowrap;width:48px}.paid-toggle-btn{background:var(--lime);border-color:var(--lime);color:#2b3300;padding:7px 14px;font-size:12.5px;font-weight:700}.paid-toggle-btn.is-paid{border-color:var(--line);color:var(--muted);background:#fff;font-weight:600}.movement-remove{color:#9ca3af;width:30px;height:30px;margin-left:auto;font-size:14px}.movement-remove:hover:not(:disabled){color:#b91c1c;background:#fef2f2}.movement-remove:disabled{opacity:.5;cursor:default}.deal-profit-search{margin-top:12px}.deal-profit-list{flex-direction:column;gap:6px;max-height:280px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.deal-profit-row{text-align:left;border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer;background:#fff;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 12px;display:flex}.deal-profit-row:hover{border-color:var(--dark);background:#f9fafb}.deal-profit-list li.is-open .deal-profit-row{border-color:var(--dark);border-bottom-right-radius:0;border-bottom-left-radius:0}.deal-profit-main{flex-direction:column;gap:2px;min-width:0;display:flex}.deal-profit-name{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.deal-profit-meta{color:var(--muted);font-size:12.5px}.deal-profit-numbers{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.deal-profit-numbers strong{font-size:15px;font-weight:800}.deal-profit-numbers strong.is-negative{color:#b91c1c}.deal-profit-breakdown{border:1px solid var(--dark);border-bottom-left-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm);background:#f9fafb;border-top:none;flex-direction:column;padding:10px 12px 12px;display:flex}.deal-profit-line{justify-content:space-between;align-items:center;gap:12px;padding:5px 0;font-size:13px;display:flex}.deal-profit-line.is-minus{color:var(--muted)}.deal-profit-line.is-total{border-top:1px solid var(--line);margin-top:4px;padding-top:9px;font-weight:800}.deal-profit-line.is-total strong{font-size:15px}.deal-profit-note{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.45}.deal-profit-numbers strong.is-unknown{color:var(--muted);font-size:13px;font-weight:600}.bank-import{flex-direction:column;gap:16px;display:flex}.bank-import-preview .emp-form-actions,.bank-import-preview .bank-import-meta{flex-shrink:0}.modal-wide:has(.bank-import){flex-direction:column;width:min(1000px,100%);max-height:min(92vh,880px);display:flex}.modal-wide:has(.bank-import) .modal-body{flex-direction:column;min-height:0;display:flex;overflow:hidden}.modal-wide:has(.bank-import) .modal-body>.bank-import{flex:1;min-height:0;overflow:hidden}.bank-import-preview{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex;overflow:hidden}.bank-import-upload{flex-direction:column;align-items:stretch;gap:14px;padding:8px 0 4px;display:flex}.bank-import-locked-company{color:var(--muted);margin:0;font-size:13.5px}.bank-import-locked-company strong{color:var(--ink);font-weight:700}.bank-import-dropzone{border:1.5px dashed var(--line);background:var(--bg-soft);min-height:168px;color:var(--ink);cursor:pointer;text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:28px 20px;transition:border-color .15s,background .15s;display:flex}.bank-import-dropzone:hover{border-color:var(--ink);background:#fff}.bank-import-dropzone.is-busy{opacity:.7;cursor:wait}.bank-import-dropzone-icon{border:1px solid var(--line);width:44px;height:44px;color:var(--ink);background:#fff;border-radius:12px;justify-content:center;align-items:center;margin-bottom:4px;display:inline-flex}.bank-import-dropzone-title{color:var(--ink);font-size:15px;font-weight:700}.bank-import-dropzone-hint{color:var(--muted);font-size:13px;font-weight:500}.bank-import-meta{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 20px;display:flex}.bank-import-meta .hint-inline{flex:280px;min-width:0;line-height:1.45}.bank-import-company-select{align-items:center;gap:14px;font-size:13.5px;font-weight:600;display:flex}.bank-import-company-option{cursor:pointer;align-items:center;gap:6px;font-weight:500;display:inline-flex}.bank-import-table{table-layout:fixed;width:100%}.bank-import-table th,.bank-import-table td{vertical-align:top;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.bank-import-table .ledger-cell{padding:11px 12px}.bank-import-table th:first-child,.bank-import-table td:first-child{width:40px;padding-left:6px;padding-right:4px}.bank-import-table th:nth-child(2),.bank-import-table td:nth-child(2){width:100px}.bank-import-table th:nth-child(3),.bank-import-table td:nth-child(3),.bank-import-table td:nth-child(3).num{text-align:left;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;width:148px;padding-right:16px;overflow:hidden}.bank-import-table th:nth-child(4),.bank-import-table td:nth-child(4){width:32%;padding-left:14px}.bank-import-table th:nth-child(5),.bank-import-table td:nth-child(5){width:26%;padding-left:12px}.bank-import-table tr.is-muted-row{opacity:.55}.bank-import-deal-cell{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.bank-import-deal-name{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;line-height:1.35;display:flex}.bank-import-deal-edit{padding:6px 10px;font-size:12px}.bank-import-badge{text-transform:uppercase;letter-spacing:.03em;background:var(--bg-soft);color:var(--muted);border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:10.5px;font-weight:700;display:inline-flex}.bank-import-badge-bin{background:var(--lime);color:#2b3300}.bank-import-unlinked{flex-direction:column;gap:6px;width:100%;min-width:0;display:flex}.bank-import-category-input{border:1.5px solid var(--line);background:var(--bg,#fff);border-radius:8px;width:100%;max-width:260px;padding:6px 9px;font-size:12.5px}.bank-import-amount-candidates{flex-direction:column;align-items:stretch;gap:4px;width:100%;min-width:0;display:flex}.bank-import-amount-candidates-hint{font-size:11px}.bank-import-amount-candidates-list{overscroll-behavior:contain;flex-flow:wrap;align-content:flex-start;align-items:flex-start;gap:4px;max-height:108px;padding-right:2px;display:flex;overflow-y:auto}.bank-import-amount-candidate{border:1px solid var(--border);background:var(--bg-soft);min-width:0;max-width:100%;color:var(--ink);cursor:pointer;overflow-wrap:break-word;word-break:break-word;white-space:normal;text-align:left;border-radius:12px;flex:auto;padding:3px 9px;font-size:12px;line-height:1.3}.bank-import-amount-candidate:hover{border-color:var(--lime)}.bank-import-row-picker{flex-direction:column;gap:8px;min-width:260px;display:flex}.bank-import-row-picker input[type=text],.bank-import-row-picker input{border:1.5px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px}.bank-import-row-picker-results{flex-direction:column;gap:4px;max-height:180px;display:flex;overflow-y:auto}.bank-import-results-list{flex-direction:column;gap:8px;max-height:420px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.bank-import-results-list li{border:1px solid var(--line);border-radius:var(--radius-sm);flex-direction:column;gap:2px;padding:10px 12px;font-size:13.5px;display:flex}.bank-import-result-error{background:#fef2f2;border-color:#f3c7c7}.page-wishlist .wishlist-compose{max-width:720px}.wishlist-form{gap:14px;margin-top:8px;display:grid}.wishlist-form .field{color:var(--muted,#6b7280);gap:6px;font-size:13px;display:grid}.wishlist-form .field input,.wishlist-form .field textarea{box-sizing:border-box;width:100%;font:inherit;color:inherit;border:1px solid var(--border);background:var(--bg,#fff);border-radius:8px;padding:10px 12px}.wishlist-form .field input:focus,.wishlist-form .field textarea:focus{border-color:color-mix(in srgb, #2563eb 55%, var(--border));outline:none}.wishlist-form textarea{resize:vertical;min-height:160px}.wishlist-sent{color:var(--muted,#6b7280);margin:0 0 8px;font-size:13.5px}.wishlist-inbox{grid-template-columns:minmax(260px,360px) 1fr;align-items:stretch;gap:16px;min-height:520px;display:grid}.wishlist-list{flex-direction:column;max-height:70vh;padding:0;display:flex;overflow:hidden}.wishlist-list ul{flex:1;margin:0;padding:0;list-style:none;overflow-y:auto}.wishlist-row{text-align:left;border:0;border-bottom:1px solid var(--border);width:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;gap:2px;padding:12px 14px;display:grid}.wishlist-row:hover{background:color-mix(in srgb, var(--card) 85%, #000 4%)}.wishlist-row.is-active{background:color-mix(in srgb, var(--card) 70%, #2563eb 8%)}.wishlist-row.is-unread .wishlist-row-from,.wishlist-row.is-unread .wishlist-row-subject{font-weight:650}.wishlist-row-from{font-size:13px}.wishlist-row-subject{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;overflow:hidden}.wishlist-row-date{color:var(--muted,#6b7280);font-size:12px}.wishlist-detail{min-height:320px;max-height:70vh;overflow-y:auto}.wishlist-detail-head h2{margin:0 0 6px;font-size:18px}.wishlist-detail-meta{color:var(--muted,#6b7280);flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;font-size:13px;display:flex}.wishlist-detail-body{white-space:pre-wrap;font-size:14px;line-height:1.55}.wishlist-unread-badge{background:#2563eb2e}@media (width<=860px){.wishlist-inbox{grid-template-columns:1fr;min-height:0}.wishlist-list,.wishlist-detail{max-height:none}}@media (width<=980px){.metric-row,.analytics-grid,.detail-grid,.field-grid,.contact-block-grid,.settings-grid,.emp-form-grid,.settings-toolbar,.disk-placeholder,.inline-form{grid-template-columns:minmax(0,1fr)}.product-settings-list li{grid-template-columns:minmax(0,1fr) auto 36px;grid-template-areas:"name name remove""price status status"}.product-settings-list .settings-list-main{grid-area:name}.product-settings-list .settings-price-field{grid-area:price;max-width:160px}.product-settings-list .chip-toggle{grid-area:status;justify-self:start}.product-settings-list .settings-row-remove{grid-area:remove}.content,.topbar{padding-left:16px;padding-right:16px}}@media (width<=640px){:root{--mobile-tabbar-total-h:calc(88px + env(safe-area-inset-bottom))}.shell{grid-template-columns:1fr;gap:0;padding:0}.sidebar{top:auto;left:calc(50% - min(94vw,420px)/2);right:auto;bottom:calc(14px + env(safe-area-inset-bottom));border-radius:999px;flex-direction:row;justify-self:stretch;align-items:center;width:min(94vw,420px);height:auto;max-height:none;padding:12px 14px;position:fixed;overflow:visible}.sidebar-nav{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-direction:row;flex:auto;justify-content:center;width:auto;min-width:0;height:auto;overflow-x:auto}.sidebar-nav::-webkit-scrollbar{display:none}.sidebar-nav button,.sidebar-settings{width:52px;height:52px}.sidebar-nav button{flex:0 0 52px}.sidebar-nav button svg,.sidebar-settings svg{width:23px;height:23px}.sidebar-settings{flex:none;margin-left:8px}.sidebar-nav-group{flex:0 0 52px;justify-content:center;align-items:center;display:flex;position:relative}.sidebar-nav-group:after{content:"";width:6px;height:6px;color:inherit;opacity:.55;pointer-events:none;background:currentColor;border-radius:50%;position:absolute;bottom:4px;right:4px}.sidebar-nav .sidebar-nav-secondary{display:none}.sidebar-submenu{opacity:0;pointer-events:none;z-index:40;transition:opacity .18s,transform .18s;display:block;position:fixed;bottom:0;left:0;transform:translate(-50%,4px)}.sidebar-submenu.is-open{opacity:1;pointer-events:auto;transform:translate(-50%)}.sidebar-submenu-card{-webkit-backdrop-filter:blur(20px)saturate(180%);background:#1c1c20eb;border-radius:16px;flex-direction:column;gap:2px;min-width:168px;padding:6px;display:flex;box-shadow:0 12px 28px #0f172a47}.sidebar-nav .sidebar-submenu-item{color:#ffffffd1;white-space:nowrap;border-radius:10px;flex-direction:row;justify-content:flex-start;gap:10px;width:auto;height:auto;padding:9px 12px;font-size:13px;font-weight:600}.sidebar-nav .sidebar-submenu-item:hover{background:#ffffff1f}.sidebar-nav .sidebar-submenu-item.active{color:#111;background:#fffffff2}@media (prefers-reduced-motion:reduce){.sidebar-submenu{transition:none}}.main{border-radius:0}.content{padding-left:16px;padding-right:16px;padding-bottom:calc(var(--mobile-tabbar-total-h) + 16px)}.topbar{gap:8px;min-height:auto;padding:12px 16px 6px}.topbar-title,.topbar-title-stack{text-overflow:ellipsis;white-space:nowrap;font-size:22px;overflow:hidden}.topbar .icon-btn,.topbar .avatar{width:40px;height:40px}.page-head{flex-wrap:wrap;row-gap:10px}.page-head-deals .page-actions{flex-direction:column;align-items:stretch;width:100%}.page-head-deals .view-switch{width:100%}.page-head-deals .view-switch-btn{flex:1;justify-content:center}.page-head-deals .page-actions>.btn-dark{justify-content:center;width:100%}.kanban-column{flex:0 0 min(85vw,360px)}.table-scroll{overflow-x:auto}.deal-header-actions{flex-wrap:wrap;width:100%}.deal-header-actions .btn-dark{flex:100px;justify-content:center}.deal-taxi-panel .service-type-toggle{flex-wrap:wrap}.deal-taxi-panel .chip-toggle{text-align:center;flex:auto;padding:12px 14px;font-size:13px}.deal-tasks-panel,.deal-purchase-archive-panel{max-height:none;overflow:visible}.deal-tasks-panel .deal-tasks,.deal-tasks-panel .stub-text,.deal-purchase-archive-list{overflow-y:visible}.deal-suppliers-status,.deal-suppliers-actions{flex-direction:column;align-items:stretch}.deal-suppliers-actions .btn-dark,.deal-suppliers-actions .btn-ghost{justify-content:center;width:100%}.deal-payment-form-row{grid-template-columns:1fr}.deal-comments-panel{height:auto;min-height:180px;max-height:420px}.deal-slide-screen-head{flex-wrap:wrap;row-gap:10px}.deal-slide-screen-head .deal-letter-header-actions{flex-wrap:wrap;flex:100%;margin-left:0}.deal-slide-screen-head .deal-letter-header-actions .btn-ghost,.deal-slide-screen-head .deal-letter-header-actions .btn-dark{flex:auto;justify-content:center}.products-lines li{flex-wrap:wrap}.products-line-main{flex-basis:100%}.products-line-actions{flex-basis:100%;justify-content:flex-end}.field-with-action{flex-wrap:wrap}.field-with-action input{flex-basis:100%}.field-with-action .btn-ghost{flex:100%;justify-content:center}.login-screen{padding:calc(20px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom))}.login-form{max-width:420px}.login-form input,.login-form select{font-size:16px}.dashboard-task-row{grid-template-columns:1fr auto;grid-template-areas:"name name""company deadline";gap:4px 8px;padding:12px 14px;display:grid}.dashboard-task-name{grid-area:name}.dashboard-task-company{grid-area:company}.dashboard-task-deadline{grid-area:deadline}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
