:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#16213a;background:#f3f6fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}body{background:#f3f6fb}.boot-screen{max-width:1100px;margin:80px auto;padding:24px}.app-layout{min-height:100vh}.app-sider{position:sticky!important;top:0;height:100vh;overflow:hidden;box-shadow:8px 0 28px #0b1e4114;z-index:20}.brand{height:76px;display:flex;align-items:center;gap:12px;padding:0 17px;color:#fff}.brand-mark{width:42px;height:42px;min-width:42px;display:grid;place-items:center;border-radius:13px;font-weight:800;font-size:17px;background:linear-gradient(135deg,#2f80ed,#29b6f6);box-shadow:0 8px 22px #2e8bed61}.brand-mark.large{width:66px;height:66px;font-size:25px;border-radius:19px}.brand-name{font-size:17px;font-weight:750}.brand-version{font-size:11px;opacity:.55}.main-menu{border-inline-end:0!important;padding:8px}.main-menu .ant-menu-item{margin-block:5px;height:43px;line-height:43px;border-radius:10px}.sider-footer{position:absolute;left:16px;right:16px;bottom:18px;color:#ffffff73;font-size:12px;text-align:center}.app-header{height:64px;padding:0 22px!important;display:flex;align-items:center;background:#fffffff0!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #e9edf4;position:sticky;top:0;z-index:15}.header-spacer{flex:1}.header-status{display:flex;align-items:center;gap:7px;color:#61708a;font-size:13px;margin-right:20px}.status-dot{width:8px;height:8px;border-radius:50%;background:#33b46e;box-shadow:0 0 0 4px #33b46e1f}.user-chip{cursor:pointer;padding:5px 8px;border-radius:12px}.user-chip:hover{background:#f3f6fb}.app-content{padding:24px;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.filter-card{margin-bottom:16px}.filter-card .ant-card-body{padding:14px}.data-card .ant-card-body{padding:0}.metric-card{height:100%;overflow:hidden;position:relative}.metric-card .ant-card-body{padding:20px}.metric-icon{position:absolute;right:18px;top:18px;width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#f0f6ff;font-size:20px}.metric-value{font-size:28px;font-weight:780;margin-top:8px;letter-spacing:-.7px}.chart-row{margin-bottom:15px}.chart-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:4px;font-size:13px}.clickable-row{cursor:pointer}.clickable-row>td{transition:background .15s}.clickable-row:hover>td{background:#edf5ff!important}.pagination-wrap{padding:16px;display:flex;justify-content:flex-end;border-top:1px solid #eff2f7}.kanban-wrap{display:flex;gap:14px;overflow-x:auto;padding-bottom:18px;min-height:530px}.kanban-column{width:330px;min-width:330px;background:#eaf0f8;border-radius:14px;overflow:hidden}.kanban-column-header{min-height:64px;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#dde7f4}.kanban-column-body{padding:11px;max-height:calc(100vh - 245px);overflow-y:auto}.kanban-card{margin-bottom:10px;cursor:pointer;border:0!important;box-shadow:0 4px 16px #1b2b4b14;transition:.16s}.kanban-card:hover{transform:translateY(-2px);box-shadow:0 9px 23px #1b2b4b24}.kanban-card h5{margin:5px 0 10px!important}.kanban-amount{margin-top:12px;font-size:18px;font-weight:750}.drawer-loading{min-height:420px;display:grid;place-items:center}.deal-tabs>.ant-tabs-nav{margin:0!important;padding:0 22px;position:sticky;top:0;background:#fff;z-index:3}.deal-tabs>.ant-tabs-content-holder{background:#f6f8fc;min-height:calc(100vh - 120px)}.drawer-section{padding:22px}.auto-save-note{padding:9px 12px;border-radius:9px;margin-bottom:16px;font-size:12px;color:#52637c;background:#eef4fc}.field-block>label{display:block;margin-bottom:7px;color:#41506a;font-size:13px;font-weight:650}.section-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.opportunity-card{border:1px solid #e3e9f2!important;box-shadow:0 4px 18px #1b2b4b0f}.opportunity-card.focused{outline:3px solid rgba(47,128,237,.22);border-color:#2f80ed!important}.deal-total{margin-top:18px;text-align:right;font-size:20px}.form-section-title{margin:8px 0 16px;padding:11px 14px;border-radius:9px;background:#eef4fc;font-size:15px;font-weight:720}.switch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.log-viewer{max-height:420px;overflow:auto;margin:0;padding:16px;border-radius:10px;background:#0f1726;color:#c8d3e5;font-size:11px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(380px,48%) 1fr;background:#f5f8fc}.login-brand-panel{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:80px max(50px,10vw);background:radial-gradient(circle at 20% 10%,rgba(46,128,237,.25),transparent 35%),linear-gradient(150deg,#101d39,#183c6d 58%,#1f70a8);color:#fff}.login-brand-panel h1{color:#fff!important;margin:22px 0 8px!important;font-size:42px!important}.login-brand-panel .ant-typography{color:#ffffffc4;max-width:580px;font-size:16px}.login-feature{margin-top:13px;padding:8px 12px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#ffffff0f}.login-form-panel{display:grid;place-items:center;padding:30px}.login-card{width:min(440px,100%);padding:34px;border-radius:20px;background:#fff;box-shadow:0 22px 70px #1c2d4b1f}.login-card label{display:block;margin:22px 0 7px;font-size:13px;font-weight:650}.login-card input{width:100%;height:44px;border:1px solid #d8deea;border-radius:10px;padding:0 13px;outline:none}.login-card button{margin-top:24px}.test-accounts{margin-top:22px;display:grid;gap:6px;padding:12px;border-radius:10px;background:#f2f6fb;font-size:12px;color:#5f6d83}@media(max-width:900px){.app-content{padding:16px}.page-heading{flex-direction:column}.login-page{grid-template-columns:1fr}.login-brand-panel{display:none}.login-form-panel{min-height:100vh;padding:18px}.ant-drawer-content-wrapper{width:100%!important;max-width:100%!important}.user-name,.header-status{display:none}}@media(max-width:620px){.app-content{padding:12px}.metric-value{font-size:23px}.drawer-section{padding:14px}.deal-tabs>.ant-tabs-nav{padding:0 12px}.switch-grid{grid-template-columns:1fr}.section-toolbar{flex-direction:column}}.product-picker-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.product-section-shortcuts{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 14px}.product-browser-card .ant-card-body{padding:0}@media(max-width:620px){.product-picker-inline{grid-template-columns:1fr}}.product-create-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin:10px 0 14px;padding-top:12px;border-top:1px solid #edf0f5}.product-create-empty{padding:24px;margin-bottom:14px;text-align:center;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc}.create-product-card{border:1px solid #e3e9f2!important}@media(max-width:620px){.product-create-toolbar{flex-direction:column}}.note-version-text{white-space:pre-wrap;word-break:break-word;margin-bottom:8px}.note-history-block{margin-top:8px;padding:9px 11px;border-radius:8px;white-space:pre-wrap;word-break:break-word}.note-history-block span{font-size:11px;font-weight:700;text-transform:uppercase;opacity:.7}.note-history-block.old-note{background:#f5f6f8}.note-history-block.new-note{background:#eef9f2}.history-filter-card .ant-card-body{padding:12px}.bitrix-field-help{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:7px}.bitrix-field-list{max-height:320px;overflow:auto}.bitrix-field-row{display:flex;justify-content:space-between;gap:10px;padding:8px 4px;border-bottom:1px solid #eef1f5}.bitrix-sso-page{min-height:100vh;display:grid;place-items:center;padding:18px;background:#f3f6fb}.bitrix-sso-card{width:min(520px,100%);padding:28px;border-radius:18px;background:#fff;box-shadow:0 18px 55px #1b2b4b1f}.app-layout,.app-layout>.ant-layout{min-width:0;max-width:100%}.app-content .kanban-wrap{display:grid;grid-template-columns:repeat(var(--kanban-columns,1),minmax(0,1fr));gap:12px;overflow:visible;width:100%;min-width:0;min-height:0;padding-bottom:12px;align-items:start}.app-content .kanban-column{width:auto;min-width:0;max-width:100%;border-radius:12px}.kanban-column-header{align-items:flex-start;min-height:70px;padding:12px;line-height:1.4}.kanban-column-header>b{min-width:0;flex:1;font-size:13px;overflow-wrap:anywhere}.kanban-column-header .ant-tag{margin-inline-end:0;flex-shrink:0}.kanban-column-body{padding:8px;max-height:calc(100dvh - 270px);min-height:85px}.kanban-card,.kanban-card .ant-card-body{min-width:0;overflow-wrap:anywhere}.kanban-card h5{font-size:14px!important;line-height:1.45!important}.kanban-card .smart-amount{text-align:left;margin-top:10px}.kanban-meta{font-size:12px;color:#61708a;margin:6px 0;overflow-wrap:anywhere}.kanban-loading{padding:12px;display:flex;gap:12px;align-items:center}.kanban-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0}.smart-cell{min-width:0;line-height:1.45;overflow-wrap:anywhere}.smart-primary{font-weight:600}.smart-secondary{display:block;color:#64748b;font-size:12px;font-weight:400;line-height:1.5;margin-top:3px;white-space:normal;overflow-wrap:anywhere}.smart-amount{text-align:right}.clickable-row:focus-visible{outline:2px solid #1677ff;outline-offset:-2px}.session-notice{position:sticky;top:0;z-index:2200}.app-sider .main-menu{max-height:calc(100dvh - 124px);overflow-y:auto}.sidebar-backdrop{position:fixed;top:64px;right:0;bottom:0;left:0;z-index:19;background:#00000040}.compact-login{display:block!important;min-height:0!important}.compact-login .login-brand-panel{display:none}.compact-login .login-form-panel{padding:0;min-height:0}.compact-login .login-card{box-shadow:none;padding:8px;width:100%}.smart-deal-tabs .ant-tabs-content-holder{min-width:0}.smart-deal-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}.smart-deal-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;flex-wrap:wrap}.smart-editor-note{margin-bottom:12px}@media(max-width:991px){.app-sider{position:fixed!important;left:0;top:64px;height:calc(100dvh - 64px);z-index:20}.app-sider .main-menu{max-height:calc(100dvh - 192px)}.kanban-column-body{max-height:none;overflow-y:visible}.app-header{padding-inline:12px!important}.page-heading .ant-space{flex-wrap:wrap}.session-notice{flex-wrap:wrap;gap:8px}}@media(max-width:480px){.smart-deal-summary .ant-typography{margin:0}.ant-drawer-body{padding:12px!important}.kanban-card .smart-amount b{font-size:17px}}.kanban-shell{width:100%;min-width:0;max-width:100%}.app-content .kanban-shell .kanban-wrap{grid-template-columns:repeat(var(--kanban-columns,1),minmax(0,1fr));grid-auto-flow:column;grid-template-rows:minmax(0,auto);gap:10px;align-items:stretch}.kanban-shell .kanban-column-header{min-height:92px;padding:10px 8px;align-items:flex-start}.kanban-shell .kanban-column-header>b{line-height:1.35;font-size:12px}.kanban-shell .kanban-column-body{padding:7px;min-height:130px}.kanban-shell .kanban-card .ant-card-body{padding:10px}.kanban-shell[data-kanban-mode=focus] .kanban-column-header{min-height:0;padding:12px}.kanban-shell[data-kanban-mode=focus] .kanban-column-header>b{font-size:14px}.kanban-shell[data-kanban-mode=focus] .kanban-column-body{max-height:none;overflow-y:visible}.kanban-stage-control{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:12px}.kanban-stage-control>label{font-size:13px;font-weight:600}.kanban-stage-control>.smart-secondary{margin:0}.kanban-stage-picker{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:6px;align-items:stretch;min-width:0}.kanban-stage-picker select{display:block;width:100%;max-width:100%;min-width:0;height:40px;border:1px solid #d8deea;border-radius:8px;background:#fff;font:inherit;font-size:14px;padding:0 8px;color:inherit}.kanban-stage-picker button{border:1px solid #d8deea;border-radius:8px;background:#fff;font-size:23px;cursor:pointer;color:inherit}.kanban-stage-picker button:disabled{opacity:.35;cursor:not-allowed}.kanban-stage-picker :focus-visible{outline:2px solid #1677ff;outline-offset:2px}.smart-amount-label{display:block;font-size:11px;font-weight:400;color:#64748b}.smart-update{font-size:12px;line-height:1.5}.opportunity-editor-modal .ant-modal-body{max-height:calc(100dvh - 235px);overflow-y:auto;overflow-x:hidden;padding-right:4px}.opportunity-section-layout{display:grid;grid-template-columns:195px minmax(0,1fr);gap:20px;align-items:start;min-width:0;margin-top:16px}.opportunity-section-nav{display:flex;flex-direction:column;gap:6px;position:sticky;top:0}.opportunity-section-button{background:#f7f9fc;border:1px solid transparent;border-radius:9px;text-align:left;padding:12px 13px;cursor:pointer;font:inherit;line-height:1.45;color:#334155}.opportunity-section-button b{display:block;font-weight:600}.opportunity-section-button span{display:block;font-size:11px;line-height:1.55;color:#64748b;margin-top:3px}.opportunity-section-button.active{background:#edf4ff;border-color:#c4d7fa;color:#154c97}.opportunity-section-button:hover{background:#edf4ff}.opportunity-section-button:focus-visible{outline:2px solid #1d65bd;outline-offset:2px}.opportunity-section-mobile{display:none}.opportunity-section-content,.opportunity-section-panel{min-width:0}.opportunity-section-panel{padding-inline:7px}.opportunity-section-panel[hidden]{display:none!important}.opportunity-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.opportunity-context-box{background:#f8fafc;border:1px solid #e7edf4;border-radius:9px;padding:12px;overflow-wrap:anywhere}.opportunity-live-total{display:block;font-size:20px;line-height:1.5;margin:4px 0}.pricing-completeness{background:#fff8e6;border:1px solid #f2dfac;border-radius:8px;padding:10px 14px;margin:0 0 14px;color:#664c15}@media(max-width:640px){.opportunity-section-layout{display:block;margin-top:12px}.opportunity-section-nav{display:none}.opportunity-section-mobile{display:block;margin-bottom:14px;font-size:12px;color:#475569}.opportunity-section-mobile select{display:block;width:100%;min-width:0;font:inherit;font-size:15px;padding:10px 12px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;margin-top:5px;color:#0f172a}.opportunity-context-grid{grid-template-columns:minmax(0,1fr);gap:8px}.opportunity-editor-modal .ant-modal-body{max-height:calc(100dvh - 205px);padding-right:0}.opportunity-editor-modal .ant-modal-footer .ant-space{flex-wrap:wrap;justify-content:flex-end}.opportunity-live-total{font-size:18px}}.recovery-panel{background:#fff8ed;border:1px solid #e9b769;border-radius:12px;padding:22px;margin:16px;color:#29251e;overflow-wrap:anywhere;max-width:100%}.recovery-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.recovery-actions button,.runtime-notice button{cursor:pointer;border:1px solid #aaa;border-radius:7px;background:#fff;padding:8px 14px}.runtime-notice{padding:10px 18px;background:#fff4de;border-bottom:1px solid #ebc68a;overflow-wrap:anywhere}.runtime-notice button{margin-left:12px}.workspace-banner{padding:9px 18px;background:#fff4de;border-bottom:1px solid #ebc68a;overflow-wrap:anywhere}.view-fields-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;max-height:48vh;overflow-y:auto;padding:4px 2px 16px}.view-fields-options .ant-checkbox-wrapper{margin-inline-start:0;align-items:start}.handover-confirm{position:sticky;bottom:0;z-index:8;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 -4px 18px #0000000a;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}@media(max-width:600px){.handover-confirm{position:static}.handover-confirm button{width:100%}}.bitrix-sso-card.portal-setup-card{width:min(100%,680px);max-width:680px;box-sizing:border-box}.portal-setup-summary{display:grid;gap:12px;margin:16px 0;padding:16px;background:#f5f7fb;border-radius:12px;overflow-wrap:anywhere}.portal-setup-label{display:block;margin:12px 0 16px}.portal-setup-label>.ant-input,.portal-setup-label>.ant-input-affix-wrapper{margin-top:6px}.portal-setup-card .ant-space{max-width:100%}.portal-setup-card .ant-typography{overflow-wrap:anywhere}@media(max-width:480px){.portal-setup-card{padding:20px!important}.portal-setup-card .ant-btn{max-width:100%;white-space:normal;height:auto;min-height:32px}.portal-setup-summary{padding:12px}}
