:root{--ink:#172121;--muted:#667170;--canvas:#f2f5f4;--surface:#fff;--line:#dce3e1;--line-strong:#c8d2cf;--teal:#155e75;--teal-soft:#e4f1f3;--amber:#b45309;--amber-soft:#fff2d8;--rose:#be123c;--rose-soft:#fde9ee;--green:#167052;--green-soft:#e2f3ec;--danger:#b42318;--danger-soft:#fef0ee;--shadow:0 20px 55px #1721211c}*{box-sizing:border-box}html,body{background:var(--canvas);min-height:100%;color:var(--ink);letter-spacing:0;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}.loading-screen{background:var(--surface);min-height:100vh;color:var(--muted);justify-content:center;align-items:center;gap:14px;display:flex}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.company-mark{align-items:center;gap:13px;min-width:0;display:flex}.company-mark__bars{flex:none;grid-template-columns:repeat(3,5px);align-items:end;gap:3px;width:21px;height:32px;display:grid}.company-mark__bar{border-radius:2px 2px 0 0;display:block}.company-mark__bar--uberit{background:var(--teal);height:32px}.company-mark__bar--far{background:var(--amber);height:23px}.company-mark__bar--fabex{background:var(--rose);height:15px}.company-mark__text{flex-direction:column;min-width:0;line-height:1.2;display:flex}.company-mark__text strong{font-size:17px}.company-mark__text small{color:inherit;opacity:.68;white-space:nowrap;margin-top:4px;font-size:12px}.company-mark--compact .company-mark__text strong{font-size:16px}.auth-layout{background:var(--surface);grid-template-columns:minmax(340px,43%) minmax(0,57%);min-height:100vh;display:grid}.auth-brand{background:var(--ink);color:#f7faf9;flex-direction:column;justify-content:space-between;min-height:100vh;padding:46px clamp(32px,5vw,76px);display:flex;position:relative;overflow:hidden}.auth-brand:after{content:"";border:58px solid #ffffff0e;width:270px;height:270px;position:absolute;bottom:8%;right:-100px;transform:rotate(18deg)}.auth-brand .company-mark{z-index:1;position:relative}.auth-brand__content{z-index:1;max-width:550px;position:relative}.eyebrow{color:var(--teal);text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:750}.auth-brand .eyebrow{color:#91d4df}.auth-brand h1{max-width:520px;margin:0;font-size:42px;font-weight:760;line-height:1.08}.auth-brand__content>p:last-child{color:#b9c6c4;max-width:500px;margin:24px 0 0;font-size:16px;line-height:1.65}.auth-brand__entities{z-index:1;color:#d7e0de;flex-wrap:wrap;gap:18px 24px;font-size:13px;font-weight:650;display:flex;position:relative}.auth-brand__entities span{align-items:center;gap:8px;display:flex}.entity-dot{border-radius:50%;width:8px;height:8px}.entity-dot--uberit{background:#42a5bd}.entity-dot--far{background:#e7a746}.entity-dot--fabex{background:#ec6685}.auth-workspace{background:var(--canvas);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:38px 24px;display:flex}.auth-panel{border:1px solid var(--line);background:var(--surface);width:min(100%,470px);box-shadow:var(--shadow);border-radius:8px;padding:38px}.auth-panel__heading{align-items:center;gap:14px;margin-bottom:24px;display:flex}.auth-panel__heading h2{margin:0;font-size:24px;line-height:1.2}.auth-panel__heading .eyebrow{margin-bottom:4px}.icon-tile{background:var(--teal-soft);width:44px;height:44px;color:var(--teal);border:1px solid #bfd8dd;border-radius:6px;flex:0 0 44px;place-items:center;display:grid}.icon-tile--success{background:var(--green-soft);color:var(--green);border-color:#b9decf}.auth-intro{color:var(--muted);margin:-8px 0 24px;line-height:1.55}.auth-form{gap:18px;display:grid}.auth-form label{color:#34403f;gap:8px;font-size:13px;font-weight:700;display:grid}.auth-form input{border:1px solid var(--line-strong);width:100%;height:48px;color:var(--ink);background:#fbfcfc;border-radius:6px;outline:none;padding:0 13px;transition:border-color .14s,box-shadow .14s}.auth-form input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #155e751f}.auth-form input::placeholder{color:#99a3a1}.auth-form .code-input{font-variant-numeric:tabular-nums;text-align:center;font-size:22px;font-weight:750}.button{border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 18px;font-weight:750;text-decoration:none;display:inline-flex}.button--primary{border:1px solid var(--ink);background:var(--ink);color:#fff}.button--primary:hover:not(:disabled){background:#2d3b3a}.button--secondary{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink)}.button--secondary:hover:not(:disabled){background:var(--canvas)}.button--danger:hover:not(:disabled){background:var(--danger-soft)}.error-message{border-left:3px solid var(--danger);background:var(--danger-soft);color:var(--danger);align-items:flex-start;gap:9px;padding:10px 12px;font-size:13px;line-height:1.45;display:flex}.error-message svg{flex:none;margin-top:1px}.auth-actions{justify-content:space-between;align-items:center;margin-top:22px;display:flex}.text-button{color:var(--teal);background:0 0;border:0;padding:4px 0;font-size:13px;font-weight:700}.text-button:hover{text-decoration:underline}.auth-footer{color:var(--muted);margin:20px 0 0;font-size:12px}.enrollment{justify-items:center;gap:16px;margin-bottom:24px;display:grid}.enrollment img{border:1px solid var(--line);max-width:100%;height:auto}.manual-key{border:1px solid var(--line);background:var(--canvas);grid-template-columns:1fr auto;align-items:center;gap:4px 10px;width:100%;padding:10px 12px;display:grid}.manual-key span{color:var(--muted);text-transform:uppercase;grid-column:1/-1;font-size:11px;font-weight:700}.manual-key code{overflow-wrap:anywhere;min-width:0;font-size:13px}.icon-button{border:1px solid var(--line-strong);background:var(--surface);width:36px;height:36px;color:var(--ink);border-radius:4px;place-items:center;display:grid}.auth-form--confirm{margin-bottom:18px}.recovery-grid{border:1px solid var(--line);background:var(--canvas);grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 18px;padding:16px;display:grid}.recovery-grid code{text-align:center;font-size:13px;font-weight:700}.recovery-actions{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;display:grid}.crm-shell{grid-template-columns:230px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--ink);color:#edf3f2;border-right:1px solid #293534;flex-direction:column;height:100vh;padding:26px 18px;display:flex;position:sticky;top:0}.sidebar .company-mark{padding:0 9px 26px}.sidebar nav{border-top:1px solid #344140;gap:6px;padding-top:16px;display:grid}.nav-item{color:#bfcac8;text-align:left;background:0 0;border:0;border-radius:5px;align-items:center;gap:11px;width:100%;height:44px;padding:0 12px;font-weight:650;display:flex}.nav-item--active{color:#fff;background:#2a3938}.sidebar__security{color:#9fd8c3;border-top:1px solid #344140;align-items:center;gap:10px;margin-top:auto;padding:13px 10px;display:flex}.sidebar__security span{gap:2px;display:grid}.sidebar__security strong{font-size:12px}.sidebar__security small{color:#8f9c99;font-size:11px}.sidebar__security .sidebar__build{color:#70807d;overflow-wrap:anywhere;margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.crm-main{background:var(--canvas);min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fffffff0;justify-content:space-between;align-items:center;gap:22px;min-height:92px;padding:18px clamp(22px,4vw,54px);display:flex;position:relative}.topbar__mobile-brand{display:none}.topbar__title h1{margin:0;font-size:23px;line-height:1.2}.topbar__title .eyebrow{margin-bottom:3px}.topbar__actions{align-items:center;gap:10px;display:flex}.profile{position:relative}.voice-launcher{border:1px solid var(--line-strong);background:var(--surface);width:44px;height:44px;color:var(--teal);border-radius:5px;flex:0 0 44px;place-items:center;display:grid}.voice-launcher:hover,.voice-launcher--active{border-color:var(--teal);background:var(--teal-soft)}.voice-panel{z-index:50;border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;grid-template-rows:auto minmax(0,1fr) auto auto;width:min(420px,100vw - 48px);min-height:420px;display:grid;position:fixed;top:82px;bottom:24px;right:24px;overflow:hidden;box-shadow:0 22px 55px #17212133}.voice-panel__header{border-bottom:1px solid var(--line);grid-template-columns:38px minmax(0,1fr) 38px 36px;align-items:center;gap:9px;min-height:66px;padding:10px 12px;display:grid}.voice-panel__mark{background:var(--teal-soft);width:36px;height:36px;color:var(--teal);border-radius:4px;place-items:center;display:grid}.voice-panel__header>div{gap:3px;min-width:0;display:grid}.voice-panel__header strong{font-size:13px}.voice-panel__header small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.voice-audio-toggle{border:1px solid var(--line);width:36px;height:36px;color:var(--teal);cursor:pointer;border-radius:4px;place-items:center;display:grid}.voice-audio-toggle input{opacity:0;width:1px;height:1px;position:absolute}.voice-conversation{background:#f5f8f7;flex-direction:column;gap:10px;min-height:0;padding:16px;display:flex;overflow-y:auto}.voice-empty{min-height:100%;color:var(--muted);align-content:center;place-items:center;gap:9px;font-size:12px;display:grid}.voice-message{border:1px solid var(--line);color:#34413f;overflow-wrap:anywhere;white-space:pre-wrap;border-radius:6px;gap:8px;width:fit-content;max-width:88%;padding:10px 12px;font-size:12px;line-height:1.55;display:grid}.voice-message--user{background:var(--teal-soft);border-color:#b8d2d8;align-self:flex-end}.voice-message--assistant{background:var(--surface);align-self:flex-start}.voice-message__play{border:1px solid var(--line);background:var(--surface);width:28px;height:28px;color:var(--teal);border-radius:4px;justify-self:end;place-items:center;display:grid}.voice-message__play:hover{border-color:var(--teal);background:var(--teal-soft)}.voice-processing{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.voice-error{background:var(--danger-soft);color:var(--danger);border-top:1px solid #efc5bf;padding:9px 12px;font-size:11px}.voice-composer{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:11px;display:grid}.voice-composer textarea{resize:vertical;border:1px solid var(--line-strong);width:100%;min-height:54px;max-height:130px;color:var(--ink);border-radius:5px;outline:0;padding:9px 10px;line-height:1.4}.voice-composer textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #155e751a}.voice-composer__actions{grid-template-columns:42px 42px;gap:6px;display:grid}.voice-record,.voice-send{border-radius:5px;place-items:center;width:42px;height:42px;display:grid}.voice-record{border:1px solid var(--line-strong);background:var(--surface);color:var(--teal)}.voice-record--active{border-color:var(--rose);background:var(--rose-soft);color:var(--rose)}.voice-send{border:1px solid var(--ink);background:var(--ink);color:#fff}.profile__button{border:1px solid var(--line);background:var(--surface);height:52px;color:var(--ink);border-radius:6px;align-items:center;gap:10px;padding:5px 10px 5px 6px;display:flex}.avatar{background:var(--teal-soft);width:38px;height:38px;color:var(--teal);border-radius:4px;flex:0 0 38px;place-items:center;font-size:13px;font-weight:800;display:grid}.profile__identity{text-align:left;max-width:190px;display:grid}.profile__identity strong,.profile__identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.profile__identity strong{font-size:13px}.profile__identity small{color:var(--muted);margin-top:2px;font-size:11px}.profile-menu{z-index:10;border:1px solid var(--line);background:var(--surface);border-radius:6px;gap:12px;width:min(310px,100vw - 32px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 15px 38px #17212124}.profile-menu>div{gap:3px;display:grid}.profile-menu small{color:var(--muted);font-size:11px}.profile-menu strong{overflow-wrap:anywhere;font-size:13px}.profile-menu button{border:0;border-top:1px solid var(--line);height:40px;color:var(--danger);background:0 0;align-items:center;gap:9px;padding:10px 2px 0;font-weight:700;display:flex}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:28px clamp(22px,4vw,54px) 18px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-rows:auto auto;grid-template-columns:42px 1fr;align-items:center;column-gap:13px;min-width:0;padding:16px;display:grid}.metric-card__icon{border-radius:5px;grid-row:1/3;place-items:center;width:42px;height:42px;display:grid}.metric-card__icon--teal{background:var(--teal-soft);color:var(--teal)}.metric-card__icon--amber{background:var(--amber-soft);color:var(--amber)}.metric-card__icon--rose{background:var(--rose-soft);color:var(--rose)}.metric-card__icon--charcoal{color:var(--ink);background:#e8eceb}.metric-card>strong{font-variant-numeric:tabular-nums;align-self:end;font-size:24px;line-height:1}.metric-card>span:last-child{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-self:start;margin-top:5px;font-size:12px;overflow:hidden}.dashboard-grid{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:18px;padding:0 clamp(22px,4vw,54px) 48px;display:grid}.workspace-section{border-top:2px solid var(--ink);min-width:0;padding-top:18px}.section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.section-heading h2{margin:0;font-size:17px}.section-heading>svg{color:var(--muted)}.entity-list,.activity-list{border:1px solid var(--line);background:var(--surface);border-radius:6px;overflow:hidden}.entity-row,.activity-row{border-bottom:1px solid var(--line);align-items:center;gap:13px;min-height:66px;padding:12px 15px;display:flex}.entity-row:last-child,.activity-row:last-child{border-bottom:0}.entity-row>i{border-radius:2px;flex:0 0 5px;width:5px;height:34px}.entity-row>span,.activity-row>span:last-child{flex:1;gap:4px;min-width:0;display:grid}.entity-row strong,.activity-row strong{overflow-wrap:anywhere;font-size:13px}.entity-row small,.activity-row small{color:var(--muted);font-size:11px}.entity-row>svg{color:var(--green);flex:none}.activity-row__marker{background:var(--green-soft);width:28px;height:28px;color:var(--green);border-radius:50%;flex:0 0 28px;place-items:center;display:grid}.empty-state{min-height:150px;color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:20px;font-size:13px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-navigation{display:none}.business-view{padding:30px clamp(22px,4vw,54px) 48px}.business-heading{justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:24px;display:flex}.business-heading h1{margin:0;font-size:25px}.business-heading>div>p:last-child{color:var(--muted);margin:7px 0 0;font-size:13px}.record-toolbar{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px;display:flex}.record-search{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;align-items:center;gap:9px;width:min(520px,100%);height:44px;padding-left:12px;display:flex}.record-search svg{color:var(--muted);flex:none}.record-search input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.record-search button{border:0;border-left:1px solid var(--line);color:var(--ink);background:#e8eeec;align-self:stretch;padding:0 15px;font-size:12px;font-weight:750}.record-filters{gap:10px;display:flex}.record-filters label{gap:4px;display:grid}.record-filters label>span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:750}.record-filters select{border:1px solid var(--line-strong);background:var(--surface);min-width:145px;height:44px;color:var(--ink);border-radius:6px;padding:0 32px 0 10px}.inline-alert{background:var(--danger-soft);color:var(--danger);border:1px solid #efc5bf;border-radius:5px;align-items:flex-start;gap:9px;margin:0 0 14px;padding:11px 13px;font-size:12px;display:flex}.inline-alert svg{flex:none}.records-frame{border:1px solid var(--line);background:var(--surface);border-radius:6px;min-height:220px;overflow:hidden}.records-table{border-collapse:collapse;table-layout:fixed;width:100%}.records-table th{border-bottom:1px solid var(--line-strong);color:#4e5b59;text-align:left;text-transform:uppercase;background:#e9eeec;height:42px;padding:0 13px;font-size:10px;font-weight:800}.records-table th:first-child{width:25%}.records-table th:last-child{width:88px}.records-table td{border-bottom:1px solid var(--line);color:#394442;vertical-align:middle;min-width:0;height:70px;padding:11px 13px;font-size:12px}.records-table tbody tr:last-child td{border-bottom:0}.records-table tbody tr:hover{background:#f8faf9}.records-table td>strong,.records-table td>small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.records-table td>strong{color:var(--ink);font-size:13px}.records-table td>small{color:var(--muted);margin-top:5px;font-size:11px}.record-actions{white-space:nowrap}.record-actions button,.record-pagination button,.record-dialog>header>button{border:1px solid var(--line);background:var(--surface);width:34px;height:34px;color:var(--muted);border-radius:5px;place-items:center;display:inline-grid}.record-actions button+button{margin-left:6px}.record-actions button:hover,.record-pagination button:hover:not(:disabled),.record-dialog>header>button:hover{border-color:var(--line-strong);color:var(--ink);background:#edf1f0}.record-loading,.records-empty{min-height:220px;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:13px;display:flex}.records-empty{text-align:center;flex-direction:column}.records-empty strong{color:var(--ink);font-size:14px}.records-empty span{max-width:360px;font-size:12px}.record-pagination{min-height:56px;color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.record-pagination>div{align-items:center;gap:10px;display:flex}.record-pagination button{width:32px;height:32px}.entity-badge,.status-badge,.priority{border-radius:4px;align-items:center;min-height:25px;padding:4px 8px;font-size:10px;font-weight:800;display:inline-flex}.entity-badge--uberit{background:var(--teal-soft);color:var(--teal)}.entity-badge--far{background:var(--amber-soft);color:var(--amber)}.entity-badge--fabex{background:var(--rose-soft);color:var(--rose)}.entity-badge--compact{min-height:20px;padding:2px 6px;font-size:9px}.status-badge--new{color:#41504d;background:#e9eeec}.status-badge--in_progress{color:#1d5f8a;background:#e1edf7}.status-badge--qualified{background:var(--green-soft);color:var(--green)}.status-badge--converted{background:var(--teal-soft);color:var(--teal)}.status-badge--lost{background:var(--danger-soft);color:var(--danger)}.priority{min-height:22px;color:var(--muted);background:0 0;padding:2px 0}.priority--high{color:var(--amber)}.priority--urgent{color:var(--danger)}.dialog-backdrop{z-index:100;background:#0e171675;place-items:stretch end;display:grid;position:fixed;inset:0}.record-dialog{border-left:1px solid var(--line);background:var(--surface);width:min(720px,100vw - 40px);height:100%;padding:24px 26px;overflow-y:auto;box-shadow:-18px 0 48px #0e17162e}.record-dialog>header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.record-dialog>header h2{margin:0;font-size:21px}.record-form{gap:24px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{align-content:start;gap:6px;min-width:0;display:grid}.field--wide{grid-column:1/-1}.field>span,.participant-fields legend{color:#465350;font-size:11px;font-weight:750}.field>span i{color:var(--danger);margin-left:3px;font-style:normal}.field input,.field select,.field textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;color:var(--ink);border-radius:5px;outline:none}.commercial-view{padding:30px clamp(22px,4vw,54px) 48px}.commercial-heading{align-items:center}.commercial-tabs{border:1px solid var(--line-strong);background:#e9eeec;border-radius:6px;flex:none;gap:2px;padding:3px;display:inline-flex}.commercial-tabs button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:4px;align-items:center;gap:7px;padding:0 13px;font-size:12px;font-weight:750;display:inline-flex}.commercial-tabs button:hover{color:var(--ink)}.commercial-tabs .commercial-tabs__active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0e17161f}.commercial-pane{min-width:0}.records-toolbar{align-items:center;gap:10px;min-width:0;margin-bottom:14px;display:flex}.records-toolbar__spacer{flex:1}.records-search{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;align-items:center;gap:9px;width:min(420px,42vw);min-width:190px;height:42px;padding:0 11px;display:flex}.records-search svg{color:var(--muted);flex:none}.records-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.records-toolbar>select{border:1px solid var(--line-strong);background:var(--surface);min-width:160px;height:42px;color:var(--ink);border-radius:6px;padding:0 30px 0 10px}.records-panel{border:1px solid var(--line);background:var(--surface);border-radius:6px;min-height:220px;overflow:hidden}.records-table-wrap{overflow-x:auto}.commercial-table{min-width:850px}.commercial-table .clickable-row{cursor:pointer}.commercial-error{margin:0 0 14px}.commercial-status{white-space:nowrap}.commercial-status--draft{color:#41504d;background:#e9eeec}.commercial-status--active,.commercial-status--approved,.commercial-status--issued{background:var(--green-soft);color:var(--green)}.commercial-status--pending_approval{background:var(--amber-soft);color:var(--amber)}.commercial-status--rejected,.commercial-status--cancelled,.commercial-status--archived{background:var(--danger-soft);color:var(--danger)}.commercial-dialog{width:min(760px,100vw - 40px)}.commercial-dialog--wide{width:min(1040px,100vw - 40px)}.commercial-dialog>header{z-index:4;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;margin:-24px -26px 22px;padding:20px 26px;position:sticky;top:-24px}.commercial-dialog>header p{color:var(--muted);margin:5px 0 0;font-size:11px}.commercial-dialog__header-actions,.quote-actions{align-items:center;gap:8px;display:flex}.commercial-dialog__header-actions>button:not(.button){border:1px solid var(--line);background:var(--surface);width:34px;height:34px;color:var(--muted);border-radius:5px;place-items:center;display:inline-grid}.commercial-nested-backdrop{z-index:120}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;padding-top:18px;display:flex}.commercial-summary{border:1px solid var(--line);background:var(--line);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.commercial-summary>div{background:var(--surface);gap:5px;padding:14px;display:grid}.commercial-summary small,.quote-overview small,.quote-totals small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:750}.commercial-summary strong{font-size:14px}.commercial-items{margin-top:24px}.commercial-items__header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.commercial-items__header h3,.quote-events h3{margin:0;font-size:15px}.commercial-items__header small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.commercial-item-row,.quote-line{border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:62px;padding:10px 8px;display:grid}.commercial-item-row{grid-template-columns:minmax(0,1fr) 150px 82px}.commercial-item-row>span:first-child,.quote-line>span:nth-child(2){min-width:0}.commercial-item-row strong,.commercial-item-row small,.quote-line strong,.quote-line small{display:block}.commercial-item-row small,.quote-line small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:10px;overflow:hidden}.commercial-item-row__actions,.quote-line__actions{justify-content:flex-end;gap:6px;display:flex}.commercial-item-row__actions button,.quote-line__actions button{border:1px solid var(--line);background:var(--surface);width:32px;height:32px;color:var(--muted);border-radius:5px;place-items:center;display:inline-grid}.quote-status-strip{border-bottom:1px solid var(--line);min-height:42px;color:var(--muted);align-items:center;gap:18px;padding-bottom:14px;font-size:11px;display:flex}.quote-status-strip>button{color:var(--teal);background:0 0;border:0;align-items:center;gap:6px;margin-left:auto;font-size:11px;font-weight:750;display:inline-flex}.quote-overview{border:1px solid var(--line);background:var(--line);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-top:18px;display:grid;overflow:hidden}.quote-overview>div{background:var(--surface);gap:6px;padding:16px;display:grid}.quote-overview span{color:var(--muted);font-size:11px}.quote-edit-form{border-bottom:1px solid var(--line);margin-top:20px;padding-bottom:22px}.quote-lines{border:1px solid var(--line);border-radius:6px}.quote-line{grid-template-columns:30px minmax(0,1fr) 140px 82px;padding:10px 12px}.quote-line:last-child{border-bottom:0}.quote-line__position{width:26px;height:26px;color:var(--muted);background:#e9eeec;border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.quote-totals{border:1px solid var(--line);background:var(--line);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:18px;display:grid;overflow:hidden}.quote-totals>span{background:var(--surface);text-align:right;gap:5px;padding:13px;display:grid}.quote-totals__grand{color:#fff;background:var(--ink)!important}.quote-totals__grand small{color:#c7d0ce}.quote-events{border-top:1px solid var(--line);margin-top:26px;padding-top:18px}.quote-events>div{border-bottom:1px solid var(--line);align-items:flex-start;gap:10px;padding:11px 0;display:flex}.quote-events>div strong,.quote-events>div small{display:block}.quote-events>div small{color:var(--muted);margin-top:4px;font-size:10px}.issuer-selector{border-bottom:1px solid var(--line);gap:5px;margin-bottom:18px;padding-bottom:12px;display:flex}.issuer-selector button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:8px 10px;font-size:11px;font-weight:750}.issuer-selector .issuer-selector__active{border-color:var(--teal);color:var(--ink)}.issuer-logo{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:18px;display:flex}.issuer-logo>div{border:1px solid var(--line);width:160px;height:64px;color:var(--muted);background:#f6f8f7;border-radius:5px;place-items:center;display:grid;overflow:hidden}.issuer-logo img{object-fit:contain;width:100%;height:100%}@media (max-width:900px){.commercial-heading{flex-direction:column;align-items:flex-start}.commercial-tabs{width:100%}.commercial-tabs button{flex:1;justify-content:center}.records-toolbar{flex-wrap:wrap;align-items:stretch}.records-search{width:100%}.records-toolbar__spacer{display:none}.records-toolbar>select{flex:1}.commercial-dialog--wide{width:min(900px,100vw - 20px)}.commercial-summary,.quote-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-line{grid-template-columns:28px minmax(0,1fr) 120px}.quote-line__actions{grid-column:2/-1}}@media (max-width:640px){.commercial-view{padding:20px 14px 90px}.commercial-tabs button{min-width:0;padding:0 7px;font-size:10px}.records-toolbar>.button{flex:1;justify-content:center}.commercial-dialog,.commercial-dialog--wide{width:100vw;max-width:none;padding:18px 16px 80px}.commercial-dialog>header{margin:-18px -16px 18px;padding:15px 16px;top:-18px}.commercial-dialog>header h2{font-size:17px}.commercial-dialog__header-actions{flex-direction:column-reverse;align-items:flex-end}.quote-actions{flex-direction:column;align-items:flex-end}.quote-actions .button{min-height:32px;padding:0 9px;font-size:10px}.commercial-summary,.quote-overview,.quote-totals{grid-template-columns:1fr}.quote-status-strip{flex-direction:column;align-items:flex-start;gap:8px}.quote-status-strip>button{margin-left:0}.commercial-item-row{grid-template-columns:minmax(0,1fr) auto}.commercial-item-row__actions{grid-column:1/-1}.quote-line{grid-template-columns:26px minmax(0,1fr)}.quote-line>strong,.quote-line__actions{grid-column:2;justify-content:flex-start}.issuer-logo{flex-wrap:wrap;align-items:flex-start}}.field input,.field select{height:42px;padding:0 10px}.field textarea{resize:vertical;min-height:90px;padding:10px;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #155e751a}.money-input{grid-template-columns:minmax(0,1fr) 88px;gap:8px;display:grid}.participant-fields{border-top:1px solid var(--line);grid-template-columns:.9fr 1.1fr;gap:18px;padding-top:20px;display:grid}.participant-fields fieldset{border:0;min-width:0;margin:0;padding:0}.participant-fields legend{margin-bottom:9px}.choice-grid{gap:7px;display:grid}.choice-grid--users{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid label{border:1px solid var(--line);color:#43504e;border-radius:5px;align-items:center;gap:8px;min-width:0;min-height:36px;padding:7px 9px;font-size:11px;display:flex}.choice-grid label:has(input:checked){color:var(--ink);background:#f0f8f5;border-color:#8db7ae}.choice-grid input{accent-color:var(--teal);flex:none}.choice-grid label>i{border-radius:2px;flex:0 0 4px;width:4px;height:18px}.choice-grid label>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.record-form__actions{border-top:1px solid var(--line);background:var(--surface);justify-content:flex-end;gap:10px;padding:16px 0 24px;display:flex;position:sticky;bottom:-24px}.intake-workspace{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:minmax(290px,350px) minmax(0,1fr);min-height:640px;display:grid;overflow:hidden}.intake-list{border-right:1px solid var(--line);background:#f8faf9;flex-direction:column;min-width:0;display:flex}.intake-list__item{border:0;border-bottom:1px solid var(--line);width:100%;min-width:0;color:var(--ink);text-align:left;background:0 0;gap:7px;padding:15px;display:grid}.intake-list__item:hover{background:#f1f5f3}.intake-list__item--active{box-shadow:inset 3px 0 0 var(--teal);background:var(--surface)}.intake-list__topline{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.intake-list__topline time{color:var(--muted);white-space:nowrap;font-size:10px}.intake-list__item>strong,.intake-list__item>span:not(.intake-list__topline),.intake-list__item>small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.intake-list__item>strong{font-size:13px}.intake-list__item>span:not(.intake-list__topline){color:#465350;font-size:11px}.intake-list__item>small{color:var(--muted);font-size:10px}.intake-list__pagination{border-top:1px solid var(--line);min-height:52px;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:9px 12px;font-size:10px;display:flex}.intake-list__pagination>div{align-items:center;gap:7px;display:flex}.intake-list__pagination button,.intake-refresh{border:1px solid var(--line);background:var(--surface);width:32px;height:32px;color:var(--muted);border-radius:5px;place-items:center;display:grid}.intake-detail{background:var(--surface);min-width:0;padding:22px 26px 34px}.intake-detail__header{justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:18px;display:flex}.intake-detail__context{flex-wrap:wrap;gap:7px;margin-bottom:10px;display:flex}.intake-detail__header h2{overflow-wrap:anywhere;margin:0;font-size:20px;line-height:1.3}.intake-detail__header p{color:var(--muted);margin:7px 0 0;font-size:12px}.intake-meta{border-block:1px solid var(--line);flex-wrap:wrap;gap:10px 20px;padding:12px 0;display:flex}.intake-meta>span{min-width:0;color:var(--muted);align-items:center;gap:7px;display:flex}.intake-meta strong{overflow-wrap:anywhere;color:#43504e;font-size:11px}.intake-section{border-bottom:1px solid var(--line);padding:22px 0}.intake-section:last-child{border-bottom:0}.intake-section__heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:13px;display:flex}.intake-section__heading h3{margin:0;font-size:15px}.intake-section__heading svg{color:var(--muted)}.intake-original,.proposal__draft pre{color:#35413f;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:inherit;font-size:12px;line-height:1.65;overflow:visible}.intake-link-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px;display:grid}.intake-link-form label,.approval-panel label{gap:6px;min-width:0;display:grid}.intake-link-form label>span,.approval-panel label>span{color:#465350;font-size:10px;font-weight:750}.intake-link-form select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;height:40px;color:var(--ink);border-radius:5px;padding:0 28px 0 9px}.intake-status{color:#41504d;background:#e9eeec;border-radius:4px;align-items:center;width:fit-content;min-height:22px;padding:3px 7px;font-size:9px;font-weight:800;display:inline-flex}.intake-status--queued,.intake-status--analyzing{color:#1d5f8a;background:#e1edf7}.intake-status--waiting_configuration{background:var(--amber-soft);color:var(--amber)}.intake-status--needs_review{background:var(--teal-soft);color:var(--teal)}.intake-status--approved{background:var(--green-soft);color:var(--green)}.intake-status--rejected,.intake-status--failed{background:var(--danger-soft);color:var(--danger)}.intake-ai-state{border-left:3px solid var(--amber);background:var(--amber-soft);color:var(--amber);align-items:flex-start;gap:10px;padding:11px 13px;display:flex}.intake-ai-state--error{border-left-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.intake-ai-state span{gap:4px;display:grid}.intake-ai-state strong{font-size:12px}.intake-ai-state small{color:#6c6255;font-size:11px;line-height:1.45}.proposal{gap:20px;display:grid}.proposal__facts{border-block:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.proposal__facts>span{border-right:1px solid var(--line);gap:5px;min-width:0;padding:11px;display:grid}.proposal__facts>span:last-child{border-right:0}.proposal__facts small,.proposal__block small{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:750}.proposal__facts strong{overflow-wrap:anywhere;font-size:11px}.proposal__block h4,.proposal__draft h4{margin:0 0 8px;font-size:12px}.proposal__block p{color:#35413f;margin:0 0 7px;font-size:12px;line-height:1.55}.proposal ul{color:#43504e;margin:7px 0 0;padding-left:18px;font-size:11px;line-height:1.6}.proposal__draft{border-left:3px solid var(--teal);background:#f3f8f7;padding:13px 15px}.proposal__draft>strong{margin-bottom:10px;font-size:12px;display:block}.proposal__draft>div{margin-top:12px;font-size:11px}.email-draft-editor{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;gap:13px;margin-top:18px;padding:17px;display:grid;position:relative}.email-draft-editor>header,.email-draft-actions,.email-draft-meta,.email-draft-history summary,.email-draft-history li{align-items:center;display:flex}.email-draft-editor>header{justify-content:space-between;gap:16px}.email-draft-editor h4{margin:2px 0 0;font-size:15px}.email-draft-status{color:var(--muted);font-size:11px;font-weight:750}.email-draft-status--approved,.email-draft-status--sent{color:var(--success)}.email-draft-status--failed{color:var(--danger)}.email-draft-meta{color:var(--muted);flex-wrap:wrap;gap:8px 16px;font-size:11px}.email-draft-editor>label{gap:6px;display:grid}.email-draft-editor>label>span{color:#465350;font-size:11px;font-weight:750}.email-draft-editor input,.email-draft-editor textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;color:var(--ink);border-radius:5px;outline:none}.email-draft-editor input{height:39px;padding:0 11px}.email-draft-editor textarea{resize:vertical;min-height:220px;font:inherit;padding:10px 11px;line-height:1.55}.email-draft-editor input:focus,.email-draft-editor textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f766e1a}.email-draft-editor input:disabled,.email-draft-editor textarea:disabled{background:var(--surface-muted);color:var(--muted)}.email-draft-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.email-draft-config-state{color:var(--amber);align-items:center;gap:8px;font-size:12px;display:flex}.email-draft-history{border-top:1px solid var(--line);padding-top:11px}.email-draft-history summary{width:fit-content;color:var(--muted);cursor:pointer;gap:7px;font-size:12px;font-weight:700}.email-draft-history ol{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.email-draft-history li{border-bottom:1px solid var(--line);min-height:30px;color:var(--muted);gap:12px;font-size:11px}.email-draft-history li strong{min-width:55px;color:var(--ink)}.email-draft-history li time{margin-left:auto}.email-send-confirm{z-index:2;background:#0e171675;border-radius:6px;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.email-send-confirm>div{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;width:min(390px,100%);padding:18px;box-shadow:0 12px 32px #0e171633}.email-send-confirm h4,.email-send-confirm p{margin:0}.email-send-confirm p{overflow-wrap:anywhere;color:var(--muted);margin-top:7px}.email-send-confirm>div>div{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.approval-panel{border-top:1px solid var(--line);gap:11px;margin-top:22px;padding-top:18px;display:grid}.approval-panel textarea{resize:vertical;border:1px solid var(--line-strong);border-radius:5px;outline:none;width:100%;min-height:72px;padding:9px}.approval-panel textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #155e751a}.approval-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.approval-panel>small{color:var(--muted);text-align:right;font-size:10px}@media (max-width:1050px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.record-toolbar{flex-direction:column;align-items:stretch}.record-search{width:100%}.record-filters{justify-content:flex-end}.records-frame{overflow-x:auto}.records-table{min-width:850px}.intake-workspace{grid-template-columns:minmax(270px,310px) minmax(0,1fr)}.intake-link-form{grid-template-columns:repeat(2,minmax(0,1fr))}.intake-link-form .button{width:100%}.proposal__facts{grid-template-columns:repeat(2,minmax(0,1fr))}.proposal__facts>span:nth-child(2){border-right:0}.proposal__facts>span:nth-child(-n+2){border-bottom:1px solid var(--line)}}@media (max-width:820px){.auth-layout{grid-template-columns:1fr}.auth-brand{min-height:auto;padding:26px 24px 30px}.auth-brand__content{margin:52px 0 34px}.auth-brand h1{font-size:32px}.auth-brand__entities{gap:12px 18px}.auth-workspace{background:var(--canvas);min-height:auto;padding:30px 18px 44px}.crm-shell{display:block}.sidebar{display:none}.topbar{min-height:76px;padding:12px 18px}.topbar__mobile-brand{display:block}.topbar__title{display:none}.voice-panel{border:0;border-radius:0;width:100vw;min-height:100dvh;top:0;bottom:0;right:0}.mobile-navigation{z-index:8;border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:repeat(auto-fit,minmax(56px,1fr));display:grid;position:sticky;top:0}.mobile-navigation button{min-width:0;height:56px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;align-content:center;place-items:center;gap:3px;font-size:10px;display:grid}.mobile-navigation button.mobile-navigation--active{border-bottom-color:var(--teal);color:var(--teal)}.business-view{padding-top:24px}.records-frame{background:0 0;border:0;overflow:visible}.records-table{min-width:0;display:block}.records-table thead{display:none}.records-table tbody{gap:10px;display:grid}.records-table tr{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;display:grid}.records-table td{border:0;height:auto;min-height:54px;padding:7px 8px;display:block}.records-table td:before{content:attr(data-label);color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:800;display:block}.records-table td:first-child{border-bottom:1px solid var(--line);grid-column:1/-1;min-height:58px}.records-table td:first-child>strong{font-size:15px}.records-table .record-actions{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;min-height:42px;padding-top:10px;display:flex}.intake-workspace{background:0 0;border:0;grid-template-columns:1fr;min-height:0;overflow:visible}.intake-list{border:1px solid var(--line);border-radius:6px;max-height:390px;overflow-y:auto}.intake-detail{border:1px solid var(--line);border-radius:6px;margin-top:12px}.record-actions:before{display:none!important}}@media (max-width:600px){.auth-panel{padding:26px 20px}.auth-panel__heading h2{font-size:21px}.auth-actions{flex-direction:column;align-items:flex-start;gap:10px}.recovery-grid{grid-template-columns:1fr}.profile__identity{display:none}.profile__button{width:48px;padding:5px}.profile__button>svg{display:none}.voice-composer{grid-template-columns:1fr}.voice-composer__actions{grid-template-columns:48px minmax(0,1fr);width:100%}.voice-record,.voice-send{width:100%}.metrics{grid-template-columns:1fr 1fr;gap:10px;padding:20px 16px 18px}.metric-card{grid-template-columns:36px 1fr;padding:13px}.metric-card__icon{width:36px;height:36px}.metric-card>strong{font-size:21px}.metric-card>span:last-child{white-space:normal}.dashboard-grid{padding:0 16px 32px}.business-view{padding:20px 16px 30px}.business-heading{flex-direction:column;align-items:stretch;margin-bottom:18px}.business-heading .button{width:100%}.record-search button{padding:0 11px}.record-filters{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.record-filters label:only-child{grid-column:1/-1}.record-filters select{width:100%;min-width:0}.records-table tr{grid-template-columns:1fr}.records-table td,.records-table td:first-child,.records-table .record-actions{grid-column:1}.records-table td:not(:first-child,.record-actions){grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);align-items:center;min-height:42px;display:grid}.records-table td:not(:first-child,.record-actions):before{margin:0}.record-dialog{width:100vw;padding:20px 16px}.intake-detail{padding:18px 15px 26px}.intake-link-form,.proposal__facts{grid-template-columns:1fr}.proposal__facts>span,.proposal__facts>span:nth-child(2){border-right:0;border-bottom:1px solid var(--line)}.proposal__facts>span:last-child{border-bottom:0}.approval-actions{grid-template-columns:1fr;display:grid}.approval-actions .button{width:100%}.email-draft-editor{padding:14px}.email-draft-editor>header,.email-draft-actions{align-items:stretch}.email-draft-actions{grid-template-columns:1fr;display:grid}.email-draft-actions .button{width:100%}.email-draft-history li{flex-wrap:wrap;align-items:flex-start;padding-block:6px}.email-draft-history li time{width:100%;margin-left:0}.approval-panel>small{text-align:left}.form-grid,.participant-fields,.choice-grid--users{grid-template-columns:1fr}.field--wide{grid-column:1}.record-form__actions{padding-bottom:20px;bottom:-20px}}.sales-heading__actions,.sales-toolbar,.opportunity-card__topline,.opportunity-card__footer,.opportunity-detail__status,.transition-actions{align-items:center;gap:10px;display:flex}.sales-heading__actions{justify-content:flex-end}.segmented-control{border:1px solid var(--line-strong);background:#e9eeec;border-radius:6px;align-items:stretch;min-height:42px;margin-bottom:18px;padding:3px;display:inline-flex}.segmented-control button{min-width:112px;color:var(--muted);background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:12px;font-weight:750;display:inline-flex}.segmented-control button.segmented-control--active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0e17161f}.segmented-control--small{min-height:38px;margin:0}.segmented-control--small button{min-width:90px;font-size:11px}.pipeline-version{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--muted);border-radius:5px;align-items:center;gap:8px;padding:0 12px;font-size:11px;display:flex}.pipeline-version span{color:var(--ink);font-weight:700}.pipeline-version small{border-left:1px solid var(--line);padding-left:8px}.pipeline-board{scrollbar-color:#aab8b4 transparent;grid-auto-columns:minmax(268px,1fr);grid-auto-flow:column;gap:12px;min-height:520px;padding:0 0 16px;display:grid;overflow-x:auto}.pipeline-column{background:#eef2f1;border-top:3px solid #d7dfdc;min-width:268px;transition:border-color .14s,background-color .14s,box-shadow .14s,opacity .14s}.pipeline-column--source{background:#e7ecea;border-top-color:#71817c}.pipeline-column--drop-allowed{background:#e8f4ef;border-top-color:#18856e}.pipeline-column--drop-over{background:#dcf0e8;border-top-color:#08735f;box-shadow:inset 0 0 0 2px #08735f}.pipeline-column--drop-blocked{opacity:.55}.pipeline-column>header{border-bottom:1px solid var(--line);grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:65px;padding:10px 12px;display:grid}.pipeline-column>header strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.pipeline-column__count{color:#4b5956;background:#dce4e1;border-radius:50%;place-items:center;min-width:22px;height:22px;font-size:10px;font-weight:800;display:grid}.pipeline-column>header small{color:var(--muted);grid-column:2/-1;font-size:10px}.pipeline-column__marker{border-radius:50%;width:8px;height:8px}.pipeline-column__items{align-content:start;gap:8px;padding:10px;display:grid}.pipeline-drop-status{color:#5d6965;background:#ffffff8c;border:1px dashed #9eaaa6;border-radius:5px;justify-content:center;align-items:center;gap:6px;min-height:40px;font-size:10px;font-weight:800;display:flex}.pipeline-drop-status--allowed{color:#086451;background:#f4fbf8;border-color:#18856e}.opportunity-card{border:1px solid var(--line);background:var(--surface);width:100%;min-height:158px;color:var(--ink);text-align:left;border-radius:6px;gap:8px;padding:12px;transition:border-color .14s,box-shadow .14s,opacity .14s;display:grid;box-shadow:0 1px 2px #0e17160d}.opportunity-card:hover{border-color:#9bb1aa;box-shadow:0 4px 12px #0e171614}.opportunity-card--draggable{cursor:grab;touch-action:manipulation}.opportunity-card--draggable:active{cursor:grabbing}.opportunity-card--dragging{opacity:.18}.opportunity-card__content{align-content:start;gap:8px;width:100%;display:grid}.opportunity-card__content--overlay{background:var(--surface);width:268px;min-height:158px;color:var(--ink);text-align:left;cursor:grabbing;border:1px solid #08735f;border-radius:6px;padding:12px;box-shadow:0 14px 32px #0e171633}.opportunity-card__topline{justify-content:flex-start;min-height:20px}.opportunity-card__drag-state{color:#52625d;margin-left:auto}.opportunity-card__content>strong{overflow-wrap:anywhere;font-size:13px;line-height:1.35}.opportunity-card__account{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.opportunity-card__value{color:var(--ink);font-size:12px;font-weight:800}.opportunity-card__footer{border-top:1px solid var(--line);justify-content:space-between;padding-top:8px}.opportunity-card__footer small{color:var(--muted);align-items:center;gap:4px;font-size:9px;display:inline-flex}.pipeline-column__empty{min-height:84px;color:var(--muted);border:1px dashed #c8d2cf;place-items:center;font-size:10px;display:grid}.test-badge{color:#7c5305;background:#fff7d6;border:1px solid #9a6c10;border-radius:4px;align-items:center;min-height:20px;padding:2px 5px;font-size:8px;font-weight:900;display:inline-flex}.task-list{border:1px solid var(--line);background:var(--surface);border-radius:6px;overflow:hidden}.task-row{border-bottom:1px solid var(--line);grid-template-columns:36px minmax(210px,1fr) auto auto auto minmax(120px,auto);align-items:center;gap:12px;min-height:74px;padding:10px 14px;display:grid}.task-row:last-child{border-bottom:0}.task-row__check{border:1px solid var(--line-strong);background:var(--surface);color:#0000;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.task-row__check:hover:not(:disabled){border-color:var(--green);color:var(--green)}.task-row__check--done{border-color:var(--green);background:var(--green);color:#fff}.task-row__content{gap:5px;min-width:0;display:grid}.task-row__content>span{align-items:center;gap:8px;display:flex}.task-row__content strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.task-row__content small,.task-row__content small button{color:var(--muted);text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;padding:0;font-size:10px;overflow:hidden}.task-row__content small button:hover{color:var(--teal);text-decoration:underline}.task-row__due,.task-row__assignee{color:var(--muted);white-space:nowrap;align-items:center;gap:5px;font-size:10px;display:inline-flex}.task-row__due--overdue{color:var(--danger);font-weight:750}.opportunity-detail{width:min(780px,100vw - 40px)}.opportunity-detail__status{flex-wrap:wrap;margin-bottom:18px}.opportunity-detail__status>span:last-child{color:var(--muted);font-size:10px}.stage-badge{border:1px solid;border-radius:4px;align-items:center;min-height:27px;padding:3px 8px;font-size:10px;font-weight:850;display:inline-flex}.opportunity-facts{border:1px solid var(--line);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}.opportunity-facts>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;padding:12px}.opportunity-facts>div:nth-child(3n){border-right:0}.opportunity-facts>div:nth-last-child(-n+3){border-bottom:0}.opportunity-facts dt{color:var(--muted);text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:800}.opportunity-facts dd{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;font-weight:700;overflow:hidden}.opportunity-description,.transition-panel,.opportunity-related,.timeline{margin-top:22px}.opportunity-description h3,.transition-panel h3,.opportunity-related h3,.timeline h3{margin:0;font-size:14px}.opportunity-description p,.section-heading p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.6}.transition-panel{border-top:1px solid var(--line);padding-top:18px}.transition-actions{flex-wrap:wrap}.button--danger{background:var(--surface);color:var(--danger);border:1px solid #dfaaa2}.process-terminal{color:#25643d;background:#f0f7f2;border:1px solid #a9c9b5;align-items:center;gap:8px;margin-top:20px;padding:11px 13px;font-size:11px;display:flex}.opportunity-task-list{border:1px solid var(--line);border-radius:5px;overflow:hidden}.opportunity-task-list>div{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:48px;padding:8px 11px;display:flex}.opportunity-task-list>div:last-child{border-bottom:0}.opportunity-task-list>div>span:last-child{gap:3px;display:grid}.opportunity-task-list strong{font-size:11px}.opportunity-task-list small{color:var(--muted);font-size:9px}.opportunity-task-list>p{color:var(--muted);text-align:center;margin:0;padding:18px;font-size:11px}.task-dot{background:var(--amber);border-radius:50%;flex:0 0 9px;width:9px;height:9px}.task-dot--completed{background:var(--green)}.task-dot--cancelled{background:var(--muted)}.timeline-list{display:grid}.timeline-list article{grid-template-columns:32px minmax(0,1fr);gap:10px;padding-bottom:16px;display:grid}.timeline-list__marker{border:1px solid var(--line);width:30px;height:30px;color:var(--teal);background:#edf3f1;border-radius:50%;place-items:center;display:grid}.timeline-list article>div{border-bottom:1px solid var(--line);gap:5px;padding-bottom:14px;display:grid}.timeline-list article>div>span{justify-content:space-between;gap:12px;display:flex}.timeline-list strong{font-size:11px}.timeline-list small,.timeline-list time{color:var(--muted);font-size:9px}.timeline-list p{color:#3f4d49;white-space:pre-line;margin:0;font-size:11px;line-height:1.55}.nested-dialog{z-index:130;background:#0e17168c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.nested-dialog>section{border:1px solid var(--line);background:var(--surface);border-radius:6px;width:min(620px,100%);max-height:calc(100vh - 36px);padding:22px;overflow-y:auto;box-shadow:0 20px 60px #0e171647}.nested-dialog>section>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.nested-dialog h3{margin:0;font-size:18px}.nested-dialog header button{border:1px solid var(--line);background:var(--surface);width:32px;height:32px;color:var(--muted);border-radius:5px;place-items:center;display:grid}.transition-target{border:1px solid var(--line);background:#f5f8f7;border-radius:5px;justify-content:space-between;align-items:center;padding:11px 12px;font-size:11px;display:flex}@media (max-width:820px){.sales-heading__actions{justify-content:space-between;width:100%}.sales-heading__actions .button{flex:1}.segmented-control{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.segmented-control button{min-width:0}.sales-toolbar{align-items:stretch}.pipeline-version{justify-content:center}.pipeline-board{grid-template-columns:1fr;grid-auto-flow:row;min-height:0;overflow:visible}.pipeline-column{min-width:0}.task-row{grid-template-columns:36px minmax(0,1fr) auto;gap:8px}.task-row>.entity-badge,.task-row__due,.task-row>.priority,.task-row__assignee{grid-column:2/-1}.task-row>.entity-badge,.task-row>.priority{justify-self:start}.opportunity-detail{width:100vw}.opportunity-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.opportunity-facts>div:nth-child(3n){border-right:1px solid var(--line)}.opportunity-facts>div:nth-child(2n){border-right:0}.opportunity-facts>div:nth-last-child(-n+3){border-bottom:1px solid var(--line)}.opportunity-facts>div:nth-last-child(-n+2){border-bottom:0}.transition-actions{display:grid}.transition-actions .button{width:100%}.timeline-list article>div>span{display:grid}.nested-dialog{align-items:end;padding:0}.nested-dialog>section{border-radius:6px 6px 0 0;width:100%;max-height:92vh;padding:18px 15px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.user-admin__heading-actions,.user-admin__summary,.user-detail__state,.user-section-actions{align-items:center;gap:10px;display:flex}.user-admin__heading-actions{justify-content:flex-end}.user-admin__summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap;margin-bottom:18px;padding:11px 0}.user-admin__summary>span{border-right:1px solid var(--line);min-height:32px;color:var(--muted);align-items:center;gap:7px;padding-right:16px;font-size:12px;display:inline-flex}.user-admin__summary>span:last-child{border-right:0}.user-admin__summary svg{color:var(--teal)}.user-admin__summary strong{color:var(--ink);font-size:15px}.user-table th:first-child{width:20%}.user-table th:nth-child(2){width:24%}.user-table th:nth-child(3),.user-table th:nth-child(4){width:17%}.user-table th:nth-child(5){width:13%}.security-state{color:var(--amber);align-items:center;gap:6px;font-weight:750;display:flex}.security-state--ok{color:var(--green)}.user-status,.user-self-badge{border:1px solid var(--line);text-transform:uppercase;border-radius:4px;align-items:center;width:fit-content;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex}.user-status--active{background:var(--green-soft);color:var(--green);border-color:#a9c9b5}.user-status--disabled{background:var(--amber-soft);color:var(--amber);border-color:#e8c894}.user-status--deleted{background:var(--danger-soft);color:var(--danger);border-color:#efc5bf}.user-self-badge{background:var(--teal-soft);color:var(--teal);border-color:#b8d2d8}.user-dialog--wide{width:min(920px,100vw - 32px)}.user-form{padding-bottom:0}.generated-password{grid-template-columns:minmax(0,1fr) 44px 44px;display:grid}.generated-password input{border-radius:5px 0 0 5px!important}.generated-password button{border:1px solid var(--line-strong);background:var(--surface);width:44px;height:44px;color:var(--teal);border-left:0;place-items:center;display:grid}.generated-password button:last-child{border-radius:0 5px 5px 0}.role-editor{border:0;border-top:1px solid var(--line);min-width:0;margin:22px 0 0;padding:18px 0 0}.role-editor legend{color:var(--ink);padding:0 9px 0 0;font-size:12px;font-weight:800}.role-editor__rows{gap:8px;display:grid}.role-editor__row{grid-template-columns:minmax(190px,.9fr) minmax(200px,1.1fr) 40px;align-items:end;gap:9px;display:grid}.role-editor__row label,.user-inline-form label,.password-reset-form label{gap:5px;display:grid}.role-editor__row label>span,.user-inline-form label>span,.password-reset-form label>span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:750}.role-editor__row select,.user-inline-form input,.password-reset-form input{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;height:44px;color:var(--ink);border-radius:5px;padding:0 11px}.role-editor__row>button{border:1px solid var(--line);background:var(--surface);width:40px;height:44px;color:var(--danger);border-radius:5px;place-items:center;display:grid}.role-editor__add{align-items:center;gap:6px;margin-top:12px;display:inline-flex}.user-detail__state{flex-wrap:wrap;margin-bottom:20px}.user-detail__state>span:last-child{color:var(--muted);margin-left:auto;font-size:11px}.user-admin-section{border-top:1px solid var(--line);padding:20px 0}.user-admin-section>header{grid-template-columns:34px minmax(0,1fr);gap:10px;margin-bottom:16px;display:grid}.user-admin-section>header>span{background:var(--teal-soft);width:34px;height:34px;color:var(--teal);border-radius:5px;place-items:center;display:grid}.user-admin-section h3{margin:0;font-size:14px}.user-admin-section p{color:var(--muted);margin:4px 0 0;font-size:11px;line-height:1.55}.user-inline-form{grid-template-columns:minmax(180px,.9fr) minmax(220px,1.1fr) auto;align-items:end;gap:10px;display:grid}.user-section-actions{justify-content:flex-end;margin-top:14px}.user-security-facts{border:1px solid var(--line);border-radius:5px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 16px;display:grid}.user-security-facts>div{border-right:1px solid var(--line);min-width:0;padding:11px 12px}.user-security-facts>div:last-child{border-right:0}.user-security-facts dt{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:800}.user-security-facts dd{overflow-wrap:anywhere;margin:5px 0 0;font-size:11px;font-weight:700}.security-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.security-actions>button{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--teal);text-align:left;border-radius:5px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;padding:10px;display:grid}.security-actions>button>span{gap:3px;min-width:0;display:grid}.security-actions strong{color:var(--ink);font-size:11px}.security-actions small{color:var(--muted);font-size:9px}.password-reset-form{background:#f5fafb;border:1px solid #b8d2d8;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:9px;margin-bottom:12px;padding:12px;display:grid}.user-admin-section--danger>header>span{background:var(--danger-soft);color:var(--danger)}.user-deleted-state{background:var(--danger-soft);border:1px solid #efc5bf;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px;display:grid}.user-deleted-state>svg{color:var(--danger)}@media (max-width:820px){.user-admin__heading-actions{align-items:stretch}.user-table th:first-child,.user-table th:nth-child(2),.user-table th:nth-child(3),.user-table th:nth-child(4),.user-table th:nth-child(5){width:auto}.user-dialog--wide{width:100vw}.user-security-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.user-security-facts>div:nth-child(2){border-right:0}.user-security-facts>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.user-inline-form{grid-template-columns:repeat(2,minmax(0,1fr))}.user-inline-form .button{grid-column:1/-1;justify-self:end}}@media (max-width:600px){.user-admin__heading-actions{grid-template-columns:44px minmax(0,1fr);display:grid}.user-admin__summary{grid-template-columns:1fr;display:grid}.user-admin__summary>span{border-right:0;border-bottom:1px solid var(--line)}.user-admin__summary>span:last-child{border-bottom:0}.role-editor__row,.user-inline-form,.password-reset-form,.security-actions,.user-deleted-state{grid-template-columns:1fr}.role-editor__row>button{width:100%}.user-inline-form .button{grid-column:1;width:100%}.user-security-facts{grid-template-columns:1fr}.user-security-facts>div{border-right:0;border-bottom:1px solid var(--line)}.user-security-facts>div:last-child{border-bottom:0}.user-section-actions{grid-template-columns:1fr;display:grid}.user-section-actions .button,.user-deleted-state .button{width:100%}.user-detail__state>span:last-child{width:100%;margin-left:0}}
