.readiness{min-width:0}.readiness-notice{border-inline-start:3px solid #b58125;padding:10px 14px;background:#f6f7f8;color:#384247}.readiness-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0;border-bottom:1px solid #dde2e5}.readiness-counts strong{display:block;font-size:24px}.readiness-counts span{display:block;font-size:13px;overflow-wrap:anywhere}.readiness-runtime{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:12px 0}.readiness-runtime dt{font-weight:600;font-size:13px}.readiness-runtime dd{margin:5px 0 0;font-size:12px;overflow-wrap:anywhere}.readiness-filters{display:flex;flex-wrap:wrap;gap:12px}.readiness-filters label{display:grid;gap:5px;flex:1 1 180px;min-width:0}.readiness-filters input,.readiness-filters select{width:100%;min-width:0}.readiness table{table-layout:fixed;min-width:760px}.readiness th:first-child{width:18%}.readiness th:nth-child(2){width:17%}.readiness td{vertical-align:top;white-space:normal;overflow-wrap:anywhere}.readiness td p{margin:8px 0}.readiness details{margin-top:10px}.readiness summary{cursor:pointer}.readiness-status{display:inline-block;font-size:12px;padding:3px 6px;border-radius:4px;color:#465154;background:#edf0f1}.readiness-IMPLEMENTED{color:#1b6246;background:#e7f3eb}.readiness-PARTIAL{color:#75580e;background:#fbf1d8}.readiness-ORGANIZATIONAL{color:#225e78;background:#e5f1f5}.readiness-BLOCKED,.readiness-EXTERNAL_VALIDATION_REQUIRED{color:#934542;background:#f9ecea}@media(max-width:700px){.readiness-counts,.readiness-runtime{grid-template-columns:repeat(2,minmax(0,1fr))}}.readiness-hint{display:block;margin-top:4px;font-size:11px;color:#6b665c;line-height:1.5}.readiness-blockers{margin:10px 0}.readiness-blockers summary{cursor:pointer;font-weight:600}.readiness-blockers li{margin:6px 0;line-height:1.7}.readiness-blockers code,.readiness td small.term-code{display:block;font-size:11px;color:#6b665c}.company-profile-editor{margin-top:24px;border-top:1px solid var(--border, #dce1e4);padding-top:20px}.company-profile-editor header,.company-profile-editor footer{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.company-profile-editor h2{font-size:20px;margin:0;overflow-wrap:anywhere}.company-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.company-profile-fields label{display:flex;min-width:0;flex-direction:column;gap:6px}.company-profile-fields input,.company-profile-fields textarea{width:100%;max-width:100%;box-sizing:border-box;resize:vertical}.company-profile-fields .profile-wide{grid-column:1 / -1}.company-profile-editor [role=alert]{color:#b3283c;overflow-wrap:anywhere}.company-profile-editor [role=status]{color:#177047}@media(max-width:640px){.company-profile-fields{grid-template-columns:minmax(0,1fr)}}.reference-sources{margin:18px 0}.reference-sources .note{margin:4px 0 12px;line-height:1.7}.reference-row{display:grid;grid-template-columns:1.4fr 1.6fr .9fr 1.3fr 1.2fr auto;gap:8px;margin-bottom:8px;align-items:center}.reference-row input,.reference-row select{width:100%}@media(max-width:860px){.reference-row{grid-template-columns:1fr 1fr}}.number-center{padding-top:8px}.number-center-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.number-center-heading h2{font-size:20px;margin:0}.number-center-actions,.number-inline-actions,.number-create-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.number-center-actions select{min-width:180px}.number-secondary{display:block;margin-top:4px;color:var(--ramz-text-muted);overflow-wrap:anywhere}.number-create{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px 0 24px;border-bottom:1px solid var(--ramz-border);margin-bottom:20px}.number-create label,.number-editor label{display:grid;gap:6px;font-size:13px;font-weight:700;min-width:0}.number-create-actions{grid-column:1 / -1}.number-editor{margin-top:28px;padding-top:22px;border-top:1px solid var(--ramz-border)}.number-editor h3{font-size:16px;margin:0 0 14px}.number-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-bottom:30px}.number-editor-section{display:grid;align-content:start;gap:12px;min-width:0}.number-editor-section h3{margin:0}.number-quota{display:flex;align-items:baseline;gap:10px}.number-quota strong{font-size:22px}.number-quota span{color:var(--ramz-text-muted)}.number-quota-edit{display:flex;align-items:end;gap:10px}.number-quota-edit input{max-width:120px}.number-capability-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}.number-capability-group{border-top:1px solid var(--ramz-border);padding-top:12px}.number-capability-group h4{margin:0 0 8px;font-size:14px}.number-capability{display:flex!important;grid-template-columns:none;align-items:start;gap:10px!important;padding:7px 0;font-weight:400!important}.number-capability input{width:16px;height:16px;flex:none;margin:2px 0 0}.number-capability span{display:grid;gap:2px;min-width:0}.number-capability strong,.number-capability small{overflow-wrap:anywhere}.number-capability small{color:var(--ramz-text-muted)}.number-metadata{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 24px}.number-metadata dd{margin:0;overflow-wrap:anywhere}.number-metadata dt{color:var(--ramz-text-muted);font-size:12px}@media(max-width:900px){.number-create{grid-template-columns:repeat(2,minmax(0,1fr))}.number-editor-grid,.number-capability-groups{grid-template-columns:1fr}}@media(max-width:600px){.number-center-heading{align-items:stretch;flex-direction:column}.number-create{grid-template-columns:1fr}.number-center-actions select{min-width:0;flex:1}.number-center .table-wrap{overflow:visible}.number-center table,.number-center tbody{display:block;width:100%}.number-center thead{display:none}.number-center tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;border-bottom:1px solid var(--ramz-border)}.number-center td{display:block;min-width:0;padding:0;border:0}.number-center td:first-child{grid-column:1 / -1}.number-center td[data-label]:before{content:attr(data-label);display:block;color:var(--ramz-text-muted);font-size:11px;margin-bottom:3px}}.sanad-preview{max-width:1200px;margin:0 auto;letter-spacing:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 18px;flex-wrap:wrap}.preview-heading h1{margin:2px 0 0;font-size:34px;color:#143f37}.preview-version{font-size:11px;color:#58645f}.preview-status{color:#246453;font-size:12px}.preview-mode{padding:10px 14px;background:#fff7df;color:#67551c;border-right:3px solid #b99c39;font-size:12px}.preview-workspace{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);min-height:560px;border-top:1px solid #dce4e0;margin-top:18px}.preview-context{padding:24px 0 24px 22px;border-left:1px solid #dce4e0;min-width:0}.preview-context label{display:block;font-weight:600;margin-bottom:10px}.preview-context select{width:100%;min-width:0;padding:10px 8px;border:1px solid #cad5ce;border-radius:5px;background:#fff;font:inherit;font-size:12px}.preview-context dl{margin:28px 0}.preview-context dt{font-size:12px;color:#69766f;margin-top:18px}.preview-context dd{margin:5px 0 0;font-size:14px;overflow-wrap:anywhere}.preview-source{display:flex;align-items:center;gap:8px;color:#64736e;font-size:12px;margin:16px 0}.preview-source svg{flex-shrink:0}.preview-conversation{display:flex;flex-direction:column;min-width:0;height:min(650px,76vh);min-height:450px;padding:18px 22px 0 0}.preview-messages{flex:1;overflow-y:auto;min-height:0;padding:0 4px 12px}.preview-empty{max-width:480px;margin:55px auto 20px}.preview-wordmark{color:#217060;font-size:40px;font-weight:700}.preview-empty h2{font-size:20px;margin:12px 0 28px}.preview-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preview-examples button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:12px;border:1px solid #dce4e0;border-radius:6px;background:#fff;color:#233f35;font:inherit;text-align:right;font-size:13px}.preview-examples button svg{flex-shrink:0}.preview-message{margin:16px 0;max-width:90%;padding:14px 16px;border-radius:6px;overflow-wrap:anywhere}.preview-message.user{margin-left:auto;background:#edf4f0}.preview-message.assistant{margin-right:auto;background:#fff;border:1px solid #e3e8e5}.preview-message strong{font-size:12px;color:#386c5b}.preview-message p{margin:9px 0 0;white-space:pre-wrap;line-height:1.9;font-size:14px}.preview-message small{display:block;margin-top:14px;color:#777}.preview-pending{font-size:13px;padding:12px;color:#587268}.preview-error{padding:10px;color:#9b3434;font-size:12px}.preview-composer{display:flex;align-items:flex-end;gap:10px;padding:12px 0;border-top:1px solid #dce4e0}.preview-composer textarea{flex:1;min-width:0;resize:vertical;min-height:72px;max-height:160px;border:1px solid #c9d6cf;border-radius:6px;padding:12px;font:inherit;font-size:14px;background:#fff}.preview-composer button{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:#216553;color:#fff;border:0;border-radius:6px}.sanad-preview button{cursor:pointer}.sanad-preview button:disabled{cursor:default;opacity:.5}.sanad-preview :focus-visible{outline:2px solid #327c65;outline-offset:3px}@media(max-width:700px){.preview-workspace{grid-template-columns:minmax(0,1fr)}.preview-context{border-left:0;border-bottom:1px solid #dce4e0;padding:16px 0}.preview-context dl,.preview-source{display:none}.preview-conversation{padding:16px 0 0;height:65vh}.preview-empty{margin-top:24px}.preview-examples{grid-template-columns:minmax(0,1fr)}.preview-message{max-width:96%}}.provider-usage{min-width:0}.usage-status{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:12px 0;color:#245849;border-bottom:1px solid #dce5df}.usage-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:20px 0}.usage-filters label{display:flex;flex-direction:column;gap:6px;min-width:145px;max-width:100%}.usage-filters input,.usage-filters select{width:100%;min-height:40px}.usage-filters button{width:76px;height:40px;display:grid;place-items:center;flex:0 0 76px}.usage-notice{color:#755400;background:#fff9df;padding:12px;line-height:1.8}.usage-coverage{color:#576567;font-size:13px}.usage-table-wrap{overflow-x:auto;max-width:100%}.usage-table-wrap table{min-width:1000px;width:100%;border-collapse:collapse;font-size:13px}.usage-table-wrap th,.usage-table-wrap td{padding:12px;text-align:right;border-bottom:1px solid #e1e7e4;vertical-align:top}.usage-table-wrap th{background:#f1f5f3;color:#27493f}.usage-table-wrap small{display:block;margin-top:5px;color:#657477;overflow-wrap:anywhere}@media(max-width:600px){.usage-filters label{flex:1 1 140px}}:root{--ramz-purple: #7D499C;--ramz-purple-strong: #69348A;--ramz-purple-soft: #F3EDF7;--ramz-purple-tint: #E9DEF1;--ramz-bg: #FAF8F5;--ramz-surface: #FFFFFF;--ramz-surface-warm: #FDFCFA;--ramz-text: #1B1720;--ramz-text-muted: #7C7484;--ramz-border: #ECE7E1;--ramz-border-strong: #E2DCD4;--ramz-radius-sm: 10px;--ramz-radius-md: 16px;--ramz-radius-lg: 22px;--ramz-shadow-sm: 0 1px 2px rgba(27, 23, 32, .04), 0 2px 8px rgba(27, 23, 32, .04);--ramz-shadow-md: 0 4px 16px rgba(27, 23, 32, .07);--ramz-green: #3F8A57;--ramz-green-soft: #E8F4EC;--ramz-amber: #B07E2A;--ramz-amber-soft: #F7F0E2;--ramz-red: #BE4A4A;--ramz-red-soft: #F8EAEA}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--ramz-bg);color:var(--ramz-text);direction:rtl;font-family:"Thmanyah Serif Text",Noto Naskh Arabic,IBM Plex Sans Arabic,Tajawal,Segoe UI,system-ui,-apple-system,serif;font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased}h1,h2,h3{color:var(--ramz-text);font-family:"Thmanyah Serif Display","Thmanyah Serif Text",serif;font-weight:700;line-height:1.35}h1{font-size:26px;margin:0 0 6px}h2{font-size:18px;margin:0 0 12px}a{color:inherit}.muted{color:var(--ramz-text-muted)}.error{color:var(--ramz-red);font-size:13px}code,.mono{font-family:SFMono-Regular,Cascadia Mono,JetBrains Mono,Menlo,monospace;direction:ltr;unicode-bidi:embed;font-size:.92em}.shell{display:flex;min-height:100vh}.sidebar{width:224px;flex-shrink:0;background:var(--ramz-surface-warm);border-inline-end:1px solid var(--ramz-border);padding:20px 12px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh;overflow-y:auto}.content{flex:1;min-width:0}.brand{display:flex;flex-direction:column;gap:2px;padding:6px 8px 2px;text-decoration:none}.brand-logo{display:block;width:150px;max-width:100%;height:auto}.brand-logo-login{width:200px;margin-inline:auto}.brand-sub{font-size:10px;color:var(--ramz-text-muted);letter-spacing:.5px;font-weight:700}.sidebar nav{display:flex;flex-direction:column;gap:2px;flex:1}.nav-label{font-size:11px;color:var(--ramz-text-muted);margin:14px 10px 6px;font-weight:700;letter-spacing:.3px}.nav-link{display:flex;align-items:center;gap:10px;color:var(--ramz-text-muted);text-decoration:none;padding:9px 12px;border-radius:11px;font-weight:600;font-size:14px;position:relative;transition:background .16s ease,color .16s ease}.nav-link .nav-icon{flex-shrink:0}.nav-link:hover,.nav-link.active{background:var(--ramz-purple-soft);color:var(--ramz-purple-strong)}.nav-link.active:before{content:"";position:absolute;inset-inline-start:0;top:22%;bottom:22%;width:3px;border-radius:999px;background:var(--ramz-purple)}.session{border-top:1px solid var(--ramz-border);padding-top:14px;display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;background:var(--ramz-purple-tint);color:var(--ramz-purple-strong);display:grid;place-items:center;font-weight:700;flex-shrink:0}.session-name{font-weight:700;font-size:13px}.session-role{font-size:12px;color:var(--ramz-text-muted)}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:14px 28px;background:#faf8f5d1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--ramz-border)}.topbar-title{font-weight:800;font-size:15px;display:none}.topbar-sub{font-size:12px;color:var(--ramz-text-muted)}.topbar-right{display:flex;align-items:center;gap:10px}.topbar-role{font-size:12px;color:var(--ramz-purple-strong);background:var(--ramz-purple-soft);padding:4px 12px;border-radius:999px;font-weight:700}.page{padding:28px;max-width:1200px;margin-inline:auto;width:100%}.page-header{margin-bottom:22px}.page-title{font-size:28px;font-weight:800;margin:0 0 4px}.page-subtitle{color:var(--ramz-text-muted);margin:0;max-width:620px}.page-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}.card{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-md);padding:20px;box-shadow:var(--ramz-shadow-sm)}.panel{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-md);padding:18px;box-shadow:var(--ramz-shadow-sm)}.section{margin-bottom:26px}.section-title{font-weight:800;font-size:16px;margin:0 0 12px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.metric{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-lg);padding:20px 22px;box-shadow:var(--ramz-shadow-sm)}.metric-value{font-size:30px;font-weight:800;color:var(--ramz-text)}.metric-label{color:var(--ramz-text-muted);font-size:13px;margin-top:2px}.metric-hint{font-size:12px;color:var(--ramz-purple-strong);margin-top:6px;font-weight:700}button,.btn{font-family:inherit;font-size:14px;font-weight:700;border-radius:12px;border:1px solid transparent;cursor:pointer;transition:background .16s ease,transform .06s ease,border-color .16s ease,color .16s ease;padding:10px 16px;background:var(--ramz-purple);color:#fff}button:hover,.btn:hover{background:var(--ramz-purple-strong)}button:active,.btn:active{transform:translateY(1px)}button:disabled,.btn:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--ramz-surface);color:var(--ramz-text);border-color:var(--ramz-border-strong)}.btn-secondary:hover{background:var(--ramz-purple-soft);color:var(--ramz-purple-strong);border-color:var(--ramz-purple-tint)}.btn-danger{background:var(--ramz-red-soft);color:var(--ramz-red)}.btn-danger:hover{background:#f3dcdc;color:#9c3434}.btn-sm{padding:7px 12px;font-size:13px;border-radius:10px}.form{display:flex;flex-direction:column;gap:14px;max-width:720px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:13px;font-weight:700;color:var(--ramz-text)}.field .helper{font-size:12px;color:var(--ramz-text-muted)}input,select,textarea{font-family:inherit;font-size:14px;background:var(--ramz-surface);border:1px solid var(--ramz-border-strong);color:var(--ramz-text);padding:11px 13px;border-radius:12px;width:100%;transition:border-color .16s ease,box-shadow .16s ease}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ramz-purple);box-shadow:0 0 0 3px var(--ramz-purple-soft)}textarea{resize:vertical;min-height:72px}.table-wrap{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-md);overflow-x:auto;box-shadow:var(--ramz-shadow-sm)}table{width:100%;border-collapse:collapse;background:var(--ramz-surface)}th,td{text-align:right;padding:13px 16px;border-bottom:1px solid var(--ramz-border);vertical-align:middle}th{color:var(--ramz-text-muted);font-weight:700;font-size:12px;white-space:nowrap;background:var(--ramz-surface-warm);position:sticky;top:0}tbody tr:last-child td{border-bottom:0}tbody tr{transition:background .12s ease}tbody tr:hover{background:var(--ramz-surface-warm)}.status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:4px 11px;border-radius:999px;white-space:nowrap}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-neutral{background:var(--ramz-purple-soft);color:var(--ramz-purple-strong)}.status-success{background:var(--ramz-green-soft);color:var(--ramz-green)}.status-warning{background:var(--ramz-amber-soft);color:var(--ramz-amber)}.status-danger{background:var(--ramz-red-soft);color:var(--ramz-red)}.status-muted{background:#f1eeea;color:var(--ramz-text-muted)}.row-menu{position:relative;display:inline-block}.row-menu summary{list-style:none;cursor:pointer;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:var(--ramz-text-muted);font-weight:800;-webkit-user-select:none;user-select:none}.row-menu summary::-webkit-details-marker{display:none}.row-menu summary:hover{background:var(--ramz-purple-soft);color:var(--ramz-purple-strong)}.row-menu .menu{position:absolute;inset-inline-start:0;top:calc(100% + 4px);z-index:30;min-width:190px;background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:14px;box-shadow:var(--ramz-shadow-md);padding:6px;display:flex;flex-direction:column;gap:2px}.row-menu .menu button{background:transparent;color:var(--ramz-text);text-align:right;border-radius:10px;padding:9px 12px;font-size:13px;width:100%}.row-menu .menu button:hover{background:var(--ramz-purple-soft);color:var(--ramz-purple-strong)}.row-menu .menu button.danger:hover{background:var(--ramz-red-soft);color:var(--ramz-red)}.quota{display:flex;align-items:center;gap:10px}.quota-track{flex:1;height:6px;border-radius:999px;background:#efeae5;overflow:hidden;min-width:70px}.quota-fill{height:100%;border-radius:999px;background:var(--ramz-purple)}.quota-text{font-size:12px;color:var(--ramz-text-muted);white-space:nowrap;font-weight:700}.upload-zone{border:2px dashed var(--ramz-border-strong);border-radius:var(--ramz-radius-lg);background:var(--ramz-surface);padding:44px 24px;text-align:center;transition:border-color .16s ease,background .16s ease}.upload-zone:hover{border-color:var(--ramz-purple);background:var(--ramz-purple-soft)}.upload-zone .upload-icon{font-size:30px}.upload-zone .upload-title{font-weight:800;margin:8px 0 2px}.upload-zone .upload-hint{font-size:12px;color:var(--ramz-text-muted)}.quick-actions{display:flex;gap:10px;flex-wrap:wrap}.activity-list{display:flex;flex-direction:column}.activity-item{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--ramz-border)}.activity-item:last-child{border-bottom:0}.activity-time{font-size:12px;color:var(--ramz-text-muted);min-width:60px}.activity-text{font-size:14px}.company-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.company-card{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-lg);padding:18px;box-shadow:var(--ramz-shadow-sm);display:flex;flex-direction:column;gap:10px}.company-card .company-name{font-weight:800;font-size:16px}.company-stats{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--ramz-text-muted)}.drawer-backdrop{position:fixed;inset:0;background:#1b172052;z-index:40;display:flex;justify-content:flex-start}.drawer{position:relative;height:100dvh;width:min(1040px,96vw);background:var(--ramz-surface);z-index:41;display:flex;flex-direction:column;box-shadow:var(--ramz-shadow-md);animation:drawer-in .22s ease}.drawer-sm{width:min(520px,96vw)}.drawer-lg{width:min(1280px,96vw)}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid var(--ramz-border);position:sticky;top:0;background:var(--ramz-surface)}.drawer-head h2{margin:0;font-size:18px}.drawer-body{padding:20px 24px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:14px}.drawer-body .form{max-width:none}.drawer-body .panel{padding:0;border:0;box-shadow:none;background:transparent}.drawer-foot{padding:14px 24px;border-top:1px solid var(--ramz-border);background:var(--ramz-surface-warm);display:flex;justify-content:flex-start}.drawer-stack{display:grid;gap:12px;margin:4px 0 10px}.confirm-message{line-height:1.8}@keyframes drawer-in{0%{transform:translate(24px);opacity:0}to{transform:none;opacity:1}}@media(max-width:700px){.drawer,.drawer-sm,.drawer-lg{width:100vw}.drawer-head,.drawer-body,.drawer-foot{padding-inline:16px}@keyframes drawer-in{0%{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}}.tabs{display:inline-flex;gap:6px;background:#f1ede8;padding:4px;border-radius:12px;margin-bottom:14px}.tabs button{background:transparent;color:var(--ramz-text-muted);padding:8px 16px;border-radius:9px}.tabs button.active{background:var(--ramz-surface);color:var(--ramz-purple-strong);box-shadow:var(--ramz-shadow-sm)}.hero{margin-bottom:26px}.hero-title{font-size:34px;font-weight:800;margin:0 0 4px;line-height:1.25}.hero-sub{color:var(--ramz-text-muted);font-size:16px;margin:0}.health-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:14px;margin-bottom:26px}.health-panel{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-lg);padding:22px;box-shadow:var(--ramz-shadow-sm)}.health-panel.primary{border-inline-start:3px solid var(--ramz-purple)}.health-value{font-size:38px;font-weight:800}.health-label{color:var(--ramz-text-muted);font-size:13px}.health-row{display:flex;align-items:baseline;gap:10px;margin-top:8px}.health-dot{width:9px;height:9px;border-radius:50%;background:var(--ramz-green);display:inline-block}.health-dot.warn{background:var(--ramz-amber)}.attention-list{display:flex;flex-direction:column;gap:10px}.attention-item{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:12px;background:var(--ramz-amber-soft);color:var(--ramz-amber);font-size:14px;font-weight:600}.provider-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.provider-pill{background:var(--ramz-surface);border:1px solid var(--ramz-border);color:var(--ramz-text);border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px;box-shadow:var(--ramz-shadow-sm)}.provider-pill:hover{background:var(--ramz-surface-warm);color:var(--ramz-text)}.knowledge-upload{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,260px);gap:14px;align-items:stretch}.knowledge-upload .upload-zone{min-height:118px;display:grid;place-items:center;gap:4px}.doc-list,.phone-inventory,.integration-board{display:grid;gap:12px}.doc-row{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:16px;padding:14px;display:grid;grid-template-columns:58px 1fr auto auto;align-items:center;gap:14px;box-shadow:var(--ramz-shadow-sm)}.file-glyph{width:52px;height:52px;border-radius:14px;background:var(--ramz-purple-soft);color:var(--ramz-purple-strong);padding:0;display:grid;place-items:center;font-size:12px;font-weight:800}.text-link{background:transparent;color:var(--ramz-text);border:0;padding:0;text-align:right;font-size:15px}.text-link:hover{background:transparent;color:var(--ramz-purple-strong)}.doc-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--ramz-text-muted);font-size:12px}.doc-state{display:grid;justify-items:start;gap:6px}.phone-inventory{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin-top:24px}.phone-card{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:18px;padding:18px;min-height:230px;display:grid;gap:14px;box-shadow:var(--ramz-shadow-sm)}.phone-head,.phone-foot,.integration-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.phone-number{font-size:24px;font-weight:800;color:var(--ramz-text)}.phone-company{background:var(--ramz-surface-warm);border:1px solid var(--ramz-border);border-radius:12px;padding:10px 12px;font-weight:700}.phone-statuses,.integration-status{display:flex;gap:8px;flex-wrap:wrap}.menu-inline{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:6px;padding:4px 8px;align-items:center}.menu-inline select{font-size:13px;padding:8px 10px}.integration-board{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));align-items:start}.integration-lane{background:var(--ramz-surface-warm);border:1px solid var(--ramz-border);border-radius:16px;padding:12px;display:grid;gap:10px}.lane-title{font-weight:800;font-size:13px;color:var(--ramz-text-muted);padding:2px 4px}.integration-card{background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:14px;padding:14px;display:grid;gap:10px;box-shadow:var(--ramz-shadow-sm)}.integration-main{background:transparent;color:var(--ramz-text);border:0;padding:0;text-align:right;display:flex;gap:10px;align-items:center}.integration-main:hover{background:transparent;color:var(--ramz-purple-strong)}.integration-main span{display:grid;gap:1px}.integration-main small{color:var(--ramz-text-muted);font-weight:600}.drawer-stack{display:grid;gap:12px;margin:16px 0 22px}.drawer-stack p{margin:4px 0 0}.shared-number{max-width:960px}.shared-number-hero{display:flex;align-items:center;gap:20px;padding:28px 0;border-bottom:1px solid var(--ramz-border)}.shared-number-icon{color:var(--ramz-purple-strong);background:var(--ramz-surface-warm);width:52px;height:52px;display:grid;place-items:center;border-radius:8px;flex:none}.shared-number-label{color:var(--ramz-text-muted);font-size:13px;font-weight:700}.shared-number-value{color:var(--ramz-text);font-size:28px;font-weight:800}.shared-number-hero .status-badge{margin-inline-start:auto}.shared-number-details{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:26px 0;border-bottom:1px solid var(--ramz-border)}.shared-number-details>div{display:grid;gap:6px;min-width:0}.shared-number-details span{color:var(--ramz-text-muted);font-size:12px}.shared-number-details strong{overflow-wrap:anywhere}.shared-number-actions{display:flex;gap:10px;padding-top:24px}@media(max-width:900px){.health-grid,.knowledge-upload{grid-template-columns:1fr}.doc-row{grid-template-columns:46px 1fr auto}.doc-state{grid-column:2 / -1;justify-items:start}.provider-pill{align-items:flex-start;flex-direction:column}.shared-number-details{grid-template-columns:repeat(2,minmax(0,1fr))}.shared-number-hero{flex-wrap:wrap}.shared-number-hero .status-badge{margin-inline-start:0}}.empty{text-align:center;padding:40px 20px;color:var(--ramz-text-muted)}.empty .empty-icon{font-size:34px}.empty .empty-title{font-weight:800;color:var(--ramz-text);margin:8px 0 2px}.center{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.login .login-card{width:400px;max-width:100%;background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-lg);padding:28px;box-shadow:var(--ramz-shadow-md);display:flex;flex-direction:column;gap:14px}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:8px}.mobile-menu-btn{display:none}@media(max-width:900px){.sidebar{position:fixed;inset-block:0;inset-inline-start:0;z-index:50;transform:translate(100%);transition:transform .22s ease;box-shadow:var(--ramz-shadow-md)}.sidebar.open{transform:none}.mobile-menu-btn{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--ramz-border-strong);background:var(--ramz-surface);cursor:pointer;font-size:18px}.page{padding:16px}.topbar{padding:10px 14px}.page-title{font-size:22px}.topbar-title{display:block}.topbar-role,.account-name,.account-kind{display:none}.account-btn{padding:4px}}@media(max-width:700px){table.cards thead{display:none}table.cards,table.cards tbody,table.cards tr,table.cards td{display:block;width:100%}table.cards tr{padding:10px 14px 12px;border-bottom:1px solid var(--ramz-border)}table.cards tr:last-child{border-bottom:0}table.cards td{padding:6px 0;border:0;display:flex;gap:12px;align-items:baseline}table.cards td:before{content:attr(data-label);color:var(--ramz-text-muted);font-size:12px;min-width:96px;flex-shrink:0}table.cards td:not([data-label]):before{content:none}table.cards td.row-actions{flex-wrap:wrap;gap:8px;padding-top:10px}table.cards td>select,table.cards td>input{flex:1}.row-actions button{flex:1 1 auto}}.company-card-actions{display:flex;flex-wrap:wrap;gap:8px}.channel-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.channel-card{display:flex;flex-direction:column;gap:6px;text-align:start;padding:14px;border-radius:var(--ramz-radius-lg);border:1px solid var(--ramz-border-strong);background:var(--ramz-surface);color:var(--ramz-text);font:inherit;cursor:pointer}.channel-card.selected{border-color:var(--ramz-purple);box-shadow:0 0 0 2px var(--ramz-purple-tint)}.channel-card span{color:var(--ramz-text-muted);font-size:12px;line-height:1.6}.employee-list{display:flex;flex-direction:column;gap:8px;margin:12px 0}.employee-row{display:grid;grid-template-columns:1.2fr 1fr 1fr auto auto;gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-sm);font-size:13px}.employee-name{font-weight:700}.account{position:relative}.account-btn{display:flex;align-items:center;gap:10px;background:var(--ramz-surface);border:1px solid var(--ramz-border-strong);border-radius:999px;padding:4px 12px 4px 6px;cursor:pointer;font:inherit;color:inherit}.account-btn .avatar{width:30px;height:30px;font-size:13px}.account-name{font-weight:700;font-size:13px;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-kind{font-size:11px;color:var(--ramz-text-muted)}.account-menu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:30;background:var(--ramz-surface);border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-md);box-shadow:var(--ramz-shadow-md);min-width:220px;padding:6px;display:grid;gap:2px}.account-menu button{background:none;border:0;text-align:start;padding:10px 12px;border-radius:10px;font:inherit;color:inherit;cursor:pointer;width:100%}.account-menu button:hover{background:var(--ramz-purple-soft)}.account-menu button.danger{color:var(--ramz-red)}.identity-confirm{display:flex;flex-direction:column;gap:12px}.identity-confirm p{margin:0;color:var(--ramz-text-muted);line-height:1.7}.quota-card{border:1px solid var(--border, #e5e7eb);border-radius:10px;padding:14px 16px;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:6px 28px;align-items:baseline;background:var(--surface, #fff)}.row-actions{display:flex;gap:10px;flex-wrap:wrap}.row-actions button{white-space:nowrap}.capability-groups{display:grid;gap:12px;margin:12px 0;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.capability-group{border:1px solid var(--ramz-border);border-radius:var(--ramz-radius-sm);padding:10px 14px;display:grid;gap:6px;align-content:start;margin:0}.capability-group legend{font-weight:700;padding:0 6px}.capability-tick{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6}.capability-tick input[type=checkbox]{width:18px;height:18px;flex-shrink:0;margin-top:3px}.capability-tick>span{flex:1}.capability-tick .outside-note{color:var(--ramz-text-muted);font-size:12px}.status{flex-wrap:wrap;row-gap:2px}.status-code{font-size:10px;opacity:.7;margin-inline-start:6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.term{display:inline-grid;gap:1px}.term-code{font-size:11px;color:var(--ramz-text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.term-hint{font-size:11px;color:var(--ramz-text-muted);line-height:1.5}button.danger,.btn-danger{background:var(--ramz-red-soft);color:var(--ramz-red);border-color:transparent}button.danger:hover,.btn-danger:hover{background:#f1dcdc}.checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 14px}.checks label{display:flex;align-items:center;gap:8px;font-size:14px}.checks input[type=checkbox]{width:auto}.note{font-size:13px;color:var(--ramz-text-muted);line-height:1.7;margin:0}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}.toolbar .grow{flex:1;min-width:160px}.table-wrap+.section{margin-top:26px}.inline-edit{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toaster{position:fixed;top:14px;inset-inline:0;display:grid;justify-items:center;gap:8px;z-index:200;pointer-events:none;padding:0 16px}.toast{pointer-events:auto;display:flex;align-items:center;gap:10px;max-width:min(560px,100%);padding:10px 14px;border-radius:12px;background:var(--ramz-text);color:#fff;box-shadow:var(--ramz-shadow-md);font-size:14px;line-height:1.6;animation:toast-in .18s ease}.toast-ok{background:var(--ramz-green)}.toast-error{background:var(--ramz-red)}.toast-icon{width:22px;height:22px;border-radius:50%;background:#ffffff38;display:grid;place-items:center;font-weight:800;flex-shrink:0}.toast-close{background:none;border:0;color:inherit;font-size:18px;padding:0 2px;cursor:pointer;opacity:.8}.toast-close:hover{opacity:1;background:none}@keyframes toast-in{0%{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}
