
/* public/focus-card.css */
/* Accepted compact Focus tokens. Every rule is limited to the project card. */
.focus-card{--focus-bg:#f2f5f9;--focus-surface:#fff;--focus-ink:#172d43;--focus-muted:#53657b;--focus-line:#dce5ee;--focus-brand:#006fae;--focus-sky:#e8f4fc;--focus-mint:#eaf5ef;--focus-lavender:#efedfb;--focus-sand:#fff1d9;color:var(--focus-ink);font-size:14px}
.focus-card [hidden]{display:none!important}
.focus-card .dialog-header{padding:10px 16px;gap:10px;background:var(--focus-surface);min-height:56px}
.focus-card .dialog-header>div:first-child{min-width:0;flex:1}
.focus-card .dialog-header h2{font-size:21px;line-height:1.25;margin:3px 0 0;overflow-wrap:anywhere}
.focus-card .focus-project-id{font-size:11px;letter-spacing:.06em;color:var(--focus-muted);overflow-wrap:anywhere}
.focus-card.product-workspace .dialog-scroll{display:block;padding:12px 16px;background:var(--focus-bg);overflow-x:hidden}
.focus-card.product-workspace .project-context{position:static;display:block;width:100%;max-height:none;overflow:visible;padding:0;margin:0 0 12px;border:0;background:transparent;box-shadow:none}
.focus-card .project-parties{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:0 0 10px;font-size:12px}
.focus-card .project-parties>div{display:flex;gap:6px;align-items:center;min-width:0}
.focus-card .project-parties .muted{font-size:12px}
.focus-card .project-party-name{font-size:13px;overflow-wrap:anywhere}
.focus-card .project-context>.section-title{display:none}
.focus-card.product-workspace .project-products{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:2px;margin:0}
.focus-card .project-product-tab{flex:0 1 250px;min-width:210px;min-height:56px;padding:7px 10px;border:1px solid var(--focus-line);border-radius:12px;background:var(--focus-surface);color:var(--focus-ink);display:grid;gap:2px;text-align:left}
.focus-card .project-product-tab[aria-pressed=true]{background:#15364c;border-color:#15364c;color:#e7f1f7;box-shadow:none}
.focus-card .project-product-kind{font-size:13px;line-height:1.4;color:inherit}
.focus-card .project-product-state{font-size:12px;line-height:1.4;color:inherit;opacity:.9}
.focus-card .project-product-add{display:inline-block;margin-top:8px;padding:0;border:0;background:transparent;font-size:12px}
.focus-card .project-product-add[open]{display:block;background:white;padding:12px;border:1px solid var(--focus-line);border-radius:12px}
.focus-card .project-product-add:not([open])>summary{padding:3px 0;min-height:26px;font-size:12px}
.focus-card .project-parties .text-button{padding:0;min-height:24px}
.focus-card.product-workspace .project-product-editor{display:block;max-width:none;width:100%;margin:0}
.focus-card .focus-grid{display:grid;gap:12px;min-width:0;width:100%}
.focus-card .focus-module{position:relative;container-type:inline-size;min-width:0;align-self:start;padding:12px;border:1px solid var(--focus-line);border-radius:12px;background:var(--focus-surface);overflow-wrap:anywhere}
.focus-card .focus-documents{background:var(--focus-lavender);border-color:transparent;color:#5a4a8e}
.focus-card .focus-conditions{background:var(--focus-mint);border-color:transparent}
.focus-card .focus-module-header{display:flex;align-items:center;gap:7px;margin-bottom:8px;min-width:0}
.focus-card .focus-module-header h3{flex:1;font-size:13px;line-height:1.35;margin:0;font-weight:650;color:inherit}
.focus-card .focus-icon{font-size:15px;line-height:1;color:inherit}
.focus-card .focus-grip.button{flex:none;min-height:30px;min-width:26px;margin:-4px 0 -4px -4px;padding:4px;border:0;background:transparent;color:var(--focus-muted);box-shadow:none;cursor:grab;touch-action:none;user-select:none;font-size:18px;line-height:1}
.focus-card .focus-grip:active{cursor:grabbing}
.focus-card .focus-module-body{min-width:0}
.focus-card .focus-module [readonly]{cursor:default}
.focus-card .focus-module select:disabled{appearance:none}
.focus-card .focus-module .datetime-picker{margin:0;min-width:0}
.focus-card .focus-module .datetime-field{gap:2px;min-width:0}
.focus-card .focus-module .datetime-field>input{flex:1;min-width:0}
.focus-card .focus-module .datetime-picker{background:white;border:1px solid var(--focus-line);padding:10px;border-radius:10px;box-shadow:0 5px 20px #17364c20;max-width:100%;font-size:13px}
.focus-card .focus-module .datetime-picker input{font-size:14px}

.focus-card .focus-details{border:0;border-top:1px solid var(--focus-line);border-radius:0;padding:8px 0 0;margin:8px 0 0;background:transparent;min-width:0}
.focus-card .focus-details>summary{font-size:12px;font-weight:500;min-height:26px;color:var(--focus-brand);padding:0;cursor:pointer}
.focus-card .focus-details[open]>summary{margin-bottom:8px}
.focus-card .focus-extra-parameters[open]{display:grid;gap:6px}
.focus-card .focus-extra-parameters .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:0}
.focus-card .focus-extra-parameters .hint{font-size:11px;margin:3px 0}

.focus-card .focus-document-status{font-size:14px;line-height:1.5;margin:0 0 6px;font-weight:500}
.focus-card .focus-conditions .selected-offer{margin:0;padding:0;border:0;background:transparent}
.focus-card .focus-conditions .selected-offer>h3{display:none}
.focus-card .focus-conditions .selected-offer-summary{font-size:12px;margin:0 0 5px;color:var(--focus-muted)}
.focus-card .focus-conditions .form-grid{display:block;margin:0}
.focus-card .focus-conditions .form-grid>.form-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,115px);gap:8px;align-items:center}
.focus-card .focus-conditions .form-grid input{text-align:right;font-variant-numeric:tabular-nums}
.focus-card .focus-conditions .hint{font-size:11px;line-height:1.4;margin:4px 0;color:var(--focus-muted)}
.focus-card .focus-conditions .offer-finance{font-size:12px;margin-top:6px;padding:0;background:transparent;border:0}
.focus-card .focus-conditions .offer-finance p{margin:4px 0}
.focus-card .focus-history-event{font-size:12px;padding-left:10px;margin:0 0 10px;border-left:2px solid var(--focus-line)}
.focus-card .focus-history-event small{display:block;font-size:11px;color:var(--focus-muted);margin-top:2px}
.focus-card .focus-note{font-size:12px;color:var(--focus-muted);margin:5px 0;line-height:1.5}
.focus-card .focus-field-error{font-size:12px;line-height:1.4;color:#a0394e;margin:3px 0;grid-column:1/-1}
.focus-card .focus-project .project-context-actions{display:grid;gap:8px;margin:0}
.focus-card .focus-project .project-common{margin:0;padding:0;background:transparent;border:0}
.focus-card .focus-project .project-common>summary{font-size:13px}
.focus-card .focus-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;font-size:12px;line-height:1.5;color:var(--focus-muted)}
.focus-card .focus-warnings{display:flex;flex-wrap:wrap;gap:5px}
.focus-card .focus-warning.button{font-size:12px;padding:3px 7px;min-height:26px;background:var(--focus-sand);color:#7d5013;border-color:transparent;box-shadow:none}
.focus-card .focus-settings{padding:12px;margin-bottom:12px;border:1px solid var(--focus-line);border-radius:12px;background:white;display:grid;gap:9px}
.focus-card .focus-schemes{display:flex;gap:6px}
.focus-card .focus-schemes .button[aria-pressed=true]{background:#15364c;color:#e7f1f7;border-color:#15364c}
.focus-card .focus-setting-status{font-size:12px;color:var(--focus-muted);margin:0}
.focus-card .focus-module-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px}
.focus-card .focus-module-choice{padding:8px;border-radius:8px;background:var(--focus-bg);font-size:13px}
.focus-card .focus-module-choice>label{display:flex;align-items:center;gap:7px;font-size:13px}
.focus-card .focus-module-choice input{accent-color:var(--focus-brand);width:16px;height:16px}
.focus-card .focus-settings>.button{justify-self:start}
.focus-card .focus-module.is-dragging{opacity:.4}
.focus-card .focus-drag-preview{position:fixed;z-index:10000;pointer-events:none;background:white;color:var(--focus-ink);border:1px solid var(--focus-brand);border-radius:9px;padding:10px 14px;box-shadow:0 6px 20px #17364c25;max-width:280px;font-size:13px}
.focus-card .focus-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.focus-card .dialog-footer{padding:10px 16px;gap:10px;border-top:1px solid var(--focus-line);background:white}
.focus-card .dialog-footer .muted{font-size:11px;max-width:none}
.focus-card .dialog-footer .card-save-scope{display:none}
.focus-card .dialog-footer .focus-state{flex:1;margin:0}
.focus-card .button{font-size:13px}
.focus-card :is(button,summary):focus-visible{outline:none;filter:brightness(.9);text-decoration:underline;text-underline-offset:4px}
.focus-card :is(.bank-applications,.deal-documents,.deal-calculator,.audit-details,.mail-correspondence){max-width:100%;min-width:0}
.focus-card .detail-meta{font-size:11px;margin:8px 0;color:var(--focus-muted)}
@media(max-width:600px){.focus-card .dialog-header{padding:10px 12px;flex-wrap:wrap}.focus-card .dialog-header h2{font-size:18px}.focus-card .focus-project-id{font-size:10px}.focus-card.product-workspace .dialog-scroll{padding:10px 12px}.focus-card .project-parties{display:grid;gap:3px}.focus-card .project-parties>div{flex-wrap:wrap}.focus-card .project-product-tab{flex-basis:245px;flex-shrink:0}.focus-card .dialog-footer{padding:10px 12px;flex-wrap:wrap}.focus-card .dialog-footer .muted{flex-basis:100%}.focus-card .focus-extra-parameters .form-grid{grid-template-columns:minmax(0,1fr)}}

@media(pointer:coarse){.focus-card :is(.button,summary){min-height:44px}.focus-card .focus-grip.button{min-width:44px;min-height:44px}}

/* public/projects-page.css */
/* Clear legacy shared-class properties before the approved Projects24 cascade. */
:is(#b2g-projects-page,.b2g-list-page) .toolbar{padding:0;background:transparent;border:0;border-radius:0;flex-wrap:nowrap}
:is(#b2g-projects-page,.b2g-list-page) .board{overflow:visible;padding:0;margin:0;min-height:0;max-width:none;scrollbar-color:auto;overscroll-behavior:auto}
:is(#b2g-projects-page,.b2g-list-page) .icon-button{min-width:0;min-height:0;padding:0;font-size:inherit}
:is(#b2g-projects-page,.b2g-list-page) .avatar{font-weight:400}
:is(#b2g-projects-page,.b2g-list-page) h1{line-height:inherit}
:is(#b2g-projects-page,.b2g-list-page) h2{letter-spacing:normal}
:is(#b2g-projects-page,.b2g-list-page) .pc-table td{font-size:inherit;color:inherit;line-height:inherit;border-bottom:0}
:is(#b2g-projects-page,.b2g-list-page) .pc-table th{border-bottom:0;white-space:normal}

:is(#b2g-projects-page,.b2g-list-page){--bg:#f2f5f9;--ink:#172d43;--muted:#53657b;--brand:#049fe5;--link:#006fae;--blue:#e8f4fc;--green:#eaf5ef;--warm:#fff1d9;--tag:#edf0f3;--line:#e5ebf1;--red:#9b3345;--radius:12px;color-scheme:light;font:400 12px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}:is(#b2g-projects-page,.b2g-list-page) *{box-sizing:border-box;min-width:0}:is(#b2g-projects-page,.b2g-list-page){margin:0}:is(#b2g-projects-page,.b2g-list-page) button,:is(#b2g-projects-page,.b2g-list-page) input,:is(#b2g-projects-page,.b2g-list-page) select,:is(#b2g-projects-page,.b2g-list-page) textarea{font:inherit;color:inherit}:is(#b2g-projects-page,.b2g-list-page) button{cursor:pointer;border:0;background:transparent;padding:0;-webkit-tap-highlight-color:transparent}:is(#b2g-projects-page,.b2g-list-page) button:disabled{cursor:default;opacity:.5}:is(#b2g-projects-page,.b2g-list-page) input,:is(#b2g-projects-page,.b2g-list-page) textarea,:is(#b2g-projects-page,.b2g-list-page) select{border:0;border-bottom:1px solid transparent;outline:0;background:transparent;box-shadow:none;border-radius:0;padding:6px 0;line-height:20px}:is(#b2g-projects-page,.b2g-list-page) input:hover,:is(#b2g-projects-page,.b2g-list-page) select:hover,:is(#b2g-projects-page,.b2g-list-page) textarea:hover{border-bottom-color:#bdccd8}:is(#b2g-projects-page,.b2g-list-page) input:focus,:is(#b2g-projects-page,.b2g-list-page) select:focus,:is(#b2g-projects-page,.b2g-list-page) textarea:focus{border-bottom-color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) input::placeholder,:is(#b2g-projects-page,.b2g-list-page) textarea::placeholder{color:#8a96a5}:is(#b2g-projects-page,.b2g-list-page) input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--brand);flex:none}:is(#b2g-projects-page,.b2g-list-page) input::-webkit-search-cancel-button{appearance:none}:is(#b2g-projects-page,.b2g-list-page) button:focus-visible,:is(#b2g-projects-page,.b2g-list-page) a:focus-visible{outline:0;background-color:#dceefb;text-decoration:underline;text-underline-offset:4px}:is(#b2g-projects-page,.b2g-list-page) .primary:focus-visible{background:#0087c3}:is(#b2g-projects-page,.b2g-list-page) .stage-pill:focus-visible{filter:brightness(.95)}:is(#b2g-projects-page,.b2g-list-page) [hidden]{display:none!important}:is(#b2g-projects-page,.b2g-list-page) a{color:var(--link);text-decoration:none}:is(#b2g-projects-page,.b2g-list-page) h1,:is(#b2g-projects-page,.b2g-list-page) h2,:is(#b2g-projects-page,.b2g-list-page) h3,:is(#b2g-projects-page,.b2g-list-page) p{margin:0}:is(#b2g-projects-page,.b2g-list-page) h1{font-size:22px;font-weight:500;letter-spacing:-.4px}:is(#b2g-projects-page,.b2g-list-page) h2{font-size:18px;font-weight:500}:is(#b2g-projects-page,.b2g-list-page) h3{font-size:13px;font-weight:500}:is(#b2g-projects-page,.b2g-list-page) svg{display:block;width:15px;height:15px;stroke-width:1.6;flex:none}:is(#b2g-projects-page,.b2g-list-page) .muted{color:var(--muted)}:is(#b2g-projects-page,.b2g-list-page) .small{font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .chrome{height:70px;display:flex;align-items:center;gap:30px;padding:0 32px;background:white}:is(#b2g-projects-page,.b2g-list-page) .logo{width:108px;display:flex;align-items:center;flex:none}:is(#b2g-projects-page,.b2g-list-page) .logo img{width:108px;height:38px;object-fit:contain;object-position:left center}:is(#b2g-projects-page,.b2g-list-page) .chrome nav{display:flex;gap:25px;align-self:stretch;align-items:center}:is(#b2g-projects-page,.b2g-list-page) .nav-link{color:var(--muted);height:100%;position:relative}:is(#b2g-projects-page,.b2g-list-page) .nav-link.current{color:var(--ink);font-weight:500}:is(#b2g-projects-page,.b2g-list-page) .nav-link.current:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--brand);border-radius:2px}:is(#b2g-projects-page,.b2g-list-page) .header-search{margin-left:auto;width:310px;display:flex;gap:8px;align-items:center;color:#748398}:is(#b2g-projects-page,.b2g-list-page) .header-search input{width:100%;padding:4px 0}:is(#b2g-projects-page,.b2g-list-page) .header-search kbd{white-space:nowrap;font:11px inherit;color:#8a96a5;background:#f2f5f9;border-radius:4px;padding:1px 5px}:is(#b2g-projects-page,.b2g-list-page) .avatar{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e5edf9;font-size:9px;color:#506987;flex:none}:is(#b2g-projects-page,.b2g-list-page) .avatar.me{width:30px;height:30px;font-size:10px}:is(#b2g-projects-page,.b2g-list-page) main{padding:24px 32px 0;max-width:2000px;margin:auto}:is(#b2g-projects-page,.b2g-list-page) .title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}:is(#b2g-projects-page,.b2g-list-page) .title-group{display:flex;gap:12px;align-items:center;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .title-actions{display:flex;align-items:center;gap:20px}:is(#b2g-projects-page,.b2g-list-page) .segments{display:inline-flex;gap:3px;background:#e8edf3;border-radius:8px;padding:3px}:is(#b2g-projects-page,.b2g-list-page) .segments button{display:flex;align-items:center;gap:6px;justify-content:center;padding:6px 12px;border-radius:6px;color:var(--muted);white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .segments button[aria-pressed=true]{background:var(--brand);color:white}:is(#b2g-projects-page,.b2g-list-page) .primary{background:var(--brand);color:white;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 13px;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .primary:hover{background:#0092d3}:is(#b2g-projects-page,.b2g-list-page) .text-action{display:inline-flex;align-items:center;gap:6px;color:var(--link);min-height:28px;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .text-action:hover{color:#004f7c}:is(#b2g-projects-page,.b2g-list-page) .icon-button{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;flex:none;color:var(--muted)}:is(#b2g-projects-page,.b2g-list-page) .icon-button:is(:hover,:focus-visible){background:#edf2f7}:is(#b2g-projects-page,.b2g-list-page) .toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{display:flex;align-items:center;gap:25px;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{display:flex;gap:20px;align-items:center}:is(#b2g-projects-page,.b2g-list-page) .work-tabs{display:flex;gap:20px;align-items:center}:is(#b2g-projects-page,.b2g-list-page) .work-tabs button{color:var(--muted);min-height:34px;display:inline-flex;align-items:center;gap:6px;position:relative}:is(#b2g-projects-page,.b2g-list-page) .work-tabs button[aria-pressed=true]{color:var(--ink)}:is(#b2g-projects-page,.b2g-list-page) .work-tabs button[aria-pressed=true]:after{content:'';height:2px;background:var(--brand);position:absolute;bottom:0;left:0;right:0;border-radius:2px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs button>span{font-size:10px;background:#e5eaf0;color:#6f7e90;border-radius:5px;padding:1px 5px}:is(#b2g-projects-page,.b2g-list-page) .quick-filters{display:flex;gap:7px}:is(#b2g-projects-page,.b2g-list-page) .quiet-toggle{color:var(--muted);border-radius:7px;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .quiet-toggle:hover{background:#e8edf3}:is(#b2g-projects-page,.b2g-list-page) .quiet-toggle[aria-pressed=true]{background:#dcecf8;color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .quiet-toggle.overdue-toggle[aria-pressed=true]{background:#fae3e5;color:var(--red)}:is(#b2g-projects-page,.b2g-list-page) .overdue-toggle>span{font-size:10px;color:#a95b68}:is(#b2g-projects-page,.b2g-list-page) .badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;border-radius:50%;background:var(--brand);color:white;font-size:10px}:is(#b2g-projects-page,.b2g-list-page) .filter-panel{background:#e8f4fc;border-radius:12px;padding:14px 16px;margin:8px 0 15px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:20px;flex:1}:is(#b2g-projects-page,.b2g-list-page) .filter-fields label{display:flex;flex-direction:column;color:var(--muted);font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields select{width:100%;font-size:12px;color:var(--ink);padding-right:15px}:is(#b2g-projects-page,.b2g-list-page) .view-panel{position:fixed;right:32px;top:190px;z-index:20;background:white;border-radius:12px;box-shadow:0 10px 35px #172d4320;width:264px;padding:14px}:is(#b2g-projects-page,.b2g-list-page) .view-panel header,:is(#b2g-projects-page,.b2g-list-page) .stage-menu header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:500}:is(#b2g-projects-page,.b2g-list-page) .view-panel .segments{display:flex;margin:6px 0 11px}:is(#b2g-projects-page,.b2g-list-page) .view-panel .segments button{flex:1;padding:5px 8px}:is(#b2g-projects-page,.b2g-list-page) .view-option{display:flex;gap:9px;align-items:center;min-height:32px;font-weight:400}:is(#b2g-projects-page,.b2g-list-page) .view-panel>.text-action{margin-top:8px}:is(#b2g-projects-page,.b2g-list-page) .active-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}:is(#b2g-projects-page,.b2g-list-page) .filter-chip{background:#e4ebf3;color:#53657b;border-radius:6px;display:inline-flex;align-items:center;gap:6px;padding:3px 7px;font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .filter-chip svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page) .stage-filter{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}:is(#b2g-projects-page,.b2g-list-page) .stage-filter>button{font-size:11px;padding:5px 9px;border-radius:7px;display:inline-flex;gap:6px;align-items:center;background:#e7ecf2;color:var(--muted)}:is(#b2g-projects-page,.b2g-list-page) .stage-filter>button[aria-pressed=true]{filter:saturate(1.2);box-shadow:inset 0 -2px var(--stage-dot,var(--brand))}:is(#b2g-projects-page,.b2g-list-page) .results-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);padding:1px 0 12px}:is(#b2g-projects-page,.b2g-list-page) .board-viewport{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:8px;scroll-snap-type:x proximity}:is(#b2g-projects-page,.b2g-list-page) .board{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(245px,1fr));gap:16px;align-items:start}:is(#b2g-projects-page,.b2g-list-page) .board-column{scroll-snap-align:start;min-width:0}:is(#b2g-projects-page,.b2g-list-page) .column-head{background:var(--stage-bg);color:var(--stage-ink);border-radius:9px;min-height:49px;padding:10px 12px;display:flex;align-items:center;gap:8px;margin-bottom:10px}:is(#b2g-projects-page,.b2g-list-page) .column-head h2{font-size:12px;line-height:17px;font-weight:500;flex:1}:is(#b2g-projects-page,.b2g-list-page) .dot{width:6px;height:6px;border-radius:50%;background:var(--stage-dot,currentColor);flex:none;display:inline-block}:is(#b2g-projects-page,.b2g-list-page) .column-head .count{font-size:11px;opacity:.75}:is(#b2g-projects-page,.b2g-list-page) .column-body{display:flex;flex-direction:column;gap:10px;min-height:180px;max-height:calc(100dvh - 390px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;padding:0 1px 4px}:is(#b2g-projects-page,.b2g-list-page) .project-card{background:white;border-radius:12px;padding:12px;position:relative;transition:background .14s,transform .14s}:is(#b2g-projects-page,.b2g-list-page) .project-card:hover{background:#fcfdff}:is(#b2g-projects-page,.b2g-list-page) .card-top{display:flex;align-items:center;gap:6px;margin-bottom:3px}:is(#b2g-projects-page,.b2g-list-page) .card-company{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .drag-handle{color:#b5bfca;cursor:grab;touch-action:none;width:19px;min-height:22px;border-radius:4px;display:flex;align-items:center;justify-content:center;flex:none}:is(#b2g-projects-page,.b2g-list-page) .drag-handle:hover{background:#edf2f7;color:#70849a}:is(#b2g-projects-page,.b2g-list-page) .card-title{font-size:13px;line-height:19px;font-weight:500;text-align:left;display:block;max-width:100%;margin-bottom:11px;overflow-wrap:anywhere}:is(#b2g-projects-page,.b2g-list-page) .card-title:hover{color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .product-main{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}:is(#b2g-projects-page,.b2g-list-page) .product-kind{font-size:11px;color:var(--muted);display:block;line-height:16px;max-width:59%}:is(#b2g-projects-page,.b2g-list-page) .amount{font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .card-amount{font-size:14px;line-height:19px}:is(#b2g-projects-page,.b2g-list-page) .card-next{background:#fff1d9;padding:8px 9px;border-radius:7px;margin-top:12px;display:grid;grid-template-columns:1fr auto;gap:3px 8px}:is(#b2g-projects-page,.b2g-list-page) .card-next .step{font-size:11px;line-height:16px;grid-column:1/-1;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .card-next .date{font-size:10px;color:#796a4c;display:flex;gap:4px;align-items:center;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .card-next .date svg{width:11px;height:11px}:is(#b2g-projects-page,.b2g-list-page) .card-next.is-overdue{background:#fbedee}:is(#b2g-projects-page,.b2g-list-page) .card-next.is-overdue .date{color:var(--red)}:is(#b2g-projects-page,.b2g-list-page) .card-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:10px;min-height:24px}:is(#b2g-projects-page,.b2g-list-page) .card-footer .avatar{width:23px;height:23px;font-size:8px}:is(#b2g-projects-page,.b2g-list-page) .card-context{display:flex;align-items:center;flex-wrap:wrap;gap:5px}:is(#b2g-projects-page,.b2g-list-page) .related{color:var(--link);font-size:10px;min-height:23px;display:flex;align-items:center;gap:3px}:is(#b2g-projects-page,.b2g-list-page) .related svg{width:11px;height:11px}:is(#b2g-projects-page,.b2g-list-page) .tag{border-radius:5px;background:var(--tag);color:#657181;font-size:10px;padding:2px 6px;display:inline-flex;gap:4px;align-items:center}:is(#b2g-projects-page,.b2g-list-page) .bank-mini{font-size:10px;color:#71849a;display:flex;gap:5px;align-items:center;margin-top:9px;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .bank-mini .bank-status{display:inline-flex;align-items:center;gap:4px}:is(#b2g-projects-page,.b2g-list-page) .bank-mini .dot{width:4px;height:4px}:is(#b2g-projects-page,.b2g-list-page) .card-done{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);margin-top:12px}:is(#b2g-projects-page,.b2g-list-page) .incoming-card{background:#e8f4fc}:is(#b2g-projects-page,.b2g-list-page) .incoming-card:hover{background:#e1f1fc}:is(#b2g-projects-page,.b2g-list-page) .incoming-label{font-size:10px;color:var(--link);display:flex;gap:5px;align-items:center;margin-bottom:7px}:is(#b2g-projects-page,.b2g-list-page) .incoming-label svg{width:13px;height:13px}:is(#b2g-projects-page,.b2g-list-page) .incoming-card .card-title{margin:4px 0 10px}:is(#b2g-projects-page,.b2g-list-page) .incoming-card .card-company{white-space:normal;margin:3px 0 10px;display:block}:is(#b2g-projects-page,.b2g-list-page) .incoming-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:10px;color:#6a8298}:is(#b2g-projects-page,.b2g-list-page) .incoming-foot button{color:var(--link);font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .add-column{display:flex;align-items:center;gap:5px;padding:10px;color:#8b99a8;font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .add-column:hover{color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .empty-column{padding:22px 12px;color:#8a98a7;text-align:center;font-size:11px;min-height:100px}:is(#b2g-projects-page,.b2g-list-page) .finish-strip{display:flex;align-items:center;justify-content:center;gap:12px;margin:9px 0 0;min-height:42px}:is(#b2g-projects-page,.b2g-list-page) .finish-target{color:var(--stage-ink);background:var(--stage-bg);display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;border-radius:8px;font-size:11px;min-width:128px}:is(#b2g-projects-page,.b2g-list-page) .finish-target>span[data-finish-count]{opacity:.65;font-size:10px}:is(#b2g-projects-page,.b2g-list-page) .finish-target svg{width:12px;height:12px;margin-left:auto}:is(#b2g-projects-page,.b2g-list-page) .page-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#96a2b0;font-size:10px;min-height:37px;padding:4px 0 10px}:is(#b2g-projects-page,.b2g-list-page) .page-footer .text-action{font-size:10px;color:#7d8d9e}:is(#b2g-projects-page,.b2g-list-page) .page-footer #saved-indicator{margin-left:auto}:is(#b2g-projects-page,.b2g-list-page) .list-surface{background:white;border-radius:12px;overflow:auto;scrollbar-width:thin}:is(#b2g-projects-page,.b2g-list-page) .project-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .project-table th{font-weight:400;color:#7a899b;font-size:11px;height:42px;padding:10px 16px;background:#f9fbfd}:is(#b2g-projects-page,.b2g-list-page) .project-table td{padding:14px 16px;vertical-align:top}:is(#b2g-projects-page,.b2g-list-page) .project-table tr.project-row:not(:first-child) td{border-top:1px solid #f0f3f7}:is(#b2g-projects-page,.b2g-list-page) .project-table .project-row:hover{background:#fbfdff}:is(#b2g-projects-page,.b2g-list-page) .project-table .contract-cell{width:25%}:is(#b2g-projects-page,.b2g-list-page) .project-table .products-cell{width:30%}:is(#b2g-projects-page,.b2g-list-page) .project-table .next-cell{width:25%}:is(#b2g-projects-page,.b2g-list-page) .project-table .owner-cell{width:14%}:is(#b2g-projects-page,.b2g-list-page) .project-table .expand-cell{width:35px;padding-right:10px}:is(#b2g-projects-page,.b2g-list-page) .project-table .project-name{font-size:13px;font-weight:500;text-align:left;line-height:20px;display:block;margin-bottom:3px}:is(#b2g-projects-page,.b2g-list-page) .project-table .company-name{font-size:11px;color:#6b7e91;line-height:18px}:is(#b2g-projects-page,.b2g-list-page) .project-table .project-name:hover{color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .row-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}:is(#b2g-projects-page,.b2g-list-page) .list-product{display:grid;grid-template-columns:1fr auto;gap:4px 9px;align-items:center;padding:1px 0 8px}:is(#b2g-projects-page,.b2g-list-page) .list-product:last-child{padding-bottom:0}:is(#b2g-projects-page,.b2g-list-page) .list-product .product-name{font-size:11px;color:var(--muted);text-align:left}:is(#b2g-projects-page,.b2g-list-page) .list-product .stage-pill{justify-self:start;font-size:10px;grid-column:1/-1}:is(#b2g-projects-page,.b2g-list-page) .stage-pill{display:inline-flex;align-items:center;gap:5px;background:var(--stage-bg);color:var(--stage-ink);border-radius:8px;padding:3px 7px;line-height:16px;max-width:100%;white-space:normal;text-align:left;font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .stage-pill .dot{width:5px;height:5px}:is(#b2g-projects-page,.b2g-list-page) .stage-pill svg{width:11px;height:11px;margin-left:2px}:is(#b2g-projects-page,.b2g-list-page) .next-inline{text-align:left;display:block;padding:0 0 8px;font-size:11px;line-height:17px}:is(#b2g-projects-page,.b2g-list-page) .next-inline:last-child{padding-bottom:0}:is(#b2g-projects-page,.b2g-list-page) .next-inline>span{display:block}:is(#b2g-projects-page,.b2g-list-page) .next-inline .date{font-size:10px;color:#7a899b;margin-top:2px}:is(#b2g-projects-page,.b2g-list-page) .next-inline.is-overdue .date{color:var(--red)}:is(#b2g-projects-page,.b2g-list-page) .owner-inline{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}:is(#b2g-projects-page,.b2g-list-page) .project-detail-row td{padding-top:0;padding-bottom:15px;background:#f8fbfe}:is(#b2g-projects-page,.b2g-list-page) .detail-products{display:flex;gap:10px;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .detail-product{background:#e8f4fc;border-radius:9px;padding:11px 13px;min-width:225px;flex:1}:is(#b2g-projects-page,.b2g-list-page) .detail-product .bank-mini{margin:7px 0 0}:is(#b2g-projects-page,.b2g-list-page) .detail-product>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}:is(#b2g-projects-page,.b2g-list-page) .empty-results{background:white;border-radius:12px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--muted);text-align:center;padding:25px}:is(#b2g-projects-page,.b2g-list-page) .empty-results>svg{width:27px;height:27px;color:#95afc4;margin-bottom:4px}:is(#b2g-projects-page,.b2g-list-page) .sort-button{display:flex;align-items:center;gap:5px;font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .sort-button svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page) .matching-hint{font-size:10px;color:#8997a6;margin-top:5px}:is(#b2g-projects-page,.b2g-list-page) .dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:17px}:is(#b2g-projects-page,.b2g-list-page) .dialog-header h2{line-height:27px}:is(#b2g-projects-page,.b2g-list-page) .project-dialog,:is(#b2g-projects-page,.b2g-list-page) .create-dialog{border:0;border-radius:14px;outline:0;background:#f2f5f9;color:var(--ink);margin:auto;padding:24px;max-height:calc(100dvh - 36px);width:660px;max-width:calc(100vw - 36px);overflow-y:auto;scrollbar-width:thin}:is(#b2g-projects-page,.b2g-list-page) .project-dialog{margin-right:22px;max-height:calc(100dvh - 42px);width:600px}:is(#b2g-projects-page,.b2g-list-page) .create-dialog{background:#e8f4fc;width:580px}:is(#b2g-projects-page,.b2g-list-page) dialog::backdrop{background:#172d433d}:is(#b2g-projects-page,.b2g-list-page) .dialog-eyebrow{font-size:10px;color:#8090a2;margin-bottom:3px}:is(#b2g-projects-page,.b2g-list-page) .peek-title{max-width:440px;overflow-wrap:anywhere}:is(#b2g-projects-page,.b2g-list-page) .peek-context{display:flex;gap:9px;flex-wrap:wrap;align-items:center;font-size:12px;color:#63768a;margin-top:-7px;margin-bottom:20px}:is(#b2g-projects-page,.b2g-list-page) .peek-module{background:white;border-radius:12px;padding:14px 15px;margin-bottom:12px}:is(#b2g-projects-page,.b2g-list-page) .peek-module header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}:is(#b2g-projects-page,.b2g-list-page) .peek-module h3{display:flex;align-items:center;gap:6px}:is(#b2g-projects-page,.b2g-list-page) .peek-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}:is(#b2g-projects-page,.b2g-list-page) .peek-tabs button{padding:6px 9px;border-radius:7px;background:#e5ebf2;color:var(--muted);font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .peek-tabs button[aria-pressed=true]{background:var(--brand);color:white}:is(#b2g-projects-page,.b2g-list-page) .peek-product-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}:is(#b2g-projects-page,.b2g-list-page) .peek-amount{font-size:20px;font-weight:400}:is(#b2g-projects-page,.b2g-list-page) .peek-module.blue{background:#e8f4fc}:is(#b2g-projects-page,.b2g-list-page) .peek-module.warm{background:#fff1d9}:is(#b2g-projects-page,.b2g-list-page) .field{display:flex;flex-direction:column;font-size:11px;color:var(--muted);margin-bottom:13px}:is(#b2g-projects-page,.b2g-list-page) .field input,:is(#b2g-projects-page,.b2g-list-page) .field select,:is(#b2g-projects-page,.b2g-list-page) .field textarea{font-size:12px;color:var(--ink);width:100%}:is(#b2g-projects-page,.b2g-list-page) .field-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}:is(#b2g-projects-page,.b2g-list-page) .dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}:is(#b2g-projects-page,.b2g-list-page) .peek-contact{display:grid;gap:4px;font-size:11px;color:var(--muted)}:is(#b2g-projects-page,.b2g-list-page) .peek-contact a{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}:is(#b2g-projects-page,.b2g-list-page) .peek-contact svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page) .peek-bank{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .peek-note{font-size:10px;color:#8997a6;margin:6px 0 0}:is(#b2g-projects-page,.b2g-list-page) .form-error{color:var(--red);font-size:11px;margin:8px 0}:is(#b2g-projects-page,.b2g-list-page) .stage-menu{position:fixed;z-index:60;width:270px;max-width:calc(100vw - 24px);background:white;box-shadow:0 10px 32px #172d4329;border-radius:12px;padding:12px}:is(#b2g-projects-page,.b2g-list-page) .stage-menu #stage-options{display:flex;flex-direction:column;gap:5px}:is(#b2g-projects-page,.b2g-list-page) .stage-menu .stage-pill{width:100%;padding:8px 9px;justify-content:flex-start}:is(#b2g-projects-page,.b2g-list-page) .stage-menu .stage-pill .choice-check{margin-left:auto}:is(#b2g-projects-page,.b2g-list-page) .toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);background:#e8f4fc;color:#275675;padding:10px 12px 10px 16px;border-radius:10px;box-shadow:0 6px 24px #172d4319;display:flex;gap:14px;align-items:center;max-width:calc(100vw - 28px);font-size:12px}:is(#b2g-projects-page,.b2g-list-page) .toast>span{min-width:120px}:is(#b2g-projects-page,.b2g-list-page) .toast>button:not(.icon-button){color:var(--link);white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .toast .icon-button{width:22px;height:22px}:is(#b2g-projects-page,.b2g-list-page) .drop-active{background:#e2eef7!important;border-radius:12px}:is(#b2g-projects-page,.b2g-list-page) .finish-target.drop-active{filter:brightness(.95);transform:scale(1.03)}:is(#b2g-projects-page,.b2g-list-page) .project-card.is-dragging{opacity:.2}:is(#b2g-projects-page,.b2g-list-page) .drag-clone{position:fixed;z-index:150;pointer-events:none;opacity:.97;transform:rotate(1.5deg);box-shadow:0 12px 32px #172d4330;max-width:340px}:is(#b2g-projects-page,.b2g-list-page).compact .project-card{padding:10px 11px}:is(#b2g-projects-page,.b2g-list-page).compact .card-title{font-size:12px;line-height:17px;margin-bottom:8px}:is(#b2g-projects-page,.b2g-list-page).compact .card-next{padding:5px 8px;margin-top:8px}:is(#b2g-projects-page,.b2g-list-page).compact .card-footer{margin-top:7px}:is(#b2g-projects-page,.b2g-list-page).compact .bank-mini{display:none}:is(#b2g-projects-page,.b2g-list-page).compact .project-table td{padding-top:10px;padding-bottom:10px}:is(#b2g-projects-page,.b2g-list-page).compact .column-body{gap:8px}:is(#b2g-projects-page,.b2g-list-page).compact .card-amount{font-size:13px}:is(#b2g-projects-page,.b2g-list-page)[data-hide-owner=true] .board .owner-display{display:none}:is(#b2g-projects-page,.b2g-list-page)[data-hide-tags=true] .board .tag-display{display:none}:is(#b2g-projects-page,.b2g-list-page)[data-hide-banks=true] .board .bank-display{display:none}:is(#b2g-projects-page,.b2g-list-page)[data-hide-next=true] .board .next-display{display:none}:is(#b2g-projects-page,.b2g-list-page)[data-hide-company=true] .board .company-display{display:none}
@media(min-width:1700px){:is(#b2g-projects-page,.b2g-list-page) main{padding-left:44px;padding-right:44px}:is(#b2g-projects-page,.b2g-list-page) .chrome{padding-left:44px;padding-right:44px}:is(#b2g-projects-page,.b2g-list-page) .board{gap:20px}:is(#b2g-projects-page,.b2g-list-page) .project-card{padding:15px}:is(#b2g-projects-page,.b2g-list-page) .card-title{font-size:13px}:is(#b2g-projects-page,.b2g-list-page) .column-body{gap:12px}}
@media(max-width:1100px){:is(#b2g-projects-page,.b2g-list-page) .chrome{gap:20px;padding:0 24px}:is(#b2g-projects-page,.b2g-list-page) .chrome nav{gap:20px}:is(#b2g-projects-page,.b2g-list-page) .header-search{width:245px}:is(#b2g-projects-page,.b2g-list-page) main{padding:21px 24px 0}:is(#b2g-projects-page,.b2g-list-page) .board{gap:12px;grid-template-columns:repeat(var(--cols,4),minmax(230px,1fr))}:is(#b2g-projects-page,.b2g-list-page) .column-head{padding:9px 10px}:is(#b2g-projects-page,.b2g-list-page) .title-actions{gap:12px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{gap:13px}:is(#b2g-projects-page,.b2g-list-page) .quick-filters{gap:2px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{gap:13px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs{gap:14px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields{grid-template-columns:1fr 1fr;gap:8px 25px}:is(#b2g-projects-page,.b2g-list-page) .filter-panel{align-items:center}:is(#b2g-projects-page,.b2g-list-page) .project-table .contract-cell{width:25%}:is(#b2g-projects-page,.b2g-list-page) .project-table .products-cell{width:32%}:is(#b2g-projects-page,.b2g-list-page) .project-table .next-cell{width:28%}:is(#b2g-projects-page,.b2g-list-page) .project-table .owner-cell{width:15%}:is(#b2g-projects-page,.b2g-list-page) .project-table td,:is(#b2g-projects-page,.b2g-list-page) .project-table th{padding-left:12px;padding-right:12px}:is(#b2g-projects-page,.b2g-list-page) .project-table .owner-inline .avatar{display:none}:is(#b2g-projects-page,.b2g-list-page) .header-search kbd{display:none}:is(#b2g-projects-page,.b2g-list-page) .column-body{max-height:calc(100dvh - 390px)}}
@media(max-width:760px){:is(#b2g-projects-page,.b2g-list-page) .chrome{height:60px;padding:0 16px;gap:18px;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .logo,:is(#b2g-projects-page,.b2g-list-page) .logo img{width:86px;height:32px}:is(#b2g-projects-page,.b2g-list-page) .chrome nav{gap:17px}:is(#b2g-projects-page,.b2g-list-page) .chrome .avatar.me{margin-left:auto;width:25px;height:25px}:is(#b2g-projects-page,.b2g-list-page) .header-search{order:4;width:100%;background:#fff;margin:0 -16px;padding:3px 16px;height:40px;flex:none;width:calc(100% + 32px)}:is(#b2g-projects-page,.b2g-list-page) main{padding:61px 16px 0}:is(#b2g-projects-page,.b2g-list-page) .title-row{align-items:center;margin-bottom:16px;gap:10px}:is(#b2g-projects-page,.b2g-list-page) .title-group{gap:8px}:is(#b2g-projects-page,.b2g-list-page) .title-group h1{font-size:21px}:is(#b2g-projects-page,.b2g-list-page) .title-group #headline-count{font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .title-actions{gap:10px}:is(#b2g-projects-page,.b2g-list-page) .mode-switch button{font-size:0;padding:7px 9px;gap:0}:is(#b2g-projects-page,.b2g-list-page) .mode-switch svg{width:16px;height:16px}:is(#b2g-projects-page,.b2g-list-page) .primary{padding:8px 10px}:is(#b2g-projects-page,.b2g-list-page) .toolbar{align-items:flex-start;gap:10px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{gap:8px;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{gap:12px;align-self:flex-end;min-height:29px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools .text-action{font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs{width:100%;gap:17px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs button{min-height:31px;font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs button>span{font-size:9px}:is(#b2g-projects-page,.b2g-list-page) .quiet-toggle{font-size:11px;padding:5px 7px}:is(#b2g-projects-page,.b2g-list-page) .quick-filters{gap:7px}:is(#b2g-projects-page,.b2g-list-page) .results-meta{font-size:10px;display:block;padding:1px 0 10px}:is(#b2g-projects-page,.b2g-list-page) .results-meta #board-hint{display:none}:is(#b2g-projects-page,.b2g-list-page) .board{grid-template-columns:repeat(var(--cols,4),minmax(270px,1fr));gap:12px}:is(#b2g-projects-page,.b2g-list-page) .column-head{min-height:43px}:is(#b2g-projects-page,.b2g-list-page) .column-body{max-height:calc(100dvh - 430px);min-height:150px}:is(#b2g-projects-page,.b2g-list-page) .finish-strip{gap:8px;justify-content:flex-start;flex-wrap:wrap;margin-top:4px}:is(#b2g-projects-page,.b2g-list-page) .finish-strip>span{display:none}:is(#b2g-projects-page,.b2g-list-page) .finish-target{min-width:110px;flex:1;padding:7px 10px}:is(#b2g-projects-page,.b2g-list-page) .page-footer{flex-wrap:wrap;font-size:9px;gap:5px;min-height:40px}:is(#b2g-projects-page,.b2g-list-page) .page-footer #saved-indicator{display:none}:is(#b2g-projects-page,.b2g-list-page) .page-footer .text-action{font-size:9px;margin-left:auto}:is(#b2g-projects-page,.b2g-list-page) .filter-panel{align-items:stretch;flex-direction:column;gap:7px;padding:13px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields{gap:8px 16px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields label{font-size:10px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields select{font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .view-panel{right:16px;top:225px;width:252px;max-height:calc(100dvh - 245px);overflow:auto}:is(#b2g-projects-page,.b2g-list-page) .list-surface{background:transparent;overflow:visible}:is(#b2g-projects-page,.b2g-list-page) .project-table,:is(#b2g-projects-page,.b2g-list-page) .project-table tbody,:is(#b2g-projects-page,.b2g-list-page) .project-table tr,:is(#b2g-projects-page,.b2g-list-page) .project-table td{display:block;width:100%!important}:is(#b2g-projects-page,.b2g-list-page) .project-table thead{display:none}:is(#b2g-projects-page,.b2g-list-page) .project-table tr.project-row{background:white;padding:13px 13px 9px;border-radius:12px;margin-bottom:10px;position:relative}:is(#b2g-projects-page,.b2g-list-page) .project-table .project-row td{padding:0 0 9px;border:0!important}:is(#b2g-projects-page,.b2g-list-page) .project-table .project-row .expand-cell{position:absolute;right:8px;top:9px;width:30px!important}:is(#b2g-projects-page,.b2g-list-page) .project-table .project-row .contract-cell{padding-right:26px}:is(#b2g-projects-page,.b2g-list-page) .project-table .product-name{font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .project-table .list-product{grid-template-columns:1fr auto;padding-top:2px}:is(#b2g-projects-page,.b2g-list-page) .project-table .next-cell{display:flex;gap:10px;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .project-table .next-inline{background:#fff1d9;border-radius:7px;padding:7px 9px;flex:1}:is(#b2g-projects-page,.b2g-list-page) .project-table .next-inline.is-overdue{background:#fbedee}:is(#b2g-projects-page,.b2g-list-page) .project-table .owner-cell{padding-top:1px!important}:is(#b2g-projects-page,.b2g-list-page) .project-table .owner-inline .avatar{display:flex}:is(#b2g-projects-page,.b2g-list-page) .project-detail-row td{background:#e8f4fc;padding:10px 12px!important;border-radius:10px;margin-top:-7px;margin-bottom:12px}:is(#b2g-projects-page,.b2g-list-page) .detail-products{gap:8px}:is(#b2g-projects-page,.b2g-list-page) .detail-product{padding:4px 0;background:transparent;min-width:100%}:is(#b2g-projects-page,.b2g-list-page) .project-dialog,:is(#b2g-projects-page,.b2g-list-page) .create-dialog{width:100%;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px;margin:10px auto;border-radius:12px}:is(#b2g-projects-page,.b2g-list-page) .project-dialog .peek-title{font-size:18px}:is(#b2g-projects-page,.b2g-list-page) .field-pair{gap:12px}:is(#b2g-projects-page,.b2g-list-page) .peek-tabs button{padding:6px 8px;font-size:10px}:is(#b2g-projects-page,.b2g-list-page) .toast{bottom:15px;padding:9px 10px;font-size:11px;gap:9px}:is(#b2g-projects-page,.b2g-list-page) .stage-filter{gap:5px}:is(#b2g-projects-page,.b2g-list-page) .stage-filter>button{font-size:10px;padding:4px 7px}:is(#b2g-projects-page,.b2g-list-page) .peek-contact{font-size:11px}:is(#b2g-projects-page,.b2g-list-page) .column-head h2{font-size:12px}:is(#b2g-projects-page,.b2g-list-page) .board-viewport{scroll-padding-left:0}}
@media(pointer:coarse){:is(#b2g-projects-page,.b2g-list-page) .icon-button{width:33px;height:33px}:is(#b2g-projects-page,.b2g-list-page) .drag-handle{width:26px;min-height:30px}:is(#b2g-projects-page,.b2g-list-page) .text-action{min-height:34px}:is(#b2g-projects-page,.b2g-list-page) .stage-menu .stage-pill{min-height:40px}:is(#b2g-projects-page,.b2g-list-page) .stage-pill{min-height:29px}:is(#b2g-projects-page,.b2g-list-page) .card-title{min-height:25px}:is(#b2g-projects-page,.b2g-list-page) .quiet-toggle{min-height:32px}:is(#b2g-projects-page,.b2g-list-page) .view-option{min-height:37px}}
@media(prefers-reduced-motion:reduce){:is(#b2g-projects-page,.b2g-list-page) *{transition:none!important;scroll-behavior:auto!important}}:is(#b2g-projects-page,.b2g-list-page) .incoming-foot button{display:inline-flex;align-items:center;gap:4px}:is(#b2g-projects-page,.b2g-list-page) .incoming-foot button svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page) .next-product-kind{font-size:9px;color:#8a98a7;margin-bottom:1px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{gap:20px}:is(#b2g-projects-page,.b2g-list-page) .quick-filters{align-items:center;flex-wrap:wrap;gap:8px}:is(#b2g-projects-page,.b2g-list-page) .turn-filter{display:flex;align-items:center;gap:7px}:is(#b2g-projects-page,.b2g-list-page) .turn-filter .segments{padding:2px;background:#e6ecf3}:is(#b2g-projects-page,.b2g-list-page) .turn-filter .segments button{font-size:11px;padding:4px 8px;min-height:24px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields{grid-template-columns:repeat(3,minmax(140px,1fr))}:is(#b2g-projects-page,.b2g-list-page) .column-body{display:grid;grid-template-columns:repeat(var(--stage-lanes,1),minmax(0,1fr));gap:12px;align-content:start;align-items:start;max-height:calc(100dvh - 320px);padding-right:3px}:is(#b2g-projects-page,.b2g-list-page) .column-body .empty-column{grid-column:1/-1}:is(#b2g-projects-page,.b2g-list-page) .board{gap:14px}:is(#b2g-projects-page,.b2g-list-page) .board-column{min-width:0}:is(#b2g-projects-page,.b2g-list-page) .column-head{min-height:48px}:is(#b2g-projects-page,.b2g-list-page) .lane-settings{display:inline-flex;gap:3px;align-items:center;justify-content:center;color:inherit;opacity:.65;font-size:10px;min-width:28px;min-height:25px;border-radius:5px}:is(#b2g-projects-page,.b2g-list-page) .lane-settings:hover,:is(#b2g-projects-page,.b2g-list-page) .lane-settings:focus-visible{opacity:1;background:#ffffff55}:is(#b2g-projects-page,.b2g-list-page) .lane-settings svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page) .lanes-menu{position:fixed;z-index:40;padding:11px 12px;width:262px;max-width:calc(100vw - 24px);background:white;border-radius:11px;box-shadow:0 10px 32px #172d4320}:is(#b2g-projects-page,.b2g-list-page) .lanes-menu header{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;margin-bottom:7px}:is(#b2g-projects-page,.b2g-list-page) .lanes-menu .segments{display:flex}:is(#b2g-projects-page,.b2g-list-page) .lanes-menu .segments button{flex:1;font-size:11px;padding:5px 8px}:is(#b2g-projects-page,.b2g-list-page) .column-body .project-card{height:100%}:is(#b2g-projects-page,.b2g-list-page) .project-card .card-footer{margin-top:10px}:is(#b2g-projects-page,.b2g-list-page) .board .product-main{flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .board .product-kind{max-width:100%;flex:1;min-width:88px}:is(#b2g-projects-page,.b2g-list-page) .board .card-amount{font-size:13px}:is(#b2g-projects-page,.b2g-list-page) .board-viewport{padding-bottom:10px}:is(#b2g-projects-page,.b2g-list-page) .card-top .drag-handle{margin-left:auto}:is(#b2g-projects-page,.b2g-list-page).compact .column-body{gap:9px}:is(#b2g-projects-page,.b2g-list-page).compact .column-body .project-card{padding:10px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{gap:16px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs{gap:16px}
@media(max-width:1250px){:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{gap:11px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{gap:12px}:is(#b2g-projects-page,.b2g-list-page) .turn-filter .segments button{padding:4px 7px}:is(#b2g-projects-page,.b2g-list-page) .toolbar{align-items:flex-start}:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{flex:1}:is(#b2g-projects-page,.b2g-list-page) .quick-filters{gap:5px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{padding-top:3px}}
@media(max-width:950px){:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{align-items:center;gap:8px 15px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{flex-wrap:wrap;justify-content:flex-end;gap:5px 13px}:is(#b2g-projects-page,.b2g-list-page) .column-body{max-height:calc(100dvh - 345px)}}
@media(max-width:760px){:is(#b2g-projects-page,.b2g-list-page) .quick-filters{gap:5px;width:100%;flex-wrap:wrap}:is(#b2g-projects-page,.b2g-list-page) .turn-filter{gap:5px}:is(#b2g-projects-page,.b2g-list-page) .turn-filter .segments button{padding:4px 6px;min-height:27px;font-size:10px}:is(#b2g-projects-page,.b2g-list-page) .turn-filter>.small{font-size:10px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-main{gap:8px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools{align-self:flex-start;max-width:110px;gap:4px 11px;padding-top:1px}:is(#b2g-projects-page,.b2g-list-page) .toolbar-tools .text-action{min-height:27px}:is(#b2g-projects-page,.b2g-list-page) .filter-fields{grid-template-columns:1fr}:is(#b2g-projects-page,.b2g-list-page) .column-body{max-height:calc(100dvh - 390px);gap:10px;min-height:150px}:is(#b2g-projects-page,.b2g-list-page) .lane-settings{min-height:28px}:is(#b2g-projects-page,.b2g-list-page) .board .product-kind{min-width:90px}:is(#b2g-projects-page,.b2g-list-page) .project-card{min-height:0}:is(#b2g-projects-page,.b2g-list-page) .board-viewport{padding-bottom:6px}:is(#b2g-projects-page,.b2g-list-page) .page-footer{min-height:35px}:is(#b2g-projects-page,.b2g-list-page) .work-tabs{gap:15px}:is(#b2g-projects-page,.b2g-list-page) .toolbar{margin-bottom:10px}:is(#b2g-projects-page,.b2g-list-page) .title-actions{gap:8px}}:is(#b2g-projects-page,.b2g-list-page) .dialog-notice{position:sticky;bottom:0;z-index:5;margin-top:12px;padding:9px 11px;background:#dcedf9;color:#275675;border-radius:8px;font-size:11px;display:flex;gap:12px;align-items:center;justify-content:space-between}:is(#b2g-projects-page,.b2g-list-page) .dialog-notice button{color:#006fae;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .turn-filter{gap:9px}:is(#b2g-projects-page,.b2g-list-page) .turn-puck{width:17px;height:17px;color:var(--muted);flex:none}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs{display:flex;align-items:center;gap:13px}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button{display:inline-flex;align-items:center;position:relative;background:transparent;color:var(--muted);border:0;border-radius:0;padding:6px 0;min-height:32px;font-size:11px;line-height:18px;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button[aria-pressed=true]{background:transparent;color:var(--ink)}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button[aria-pressed=true]:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--brand)}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button:hover{color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button:focus-visible{background:transparent;text-decoration:underline;text-underline-offset:4px}:is(#b2g-projects-page,.b2g-list-page) .board .project-card{cursor:grab;-webkit-user-drag:none}:is(#b2g-projects-page,.b2g-list-page) .board .project-card :is(.card-title,.card-next,.related){cursor:grab}:is(#b2g-projects-page,.b2g-list-page).is-card-dragging,:is(#b2g-projects-page,.b2g-list-page).is-card-dragging *{cursor:grabbing!important}:is(#b2g-projects-page,.b2g-list-page) .drag-clone{cursor:grabbing}:is(#b2g-projects-page,.b2g-list-page) .turn-filter .turn-tabs{flex-wrap:nowrap}
@media(max-width:760px){:is(#b2g-projects-page,.b2g-list-page) .turn-filter{gap:6px}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs{gap:10px}:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button{font-size:10px;min-height:30px;padding:5px 0}:is(#b2g-projects-page,.b2g-list-page) .turn-puck{width:16px;height:16px}}
@media(pointer:coarse){:is(#b2g-projects-page,.b2g-list-page) .turn-tabs button{min-height:38px}}:is(#b2g-projects-page,.b2g-list-page) .pc-table-scroll{overflow:auto;max-width:100%;background:#fff;border-radius:12px;scrollbar-width:thin;overscroll-behavior-x:contain;position:relative}:is(#b2g-projects-page,.b2g-list-page) .pc-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px;line-height:17px;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .pc-table th{position:relative;background:#f8fbfe;padding:10px 12px;color:#53657b;font-size:11px;font-weight:400;height:44px;vertical-align:middle}:is(#b2g-projects-page,.b2g-list-page) .pc-table td{padding:11px 13px;vertical-align:top;background:#fff;overflow:hidden}:is(#b2g-projects-page,.b2g-list-page) .pc-table .pc-group+.pc-group tr:first-child td{border-top:1px solid #edf2f6}:is(#b2g-projects-page,.b2g-list-page) .pc-table .pc-group:hover td{background:#fcfdff}:is(#b2g-projects-page,.b2g-list-page) .pc-table .pc-group tr:not(:first-child) td{padding-top:6px}:is(#b2g-projects-page,.b2g-list-page) .pc-heading-row{display:flex;align-items:center;gap:5px}:is(#b2g-projects-page,.b2g-list-page) .pc-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:1;text-align:left;white-space:nowrap;min-height:22px;font-size:11px;font-weight:400}:is(#b2g-projects-page,.b2g-list-page) .pc-heading svg{width:11px;height:11px;color:#8a99a9}:is(#b2g-projects-page,.b2g-list-page) .pc-heading:hover{color:#006fae}:is(#b2g-projects-page,.b2g-list-page) .pc-head-move{display:flex;align-items:center;justify-content:center;cursor:grab;width:15px;height:23px;color:#9baab9;flex:none;touch-action:none}:is(#b2g-projects-page,.b2g-list-page) .pc-head-move svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page) .pc-contract{font-size:12px;font-weight:400;line-height:19px;text-align:left;overflow-wrap:anywhere}:is(#b2g-projects-page,.b2g-list-page) .pc-contract:hover,:is(#b2g-projects-page,.b2g-list-page) .pc-product:hover,:is(#b2g-projects-page,.b2g-list-page) .pc-step:hover{color:#006fae}:is(#b2g-projects-page,.b2g-list-page) .pc-product,:is(#b2g-projects-page,.b2g-list-page) .pc-step{text-align:left;font-size:11px;line-height:17px;max-width:100%;display:block}:is(#b2g-projects-page,.b2g-list-page) .pc-amount{white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}:is(#b2g-projects-page,.b2g-list-page) .pc-wrap{white-space:normal;overflow-wrap:anywhere}:is(#b2g-projects-page,.b2g-list-page) .pc-table .stage-pill{font-size:10px;line-height:15px;padding:3px 7px;min-height:24px;display:inline-flex;vertical-align:top}:is(#b2g-projects-page,.b2g-list-page) .pc-owner{display:flex;align-items:center;gap:6px}:is(#b2g-projects-page,.b2g-list-page) .pc-owner .avatar{width:23px;height:23px;font-size:8px}:is(#b2g-projects-page,.b2g-list-page) .pc-tag{display:inline-flex;background:#edf0f3;color:#657181;border-radius:5px;font-size:10px;padding:2px 6px;margin:0 3px 3px 0}:is(#b2g-projects-page,.b2g-list-page) .pc-date{font-size:11px;color:#53657b;line-height:17px}:is(#b2g-projects-page,.b2g-list-page) .pc-late{color:#9b3345}:is(#b2g-projects-page,.b2g-list-page) .pc-turn{color:#53657b}:is(#b2g-projects-page,.b2g-list-page) .pc-bank{display:block;font-size:11px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}:is(#b2g-projects-page,.b2g-list-page) .pc-bank-state{display:block;width:max-content;max-width:100%;font-size:10px;border-radius:6px;padding:2px 6px;line-height:18px;margin-bottom:2px;background:var(--pc-state-bg);color:var(--pc-state-ink)}:is(#b2g-projects-page,.b2g-list-page) .pc-intake td{background:#eef7fd}:is(#b2g-projects-page,.b2g-list-page) .pc-intake .pc-contract{display:block}:is(#b2g-projects-page,.b2g-list-page) .pc-intake-label{display:flex;align-items:center;gap:5px;color:#397ea7;font-size:10px;margin-bottom:4px}:is(#b2g-projects-page,.b2g-list-page) .pc-intake-label svg{width:12px;height:12px}:is(#b2g-projects-page,.b2g-list-page).compact .pc-table td{padding-top:9px;padding-bottom:9px}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog{position:relative;inset:auto;border:0;outline:0;border-radius:12px;margin:0 0 12px;padding:14px 16px;background:#e8f4fc;color:#172d43;width:100%;max-width:none;max-height:none;box-shadow:none}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog:not([open]){display:none}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog-head{display:flex;align-items:center;gap:16px;min-height:28px;margin-bottom:10px}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog h2{font-size:13px;font-weight:500;line-height:20px;margin:0}:is(#b2g-projects-page,.b2g-list-page) .pc-search{display:flex;align-items:center;gap:7px;max-width:230px;width:40%;margin-left:auto;font-size:11px;color:#53657b}:is(#b2g-projects-page,.b2g-list-page) .pc-search input{width:100%;font-size:12px;padding:3px 0}:is(#b2g-projects-page,.b2g-list-page) .pc-search svg{width:13px;height:13px;flex:none;color:#6b8499}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog-head .icon-button{width:26px;height:26px}:is(#b2g-projects-page,.b2g-list-page) .pc-available-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:7px 9px;max-height:210px;overflow:auto;scrollbar-width:thin;padding:0 2px 2px 0}:is(#b2g-projects-page,.b2g-list-page) .pc-field{display:flex;gap:7px;align-items:center;border:0;border-radius:7px;background:#fff;color:#172d43;padding:8px 10px;min-height:34px;font-size:12px;font-weight:400;line-height:18px;text-align:left;cursor:grab;touch-action:none;min-width:0}:is(#b2g-projects-page,.b2g-list-page) .pc-field>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:is(#b2g-projects-page,.b2g-list-page) .pc-field>svg{width:12px;height:12px;flex:none;color:#93a5b7}:is(#b2g-projects-page,.b2g-list-page) .pc-field:hover{background:#f7fbff}:is(#b2g-projects-page,.b2g-list-page) .pc-field-ghost{position:fixed;z-index:160;pointer-events:none;background:#fff;color:#172d43;box-shadow:0 6px 23px #172d4326;border:0;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:400;line-height:18px;min-width:150px;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(#b2g-projects-page,.b2g-list-page) .pc-moving{opacity:.35}:is(#b2g-projects-page,.b2g-list-page).pc-column-dragging,:is(#b2g-projects-page,.b2g-list-page).pc-column-dragging *{cursor:grabbing!important}:is(#b2g-projects-page,.b2g-list-page) .pc-insertion-line{position:absolute;top:0;height:64px;width:2px;background:#049fe5;border-radius:2px;pointer-events:none;z-index:9}:is(#b2g-projects-page,.b2g-list-page) .pc-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .pc-empty{grid-column:1/-1;font-size:12px;color:#53657b;line-height:18px;padding:8px 0;margin:0}:is(#b2g-projects-page,.b2g-list-page) .pc-save-status{font-size:11px;line-height:17px;color:#9b3345;margin-top:8px}:is(#b2g-projects-page,.b2g-list-page) .pc-save-status:empty{display:none}:is(#b2g-projects-page,.b2g-list-page) .pc-remove-column{display:none;align-items:center;justify-content:center;width:22px;height:26px;flex:none;color:#8a9bab;border-radius:5px}:is(#b2g-projects-page,.b2g-list-page) .pc-remove-column>svg{width:11px;height:11px}:is(#b2g-projects-page,.b2g-list-page) .pc-remove-column:hover{background:#f8e8e6;color:#9b3345}:is(#b2g-projects-page,.b2g-list-page).pc-columns-open .pc-remove-column{display:inline-flex}:is(#b2g-projects-page,.b2g-list-page) .pc-heading-row{gap:4px}:is(#b2g-projects-page,.b2g-list-page) .pc-heading{min-width:0}:is(#b2g-projects-page,.b2g-list-page) .pc-heading:hover{color:#006fae}:is(#b2g-projects-page,.b2g-list-page) .pc-table th{cursor:grab}:is(#b2g-projects-page,.b2g-list-page) .pc-heading{cursor:grab}
@media(max-width:650px){:is(#b2g-projects-page,.b2g-list-page) .pc-dialog{padding:12px;margin-bottom:10px}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog-head{gap:10px}:is(#b2g-projects-page,.b2g-list-page) .pc-search{max-width:none;width:55%;font-size:12px}:is(#b2g-projects-page,.b2g-list-page) .pc-available-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));max-height:186px;gap:7px}:is(#b2g-projects-page,.b2g-list-page) .pc-field{font-size:11px;padding:8px;min-height:36px}}
@media(pointer:coarse){:is(#b2g-projects-page,.b2g-list-page) .pc-field{min-height:42px}:is(#b2g-projects-page,.b2g-list-page) .pc-search input{font-size:16px}:is(#b2g-projects-page,.b2g-list-page) .pc-remove-column{min-width:28px;min-height:32px}:is(#b2g-projects-page,.b2g-list-page) .pc-dialog-head .icon-button{width:32px;height:32px}}:is(#b2g-projects-page,.b2g-list-page) .pc-heading-label{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .pc-heading>svg{flex:none}:is(#b2g-projects-page,.b2g-list-page) .pc-heading{overflow:hidden}
@media(pointer:coarse){:is(#b2g-projects-page,.b2g-list-page) .pc-field{touch-action:pan-y}}:is(#b2g-projects-page,.b2g-list-page) .card-layout-label{display:block;color:var(--muted);font-size:11px;margin:0 0 5px}:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices{display:flex;flex-direction:column;gap:2px;margin-bottom:9px}:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 8px;font-size:12px;line-height:18px;color:var(--muted);text-align:left;border-radius:6px}:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices button[aria-pressed=true]{background:#e8f4fc;color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices button>svg{width:13px;height:13px;visibility:hidden}:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices button[aria-pressed=true]>svg{visibility:visible}:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices button:hover{color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) #card-layout-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page).compact .board .cc-card{padding:11px 12px;border:0;border-radius:11px;font-size:12px;font-weight:400;line-height:18px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-row{display:flex;align-items:center;gap:9px;min-width:0}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-company{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink);font-size:12px;font-weight:400;line-height:18px;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-company:hover,:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-product:hover,:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-project:hover{color:var(--link)}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-amount{font-size:13px;line-height:18px;flex:none}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-project{display:block;font-size:11px;line-height:17px;color:var(--muted);font-weight:400;margin:3px 0 4px;max-width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-product{font-size:11px;line-height:18px;font-weight:400;color:var(--muted);min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-product-row{margin-top:3px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-owner{width:22px;height:22px;min-height:22px;flex:none;margin-left:auto;touch-action:none}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-owner .avatar{width:22px;height:22px;font-size:8px;line-height:22px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-owner-grip{display:none}:is(#b2g-projects-page,.b2g-list-page)[data-hide-owner=true] .cc-owner-grip{display:flex}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-next{display:flex;align-items:flex-start;flex-direction:column;gap:2px;margin-top:7px;padding:6px 8px;background:#fff1d9;color:var(--ink);border-radius:7px;width:100%;font-size:11px;line-height:16px;text-align:left}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-step{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-deadline{display:inline-flex;gap:4px;align-items:center;font-size:11px;line-height:16px;color:#73603f;white-space:nowrap;font-variant-numeric:tabular-nums}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-deadline svg{width:11px;height:11px;flex:none}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-late{color:#9b3345}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-overdue{background:#fbedee}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-date-button{flex:none;margin-left:auto}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-minimal-meta{margin-top:6px;gap:8px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-minimal-meta .cc-owner{margin-left:0}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-minimal-meta .cc-deadline{color:var(--muted)}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-minimal-meta .cc-late{color:#9b3345}:is(#b2g-projects-page,.b2g-list-page) .board .cc-card :is(.cc-company,.cc-project,.cc-product,.cc-next,.cc-date-button){cursor:grab}:is(#b2g-projects-page,.b2g-list-page).compact .column-body .cc-card{height:auto}:is(#b2g-projects-page,.b2g-list-page) .cc-company:focus-visible,:is(#b2g-projects-page,.b2g-list-page) .cc-project:focus-visible,:is(#b2g-projects-page,.b2g-list-page) .cc-product:focus-visible,:is(#b2g-projects-page,.b2g-list-page) .cc-date-button:focus-visible{text-decoration:underline;text-underline-offset:4px;background:#e8f4fc}
@media(pointer:coarse){:is(#b2g-projects-page,.b2g-list-page) .card-layout-choices button{min-height:40px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-company{min-height:25px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-owner{min-width:28px;min-height:28px}:is(#b2g-projects-page,.b2g-list-page) .cc-card .cc-date-button{min-height:28px}}

:is(#b2g-projects-page,.b2g-list-page){min-height:100dvh;width:100%;overflow-x:clip}:is(#b2g-projects-page,.b2g-list-page) .page-status:empty{display:none}:is(#b2g-projects-page,.b2g-list-page) .page-status{padding:8px 0;color:var(--red)}:is(#b2g-projects-page,.b2g-list-page) .project-card[tabindex]:focus-visible{outline:0;background:#dceefb}:is(#b2g-projects-page,.b2g-list-page) .user-menu{position:absolute;right:28px;top:60px;z-index:40;background:white;border-radius:12px;padding:10px;box-shadow:0 8px 25px #172d4320}:is(#b2g-projects-page,.b2g-list-page) .user-menu button{display:block;padding:5px 8px}:is(#b2g-projects-page,.b2g-list-page) .mail-intake{display:contents}:is(#b2g-projects-page,.b2g-list-page) .pc-save-status:empty{display:none}

:is(#b2g-projects-page,.b2g-list-page) .board-column{max-width:none;flex:initial}

:is(#b2g-projects-page,.b2g-list-page) .page-status{color:var(--ink)}

/* One pointer gesture owns movement; text/image native drags must not steal it. */
:is(#b2g-projects-page,.b2g-list-page) .project-card,:is(#b2g-projects-page,.b2g-list-page) .pc-table th,:is(#b2g-projects-page,.b2g-list-page) .pc-field{user-select:none;-webkit-user-select:none}
:is(#b2g-projects-page,.b2g-list-page) .pc-table th{position:relative}:is(#b2g-projects-page,.b2g-list-page) .pc-column-resizer{position:absolute;right:-4px;top:0;bottom:0;width:9px;z-index:7;cursor:col-resize;touch-action:none;outline:none}:is(#b2g-projects-page,.b2g-list-page) .pc-column-resizer:after{content:"";position:absolute;left:4px;top:7px;bottom:7px;width:1px;background:transparent}:is(#b2g-projects-page,.b2g-list-page) .pc-column-resizer:hover:after,:is(#b2g-projects-page,.b2g-list-page) .pc-column-resizer:focus-visible:after{background:#049fe5}:is(#b2g-projects-page,.b2g-list-page).pc-column-resizing,:is(#b2g-projects-page,.b2g-list-page).pc-column-resizing *{cursor:col-resize!important}:is(#b2g-projects-page,.b2g-list-page) .pc-table [data-pc-filler]{padding:0;pointer-events:none}

#b2g-projects-page .pc-page-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #dce5ee;color:#53657b;font:400 12px/18px Inter,system-ui,sans-serif}
#b2g-projects-page .pc-page-nav>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#b2g-projects-page .pc-page-nav button{border:1px solid #dce5ee;border-radius:6px;background:#fff;color:#172d43;padding:5px 10px;min-height:30px;font:inherit}
#b2g-projects-page .pc-page-nav button:disabled{opacity:.45}
#b2g-projects-page .pc-page-nav button:focus-visible{outline:none;text-decoration:underline;text-underline-offset:3px;background:#f1f6fa}

/* public/entity-list-page.css */
#app .lists27{display:block;min-width:0;background:#f3f6fa;color:#172d43;font:400 12px/1.45 Inter,system-ui,sans-serif}#app .lists27>.workspace{display:block;min-width:0;margin:0}#app .lists27 main{max-width:1800px;margin:0 auto;padding:26px 32px 20px}#app .lists27 .title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px}#app .lists27 .title-group{display:flex;align-items:baseline;gap:9px}#app .lists27 h1{font:500 22px/1.3 Inter,system-ui,sans-serif;margin:0}#app .lists27 .title-actions{display:flex;align-items:center;gap:8px;margin:0}#app .lists27 .title-actions button{font:400 12px/18px Inter,system-ui,sans-serif;min-height:35px;border:0;border-radius:7px;box-shadow:none;white-space:nowrap}#app .lists27 .title-actions .primary{background:#049fe5;color:white;padding:8px 13px}#app .lists27 .title-actions .quiet-button,#app .lists27 .title-actions .icon-button{background:transparent;color:#53657b;padding:7px}#app .lists27 .title-actions .icon-button{font-size:21px;line-height:18px;width:34px}#app .lists27 .header-search .global-search-form{width:100%;margin:0}#app .lists27 .header-search .global-search-input{font:400 12px/18px Inter,system-ui,sans-serif;width:100%;min-height:30px;height:30px;padding:4px 28px 4px 0;background:transparent;border:0;box-shadow:none;border-bottom:1px solid transparent;border-radius:0}#app .lists27 .header-search .global-search-input:focus{border-bottom-color:#049fe5}#app .lists27 .global-search-panel{font:400 12px/18px Inter,system-ui,sans-serif}#app .lists27-context{display:flex;align-items:center;gap:8px;margin:0 0 12px}#app .lists27-context span{padding:4px 8px;background:#e7f2fb;border-radius:6px}#app .lists27-context button,#app .lists27-status button{border:0;background:transparent;color:#007fab;padding:3px 6px;font:inherit;box-shadow:none}#app .lists27-status{margin:0 0 12px;color:#9d3c4a}#app .lists27 [hidden]{display:none!important}#app .lists27 .pc-table-scroll{width:100%;max-width:100%;overflow:auto;border-radius:12px;background:white;box-shadow:none;border:0}#app .lists27 .pc-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;font:400 12px/18px Inter,system-ui,sans-serif}#app .lists27 .pc-table th{height:44px;box-sizing:border-box;padding:10px 12px;font:400 11px/16px Inter,system-ui,sans-serif;background:#f8fbfe;color:#53657b;border:0;border-bottom:1px solid #e4ebf2}#app .lists27 .pc-table td{height:65px;box-sizing:border-box;padding:11px 13px;vertical-align:middle;border:0;border-bottom:1px solid #e8edf3;background:#fff;color:#172d43;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app .lists27 .pc-table td.pc-wrap{white-space:normal;overflow-wrap:normal;word-break:normal}#app .lists27 .pc-table tr:hover td{background:#f7fbfe}#app .lists27 .pc-table .effective-pinned{position:sticky;z-index:1}#app .lists27 .pc-table th.effective-pinned{z-index:3;background:#f8fbfe}#app .lists27 .pc-heading-label{font-weight:400}#app .lists27 .pc-heading:disabled{opacity:1;cursor:default}#app .lists27 .pc-heading-row{min-width:0}#app .lists27 .pc-head-move:disabled{opacity:.25;cursor:default}#app .lists27-record{display:inline;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:#172d43;font:400 12px/18px Inter,system-ui,sans-serif;white-space:normal;overflow-wrap:normal;word-break:normal;cursor:pointer}#app .lists27-record:hover{text-decoration:underline;text-underline-offset:3px}#app .lists27-note{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app .lists27-related{display:flex;flex-direction:column;gap:2px;margin:2px 0}#app .lists27-related>span{color:#738397;font-size:11px}#app .lists27-more{display:block;padding:1px 0;border:0;background:transparent;box-shadow:none;color:#007fae;font:inherit;cursor:pointer}#app .lists27-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;color:#738397}#app .lists27-pagination button{padding:5px 8px;border:0;background:transparent;box-shadow:none;color:#53657b;font:inherit}#app .lists27-pagination button:disabled{opacity:.4}#app .lists27 .pc-dialog{margin-bottom:12px}#app .lists27 .user-menu button{font:400 12px/18px Inter,system-ui,sans-serif}#app .lists27 .pc-table td [role=alert]{color:#9d3c4a}
@media(max-width:600px){#app .lists27 main{padding:22px 16px 15px}#app .lists27 h1{font-size:20px}#app .lists27 .title-row{flex-wrap:wrap;gap:11px;margin-bottom:13px}#app .lists27 .title-actions{margin-left:auto;gap:5px}#app .lists27 .title-actions button{min-height:33px;font-size:11px}#app .lists27 .title-actions .primary{padding:7px 10px}#app .lists27 .title-actions .quiet-button{padding:6px 4px}#app .lists27 .pc-table td{padding:10px 11px}#app .lists27-pagination{font-size:11px;gap:6px}#app .lists27 .pc-dialog-head{flex-wrap:wrap}#app .lists27 .pc-dialog-head h2{font-size:16px}}
#app .lists27 .pc-table .effective-pinned{overflow:visible}#app .lists27 .effective-pinned .lists27-record{max-width:100%}

/* public/focus-date-picker.css */
/* The supplied date design is scoped to enhanced fields in the synthetic pilot. */
.fd-field>.fd-canonical,.fd-field>.calendar-toggle,.fd-field>.datetime-picker{display:none!important}
.fd-field{position:relative}
.fd-field>.fd-display{min-width:0;width:100%;height:32px;min-height:32px;padding:5px 30px 5px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid transparent!important;border-radius:0!important;box-shadow:none!important;font-size:14px;font-weight:500;line-height:20px;font-family:inherit}
.fd-field>.fd-display:hover{border-bottom-color:#586c7f!important}
.fd-field>.fd-display:focus{border-bottom-color:#006fae!important;outline:0}
.fd-field>.fd-toggle.button{position:absolute;right:0;top:18px;width:30px;height:30px;min-height:30px;padding:4px;background:transparent;box-shadow:none;border:0;font-size:18px}
.focus-card .focus-params .form-field.fd-field:has(>.fd-display){display:block;min-height:50px}
.fd-field>.fd-error{font-size:12px;line-height:1.4;color:#a52d43;margin:4px 0;grid-column:1/-1}
.fd-field>.fd-display[aria-invalid=true]{border-bottom-color:#a52d43!important}
.fd-popup{--fd-bg:#fff;position:fixed;z-index:10002;box-sizing:border-box;width:320px;max-width:calc(100vw - 24px);padding:12px;border:0;border-radius:12px;box-shadow:0 6px 24px #19364d26;background:var(--fd-bg);color:#172d43;font:14px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;overflow:auto}
.fd-popup[hidden],.fd-field>[hidden]{display:none!important}
.fd-popup *{box-sizing:border-box}
.fd-popup button{background:transparent;color:inherit;box-shadow:none;border:0;padding:4px;min-width:28px;min-height:30px;font:inherit;cursor:pointer;border-radius:7px}
.fd-popup button:disabled{opacity:.35;cursor:default}
.fd-popup button:not(:disabled):hover{background:#006fae12}
.fd-popup :is(button,input):focus-visible{outline:none;filter:brightness(.9);text-decoration:underline;text-underline-offset:4px}
.fd-heading{display:flex;align-items:center;gap:4px;margin-bottom:9px}
.fd-heading .fd-month-name{flex:1;font-weight:500}
.fd-shortcuts{display:flex;gap:12px;margin-bottom:10px}
.fd-shortcuts button{font-size:12px;color:#006fae}
.fd-week,.fd-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.fd-week{font-size:11px;color:#586c7f;margin-bottom:4px}
.fd-popup .fd-day{position:relative;justify-self:center;padding:0;width:32px;height:32px;font-size:13px;font-variant-numeric:tabular-nums;border-radius:50%}
.fd-day.other{opacity:.55}
.fd-day.today:after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:currentColor;left:calc(50% - 1.5px);bottom:3px}
.fd-popup .fd-day.selected{background:#006fae;color:white;opacity:1}
.fd-time{display:flex;align-items:center;justify-content:space-between;padding-top:6px;margin-top:10px;font-size:12px}
.fd-time input,.fd-year{height:32px;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;color:#006fae;max-width:84px;font:500 17px/20px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-align:center;padding:4px 0}
.fd-time input:hover,.fd-year:hover{border-bottom-color:#586c7f}
.fd-time input:focus,.fd-year:focus{border-bottom-color:#006fae}
.fd-year{display:block;margin:8px auto 13px;width:72px}
.fd-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.fd-months button{min-height:36px;font-size:12px}
@media(pointer:coarse){.fd-field>.fd-display{height:44px!important;min-height:44px!important;font-size:16px!important}.fd-field>.fd-toggle.button{min-width:44px;width:44px;height:44px}.fd-popup button{min-height:44px}.fd-popup .fd-day{width:min(40px,100%);height:44px}.fd-time input{height:44px;font-size:16px}}

/* Only the time control: retain its lower-line focus, without a rectangular ring. */
.fd-popup .fd-time input:is(:focus,:focus-visible){outline:none;box-shadow:none;border-bottom-color:#006fae;-webkit-appearance:none;appearance:none}

/* public/focus-documents.css */
/* Documents prototype22.10: an independent surface, row drafts and separate saves. */
.focus-card .focus-documents{background:#efedfa;color:#55477e;padding:16px;border:0;border-radius:14px;box-shadow:none}.focus-card .focus-documents .focus-module-header{gap:8px;margin-bottom:16px}.focus-card .focus-documents .focus-module-header h3{font:600 13px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.focus-card .focus-documents .focus-icon svg{width:16px;height:16px}.focus-card .focus-documents .focus-grip{color:#625e75}.focus-card .focus-documents .focus-grip svg{width:12px;height:16px}.focus-card .focus-documents .focus-document-status{font:400 12px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0 0 14px;color:#55477e}.focus-document-status strong{font-size:22px;font-weight:600;letter-spacing:-.5px;margin-right:4px}.focus-document-meter{display:block;height:4px;background:#d8d3e9;border-radius:4px;margin:11px 0 0;overflow:hidden}.focus-document-meter>span{display:block;height:100%;background:#8a76b0}.focus-card .focus-documents .focus-details{margin:0;padding:0;border:0;border-top:1px solid #d8d3e9}.focus-card .focus-documents .focus-details>summary{display:flex;align-items:center;gap:4px;list-style:none;padding:11px 0 8px;min-height:34px;font:400 12px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#246484}.focus-documents summary::-webkit-details-marker{display:none}.focus-documents .focus-details>summary>svg{width:12px;height:12px}.focus-documents .focus-details:not([open])>summary>svg{transform:rotate(-90deg)}
.focus-documents-ui,.focus-documents-create{--docs-text:#243448;--docs-accent:#55477e;--docs-muted:#625e75;--docs-line:#d8d3e9;--docs-action:#246484;--docs-hover:#e5e0f4;--docs-error:#a1394e;--docs-pane:#f8f6fd;--docs-input:#f6f3fc;color:var(--docs-text);font:400 13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-width:0}
.focus-documents-ui *,.focus-documents-create *{box-sizing:border-box}.focus-documents-ui [hidden],.focus-documents-create [hidden]{display:none!important}.focus-documents-ui svg,.focus-documents-create svg{width:16px;height:16px;flex:none}
.focus-document-toolbar,.focus-document-tabs,.focus-document-heading,.focus-document-footer,.focus-document-file-choice,.focus-document-pages{display:flex;align-items:center;gap:9px;min-width:0}.focus-document-search input{padding:10px 0}.focus-document-toolbar{justify-content:space-between;border-bottom:1px solid var(--docs-line);margin-top:5px}.focus-document-tabs{gap:20px}
.focus-documents-ui .focus-document-action,.focus-documents-ui .focus-document-icon,.focus-documents-ui .focus-document-tab,.focus-documents-ui .focus-document-name,.focus-documents-create button,.focus-document-menu button{appearance:none;background:none;border:0;box-shadow:none;border-radius:4px;font:inherit;color:var(--docs-action);padding:4px 0;cursor:pointer;text-align:left;line-height:1.4;min-height:32px}
.focus-documents-ui .focus-document-action,.focus-documents-create .focus-document-action{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:400;white-space:nowrap;flex-shrink:0;min-height:34px}.focus-documents-ui .focus-document-tab{font-size:13px;color:var(--docs-muted);padding:8px 0 10px;border-radius:0;border-bottom:2px solid transparent;min-height:36px}.focus-documents-ui .focus-document-tab[aria-selected=true]{color:var(--docs-accent);border-bottom-color:#8a76b0;font-weight:600}.focus-document-tab-count{font-size:11px;margin-left:4px;font-weight:400}
.focus-documents-ui .focus-document-icon,.focus-documents-create .focus-document-icon{display:inline-flex;align-items:center;justify-content:center;min-width:32px;width:32px;height:32px;min-height:32px;flex:0 0 32px;padding:5px;border-radius:6px;color:var(--docs-muted)}.focus-documents-ui .focus-document-icon:hover{background:var(--docs-hover)}.focus-documents-ui button:disabled,.focus-documents-create button:disabled{opacity:.45;cursor:default}
.focus-documents-ui :is(button,input,select,textarea,summary):focus-visible,.focus-document-menu button:focus-visible,.focus-documents-create button:focus-visible{outline:none;filter:brightness(.9);text-decoration:underline;text-underline-offset:4px}
.focus-document-row{position:relative;min-height:62px;padding:8px 0;border-bottom:1px solid var(--docs-line);min-width:0;overflow-wrap:anywhere}.focus-document-row:not(.focus-document-draft){display:flex;align-items:center}.focus-document-row:not(.focus-document-draft)>.focus-document-heading{width:100%}.focus-document-heading{align-items:center}.focus-document-file-icon{display:grid;place-items:center;width:27px;height:32px;border-radius:5px;background:var(--docs-hover);color:var(--docs-accent);font-size:9px;font-weight:600;flex:none}.focus-document-description,.focus-document-title-field{flex:1;min-width:0}
.focus-documents-ui .focus-document-name{display:block;color:var(--docs-text);font-size:13px;padding:0;min-height:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-weight:500}.focus-document-name:hover{color:var(--docs-action)}.focus-document-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:11px;color:var(--docs-muted);margin:3px 0 0}.focus-document-lock{display:inline-flex;align-items:center;color:var(--docs-muted)}.focus-document-lock svg{width:11px;height:11px}
.focus-document-footer{gap:3px;padding-top:8px}.focus-document-empty{padding:24px 0 15px;font-size:12px;color:var(--docs-muted);margin:0}.focus-document-notice{font-size:11px;color:var(--docs-muted);margin:9px 0}.focus-document-notice:empty,.focus-document-row-hint:empty,.focus-document-error:empty{display:none}
.focus-documents-ui input,.focus-documents-ui textarea,.focus-documents-ui select,.focus-documents-create input,.focus-documents-create textarea,.focus-documents-create select{min-width:0;max-width:100%;width:100%;background:var(--docs-input);color:var(--docs-text);border:0;border-bottom:1px solid var(--docs-line);border-radius:0;padding:7px 3px;min-height:32px;font:inherit;box-shadow:none}.focus-documents-ui input[type=checkbox],.focus-documents-create input[type=checkbox]{width:auto;min-height:0;accent-color:var(--docs-action)}
.focus-documents-ui .form-field,.focus-documents-create .form-field{display:grid;gap:4px;margin:0;min-width:0;font-size:11px;color:var(--docs-muted)}.focus-documents-ui .form-field>label{font:400 11px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--docs-muted);padding:0;margin:0}.focus-document-title-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.focus-documents-ui .focus-document-title-field input,.focus-documents-create .focus-document-title-field input{border:0;border-bottom:1px solid transparent;padding:5px 0;font-size:13px;font-weight:500;min-height:30px}.focus-documents-ui .focus-document-title-field input:hover{border-bottom-color:var(--docs-line)}.focus-documents-ui .focus-document-save{margin-left:auto}
.focus-document-form>select,.focus-document-heading>.focus-document-kind{margin:3px 0;width:100%;flex:1;min-width:0;background:var(--docs-input);font-size:13px;min-height:34px;padding:6px 2px;border-bottom-color:#8a76b0}.focus-document-form [hidden]{display:none!important}.focus-document-file-choice{color:var(--docs-muted);font-size:11px;flex-wrap:wrap;margin:0}.focus-document-file-name{overflow-wrap:anywhere;min-width:0;flex:1}.focus-document-parameters{margin:5px 0 0;font-size:11px}.focus-document-parameters>summary{font-size:11px;color:var(--docs-action);cursor:pointer;padding:5px 0;min-height:30px}.focus-document-parameters[open]{display:grid;gap:9px;padding-bottom:6px}.focus-document-parameters .hint{font-size:11px;color:var(--docs-muted)}.focus-document-parameters textarea{resize:vertical;min-height:50px}
.focus-card .focus-documents .focus-documents-ui .form-field.fd-field{display:block}.focus-documents-ui .form-field>.hint{grid-column:1/-1;overflow-wrap:normal}.focus-document-detail{font-size:12px;overflow-wrap:anywhere}.focus-document-detail p{margin:6px 0}.focus-document-detail .document-download{max-width:100%;white-space:normal}.focus-document-detail .document-file{display:flex;flex-wrap:wrap;gap:6px}.focus-document-pages{flex-wrap:wrap;font-size:11px}.focus-document-error{font-size:11px;color:var(--docs-error);margin:5px 0}.focus-document-row-hint{font-size:11px;color:var(--docs-muted);margin:5px 0}
.focus-document-menu{position:fixed;z-index:10004;max-width:calc(100vw - 16px);width:max-content;min-width:200px;background:#f8f6fd;color:#243448;box-shadow:0 8px 24px #27203820;border:1px solid #d8d3e9;border-radius:9px;padding:5px;box-sizing:border-box;font:400 12px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.focus-card .focus-document-menu button{display:block;width:100%;min-height:34px;padding:7px 9px;color:#246484;font-size:12px}.focus-document-menu button:hover{background:#e5e0f4}
.focus-documents-ui .document-reader-grid{display:grid;grid-template-columns:1fr;gap:4px}.focus-documents-ui .document-reader-grid label{display:flex;align-items:center;gap:6px;font-size:12px}.focus-documents-ui .document-period-fields{margin:0}.focus-documents-create{background:#efedfa;padding:16px;border-radius:14px;margin-top:12px}
.focus-card .focus-document-window{width:min(420px,calc(100% - 28px));max-width:calc(100vw - 28px);max-height:85dvh;overflow:auto;border:1px solid var(--docs-line);border-radius:14px;background:var(--docs-pane);color:var(--docs-text);padding:18px;box-shadow:0 18px 70px #17243d25;margin:auto;font-size:13px}.focus-document-window::backdrop{background:#17243d40}.focus-document-window-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.focus-document-window-head h4{font-size:15px;line-height:1.4;margin:0;overflow-wrap:anywhere;font-weight:600}.focus-document-window .focus-document-detail{margin:0}
@media(prefers-color-scheme:dark){.focus-card .focus-documents{background:#302c43;color:#d5c8f1}.focus-card .focus-documents .focus-document-status{color:#d5c8f1}.focus-card .focus-documents .focus-details{border-top-color:#4b435e}.focus-card .focus-documents .focus-details>summary{color:#90d0ed}.focus-document-meter{background:#4b435e}.focus-document-meter>span{background:#b49bd9}.focus-documents-ui,.focus-documents-create{--docs-text:#e9edf6;--docs-accent:#d5c8f1;--docs-muted:#bcb4cb;--docs-line:#4b435e;--docs-action:#90d0ed;--docs-hover:#413951;--docs-error:#ffb2bf}.focus-documents-create,.focus-document-menu,.focus-card .focus-document-window{background:#302c43;color:#e9edf6}.focus-document-menu button{color:#90d0ed}.focus-document-menu button:hover{background:#413951}}
@media(pointer:coarse){.focus-documents-ui .focus-document-action,.focus-documents-ui .focus-document-tab,.focus-documents-ui .focus-document-icon,.focus-documents-create .focus-document-icon,.focus-documents-create .focus-document-action,.focus-documents-ui button,.focus-documents-ui summary,.focus-documents-create button,.focus-card .focus-document-menu button{min-height:44px}.focus-documents-ui .focus-document-icon,.focus-documents-create .focus-document-icon{width:44px;flex-basis:44px}.focus-documents-ui .focus-document-title-field input,.focus-documents-create .focus-document-title-field input,.focus-documents-ui .focus-document-form>select,.focus-documents-create .focus-document-form>select,.focus-documents-ui input,.focus-documents-ui textarea,.focus-documents-ui select,.focus-documents-create input,.focus-documents-create select{font-size:16px;min-height:44px}}

/* public/focus-unified.css */
/* Approved template geometry. Ordinary fields belong here; Documents and the date popup own their styles. */
.unified-card{--card-brand:#049fe5;--card-link:#006fae;--card-ink:#172d43;--card-muted:#53657b;font:400 12px/18px Inter,system-ui,sans-serif;color:var(--card-ink)}
.unified-card .unified-nav,.unified-card .unified-upper,.unified-card .focus-module:not(.focus-documents){font:inherit;color:var(--card-ink)}
.unified-card .unified-nav{display:flex;align-items:center;gap:28px;padding:12px 16px;background:#fff;min-width:0}
.unified-nav .brand{gap:8px;flex:none;padding:0}.unified-nav .brand-logo{width:30px;height:30px}.unified-nav .brand-word{font-size:18px;line-height:20px}.unified-nav .brand-finance{font-size:11px}.unified-nav .brand small{display:none}
.unified-nav-links{display:flex;gap:20px}.unified-card .unified-nav-links .button{border:0;box-shadow:none;background:transparent;font:inherit;color:var(--card-muted);padding:4px 0;white-space:nowrap}
.unified-nav .global-search-host{margin-left:auto;min-width:150px;max-width:460px;flex:1}.unified-nav .global-search-input{box-sizing:border-box;height:32px;min-height:32px;font:inherit;line-height:20px;padding:5px 34px 5px 0;border:0;border-bottom:1px solid #dce5ee;border-radius:0;background:transparent}
.unified-nav .global-search-input:focus{outline:none;box-shadow:none;border-bottom-color:var(--card-brand)}
.unified-nav input[type=search]::-webkit-search-cancel-button,.unified-nav input[type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.unified-upper{min-width:0;margin-bottom:12px}.unified-title-row{display:flex;gap:12px;align-items:center;padding:7px 0;margin-bottom:10px;min-width:0}
.unified-title-area{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;flex:1 1 360px;min-width:0}.unified-contract-label{font-size:11px;color:var(--card-muted);flex-basis:100%}
.unified-card .unified-contract-title{field-sizing:content;width:auto;max-width:100%;min-width:100px;height:auto;min-height:30px;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:transparent;border:0;border-bottom:1px solid transparent;box-shadow:none;border-radius:0;padding:0;font:500 20px/26px Inter,system-ui,sans-serif;color:var(--card-ink)}
.unified-card .unified-contract-title:is(:hover,:focus){outline:none;border-bottom-color:var(--card-muted)}
.unified-header-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:none}.unified-card .unified-header-tools .button{font:inherit;min-height:32px;padding:6px 10px;box-shadow:none;border:0}
.unified-card .unified-header-tools>.primary{background:var(--card-brand);color:#fff;border-radius:8px}.unified-card .focus-configure.button{display:flex;gap:5px;align-items:center;background:transparent;border:0;box-shadow:none;color:var(--card-link);font:inherit;padding:2px 4px}.unified-card .focus-configure:focus-visible{outline:none;text-decoration:underline}
.unified-card svg{flex:none}.unified-header-tools svg,.unified-party-replace svg,.unified-card .focus-icon svg{width:15px;height:15px;display:block}.unified-card .unified-header-tools [aria-label="Закрыть карточку"]{width:32px;padding:8px;background:transparent;color:var(--card-muted)}
.unified-people{display:grid;grid-template-columns:1.1fr 1.1fr 1fr 1fr;gap:14px;padding-bottom:12px;min-width:0}.unified-people>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;position:relative;margin:0}
.unified-card .unified-people :is(.muted,label){font-size:11px;font-weight:400;line-height:18px;color:var(--card-muted);margin:0;padding:0}.unified-card .unified-people .project-party-name{font:inherit;line-height:18px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:0 22px 0 0;min-height:20px;border:0;background:transparent;box-shadow:none;color:var(--card-ink)}
.unified-card .unified-people select{max-width:100%;width:100%;min-width:0;border:0;border-bottom:1px solid transparent;background:transparent;box-shadow:none;padding:1px 0;font:inherit;min-height:24px;height:24px;color:inherit}.unified-card .unified-people select:focus{outline:none;border-bottom-color:var(--card-brand)}
.unified-contact-meta{display:flex;flex-direction:column;font-size:11px;color:var(--card-muted);overflow-wrap:anywhere;max-width:100%}.unified-card .unified-party-replace{position:absolute;top:18px;right:0;min-width:24px;width:24px;min-height:24px;height:24px;padding:4px;border:0;background:transparent;box-shadow:none;color:var(--card-link)}
.unified-card .unified-commission-reason{display:flex;flex-direction:column;gap:1px;width:100%;margin-top:4px}.unified-card .unified-commission-reason input{box-sizing:border-box;width:100%;min-width:0;height:28px;min-height:28px;padding:3px 0;font:inherit;border:0;border-bottom:1px solid #a9b4c0;box-shadow:none;background:transparent;border-radius:0}
.unified-tags,.unified-tag-list{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}.unified-card .unified-tag-list:empty,.unified-card .unified-tags>.unified-error:empty{display:none}.unified-card .unified-tags .button{border:0;box-shadow:none;font:400 11px/18px Inter,system-ui,sans-serif;min-height:20px;padding:1px 6px;background:#edf0f3;color:#5d6774;border-radius:5px;white-space:normal;overflow-wrap:anywhere;max-width:100%}.unified-card .unified-tags .button[aria-pressed=true]{background:#d9e0e7;color:#414e5d}
.unified-card .unified-tags .unified-tag-add{width:24px;height:24px;min-width:24px;min-height:24px;padding:0;background:transparent;color:var(--card-link);font-size:16px}.unified-card .unified-tags input{box-sizing:border-box;width:110px;min-width:60px;max-width:160px;height:24px;min-height:24px;padding:2px 0;border:0;border-bottom:1px solid #a9b4c0;border-radius:0;background:transparent;box-shadow:none;font:inherit}.unified-card .unified-tags .unified-tag-remove{width:24px;height:24px;min-width:24px;min-height:24px;padding:5px;background:transparent;color:var(--card-link)}.unified-tag-remove svg{width:14px;height:14px}.unified-error{font-size:11px;color:#a1394e;overflow-wrap:anywhere;margin:3px 0}
.unified-product-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}.unified-card.product-workspace .project-products{display:flex;flex:1;min-width:0;gap:7px;padding:0;flex-wrap:wrap;overflow:visible}.unified-card .project-product-tab{border:0;box-shadow:none;background:#fff;display:flex;flex-direction:column;align-items:start;justify-content:center;gap:2px;flex:0 1 240px;min-width:180px;min-height:56px;padding:7px 10px;border-radius:12px;font:inherit;color:var(--card-ink)}
.unified-card .project-product-state{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.unified-card .project-product-divider{display:none}.unified-card .project-product-stage{display:inline-block;max-width:100%;padding:0 5px;border-radius:5px;background:var(--status-bg,#eee8f8);color:var(--status-ink,#674aa1);font:400 11px/17px Inter,system-ui,sans-serif}
.unified-card .project-product-tab[aria-pressed=true]{background:var(--card-brand);color:#fff}.unified-card :is(.project-product-kind,.project-product-state){font:inherit}.unified-card .project-product-add{margin:0;font:inherit}.unified-stage-bar{display:flex;gap:8px;align-items:center;max-width:100%;font-size:11px;color:var(--card-muted)}
.unified-card .focus-grid{align-items:stretch}.unified-card .focus-column{position:relative;display:grid;gap:12px;min-width:0;min-height:64px;align-content:start}.unified-card .focus-column[data-drop-empty]:after{content:'';position:absolute;top:var(--drop-y);left:0;right:0;height:2px;background:var(--card-brand);pointer-events:none;z-index:5}
.unified-card .focus-module:not(.focus-documents){border:0;box-shadow:none;border-radius:12px;padding:12px}.unified-card .focus-module:not(.focus-documents) .focus-module-header{gap:5px;margin-bottom:8px}.unified-card .focus-module:not(.focus-documents) .focus-module-header h3{font:500 13px/18px Inter,system-ui,sans-serif}.unified-card .focus-module:not(.focus-documents) .focus-grip{min-height:24px;min-width:18px;font-size:15px}.unified-card .focus-icon{display:flex}
.unified-card .focus-agreement{background:#edf0fb}.unified-card .focus-banks,.unified-card .focus-mail{background:#fff}.unified-card .focus-params{background:#e8f4fc}.unified-card .focus-next{background:#fff1d9}.unified-card .focus-conditions{background:#eaf5ef}
.unified-card .unified-field{margin:0;min-width:0;gap:0}.unified-card .unified-field>label,.unified-card .unified-field>span:first-child{font:inherit;color:var(--card-muted)}
.unified-card .unified-field :is(input,select,textarea):not(.fd-canonical):not(.fd-display):not([type=checkbox]):not([type=radio]),.unified-card .unified-invoice input,.unified-card .unified-bank-row input:not([type=radio]){box-sizing:border-box;max-width:100%;min-width:0;width:100%;font:400 12px/20px Inter,system-ui,sans-serif;height:28px;min-height:28px;padding:3px 0;background:transparent;color:inherit;border:0;border-bottom:1px solid transparent;border-radius:0;box-shadow:none}
.unified-card .unified-field :is(input,select,textarea):not(.fd-canonical):is(:hover,:focus),.unified-card .unified-invoice input:is(:hover,:focus),.unified-card .unified-bank-row input:not([type=radio]):is(:hover,:focus){outline:none;border-bottom-color:var(--card-brand);box-shadow:none}
.unified-card :is(.unified-field,.unified-invoice,.unified-bank-row) [aria-invalid=true]{border-bottom-color:#a1394e}
.unified-card .focus-module:not(.focus-documents) input:is([type=checkbox],[type=radio]),.unified-card .focus-settings input{accent-color:var(--card-brand);width:15px;height:15px;min-height:15px;margin:0;flex:none}
.unified-card .focus-module:not(.focus-documents) .button{font:inherit;font-weight:400;min-height:28px;box-shadow:none}.unified-card .focus-module:not(.focus-documents) :is(.button.primary,.choose-offer),.unified-card .mail-quick-files>.button{background:var(--card-brand);color:#fff;border:0;box-shadow:none;border-radius:8px}
.unified-card .focus-params .focus-module-body{display:flex;flex-direction:column;gap:0}.unified-card .focus-params .focus-module-body>.unified-field{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;align-items:center;min-height:30px}.unified-card .focus-params .unified-field:has([name=productKind]){grid-template-columns:58px minmax(0,1fr);gap:6px}
.unified-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin:9px 0 3px}.unified-card .focus-params .unified-date-pair>.form-field.fd-field:has(>.fd-display){display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:0;align-items:center;margin:0;min-width:0;min-height:48px}.unified-card .unified-date-pair>.form-field>label{grid-column:1/-1;font-size:11px;color:var(--card-muted);line-height:18px;margin:0}
.unified-card :is(.focus-params,.focus-next) .fd-field>.fd-display{grid-column:1;grid-row:2;box-sizing:border-box;font:400 12px/20px Inter,system-ui,sans-serif;height:28px;min-height:28px;padding:3px 0!important}
.unified-card :is(.focus-params,.focus-next) .fd-field>.fd-toggle.button{position:static;grid-column:2;grid-row:2;width:28px;min-width:28px;height:28px;min-height:28px;padding:6px;color:var(--card-link)}.unified-card :is(.focus-params,.focus-next) .fd-toggle svg{width:15px;height:15px;display:block}.unified-card :is(.focus-params,.focus-next) .fd-field>.fd-error{grid-column:1/-1}
.unified-card .focus-next .focus-module-body>.unified-field{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0}.unified-card .focus-next .unified-field>label{font-size:11px}.unified-card .focus-next .fd-field{grid-template-columns:minmax(0,1fr) 28px}.unified-card .focus-next .fd-field>label{grid-column:1/-1}
.unified-calculation-actions{display:flex;align-items:center;gap:12px;margin-top:8px}.unified-card .unified-calculation-actions>.button:not(.primary){border:0;background:transparent;color:var(--card-link);padding:2px 0}
.unified-card .focus-conditions :is(.selected-offer-summary,.price-source,.selected-offer>.hint,.form-grid>.hint){display:none}.unified-card .focus-conditions .form-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(55px,90px);gap:6px;align-items:center;margin:0;min-height:30px}.unified-card .focus-conditions .form-field>label{font:inherit}.unified-card .focus-conditions .form-field:has(input[name^=offer]){grid-template-columns:minmax(0,1fr) minmax(55px,90px) 9px}.unified-card .focus-conditions .form-field:has(input[name^=offer]):after{content:'₽';grid-column:3}.unified-card .focus-conditions input{box-sizing:border-box;font:inherit;min-width:0;height:28px;min-height:28px;padding:3px 0;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;box-shadow:none}.unified-card .focus-conditions input:focus{outline:none;border-bottom-color:var(--card-brand)}
.unified-bank-head,.unified-bank-row{display:grid;grid-template-columns:minmax(108px,1.1fr) minmax(110px,1.3fr) repeat(3,minmax(65px,.7fr));align-items:center;gap:10px}.unified-bank-head{font-size:11px;color:var(--card-muted);padding-bottom:6px}.unified-bank-row{padding:7px 0;border-top:1px solid #e8edf2;min-width:0}.unified-bank-row>*{min-width:0;overflow-wrap:anywhere}.unified-bank-name{display:flex;gap:6px;align-items:center;font:inherit}.unified-bank-row [data-label]{text-align:right;font-variant-numeric:tabular-nums}.unified-bank-row [data-label] input{text-align:right}.unified-bank-status-label{display:none}.unified-bank-state{min-width:0}.unified-bank-state .unified-status-pill{display:flex}.unified-bank-actions{display:flex;gap:8px;margin-top:8px}.unified-card .unified-bank-actions>.button{padding:2px 0;background:transparent;border:0;color:var(--card-link)}
.unified-status-pill{--status-bg:#eee8f8;--status-ink:#674aa1;--status-dot:#8763b5;position:relative;display:inline-flex;align-items:center;gap:7px;max-width:100%;min-width:0;padding:0 10px;border:0;border-radius:9px;background:var(--status-bg);color:var(--status-ink)}.unified-status-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--status-dot)}
.unified-card .unified-status-pill>.unified-status-select{appearance:none;-webkit-appearance:none;box-sizing:border-box;flex:1;min-width:0;max-width:100%;width:100%;height:32px;min-height:32px;padding:4px 20px 4px 0;background:none;border:0;box-shadow:none;border-radius:0;color:inherit;font:400 12px/20px Inter,system-ui,sans-serif;text-overflow:ellipsis}.unified-status-pill>svg{position:absolute;right:8px;width:13px;height:13px;pointer-events:none}.unified-card .unified-status-select:focus{outline:none;box-shadow:none;text-decoration:underline}.unified-status-pill:focus-within{filter:brightness(.97)}
.unified-card [data-tone=review]{--status-bg:#e4f1fb;--status-ink:#21658c;--status-dot:#4395c4}.unified-card [data-tone=arrange]{--status-bg:#fff2cc;--status-ink:#735b13;--status-dot:#bd9531}.unified-card [data-tone=issue]{--status-bg:#eaf5d5;--status-ink:#557425;--status-dot:#89ad45}.unified-card [data-tone=won]{--status-bg:#287d57;--status-ink:#fff;--status-dot:#c6ecd6}.unified-card [data-tone=lost]{--status-bg:#fae3e5;--status-ink:#9b3345;--status-dot:#c55c6b}.unified-card [data-tone=submitted]{--status-bg:#eef6fc;--status-ink:#316e94;--status-dot:#78afd0}.unified-card [data-tone=withdrawn]{--status-bg:#fcf3f4;--status-ink:#925b66;--status-dot:#cda4ad}.unified-card [data-tone=legacy]{--status-bg:#edf0f3;--status-ink:#5d6774;--status-dot:#929baa}
.unified-review-sides{display:flex;gap:6px;margin-bottom:6px}.unified-card .unified-review-sides .button{border:0;background:#fff;border-radius:9px}.unified-card .unified-review-sides .button[aria-pressed=true]{background:var(--card-brand);color:#fff}.unified-card .unified-review-sides .button:disabled{background:#e0e4eb;color:#7a8290;opacity:1}.unified-check-row{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:30px;font:inherit;border-bottom:1px solid #dce1ed}.unified-invoice{display:flex;align-items:center;justify-content:space-between;gap:6px;font:inherit;min-height:30px}.unified-invoice>span:last-child{white-space:nowrap}.unified-card .unified-invoice input{width:82px;text-align:right}
.unified-comparison{margin:0 0 12px;min-width:0}.unified-card .unified-comparison .focus-module{background:#fff;border:0;box-shadow:none}.unified-card .unified-comparison .deal-calculator{border:0;background:transparent;padding:0}.unified-card .unified-comparison .deal-calculator>summary{display:none}.unified-card .unified-comparison .calculation-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;max-height:480px;overflow:auto}.unified-card .unified-comparison .calculation-offer{border:0;box-shadow:none;background:#f2f5f9;border-radius:12px;padding:12px}.unified-card :is(.unified-comparison .calculation-price,.unified-offer-commission){font-size:20px;font-weight:400;line-height:26px}.unified-card :is(.unified-comparison .calculation-price,.unified-offer-commission)>small{display:block;font-size:11px;line-height:18px;color:var(--card-muted)}.unified-card .unified-comparison :is(.calculator-bank-options,.calculator-form>.form-grid,.calculator-form>.form-field,.calculator-context){display:none}.unified-stale{color:#825800;font-size:12px}.unified-comparison[data-stale=true] .calculation-offer{opacity:.7}
.unified-card .unified-legacy-banks :is(.bank-application-form,.bank-immutable,.bank-manual-note,.working-attempt-state,.bank-application-overview){display:none}.unified-card .unified-legacy-banks .bank-application-creator .bank-application-form{display:block}.unified-card .unified-legacy-banks .bank-application-creator :is(.form-grid,.scope-note,.hint,.form-field:has([name=notes]),.form-field:has([name=rejectionReason])){display:none}
.unified-card .card-popover{position:fixed;z-index:10003;box-sizing:border-box;max-width:calc(100vw - 24px);overflow:auto;background:#fff;color:var(--card-ink);padding:12px;border:0;border-radius:12px;box-shadow:0 6px 24px #19364d26;font:400 12px/18px Inter,system-ui,sans-serif}/* View follows the approved panel: heading, schemes, widths and visibility. */
.unified-card .focus-settings{display:block;margin:0;border:1px solid #dce5ee;max-width:calc(100vw - 40px);box-shadow:0 8px 24px #172d4315}
.unified-card .focus-settings-heading{position:sticky;top:-12px;z-index:1;display:flex;align-items:center;gap:8px;margin:-12px -12px 8px;padding:12px 12px 0;background:#fff}.unified-card .focus-settings-heading strong{font-weight:500}
.unified-card .focus-settings .button{font:inherit;min-height:28px;padding:5px 10px;border:1px solid #dce5ee;border-radius:7px;background:#fff;box-shadow:none}
.unified-card .focus-settings .button[aria-pressed=true]{background:var(--card-brand);color:#fff;border-color:var(--card-brand)}
.unified-card .focus-settings fieldset{display:block;min-width:0;border:0;padding:0;margin:10px 0}.unified-card .focus-settings legend{font:inherit;color:var(--card-muted);padding:0;margin-bottom:5px}
.unified-card .focus-settings .focus-schemes .button+.button{margin-left:6px}
.unified-card .focus-module-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.unified-card .focus-module-choice{min-width:0;padding:0;border:0;background:transparent;border-radius:0;font:inherit}.unified-card .focus-module-choice>label{display:inline-flex;gap:6px;align-items:center;font:inherit}
.unified-card .focus-settings input[type=checkbox]{appearance:auto;width:14px;min-height:14px;height:14px}
.unified-card .focus-settings .focus-settings-close{display:block;margin-left:auto;width:auto;height:20px;min-height:20px;padding:0 6px;border:0;border-radius:0;background:transparent;color:var(--card-muted);font:400 20px/20px Inter,system-ui,sans-serif}
.unified-card .focus-settings .focus-layout-reset{color:var(--card-link);border:0;padding:4px 0;background:transparent}.unified-card .focus-setting-status:empty{display:none}
.unified-card .unified-party-picker .form-field{margin:0 0 8px}.unified-party-picker :is(input,select){max-width:100%;font:inherit}.unified-card .unified-party-picker .button{font:inherit;min-height:28px}
@container(max-width:560px){.unified-card .unified-bank-head{display:none}.unified-card .unified-bank-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}.unified-card .unified-bank-name{grid-column:1/-1}.unified-card .unified-bank-state{display:grid;grid-template-columns:58px minmax(0,1fr);gap:6px;align-items:center;grid-column:1/-1}.unified-card .unified-bank-status-label{display:block;font-size:11px;color:var(--card-muted)}.unified-bank-state>input{grid-column:2}.unified-card .unified-bank-row [data-label]{text-align:left}.unified-bank-row [data-label]:before{content:attr(data-label);display:block;color:var(--card-muted);font-size:11px}.unified-bank-row [data-label] input{text-align:left}}
@container(min-width:420px){.unified-card .focus-params .focus-module-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.unified-card .focus-params :is(.unified-date-pair,.unified-calculation-actions){grid-column:1/-1}}
@media(max-width:900px){.unified-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.unified-card .unified-nav{flex-wrap:wrap;gap:8px 14px;padding:12px}.unified-nav-links{gap:20px}.unified-nav-links>.button:not([aria-current=page]){display:none}.unified-nav .global-search-host{flex-basis:100%;max-width:none;min-width:0}.unified-title-row{flex-wrap:wrap;gap:8px}.unified-card .unified-contract-title{max-width:calc(100% - 32px);min-width:0;text-overflow:ellipsis}.unified-header-tools{margin-left:auto}.unified-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.unified-card .unified-tags .button{max-width:160px}.unified-card .unified-comparison .calculation-offers{grid-template-columns:minmax(0,1fr);max-height:none;overflow:visible}.unified-card.product-workspace .project-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%}.unified-card.product-workspace .project-product-tab{min-width:0;padding:7px 9px}.unified-stage-bar{order:2;flex:1;min-width:0}.unified-stage-bar>.unified-status-pill{max-width:calc(100% - 34px);flex:1}.unified-card .project-product-add{order:3}}
@media(pointer:coarse){.unified-card .unified-field :is(input,select,textarea):not(.fd-canonical),.unified-card :is(.focus-params,.focus-next) .fd-field>.fd-display,.unified-card .mail-quick-compose :is(input,textarea){font-size:16px;min-height:44px}.unified-card .unified-field .fd-toggle.button{width:44px;height:44px}.unified-card .unified-status-pill>.unified-status-select{min-height:44px;height:44px}.unified-check-row{min-height:44px}.unified-card .unified-party-replace{min-width:32px;min-height:32px}}
/* Compact correspondence has one scroll owner and one body editor. */
.focus-mail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.focus-mail-tabs{display:flex;gap:12px}.unified-card .focus-mail-tabs .button{border:0;background:transparent;color:var(--card-muted);padding:0;min-height:24px}.unified-card .focus-mail-tabs .button[aria-selected=true]{color:var(--card-link);text-decoration:underline;text-underline-offset:5px}.unified-card .mail-refresh{width:24px;height:24px;min-height:24px;padding:4px;border:0;background:transparent;color:var(--card-link)}.mail-refresh svg{width:15px;height:15px}
.focus-mail-history{box-sizing:border-box;min-height:120px;max-height:min(70dvh,640px);overflow:auto;resize:vertical;padding:0 10px 12px 0;overscroll-behavior:contain}.unified-card .mail-conversation{display:block;margin:0;padding:0;border:0;background:transparent;max-height:none;overflow:visible}.mail-conversation>summary{display:none}.mail-conversation .mail-list{padding:0;overflow:visible}.unified-card .mail-conversation .mail-message{display:block;margin:0;padding:7px 0;border:0;border-bottom:1px solid #e8edf2;border-radius:0;background:transparent;max-width:100%;font:inherit}.mail-message>header{display:flex;gap:8px;align-items:baseline;justify-content:space-between;min-width:0}.unified-card .mail-message-select{padding:0;border:0;background:transparent;color:var(--card-ink);text-align:left;min-width:0;overflow-wrap:anywhere}.mail-message[data-selected=true] .mail-message-select{color:var(--card-link);text-decoration:underline;text-underline-offset:3px}.mail-message-meta{font-size:11px;color:var(--card-muted);flex:none}.mail-conversation .mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font:400 12px/18px Inter,system-ui,sans-serif}.mail-message-addresses{font-size:11px;overflow-wrap:anywhere;color:var(--card-muted);margin:4px 0}.mail-conversation .mail-message-details{font-size:11px;margin-top:5px}.mail-conversation .mail-actions{display:flex;flex-wrap:wrap;gap:6px}.mail-conversation .mail-relations{display:flex;flex-wrap:wrap;gap:5px}.unified-card .mail-conversation .mail-conversation-controls>.button{padding:0;border:0;background:transparent;color:var(--card-link);font-size:11px}.mail-reply-context{font-size:11px;line-height:16px;color:var(--card-muted);margin:5px 0 3px;overflow-wrap:anywhere}.mail-reply-context:empty{display:none}
.unified-card .mail-quick-compose{padding:0;border:0;background:transparent;margin:0;font:inherit}.unified-card .mail-quick-compose>textarea{box-sizing:border-box;display:block;width:100%;height:24px;min-height:24px;max-height:180px;border:0;border-bottom:1px solid #dce5ee;border-radius:0;box-shadow:none;resize:vertical;padding:2px 0;font:400 12px/18px Inter,system-ui,sans-serif;color:inherit;background:transparent;overflow:auto}.unified-card .mail-quick-compose>textarea:focus{outline:none;border-bottom-color:var(--card-brand)}.mail-quick-files{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:5px}.mail-quick-files>label{display:flex;align-items:center;gap:5px;font-size:11px;min-width:0;flex-wrap:wrap}.unified-card .mail-file-trigger{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--card-link);font:inherit}.mail-file-trigger svg{width:14px;height:14px;fill:currentColor}.mail-retained-file{overflow-wrap:anywhere}.mail-full-form{padding-top:8px;font:inherit}.mail-full-form>summary{font-size:11px;color:var(--card-link)}.mail-full-form[open]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.mail-full-form>summary{grid-column:1/-1}.mail-full-form>label{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:11px}.mail-full-form>label:has([aria-label=Тема]),.mail-full-form>div{grid-column:1/-1}.unified-card .mail-full-form :is(input,select){box-sizing:border-box;width:100%;min-width:0;font:400 12px/20px Inter,system-ui,sans-serif;min-height:28px;height:28px;padding:3px 0;border:0;border-bottom:1px solid #dce5ee;border-radius:0;box-shadow:none;background:transparent;color:inherit}.unified-card .mail-full-form :is(input,select):focus{outline:none;border-bottom-color:var(--card-brand)}
@media(max-width:620px){.focus-mail-history{max-height:60dvh}.mail-message>header{flex-wrap:wrap;gap:2px 8px}.mail-message-meta{font-size:11px}}
@media(pointer:coarse){.unified-card .mail-quick-compose :is(input,select,textarea){font-size:16px;min-height:44px}}

.unified-card.product-workspace .project-product-add{width:auto;flex:0 0 auto}.unified-card .project-product-add:not([open])>summary{font:400 12px/18px Inter,system-ui,sans-serif;padding:3px 0;min-height:26px}.unified-card.product-workspace .project-product-add[open]{flex-basis:100%;width:100%;order:3}


.unified-card .focus-settings button:focus-visible{outline:none;box-shadow:none;filter:brightness(.94);text-decoration:underline;text-underline-offset:3px}

/* Existing secondary notes/approved nominal use a partial command. Status/number have one visible owner. */
.unified-card .unified-legacy-banks .bank-card-body>form.bank-application-form{display:block}
.unified-card .unified-legacy-banks [data-bank-edit]>.form-grid,.unified-card .unified-legacy-banks [data-bank-edit]>.form-field:has([name=rejectionReason]),.unified-card .unified-legacy-banks .bank-manual-overview,.unified-card .unified-legacy-banks .bank-card-body>button{display:none}

.mail-full-form>.mail-new-message{grid-column:1/-1;justify-self:start}.mail-conversation-tools{font-size:11px;color:var(--card-link);margin-bottom:4px}.mail-conversation-tools>summary{cursor:pointer}

/* V2 history keeps original records and metadata, with one editor for current agreement/facts. */
.unified-card .unified-legacy-banks .project-review-form .form-field:has([name=status]){display:none}
.unified-card .unified-legacy-banks .project-review-form .form-field:has([name=changeRequest]){display:grid!important}
.unified-card .unified-legacy-banks .application-fact-card:not([data-fact-kind=sent_to_client]) :is(.application-fact-void-form:not([data-locked]),.application-fact-correct),.unified-card .unified-legacy-banks .application-fact-creator[data-focus-fact-editor]:not([data-focus-fact-editor=sent_to_client]):not([data-fact-recovery]) :is(h3,form,.button,.scope-note){display:none}

.unified-card .offer-preliminary-b2g{text-align:right;white-space:normal}.unified-finance-actions{margin-top:4px}
/* Financial explanations occupy their own row, outside the narrow ₽ column. */
.unified-card .focus-conditions .form-field:has(input[name^=offer]):after{grid-row:1}
.unified-card .focus-conditions .form-field>:is(.offer-price-error,.offer-recipient-reason){grid-column:1/-1;grid-row:2;min-width:0;max-width:100%;width:auto;margin:0 0 4px;white-space:normal;word-break:normal;overflow-wrap:break-word;font-size:12px;line-height:1.45}
.unified-card .focus-conditions .form-grid>.offer-kv-source{display:block;margin:1px 0 5px;font-size:11px;white-space:normal}
.unified-card .focus-conditions .form-grid>.offer-kv-source:empty{display:none}

/* CARD26: one calm picker for parties and the selected product's owner. */
.card26-picker{font:400 12px/18px Inter,system-ui,sans-serif;color:#172d43;overflow:auto;overscroll-behavior:contain;padding:16px;background:#fff;border-radius:12px}
.card26-picker-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:12px}.card26-picker h2{font-size:13px;font-weight:500;margin:0}
.card26-picker .button,.card26-picker button{font:inherit;border:0;background:transparent;box-shadow:none;color:inherit;min-height:26px;padding:3px 0}
.card26-picker .card26-close{width:24px;min-width:24px;min-height:24px;padding:4px}.card26-picker svg{width:16px;height:16px}
.card26-picker input[type=search]{box-sizing:border-box;width:100%;min-width:0;font:inherit;min-height:32px;padding:5px 0;margin-bottom:8px;border:0;border-bottom:1px solid #dce5ee;background:transparent;border-radius:0;box-shadow:none}
.card26-picker-context{font-size:11px;color:#64758a;white-space:normal;overflow-wrap:anywhere;margin:0 0 8px}
.card26-picker-results{max-height:38dvh;overflow:auto;min-height:24px}.card26-picker .card26-picker-option{display:flex;flex-wrap:wrap;align-items:start;gap:2px 8px;width:100%;padding:8px;text-align:left;white-space:normal;overflow-wrap:anywhere;border-radius:6px}
.card26-picker-option>span:first-child{flex:1 1 100%}.card26-picker-option small{font-size:11px;line-height:16px;color:#64758a;min-width:0;overflow-wrap:anywhere}.card26-current{font-size:10px;color:#006fae;margin-left:auto}
.card26-picker .card26-picker-option:is(:hover,[aria-selected=true]){background:#e8f4fc}.card26-picker-actions{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-top:10px}.card26-picker-actions button{color:#006fae}.card26-picker-actions button:last-child{margin-left:auto}
.card26-picker-status{font-size:11px;line-height:16px;color:#a1394e;white-space:normal;overflow-wrap:anywhere;margin:5px 0}.card26-picker-status:empty{display:none}.card26-picker-empty{color:#64758a;margin:8px}
.card26-picker :is(input,button):focus-visible,.card26-edit:focus-visible{outline:none;filter:brightness(.9);text-decoration:underline;text-underline-offset:4px}
.unified-card .unified-people select[hidden]{display:none!important}.unified-card .card26-owner-name{font:inherit;line-height:18px;padding:0 24px 0 0;background:transparent;border:0;box-shadow:none;text-align:left;white-space:normal;overflow-wrap:anywhere;color:inherit;min-height:24px;max-width:100%}
.project-parties .card26-edit{display:inline-flex;align-items:center;justify-content:center;min-width:24px;width:24px;min-height:24px;height:24px;padding:4px;background:transparent;border:0;box-shadow:none;color:#006fae}.card26-edit svg{width:16px;height:16px}
.unified-card .unified-tags{max-width:100%}.unified-card .unified-contract-title{display:block;box-sizing:border-box;flex:none}

/* AP-UI26: the original product buttons and canonical stage control stay intact. */
.unified-card.product-workspace .project-product-add,.unified-card.product-workspace .project-product-add[open]{display:contents}
.unified-card .project-product-add>.product-create-opener{list-style:none;cursor:pointer;order:3;font:400 12px/18px Inter,system-ui,sans-serif;padding:4px 0;color:var(--card-brand)}
.unified-card .project-product-add>.product-create-opener::-webkit-details-marker{display:none}
.unified-card .project-product-add:not([open])>.product-create-row{display:none}
.unified-card .product-create-row{flex:0 0 100%;order:4;min-width:0}
.unified-card .product-create-panel{box-sizing:border-box;width:100%;max-width:520px;background:#fff;padding:20px;border:0;border-radius:12px;box-shadow:none;font:400 12px/18px Inter,system-ui,sans-serif}
.unified-card .product-create-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.unified-card .product-create-heading h3{font:500 15px/21px Inter,system-ui,sans-serif;margin:0}
.unified-card .product-create-close{background:none;border:0;padding:0 2px;font:300 24px/24px Inter,system-ui,sans-serif;box-shadow:none;color:var(--card-muted)}
.unified-card .project-product-form{display:flex;flex-direction:column;gap:6px;margin:0}
.unified-card .product-kind-choices{display:flex;flex-wrap:wrap;gap:8px 20px}
.unified-card .product-kind-choice{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 0 7px;font:inherit;box-shadow:none;color:var(--card-ink)}
.unified-card .product-kind-choice[aria-checked=true]{border-bottom-color:#049FE5;color:#049FE5}
.unified-card .product-size-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:9px 0}
.unified-card .product-size-row input{min-width:0;width:100%;border:0;border-bottom:1px solid transparent;background:transparent;border-radius:0;padding:6px 0;font:inherit}
.unified-card .product-size-row input:focus{outline:none;border-bottom-color:#049FE5}
.unified-card .product-create-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;margin-top:10px}
.unified-card .product-create-submit{background:#049FE5;border:0;border-radius:7px;box-shadow:none;color:#fff;font:400 12px/18px Inter,system-ui,sans-serif;padding:9px 14px}
.unified-card .product-create-panel .field-error:empty{display:none}
.next-action-notifications{position:fixed;right:16px;bottom:16px;z-index:125;display:grid;gap:8px;width:min(390px,calc(100vw - 32px))}
.next-action-notifications .next-action-notice{position:relative;left:auto;bottom:auto;transform:none;max-width:100%;padding:14px 34px 14px 16px;font:400 12px/18px Inter,system-ui,sans-serif}
.next-action-notice strong{font-weight:500}.next-action-notice .next-action-close{position:absolute;top:5px;right:5px;padding:4px;font-size:20px}

.unified-card .project-product-add>.product-create-row{margin:0}.unified-card .project-product-form{padding:0}

/* public/calculator-workspace.css */
/* Exact calculator v3 geometry inside the existing card. */
.unified-card.calculator-comparison-active .focus-grid{display:none}
.unified-card .calc-workspace{margin:0 0 12px;min-width:0;font:inherit;color:var(--card-ink)}
.unified-card .calc-workspace[hidden],.unified-card .calc-workspace [hidden]{display:none!important}
.unified-card .calc-workspace-heading,.unified-card .calc-workspace-heading-main{display:flex;align-items:center;gap:12px;min-width:0}
.unified-card .calc-workspace-heading{justify-content:space-between;margin:4px 0 12px}.unified-card .calc-workspace-heading-main{flex-wrap:wrap}
.unified-card .calc-workspace-heading h2{font:500 13px/18px Inter,system-ui,sans-serif;margin:0}
.unified-card .calc-workspace-product{font-size:11px;color:var(--card-muted);padding-left:12px;border-left:1px solid #dce5ee}
.unified-card :is(.calc-workspace,.calc-passport,.calc-source-dialog) .button{font:inherit;box-shadow:none}
.unified-card :is(.calc-link,.calc-program-link,.calc-back,.calc-sort,.calc-filter,.calc-detail-tab,.calc-bank-preview).button{border:0;background:transparent;box-shadow:none;border-radius:0;color:var(--card-link);padding:0}
.unified-card .calc-back{font-size:11px}.unified-card .calc-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 290px;gap:12px;align-items:start}
.unified-card :is(.calc-parameter-dock,.calc-detail-slot){min-width:0;position:static}.unified-card :is(.calc-parameter-dock,.calc-detail-slot).calc-fits{position:sticky;top:12px}
.unified-card .calc-parameter-dock .focus-module{width:100%;box-sizing:border-box}.unified-card .calc-parameter-dock .focus-grip{display:none}
.unified-card .calc-parameter-dock .focus-params .focus-module-body{display:block}
.unified-card .calc-parameter-dock .focus-params .focus-module-body>.form-grid{display:none}
.unified-card .calc-parameter-dock .focus-params .focus-module-body>.unified-field{display:grid;grid-template-columns:1fr;gap:0;min-height:45px}
.unified-card .calc-parameter-dock .unified-field>label,.unified-card .calc-parameter-dock .unified-field>span:first-child{font-size:11px}
.unified-card .calc-parameter-dock .unified-date-pair{gap:8px}.unified-card .calc-parameter-dock .unified-calculation-actions>.primary{width:100%}
.unified-card .calc-results{min-width:0;padding:12px;border-radius:12px;background:#fff}
.unified-card .calc-results-toolbar{display:flex;align-items:flex-start;gap:12px;margin-bottom:8px}
.unified-card .calc-history-picker{display:grid;gap:0;flex:1;max-width:330px;font-size:11px;color:var(--card-muted)}
.unified-card .calc-history-picker select{width:100%;min-width:0;min-height:28px;font:inherit;font-size:12px;color:var(--card-ink);border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;padding:2px 0;box-shadow:none}
.unified-card .calc-notices{display:grid;gap:5px;padding:7px 0;font-size:11px;color:var(--card-muted)}.unified-card .calc-notices:empty{display:none}.unified-card .calc-notices p{margin:0}.unified-card .calc-notices .primary{justify-self:start;margin:4px 0}
.unified-card .calc-warning{color:#825f2c}.unified-card .calc-error{color:#a1394e;overflow-wrap:anywhere}
.unified-card .calc-offer-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:5px 0 8px}
.unified-card .calc-filter-tabs{display:flex;gap:12px;flex-wrap:wrap}
.unified-card .calc-filter.button{padding:4px 0;font-size:11px;color:var(--card-muted);border-bottom:2px solid transparent;min-height:28px}
.unified-card .calc-filter[aria-pressed=true]{color:var(--card-link);border-bottom-color:var(--card-brand)}.unified-card .calc-filter>span{color:var(--card-muted);margin-left:2px}
.unified-card .calc-bank-search{margin-left:auto;max-width:160px;flex:1 1 100px}
.unified-card .calc-bank-search input{box-sizing:border-box;width:100%;min-width:0;min-height:28px;font:inherit;font-size:11px;border:0;border-bottom:1px solid #dce5ee;border-radius:0;background:transparent;box-shadow:none;padding:3px 0}
.unified-card :is(.calc-bank-search input,.calc-history-picker select):focus{outline:none;border-bottom-color:var(--card-brand)}
.unified-card .calc-offer-table{width:100%;min-width:0;max-width:100%;box-sizing:border-box;table-layout:fixed;border-collapse:separate;border-spacing:0}
.unified-card .calc-offer-table th{box-sizing:border-box;position:sticky;top:0;z-index:3;background:#fff;vertical-align:bottom;text-align:left;padding:7px 6px;border:0;border-bottom:1px solid #dce5ee;font:400 11px/15px Inter,system-ui,sans-serif;color:var(--card-muted)}
.unified-card .calc-offer-table th:nth-child(1){width:35%}.unified-card .calc-offer-table th:nth-child(2){width:20%}.unified-card .calc-offer-table th:nth-child(3){width:17%}.unified-card .calc-offer-table th:nth-child(4){width:11%}.unified-card .calc-offer-table th:nth-child(5){width:17%}
.unified-card .calc-sort.button{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;min-height:30px;text-align:right;white-space:normal;line-height:15px;color:var(--card-muted);font-size:11px}.unified-card .calc-sort-arrow{font-size:12px;flex:none}
.unified-card .calc-offer-table th[aria-sort=ascending] .calc-sort,.unified-card .calc-offer-table th[aria-sort=descending] .calc-sort,.unified-card .calc-sort:hover{color:var(--card-link)}
.unified-card .calc-offer-row td{padding:9px 6px;border:0;border-bottom:1px solid #e8edf2;vertical-align:middle;overflow-wrap:anywhere;line-height:18px}
.unified-card .calc-number{white-space:normal;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:normal}
.unified-card .calc-offer-row:hover td{background:#f6fafc}.unified-card .calc-offer-row[data-active=true] td{background:#e8f4fc}
.unified-card .calc-bank-preview.button{display:grid;justify-content:start;justify-items:start;gap:0;width:100%;min-height:20px;text-align:left;color:var(--card-ink)}
.unified-card .calc-bank-cell-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 7px;font-size:12px}
.unified-card .calc-status-inline{font-size:11px;line-height:15px;color:var(--card-muted)}.unified-card .calc-chosen-label{font-size:11px;color:var(--card-link)}
.unified-card .calc-program-link.button{display:inline-block;width:auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:22px;text-align:left;font-size:11px;line-height:16px}.unified-card .calc-program-link:hover{text-decoration:underline}
.unified-card .calc-row-count{font-size:11px;color:var(--card-muted);margin:10px 0 0}.unified-card .calc-empty{padding:28px 10px;text-align:center;color:var(--card-muted)}
.unified-card .calc-empty strong{font-size:13px;font-weight:500;color:var(--card-ink)}.unified-card .calc-empty p{margin:5px 0 0}
.unified-card .calc-offer-detail{padding:12px;border-radius:12px;background:#fff;min-width:0}
.unified-card .calc-detail-heading{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:8px}
.unified-card .calc-detail-heading h3{font:500 13px/18px Inter,system-ui,sans-serif;margin:0}.unified-card .calc-detail-heading .calc-program-link{display:block;margin-top:2px}
.unified-card .calc-status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a5bac6;flex:none}.unified-card .calc-status-dot.estimate{background:#3c9873}.unified-card .calc-status-dot.review{background:#a98acb}
.unified-card .calc-detail-status{font-size:11px;color:var(--card-muted);margin-bottom:10px}
.unified-card .calc-detail-price-block{background:#eaf5ef;border-radius:10px;padding:10px;margin:10px 0}
.unified-card .calc-detail-money{display:flex;justify-content:space-between;gap:7px;align-items:baseline;padding:4px 0}
.unified-card .calc-detail-money>span{max-width:180px;font-size:11px;color:var(--card-muted)}
.unified-card .calc-detail-money strong{font:400 20px/26px Inter,system-ui,sans-serif;white-space:normal;letter-spacing:-.4px;font-variant-numeric:tabular-nums;min-width:0;text-align:right}
.unified-card .calc-detail-money.calc-secondary-money strong{font-size:14px;line-height:22px;letter-spacing:0}
.unified-card .calc-detail-tabs{display:flex;gap:12px;margin-top:12px;border-bottom:1px solid #dce5ee}
.unified-card .calc-detail-tab.button{padding:6px 0;font-size:11px;color:var(--card-muted);border-bottom:2px solid transparent;min-height:28px}.unified-card .calc-detail-tab[aria-selected=true]{color:var(--card-link);border-bottom-color:var(--card-brand)}
.unified-card .calc-detail-pane{padding:10px 0}.unified-card .calc-condition-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid #edf1f5;padding:6px 0;font-size:11px}
.unified-card .calc-condition-line>span{color:var(--card-muted)}.unified-card .calc-condition-line>.calc-program-link{text-align:right;max-width:65%}
.unified-card :is(.calc-detail-small,.calc-detail-reasons,.calc-readiness){font-size:11px;line-height:16px;color:var(--card-muted)}.unified-card .calc-readiness{padding:0 0 8px;color:#6e5a8d;margin:0}
.unified-card .calc-requirement{border-top:1px solid #dce5ee;padding:8px 0}.unified-card .calc-requirement>div{display:flex;justify-content:space-between;gap:6px;font-size:11px}.unified-card .calc-requirement>div>span:last-child{text-align:right;color:var(--card-muted)}.unified-card .calc-requirement p{font-size:11px;color:var(--card-muted);margin:3px 0}
.unified-card .calc-detail-actions{border-top:1px solid #dce5ee;padding-top:10px;display:grid;gap:7px;margin-bottom:10px}
.unified-card .calc-detail-actions>.calc-choose{width:100%;background:var(--card-brand);color:#fff;border:0;border-radius:8px;min-height:32px;font:inherit}.unified-card .calc-detail-actions>.calc-link{justify-self:start;font-size:11px}
.unified-card .calc-detail-inline>td{padding:8px 0 10px;border:0;border-bottom:1px solid #dce5ee;background:#f2f5f9}.unified-card .calc-detail-inline .calc-offer-detail{border-radius:0;padding:12px}
.unified-card .calc-detail-inline .calc-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.unified-card :is(.calc-passport,.calc-source-dialog){color:var(--card-ink);font:400 12px/18px Inter,system-ui,sans-serif;border:0;background:#fff;box-shadow:0 10px 50px #172d4330}
.unified-card .calc-passport{position:fixed;inset:0 0 0 auto;margin:0;width:560px;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;padding:0;background:#f2f5f9;overflow-y:auto;box-sizing:border-box}
.unified-card .calc-passport>header{position:sticky;top:0;z-index:1;margin:0;padding:12px 16px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}
.unified-card :is(.calc-passport,.calc-source-dialog)>header h2{font:500 13px/18px Inter,system-ui,sans-serif;margin:0}
.unified-card .calc-dialog-close.button{border:0;box-shadow:none;background:transparent;color:var(--card-muted);font-size:22px;width:30px;min-height:30px;padding:0}
.unified-card .calc-dialog-content{padding:16px;display:grid;gap:12px;min-width:0}
.unified-card .calc-passport-intro h3{font-size:13px;margin:0}.unified-card .calc-passport-intro p{margin:3px 0}
.unified-card .calc-passport-module{padding:12px;border-radius:12px;min-width:0}.unified-card .calc-passport-module>h3{font-size:13px;margin:0 0 6px}
.unified-card .calc-passport-conditions{background:#eaf5ef}.unified-card .calc-passport-parameters{background:#e8f4fc}
.unified-card .calc-raw-node{padding:5px 0;min-width:0}.unified-card .calc-raw-node>.calc-raw-node,.unified-card .calc-raw-node>.calc-raw-value{margin-left:12px}.unified-card .calc-raw-node summary{cursor:pointer;overflow-wrap:anywhere}
.unified-card .calc-raw-value{padding:5px 0;min-width:0}.unified-card .calc-raw-value>strong{font-weight:500}.unified-card .calc-raw-value pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0}
.unified-card .calc-source-dialog{width:440px;max-width:calc(100vw - 24px);border-radius:12px;padding:16px}.unified-card .calc-source-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.unified-card .calc-source-dialog .calc-dialog-content{padding:12px 0 0}.unified-card .calc-source-fields{display:grid;grid-template-columns:40% minmax(0,1fr);gap:10px;margin:0;font-size:11px}.unified-card .calc-source-fields dt{color:var(--card-muted)}.unified-card .calc-source-fields dd{margin:0;overflow-wrap:anywhere}
.unified-card :is(.calc-passport,.calc-source-dialog)::backdrop{background:#172d4340}
@media(max-width:1239px){.unified-card .calc-layout{grid-template-columns:230px minmax(0,1fr)}.unified-card .calc-detail-slot{display:none}.unified-card .calc-detail-inline .calc-detail-price-block{max-width:340px}.unified-card .calc-results-toolbar{gap:6px}}
@media(max-width:940px){
.unified-card .calc-layout{grid-template-columns:minmax(0,1fr)}.unified-card .calc-parameter-dock.calc-fits{position:static}
.unified-card .calc-parameter-dock .focus-params .focus-module-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 14px}
.unified-card .calc-parameter-dock .focus-params .focus-module-body>.unified-field{min-height:40px}.unified-card .calc-parameter-dock .unified-date-pair{grid-column:span 2;margin:0}.unified-card .calc-parameter-dock .unified-calculation-actions{margin:0}.unified-card .calc-workspace-heading{align-items:flex-start}
}
@media(max-width:620px){
.unified-card .calc-workspace-heading{display:block}.unified-card .calc-workspace-heading-main{gap:6px 10px}.unified-card .calc-workspace-heading h2{flex-basis:100%;order:2}.unified-card .calc-workspace-product{padding:0;border:0;flex:1;text-align:right}.unified-card .calc-workspace-heading>button{margin-top:4px;font-size:11px}
.unified-card .calc-parameter-dock .focus-params .focus-module-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.unified-card .calc-parameter-dock .unified-date-pair{grid-column:1/-1}.unified-card .calc-parameter-dock .unified-calculation-actions{grid-column:1/-1;margin-top:6px}
.unified-card .calc-results{padding:12px 10px}.unified-card .calc-results-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.unified-card .calc-history-picker{display:flex;align-items:center;gap:8px;max-width:none}.unified-card .calc-history-picker select{flex:1}
.unified-card .calc-offer-filter{display:block}.unified-card .calc-filter-tabs{gap:6px 12px}.unified-card .calc-bank-search{display:block;max-width:none;margin-top:7px}
.unified-card .calc-offer-table,.unified-card .calc-offer-table tbody{display:block}.unified-card .calc-offer-table thead{display:block;position:sticky;top:0;z-index:4;background:#fff}
.unified-card .calc-offer-table thead tr{display:flex;flex-wrap:wrap;gap:2px 12px;padding:7px 0;border-bottom:1px solid #dce5ee}.unified-card .calc-offer-table th:first-child{display:none}.unified-card .calc-offer-table th.calc-number{position:static;display:block;width:auto!important;padding:0;border:0;background:transparent}
.unified-card .calc-sort.button{min-height:32px;width:auto;font-size:11px;text-align:left;justify-content:flex-start}.unified-card .calc-sort>span:first-child{max-width:110px}
.unified-card .calc-offer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid #dce5ee;padding:8px 7px;margin:0 -4px;gap:3px 10px}.unified-card .calc-offer-row td{display:block;border:0;padding:0}.unified-card .calc-offer-row td:first-child{grid-column:1/-1}.unified-card .calc-offer-row .calc-number{text-align:left}
.unified-card .calc-offer-row .calc-number:before{content:attr(data-label);display:block;font-size:11px;line-height:16px;color:var(--card-muted);white-space:normal}
.unified-card .calc-bank-preview.button{min-height:24px}.unified-card .calc-offer-row .calc-program-link{min-height:30px;padding:3px 0}
.unified-card .calc-offer-row[data-active=true]{background:#e8f4fc;border-radius:7px 7px 0 0}.unified-card .calc-offer-row:hover td,.unified-card .calc-offer-row[data-active=true] td{background:transparent}
.unified-card .calc-detail-inline{display:block;margin:0 -4px 6px}.unified-card .calc-detail-inline>td{display:block;padding:0;border:1px solid #cfe4f1;border-top:0;border-radius:0 0 7px 7px}.unified-card .calc-detail-inline .calc-offer-detail{padding:12px 10px;background:#f8fcff;border-radius:0 0 7px 7px}
.unified-card .calc-detail-inline .calc-detail-columns{display:block}.unified-card .calc-detail-inline .calc-detail-heading{display:none}.unified-card .calc-detail-inline .calc-detail-actions{margin-top:4px}.unified-card .calc-passport{width:100%}.unified-card .calc-passport .calc-dialog-content{padding:12px}
}
@media(pointer:coarse){.unified-card .calc-workspace :is(input,select){font-size:16px;min-height:44px}.unified-card .calc-offer-row button{min-height:44px}.unified-card :is(.calc-filter,.calc-detail-tab).button{min-height:36px}.unified-card .calc-choose{min-height:40px}}

.calc-bank-choice{display:flex;align-items:flex-start;gap:8px}.calc-offer-checkbox{flex:0 0 auto;margin-top:5px;accent-color:#049fe5}.calc-bank-choice .calc-bank-preview{flex:1;min-width:0}
.calc-offer-check{display:flex;align-items:center;justify-content:center;flex:0 0 28px;min-height:28px;cursor:pointer}.calc-offer-check .calc-offer-checkbox{margin:0}

.calc-excess-editor{width:88px;max-width:100%;border:0;border-bottom:1px solid transparent;background:transparent;color:inherit;font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;text-align:right;padding:2px 0}.calc-excess-editor:focus{outline:0;border-bottom-color:#049FE5;background:#ffffff66}.calc-rate-value{display:flex;flex-direction:column;align-items:flex-end;max-width:190px}.calc-rate-origin{font-size:10px;font-weight:400;line-height:1.4;color:#526c63}.calc-rate-error{font-size:11px;line-height:1.4;color:#a93434}.offer-price-error{font-size:12px;color:#a93434}.offer-price-error:empty,.offer-recipient-reason:empty{display:none}

/* The platform filters exact passport offers; financial identities stay separate. */
.unified-card .calc-platform-filter{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--card-muted);min-width:0}.unified-card .calc-platform-filter select{font:inherit;color:var(--card-ink);background:transparent;border:0;border-bottom:1px solid #dce5ee;border-radius:0;min-height:28px;max-width:230px;min-width:0;padding:3px 0}.unified-card .calc-platform{font-size:10px;font-weight:400;color:var(--card-muted);white-space:normal;overflow-wrap:anywhere;line-height:1.4}.unified-card .calc-bank-cell-heading{flex-wrap:wrap}.unified-card .calc-platform-filter select:focus{outline:none;border-bottom-color:var(--card-brand)}

/* public/contact-card.css */
/* Scoped styles from the approved contact reference; final overrides retained. */

    #b2g-client-concept{--cc-bg:#f2f5f9;--cc-surface:#fff;--cc-ink:#172d43;--cc-muted:#53657b;--cc-brand:#049FE5;--cc-link:#006fae;--cc-blue:#e8f4fc;--cc-green:#eaf5ef;--cc-warm:#fff1d9;--cc-line:#dce5ee;--cc-tag:#edf0f3;--cc-error:#9b3345;--cc-company-action-width:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px;line-height:18px;font-weight:400;color:var(--cc-ink);background:var(--cc-bg);color-scheme:light;width:100%;min-width:0}
    #b2g-client-concept *{box-sizing:border-box;min-width:0}
    #b2g-client-concept [hidden]{display:none!important}
    #b2g-client-concept :is(button,input,select,textarea){font:inherit;color:inherit}
    #b2g-client-concept :is(button,summary){-webkit-tap-highlight-color:transparent}
    #b2g-client-concept button{background:transparent;border:0;padding:0;font-weight:400}
    #b2g-client-concept :is(button,summary,a):focus-visible{outline:none;text-decoration:underline;text-underline-offset:4px}
    #b2g-client-concept :is(input,select,textarea){background:transparent;border:0;border-bottom:1px solid transparent;border-radius:0;padding:3px 0;width:100%;outline:none;box-shadow:none;font-size:12px;font-weight:400;line-height:20px;min-height:28px}
    #b2g-client-concept :is(input,textarea,select):hover{border-bottom-color:#a5b5c5}
    #b2g-client-concept :is(input,textarea,select):focus-visible{border-bottom-color:var(--cc-link)}
    #b2g-client-concept input::placeholder,#b2g-client-concept textarea::placeholder{color:#738297;opacity:1}
    #b2g-client-concept input:is([type=checkbox],[type=radio]){appearance:auto;width:15px;height:15px;min-height:0;margin:0;padding:0;accent-color:var(--cc-brand);flex:none}
    #b2g-client-concept input[type=number]{appearance:textfield}
    #b2g-client-concept input::-webkit-inner-spin-button,#b2g-client-concept input::-webkit-outer-spin-button{appearance:none;margin:0}
    #b2g-client-concept :is(h1,h2,h3,p){margin:0}
    #b2g-client-concept a{color:var(--cc-link);text-decoration:none}
    #b2g-client-concept svg{width:15px;height:15px;stroke-width:1.6;flex:none}
    #b2g-client-concept .cc-chrome{display:flex;align-items:center;gap:28px;background:var(--cc-surface);padding:10px 16px;min-height:52px}
    #b2g-client-concept .cc-logo{width:94px;height:32px;object-fit:contain;flex:none}
    #b2g-client-concept .cc-nav{display:flex;align-items:center;gap:20px;color:var(--cc-muted)}
    #b2g-client-concept .cc-nav [aria-current]{color:var(--cc-ink)}
    #b2g-client-concept .cc-search{position:relative;margin-left:auto;width:210px;max-width:28%}
    #b2g-client-concept .cc-search>label{display:flex;align-items:center;gap:7px;color:var(--cc-muted);border-bottom:1px solid var(--cc-line)}
    #b2g-client-concept .cc-search input{min-height:26px}
    #b2g-client-concept .cc-search-results{position:absolute;right:0;top:33px;width:270px;max-width:80vw;padding:6px;background:var(--cc-surface);z-index:6;border-radius:9px;box-shadow:0 8px 25px #172d4314}
    #b2g-client-concept .cc-search-results button{display:block;text-align:left;padding:8px;width:100%;border-radius:6px}
    #b2g-client-concept .cc-search-results button:hover{background:var(--cc-bg)}
    #b2g-client-concept .cc-preview{font-size:11px;color:var(--cc-muted);white-space:nowrap}
    #b2g-client-concept .cc-page{padding:18px 16px 16px}
    #b2g-client-concept .cc-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
    #b2g-client-concept .cc-identity{flex:1 1 320px;min-width:200px}
    #b2g-client-concept .cc-overline{font-size:11px;color:var(--cc-muted);margin-bottom:3px}
    #b2g-client-concept h1{line-height:28px}
    #b2g-client-concept h1 input{font-size:20px;font-weight:500;line-height:28px;height:34px;padding:0;max-width:540px}
    #b2g-client-concept .cc-type{display:flex;gap:5px;align-items:center}
    #b2g-client-concept .cc-type button{padding:5px 11px;background:#e4eaf1;color:var(--cc-muted);border-radius:9px;min-height:30px}
    #b2g-client-concept .cc-type button[aria-pressed=true]{background:var(--cc-brand);color:#fff}
    #b2g-client-concept .cc-save{background:var(--cc-brand);color:#fff;padding:6px 11px;border-radius:8px;min-height:30px;white-space:nowrap}
    #b2g-client-concept .cc-contact-lines{display:flex;flex-direction:column;gap:0;max-width:370px;margin:3px 0 16px}
    #b2g-client-concept .cc-contact-lines label{display:flex;align-items:center;gap:7px;color:var(--cc-muted)}
    #b2g-client-concept .cc-contact-lines input{color:var(--cc-ink);min-height:24px;padding:1px 0}
    #b2g-client-concept .cc-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:12px;align-items:start}
    #b2g-client-concept .cc-column{display:flex;flex-direction:column;gap:12px}
    #b2g-client-concept .cc-module{background:var(--cc-surface);padding:12px;border-radius:12px;border:0;box-shadow:none;min-width:0}
    #b2g-client-concept .cc-module-header{display:flex;align-items:center;gap:8px;margin-bottom:9px}
    #b2g-client-concept .cc-module-header h2{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;line-height:18px}
    #b2g-client-concept .cc-module-header>.cc-link{margin-left:auto}
    #b2g-client-concept .cc-count{font-size:11px;color:var(--cc-muted);margin-left:1px}
    #b2g-client-concept .cc-link{color:var(--cc-link);display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px}
    #b2g-client-concept .cc-icon-button{display:inline-flex;align-items:center;justify-content:center;width:26px;min-height:28px;color:var(--cc-muted);flex:none}
    #b2g-client-concept .cc-company-head{display:grid;grid-template-columns:minmax(0,1fr) 120px 78px var(--cc-company-action-width);gap:10px;color:var(--cc-muted);font-size:11px;padding:0 0 4px}
    #b2g-client-concept .cc-company{display:grid;grid-template-columns:minmax(0,1fr) 120px 78px var(--cc-company-action-width);gap:10px;align-items:center;padding:9px 0;border-top:1px solid #e8edf2}
    #b2g-client-concept .cc-company-name{display:flex;align-items:center;gap:4px;max-width:100%;text-align:left;color:var(--cc-link);overflow-wrap:anywhere}
    #b2g-client-concept .cc-company-name svg{width:12px;height:12px}
    #b2g-client-concept .cc-company-inn{font-size:11px;color:var(--cc-muted);margin-top:2px}
    #b2g-client-concept .cc-company input{font-size:12px;width:100%}
    #b2g-client-concept .cc-company .cc-project-action{font-size:12px;display:flex;align-items:center;gap:3px;color:var(--cc-link);white-space:nowrap}
    #b2g-client-concept .cc-company.cc-archived{color:var(--cc-muted)}
    #b2g-client-concept .cc-empty{color:var(--cc-muted);padding:8px 0}
    #b2g-client-concept .cc-disclosure{margin-top:9px;font-size:12px}
    #b2g-client-concept .cc-disclosure summary{list-style:none;display:flex;align-items:center;gap:5px;color:var(--cc-link);width:fit-content;padding:2px 0}
    #b2g-client-concept .cc-disclosure summary::-webkit-details-marker{display:none}
    #b2g-client-concept .cc-disclosure summary svg{width:13px;height:13px;transition:transform .12s}
    #b2g-client-concept .cc-disclosure[open]>summary svg:first-child{transform:rotate(90deg)}
    #b2g-client-concept .cc-disclosure-body{padding-top:7px}
    #b2g-client-concept .cc-profile{background:var(--cc-blue)}
    #b2g-client-concept .cc-field{display:grid;grid-template-columns:103px minmax(0,1fr);gap:8px;align-items:center;min-height:30px}
    #b2g-client-concept .cc-field>span:first-child{color:var(--cc-muted)}
    #b2g-client-concept .cc-profile .cc-field select{width:100%}
    #b2g-client-concept .cc-finance{background:var(--cc-green)}
    #b2g-client-concept .cc-commission-row{display:grid;grid-template-columns:65px minmax(0,1fr) 55px;gap:7px;align-items:center;min-height:30px}
    #b2g-client-concept .cc-commission-row>span{color:var(--cc-muted)}
    #b2g-client-concept .cc-percentage{display:flex;gap:3px;align-items:center;justify-content:flex-end}
    #b2g-client-concept .cc-percentage input{width:35px;text-align:right}
    #b2g-client-concept .cc-agents-row{display:flex;align-items:flex-start;gap:10px;margin-top:8px}
    #b2g-client-concept .cc-agents-row>span{color:var(--cc-muted);min-width:55px;line-height:26px}
    #b2g-client-concept .cc-agent-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;flex:1}
    #b2g-client-concept .cc-agent-chip{display:inline-flex;align-items:center;gap:4px;background:#dce9e2;color:#4e6259;border-radius:5px;font-size:11px;padding:2px 6px;min-height:23px}
    #b2g-client-concept .cc-agent-chip button{width:15px;min-height:18px;display:grid;place-items:center;color:inherit}
    #b2g-client-concept .cc-agent-chip svg{width:11px;height:11px}
    #b2g-client-concept .cc-agent-picker{position:relative}
    #b2g-client-concept .cc-agent-picker>summary{display:flex;align-items:center;justify-content:center;list-style:none;color:var(--cc-link);min-width:24px;min-height:24px}
    #b2g-client-concept .cc-agent-picker>summary::-webkit-details-marker{display:none}
    #b2g-client-concept .cc-agent-options{position:absolute;right:0;top:29px;z-index:5;background:var(--cc-surface);padding:10px;width:256px;max-width:75vw;border-radius:10px;box-shadow:0 7px 22px #172d4314}
    #b2g-client-concept .cc-agent-options>input{border-bottom-color:var(--cc-line);margin-bottom:5px}
    #b2g-client-concept .cc-agent-option{display:flex;align-items:center;gap:8px;padding:6px 0}
    #b2g-client-concept .cc-agent-option span{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
    #b2g-client-concept .cc-agent-option small{font-size:11px;color:var(--cc-muted)}
    #b2g-client-concept .cc-requisites{padding-top:7px;margin-top:10px;border-top:1px solid #d6e4dc}
    #b2g-client-concept .cc-requisites .cc-field{grid-template-columns:73px minmax(0,1fr)}
    #b2g-client-concept .cc-note{background:var(--cc-warm)}
    #b2g-client-concept .cc-note textarea{display:block;width:100%;resize:vertical;min-height:40px;height:40px;max-height:160px;line-height:18px;padding:1px 0;overflow:auto}
    #b2g-client-concept .cc-mail-thread{min-height:100px;max-height:min(70dvh,640px);overflow:auto;resize:vertical;padding:0 8px 9px 0;border-bottom:1px solid var(--cc-line);scrollbar-gutter:stable;overscroll-behavior:contain}
    #b2g-client-concept .cc-message{padding:7px 0 11px}
    #b2g-client-concept .cc-message:first-child{padding-top:1px}
    #b2g-client-concept .cc-message+.cc-message{border-top:1px solid #edf1f5}
    #b2g-client-concept .cc-message-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:12px;margin-bottom:4px}
    #b2g-client-concept .cc-message-head time{font-size:11px;color:var(--cc-muted);margin-left:auto}
    #b2g-client-concept .cc-message p{font-size:12px;line-height:18px;overflow-wrap:anywhere;white-space:pre-wrap}
    #b2g-client-concept .cc-attachment{display:inline-flex;align-items:center;gap:4px;color:var(--cc-link);font-size:11px;margin-top:5px}
    #b2g-client-concept .cc-reply{margin-top:8px}
    #b2g-client-concept .cc-reply textarea{display:block;height:24px;min-height:24px;max-height:180px;padding:2px 0;line-height:18px;border-bottom-color:var(--cc-line);resize:vertical;overflow:auto}
    #b2g-client-concept .cc-reply-actions{display:flex;align-items:center;gap:12px;margin-top:6px}
    #b2g-client-concept .cc-primary{display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:var(--cc-brand);color:#fff;padding:5px 10px;min-height:28px}
    #b2g-client-concept .cc-reply-actions>.cc-primary{margin-left:auto}
    #b2g-client-concept .cc-draft-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}
    #b2g-client-concept .cc-draft-attachments button{font-size:11px;display:flex;align-items:center;gap:5px;background:var(--cc-tag);padding:3px 7px;border-radius:5px;overflow-wrap:anywhere;text-align:left}
    #b2g-client-concept .cc-draft-attachments button svg{width:12px;height:12px}
    #b2g-client-concept .cc-full-mail{font-size:12px;margin-top:6px}
    #b2g-client-concept .cc-full-mail .cc-field{grid-template-columns:84px minmax(0,1fr)}
    #b2g-client-concept .cc-history{background:var(--cc-surface);padding:0 4px}
    #b2g-client-concept .cc-history>summary{display:flex;align-items:center;gap:6px;color:var(--cc-muted);list-style:none;font-size:12px;min-height:26px}
    #b2g-client-concept .cc-history>summary::-webkit-details-marker{display:none}
    #b2g-client-concept .cc-history-list{display:flex;flex-direction:column;gap:9px;padding:10px 0;color:var(--cc-muted)}
    #b2g-client-concept .cc-history-item{display:flex;gap:10px;align-items:baseline;font-size:11px}
    #b2g-client-concept .cc-history-item>span{color:var(--cc-ink);font-size:12px;flex:1}
    #b2g-client-concept .cc-status{font-size:11px;color:var(--cc-muted);min-height:0;line-height:16px;margin-top:8px;overflow-wrap:anywhere}
    #b2g-client-concept .cc-status:empty{display:none}
    #b2g-client-concept .cc-status[data-error=true]{color:var(--cc-error)}
    #b2g-client-concept .cc-inline-panel{background:var(--cc-bg);border-radius:9px;padding:11px;margin:8px 0 1px}
    #b2g-client-concept .cc-inline-panel-header{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:12px}
    #b2g-client-concept .cc-inline-panel-header>button{margin-left:auto}
    #b2g-client-concept .cc-inline-panel h3{font-size:12px;font-weight:500}
    #b2g-client-concept .cc-inline-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}
    #b2g-client-concept .cc-company-options{display:flex;flex-direction:column;gap:3px;padding-top:5px}
    #b2g-client-concept .cc-company-options>button{display:flex;justify-content:space-between;gap:8px;text-align:left;padding:6px;border-radius:5px}
    #b2g-client-concept .cc-company-options>button:hover{background:#e2eaf2}
    #b2g-client-concept .cc-company-options small{font-size:11px;color:var(--cc-muted)}
    #b2g-client-concept .cc-readonly-company p{margin:3px 0;color:var(--cc-muted);font-size:11px}
    @media(max-width:800px){#b2g-client-concept .cc-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}#b2g-client-concept .cc-chrome{gap:17px}#b2g-client-concept .cc-company-head{display:none}#b2g-client-concept .cc-company{grid-template-columns:minmax(0,1fr) 78px var(--cc-company-action-width);gap:4px 8px}#b2g-client-concept .cc-company>div{grid-column:1/-1}#b2g-client-concept .cc-company>input{grid-column:1}}
    @media(max-width:650px){#b2g-client-concept .cc-grid{grid-template-columns:1fr}#b2g-client-concept .cc-side-column{order:-1;display:grid;grid-template-columns:1fr 1fr}#b2g-client-concept .cc-note{grid-column:1/-1}#b2g-client-concept .cc-chrome{flex-wrap:wrap;gap:7px 16px;padding:10px 12px}#b2g-client-concept .cc-search{order:5;flex-basis:100%;max-width:100%;width:100%;margin:0}#b2g-client-concept .cc-preview{margin-left:auto}#b2g-client-concept .cc-page{padding:13px 10px}#b2g-client-concept .cc-field{grid-template-columns:1fr;gap:0;padding-bottom:5px}#b2g-client-concept .cc-commission-row{grid-template-columns:1fr 48px;gap:0 5px}#b2g-client-concept .cc-commission-row>span{grid-column:1/-1}#b2g-client-concept .cc-contact-lines{margin-bottom:12px}#b2g-client-concept .cc-mail-thread{max-height:60dvh}#b2g-client-concept .cc-company-head{display:grid;grid-template-columns:minmax(0,1fr) 115px 78px var(--cc-company-action-width)}#b2g-client-concept .cc-company{grid-template-columns:minmax(0,1fr) 115px 78px var(--cc-company-action-width);gap:8px}#b2g-client-concept .cc-company>div{grid-column:auto}#b2g-client-concept .cc-company>input{grid-column:auto}}
    @media(max-width:450px){#b2g-client-concept .cc-nav{gap:12px;font-size:11px}#b2g-client-concept .cc-logo{width:82px;height:28px}#b2g-client-concept .cc-preview{display:none}#b2g-client-concept .cc-side-column{display:flex}#b2g-client-concept .cc-field{grid-template-columns:103px minmax(0,1fr);gap:8px;padding:0}#b2g-client-concept .cc-commission-row{grid-template-columns:65px minmax(0,1fr) 55px;gap:7px}#b2g-client-concept .cc-commission-row>span{grid-column:auto}#b2g-client-concept .cc-company-head{display:none}#b2g-client-concept .cc-company{grid-template-columns:minmax(0,1fr) 78px var(--cc-company-action-width);gap:4px 8px}#b2g-client-concept .cc-company>div{grid-column:1/-1}#b2g-client-concept .cc-company>input{grid-column:1}#b2g-client-concept .cc-heading{gap:8px}#b2g-client-concept .cc-identity{min-width:0;flex-basis:100%}#b2g-client-concept .cc-type{margin-right:auto}#b2g-client-concept .cc-contact-lines{margin-top:10px}#b2g-client-concept .cc-search-results{width:100%;max-width:100%}}
    @media(pointer:coarse){#b2g-client-concept :is(button,summary){min-height:40px}#b2g-client-concept :is(input,select,textarea){font-size:16px;min-height:40px}#b2g-client-concept h1 input{font-size:20px;min-height:34px}#b2g-client-concept .cc-reply textarea{min-height:28px}#b2g-client-concept input:is([type=checkbox],[type=radio]){width:17px;height:17px;min-height:17px}#b2g-client-concept .cc-icon-button{width:40px}#b2g-client-concept .cc-agent-chip button{width:28px;min-height:32px}#b2g-client-concept{--cc-company-action-width:40px}#b2g-client-concept .cc-agent-option{min-height:40px}#b2g-client-concept .cc-percentage input{width:40px}#b2g-client-concept .cc-contact-lines input{min-height:34px}}
    @media(prefers-reduced-motion:reduce){#b2g-client-concept *{transition:none!important}}
    #b2g-client-concept .cc-heading{margin-bottom:14px}
    #b2g-client-concept .cc-identity{flex:1 1 370px;min-width:0}
    #b2g-client-concept .cc-name-and-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
    #b2g-client-concept .cc-name-and-tags h1{flex:0 1 auto;max-width:100%}
    #b2g-client-concept .cc-name-and-tags h1 input{width:18ch;max-width:100%}
    #b2g-client-concept .cc-contact-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
    #b2g-client-concept .cc-contact-tag{background:#edf0f3;color:#5d6774;border-radius:5px;font-size:11px;line-height:17px;padding:1px 6px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:21px}
    #b2g-client-concept .cc-contact-tag[aria-pressed=true]{background:#d9e0e7;color:#414e5d}
    #b2g-client-concept .cc-tag-plus{width:24px;min-height:24px;color:#7d8a99}
    #b2g-client-concept .cc-tag-input{flex:0 1 110px;width:110px;max-width:150px;min-height:24px;border-bottom-color:#a5b5c5}
    #b2g-client-concept .cc-companies-scroll{max-height:240px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px}
    #b2g-client-concept .cc-company{padding:4px 0;gap:7px;min-height:39px}
    #b2g-client-concept .cc-company-inn{margin-top:0;line-height:16px}
    #b2g-client-concept .cc-company input{min-height:25px;padding:1px 0}
    #b2g-client-concept .cc-company-head,#b2g-client-concept .cc-company{grid-template-columns:minmax(0,1fr) 110px 70px var(--cc-company-action-width)}
    #b2g-client-concept .cc-company-head{gap:7px;padding-right:6px;overflow-y:auto;scrollbar-gutter:stable}
    #b2g-client-concept .cc-company-feedback{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
    #b2g-client-concept .cc-company-feedback .cc-status{flex:1}
    #b2g-client-concept .cc-company-feedback .cc-link{font-size:11px}
    #b2g-client-concept .cc-excess-row{display:grid;grid-template-columns:minmax(0,1fr) 55px;gap:8px;align-items:center;min-height:30px;color:var(--cc-muted)}
    #b2g-client-concept .cc-excess-value{display:flex;gap:3px;align-items:center;color:var(--cc-ink)}
    #b2g-client-concept .cc-excess-value input{text-align:right;min-width:0;flex:1;width:0}
    #b2g-client-concept .cc-contact-methods{background:var(--cc-surface)}
    #b2g-client-concept .cc-contact-methods .cc-module-header{margin-bottom:4px}
    #b2g-client-concept .cc-channel-list{display:flex;flex-direction:column;gap:0}
    #b2g-client-concept .cc-channel-row{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;gap:6px;align-items:center;min-height:32px}
    #b2g-client-concept .cc-channel-icon{position:relative;width:28px;min-height:28px;display:flex;align-items:center;justify-content:center;color:var(--cc-muted)}
    #b2g-client-concept .cc-channel-icon>svg{width:15px;height:15px}
    #b2g-client-concept .cc-channel-icon>select{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-height:28px;margin:0;padding:0;border:0}
    #b2g-client-concept .cc-channel-icon:has(select:focus-visible){color:var(--cc-link);background:var(--cc-blue);border-radius:5px}
    #b2g-client-concept .cc-channel-main{display:flex;align-items:center;gap:5px;min-width:0}
    #b2g-client-concept .cc-channel-main>input{flex:1;width:0;min-width:0;padding:2px 0;min-height:28px}
    #b2g-client-concept .cc-channel-label{font-size:11px;color:var(--cc-muted);max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
    #b2g-client-concept .cc-channel-primary{display:flex;align-items:center;color:var(--cc-link)}
    #b2g-client-concept .cc-channel-primary svg{width:11px;height:11px}
    #b2g-client-concept .cc-channel-options,#b2g-client-concept .cc-method-add{position:relative}
    #b2g-client-concept .cc-channel-options>summary,#b2g-client-concept .cc-method-add>summary{display:flex;align-items:center;justify-content:center;list-style:none;min-height:26px;color:var(--cc-muted)}
    #b2g-client-concept .cc-channel-options>summary::-webkit-details-marker,#b2g-client-concept .cc-method-add>summary::-webkit-details-marker{display:none}
    #b2g-client-concept .cc-method-add{margin-left:auto}
    #b2g-client-concept .cc-method-add>summary{color:var(--cc-link);gap:4px;font-size:12px}
    #b2g-client-concept .cc-channel-menu{position:absolute;right:0;top:29px;z-index:9;background:var(--cc-surface);width:210px;max-width:75vw;padding:8px;border-radius:9px;box-shadow:0 7px 22px #172d4314;display:flex;flex-direction:column;gap:2px}
    #b2g-client-concept .cc-channel-menu>button{display:flex;align-items:center;gap:8px;text-align:left;padding:6px;border-radius:5px;min-height:28px}
    #b2g-client-concept .cc-channel-menu>button:hover{background:var(--cc-bg)}
    #b2g-client-concept .cc-channel-menu>input{min-height:28px;border-bottom-color:var(--cc-line);margin-bottom:4px}
    #b2g-client-concept .cc-channel-menu>label{display:flex;align-items:center;gap:8px;min-height:30px;padding:4px 6px}
    #b2g-client-concept .cc-channel-menu .cc-remove-channel{color:var(--cc-error)}
    @media(min-width:651px) and (max-width:800px){#b2g-client-concept .cc-company-head{display:none}#b2g-client-concept .cc-company{grid-template-columns:minmax(0,1fr) 70px var(--cc-company-action-width);gap:2px 6px}#b2g-client-concept .cc-company>div{grid-column:1/-1}#b2g-client-concept .cc-company>input{grid-column:1}}
    @media(max-width:650px){#b2g-client-concept .cc-contact-methods{grid-column:1/-1}#b2g-client-concept .cc-companies-scroll{max-height:200px}#b2g-client-concept .cc-channel-menu{top:29px}#b2g-client-concept .cc-channel-list{max-width:none}#b2g-client-concept .cc-grid{gap:10px}}
    @media(max-width:450px){#b2g-client-concept .cc-company-head{display:none}#b2g-client-concept .cc-company{grid-template-columns:minmax(0,1fr) 70px var(--cc-company-action-width);gap:2px 6px}#b2g-client-concept .cc-company>div{grid-column:1/-1}#b2g-client-concept .cc-company>input{grid-column:1}#b2g-client-concept .cc-identity{flex-basis:100%}#b2g-client-concept .cc-heading{margin-bottom:12px}}
    @media(pointer:coarse){#b2g-client-concept .cc-tag-plus{min-width:36px;min-height:36px}#b2g-client-concept .cc-contact-tag{min-height:32px;padding:5px 7px}#b2g-client-concept .cc-channel-row{grid-template-columns:36px minmax(0,1fr) 36px;min-height:44px}#b2g-client-concept .cc-channel-icon,#b2g-client-concept .cc-channel-icon>select,#b2g-client-concept .cc-channel-options>summary{min-height:40px}#b2g-client-concept .cc-channel-main>input{min-height:40px}#b2g-client-concept .cc-channel-menu{top:42px}#b2g-client-concept .cc-channel-menu>button{min-height:40px}#b2g-client-concept .cc-company{min-height:43px}}

    #b2g-client-concept .cc-max-icon{display:block;width:15px;height:15px;object-fit:contain;flex:none;opacity:.72}
    #b2g-client-concept .cc-requisites input::placeholder{color:#88968e}
    #b2g-client-concept .cc-bank-field{align-items:start}
    #b2g-client-concept .cc-bank-field>span{padding-top:4px}
    #b2g-client-concept .cc-bank-picker{min-width:0}
    #b2g-client-concept .cc-bank-toggle{display:flex;align-items:center;gap:5px;min-height:28px;width:100%;padding:3px 0;text-align:left;border:0;border-bottom:1px solid transparent;border-radius:0;color:var(--cc-ink);background:transparent;box-shadow:none}
    #b2g-client-concept .cc-bank-toggle:hover,#b2g-client-concept .cc-bank-toggle:focus-visible{border-bottom-color:var(--cc-link);outline:none}
    #b2g-client-concept .cc-bank-toggle>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    #b2g-client-concept .cc-bank-toggle>span[data-empty=true]{color:#88968e}
    #b2g-client-concept .cc-bank-toggle>svg{width:13px;height:13px;color:var(--cc-muted)}
    #b2g-client-concept .cc-bank-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}
    #b2g-client-concept .cc-bank-popover{position:fixed;z-index:40;width:280px;max-width:calc(100vw - 24px);max-height:360px;display:flex;flex-direction:column;padding:8px;background:var(--cc-surface);border:0;border-radius:10px;box-shadow:0 7px 24px #172d4322;overflow:hidden}
    #b2g-client-concept .cc-bank-popover[hidden]{display:none}
    #b2g-client-concept .cc-bank-search{display:flex;align-items:center;gap:7px;padding:0 7px 5px;color:var(--cc-muted);flex:none}
    #b2g-client-concept .cc-bank-search>input{min-width:0;min-height:29px;border-bottom-color:var(--cc-line);font-size:12px}
    #b2g-client-concept .cc-bank-options{overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
    #b2g-client-concept .cc-bank-option{display:flex;align-items:center;gap:9px;padding:5px 7px;min-height:31px;font-size:12px;border-radius:6px}
    #b2g-client-concept .cc-bank-option:hover{background:var(--cc-bg)}
    #b2g-client-concept .cc-bank-option:has(input:focus-visible){background:var(--cc-blue)}
    #b2g-client-concept .cc-bank-all{color:var(--cc-muted);flex:none;margin-bottom:2px}
    #b2g-client-concept .cc-requisites-updated{font-size:9px;line-height:14px;color:#7b8e82;margin-top:9px;text-align:right}
    @media(pointer:coarse){#b2g-client-concept .cc-bank-option{min-height:42px}#b2g-client-concept .cc-bank-toggle{min-height:40px}#b2g-client-concept .cc-bank-search>input{font-size:16px;min-height:40px}#b2g-client-concept .cc-bank-field>span{padding-top:10px}}

    #b2g-client-concept [data-agent-commission][hidden],#b2g-client-concept .cc-requisites[hidden],#b2g-client-concept [data-agents-label][hidden]{display:none!important}
    #b2g-client-concept .cc-overline{display:flex;align-items:center;gap:3px;min-height:22px;flex-wrap:wrap;margin-bottom:2px}
    #b2g-client-concept .cc-overline .cc-tag-plus{width:20px;min-height:20px;padding:0;color:#7d8a99}
    #b2g-client-concept .cc-overline .cc-tag-plus svg{width:13px;height:13px}
    #b2g-client-concept .cc-overline .cc-tag-input{font-size:11px;min-height:22px;line-height:18px;padding:1px 0}
    #b2g-client-concept .cc-commission-row{grid-template-columns:103px minmax(0,1fr);gap:8px;min-height:30px}
    #b2g-client-concept .cc-commission-row[hidden]{display:none!important}
    #b2g-client-concept .cc-commission-row>span{grid-column:auto}
    #b2g-client-concept .cc-commission-mode{display:flex;align-items:center;gap:3px;min-width:0;width:fit-content;margin-bottom:4px}
    #b2g-client-concept .cc-commission-mode button{padding:4px 8px;min-height:26px;font-size:11px;line-height:18px;border-radius:8px;background:#dce9e2;color:#536d5f;white-space:nowrap;box-shadow:none;border:0}
    #b2g-client-concept .cc-commission-mode button[aria-pressed=true]{background:var(--cc-brand);color:#fff}
    #b2g-client-concept .cc-commission-mode button:focus-visible{outline:none;box-shadow:inset 0 -2px currentColor}
    #b2g-client-concept .cc-commission-row>.cc-percentage{justify-content:flex-start;gap:3px;color:var(--cc-ink)}
    #b2g-client-concept .cc-percentage input{width:34px;text-align:left}
    #b2g-client-concept .cc-excess-row{grid-template-columns:103px minmax(0,1fr)}
    #b2g-client-concept .cc-excess-value{justify-content:flex-start}
    #b2g-client-concept .cc-excess-value input{width:34px;flex:none;text-align:left}
    #b2g-client-concept .cc-finance[data-contact-type=client] .cc-agents-row{margin-top:0}
    @media(pointer:coarse){#b2g-client-concept .cc-overline .cc-tag-plus{width:32px;min-width:32px;min-height:32px}#b2g-client-concept .cc-overline .cc-tag-input{font-size:16px;min-height:34px}#b2g-client-concept .cc-commission-mode button{min-height:40px;padding:5px 8px;font-size:12px}#b2g-client-concept .cc-percentage input,#b2g-client-concept .cc-excess-value input{width:38px}}

    #b2g-client-concept .cc-grid{align-items:stretch}
    #b2g-client-concept .cc-column{min-width:0;min-height:88px}
    #b2g-client-concept [data-client-module][hidden]{display:none!important}
    #b2g-client-concept .cc-layout-handle{display:inline-flex;align-items:center;justify-content:center;width:19px;min-width:19px;min-height:24px;padding:0;margin:0 -2px 0 -5px;align-self:center;color:#8a98a7;cursor:grab;touch-action:none;opacity:0;transition:opacity .12s;background:transparent;border:0;border-radius:5px;flex:none}
    #b2g-client-concept .cc-layout-handle>svg{width:13px;height:15px}
    #b2g-client-concept .cc-module-header:hover>.cc-layout-handle,#b2g-client-concept .cc-history>summary:hover>.cc-layout-handle,#b2g-client-concept .cc-layout-handle:focus-visible,#b2g-client-concept .cc-layout-handle[aria-pressed=true]{opacity:1}
    #b2g-client-concept .cc-layout-handle:focus-visible,#b2g-client-concept .cc-layout-handle[aria-pressed=true]{background:#dcecf5;color:var(--cc-link);outline:none}
    #b2g-client-concept .cc-layout-dragging{opacity:.36}
    #b2g-client-concept .cc-layout-marker{position:fixed;z-index:110;height:2px;border-radius:2px;background:var(--cc-brand);pointer-events:none}
    #b2g-client-concept .cc-layout-marker[hidden]{display:none}
    #b2g-client-concept .cc-layout-ghost{position:fixed;z-index:111;display:flex;align-items:center;min-width:110px;max-width:185px;min-height:31px;padding:6px 10px;background:var(--cc-blue);color:var(--cc-ink);box-shadow:0 5px 18px #172d4322;border:0;border-radius:8px;font-size:12px;line-height:18px;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    #b2g-client-concept .cc-grid[data-dragging=true]>.cc-column[data-layout-empty=true]{background:#e8f4fc88;border-radius:12px}
    #b2g-client-concept .cc-layout-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
    #b2g-client-concept [data-view-toggle]{display:inline-flex;align-items:center;gap:5px;color:var(--cc-link);background:transparent;border:0;box-shadow:none;border-radius:7px;padding:5px 7px;min-height:30px;font-size:12px;font-weight:400}
    #b2g-client-concept [data-view-toggle]:hover,#b2g-client-concept [data-view-toggle]:focus-visible{background:#e5edf4;outline:none}
    #b2g-client-concept [data-view-toggle]>svg{width:14px;height:14px}
    #b2g-client-concept .cc-view-menu{position:fixed;z-index:70;display:flex;flex-direction:column;max-width:calc(100vw - 24px);max-height:430px;padding:10px;background:var(--cc-surface);border:0;border-radius:10px;box-shadow:0 7px 25px #172d4322}
    #b2g-client-concept .cc-view-menu[hidden]{display:none}
    #b2g-client-concept .cc-view-head{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--cc-muted);padding-left:5px;margin-bottom:3px;flex:none}
    #b2g-client-concept .cc-view-close{margin-left:auto;display:flex;align-items:center;justify-content:center;min-height:25px;width:25px;color:var(--cc-muted);background:transparent;border:0;border-radius:5px}
    #b2g-client-concept .cc-view-close:hover,#b2g-client-concept .cc-view-close:focus-visible{background:var(--cc-bg);outline:none}
    #b2g-client-concept .cc-view-options{overflow:auto;overscroll-behavior:contain;min-height:0}
    #b2g-client-concept .cc-view-option{display:flex;align-items:center;gap:9px;padding:5px;min-height:30px;font-size:12px;border-radius:6px}
    #b2g-client-concept .cc-view-option:hover{background:var(--cc-bg)}
    #b2g-client-concept .cc-view-option:has(input:focus-visible){background:var(--cc-blue)}
    #b2g-client-concept .cc-view-reset{display:flex;align-items:center;gap:6px;padding:7px 5px 3px;margin-top:5px;min-height:28px;font-size:11px;color:var(--cc-link);background:transparent;border:0;border-radius:5px;text-align:left;flex:none}
    #b2g-client-concept .cc-view-reset:focus-visible{background:var(--cc-blue);outline:none}
    #b2g-client-concept .cc-view-reset>svg{width:13px;height:13px}
    @media(max-width:650px){#b2g-client-concept .cc-grid{display:flex;flex-direction:column;align-items:stretch}#b2g-client-concept .cc-side-column{order:0;display:flex;flex-direction:column}#b2g-client-concept .cc-column{min-height:0}#b2g-client-concept .cc-grid[data-dragging=true]>.cc-column[data-layout-empty=true]{min-height:65px}#b2g-client-concept .cc-module{grid-column:auto}#b2g-client-concept .cc-grid{gap:10px}}
    @media(pointer:coarse){#b2g-client-concept .cc-layout-handle{opacity:.7;width:27px;min-width:27px;min-height:40px;margin-left:-6px}#b2g-client-concept .cc-view-option{min-height:42px}#b2g-client-concept [data-view-toggle],#b2g-client-concept .cc-view-close,#b2g-client-concept .cc-view-reset{min-height:40px}}



/* Integrate the approved card with the existing native dialog and shared mail editor. */
.contact-workspace.dialog{inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;border:0;box-shadow:none;background:#f2f5f9}.contact-workspace .dialog-scroll{padding:0;background:#f2f5f9}.contact-workspace [hidden]{display:none!important}
#b2g-client-concept .card-popover{position:fixed;z-index:100;margin:0;overflow:auto;padding:10px;background:#fff;border:0;border-radius:9px;box-shadow:0 8px 25px #172d4320}
#b2g-client-concept .cc-chrome .brand{flex:none;width:94px}#b2g-client-concept .cc-chrome .brand img{width:94px;height:32px;object-fit:contain}#b2g-client-concept .global-search-host{margin-left:auto;max-width:320px;width:30%}
#b2g-client-concept .cc-close{margin-left:0}#b2g-client-concept .cc-contact-tag{display:inline-flex;background:#edf0f3;border-radius:5px;padding:2px 6px;font-size:11px}#b2g-client-concept .cc-contact-tag[aria-pressed=true]{background:#d8e5ee}#b2g-client-concept .cc-legacy-bank{font-size:11px;color:var(--cc-muted)}
#b2g-client-concept .cc-channel{display:flex;align-items:center;gap:7px;min-height:30px}#b2g-client-concept .cc-channel-main{flex:1}#b2g-client-concept .cc-channel-icon{position:relative;width:22px;flex:none}#b2g-client-concept .cc-channel-icon>select{position:absolute;inset:0;opacity:0;cursor:pointer}#b2g-client-concept .cc-channel-label{font-size:11px;color:var(--cc-muted)}
#b2g-client-concept .cc-contact-history{border:0;margin:0;padding:0;background:transparent}#b2g-client-concept .cc-contact-history>summary{display:flex;gap:7px;font-size:13px;font-weight:500}#b2g-client-concept .cc-company>button.cc-icon-button{font-size:18px}#b2g-client-concept .cc-companies-scroll{max-height:240px;overflow:auto;overscroll-behavior:contain}
#b2g-client-concept .focus-mail-toolbar:has(.focus-mail-tabs:empty){position:absolute;right:12px;top:10px}#b2g-client-concept .cc-mail{position:relative}#b2g-client-concept .focus-mail-history{min-height:24px;padding:0 0 8px}#b2g-client-concept .mail-conversation{border:0;background:transparent;padding:0;margin:0}#b2g-client-concept .mail-list{padding:0}#b2g-client-concept .mail-message{padding:7px 0;margin:0;border:0;border-bottom:1px solid #e8edf2;border-radius:0;background:transparent}#b2g-client-concept .mail-message>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}#b2g-client-concept .mail-message-meta,#b2g-client-concept .mail-message-addresses,#b2g-client-concept .mail-reply-context{font-size:11px;color:var(--cc-muted)}#b2g-client-concept .mail-message-select{text-align:left;color:var(--cc-ink)}#b2g-client-concept .mail-body{white-space:pre-wrap;overflow-wrap:anywhere}#b2g-client-concept .mail-quick-compose{border:0;background:transparent;padding:0;margin:0}#b2g-client-concept .mail-quick-compose>textarea{min-height:24px;max-height:180px;resize:vertical;border-bottom-color:var(--cc-line)}#b2g-client-concept .mail-quick-files{display:flex;justify-content:space-between}#b2g-client-concept .mail-quick-files>.button{color:#fff;background:var(--cc-brand);padding:5px 11px;border-radius:8px}#b2g-client-concept .mail-full-form[open]{display:block}#b2g-client-concept .mail-full-form>label{display:grid;grid-template-columns:103px minmax(0,1fr);gap:8px;align-items:center}#b2g-client-concept .cc-channel-menu{z-index:15}
@media(max-width:650px){#b2g-client-concept .cc-grid{display:flex;flex-direction:column}#b2g-client-concept .cc-side-column{order:0;display:flex;flex-direction:column}#b2g-client-concept .cc-companies-scroll{max-height:200px}#b2g-client-concept .cc-chrome{gap:12px}#b2g-client-concept .cc-nav{gap:10px}#b2g-client-concept .cc-chrome .global-search-host{display:none}}

/* The reference contains the same complete brand lockup, with fixed proportions. */
#b2g-client-concept .global-search-host{width:210px;max-width:28%}
#b2g-client-concept .mail-conversation{display:block;max-height:none;overflow:visible}#b2g-client-concept .mail-conversation .mail-list{overflow:visible}#b2g-client-concept .focus-mail-history{max-height:min(70dvh,640px);min-height:24px}#b2g-client-concept .mail-message-meta{flex:none}#b2g-client-concept .cc-column:empty{min-height:65px}
@media(max-width:650px){#b2g-client-concept .cc-chrome .global-search-host{display:block;order:5;flex-basis:100%;max-width:100%;width:100%;margin:0}}

#b2g-client-concept .global-search-input{height:26px;min-height:26px;border-bottom:1px solid var(--cc-line);padding:0 22px 0 0;font-size:12px}#b2g-client-concept .mail-correspondence .mail-list{max-height:none;overflow:visible}

#b2g-client-concept .cc-excess-row>.cc-excess-value{display:flex;align-items:center;justify-content:flex-start;gap:3px;color:var(--cc-ink)}#b2g-client-concept .cc-excess-value input{width:34px;text-align:left}

#b2g-client-concept .cc-heading{position:relative;padding-right:30px}#b2g-client-concept .cc-close{position:absolute;right:0;top:0}

@media(max-width:650px){#b2g-client-concept .focus-mail-history{max-height:60dvh}}

/* public/client-conversation.css */
.client-channels .client-channel-tabs{display:flex;gap:6px;margin-bottom:10px}.client-channels .client-channel-tabs button[aria-selected=true]{background:#eaf2f1;color:#245e65;border-color:#c7d6d4}.max-staff-conversation{min-width:0}.max-chat-toolbar,.max-chat-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.max-chat-scope{font-size:12px;color:#657385;margin-right:auto}.max-chat-history{display:flex;flex-direction:column;gap:10px;max-height:340px;min-height:120px;overflow:auto;padding:8px 2px 12px}.max-chat-message{padding:10px 12px;max-width:92%;align-self:flex-start;background:#edf2fa;border-radius:10px;overflow-wrap:anywhere}.max-chat-message.outgoing{align-self:flex-end;background:#e6f1ed}.max-chat-message p{white-space:pre-wrap;margin:6px 0;font-size:13px}.max-chat-message small{font-size:11px;color:#627082;display:block}.max-context-label{display:inline-block;font-size:11px;background:#ffffffa8;color:#3e6870;padding:2px 5px;border-radius:5px;margin:4px 0}.max-chat-error{font-size:12px;color:#8a3c32;margin:6px 0}.max-chat-error:empty{display:none}.max-chat-compose{display:grid;gap:8px;border-top:1px solid #dce4ee;padding-top:10px}.max-chat-compose textarea{resize:vertical;min-height:70px;max-height:180px;width:100%;border:1px solid #dce4ee;border-radius:8px;padding:10px;font:inherit;font-size:14px}.max-chat-compose select{max-width:100%;min-width:0;font-size:12px;min-height:32px;border:1px solid #dce4ee;border-radius:6px;padding:5px}.max-chat-actions{justify-content:space-between}.max-staff-conversation :is(button,select,textarea):focus-visible{outline:none;box-shadow:none;border-color:#77858b;background-color:#f0f4f4}.max-staff-conversation button.primary:focus-visible{background:#245568;text-decoration:underline}@media(max-width:620px){.max-chat-compose textarea,.max-chat-compose select{font-size:16px}.max-chat-history{max-height:260px}.max-chat-actions button{min-height:44px}}

/* public/company-card.css */
    #b2g-company-card{--cc-bg:#f2f5f9;--cc-surface:#fff;--cc-ink:#172d43;--cc-muted:#53657b;--cc-brand:#049FE5;--cc-link:#006fae;--cc-blue:#e8f4fc;--cc-green:#eaf5ef;--cc-warm:#fff1d9;--cc-line:#dce5ee;--cc-tag:#edf0f3;--cc-error:#9b3345;--cc-company-action-width:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px;line-height:18px;font-weight:400;color:var(--cc-ink);background:var(--cc-bg);color-scheme:light;width:100%;min-width:0}
    #b2g-company-card *{box-sizing:border-box;min-width:0}
    #b2g-company-card [hidden]{display:none!important}
    #b2g-company-card :is(button,input,select,textarea):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)){font:inherit;color:inherit}
    #b2g-company-card :is(button,summary){-webkit-tap-highlight-color:transparent}
    #b2g-company-card button:where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)){background:transparent;border:0;padding:0;font-weight:400}
    #b2g-company-card :is(button,summary,a):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)):focus-visible{outline:none;text-decoration:underline;text-underline-offset:4px}
    #b2g-company-card :is(input,select,textarea):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)){background:transparent;border:0;border-bottom:1px solid transparent;border-radius:0;padding:3px 0;width:100%;outline:none;box-shadow:none;font-size:12px;font-weight:400;line-height:20px;min-height:28px}
    #b2g-company-card :is(input,textarea,select):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)):hover{border-bottom-color:#a5b5c5}
    #b2g-company-card :is(input,textarea,select):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)):focus-visible{border-bottom-color:var(--cc-link)}
    #b2g-company-card input::placeholder,#b2g-company-card textarea::placeholder{color:#738297;opacity:1}
    #b2g-company-card input:is([type=checkbox],[type=radio]){appearance:auto;width:15px;height:15px;min-height:0;margin:0;padding:0;accent-color:var(--cc-brand);flex:none}
    #b2g-company-card input[type=number]{appearance:textfield}
    #b2g-company-card input::-webkit-inner-spin-button,#b2g-company-card input::-webkit-outer-spin-button{appearance:none;margin:0}
    #b2g-company-card :is(h1,h2,h3,p):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)){margin:0}
    #b2g-company-card a{color:var(--cc-link);text-decoration:none}
    #b2g-company-card svg:where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)){width:15px;height:15px;stroke-width:1.6;flex:none}
    #b2g-company-card .cc-chrome{display:flex;align-items:center;gap:28px;background:var(--cc-surface);padding:10px 16px;min-height:52px}
    #b2g-company-card .cc-logo{width:94px;height:32px;object-fit:contain;flex:none}
    #b2g-company-card .cc-nav{display:flex;align-items:center;gap:20px;color:var(--cc-muted)}
    #b2g-company-card .cc-nav [aria-current]{color:var(--cc-ink)}
    #b2g-company-card .cc-search{position:relative;margin-left:auto;width:210px;max-width:28%}
    #b2g-company-card .cc-search>label{display:flex;align-items:center;gap:7px;color:var(--cc-muted);border-bottom:1px solid var(--cc-line)}
    #b2g-company-card .cc-search input{min-height:26px}
    #b2g-company-card .cc-search-results{position:absolute;right:0;top:33px;width:270px;max-width:80vw;padding:6px;background:var(--cc-surface);z-index:6;border-radius:9px;box-shadow:0 8px 25px #172d4314}
    #b2g-company-card .cc-search-results button{display:block;text-align:left;padding:8px;width:100%;border-radius:6px}
    #b2g-company-card .cc-search-results button:hover{background:var(--cc-bg)}
    #b2g-company-card .cc-preview{font-size:11px;color:var(--cc-muted);white-space:nowrap}
    #b2g-company-card .cc-page{padding:18px 16px 16px}
    #b2g-company-card .cc-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
    #b2g-company-card .cc-identity{flex:1 1 320px;min-width:200px}
    #b2g-company-card .cc-overline{font-size:11px;color:var(--cc-muted);margin-bottom:3px}
    #b2g-company-card h1{line-height:28px}
    #b2g-company-card h1 :is(input,textarea){font-size:20px;font-weight:500;line-height:28px;height:34px;padding:0;max-width:540px}
    #b2g-company-card .cc-type{display:flex;gap:5px;align-items:center}
    #b2g-company-card .cc-type button{padding:5px 11px;background:#e4eaf1;color:var(--cc-muted);border-radius:9px;min-height:30px}
    #b2g-company-card .cc-type button[aria-pressed=true]{background:var(--cc-brand);color:#fff}
    #b2g-company-card .cc-save{background:var(--cc-brand);color:#fff;padding:6px 11px;border-radius:8px;min-height:30px;white-space:nowrap}
    #b2g-company-card .cc-contact-lines{display:flex;flex-direction:column;gap:0;max-width:370px;margin:3px 0 16px}
    #b2g-company-card .cc-contact-lines label{display:flex;align-items:center;gap:7px;color:var(--cc-muted)}
    #b2g-company-card .cc-contact-lines input{color:var(--cc-ink);min-height:24px;padding:1px 0}
    #b2g-company-card .cc-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:12px;align-items:start}
    #b2g-company-card .cc-column{display:flex;flex-direction:column;gap:12px}
    #b2g-company-card .cc-module{background:var(--cc-surface);padding:12px;border-radius:12px;border:0;box-shadow:none;min-width:0}
    #b2g-company-card .cc-module-header{display:flex;align-items:center;gap:8px;margin-bottom:9px}
    #b2g-company-card .cc-module-header h2{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;line-height:18px}
    #b2g-company-card .cc-module-header>.cc-link{margin-left:auto}
    #b2g-company-card .cc-count{font-size:11px;color:var(--cc-muted);margin-left:1px}
    #b2g-company-card .cc-link{color:var(--cc-link);display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px}
    #b2g-company-card .cc-icon-button{display:inline-flex;align-items:center;justify-content:center;width:26px;min-height:28px;color:var(--cc-muted);flex:none}
    #b2g-company-card .cc-company-head{display:grid;grid-template-columns:minmax(0,1fr) 120px 78px var(--cc-company-action-width);gap:10px;color:var(--cc-muted);font-size:11px;padding:0 0 4px}
    #b2g-company-card .cc-company{display:grid;grid-template-columns:minmax(0,1fr) 120px 78px var(--cc-company-action-width);gap:10px;align-items:center;padding:9px 0;border-top:1px solid #e8edf2}
    #b2g-company-card .cc-company-name{display:flex;align-items:center;gap:4px;max-width:100%;text-align:left;color:var(--cc-link);overflow-wrap:anywhere}
    #b2g-company-card .cc-company-name svg{width:12px;height:12px}
    #b2g-company-card .cc-company-inn{font-size:11px;color:var(--cc-muted);margin-top:2px}
    #b2g-company-card .cc-company input{font-size:12px;width:100%}
    #b2g-company-card .cc-company .cc-project-action{font-size:12px;display:flex;align-items:center;gap:3px;color:var(--cc-link);white-space:nowrap}
    #b2g-company-card .cc-company.cc-archived{color:var(--cc-muted)}
    #b2g-company-card .cc-empty{color:var(--cc-muted);padding:8px 0}
    #b2g-company-card .cc-disclosure{margin-top:9px;font-size:12px}
    #b2g-company-card .cc-disclosure summary{list-style:none;display:flex;align-items:center;gap:5px;color:var(--cc-link);width:fit-content;padding:2px 0}
    #b2g-company-card .cc-disclosure summary::-webkit-details-marker{display:none}
    #b2g-company-card .cc-disclosure summary svg{width:13px;height:13px;transition:transform .12s}
    #b2g-company-card .cc-disclosure[open]>summary svg:first-child{transform:rotate(90deg)}
    #b2g-company-card .cc-disclosure-body{padding-top:7px}
    #b2g-company-card .cc-profile{background:var(--cc-blue)}
    #b2g-company-card .cc-field{display:grid;grid-template-columns:103px minmax(0,1fr);gap:8px;align-items:center;min-height:30px}
    #b2g-company-card .cc-field>span:first-child{color:var(--cc-muted)}
    #b2g-company-card .cc-profile .cc-field select{width:100%}
    #b2g-company-card .cc-finance{background:var(--cc-green)}
    #b2g-company-card .cc-commission-row{display:grid;grid-template-columns:65px minmax(0,1fr) 55px;gap:7px;align-items:center;min-height:30px}
    #b2g-company-card .cc-commission-row>span{color:var(--cc-muted)}
    #b2g-company-card .cc-percentage{display:flex;gap:3px;align-items:center;justify-content:flex-end}
    #b2g-company-card .cc-percentage input{width:35px;text-align:right}
    #b2g-company-card .cc-agents-row{display:flex;align-items:flex-start;gap:10px;margin-top:8px}
    #b2g-company-card .cc-agents-row>span{color:var(--cc-muted);min-width:55px;line-height:26px}
    #b2g-company-card .cc-agent-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;flex:1}
    #b2g-company-card .cc-agent-chip{display:inline-flex;align-items:center;gap:4px;background:#dce9e2;color:#4e6259;border-radius:5px;font-size:11px;padding:2px 6px;min-height:23px}
    #b2g-company-card .cc-agent-chip button{width:15px;min-height:18px;display:grid;place-items:center;color:inherit}
    #b2g-company-card .cc-agent-chip svg{width:11px;height:11px}
    #b2g-company-card .cc-agent-picker{position:relative}
    #b2g-company-card .cc-agent-picker>summary{display:flex;align-items:center;justify-content:center;list-style:none;color:var(--cc-link);min-width:24px;min-height:24px}
    #b2g-company-card .cc-agent-picker>summary::-webkit-details-marker{display:none}
    #b2g-company-card .cc-agent-options{position:absolute;right:0;top:29px;z-index:5;background:var(--cc-surface);padding:10px;width:256px;max-width:75vw;border-radius:10px;box-shadow:0 7px 22px #172d4314}
    #b2g-company-card .cc-agent-options>input{border-bottom-color:var(--cc-line);margin-bottom:5px}
    #b2g-company-card .cc-agent-option{display:flex;align-items:center;gap:8px;padding:6px 0}
    #b2g-company-card .cc-agent-option span{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
    #b2g-company-card .cc-agent-option small{font-size:11px;color:var(--cc-muted)}
    #b2g-company-card .cc-requisites{padding-top:7px;margin-top:10px;border-top:1px solid #d6e4dc}
    #b2g-company-card .cc-requisites .cc-field{grid-template-columns:73px minmax(0,1fr)}
    #b2g-company-card .cc-note{background:var(--cc-warm)}
    #b2g-company-card .cc-note textarea{display:block;width:100%;resize:vertical;min-height:40px;height:40px;max-height:160px;line-height:18px;padding:1px 0;overflow:auto}
    #b2g-company-card .cc-mail-thread{min-height:100px;max-height:min(70dvh,640px);overflow:auto;resize:vertical;padding:0 8px 9px 0;border-bottom:1px solid var(--cc-line);scrollbar-gutter:stable;overscroll-behavior:contain}
    #b2g-company-card .cc-message{padding:7px 0 11px}
    #b2g-company-card .cc-message:first-child{padding-top:1px}
    #b2g-company-card .cc-message+.cc-message{border-top:1px solid #edf1f5}
    #b2g-company-card .cc-message-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:12px;margin-bottom:4px}
    #b2g-company-card .cc-message-head time{font-size:11px;color:var(--cc-muted);margin-left:auto}
    #b2g-company-card .cc-message p{font-size:12px;line-height:18px;overflow-wrap:anywhere;white-space:pre-wrap}
    #b2g-company-card .cc-attachment{display:inline-flex;align-items:center;gap:4px;color:var(--cc-link);font-size:11px;margin-top:5px}
    #b2g-company-card .cc-reply{margin-top:8px}
    #b2g-company-card .cc-reply textarea{display:block;height:24px;min-height:24px;max-height:180px;padding:2px 0;line-height:18px;border-bottom-color:var(--cc-line);resize:vertical;overflow:auto}
    #b2g-company-card .cc-reply-actions{display:flex;align-items:center;gap:12px;margin-top:6px}
    #b2g-company-card .cc-primary{display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:var(--cc-brand);color:#fff;padding:5px 10px;min-height:28px}
    #b2g-company-card .cc-reply-actions>.cc-primary{margin-left:auto}
    #b2g-company-card .cc-draft-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}
    #b2g-company-card .cc-draft-attachments button{font-size:11px;display:flex;align-items:center;gap:5px;background:var(--cc-tag);padding:3px 7px;border-radius:5px;overflow-wrap:anywhere;text-align:left}
    #b2g-company-card .cc-draft-attachments button svg{width:12px;height:12px}
    #b2g-company-card .cc-full-mail{font-size:12px;margin-top:6px}
    #b2g-company-card .cc-full-mail .cc-field{grid-template-columns:84px minmax(0,1fr)}
    #b2g-company-card .cc-history{background:var(--cc-surface);padding:0 4px}
    #b2g-company-card .cc-history>summary{display:flex;align-items:center;gap:6px;color:var(--cc-muted);list-style:none;font-size:12px;min-height:26px}
    #b2g-company-card .cc-history>summary::-webkit-details-marker{display:none}
    #b2g-company-card .cc-history-list{display:flex;flex-direction:column;gap:9px;padding:10px 0;color:var(--cc-muted)}
    #b2g-company-card .cc-history-item{display:flex;gap:10px;align-items:baseline;font-size:11px}
    #b2g-company-card .cc-history-item>span{color:var(--cc-ink);font-size:12px;flex:1}
    #b2g-company-card .cc-status{font-size:11px;color:var(--cc-muted);min-height:0;line-height:16px;margin-top:8px;overflow-wrap:anywhere}
    #b2g-company-card .cc-status:empty{display:none}
    #b2g-company-card .cc-status[data-error=true]{color:var(--cc-error)}
    #b2g-company-card .cc-inline-panel{background:var(--cc-bg);border-radius:9px;padding:11px;margin:8px 0 1px}
    #b2g-company-card .cc-inline-panel-header{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:12px}
    #b2g-company-card .cc-inline-panel-header>button{margin-left:auto}
    #b2g-company-card .cc-inline-panel h3{font-size:12px;font-weight:500}
    #b2g-company-card .cc-inline-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}
    #b2g-company-card .cc-company-options{display:flex;flex-direction:column;gap:3px;padding-top:5px}
    #b2g-company-card .cc-company-options>button{display:flex;justify-content:space-between;gap:8px;text-align:left;padding:6px;border-radius:5px}
    #b2g-company-card .cc-company-options>button:hover{background:#e2eaf2}
    #b2g-company-card .cc-company-options small{font-size:11px;color:var(--cc-muted)}
    #b2g-company-card .cc-readonly-company p{margin:3px 0;color:var(--cc-muted);font-size:11px}
    @media(max-width:800px){#b2g-company-card .cc-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}#b2g-company-card .cc-chrome{gap:17px}#b2g-company-card .cc-company-head{display:none}#b2g-company-card .cc-company{grid-template-columns:minmax(0,1fr) 78px var(--cc-company-action-width);gap:4px 8px}#b2g-company-card .cc-company>div{grid-column:1/-1}#b2g-company-card .cc-company>input{grid-column:1}}
    @media(max-width:650px){#b2g-company-card .cc-grid{grid-template-columns:1fr}#b2g-company-card .cc-side-column{order:-1;display:grid;grid-template-columns:1fr 1fr}#b2g-company-card .cc-note{grid-column:1/-1}#b2g-company-card .cc-chrome{flex-wrap:wrap;gap:7px 16px;padding:10px 12px}#b2g-company-card .cc-search{order:5;flex-basis:100%;max-width:100%;width:100%;margin:0}#b2g-company-card .cc-preview{margin-left:auto}#b2g-company-card .cc-page{padding:13px 10px}#b2g-company-card .cc-field{grid-template-columns:1fr;gap:0;padding-bottom:5px}#b2g-company-card .cc-commission-row{grid-template-columns:1fr 48px;gap:0 5px}#b2g-company-card .cc-commission-row>span{grid-column:1/-1}#b2g-company-card .cc-contact-lines{margin-bottom:12px}#b2g-company-card .cc-mail-thread{max-height:60dvh}#b2g-company-card .cc-company-head{display:grid;grid-template-columns:minmax(0,1fr) 115px 78px var(--cc-company-action-width)}#b2g-company-card .cc-company{grid-template-columns:minmax(0,1fr) 115px 78px var(--cc-company-action-width);gap:8px}#b2g-company-card .cc-company>div{grid-column:auto}#b2g-company-card .cc-company>input{grid-column:auto}}
    @media(max-width:450px){#b2g-company-card .cc-nav{gap:12px;font-size:11px}#b2g-company-card .cc-logo{width:82px;height:28px}#b2g-company-card .cc-preview{display:none}#b2g-company-card .cc-side-column{display:flex}#b2g-company-card .cc-field{grid-template-columns:103px minmax(0,1fr);gap:8px;padding:0}#b2g-company-card .cc-commission-row{grid-template-columns:65px minmax(0,1fr) 55px;gap:7px}#b2g-company-card .cc-commission-row>span{grid-column:auto}#b2g-company-card .cc-company-head{display:none}#b2g-company-card .cc-company{grid-template-columns:minmax(0,1fr) 78px var(--cc-company-action-width);gap:4px 8px}#b2g-company-card .cc-company>div{grid-column:1/-1}#b2g-company-card .cc-company>input{grid-column:1}#b2g-company-card .cc-heading{gap:8px}#b2g-company-card .cc-identity{min-width:0;flex-basis:100%}#b2g-company-card .cc-type{margin-right:auto}#b2g-company-card .cc-contact-lines{margin-top:10px}#b2g-company-card .cc-search-results{width:100%;max-width:100%}}
    @media(pointer:coarse){#b2g-company-card :is(button,summary){min-height:40px}#b2g-company-card :is(input,select,textarea):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)){font-size:16px;min-height:40px}#b2g-company-card h1 :is(input,textarea){font-size:20px;min-height:34px}#b2g-company-card .cc-reply textarea{min-height:28px}#b2g-company-card input:is([type=checkbox],[type=radio]){width:17px;height:17px;min-height:17px}#b2g-company-card .cc-icon-button{width:40px}#b2g-company-card .cc-agent-chip button{width:28px;min-height:32px}#b2g-company-card{--cc-company-action-width:40px}#b2g-company-card .cc-agent-option{min-height:40px}#b2g-company-card .cc-percentage input{width:40px}#b2g-company-card .cc-contact-lines input{min-height:34px}}
    @media(prefers-reduced-motion:reduce){#b2g-company-card *{transition:none!important}}
    #b2g-company-card .cc-heading{margin-bottom:14px}
    #b2g-company-card .cc-identity{flex:1 1 370px;min-width:0}
    #b2g-company-card .cc-name-and-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
    #b2g-company-card .cc-name-and-tags h1{flex:0 1 auto;max-width:100%}
    #b2g-company-card .cc-name-and-tags h1 :is(input,textarea){width:auto;max-width:100%}
    #b2g-company-card .cc-contact-tags{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
    #b2g-company-card .cc-contact-tag{background:#edf0f3;color:#5d6774;border-radius:5px;font-size:11px;line-height:17px;padding:1px 6px;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:21px}
    #b2g-company-card .cc-contact-tag[aria-pressed=true]{background:#d9e0e7;color:#414e5d}
    #b2g-company-card .cc-tag-plus{width:24px;min-height:24px;color:#7d8a99}
    #b2g-company-card .cc-tag-input{flex:0 1 110px;width:110px;max-width:150px;min-height:24px;border-bottom-color:#a5b5c5}
    #b2g-company-card .cc-companies-scroll{max-height:240px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px}
    #b2g-company-card .cc-company{padding:4px 0;gap:7px;min-height:39px}
    #b2g-company-card .cc-company-inn{margin-top:0;line-height:16px}
    #b2g-company-card .cc-company input{min-height:25px;padding:1px 0}
    #b2g-company-card .cc-company-head,#b2g-company-card .cc-company{grid-template-columns:minmax(0,1fr) 110px 70px var(--cc-company-action-width)}
    #b2g-company-card .cc-company-head{gap:7px;padding-right:6px;overflow-y:auto;scrollbar-gutter:stable}
    #b2g-company-card .cc-company-feedback{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
    #b2g-company-card .cc-company-feedback .cc-status{flex:1}
    #b2g-company-card .cc-company-feedback .cc-link{font-size:11px}
    #b2g-company-card .cc-excess-row{display:grid;grid-template-columns:minmax(0,1fr) 55px;gap:8px;align-items:center;min-height:30px;color:var(--cc-muted)}
    #b2g-company-card .cc-excess-value{display:flex;gap:3px;align-items:center;color:var(--cc-ink)}
    #b2g-company-card .cc-excess-value input{text-align:right;min-width:0;flex:1;width:0}
    #b2g-company-card .cc-contact-methods{background:var(--cc-surface)}
    #b2g-company-card .cc-contact-methods .cc-module-header{margin-bottom:4px}
    #b2g-company-card .cc-channel-list{display:flex;flex-direction:column;gap:0}
    #b2g-company-card .cc-channel-row{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;gap:6px;align-items:center;min-height:32px}
    #b2g-company-card .cc-channel-icon{position:relative;width:28px;min-height:28px;display:flex;align-items:center;justify-content:center;color:var(--cc-muted)}
    #b2g-company-card .cc-channel-icon>svg{width:15px;height:15px}
    #b2g-company-card .cc-channel-icon>select{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-height:28px;margin:0;padding:0;border:0}
    #b2g-company-card .cc-channel-icon:has(select:focus-visible){color:var(--cc-link);background:var(--cc-blue);border-radius:5px}
    #b2g-company-card .cc-channel-main{display:flex;align-items:center;gap:5px;min-width:0}
    #b2g-company-card .cc-channel-main>input{flex:1;width:0;min-width:0;padding:2px 0;min-height:28px}
    #b2g-company-card .cc-channel-label{font-size:11px;color:var(--cc-muted);max-width:85px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
    #b2g-company-card .cc-channel-primary{display:flex;align-items:center;color:var(--cc-link)}
    #b2g-company-card .cc-channel-primary svg{width:11px;height:11px}
    #b2g-company-card .cc-channel-options,#b2g-company-card .cc-method-add{position:relative}
    #b2g-company-card .cc-channel-options>summary,#b2g-company-card .cc-method-add>summary{display:flex;align-items:center;justify-content:center;list-style:none;min-height:26px;color:var(--cc-muted)}
    #b2g-company-card .cc-channel-options>summary::-webkit-details-marker,#b2g-company-card .cc-method-add>summary::-webkit-details-marker{display:none}
    #b2g-company-card .cc-method-add{margin-left:auto}
    #b2g-company-card .cc-method-add>summary{color:var(--cc-link);gap:4px;font-size:12px}
    #b2g-company-card .cc-channel-menu{position:absolute;right:0;top:29px;z-index:9;background:var(--cc-surface);width:210px;max-width:75vw;padding:8px;border-radius:9px;box-shadow:0 7px 22px #172d4314;display:flex;flex-direction:column;gap:2px}
    #b2g-company-card .cc-channel-menu>button{display:flex;align-items:center;gap:8px;text-align:left;padding:6px;border-radius:5px;min-height:28px}
    #b2g-company-card .cc-channel-menu>button:hover{background:var(--cc-bg)}
    #b2g-company-card .cc-channel-menu>input{min-height:28px;border-bottom-color:var(--cc-line);margin-bottom:4px}
    #b2g-company-card .cc-channel-menu>label{display:flex;align-items:center;gap:8px;min-height:30px;padding:4px 6px}
    #b2g-company-card .cc-channel-menu .cc-remove-channel{color:var(--cc-error)}
    @media(min-width:651px) and (max-width:800px){#b2g-company-card .cc-company-head{display:none}#b2g-company-card .cc-company{grid-template-columns:minmax(0,1fr) 70px var(--cc-company-action-width);gap:2px 6px}#b2g-company-card .cc-company>div{grid-column:1/-1}#b2g-company-card .cc-company>input{grid-column:1}}
    @media(max-width:650px){#b2g-company-card .cc-contact-methods{grid-column:1/-1}#b2g-company-card .cc-companies-scroll{max-height:200px}#b2g-company-card .cc-channel-menu{top:29px}#b2g-company-card .cc-channel-list{max-width:none}#b2g-company-card .cc-grid{gap:10px}}
    @media(max-width:450px){#b2g-company-card .cc-company-head{display:none}#b2g-company-card .cc-company{grid-template-columns:minmax(0,1fr) 70px var(--cc-company-action-width);gap:2px 6px}#b2g-company-card .cc-company>div{grid-column:1/-1}#b2g-company-card .cc-company>input{grid-column:1}#b2g-company-card .cc-identity{flex-basis:100%}#b2g-company-card .cc-heading{margin-bottom:12px}}
    @media(pointer:coarse){#b2g-company-card .cc-tag-plus{min-width:36px;min-height:36px}#b2g-company-card .cc-contact-tag{min-height:32px;padding:5px 7px}#b2g-company-card .cc-channel-row{grid-template-columns:36px minmax(0,1fr) 36px;min-height:44px}#b2g-company-card .cc-channel-icon,#b2g-company-card .cc-channel-icon>select,#b2g-company-card .cc-channel-options>summary{min-height:40px}#b2g-company-card .cc-channel-main>input{min-height:40px}#b2g-company-card .cc-channel-menu{top:42px}#b2g-company-card .cc-channel-menu>button{min-height:40px}#b2g-company-card .cc-company{min-height:43px}}

    #b2g-company-card .cc-max-icon{display:block;width:15px;height:15px;object-fit:contain;flex:none;opacity:.72}
    #b2g-company-card .cc-requisites input::placeholder{color:#88968e}
    #b2g-company-card .cc-bank-field{align-items:start}
    #b2g-company-card .cc-bank-field>span{padding-top:4px}
    #b2g-company-card .cc-bank-picker{min-width:0}
    #b2g-company-card .cc-bank-toggle{display:flex;align-items:center;gap:5px;min-height:28px;width:100%;padding:3px 0;text-align:left;border:0;border-bottom:1px solid transparent;border-radius:0;color:var(--cc-ink);background:transparent;box-shadow:none}
    #b2g-company-card .cc-bank-toggle:hover,#b2g-company-card .cc-bank-toggle:focus-visible{border-bottom-color:var(--cc-link);outline:none}
    #b2g-company-card .cc-bank-toggle>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    #b2g-company-card .cc-bank-toggle>span[data-empty=true]{color:#88968e}
    #b2g-company-card .cc-bank-toggle>svg{width:13px;height:13px;color:var(--cc-muted)}
    #b2g-company-card .cc-bank-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}
    #b2g-company-card .cc-bank-popover{position:fixed;z-index:40;width:280px;max-width:calc(100vw - 24px);max-height:360px;display:flex;flex-direction:column;padding:8px;background:var(--cc-surface);border:0;border-radius:10px;box-shadow:0 7px 24px #172d4322;overflow:hidden}
    #b2g-company-card .cc-bank-popover[hidden]{display:none}
    #b2g-company-card .cc-bank-search{display:flex;align-items:center;gap:7px;padding:0 7px 5px;color:var(--cc-muted);flex:none}
    #b2g-company-card .cc-bank-search>input{min-width:0;min-height:29px;border-bottom-color:var(--cc-line);font-size:12px}
    #b2g-company-card .cc-bank-options{overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
    #b2g-company-card .cc-bank-option{display:flex;align-items:center;gap:9px;padding:5px 7px;min-height:31px;font-size:12px;border-radius:6px}
    #b2g-company-card .cc-bank-option:hover{background:var(--cc-bg)}
    #b2g-company-card .cc-bank-option:has(input:focus-visible){background:var(--cc-blue)}
    #b2g-company-card .cc-bank-all{color:var(--cc-muted);flex:none;margin-bottom:2px}
    #b2g-company-card .cc-requisites-updated{font-size:9px;line-height:14px;color:#7b8e82;margin-top:9px;text-align:right}
    @media(pointer:coarse){#b2g-company-card .cc-bank-option{min-height:42px}#b2g-company-card .cc-bank-toggle{min-height:40px}#b2g-company-card .cc-bank-search>input{font-size:16px;min-height:40px}#b2g-company-card .cc-bank-field>span{padding-top:10px}}

    #b2g-company-card [data-agent-commission][hidden],#b2g-company-card .cc-requisites[hidden],#b2g-company-card [data-agents-label][hidden]{display:none!important}
    #b2g-company-card .cc-overline{display:flex;align-items:center;gap:3px;min-height:22px;flex-wrap:wrap;margin-bottom:2px}
    #b2g-company-card .cc-overline .cc-tag-plus{width:20px;min-height:20px;padding:0;color:#7d8a99}
    #b2g-company-card .cc-overline .cc-tag-plus svg{width:13px;height:13px}
    #b2g-company-card .cc-overline .cc-tag-input{font-size:11px;min-height:22px;line-height:18px;padding:1px 0}
    #b2g-company-card .cc-commission-row{grid-template-columns:103px minmax(0,1fr);gap:8px;min-height:30px}
    #b2g-company-card .cc-commission-row[hidden]{display:none!important}
    #b2g-company-card .cc-commission-row>span{grid-column:auto}
    #b2g-company-card .cc-commission-mode{display:flex;align-items:center;gap:3px;min-width:0;width:fit-content;margin-bottom:4px}
    #b2g-company-card .cc-commission-mode button{padding:4px 8px;min-height:26px;font-size:11px;line-height:18px;border-radius:8px;background:#dce9e2;color:#536d5f;white-space:nowrap;box-shadow:none;border:0}
    #b2g-company-card .cc-commission-mode button[aria-pressed=true]{background:var(--cc-brand);color:#fff}
    #b2g-company-card .cc-commission-mode button:focus-visible{outline:none;box-shadow:inset 0 -2px currentColor}
    #b2g-company-card .cc-commission-row>.cc-percentage{justify-content:flex-start;gap:3px;color:var(--cc-ink)}
    #b2g-company-card .cc-percentage input{width:34px;text-align:left}
    #b2g-company-card .cc-excess-row{grid-template-columns:103px minmax(0,1fr)}
    #b2g-company-card .cc-excess-value{justify-content:flex-start}
    #b2g-company-card .cc-excess-value input{width:34px;flex:none;text-align:left}
    #b2g-company-card .cc-finance[data-contact-type=client] .cc-agents-row{margin-top:0}
    @media(pointer:coarse){#b2g-company-card .cc-overline .cc-tag-plus{width:32px;min-width:32px;min-height:32px}#b2g-company-card .cc-overline .cc-tag-input{font-size:16px;min-height:34px}#b2g-company-card .cc-commission-mode button{min-height:40px;padding:5px 8px;font-size:12px}#b2g-company-card .cc-percentage input,#b2g-company-card .cc-excess-value input{width:38px}}

    #b2g-company-card .cc-grid{align-items:stretch}
    #b2g-company-card .cc-column{min-width:0;min-height:88px}
    #b2g-company-card [data-client-module][hidden]{display:none!important}
    #b2g-company-card .cc-layout-handle{display:inline-flex;align-items:center;justify-content:center;width:19px;min-width:19px;min-height:24px;padding:0;margin:0 -2px 0 -5px;align-self:center;color:#8a98a7;cursor:grab;touch-action:none;opacity:0;transition:opacity .12s;background:transparent;border:0;border-radius:5px;flex:none}
    #b2g-company-card .cc-layout-handle>svg{width:13px;height:15px}
    #b2g-company-card .cc-module-header:hover>.cc-layout-handle,#b2g-company-card .cc-history>summary:hover>.cc-layout-handle,#b2g-company-card .cc-layout-handle:focus-visible,#b2g-company-card .cc-layout-handle[aria-pressed=true]{opacity:1}
    #b2g-company-card .cc-layout-handle:focus-visible,#b2g-company-card .cc-layout-handle[aria-pressed=true]{background:#dcecf5;color:var(--cc-link);outline:none}
    #b2g-company-card .cc-layout-dragging{opacity:.36}
    #b2g-company-card .cc-layout-marker{position:fixed;z-index:110;height:2px;border-radius:2px;background:var(--cc-brand);pointer-events:none}
    #b2g-company-card .cc-layout-marker[hidden]{display:none}
    #b2g-company-card .cc-layout-ghost{position:fixed;z-index:111;display:flex;align-items:center;min-width:110px;max-width:185px;min-height:31px;padding:6px 10px;background:var(--cc-blue);color:var(--cc-ink);box-shadow:0 5px 18px #172d4322;border:0;border-radius:8px;font-size:12px;line-height:18px;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    #b2g-company-card .cc-grid[data-dragging=true]>.cc-column[data-layout-empty=true]{background:#e8f4fc88;border-radius:12px}
    #b2g-company-card .cc-layout-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
    #b2g-company-card [data-view-toggle]{display:inline-flex;align-items:center;gap:5px;color:var(--cc-link);background:transparent;border:0;box-shadow:none;border-radius:7px;padding:5px 7px;min-height:30px;font-size:12px;font-weight:400}
    #b2g-company-card [data-view-toggle]:hover,#b2g-company-card [data-view-toggle]:focus-visible{background:#e5edf4;outline:none}
    #b2g-company-card [data-view-toggle]>svg{width:14px;height:14px}
    #b2g-company-card .cc-view-menu{position:fixed;z-index:70;display:flex;flex-direction:column;max-width:calc(100vw - 24px);max-height:430px;padding:10px;background:var(--cc-surface);border:0;border-radius:10px;box-shadow:0 7px 25px #172d4322}
    #b2g-company-card .cc-view-menu[hidden]{display:none}
    #b2g-company-card .cc-view-head{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--cc-muted);padding-left:5px;margin-bottom:3px;flex:none}
    #b2g-company-card .cc-view-close{margin-left:auto;display:flex;align-items:center;justify-content:center;min-height:25px;width:25px;color:var(--cc-muted);background:transparent;border:0;border-radius:5px}
    #b2g-company-card .cc-view-close:hover,#b2g-company-card .cc-view-close:focus-visible{background:var(--cc-bg);outline:none}
    #b2g-company-card .cc-view-options{overflow:auto;overscroll-behavior:contain;min-height:0}
    #b2g-company-card .cc-view-option{display:flex;align-items:center;gap:9px;padding:5px;min-height:30px;font-size:12px;border-radius:6px}
    #b2g-company-card .cc-view-option:hover{background:var(--cc-bg)}
    #b2g-company-card .cc-view-option:has(input:focus-visible){background:var(--cc-blue)}
    #b2g-company-card .cc-view-reset{display:flex;align-items:center;gap:6px;padding:7px 5px 3px;margin-top:5px;min-height:28px;font-size:11px;color:var(--cc-link);background:transparent;border:0;border-radius:5px;text-align:left;flex:none}
    #b2g-company-card .cc-view-reset:focus-visible{background:var(--cc-blue);outline:none}
    #b2g-company-card .cc-view-reset>svg{width:13px;height:13px}
    @media(max-width:650px){#b2g-company-card .cc-grid{display:flex;flex-direction:column;align-items:stretch}#b2g-company-card .cc-side-column{order:0;display:flex;flex-direction:column}#b2g-company-card .cc-column{min-height:0}#b2g-company-card .cc-grid[data-dragging=true]>.cc-column[data-layout-empty=true]{min-height:65px}#b2g-company-card .cc-module{grid-column:auto}#b2g-company-card .cc-grid{gap:10px}}
    @media(pointer:coarse){#b2g-company-card .cc-layout-handle{opacity:.7;width:27px;min-width:27px;min-height:40px;margin-left:-6px}#b2g-company-card .cc-view-option{min-height:42px}#b2g-company-card [data-view-toggle],#b2g-company-card .cc-view-close,#b2g-company-card .cc-view-reset{min-height:40px}}

  #b2g-company-card .cc-heading{align-items:center;margin-bottom:16px;gap:10px 12px}
#b2g-company-card .cc-identity{flex-basis:420px;min-width:0}
#b2g-company-card .cc-name-and-tags{gap:5px 10px}
#b2g-company-card .cc-name-and-tags h1{min-width:120px;max-width:100%}
#b2g-company-card h1 :is(input,textarea){width:auto;max-width:100%;height:32px}
#b2g-company-card .cp-inn{display:flex;align-items:center;gap:3px;margin-top:2px;color:var(--cc-muted);font-size:11px;min-height:24px}
#b2g-company-card .cp-inn>label{display:flex;align-items:center;gap:7px}
#b2g-company-card .cp-inn input{font-size:11px;width:13ch;min-height:24px;padding:0;line-height:22px;color:var(--cc-muted)}
#b2g-company-card .cp-legal-form{flex-wrap:wrap}
#b2g-company-card .cp-legal-form input{width:20ch;max-width:100%}
#b2g-company-card .cp-inn .cc-icon-button{width:22px;min-height:24px}
#b2g-company-card .cp-inn svg{width:12px;height:12px}
#b2g-company-card .cp-inn [data-copy-status]{font-size:10px;margin-left:3px}
#b2g-company-card .cp-company-status{margin:-8px 0 12px}
#b2g-company-card .cp-projects{background:var(--cc-blue)}
#b2g-company-card .cp-project-toolbar{display:flex;align-items:center;gap:15px;margin:0 0 5px}
#b2g-company-card .cp-switch{display:flex;gap:3px;flex:none}
#b2g-company-card .cp-switch button{padding:3px 8px;min-height:26px;border-radius:8px;background:#dceaf3;color:#5a6e81;font-size:11px}
#b2g-company-card .cp-switch button[aria-pressed=true]{background:var(--cc-brand);color:#fff}
#b2g-company-card .cp-search{display:flex;align-items:center;gap:5px;margin-left:auto;width:165px;color:#6e8398}
#b2g-company-card .cp-search svg{width:13px;height:13px}
#b2g-company-card .cp-search input{font-size:11px;min-height:26px}
#b2g-company-card :is(.cp-project-list,.cp-contact-list,.cp-decision-list){overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;outline:none}
#b2g-company-card .cp-project-list{max-height:330px}
#b2g-company-card .cp-project-row{padding:8px 0}
#b2g-company-card .cp-project-row+.cp-project-row{border-top:1px solid #d6e8f3}
#b2g-company-card .cp-project-line{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:8px;align-items:center}
#b2g-company-card .cp-project-title{color:var(--cc-link);text-align:left;display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}
#b2g-company-card .cp-project-title span{display:block;overflow-wrap:anywhere}
#b2g-company-card .cp-project-chevron{display:flex;align-items:center;justify-content:center;width:18px;height:24px;color:var(--cc-muted)}
#b2g-company-card .cp-project-chevron svg{width:13px;height:13px;transition:transform .1s}
#b2g-company-card .cp-project-chevron[aria-expanded=true] svg{transform:rotate(90deg)}
#b2g-company-card .cp-project-meta{display:flex;gap:5px 12px;flex-wrap:wrap;color:var(--cc-muted);font-size:11px;line-height:17px;padding-top:2px;padding-right:18px}
#b2g-company-card .cp-project-meta>span:first-child{color:#3c5e78}
#b2g-company-card .cp-product-count{font-size:10px;color:var(--cc-muted);white-space:nowrap}
#b2g-company-card .cp-product-progress{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}
#b2g-company-card .cp-pill{display:inline-flex;align-items:center;gap:5px;max-width:100%;border-radius:6px;padding:2px 7px;font-size:10px;line-height:17px;white-space:nowrap;background:var(--pill-bg);color:var(--pill-ink)}
#b2g-company-card .cp-pill:before{content:'';display:block;width:5px;height:5px;border-radius:50%;flex:none;background:var(--pill-dot)}
#b2g-company-card .cp-purple{--pill-bg:#e9e2f4;--pill-ink:#65527e;--pill-dot:#9981be}
#b2g-company-card .cp-blue{--pill-bg:#d8edf9;--pill-ink:#356b90;--pill-dot:#6ab0d9}
#b2g-company-card .cp-yellow{--pill-bg:#fff0c8;--pill-ink:#806625;--pill-dot:#d8b856}
#b2g-company-card .cp-lime{--pill-bg:#e5f1cf;--pill-ink:#57783c;--pill-dot:#96b967}
#b2g-company-card .cp-green{--pill-bg:#d4ecdc;--pill-ink:#2c6e49;--pill-dot:#48a571}
#b2g-company-card .cp-red{--pill-bg:#f6dfe2;--pill-ink:#9b4450;--pill-dot:#d47f89}
#b2g-company-card .cp-project-detail{margin-top:7px;padding:8px 10px;background:#f4f9fd;border-radius:8px;display:flex;flex-direction:column;gap:6px}
#b2g-company-card .cp-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 12px;font-size:11px;line-height:17px}
#b2g-company-card .cp-product-row>.cp-pill{grid-column:1/-1;justify-self:start}
#b2g-company-card .cp-product-amount{color:var(--cc-muted);white-space:nowrap}
#b2g-company-card .cp-contact-list{max-height:274px}
#b2g-company-card .cp-contact{position:relative;padding:8px 0}
#b2g-company-card .cp-contact:first-child{padding-top:1px}
#b2g-company-card .cp-contact+.cp-contact{border-top:1px solid #edf1f5}
#b2g-company-card .cp-contact-head{display:flex;align-items:center;gap:4px}
#b2g-company-card .cp-contact-name{font-size:12px;line-height:19px;overflow-wrap:anywhere}
#b2g-company-card .cp-unlink{margin-left:auto;min-height:24px;width:24px}
#b2g-company-card .cp-unlink svg{width:13px;height:13px}
#b2g-company-card .cp-contact-role{font-size:11px;line-height:18px;min-height:21px;padding:0;display:block;color:var(--cc-muted);width:calc(100% - 24px)}
#b2g-company-card .cp-channel{display:flex;align-items:center;gap:6px;line-height:19px;color:var(--cc-muted);font-size:11px;overflow-wrap:anywhere;max-width:100%}
#b2g-company-card .cp-channel svg{width:12px;height:12px}
#b2g-company-card .cp-channel span{overflow-wrap:anywhere}
#b2g-company-card .cp-unlink-notice{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-top:9px;font-size:11px;color:var(--cc-muted)}
#b2g-company-card .cp-unlink-notice button{font-size:11px}
#b2g-company-card .cp-decisions{background:var(--cc-green)}
#b2g-company-card .cp-decision-list{max-height:240px}
#b2g-company-card .cp-decision{padding:7px 0}
#b2g-company-card .cp-decision:first-child{padding-top:0}
#b2g-company-card .cp-decision+.cp-decision{border-top:1px solid #d9e9df}
#b2g-company-card .cp-decision-head{display:flex;align-items:center;gap:8px;justify-content:space-between}
#b2g-company-card .cp-decision p{font-size:11px;color:#5a7465;line-height:17px;margin-top:2px;overflow-wrap:anywhere}
#b2g-company-card .cp-decision time{font-size:10px;line-height:16px;color:#718678;display:block}
#b2g-company-card .cc-note textarea{min-height:38px;height:38px;max-height:180px}
#b2g-company-card .cc-history-list{max-height:230px;overflow:auto}
#b2g-company-card .cc-field{grid-template-columns:80px minmax(0,1fr)}
#b2g-company-card .cc-inline-panel .cc-field{grid-template-columns:70px minmax(0,1fr)}
#b2g-company-card .cc-company-options{max-height:200px;overflow:auto;overscroll-behavior:contain}
#b2g-company-card .cc-company-options>button{display:flex;flex-direction:column;gap:0}
#b2g-company-card [data-company-field][aria-invalid=true]{border-bottom-color:var(--cc-error);background:#fff4f4}
#b2g-company-card .cp-contact-role[aria-invalid=true]{border-bottom-color:var(--cc-error)}
#b2g-company-card .cp-search-kind{display:block;font-size:10px;color:var(--cc-muted)}
#b2g-company-card .cp-amount-input{display:flex;align-items:center;gap:6px;color:var(--cc-muted)}
#b2g-company-card .cp-amount-input input{width:14ch;max-width:100%;color:var(--cc-ink)}
#b2g-company-card .cc-mail-thread{height:auto;max-height:min(70dvh,640px)}
@media(max-width:650px){#b2g-company-card .cc-heading{gap:8px;margin-bottom:12px}#b2g-company-card .cc-identity{flex-basis:100%}#b2g-company-card [data-save-company]{margin-left:auto}#b2g-company-card .cp-project-list{max-height:290px}#b2g-company-card .cp-contact-list{max-height:240px}#b2g-company-card .cp-project-toolbar{gap:8px}#b2g-company-card .cp-search{width:140px}#b2g-company-card .cp-project-line{gap:5px;grid-template-columns:minmax(0,1fr) auto 16px}#b2g-company-card .cp-pill{font-size:9px;padding:2px 5px;gap:4px}#b2g-company-card .cc-full-mail .cc-field{grid-template-columns:70px minmax(0,1fr)}#b2g-company-card .cc-mail-thread{max-height:60dvh}}
@media(pointer:coarse){#b2g-company-card .cp-switch button{min-height:38px}#b2g-company-card .cp-project-title{min-height:36px}#b2g-company-card .cp-unlink{min-height:36px;width:32px}#b2g-company-card .cp-contact-role{min-height:32px}#b2g-company-card .cp-search input,#b2g-company-card .cc-inline-panel input{font-size:16px}}
#b2g-company-card .cc-documents{padding:0;background:#efedfa;position:relative}
#b2g-company-card .cc-documents-grip-host{position:absolute;left:12px;top:12px;width:24px;min-height:24px;margin:0;z-index:2;pointer-events:none}
#b2g-company-card .cc-documents-grip-host>.cc-layout-handle{margin:0;pointer-events:auto}
#b2g-company-card .cc-documents:hover .cc-layout-handle{opacity:1}
#b2g-company-card .cc-difficulties{background:#F8E8E6;border:0;box-shadow:none}
#b2g-company-card .cc-difficulty-flags{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px 20px;align-items:start}
#b2g-company-card .cc-difficulty-check{display:flex;align-items:flex-start;gap:8px;min-height:29px;padding:4px 0;font-size:12px;line-height:18px;cursor:pointer;font-weight:400}
#b2g-company-card .cc-difficulty-check input[type=checkbox]{margin-top:1px;accent-color:var(--cc-brand);flex:none}
#b2g-company-card .cc-difficulty-check span{overflow-wrap:anywhere}
#b2g-company-card .cc-young-row{display:flex;align-items:flex-start;gap:12px}
#b2g-company-card .cc-company-age{display:flex;align-items:center;gap:4px;color:#8f8167;min-height:29px;font-size:11px}
#b2g-company-card .cc-company-age input{width:32px;min-height:27px;padding:2px 0;line-height:20px;text-align:left;border-bottom-color:#d6c8ac;color:var(--cc-ink);font-size:12px}
#b2g-company-card .cc-company-age:has(input:disabled){opacity:.45}
#b2g-company-card .cc-company-age input:disabled{border-bottom-color:transparent}
#b2g-company-card .cc-company-age input[aria-invalid=true]{border-bottom-color:var(--cc-error)}
#b2g-company-card .cc-difficulty-fields{margin-top:10px}
#b2g-company-card .cc-region-field{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:10px}
#b2g-company-card .cc-region-field>label{font-size:11px;line-height:18px;color:#887a60}
#b2g-company-card .cc-region-picker{position:relative;max-width:430px}
#b2g-company-card .cc-region-line{display:flex;align-items:center;gap:6px}
#b2g-company-card .cc-region-line>svg{width:13px;height:13px;color:#9a8b72}
#b2g-company-card .cc-region-line>input{min-height:28px;line-height:20px;flex:1;width:0;border-bottom-color:#d6c8ac}
#b2g-company-card .cc-region-line>input[aria-invalid=true]{border-bottom-color:var(--cc-error)}
#b2g-company-card .cc-region-line>input::placeholder{color:#a4947b;font-size:11px}
#b2g-company-card .cc-region-clear{width:22px;min-height:27px;color:#95866d}
#b2g-company-card .cc-region-clear svg{width:12px;height:12px}
#b2g-company-card .cc-region-options{position:fixed;z-index:75;display:flex;flex-direction:column;max-height:210px;overflow:auto;overscroll-behavior:contain;padding:5px;background:#fff8e9;border-radius:8px;border:0;box-shadow:0 6px 18px #6d54221a}
#b2g-company-card .cc-region-options>button{display:block;width:100%;flex:none;padding:6px 8px;min-height:30px;font-size:12px;line-height:18px;text-align:left;border-radius:6px;background:transparent;color:var(--cc-ink);white-space:normal;overflow-wrap:anywhere}
#b2g-company-card .cc-region-options>button:hover{background:#eee8da}
#b2g-company-card .cc-region-options>button[aria-selected=true]{background:var(--cc-brand);color:#fff}
#b2g-company-card .cc-region-empty{font-size:11px;color:#9a8b72;padding:6px 8px}
#b2g-company-card .cc-region-search-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:820px) and (min-width:651px){#b2g-company-card .cc-difficulty-flags{grid-template-columns:1fr;gap:1px}#b2g-company-card .cc-region-field{grid-template-columns:1fr;gap:1px}}
@media(max-width:500px){#b2g-company-card .cc-difficulty-flags{grid-template-columns:1fr;gap:1px}#b2g-company-card .cc-region-field{grid-template-columns:1fr;gap:1px}#b2g-company-card .cc-region-picker{max-width:100%}#b2g-company-card .cc-difficulty-check{min-height:29px}}
@media(pointer:coarse){#b2g-company-card .cc-difficulty-check{min-height:39px;padding:9px 0}#b2g-company-card .cc-company-age{min-height:39px}#b2g-company-card .cc-company-age input{font-size:16px;min-height:36px}#b2g-company-card .cc-region-line>input{font-size:16px;min-height:38px}#b2g-company-card .cc-region-options>button{min-height:40px}#b2g-company-card .cc-region-clear{min-height:38px;width:30px}}
#b2g-company-card .cc-banks{background:var(--cc-green);padding:12px;border:0;box-shadow:none}
#b2g-company-card .cc-banks>.cc-module-header{margin-bottom:7px}
#b2g-company-card [data-open-banks],#b2g-company-card [data-difficulties-toggle]{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:18px;color:var(--cc-link);min-height:25px}
#b2g-company-card [data-open-banks]>svg,#b2g-company-card [data-difficulties-toggle]>svg{width:12px;height:12px}
#b2g-company-card .cc-difficulty-summary-flags{display:flex;flex-direction:column;gap:0}
#b2g-company-card .cc-difficulty-summary-flags .cc-difficulty-check{padding:3px 0;min-height:25px}
#b2g-company-card .cc-summary-region{display:inline-flex;gap:6px;align-items:center;font-size:11px;line-height:18px;min-height:25px;color:#7f6e4b;text-align:left;margin-top:3px;overflow-wrap:anywhere}
#b2g-company-card .cc-summary-region>svg{width:13px;height:13px}
#b2g-company-card .cc-summary-region:hover{text-decoration:underline;text-underline-offset:3px}
#b2g-company-card .cc-difficulty-empty{font-size:11px;color:#a08e70;line-height:18px;padding:1px 0}
#b2g-company-card .cc-difficulties .cc-difficulty-flags{grid-template-columns:1fr;gap:1px}
#b2g-company-card .cc-difficulties .cc-region-field{grid-template-columns:1fr;gap:1px}
#b2g-company-card .cc-third-column{display:flex;flex-direction:column;gap:12px;min-height:88px}
#b2g-company-card .cc-grid[data-layout-mode="3"]{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr) minmax(270px,1fr);gap:12px;align-items:stretch}
#b2g-company-card .cc-view-layout{display:flex;gap:4px;padding:5px;margin:1px 0 7px;flex:none}
#b2g-company-card .cc-view-layout>button{flex:1;padding:5px 8px;min-height:28px;font-size:11px;line-height:18px;border-radius:7px;background:#edf1f5;color:#64758a;border:0}
#b2g-company-card .cc-view-layout>button[aria-pressed=true]{background:var(--cc-brand);color:#fff}
#b2g-company-card .cc-banks{container-type:inline-size}
#b2g-company-card .cc-difficulties{container-type:inline-size}
@container(min-width:520px){#b2g-company-card .cc-difficulties .cc-difficulty-flags{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 20px}#b2g-company-card .cc-difficulties .cc-region-field{grid-template-columns:125px minmax(0,1fr);gap:10px}}
@media(max-width:1039px){#b2g-company-card .cc-grid[data-layout-mode="3"]{display:flex;flex-direction:column;gap:10px}#b2g-company-card .cc-grid[data-layout-mode="3"]>.cc-column{display:flex;flex-direction:column;order:0;min-height:0}}
@media(max-width:650px){#b2g-company-card .cc-third-column{min-height:0;gap:10px}}
@media(pointer:coarse){#b2g-company-card .cc-view-layout>button{min-height:39px}#b2g-company-card [data-open-banks],#b2g-company-card [data-difficulties-toggle]{min-height:36px}#b2g-company-card .cc-difficulty-summary-flags .cc-difficulty-check{min-height:37px;padding:8px 0}}
#b2g-company-card .cc-difficulty-check{cursor:default}
#b2g-company-card .cc-difficulty-check input[type=checkbox]{cursor:pointer}

.company-workspace{width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#f2f5f9;color:#172d43}
.company-workspace .dialog-scroll{padding:0;max-height:none;height:100%;overflow:auto}
.company-workspace>.dialog-header[hidden],.company-workspace>.dialog-footer[hidden]{display:none}
#b2g-company-card .cc-chrome .global-search-host{margin-left:auto;max-width:300px;min-width:150px;flex:0 1 260px}
#b2g-company-card .cc-grid>.cc-column{min-width:0}
#b2g-company-card .cc-documents{padding:12px;background:#efedfa}
#b2g-company-card .cc-documents .cc-module-header{margin-bottom:8px}
#b2g-company-card .cc-close{margin-left:0}
#b2g-company-card .focus-mail-view{font-size:12px;line-height:18px}
#b2g-company-card .focus-mail-history{resize:vertical;max-height:min(70dvh,640px);overflow:auto;min-height:100px}
#b2g-company-card .focus-mail-view .mail-correspondence{border:0;background:transparent;margin:0;padding:0}
#b2g-company-card .focus-mail-view .mail-correspondence>summary{display:none}
#b2g-company-card .focus-mail-view .mail-correspondence>.mail-list{overflow:visible;max-height:none;resize:none}
#b2g-company-card .focus-mail-view .mail-message{border:0;background:transparent;padding:7px 0;border-radius:0;box-shadow:none}
#b2g-company-card .focus-mail-view .mail-message+.mail-message{border-top:1px solid #edf1f5}
#b2g-company-card .focus-mail-view .mail-body{font:inherit;white-space:pre-wrap}
#b2g-company-card .focus-mail-view .mail-quick-compose{background:transparent;border:0;margin-top:8px;padding:0}
#b2g-company-card .focus-mail-view .mail-quick-compose textarea{font:inherit;min-height:24px;max-height:180px;padding:2px 0;border:0;border-bottom:1px solid #dce5ee;resize:vertical;border-radius:0;background:transparent;color:#172d43}
#b2g-company-card .focus-mail-view .mail-quick-compose .primary{background:#049FE5;color:#fff;border:0;border-radius:8px;font-size:12px;padding:5px 10px}
#b2g-company-card .cc-history .audit-body{max-height:230px;overflow:auto}
#b2g-company-card .cc-history>summary{display:flex;align-items:center;gap:6px}
#b2g-company-card .cc-history .audit-list{font-size:11px;padding-left:20px}
#b2g-company-card .cc-history .audit-action{font-weight:400;font-size:12px}
#b2g-company-card .cc-layout-handle{touch-action:none}
#b2g-company-card :is(button,a,input,select,textarea):where(:not(.focus-documents-ui *):not(.focus-mail-view *):not(.fd-popup *):not(.fd-field *)):focus-visible{outline:none}
#b2g-company-card :is(.cc-icon-button,.cc-tag-plus,.cc-view-toggle):focus-visible{background:#dcecf7;color:#006fae}
#b2g-company-card input[type=checkbox]:focus-visible{filter:brightness(.8)}
#b2g-company-card .cc-overline{display:flex;align-items:center;gap:3px}
@media(max-width:650px){#b2g-company-card .focus-mail-history{max-height:60dvh}#b2g-company-card .cc-chrome .global-search-host{flex-basis:100%;max-width:none;order:5;margin-left:0}#b2g-company-card .cc-documents{padding:0}}

/* Preserve the existing single compact mail editor. */
#b2g-company-card .focus-mail-toolbar:has(.focus-mail-tabs:empty){position:absolute;right:12px;top:10px}#b2g-company-card .cc-mail{position:relative}#b2g-company-card .focus-mail-history{min-height:24px;padding:0 0 8px}#b2g-company-card .mail-conversation{border:0;background:transparent;padding:0;margin:0}#b2g-company-card .mail-list{padding:0}#b2g-company-card .mail-message{padding:7px 0;margin:0;border:0;border-bottom:1px solid #e8edf2;border-radius:0;background:transparent}#b2g-company-card .mail-message>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}#b2g-company-card .mail-message-meta,#b2g-company-card .mail-message-addresses,#b2g-company-card .mail-reply-context{font-size:11px;color:var(--cc-muted)}#b2g-company-card .mail-message-select{text-align:left;color:var(--cc-ink)}#b2g-company-card .mail-body{white-space:pre-wrap;overflow-wrap:anywhere}#b2g-company-card .mail-quick-compose{border:0;background:transparent;padding:0;margin:0}#b2g-company-card .mail-quick-compose>textarea{min-height:24px;max-height:180px;resize:vertical;border-bottom-color:var(--cc-line)}#b2g-company-card .mail-quick-files{display:flex;justify-content:space-between}#b2g-company-card .mail-quick-files>.button{color:#fff;background:var(--cc-brand);padding:5px 11px;border-radius:8px}#b2g-company-card .mail-full-form[open]{display:block}#b2g-company-card .mail-full-form>label{display:grid;grid-template-columns:103px minmax(0,1fr);gap:8px;align-items:center}#b2g-company-card .cc-channel-menu{z-index:15}
#b2g-company-card .global-search-host{width:210px;max-width:28%}
#b2g-company-card .mail-conversation{display:block;max-height:none;overflow:visible}#b2g-company-card .mail-conversation .mail-list{overflow:visible}#b2g-company-card .focus-mail-history{max-height:none;min-height:24px}#b2g-company-card .mail-message-meta{flex:none}#b2g-company-card .cc-column:empty{min-height:65px}
#b2g-company-card .global-search-input{height:26px;min-height:26px;border-bottom:1px solid var(--cc-line);padding:0 22px 0 0;font-size:12px}#b2g-company-card .mail-correspondence .mail-list{max-height:none;overflow:visible}
.company-workspace.dialog{inset:0;box-shadow:none}
.company-workspace [hidden]{display:none!important}
#b2g-company-card .mail-quick-compose :is(input,select,textarea){font:inherit;background:transparent;color:var(--cc-ink);border:0;border-bottom:1px solid var(--cc-line);border-radius:0;padding:2px 0;min-height:24px;width:100%}
#b2g-company-card .mail-quick-compose .mail-quick-files>.button{background:var(--cc-brand);color:#fff}
#b2g-company-card .focus-mail-history{max-height:min(70dvh,640px)}
#b2g-company-card .cc-history{font-size:12px}
@media(max-width:650px){#b2g-company-card .focus-mail-history{max-height:60dvh}#b2g-company-card .global-search-host{width:100%;max-width:100%}}

#b2g-company-card .cp-project-title{justify-content:flex-start}#b2g-company-card .mail-quick-files>.button{font-weight:400}#b2g-company-card .mail-quick-files>label{font-weight:400}

#b2g-company-card .cp-contact-role-error{font-size:11px;line-height:17px;color:var(--cc-error)}
#b2g-company-card .cc-contact-candidate{display:flex;flex-direction:column;text-align:left;padding:5px 7px;border-radius:6px;width:100%}#b2g-company-card .cc-contact-candidate[aria-selected=true]{background:#dcecf7}#b2g-company-card .cc-contact-candidate small{font-size:11px;color:var(--cc-muted)}

@media(max-width:650px){#b2g-company-card .cc-grid{display:flex;flex-direction:column}#b2g-company-card .cc-side-column{display:flex;flex-direction:column;order:0}}

/* CARD26: real measured width, full soft wrapping and growing height. */
#b2g-company-card h1 textarea[name=legalName]{box-sizing:border-box;display:block;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:500 20px/28px Inter,system-ui,sans-serif;min-height:30px;height:auto;max-width:100%;padding:0}
#b2g-company-card .cc-contact-tags{max-width:100%;min-width:0}

/* public/application-create.css */
/* NP25 r4, scoped to the existing creation drawer. */
dialog.np-create{--brand:#049fe5;--ink:#172d43;--muted:#53657b;--link:#006fae;--blue:#e8f4fc;--red:#9b3345;font:12px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:block;min-width:0;box-shadow:none;inset:0;height:fit-content}
.np-create *{box-sizing:border-box;min-width:0}.np-create [hidden]{display:none!important}
.np-create .dialog-shell{height:auto;display:block;max-height:none;min-height:0;background:transparent;overflow:visible}
.np-create .dialog-header{padding:0;border:0;margin:0;position:static;background:transparent;min-height:30px}
.np-create .dialog-scroll{padding:0;margin:0;overflow:visible;max-height:none;flex:none;background:transparent}
.np-create .dialog-footer{box-shadow:none;padding:0;border:0;position:static;background:transparent}
.np-create h2{margin:0;font-weight:500;font-size:19px;letter-spacing:-.3px;color:var(--ink)}
.np-create form{margin:0;display:block;gap:0}.np-create input,.np-create select,.np-create button{font:inherit;color:inherit;font-weight:400;box-shadow:none}
.np-create input{border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;outline:0;padding:6px 0;line-height:20px;width:100%;min-height:0;height:auto}
.np-create input:hover{border-bottom-color:#b8ccdb}.np-create input:focus{border-bottom-color:var(--brand)}.np-create input::placeholder{color:#8395a5}
.np-create button{border:0;background:transparent;padding:0;cursor:pointer;min-width:0;letter-spacing:normal}.np-create button:focus-visible{outline:0;background:#d8ebf9;text-decoration:underline;text-underline-offset:4px}.np-create button:disabled{cursor:default;opacity:.5}
.np-create svg{width:15px;height:15px;display:block;flex:none;stroke-width:1.6}.np-create .icon{display:inline-flex;align-items:center;justify-content:center;flex:none}
.np-create .primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--brand);color:#fff;border-radius:8px;padding:8px 13px;min-height:34px;white-space:nowrap}.np-create .primary:hover{background:#0093d5}.np-create .primary:focus-visible{background:#0089c9;color:white}
.np-create .dialog-header .icon-button{margin:0;min-width:30px;min-height:30px;width:30px;height:30px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);flex:none}.np-create .icon-button:hover{background:#dcebf6}
.np-create .np-error{font-size:11px;color:var(--red);margin-top:5px}.np-create .np-error:empty{display:none}.np-create .form-fields{margin:0}
dialog.np-create{padding:0;border:0;outline:0;border-radius:15px;color:var(--ink);background:var(--blue);width:532px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 36px);margin:auto;box-shadow:none;overflow:auto;scrollbar-width:thin}
dialog.np-create::backdrop{background:#172d4338;backdrop-filter:blur(2px)}
.np-create .form-shell{padding:22px 24px 20px}
.np-create .form-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.np-create .form-heading h2{font-size:19px;letter-spacing:-.3px}
.np-create .owner-field{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:25px}
.np-create .owner-control{position:relative;display:inline-flex;align-items:center;max-width:100%}
.np-create .owner-control select{appearance:none;-webkit-appearance:none;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;box-shadow:none;outline:0;color:var(--link);font:inherit;padding:3px 17px 3px 0;max-width:190px;cursor:pointer}
.np-create .owner-control select:hover{border-bottom-color:#abc9dc}
.np-create .owner-control select:focus{border-bottom-color:var(--brand)}
.np-create .owner-control select:disabled{color:var(--muted);cursor:default}
.np-create .owner-control>.icon{position:absolute;right:0;pointer-events:none;color:var(--link)}
.np-create .owner-control svg{width:11px;height:11px}
.np-create .form-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 23px;font-size:10px;color:#71869b}
.np-create .stage-badge{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:4px 7px;background:#eee8f8;color:#674aa1;font-size:10px}
.np-create .stage-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:#8763b5}
.np-create .field{margin:0 0 20px}
.np-create .field-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-bottom:2px;min-height:22px}
.np-create .field-label svg{width:14px;height:14px}
.np-create .input-row{display:flex;align-items:center;gap:4px}
.np-create .input-row>input{flex:1;font-size:12px;min-height:34px}
.np-create .input-row .clear{width:24px;height:26px;color:#8195a7}
.np-create .input-row .clear:hover{color:var(--ink)}
.np-create .input-row .clear svg{width:12px;height:12px}
.np-create .contact-meta{font-size:10px;color:#6a8197;display:flex;gap:12px;flex-wrap:wrap;margin-top:3px}
.np-create .contact-meta>span{display:inline-flex;align-items:center;gap:4px;overflow-wrap:anywhere}
.np-create .contact-meta svg{width:11px;height:11px}
.np-create .choices{margin:5px 0 1px;padding:5px;background:#fff;border-radius:10px;max-height:214px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.np-create .suggestion{display:flex;align-items:center;gap:8px;text-align:left;width:100%;border-radius:7px;padding:8px 9px;min-height:44px}
.np-create .suggestion:hover,.np-create .suggestion.active{background:#edf5fc}
.np-create .suggestion .choice-copy{flex:1}
.np-create .suggestion .choice-name{display:block;font-size:12px;overflow-wrap:anywhere}
.np-create .suggestion .choice-meta{display:block;font-size:10px;color:#74899b;margin-top:2px;overflow-wrap:anywhere}
.np-create .suggestion>.icon{color:#7893a9}
.np-create .suggestion>.icon svg{width:14px;height:14px}
.np-create .suggestion .selected-mark{color:var(--brand);margin-left:auto}
.np-create .choice-actions{display:flex;flex-wrap:wrap;gap:5px 14px;padding:5px 9px 3px}
.np-create .choice-actions button{display:inline-flex;align-items:center;gap:5px;color:var(--link);font-size:11px;min-height:29px}
.np-create .choice-actions svg{width:12px;height:12px}
.np-create .choice-empty{font-size:11px;color:#7c8e9f;padding:10px 9px}
.np-create .inline-new{background:#f5faff;border-radius:10px;padding:12px;margin-top:6px}
.np-create .inline-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin-bottom:7px}
.np-create .inline-head button{color:var(--link);font-size:10px;min-height:24px}
.np-create .inline-new input{font-size:12px;min-height:33px}
.np-create .inline-new label{display:block;font-size:10px;color:#6f8599;margin-top:7px}
.np-create .inline-new label:first-of-type{margin-top:0}
.np-create .inline-new .preview-name{margin-bottom:7px;color:var(--ink)}
.np-create .helper-line{font-size:10px;color:#71899e;margin-top:6px}
.np-create .link-confirm{display:flex;align-items:flex-start;gap:8px;margin-top:9px;font-size:11px;color:#4f6b83}
.np-create .link-confirm input{width:14px;height:14px;flex:none;padding:0;margin:2px 0 0;accent-color:var(--brand)}
.np-create .field-error{font-size:11px;color:var(--red);margin-top:4px}
.np-create .invalid>input,.np-create .invalid input[aria-invalid=true]{border-bottom-color:#c55c6b}
.np-create .product-field{margin-top:2px;margin-bottom:18px}
.np-create .product-row{display:flex;align-items:center;gap:12px}
.np-create .product-options{display:flex;gap:19px;flex:1;align-items:center;flex-wrap:wrap}
.np-create .product-choice{flex:none;min-height:31px;padding:5px 0;border-radius:0;background:transparent;color:var(--muted);white-space:nowrap;font-size:11px;position:relative}
.np-create .product-choice:hover{background:transparent;color:var(--ink)}
.np-create .product-choice[aria-pressed=true]{color:var(--ink);background:transparent}
.np-create .product-choice[aria-pressed=true]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--brand)}
.np-create .amount-field{margin:0}
.np-create .amount-row{display:flex;align-items:center;gap:12px}
.np-create .amount-row>.field-label{width:68px;margin:0;flex:none}
.np-create .amount-input{display:flex;align-items:center;gap:6px;flex:1}
.np-create .amount-input input{font-size:12px;max-width:160px}
.np-create .amount-input span{font-size:12px;color:var(--muted)}
.np-create .form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}
.np-create .keyboard{font-size:10px;color:#8499ab}
.np-create .keyboard kbd{font:inherit}
.np-create .form-footer .primary{margin-left:auto;min-height:35px}
.np-create .form-footer .primary svg{width:13px;height:13px}
.np-create .new-link-note{font-size:10px;color:#7a8c9c;margin-top:6px}
.np-create fieldset{border:0;padding:0;margin:0;min-width:0}
.np-create fieldset[disabled]{opacity:.65}
@media(max-width:620px){dialog.np-create{max-width:100%;width:100%;max-height:92dvh;margin:auto 0 0;border-radius:15px 15px 0 0}.np-create .form-shell{padding:20px 19px max(20px,env(safe-area-inset-bottom))}.np-create .form-meta{margin-bottom:20px}.np-create .field{margin-bottom:18px}.np-create .input-row>input{font-size:16px;line-height:21px;min-height:39px}.np-create .inline-new input,.np-create .amount-input input{font-size:16px;min-height:38px}.np-create .product-options{gap:5px 17px}.np-create .product-choice{min-height:34px;font-size:11px}.np-create .amount-row>.field-label{width:63px}.np-create .product-row{align-items:flex-start;gap:9px}.np-create .choices{max-height:210px}.np-create .suggestion{min-height:48px;padding:9px}.np-create .choice-actions button{min-height:34px}.np-create .amount-row{gap:9px}.np-create .form-footer{margin-top:20px}.np-create .form-footer .primary{min-height:40px;padding:9px 12px}.np-create .keyboard{font-size:9px}.np-create .inline-new .inline-head button{min-height:30px}.np-create .link-confirm{line-height:18px}.np-create .link-confirm input{width:16px;height:16px}.np-create .choices .choice-name{font-size:12px}}
/* Existing notification areas share one compact actionable workflow notice. */
.stage-validation{background:#fff1d9;color:#6c5021;border:0;border-radius:10px;padding:10px 12px;font-size:12px;line-height:1.5;text-align:left;max-width:100%}.stage-validation p{margin:0;font-weight:500}.stage-validation ul{margin:4px 0 0;padding-left:17px;display:flex;flex-wrap:wrap;gap:2px 24px}.stage-validation li{max-width:100%;font-size:11px}.stage-validation-link{font:inherit;color:#006fae;background:transparent;border:0;padding:2px 0;cursor:pointer;text-align:left;white-space:normal}.stage-validation-link:hover{text-decoration:underline}.stage-validation-link:focus-visible{outline:none;background:#e8f0f5;text-decoration:underline;text-underline-offset:4px;border-radius:3px}@media(max-width:620px){.stage-validation ul{display:block}.stage-validation-link{min-height:32px}}

/* public/card-history.css */
.dialog .card-header-leading{display:flex;align-items:center;gap:12px;min-width:0}
.dialog .card-header-leading>h2{flex:1;min-width:0}
.card-history-nav{display:inline-flex;align-items:center;gap:2px;flex:none;min-width:74px}
.card-history-nav>.card-history-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:36px;min-width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:#425f72;font:400 12px/18px Inter,system-ui,sans-serif;cursor:pointer}
.card-history-nav>.card-history-button:enabled:hover{background:#e8f5fc;color:#007cba}
.card-history-nav>.card-history-button:disabled{opacity:.3;cursor:default}
.card-history-nav:focus,.card-history-nav>.card-history-button:focus{outline:none;box-shadow:none}
.card-history-nav>.card-history-button:focus-visible,.card-history-nav:focus-visible{outline:none;box-shadow:none;background:#e8f5fc;text-decoration:underline;text-underline-offset:4px;border-radius:6px}
/* One compact chrome for project, contact and company; keep the approved contact dimensions. */
:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome){display:flex;align-items:center;gap:28px;min-width:0;min-height:52px;box-sizing:border-box;padding:10px 16px;font:400 12px/18px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}
:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome)>.cc-logo{width:94px;height:32px;object-fit:contain;flex:none}
:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav-links,.cc-nav){display:flex;align-items:center;gap:20px;font:inherit}
:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav-links,.cc-nav)>.button{display:inline-flex;align-items:center;padding:0;min-height:40px;font:inherit}
:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome) .global-search-host{margin-left:auto;min-width:150px;max-width:320px;flex:0 1 260px}
:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome) .global-search-input{height:26px;min-height:26px;box-sizing:border-box;padding:0 26px 0 0;font:inherit}
@media(max-width:650px){
 :is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome){flex-wrap:wrap;gap:12px;padding:10px 12px}
 :is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome)>.card-history-nav{margin-left:auto}
 :is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav-links,.cc-nav){gap:10px}
 :is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome) .global-search-host{order:5;flex-basis:100%;width:100%;max-width:none;margin:0}
}
@media(max-width:450px){:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav,.cc-chrome)>.cc-logo{width:82px;height:28px}:is(.dialog.unified-card,#b2g-client-concept,#b2g-company-card) :is(.unified-nav-links,.cc-nav){font-size:11px}}
/* BANK27 shared row: search/account controls wrap into existing content space, never a taller white bar. */
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome{display:flex;flex-wrap:nowrap;align-items:center;box-sizing:border-box;height:60px;min-height:60px;max-height:60px;width:100%;gap:28px;margin:0;padding:10px 16px;background:#fff;font:400 12px/18px Inter,system-ui,sans-serif;min-width:0;flex:none}
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome :is(.logo,.cc-logo){flex:none;width:94px;height:32px;object-fit:contain;margin:0;padding:0}
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome .logo img{display:block;width:100%;height:100%;object-fit:contain}
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome>.card-history-nav{margin:0;flex:none}
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome>:is(nav,.unified-nav-links,.cc-nav){min-width:0;display:flex;align-items:center;gap:20px}
.crm-chrome-secondary{display:flex;align-items:center;gap:12px;min-width:0;padding:6px 12px;background:#f2f5f9;font:400 12px/18px Inter,system-ui,sans-serif}.crm-chrome-secondary[hidden]{display:none!important}.crm-chrome-secondary :is(.header-search,.global-search-host){flex:1;min-width:0;max-width:none;width:auto;margin:0}.crm-chrome-secondary .environment{display:none}.crm-chrome-secondary .user-menu{margin-left:auto;flex:none}.crm-chrome .breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-chrome .card-header-leading{flex:1;min-width:0}.crm-chrome h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:20px;margin:0}.crm-chrome .environment{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:650px){:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome{gap:12px;padding:10px 12px}:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome :is(.logo,.cc-logo){width:82px;height:28px}:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) :is(header,nav).crm-chrome>:is(nav,.unified-nav-links,.cc-nav){gap:10px;font-size:11px}.crm-chrome .nav-link{font-size:11px;padding:0}.crm-chrome .card-header-leading{gap:8px}}

.dialog:has(.crm-chrome){overflow:clip}

.crm-chrome-secondary{flex-wrap:wrap}.crm-chrome-secondary>:is(nav,.unified-nav-links){display:flex;align-items:center;gap:20px;width:100%;flex-basis:100%;order:-1;min-width:0}.crm-chrome-secondary :is(.nav-link,.cc-link,.unified-nav-links>.button,.cc-nav>.button){display:inline-flex!important;align-items:center;min-height:30px;padding:0;font:400 12px/18px Inter,system-ui,sans-serif;white-space:nowrap;border:0;background:transparent;box-shadow:none}.crm-chrome-secondary .header-search{order:1}.crm-chrome-secondary>.user-menu{margin-left:auto}

@media(max-width:1023px){.app-shell:has(.topbar.crm-chrome){grid-template-columns:minmax(0,1fr)}.crm-chrome>.brand{display:flex;gap:5px;width:82px;flex:none;padding:0;margin:0}.crm-chrome>.brand .brand-logo{width:28px;height:28px}.crm-chrome>.brand .brand-word{font-size:13px;line-height:15px}.crm-chrome>.brand .brand-finance{font-size:9px;line-height:11px}.crm-chrome>.brand small{display:none}.topbar.crm-chrome .breadcrumb{display:none}.app-shell .crm-chrome-secondary>.sidebar{position:static;display:block;width:100%;min-height:0;height:auto;padding:0;border:0;background:transparent;box-shadow:none;flex-basis:100%;order:-2}.crm-chrome-secondary>.sidebar .nav{display:flex;flex-wrap:wrap;gap:4px 16px;padding:0}.crm-chrome-secondary>.sidebar .nav-button{display:inline-flex;width:auto;min-height:30px;margin:0;padding:0;background:transparent;border:0;font:400 12px/18px Inter,system-ui,sans-serif}.crm-chrome-secondary>.sidebar .nav-symbol{display:none}.crm-chrome-secondary>.sidebar .user-block{position:static;max-width:none;display:flex;border:0;margin:4px 0 0;padding:0;gap:6px;font-size:11px}.crm-chrome-secondary>.sidebar .user-role{display:none}.crm-chrome-secondary>.sidebar .avatar{width:24px;height:24px}.crm-chrome-secondary>.sidebar .user-name{font-size:11px}.crm-chrome-secondary>.sidebar .icon-button{margin-left:auto;min-height:26px;min-width:26px}}

/* Shared compact range: move the original controls before the primary row collides. */
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) .crm-chrome-secondary{box-sizing:border-box;width:100%}
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) .crm-chrome-secondary>:is(nav,.unified-nav-links,.cc-nav){display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;width:100%;height:auto;flex:0 0 100%;margin:0;order:-1;min-width:0}
:is(#app,#b2g-dashboard,#b2g-projects-page,#b2g-client-concept,#b2g-company-card,.dialog) .crm-chrome-secondary :is(.header-search,.global-search-host){box-sizing:border-box;order:1;flex:1 1 100%;width:100%;min-width:0;max-width:none;margin:0;padding:0}

.crm-chrome-secondary>.sidebar .nav-label{display:inline}

/* public/bank-conditions.css */
.bank27-panel{max-width:520px;width:100%;box-sizing:border-box;margin:12px 0 0;padding:20px;background:#fff;border:0;border-radius:12px;box-shadow:none;font:400 12px/18px Inter,system-ui,sans-serif}
.bank27-panel[hidden],.bank27-history[hidden]{display:none!important}.bank27-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.bank27-panel h3,.bank27-history h3{margin:0;font:500 15px/20px Inter,system-ui,sans-serif}
.bank27-panel .bank27-close{background:transparent;border:0;box-shadow:none;width:28px;min-height:28px;padding:0;font:400 20px/24px Inter,system-ui,sans-serif;color:#53657b}
.bank27-field{display:grid;grid-template-columns:140px minmax(0,1fr);gap:4px 10px;align-items:center;margin:0;padding:6px 0;color:#53657b}.bank27-entry{display:flex;align-items:center;gap:6px;min-width:0}.bank27-panel .bank27-entry :is(input,select){box-sizing:border-box;min-width:0;width:100%;height:30px;min-height:30px;padding:4px 0;font:400 12px/18px Inter,system-ui,sans-serif;border:0;border-bottom:1px solid #dce5ee;border-radius:0;background:transparent;box-shadow:none;color:#172d43}.bank27-panel :is(input,select):focus{outline:none;border-bottom-color:#049fe5}.bank27-panel input[readonly]{border-bottom-color:transparent;color:#53657b}.bank27-field-error{grid-column:2;color:#a1394e;font-size:11px}.bank27-field-error:empty{display:none}.bank27-result{display:grid;grid-template-columns:140px minmax(0,1fr);gap:4px 10px;padding:12px 0;font-weight:400}.bank27-result output{font:400 15px/20px Inter,system-ui,sans-serif}.bank27-result small{grid-column:2;color:#738397;font-size:11px}.bank27-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:10px}.bank27-panel .bank27-actions>.button{font:400 12px/18px Inter,system-ui,sans-serif;border:0;box-shadow:none;padding:8px 12px;min-height:34px}.bank27-panel .primary{background:#049fe5;color:#fff;border-radius:7px}.bank27-panel .text-button{background:transparent;color:#53657b}.bank27-error{color:#a1394e;overflow-wrap:anywhere}.bank27-error:empty{display:none}
.bank27-history{margin-top:12px;font:400 12px/18px Inter,system-ui,sans-serif}.bank27-event{padding:10px 0;border-bottom:1px solid #e1e7ee}.bank27-event small{color:#738397;font-size:11px}.bank27-event dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:2px 8px;margin:6px 0}.bank27-event dd{margin:0;overflow-wrap:anywhere}.bank27-event dt{color:#53657b}.bank27-history-pages{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.unified-card .bank27-name{display:flex;flex-direction:column;align-items:start;min-width:0}.unified-card .bank27-name>button{border:0;background:transparent;box-shadow:none;font:inherit;min-height:24px;padding:0;text-align:left;color:#172d43}.bank27-route,.bank27-commission-reason{display:block;color:#738397;font-size:11px;white-space:normal;overflow-wrap:anywhere}.bank27-route:empty{display:none}
.unified-card .unified-legacy-banks[data-bank27-rare] .application-fact-card :is(.application-fact-void-form,.application-fact-correct),.unified-card .unified-legacy-banks[data-bank27-rare] .application-fact-creator[data-focus-fact-editor] :is(h3,form,.button,.scope-note){display:revert}
@media(max-width:450px){.bank27-panel{padding:16px}.bank27-field,.bank27-result{grid-template-columns:110px minmax(0,1fr)}.bank27-event dl{grid-template-columns:105px minmax(0,1fr)}}

.unified-card .unified-legacy-banks[data-bank27-rare] .application-fact-card :is(.application-fact-void-form,.application-fact-correct),.unified-card .unified-legacy-banks[data-bank27-rare] .application-fact-creator[data-focus-fact-editor] :is(h3,form,.button,.scope-note){display:revert!important}

/* public/party-merge.css */
.party-merge-dialog{width:min(780px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:20px;border:0;border-radius:16px;color:#213b50;background:#fff;box-shadow:0 15px 60px #18394b33;overflow:auto}.party-merge-dialog::backdrop{background:#203b5055}.party-merge-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.party-merge-dialog h2{font-size:16px;margin:0}.party-merge-search{display:flex;gap:8px}.party-merge-search input{flex:1;min-width:0}.party-merge-candidates{display:grid;gap:6px;margin-top:12px;max-height:45dvh;overflow:auto}.party-merge-candidates button{text-align:left;display:grid;justify-items:start;white-space:normal;padding:10px 12px;gap:4px}.party-merge-candidates small{font-weight:400;color:#718699}.party-merge-main{display:grid;gap:8px;margin-bottom:16px}.party-merge-main select{width:100%}.party-merge-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.party-merge-table th,.party-merge-table td{padding:10px 8px;border-bottom:1px solid #e6eef4;vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}.party-merge-table th{font-weight:500;text-align:left}.party-merge-table th:first-child{width:26%}.party-merge-table label{display:flex;gap:7px;align-items:flex-start}.party-merge-table input{width:14px;height:14px;flex:none;margin:2px 0;accent-color:#049fe5}.party-merge-both{margin-top:8px;font-weight:400;font-size:11px}.party-merge-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}.party-merge-error{color:#b83c4a;margin-top:12px;font-size:12px}.party-merge-error:empty{display:none}.cc-merge{font-size:12px;padding:6px 9px;white-space:nowrap}@media(max-width:520px){.party-merge-dialog{padding:14px}.party-merge-table th,.party-merge-table td{padding:8px 4px}.party-merge-table label{gap:4px}.party-merge-footer .button{flex:1 1 auto}}
.party-merge-dialog .party-merge-table{min-width:0;max-width:100%}.party-merge-table label span{min-width:0}
/* Picker controls have one local owner; card button/form rules must not leak in. */
.party-merge-dialog{font:400 12px/1.45 Inter,system-ui,sans-serif;padding:16px}.party-merge-dialog>header{position:sticky;top:-16px;z-index:2;background:white;min-height:28px;margin-bottom:12px}.party-merge-dialog h2{font-size:13px;font-weight:500}.party-merge-dialog>header>.cc-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;min-height:28px;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#53657b;cursor:pointer}.party-merge-dialog>header>.cc-icon-button svg{width:16px;height:16px}.party-merge-dialog>header>.cc-icon-button:hover,.party-merge-dialog>header>.cc-icon-button:focus-visible{background:transparent;color:#006fae}.party-merge-dialog :is(button,input,select):focus,.party-merge-dialog :is(button,input,select):focus-visible{outline:0;box-shadow:none}.party-merge-dialog label:has(input[type=radio]:focus-visible){background:#edf7fd;text-decoration:underline;text-underline-offset:3px}.party-merge-search{display:flex;align-items:center;border:1px solid #d9e3ec;border-radius:7px;min-height:36px;background:white}.party-merge-search:focus-within{border-color:#80bedc}.party-merge-dialog .party-merge-search input{display:block;flex:1;width:100%;min-width:0;margin:0;padding:8px 11px;min-height:34px;height:auto;border:0;border-radius:7px;background:transparent;box-shadow:none;appearance:none;-webkit-appearance:none;font:400 12px/18px Inter,system-ui,sans-serif;outline:0}.party-merge-search input::-webkit-search-cancel-button{display:none}.party-merge-candidates{display:block;gap:0;margin-top:7px;max-height:none;overflow:visible}.party-merge-dialog .party-merge-candidate{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:2px;width:100%;min-width:0;min-height:31px;margin:0;padding:6px 8px;border:0;border-bottom:1px solid #e8eef4;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:#172d43;font:400 12px/18px Inter,system-ui,sans-serif;cursor:pointer}.party-merge-candidate-name,.party-merge-candidate small{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.party-merge-dialog .party-merge-candidate small{font:400 11px/16px Inter,system-ui,sans-serif;color:#53657b}.party-merge-dialog .party-merge-candidate:hover,.party-merge-dialog .party-merge-candidate:focus-visible{background:#edf7fd}.party-merge-dialog .party-merge-candidate:focus-visible .party-merge-candidate-name{text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){.party-merge-dialog .party-merge-search input{font-size:16px}.party-merge-candidate-name,.party-merge-candidate small{white-space:normal;overflow-wrap:anywhere}}@media(pointer:coarse){.party-merge-dialog .party-merge-candidate{min-height:44px}}
