*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{color-scheme:light;--bg: #eef3fb;--bg-secondary: #e8eef8;--surface: rgba(255, 255, 255, .9);--surface-strong: rgba(255, 255, 255, .98);--surface-muted: rgba(245, 248, 253, .96);--surface-contrast: #f8fbff;--border: rgba(148, 163, 184, .18);--border-strong: rgba(148, 163, 184, .3);--text: #0f172a;--text-muted: #5f6b7c;--primary: #315cff;--primary-deep: #1d4ed8;--primary-soft: rgba(49, 92, 255, .12);--accent: #0ea5a3;--accent-soft: rgba(14, 165, 163, .14);--warning: #d97706;--warning-soft: rgba(217, 119, 6, .16);--danger: #dc2626;--danger-soft: rgba(220, 38, 38, .14);--success: #10b981;--success-soft: rgba(16, 185, 129, .14);--shadow: 0 24px 60px rgba(15, 23, 42, .08);--shadow-strong: 0 28px 80px rgba(15, 23, 42, .12)}.dark{color-scheme:dark;--bg: #09111f;--bg-secondary: #0c1422;--surface: rgba(9, 18, 33, .86);--surface-strong: rgba(10, 19, 35, .96);--surface-muted: rgba(13, 23, 40, .92);--surface-contrast: rgba(7, 13, 24, .98);--border: rgba(148, 163, 184, .1);--border-strong: rgba(148, 163, 184, .18);--text: #edf3ff;--text-muted: #91a4bd;--primary: #4f7dff;--primary-deep: #315cff;--primary-soft: rgba(79, 125, 255, .14);--accent: #39d0c4;--accent-soft: rgba(57, 208, 196, .16);--warning: #f6b354;--warning-soft: rgba(246, 179, 84, .16);--danger: #ff8b8b;--danger-soft: rgba(255, 139, 139, .14);--success: #33d69f;--success-soft: rgba(51, 214, 159, .16);--shadow: 0 14px 34px rgba(2, 8, 23, .18);--shadow-strong: 0 22px 56px rgba(2, 8, 23, .28)}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{min-height:100vh;color:var(--text);background:radial-gradient(circle at top left,rgba(63,110,255,.12),transparent 24%),radial-gradient(circle at top right,rgba(31,202,191,.06),transparent 22%),linear-gradient(180deg,var(--bg) 0%,var(--bg-secondary) 100%);font-family:Inter,Avenir Next,Segoe UI,sans-serif}::-moz-selection{background:var(--primary-soft)}::selection{background:var(--primary-soft)}*{border-color:var(--border)}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.app-shell.production-reference-shell{background:#f8fafc}.production-reference-shell{min-height:100vh;background:#f8fafc;color:#0f172a}.production-content{min-height:100vh}.production-mobile-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0f172a4d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.production-topbar{position:sticky;top:0;z-index:20;border-bottom:1px solid #e5eaf2;background:#f8fafcf0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.production-topbar-inner,.production-main{width:100%;max-width:1540px;margin:0 auto}.production-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px}.production-topbar-left,.production-topbar-actions{display:flex;align-items:center;gap:10px;min-width:0}.production-topbar-actions{position:relative;gap:8px}.production-page-label{display:none;min-width:0}.production-page-label p{color:#94a3b8;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.production-page-label strong{display:block;overflow:hidden;color:#0f172a;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.production-main{padding:12px 12px 32px}.production-sidebar{position:fixed;top:12px;bottom:12px;left:12px;z-index:40;display:flex;width:104px;flex-direction:column;overflow:hidden;border:1px solid #e5eaf2;border-radius:8px;background:#fff;border-color:#e5eaf2;box-shadow:0 16px 44px #0f172a0f;transform:translate(-130%);transition:transform .18s ease}.production-sidebar.open{transform:translate(0)}.production-sidebar.\!open{transform:translate(0)!important}.production-sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;padding:12px 10px}.brand-mark{display:flex;align-items:center}.brand-mark-compact{gap:6px}.brand-mark-emblem-compact{width:20px;height:20px;border-radius:6px}.brand-mark-title-compact{color:#0f172a!important;font-size:11px;font-weight:700;letter-spacing:0}.production-nav{flex:1;overflow-y:auto;padding:0 8px 12px}.production-nav-group{margin-bottom:12px}.production-nav-list{display:grid;gap:4px}.production-nav-label{margin:10px 8px 7px;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.production-nav-item{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:6px;min-height:27px;border-radius:6px;padding:6px 7px;color:#475569;font-size:9px;font-weight:700;line-height:1.15}.production-nav-item:hover,.production-nav-item.active{color:#2563eb;background:#eaf1ff}.production-workspace-label{display:block;margin-bottom:5px;font-size:8px;font-weight:700;color:#64748b}.production-workspace-select{width:100%;min-height:28px;border:1px solid #dbe3ee;border-radius:6px;padding:4px 6px;background:#fff;color:#0f172a;font-size:9px;font-weight:700}.production-workspace{border-top:1px solid #e5eaf2;padding:8px}.reference-search{display:none;align-items:center;gap:8px;height:32px;border:1px solid #e5eaf2;border-radius:8px;padding:0 11px;background:#fff;color:#94a3b8;font-size:11px}.reference-search .flex-1{flex:1}.reference-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#0f172a;font-size:11px;font-weight:700}.reference-search input::-moz-placeholder{color:#94a3b8}.reference-search input::placeholder{color:#94a3b8}.reference-search-submit{display:inline-grid;width:18px;height:18px;flex:0 0 auto;place-items:center;color:#64748b}.reference-topbar-notice,.reference-topbar-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:50;width:min(320px,calc(100vw - 24px));border:1px solid #c7d7fe;border-radius:8px;background:#eff6ff;color:#1d4ed8;padding:10px 12px;box-shadow:0 18px 42px #0f172a24;font-size:11px;font-weight:700;line-height:1.45}.reference-topbar-popover{display:grid;gap:8px;border-color:#e5eaf2;background:#fff;color:#334155}.reference-topbar-popover strong{color:#0f172a;font-size:12px}.reference-topbar-popover button{justify-self:start;color:#2563eb;font-size:11px;font-weight:700}.reference-icon-button,.reference-avatar,.reference-logout,.reference-top-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border:1px solid #e5eaf2;border-radius:8px;background:#fff;color:#0f172a;padding:0 10px;font-size:11px;font-weight:700}.reference-icon-button{width:30px;padding:0;border-color:transparent;background:transparent}.reference-avatar{width:30px;border-radius:999px;background:#eef2f7;color:#334155;padding:0}.reference-logout{gap:7px}.reference-top-link{display:none}.reference-page{min-height:calc(100vh - 80px);border:1px solid #e5eaf2;border-radius:8px;background:#fff;padding:18px;box-shadow:0 16px 42px #0f172a0a}.reference-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.reference-page-head h1{margin:3px 0 0;color:#0f172a;font-size:18px;font-weight:700;letter-spacing:0}.reference-page-head p{margin-top:8px;color:#475569;font-size:11px;line-height:1.5}.reference-eyebrow{margin:0;color:#2563eb!important;font-size:10px!important;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.reference-actions,.reference-filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.reference-filter-row{margin-bottom:14px}.reference-filter-row.compact{margin-bottom:10px}.reference-select,.reference-secondary,.reference-primary{min-height:32px;border:1px solid #dfe7f2;border-radius:6px;background:#fff;color:#0f172a;padding:0 12px;font-size:11px;font-weight:700}.reference-primary:disabled,.reference-secondary:disabled,.reference-select:disabled,.report-card button:disabled,.table-link.as-button:disabled{cursor:not-allowed;opacity:.58}.reference-native-select{min-width:132px;cursor:pointer}.reference-select:after{content:""}.reference-primary{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 10px 18px #2563eb24}.reference-card{border:1px solid #e5eaf2;border-radius:8px;background:#fff}.reference-notice{margin-bottom:12px;border:1px solid #c7d7fe;border-radius:8px;background:#eff6ff;color:#1d4ed8;padding:10px 12px;font-size:11px;font-weight:700;line-height:1.45}.reference-notice.danger{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.reference-muted{color:#64748b;font-size:11px;line-height:1.6}.reference-stat-grid{display:grid;gap:10px;margin-bottom:14px}.reference-stat-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.reference-stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-tile{min-height:82px;padding:14px}.stat-tile span,.stat-tile small{display:block;color:#64748b;font-size:10px;font-weight:600}.stat-tile strong{display:block;margin-top:9px;color:#0f172a;font-size:18px;font-weight:700}.stat-tile .delta-positive{margin-top:7px;color:#16a34a}.dashboard-insight-grid h3,.reference-card h3{margin:0;color:#0f172a;font-size:13px;font-weight:700}.donut-wrap{position:relative;min-height:160px}.donut-label{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);text-align:center}.donut-label strong{display:block;color:#0f172a;font-size:11px;font-weight:700}.donut-label span{color:#64748b;font-size:8px}.playground-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:12px 14px;background:#f8fbff}.playground-strip>div{display:flex;align-items:center;gap:10px}.playground-strip strong{color:#0f172a;font-size:12px}.playground-strip p{margin:2px 0 0;color:#64748b;font-size:10px}.playground-strip a,.table-link{color:#2563eb;font-size:11px;font-weight:700}.usage-grid .reference-card,.table-card,.allocation-card,.unit-card,.form-card,.link-list{padding:14px}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-title-row a{color:#2563eb;font-size:10px;font-weight:700}.top-service-list i,.allocation-row i,.unit-row i{position:absolute;left:0;bottom:0;height:3px;border-radius:999px;background:#2563eb}.provider-badge{display:inline-flex;align-items:center;justify-content:center;min-width:40px;border-radius:999px;padding:4px 8px;background:#f8fafc;color:#0f172a;font-size:10px;font-weight:700}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.report-card{min-height:132px;padding:14px}.report-card-icon{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:#eff6ff;color:#2563eb}.report-card h3{margin-top:12px}.report-card p,.unit-card p{margin-top:7px;color:#64748b;font-size:10px;line-height:1.45}.report-card button{margin-top:12px;border-radius:6px;background:#eaf1ff;color:#2563eb;padding:7px 10px;font-size:10px;font-weight:700}.reference-tabs{display:flex;gap:16px;margin-bottom:14px;border-bottom:1px solid #e5eaf2}.reference-tabs button{padding:0 0 9px;color:#64748b;font-size:11px;font-weight:700}.reference-tabs button.active{color:#2563eb;box-shadow:inset 0 -2px #2563eb}.table-card table{width:100%;border-collapse:collapse;font-size:11px}.table-link.as-button{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}.reference-table-actions{display:flex;flex-wrap:wrap;gap:10px}.table-card th,.table-card td{border-bottom:1px solid #e5eaf2;padding:12px 10px;text-align:left;color:#334155}.table-card th{color:#64748b;font-size:10px;font-weight:700}.status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:700}.status-pill.ok{background:#ecfdf3;color:#16a34a}.status-pill.warn{background:#fffbeb;color:#d97706}.status-pill.danger{background:#fef2f2;color:#dc2626}.status-pill.info{background:#eff6ff;color:#2563eb}.allocation-card,.unit-card{display:grid;gap:14px}.allocation-row,.unit-row{display:grid;grid-template-columns:190px minmax(0,1fr) 110px 50px;align-items:center;gap:14px;color:#334155;font-size:11px}.unit-row{grid-template-columns:170px minmax(0,1fr) 90px}.allocation-row span,.unit-row span{position:relative;height:7px;border-radius:999px;background:#edf2f7}.allocation-row i,.unit-row i{top:0;bottom:auto;height:7px}.allocation-row em,.unit-row em{color:#334155;font-style:normal;text-align:right}.allocation-row.total{border-top:1px solid #e5eaf2;padding-top:12px;font-weight:700}.admin-grid{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(320px,1.3fr);gap:12px}.form-card{display:grid;gap:12px}.reference-connection-form{margin-bottom:14px}.reference-connection-form form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.reference-form-actions{display:flex;align-items:end;gap:8px}.form-card label{display:grid;gap:6px;color:#64748b;font-size:10px;font-weight:700}.form-card input,.form-card select{min-height:34px;border:1px solid #e5eaf2;border-radius:6px;padding:0 10px;background:#fff;color:#0f172a;font-size:11px;font-weight:700}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#334155;font-size:11px;font-weight:700}.toggle-row button{position:relative;width:34px;height:18px;border-radius:999px;background:#2563eb;transition:background .16s ease}.toggle-row button:after{content:"";position:absolute;top:3px;right:3px;width:12px;height:12px;border-radius:999px;background:#fff;transition:transform .16s ease}.toggle-row button.off{background:#cbd5e1}.toggle-row button.off:after{transform:translate(-16px)}.link-list{display:grid;gap:8px;max-width:520px}.link-list a{color:#2563eb;font-size:11px;font-weight:700}.link-list button.table-link{justify-self:start}@media (min-width: 640px){.production-page-label{display:block}.production-topbar-inner,.production-main{padding-right:20px;padding-left:20px}}@media (min-width: 768px){.reference-top-link{display:inline-flex}}@media (min-width: 1024px){.production-content{padding-left:7.75rem}.production-sidebar{transform:translate(0)}.production-sidebar-close,.production-menu-button{display:none}.production-topbar-inner,.production-main{padding-right:24px;padding-left:24px}.reference-search{display:flex;min-width:260px}}@media (max-width: 1180px){.reference-stat-grid.four,.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-insight-grid,.usage-grid,.admin-grid,.reference-connection-form form{grid-template-columns:1fr}}@media (max-width: 760px){.production-sidebar{width:min(280px,calc(100vw - 24px))}.production-nav-item{min-height:38px;font-size:13px}.reference-page-head,.playground-strip{display:grid}.reference-stat-grid.four,.reference-stat-grid.three,.report-grid{grid-template-columns:1fr}.table-card{overflow-x:auto}.allocation-row,.unit-row{grid-template-columns:1fr;gap:6px}.reference-form-actions{align-items:stretch;flex-direction:column}}.app-shell{min-height:100vh;background:radial-gradient(circle at top left,rgba(49,92,255,.12),transparent 18%),radial-gradient(circle at bottom right,rgba(57,208,196,.04),transparent 16%),linear-gradient(180deg,var(--bg) 0%,var(--bg-secondary) 100%)}.panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.panel-muted{border:1px solid var(--border);background:var(--surface-muted);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:1rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-deep) 100%);color:#fff;box-shadow:0 14px 26px #315cff29}.btn-primary:hover{transform:translateY(-1px);filter:brightness(1.04)}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:1rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;background:var(--surface-strong);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--surface-muted)}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:1rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;color:var(--text-muted)}.btn-ghost:hover{background:var(--primary-soft);color:var(--text)}.input-shell,.select-shell{width:100%;border-radius:1rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;color:var(--text);background:var(--surface-strong);border:1px solid var(--border)}.input-shell::-moz-placeholder{color:var(--text-muted)}.input-shell::placeholder{color:var(--text-muted)}.input-shell:focus,.select-shell:focus{border-color:#4f7dff80;box-shadow:0 0 0 4px #4f7dff1f}.eyebrow{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.22em;color:var(--text-muted)}.muted{color:var(--text-muted)}.mini-chip{display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;padding:.375rem .75rem;font-size:.75rem;line-height:1rem;font-weight:600;background:var(--primary-soft);color:var(--primary)}.table-shell thead{background:color-mix(in srgb,var(--surface-muted) 92%,transparent)}.table-shell tbody tr{border-top:1px solid var(--border)}.table-shell tbody tr:hover{background:color-mix(in srgb,var(--primary-soft) 76%,transparent)}.code-block{overflow-x:auto;border-radius:24px;padding:1.25rem;font-size:.875rem;line-height:1.5rem;background:#020617;color:#b6f7dd}.copy-compact-1,.copy-compact-2,.copy-compact-3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.copy-compact-1{-webkit-line-clamp:1}.copy-compact-2{-webkit-line-clamp:2}.auth-reference-shell{position:relative;min-height:100svh;overflow-x:hidden;overflow-y:auto;color:#f8fbff;background:radial-gradient(circle at 23% 18%,rgba(29,78,216,.16),transparent 28%),radial-gradient(circle at 78% 4%,rgba(62,89,255,.1),transparent 24%),linear-gradient(135deg,#020814,#06101d 48%,#030912)}.auth-reference-shell:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(90deg,rgba(21,65,138,.08) 1px,transparent 1px),linear-gradient(rgba(21,65,138,.06) 1px,transparent 1px);background-size:78px 78px;-webkit-mask-image:radial-gradient(circle at 40% 45%,rgba(0,0,0,.5),transparent 62%);mask-image:radial-gradient(circle at 40% 45%,rgba(0,0,0,.5),transparent 62%)}.auth-reference-frame{position:relative;z-index:1;display:grid;align-items:start;grid-template-columns:minmax(0,1fr) minmax(520px,720px);gap:clamp(40px,4.2vw,64px);width:min(calc(100% - 104px),1414px);min-height:auto;margin:0 auto;padding-top:clamp(28px,5vh,56px);transform:translate(8px)}.auth-reference-story{display:flex;min-height:min(856px,calc(100svh - 156px));min-width:0;flex-direction:column;padding-top:10px}.auth-reference-logo{display:inline-flex;align-items:center;gap:10px;width:-moz-fit-content;width:fit-content;color:#fff;font-size:28px;font-weight:680;letter-spacing:0}.auth-reference-logo-mark{display:grid;width:52px;height:44px;place-items:center;color:#42a7ff;filter:drop-shadow(0 0 9px rgba(57,120,255,.9)) drop-shadow(6px 5px 4px rgba(135,76,255,.72))}.auth-reference-logo-mark svg{stroke-width:2.2px}.auth-reference-logo-cloud{width:54px;height:42px}.auth-reference-copy{max-width:590px;margin-top:clamp(42px,7vh,78px)}.auth-reference-copy h1{margin:0;color:#fff;font-size:clamp(40px,4.65vh,48px);font-weight:700;line-height:1.18;letter-spacing:0}.auth-reference-copy p{max-width:540px;margin:clamp(16px,2.2vh,22px) 0 0;color:#bdc7d8;font-size:clamp(18px,2vh,21px);line-height:1.56;letter-spacing:0}.auth-reference-visual{position:relative;width:min(100%,640px);height:clamp(258px,32vh,330px);margin-top:clamp(12px,2vh,22px)}.auth-reference-orbit{position:absolute;left:50%;border:1px solid rgba(36,91,213,.36);border-radius:999px;transform:translate(-50%)}.auth-reference-orbit-wide{top:38px;width:630px;height:270px}.auth-reference-orbit-mid{top:72px;width:486px;height:214px;border-color:#245bd540}.auth-reference-orbit-low{top:156px;width:390px;height:114px;border-color:#466cff42}.auth-reference-dash{position:absolute;height:1px;border-top:1px dashed rgba(65,88,255,.72);transform-origin:center}.auth-reference-dash-left{top:207px;left:86px;width:220px;transform:rotate(-18deg)}.auth-reference-dash-right{top:127px;right:96px;width:210px;transform:rotate(-28deg)}.auth-reference-dot{position:absolute;width:5px;height:5px;border-radius:999px;background:#6d47ff;box-shadow:0 0 12px #6d47ffe6}.auth-reference-dot-one{left:205px;top:44px}.auth-reference-dot-two{left:128px;top:108px}.auth-reference-dot-three{right:172px;top:86px;width:3px;height:3px}.auth-reference-node{position:absolute;z-index:3;display:grid;width:78px;height:78px;place-items:center;border:1px solid rgba(69,93,158,.38);border-radius:10px;color:#5d86ff;background:linear-gradient(145deg,#0e1c39fa,#081123f5);box-shadow:0 18px 34px #0005125c,inset 0 1px #ffffff0d}.auth-reference-node svg{filter:drop-shadow(0 0 10px rgba(69,116,255,.48))}.auth-reference-node-pie{left:10px;top:58px}.auth-reference-node-bars{left:282px;top:5px}.auth-reference-node-trend{right:0;top:58px;color:#8758ff}.auth-reference-node-shield{left:34px;bottom:28px}.auth-reference-node-docs{right:22px;bottom:28px;color:#8ea0c7}.auth-reference-stage{position:absolute;left:50%;top:66px;z-index:2;width:330px;height:185px;transform:translate(-50%)}.auth-reference-stage:before,.auth-reference-stage:after{content:"";position:absolute;left:50%;border-radius:50%;transform:translate(-50%)}.auth-reference-stage:before{bottom:4px;width:288px;height:92px;border:1px solid rgba(44,102,255,.62);background:radial-gradient(ellipse at center,rgba(38,77,215,.34),rgba(4,12,30,.28) 60%,transparent 72%);box-shadow:0 0 24px #2968ff70}.auth-reference-stage:after{bottom:23px;width:224px;height:63px;border:1px solid rgba(125,82,255,.42);background:#0915379e}.auth-reference-stage-disc{position:absolute;left:50%;border-radius:50%;transform:translate(-50%)}.auth-reference-stage-disc-one{bottom:34px;z-index:1;width:270px;height:82px;border:1px solid rgba(58,120,255,.62);background:#0b183e85}.auth-reference-stage-disc-two{bottom:51px;z-index:2;width:202px;height:52px;border:1px solid rgba(118,82,255,.5);background:#0a1433ad}.auth-reference-cloud-icon{position:absolute;left:50%;top:23px;z-index:4;width:218px;height:126px;color:#4a98ff;transform:translate(-50%);filter:drop-shadow(0 0 16px rgba(54,145,255,.88)) drop-shadow(0 13px 12px rgba(133,72,255,.75));stroke-width:1.95px}.auth-reference-features{display:grid;grid-template-columns:200px 200px minmax(0,1fr);gap:20px;margin-top:auto;padding-bottom:clamp(18px,3.6vh,38px)}.auth-reference-feature{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;min-width:0;color:#fff}.auth-reference-feature-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:999px}.auth-reference-feature h2{margin:0;color:#fff;font-size:14px;font-weight:650;line-height:1.35;letter-spacing:0}.auth-reference-feature p{margin:11px 0 0;color:#b6c2d6;font-size:14px;line-height:1.55;letter-spacing:0}.auth-reference-card{min-height:min(856px,calc(100svh - 156px));padding:clamp(38px,6.3vh,70px) clamp(44px,4vw,70px) clamp(30px,4.8vh,52px);border:1px solid rgba(119,140,188,.14);border-radius:14px;background:radial-gradient(circle at 30% 18%,rgba(32,72,155,.16),transparent 34%),linear-gradient(145deg,#0c182df0,#050d1bfa);box-shadow:0 28px 78px #00030e6b,inset 0 1px #ffffff09;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.auth-reference-card-copy h2{margin:0;color:#fff;font-size:clamp(30px,3.4vh,34px);font-weight:700;line-height:1.2;letter-spacing:0}.auth-reference-card-copy p{margin:clamp(6px,1.1vh,10px) 0 0;color:#9caac3;font-size:clamp(17px,2vh,20px);line-height:1.45;letter-spacing:0}.auth-reference-card-body{margin-top:clamp(30px,5.1vh,58px)}.auth-reference-form{display:flex;flex-direction:column;gap:clamp(22px,3.35vh,34px)}.auth-reference-field{display:flex;flex-direction:column;gap:17px;color:#fff;font-size:16px;font-weight:540;line-height:1.2;letter-spacing:0}.auth-reference-input-wrap{display:flex;align-items:center;gap:16px;min-height:clamp(52px,6.2vh,62px);padding:0 18px;border:1px solid rgba(126,148,190,.18);border-radius:9px;color:#9da9c1;background:#0209158f;box-shadow:inset 0 1px #ffffff05;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.auth-reference-input-wrap:focus-within{border-color:#4583ff9e;background:#030b19cc;box-shadow:0 0 0 4px #3773ff1f}.auth-reference-input-wrap input{min-width:0;flex:1;border:0;outline:0;color:#f8fbff;background:transparent;font-size:16px;line-height:1.3;letter-spacing:0}.auth-reference-input-wrap input::-moz-placeholder{color:#94a1bb}.auth-reference-input-wrap input::placeholder{color:#94a1bb}.auth-reference-eye{display:grid;width:34px;height:34px;place-items:center;flex:0 0 auto;border:0;color:#9da9c1;background:transparent;cursor:pointer}.auth-reference-eye:hover{color:#fff}.auth-reference-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:-2px;color:#fff;font-size:16px;line-height:1.4;letter-spacing:0}.auth-reference-remember{display:inline-flex;align-items:center;gap:13px;cursor:pointer}.auth-reference-remember input{position:relative;width:22px;height:22px;flex:0 0 auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid rgba(85,131,255,.5);border-radius:6px;background:linear-gradient(135deg,#2a7cff,#3351ff);box-shadow:0 7px 18px #2d6cff40}.auth-reference-remember input:after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid #ffffff;border-width:0 2px 2px 0;transform:rotate(45deg)}.auth-reference-forgot,.auth-reference-signup a{color:#3380ff;text-decoration:none;transition:color .16s ease}.auth-reference-forgot:hover,.auth-reference-signup a:hover{color:#70a8ff}.auth-reference-error{margin-top:-10px;border:1px solid rgba(255,139,139,.22);border-radius:10px;padding:12px 14px;color:#ffb1b1;background:#7f1d1d29;font-size:14px;line-height:1.45}.auth-reference-info{border:1px solid rgba(70,131,255,.24);border-radius:10px;padding:12px 14px;color:#b8c6df;background:#2f7cff17;font-size:14px;line-height:1.45}.auth-reference-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:clamp(54px,6.7vh,67px);border:0;border-radius:9px;color:#fff;background:linear-gradient(100deg,#2f7cff,#3042ff);box-shadow:0 18px 34px #295cff40;cursor:pointer;font-size:clamp(18px,2vh,20px);font-weight:700;line-height:1;letter-spacing:0;transition:filter .16s ease,transform .16s ease}.auth-reference-submit:hover{filter:brightness(1.05);transform:translateY(-1px)}.auth-reference-submit:disabled{cursor:wait;filter:saturate(.7)}.auth-reference-link-button{text-decoration:none}.auth-reference-card-footer{margin-top:clamp(20px,3.4vh,36px)}.auth-reference-signup{margin:0;color:#9caac3;font-size:clamp(16px,1.8vh,18px);line-height:1.45;text-align:center;letter-spacing:0}.auth-reference-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;width:min(calc(100% - 104px),1414px);margin:clamp(12px,2.7vh,32px) auto 0;padding:clamp(14px,2.4vh,24px) 0 clamp(18px,3vh,31px);transform:translate(8px);border-top:1px solid rgba(126,148,190,.13);color:#8f9bb1;font-size:15px;line-height:1.4;letter-spacing:0}.auth-reference-footer p{margin:0}.auth-reference-footer nav{display:inline-flex;align-items:center;gap:66px}.auth-reference-footer a{color:#8f9bb1;text-decoration:none;transition:color .16s ease}.auth-reference-footer a:hover{color:#fff}.auth-reference-footer a:first-child{position:relative;padding-left:34px}.auth-reference-footer a:first-child:before{content:"";position:absolute;left:0;top:50%;width:18px;height:21px;border:1.7px solid currentColor;border-radius:7px 7px 9px 9px;transform:translateY(-50%);clip-path:polygon(50% 0,100% 20%,100% 60%,50% 100%,0 60%,0 20%)}@media (max-width: 1240px){.auth-reference-frame{grid-template-columns:minmax(0,1fr) minmax(480px,600px);gap:42px;width:min(calc(100% - 56px),1180px)}.auth-reference-card{padding:58px}.auth-reference-copy h1{font-size:42px}.auth-reference-copy p{font-size:18px}.auth-reference-features{gap:18px}}@media (max-width: 1020px){.auth-reference-shell{overflow:auto}.auth-reference-frame{grid-template-columns:1fr;gap:32px;width:min(calc(100% - 32px),720px);min-height:auto;padding-top:28px;transform:none}.auth-reference-story{min-height:auto;padding-top:0}.auth-reference-copy{margin-top:48px}.auth-reference-copy h1{font-size:36px;line-height:1.16}.auth-reference-copy p{font-size:17px;line-height:1.55}.auth-reference-visual{height:280px;transform:scale(.86);transform-origin:left top;margin-bottom:-36px}.auth-reference-features{grid-template-columns:1fr;gap:18px;padding-bottom:0}.auth-reference-card{min-height:auto;padding:42px}.auth-reference-footer{width:min(calc(100% - 32px),720px);flex-direction:column;gap:18px;text-align:center;transform:none}.auth-reference-footer nav{gap:28px;flex-wrap:wrap;justify-content:center}}@media (max-width: 640px){.auth-reference-frame{width:min(calc(100% - 24px),520px)}.auth-reference-logo{font-size:24px}.auth-reference-copy{margin-top:36px}.auth-reference-copy h1{font-size:34px}.auth-reference-visual{display:block;width:100%;height:238px;margin-top:18px;margin-bottom:-20px;transform:scale(.72);transform-origin:top center}.auth-reference-card{padding:30px 22px}.auth-reference-card-copy h2{font-size:30px}.auth-reference-card-copy p{font-size:17px}.auth-reference-card-body{margin-top:40px}.auth-reference-row{align-items:flex-start;flex-direction:column;gap:12px}.auth-reference-submit{font-size:18px}.auth-reference-footer{width:min(calc(100% - 24px),520px)}}.onboarding-ref-shell{min-height:100vh;display:grid;place-items:center;padding:32px;color:#f8fbff;background:radial-gradient(circle at 18% 10%,rgba(48,101,255,.13),transparent 28%),radial-gradient(circle at 88% 18%,rgba(90,61,255,.09),transparent 30%),linear-gradient(135deg,#020814,#06101d 48%,#030912)}.onboarding-ref-card{position:relative;width:min(100%,760px);min-height:650px;padding:26px;border:1px solid rgba(119,140,188,.16);border-radius:8px;background:radial-gradient(circle at 78% 22%,rgba(45,95,220,.12),transparent 34%),linear-gradient(145deg,#0a162bf5,#050d1bfa);box-shadow:0 28px 80px #00030e6b,inset 0 1px #ffffff09;overflow:hidden}.onboarding-ref-card-with-rail{width:min(100%,920px);min-height:590px}.onboarding-ref-card-complete{width:min(100%,620px)}.onboarding-ref-card-header,.onboarding-ref-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.onboarding-ref-card-header>span{color:#9aa8c2;font-size:12px;font-weight:600}.onboarding-ref-logo{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:13px;font-weight:700}.onboarding-ref-logo span{display:grid;width:24px;height:22px;place-items:center;color:#42a7ff;filter:drop-shadow(0 0 8px rgba(57,120,255,.8)) drop-shadow(4px 4px 4px rgba(135,76,255,.55))}.onboarding-ref-heading{margin:54px auto 0;max-width:560px;text-align:center}.onboarding-ref-heading.is-left{margin:0;text-align:left}.onboarding-ref-heading h1,.onboarding-ref-welcome h1,.onboarding-ref-finish h1{margin:0;color:#fff;font-size:28px;font-weight:700;line-height:1.18;letter-spacing:0}.onboarding-ref-heading p,.onboarding-ref-welcome>div>p,.onboarding-ref-finish>p{margin:10px 0 0;color:#9fabbd;font-size:13px;line-height:1.55}.onboarding-ref-welcome{position:relative;display:grid;grid-template-columns:1fr 220px;gap:34px;min-height:504px;padding:58px 12px 0}.onboarding-ref-bullets{margin-top:36px;display:grid;gap:20px}.onboarding-ref-bullets div,.onboarding-ref-validation-list div{display:flex;align-items:center;gap:14px}.onboarding-ref-bullets span,.onboarding-ref-validation-list span,.onboarding-ref-next span{display:inline-grid;width:18px;height:18px;place-items:center;border-radius:999px;color:#33d69f;background:#33d69f1f;font-size:11px;font-weight:700}.onboarding-ref-bullets p{margin:0;color:#b9c5d8;font-size:13px;line-height:1.5}.onboarding-ref-rocket{display:grid;align-self:center;min-height:240px;place-items:center;color:#497eff;background:radial-gradient(circle,rgba(52,105,255,.18),transparent 52%),linear-gradient(145deg,#14275370,#070e1f1a);border-radius:8px}.onboarding-ref-form{display:grid;gap:14px;margin:30px auto 0;max-width:560px}.onboarding-ref-form label{display:grid;gap:8px;color:#dce6f7;font-size:12px;font-weight:600}.onboarding-ref-form input,.onboarding-ref-form select{min-height:42px;width:100%;border:1px solid rgba(126,148,190,.18);border-radius:4px;padding:0 14px;color:#eef4ff;background:#030a1799;outline:none;font-size:13px}.onboarding-ref-copy-field span,.onboarding-ref-static-field{display:flex;align-items:center;min-height:42px;width:100%;border:1px solid rgba(126,148,190,.18);border-radius:4px;padding:0 14px;color:#eef4ff;background:#030a1799;outline:none;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.onboarding-ref-mode-list{display:grid;gap:12px;margin:24px auto 0;max-width:620px}.onboarding-ref-mode-list button{display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center;min-height:78px;border:1px solid rgba(126,148,190,.18);border-radius:6px;padding:14px;color:#f8fbff;background:#050d1d9e;text-align:left;transition:border-color .16s ease,background .16s ease}.onboarding-ref-mode-list button.is-selected,.onboarding-ref-provider-grid button.is-selected{border-color:#3978ffb8;background:#2a57d22e}.onboarding-ref-mode-list button>span{display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(75,124,255,.3);border-radius:8px;color:#4b8bff;background:#4b7cff1f}.onboarding-ref-mode-list strong{display:inline-flex;align-items:center;gap:8px;font-size:14px}.onboarding-ref-mode-list em{margin-left:8px;border-radius:999px;padding:2px 7px;color:#74e0b4;background:#33d69f1f;font-size:10px;font-style:normal}.onboarding-ref-mode-list p{margin:5px 0 0;color:#9fabbd;font-size:12px;line-height:1.45}.onboarding-ref-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:30px auto 0;max-width:720px}.onboarding-ref-provider-grid button{display:grid;grid-template-columns:32px 1fr 18px;align-items:center;gap:10px;min-height:62px;border:1px solid rgba(126,148,190,.16);border-radius:6px;padding:12px;color:#f8fbff;background:#050d1d9e;text-align:left}.onboarding-ref-provider-mark{display:grid;width:30px;height:30px;place-items:center;border-radius:6px;color:#6aa4ff;background:#4b7cff1f;font-size:10px;font-weight:700}.onboarding-ref-check{color:#4f7dff;font-weight:700}.onboarding-ref-config{position:relative;display:grid;grid-template-columns:210px 1fr;gap:34px;min-height:480px;padding-top:34px}.onboarding-ref-rail{border-right:1px solid rgba(126,148,190,.1);padding-right:24px}.onboarding-ref-rail-item{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:center;padding:10px 0;color:#8290aa;font-size:12px}.onboarding-ref-rail-item span{display:grid;width:22px;height:22px;place-items:center;border:1px solid rgba(126,148,190,.18);border-radius:6px;font-size:11px;font-weight:700}.onboarding-ref-rail-item.is-active,.onboarding-ref-rail-item.is-done{color:#f8fbff}.onboarding-ref-rail-item.is-active span{border-color:#3978ffad;background:#315cff}.onboarding-ref-rail-item.is-done span{border-color:#33d69f66;color:#33d69f;background:#33d69f1f}.onboarding-ref-tabs{display:flex;gap:4px;margin-top:22px;border-bottom:1px solid rgba(126,148,190,.14)}.onboarding-ref-tabs button{border:0;padding:10px 12px;color:#8290aa;background:transparent;font-size:12px;font-weight:600}.onboarding-ref-tabs .is-active{color:#4f7dff;border-bottom:2px solid #4f7dff}.onboarding-ref-download,.onboarding-ref-copy-field button{min-height:42px;border:1px solid rgba(126,148,190,.2);border-radius:4px;color:#f8fbff;background:#050d1d9e;font-size:13px;font-weight:700}.onboarding-ref-copy-field button.is-copied{border-color:#33d69f47;color:#33d69f;background:#33d69f1a}.onboarding-ref-link{display:inline-flex;margin-top:16px;color:#4f8cff;font-size:12px;font-weight:600;text-decoration:none}.onboarding-ref-permission-box{display:grid;gap:14px;margin-top:26px;max-width:440px}.onboarding-ref-permission-box label{display:grid;gap:8px;color:#dce6f7;font-size:12px;font-weight:600}.onboarding-ref-copy-field{display:grid;grid-template-columns:1fr 84px;gap:8px}.onboarding-ref-note{border:1px solid rgba(75,124,255,.18);border-radius:6px;padding:14px;color:#aebbd1;background:#4b7cff14;font-size:12px;line-height:1.55}.onboarding-ref-validation-list{display:grid;gap:16px;margin-top:34px;max-width:430px}.onboarding-ref-validation-list div{border-bottom:1px solid rgba(126,148,190,.12);padding-bottom:12px}.onboarding-ref-validation-list strong{flex:1;color:#dce6f7;font-size:13px}.onboarding-ref-validation-list em{color:#33d69f;font-size:12px;font-style:normal}.onboarding-ref-actions{position:absolute;left:26px;right:26px;bottom:24px}.onboarding-ref-primary,.onboarding-ref-secondary{display:inline-flex;min-height:44px;align-items:center;justify-content:center;border-radius:6px;padding:0 18px;font-size:13px;font-weight:700}.onboarding-ref-primary{border:0;color:#fff;background:linear-gradient(100deg,#2f7cff,#3042ff);box-shadow:0 16px 30px #295cff40}.onboarding-ref-primary:disabled,.onboarding-ref-secondary:disabled{cursor:not-allowed;opacity:.55}.onboarding-ref-secondary{border:1px solid rgba(126,148,190,.2);color:#f8fbff;background:#050d1d80}.onboarding-ref-inline-secondary{margin:14px auto 0}.onboarding-ref-alert{margin-top:18px;border:1px solid rgba(51,214,159,.2);border-radius:6px;padding:10px 12px;color:#70e7b7;background:#33d69f14;font-size:12px}.onboarding-ref-alert.is-error{border-color:#ff8b8b38;color:#ffb1b1;background:#7f1d1d29}.onboarding-ref-finish{display:grid;justify-items:center;padding:54px 20px 0;text-align:center}.onboarding-ref-confetti{position:absolute;inset:30px 0 auto;height:130px;background:radial-gradient(circle at 24% 30%,#37b6ff 0,#37b6ff 2px,transparent 3px),radial-gradient(circle at 58% 18%,#33d69f 0,#33d69f 2px,transparent 3px),radial-gradient(circle at 72% 44%,#f7b829 0,#f7b829 2px,transparent 3px),radial-gradient(circle at 38% 58%,#8a5cff 0,#8a5cff 2px,transparent 3px);opacity:.8;pointer-events:none}.onboarding-ref-success{display:grid;width:58px;height:58px;place-items:center;border-radius:999px;color:#fff;background:linear-gradient(135deg,#10b981,#33d69f);box-shadow:0 0 30px #33d69f52;font-size:26px;font-weight:700}.onboarding-ref-finish h1{margin-top:24px}.onboarding-ref-next{display:grid;gap:12px;width:min(100%,360px);margin-top:34px;border:1px solid rgba(126,148,190,.16);border-radius:6px;padding:20px;text-align:left;background:#050d1d8f}.onboarding-ref-next strong{color:#fff;font-size:13px}.onboarding-ref-next span{display:block;width:auto;height:auto;color:#b9c5d8;background:transparent;font-size:12px;text-align:left}.onboarding-ref-finish>.onboarding-ref-primary{margin-top:34px}@media (max-width: 760px){.onboarding-ref-shell{align-items:start;padding:14px}.onboarding-ref-card,.onboarding-ref-card-with-rail,.onboarding-ref-card-complete{min-height:calc(100vh - 28px);padding:20px}.onboarding-ref-welcome,.onboarding-ref-config{grid-template-columns:1fr}.onboarding-ref-rocket{display:none}.onboarding-ref-provider-grid{grid-template-columns:1fr}.onboarding-ref-rail{display:none}.onboarding-ref-actions{left:20px;right:20px;bottom:20px}}.visible{visibility:visible}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.right-5{right:1.25rem}.top-5{top:1.25rem}.z-10{z-index:10}.mx-auto{margin-left:auto;margin-right:auto}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-3\.5{margin-top:.875rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\[160px\]{height:160px}.h-\[204px\]{height:204px}.h-\[264px\]{height:264px}.h-\[320px\]{height:320px}.h-full{height:100%}.min-h-0{min-height:0px}.min-h-\[110px\]{min-height:110px}.min-h-\[120px\]{min-height:120px}.min-h-\[160px\]{min-height:160px}.min-h-\[88px\]{min-height:88px}.min-h-\[96px\]{min-height:96px}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[130px\]{min-width:130px}.min-w-\[138px\]{min-width:138px}.min-w-\[150px\]{min-width:150px}.min-w-\[220px\]{min-width:220px}.min-w-\[980px\]{min-width:980px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize-y{resize:vertical}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-2xl{border-radius:1rem}.rounded-\[16px\]{border-radius:16px}.rounded-\[18px\]{border-radius:18px}.rounded-\[20px\]{border-radius:20px}.rounded-\[22px\]{border-radius:22px}.rounded-\[24px\]{border-radius:24px}.rounded-\[26px\]{border-radius:26px}.rounded-\[28px\]{border-radius:28px}.rounded-\[30px\]{border-radius:30px}.rounded-\[32px\]{border-radius:32px}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}.\!px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!px-3\.5{padding-left:.875rem!important;padding-right:.875rem!important}.\!px-4{padding-left:1rem!important;padding-right:1rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.\!py-2\.5{padding-top:.625rem!important;padding-bottom:.625rem!important}.px-0{padding-left:0;padding-right:0}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[0\.94rem\]{font-size:.94rem}.text-\[0\.98rem\]{font-size:.98rem}.text-\[1\.12rem\]{font-size:1.12rem}.text-\[1\.18rem\]{font-size:1.18rem}.text-\[1\.32rem\]{font-size:1.32rem}.text-\[1\.35rem\]{font-size:1.35rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[1rem\]{font-size:1rem}.text-\[2rem\]{font-size:2rem}.text-\[3rem\]{font-size:3rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-\[1\.04\]{line-height:1.04}.leading-snug{line-height:1.375}.tracking-\[0\.16em\]{letter-spacing:.16em}.tracking-\[0\.18em\]{letter-spacing:.18em}.tracking-\[0\.1em\]{letter-spacing:.1em}.tracking-\[0\.22em\]{letter-spacing:.22em}.tracking-\[0\.24em\]{letter-spacing:.24em}.tracking-\[0\.2em\]{letter-spacing:.2em}.tracking-tight{letter-spacing:-.025em}.text-\[var\(--primary\)\]{color:var(--primary)}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.production-reference-shell{--v2-bg: #f8fafc;--v2-sidebar: #ffffff;--v2-surface: #ffffff;--v2-card: #ffffff;--v2-text: #0f172a;--v2-secondary: #64748b;--v2-muted: #94a3b8;--v2-border: #e2e8f0;--v2-blue: #2563eb;--v2-purple: #8b5cf6;--v2-green: #22c55e;--v2-orange: #f59e0b;--v2-red: #ef4444;--v2-chart-grid: rgba(148, 163, 184, .24);min-height:100vh;background:var(--v2-bg);color:var(--v2-text);font-family:Inter,sans-serif;letter-spacing:0}html[data-theme=dark] .production-reference-shell,.dark .production-reference-shell{--v2-bg: #050816;--v2-sidebar: #07111f;--v2-surface: #0b1220;--v2-card: #111827;--v2-text: #f8fafc;--v2-secondary: #94a3b8;--v2-muted: #64748b;--v2-border: rgba(255, 255, 255, .08);--v2-blue: #3b82f6;--v2-purple: #a855f7;--v2-green: #22c55e;--v2-orange: #f59e0b;--v2-red: #ef4444;--v2-chart-grid: rgba(148, 163, 184, .18)}.production-reference-shell *,.production-reference-shell *:before,.production-reference-shell *:after{box-sizing:border-box}.production-reference-shell h1,.production-reference-shell h2,.production-reference-shell h3,.production-reference-shell .brand-mark-title,.production-reference-shell .production-page-label strong{font-family:Plus Jakarta Sans,Inter,sans-serif;letter-spacing:0}.production-reference-shell strong,.production-reference-shell button,.production-reference-shell select,.production-reference-shell input{font-weight:600}.production-reference-shell .production-sidebar{top:0;bottom:0;left:0;width:240px;border:0;border-right:1px solid var(--v2-border);border-radius:0;background:var(--v2-sidebar);box-shadow:none;color:var(--v2-text)}.production-reference-shell .production-sidebar-brand-row{height:64px;padding:0 24px}.production-reference-shell .brand-mark-compact{gap:10px}.production-reference-shell .brand-mark-emblem-compact{width:26px;height:26px;border-radius:10px;box-shadow:none!important}.production-reference-shell .brand-mark-title-compact{color:var(--v2-text)!important;font-size:16px;font-weight:700}.production-reference-shell .production-nav{padding:8px 16px 24px}.production-reference-shell .production-nav-group{margin-bottom:24px}.production-reference-shell .production-nav-label{margin:0 8px 10px;color:var(--v2-secondary);font-size:11px;font-weight:600;letter-spacing:.14em;line-height:16px;text-transform:uppercase}.production-reference-shell .production-nav-list{gap:4px}.production-reference-shell .production-nav-item{grid-template-columns:18px minmax(0,1fr);min-height:40px;border-radius:10px;padding:10px 12px;color:var(--v2-secondary);font-size:14px;font-weight:500;line-height:20px;transition:background .15s ease,color .15s ease}.production-reference-shell .production-nav-item svg{width:18px;height:18px}.production-reference-shell .production-nav-item:hover,.production-reference-shell .production-nav-item.active{background:#3b82f61f;color:var(--v2-blue)}.production-reference-shell .production-nav-item.active{font-weight:600}.production-reference-shell .production-workspace{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;margin:0 16px 24px;border:1px solid var(--v2-border);border-radius:12px;padding:12px;background:color-mix(in srgb,var(--v2-surface) 86%,var(--v2-blue) 3%)}.production-reference-shell .production-workspace-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#2563eb1f;color:var(--v2-blue);font-size:11px;font-weight:700}.production-reference-shell .production-workspace-body{min-width:0}.production-reference-shell .production-workspace-label,.production-reference-shell .production-workspace-body span{display:block;color:var(--v2-secondary);font-size:11px;font-weight:500;line-height:16px}.production-reference-shell .production-workspace-select{min-height:20px;border:0;padding:0;background:transparent;color:var(--v2-text);font-size:13px;font-weight:600;line-height:18px}.production-reference-shell .production-topbar{min-height:64px;border-bottom:1px solid var(--v2-border);background:color-mix(in srgb,var(--v2-bg) 92%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.production-reference-shell .production-page-label{display:none}.production-reference-shell .production-topbar-actions{width:100%;justify-content:flex-end;gap:16px}.production-reference-shell .reference-search{display:flex;width:min(100%,420px);height:40px;border-color:var(--v2-border);border-radius:10px;background:var(--v2-surface);color:var(--v2-secondary)}.production-reference-shell .reference-search input{color:var(--v2-text);font-size:13px;font-weight:400}.production-reference-shell .reference-search-shortcut{display:inline-flex;min-width:48px;height:22px;align-items:center;justify-content:center;border-radius:6px;background:color-mix(in srgb,var(--v2-bg) 82%,var(--v2-border));color:var(--v2-secondary);font-size:11px;font-weight:600}.production-reference-shell .reference-top-link,.production-reference-shell .reference-icon-button,.production-reference-shell .theme-reference-toggle,.production-reference-shell .reference-avatar,.production-reference-shell .reference-logout,.production-reference-shell .reference-secondary,.production-reference-shell .reference-select{min-height:40px;border:1px solid var(--v2-border);border-radius:10px;background:var(--v2-surface);color:var(--v2-text);font-size:13px;font-weight:600;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}.production-reference-shell .reference-icon-button,.production-reference-shell .theme-reference-toggle,.production-reference-shell .reference-avatar{width:40px;padding:0}.production-reference-shell .reference-avatar{border-radius:999px;background:#2563eb1f;color:var(--v2-blue)}.production-reference-shell .reference-primary{min-height:40px;border-radius:10px;background:var(--v2-blue);color:#fff;font-size:13px;font-weight:600;box-shadow:none}.production-reference-shell .reference-top-link:hover,.production-reference-shell .reference-icon-button:hover,.production-reference-shell .theme-reference-toggle:hover,.production-reference-shell .reference-secondary:hover,.production-reference-shell .reference-select:hover{border-color:color-mix(in srgb,var(--v2-blue) 38%,var(--v2-border))}.production-reference-shell .reference-page{min-height:auto;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.production-reference-shell .reference-page-head{margin-bottom:24px}.production-reference-shell .reference-page-head h1{margin:0;color:var(--v2-text);font-size:34px;font-weight:700;line-height:40px}.production-reference-shell .reference-page-head p{margin-top:6px;color:var(--v2-secondary);font-size:14px;font-weight:400;line-height:22px}.production-reference-shell .reference-actions{gap:12px}.production-reference-shell .reference-native-select{min-width:150px;padding:0 40px 0 14px}.production-reference-shell .reference-card{border:1px solid var(--v2-border);border-radius:16px;background:var(--v2-card);color:var(--v2-text);box-shadow:0 1px 2px #0000000a}.production-reference-shell .reference-card h3,.production-reference-shell .dashboard-insight-grid h3{color:var(--v2-text);font-size:18px;font-weight:600;line-height:24px}.production-reference-shell .v2-card,.production-reference-shell .usage-grid .reference-card,.production-reference-shell .table-card,.production-reference-shell .allocation-card,.production-reference-shell .unit-card,.production-reference-shell .form-card,.production-reference-shell .link-list{padding:24px}.production-reference-shell .v2-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-bottom:24px}.production-reference-shell .v2-metric-card{position:relative;min-height:132px;overflow:hidden;padding:24px}.production-reference-shell .v2-metric-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.production-reference-shell .v2-metric-head>span:first-child{color:var(--v2-secondary);font-size:13px;font-weight:500;line-height:18px}.production-reference-shell .v2-metric-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:#2563eb1f;color:var(--v2-blue)}.production-reference-shell .tone-purple .v2-metric-icon{background:#8b5cf61f;color:var(--v2-purple)}.production-reference-shell .tone-green .v2-metric-icon{background:#22c55e24;color:var(--v2-green)}.production-reference-shell .tone-orange .v2-metric-icon{background:#f59e0b24;color:var(--v2-orange)}.production-reference-shell .v2-metric-card>strong,.production-reference-shell .v2-skeleton-value{display:block;margin-top:12px;color:var(--v2-text);font-family:Inter Tight,Inter,sans-serif;font-size:32px;font-weight:700;line-height:38px;font-variant-numeric:tabular-nums}.production-reference-shell .v2-metric-card small{display:block;margin-top:2px;color:var(--v2-secondary);font-size:12px;font-weight:500}.production-reference-shell .v2-metric-card em{display:block;margin-top:8px;color:var(--v2-green);font-size:12px;font-style:normal;font-weight:600}.production-reference-shell .v2-sparkline{position:absolute;right:22px;bottom:16px;width:96px;height:42px;opacity:.95}.production-reference-shell .v2-skeleton{width:160px;height:34px;border-radius:10px;background:linear-gradient(90deg,#94a3b829,#94a3b847,#94a3b829);background-size:200% 100%;animation:v2-skeleton 1.2s ease-in-out infinite}@keyframes v2-skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.production-reference-shell .v2-dashboard-grid{display:grid;grid-template-columns:5fr 7fr;gap:24px;margin-bottom:24px}.production-reference-shell .v2-dashboard-lower-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:24px}.production-reference-shell .v2-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.production-reference-shell .v2-card-header p{margin:4px 0 0;color:var(--v2-secondary);font-size:14px;line-height:22px}.production-reference-shell .v2-card-action a,.production-reference-shell .v2-card-action button{color:var(--v2-blue);font-size:12px;font-weight:600}.production-reference-shell .v2-inline-metric{display:inline-flex;gap:12px;align-items:center;color:var(--v2-text);font-family:Inter Tight,Inter,sans-serif;font-size:24px;font-weight:700}.production-reference-shell .v2-inline-metric em{color:var(--v2-green);font-family:Inter,sans-serif;font-size:13px;font-style:normal;font-weight:600}.production-reference-shell .v2-donut-layout{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(220px,1fr);gap:24px;align-items:center}.production-reference-shell .v2-donut-wrap{min-height:230px}.production-reference-shell .v2-donut-label strong{color:var(--v2-text);font-family:Inter Tight,Inter,sans-serif;font-size:17px;font-weight:700}.production-reference-shell .v2-donut-label span{color:var(--v2-secondary);font-size:12px}.production-reference-shell .v2-spend-legend{display:grid;gap:10px}.production-reference-shell .v2-spend-legend button{display:grid;grid-template-columns:10px minmax(0,1fr) auto 48px;gap:12px;align-items:center;min-height:34px;border-bottom:1px solid var(--v2-border);color:var(--v2-secondary);text-align:left}.production-reference-shell .v2-spend-legend button:last-child{border-bottom:0}.production-reference-shell .v2-spend-legend span{width:10px;height:10px;border-radius:999px}.production-reference-shell .v2-spend-legend strong,.production-reference-shell .v2-spend-legend em,.production-reference-shell .v2-spend-legend small{font-size:13px;font-style:normal}.production-reference-shell .v2-spend-legend strong{color:var(--v2-text)}.production-reference-shell .v2-progress-list,.production-reference-shell .v2-alert-list,.production-reference-shell .v2-budget-list{display:grid;gap:14px}.production-reference-shell .v2-progress-row{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto 48px;gap:10px;align-items:center;padding-bottom:10px}.production-reference-shell .v2-service-icon{display:grid;width:22px;height:22px;place-items:center;border-radius:6px;background:#2563eb1f;color:var(--v2-blue);font-size:9px;font-weight:700}.production-reference-shell .provider-tone-aws{background:#f59e0b24;color:#ea580c}.production-reference-shell .provider-tone-g,.production-reference-shell .provider-tone-gcp{background:#2563eb1f;color:var(--v2-blue)}.production-reference-shell .provider-tone-a,.production-reference-shell .provider-tone-azure{background:#0ea5e924;color:#0284c7}.production-reference-shell .provider-tone-ai,.production-reference-shell .provider-tone-openai{background:#8b5cf624;color:var(--v2-purple)}.production-reference-shell .v2-progress-row strong,.production-reference-shell .v2-alert-row strong,.production-reference-shell .v2-budget-row strong{overflow:hidden;color:var(--v2-text);font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.production-reference-shell .v2-progress-row em,.production-reference-shell .v2-progress-row small,.production-reference-shell .v2-alert-row em,.production-reference-shell .v2-alert-row small,.production-reference-shell .v2-budget-row span,.production-reference-shell .v2-budget-row em{color:var(--v2-secondary);font-size:12px;font-style:normal;font-weight:500}.production-reference-shell .v2-progress-row i{position:absolute;left:34px;right:48px;bottom:0;height:3px;border-radius:999px;background:var(--v2-blue)}.production-reference-shell .v2-alert-row{display:grid;grid-template-columns:10px minmax(0,1fr) 54px 52px;gap:10px;align-items:center;min-height:30px}.production-reference-shell .v2-alert-dot{width:9px;height:9px;border-radius:999px;background:var(--v2-blue)}.production-reference-shell .v2-alert-dot.danger{background:var(--v2-red)}.production-reference-shell .v2-alert-dot.warn{background:var(--v2-orange)}.production-reference-shell .v2-budget-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:10px;align-items:center}.production-reference-shell .v2-budget-row i{grid-column:1 / -1;height:4px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--v2-border) 70%,transparent)}.production-reference-shell .v2-budget-row i span{display:block;height:100%;border-radius:inherit;background:var(--v2-blue)}.production-reference-shell .v2-playground-strip{margin-top:0;padding:16px 24px;border-radius:16px;background:var(--v2-card)}.production-reference-shell .v2-playground-strip strong{color:var(--v2-text);font-size:15px;font-weight:600}.production-reference-shell .v2-playground-strip p{color:var(--v2-secondary);font-size:13px}.production-reference-shell .v2-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr)) auto;gap:16px;align-items:end;margin-bottom:24px}.production-reference-shell .v2-filter-grid label{display:grid;gap:6px}.production-reference-shell .v2-filter-grid label>span{color:var(--v2-secondary);font-size:12px;font-weight:500}.production-reference-shell .v2-filter-grid .reference-select{width:100%}.production-reference-shell .v2-usage-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(340px,.9fr);gap:24px;margin-bottom:24px}.production-reference-shell .v2-chart-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;color:var(--v2-secondary);font-size:12px;font-weight:500}.production-reference-shell .v2-chart-legend span{display:inline-flex;align-items:center;gap:6px}.production-reference-shell .v2-chart-legend i{width:8px;height:8px;border-radius:999px}.production-reference-shell .v2-table-card{overflow-x:auto}.production-reference-shell .v2-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.production-reference-shell .v2-table-actions{display:flex;align-items:center;gap:10px}.production-reference-shell .v2-table-actions input{width:240px;min-height:40px;border:1px solid var(--v2-border);border-radius:10px;background:var(--v2-surface);color:var(--v2-text);padding:0 14px;font-size:13px;font-weight:400}.production-reference-shell .reference-tabs{gap:8px;border:0;background:transparent;padding:0}.production-reference-shell .reference-tabs button{min-height:36px;border-bottom:2px solid transparent;color:var(--v2-secondary);padding:0 12px;font-size:13px;font-weight:600}.production-reference-shell .reference-tabs button.active{border-color:var(--v2-blue);color:var(--v2-blue);background:transparent}.production-reference-shell .table-card table{width:100%;min-width:1120px;border-collapse:collapse}.production-reference-shell .table-card th,.production-reference-shell .table-card td{border-bottom:1px solid var(--v2-border);color:var(--v2-secondary);padding:13px 12px;font-size:13px;font-weight:500;text-align:left;vertical-align:middle;white-space:nowrap}.production-reference-shell .table-card th{color:var(--v2-text);font-size:12px;font-weight:600}.production-reference-shell .table-card td strong{color:var(--v2-text)}.production-reference-shell .status-pill{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:600}.production-reference-shell .v2-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;color:var(--v2-secondary);font-size:13px}.production-reference-shell .v2-pagination>div{display:flex;align-items:center;gap:8px}.production-reference-shell .v2-pagination button{min-width:32px;min-height:32px;border:1px solid transparent;border-radius:8px;color:var(--v2-secondary)}.production-reference-shell .v2-pagination button.active{border-color:var(--v2-blue);background:#2563eb1f;color:var(--v2-blue)}.production-reference-shell .reference-notice,.production-reference-shell .reference-topbar-notice,.production-reference-shell .reference-topbar-popover{border-color:#2563eb3d;border-radius:12px;background:color-mix(in srgb,var(--v2-blue) 10%,var(--v2-surface));color:var(--v2-blue);font-size:13px;font-weight:500}.production-reference-shell .reference-notice.danger{border-color:#ef44443d;background:color-mix(in srgb,var(--v2-red) 10%,var(--v2-surface));color:var(--v2-red)}@media (min-width: 1024px){.production-reference-shell .production-content{padding-left:240px}.production-reference-shell .production-sidebar{transform:translate(0)}}@media (max-width: 1240px){.production-reference-shell .v2-kpi-grid,.production-reference-shell .reference-stat-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.production-reference-shell .v2-dashboard-grid,.production-reference-shell .v2-dashboard-lower-grid,.production-reference-shell .v2-usage-grid{grid-template-columns:1fr}.production-reference-shell .v2-filter-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}}@media (max-width: 1023px){.production-reference-shell .production-sidebar{width:min(320px,calc(100vw - 32px));transform:translate(-110%)}.production-reference-shell .production-sidebar.open{transform:translate(0)}.production-reference-shell .production-main,.production-reference-shell .production-topbar-inner{padding-right:24px;padding-left:24px}.production-reference-shell .reference-search{display:none}}@media (max-width: 760px){.production-reference-shell .production-main{padding:24px 16px}.production-reference-shell .reference-page-head{display:grid}.production-reference-shell .reference-page-head h1{font-size:28px;line-height:34px}.production-reference-shell .v2-kpi-grid,.production-reference-shell .reference-stat-grid.four,.production-reference-shell .reference-stat-grid.three,.production-reference-shell .v2-filter-grid,.production-reference-shell .v2-donut-layout{grid-template-columns:1fr}.production-reference-shell .v2-table-toolbar,.production-reference-shell .v2-pagination,.production-reference-shell .v2-playground-strip{display:grid}.production-reference-shell .v2-table-actions{flex-wrap:wrap}.production-reference-shell .v2-table-actions input{width:100%}}.theme-reference-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;min-height:30px;border:1px solid #e5eaf2;border-radius:8px;background:#fff;color:#0f172a;padding:0;transition:border-color .16s ease,background .16s ease,color .16s ease}.theme-reference-toggle:hover{border-color:#cbd8ea;background:#f8fbff}.auth-reference-theme{position:absolute;top:28px;right:34px;z-index:3}.auth-reference-theme .theme-reference-toggle,.onboarding-ref-header-actions .theme-reference-toggle{border-color:#7e94be2e;background:#050d1d7a;color:#9da9c1}.auth-reference-theme .theme-reference-toggle:hover,.onboarding-ref-header-actions .theme-reference-toggle:hover{border-color:#4683ff75;background:#09152bb8;color:#fff}.auth-reference-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-reference-form-compact{gap:18px}.auth-reference-form-compact .auth-reference-field{gap:10px;font-size:13px}.auth-reference-form-compact .auth-reference-input-wrap{min-height:48px;gap:10px;padding:0 14px}.auth-reference-form-compact .auth-reference-input-wrap input{font-size:13px}.auth-reference-form-compact .auth-reference-submit{min-height:52px;font-size:15px}.auth-reference-sso-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-reference-sso-grid .auth-reference-sso{min-height:46px;gap:8px;font-size:13px}.auth-reference-sso:disabled{cursor:not-allowed;opacity:.58}.auth-reference-next{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px;border:1px solid rgba(126,148,190,.16);border-radius:8px;padding:12px;background:#040c1b47}.auth-reference-next strong{grid-column:1 / -1;color:#fff;font-size:12px}.auth-reference-next span{color:#9caac3;font-size:11px;line-height:1.35}.auth-reference-reset-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.auth-reference-reset-steps span{border:1px solid rgba(126,148,190,.16);border-radius:8px;padding:9px 10px;color:#8390a7;background:#040c1b3d;font-size:12px;font-weight:700;text-align:center}.auth-reference-reset-steps span.active{border-color:#4683ff70;color:#fff;background:#2f7cff29}.auth-reference-reset-complete{display:grid;gap:14px;color:#c2cce0}.auth-reference-reset-complete svg{color:#33d69f}.auth-reference-reset-complete strong{color:#fff;font-size:18px}.auth-reference-reset-complete p{margin:0 0 8px;color:#91a4bd}.onboarding-ref-header-actions{display:inline-flex;align-items:center;gap:10px}.internal-table{margin-top:12px}html[data-theme=dark] .app-shell.production-reference-shell,html[data-theme=dark] .production-reference-shell{background:#071120;color:#e6eefc}html[data-theme=dark] .production-reference-shell .production-topbar{border-color:#1c2b45;background:#071120eb}html[data-theme=dark] .production-reference-shell .production-sidebar,html[data-theme=dark] .production-reference-shell .reference-page,html[data-theme=dark] .production-reference-shell .reference-card,html[data-theme=dark] .production-reference-shell .reference-search,html[data-theme=dark] .production-reference-shell .reference-icon-button,html[data-theme=dark] .production-reference-shell .theme-reference-toggle,html[data-theme=dark] .production-reference-shell .reference-top-link,html[data-theme=dark] .production-reference-shell .reference-logout,html[data-theme=dark] .production-reference-shell .production-workspace,html[data-theme=dark] .production-reference-shell .reference-tabs,html[data-theme=dark] .production-reference-shell .table-card th,html[data-theme=dark] .production-reference-shell .table-card td{border-color:#1c2b45}html[data-theme=dark] .production-reference-shell .production-sidebar,html[data-theme=dark] .production-reference-shell .reference-page,html[data-theme=dark] .production-reference-shell .reference-card,html[data-theme=dark] .production-reference-shell .reference-icon-button,html[data-theme=dark] .production-reference-shell .theme-reference-toggle,html[data-theme=dark] .production-reference-shell .reference-top-link,html[data-theme=dark] .production-reference-shell .reference-logout,html[data-theme=dark] .production-reference-shell .production-workspace-select,html[data-theme=dark] .production-reference-shell .reference-select,html[data-theme=dark] .production-reference-shell .reference-secondary,html[data-theme=dark] .production-reference-shell .form-card input,html[data-theme=dark] .production-reference-shell .form-card select{background:#0d192c;color:#e6eefc}html[data-theme=dark] .production-reference-shell .reference-page{box-shadow:0 20px 56px #00000038}html[data-theme=dark] .production-reference-shell .reference-card,html[data-theme=dark] .production-reference-shell .production-sidebar{background:#0b1628}html[data-theme=dark] .production-reference-shell .reference-search,html[data-theme=dark] .production-reference-shell .reference-avatar,html[data-theme=dark] .production-reference-shell .playground-strip,html[data-theme=dark] .production-reference-shell .provider-badge,html[data-theme=dark] .production-reference-shell .report-card-icon,html[data-theme=dark] .production-reference-shell .report-card button,html[data-theme=dark] .production-reference-shell .reference-topbar-popover{background:#111f35}html[data-theme=dark] .production-reference-shell .production-page-label strong,html[data-theme=dark] .production-reference-shell .brand-mark-title-compact,html[data-theme=dark] .production-reference-shell .reference-page-head h1,html[data-theme=dark] .production-reference-shell .reference-card h3,html[data-theme=dark] .production-reference-shell .dashboard-insight-grid h3,html[data-theme=dark] .production-reference-shell .stat-tile strong,html[data-theme=dark] .production-reference-shell .donut-label strong,html[data-theme=dark] .production-reference-shell .playground-strip strong,html[data-theme=dark] .production-reference-shell .provider-badge,html[data-theme=dark] .production-reference-shell .table-card td,html[data-theme=dark] .production-reference-shell .allocation-row,html[data-theme=dark] .production-reference-shell .unit-row,html[data-theme=dark] .production-reference-shell .allocation-row em,html[data-theme=dark] .production-reference-shell .unit-row em,html[data-theme=dark] .production-reference-shell .toggle-row,html[data-theme=dark] .production-reference-shell .reference-search input,html[data-theme=dark] .production-reference-shell .reference-topbar-popover strong{color:#e6eefc}html[data-theme=dark] .production-reference-shell .reference-search input::-moz-placeholder{color:#8fa6c3}html[data-theme=dark] .production-reference-shell .production-page-label p,html[data-theme=dark] .production-reference-shell .production-nav-label,html[data-theme=dark] .production-reference-shell .reference-search,html[data-theme=dark] .production-reference-shell .reference-page-head p,html[data-theme=dark] .production-reference-shell .stat-tile span,html[data-theme=dark] .production-reference-shell .stat-tile small,html[data-theme=dark] .production-reference-shell .spend-list,html[data-theme=dark] .production-reference-shell .spend-list em,html[data-theme=dark] .production-reference-shell .donut-label span,html[data-theme=dark] .production-reference-shell .playground-strip p,html[data-theme=dark] .production-reference-shell .report-card p,html[data-theme=dark] .production-reference-shell .unit-card p,html[data-theme=dark] .production-reference-shell .table-card th,html[data-theme=dark] .production-reference-shell .form-card label,html[data-theme=dark] .production-reference-shell .reference-tabs button,html[data-theme=dark] .production-reference-shell .reference-search input::placeholder,html[data-theme=dark] .production-reference-shell .reference-topbar-popover{color:#8fa6c3}html[data-theme=dark] .production-reference-shell .production-nav-item{color:#a8bad2}html[data-theme=dark] .production-reference-shell .production-nav-item:hover,html[data-theme=dark] .production-reference-shell .production-nav-item.active,html[data-theme=dark] .production-reference-shell .reference-tabs button.active,html[data-theme=dark] .production-reference-shell .reference-eyebrow,html[data-theme=dark] .production-reference-shell .card-title-row a,html[data-theme=dark] .production-reference-shell .playground-strip a,html[data-theme=dark] .production-reference-shell .table-link,html[data-theme=dark] .production-reference-shell .link-list a,html[data-theme=dark] .production-reference-shell .report-card button{color:#73a2ff!important}html[data-theme=dark] .production-reference-shell .production-nav-item:hover,html[data-theme=dark] .production-reference-shell .production-nav-item.active{background:#4b7cff26}html[data-theme=dark] .production-reference-shell .reference-primary{border-color:#4f7dff;background:#4f7dff;color:#fff!important}html[data-theme=dark] .production-reference-shell .reference-secondary,html[data-theme=dark] .production-reference-shell .reference-select,html[data-theme=dark] .production-reference-shell .form-card input,html[data-theme=dark] .production-reference-shell .form-card select,html[data-theme=dark] .production-reference-shell .production-workspace-select{border-color:#223653}html[data-theme=dark] .production-reference-shell .allocation-row span,html[data-theme=dark] .production-reference-shell .unit-row span{background:#172941}html[data-theme=dark] .production-reference-shell .allocation-row.total{border-color:#1c2b45}html[data-theme=dark] .production-reference-shell .status-pill.ok{background:#33d69f24;color:#39d0a4}html[data-theme=dark] .production-reference-shell .status-pill.warn{background:#f6b35424;color:#f6b354}html[data-theme=dark] .production-reference-shell .status-pill.danger{background:#ff8b8b24;color:#ff8b8b}html[data-theme=dark] .production-reference-shell .status-pill.info{background:#73a2ff24;color:#73a2ff}html[data-theme=dark] .production-reference-shell .reference-notice{border-color:#244472;background:#2345726b;color:#b9d0ff}html[data-theme=dark] .production-reference-shell .reference-topbar-notice{border-color:#244472;background:#111f35;color:#b9d0ff}html[data-theme=dark] .production-reference-shell .reference-topbar-popover{border-color:#1c2b45}html[data-theme=dark] .production-reference-shell .reference-notice.danger{border-color:#5b2430;background:#5c243052;color:#ffb4bf}html[data-theme=light] .onboarding-ref-shell{color:#0f172a;background:radial-gradient(circle at 18% 10%,rgba(48,101,255,.1),transparent 28%),radial-gradient(circle at 88% 18%,rgba(14,165,163,.08),transparent 30%),linear-gradient(135deg,#f8fafc,#eef4fb)}html[data-theme=light] .onboarding-ref-card{border-color:#e5eaf2;background:#fff;box-shadow:0 22px 58px #0f172a14}html[data-theme=light] .onboarding-ref-logo,html[data-theme=light] .onboarding-ref-heading h1,html[data-theme=light] .onboarding-ref-welcome h1,html[data-theme=light] .onboarding-ref-finish h1,html[data-theme=light] .onboarding-ref-mode-list button,html[data-theme=light] .onboarding-ref-provider-grid button,html[data-theme=light] .onboarding-ref-validation-list strong,html[data-theme=light] .onboarding-ref-next strong{color:#0f172a}html[data-theme=light] .onboarding-ref-card-header>span,html[data-theme=light] .onboarding-ref-heading p,html[data-theme=light] .onboarding-ref-welcome>div>p,html[data-theme=light] .onboarding-ref-finish>p,html[data-theme=light] .onboarding-ref-bullets p,html[data-theme=light] .onboarding-ref-mode-list p,html[data-theme=light] .onboarding-ref-rail-item,html[data-theme=light] .onboarding-ref-next span{color:#64748b}html[data-theme=light] .onboarding-ref-form label,html[data-theme=light] .onboarding-ref-permission-box label{color:#334155}html[data-theme=light] .onboarding-ref-form input,html[data-theme=light] .onboarding-ref-form select,html[data-theme=light] .onboarding-ref-copy-field span,html[data-theme=light] .onboarding-ref-static-field,html[data-theme=light] .onboarding-ref-mode-list button,html[data-theme=light] .onboarding-ref-provider-grid button,html[data-theme=light] .onboarding-ref-download,html[data-theme=light] .onboarding-ref-copy-field button,html[data-theme=light] .onboarding-ref-secondary,html[data-theme=light] .onboarding-ref-next{border-color:#dfe7f2;background:#f8fbff;color:#0f172a}html[data-theme=light] .onboarding-ref-rocket{background:radial-gradient(circle,rgba(52,105,255,.16),transparent 52%),linear-gradient(145deg,#e2ecffe6,#f8fbffdb)}html[data-theme=light] .onboarding-ref-note{border-color:#315cff2e;color:#475569;background:#315cff14}html[data-theme=light] .onboarding-ref-header-actions .theme-reference-toggle{border-color:#dfe7f2;background:#fff;color:#0f172a}@media (max-width: 640px){.auth-reference-theme{top:18px;right:18px}.auth-reference-field-grid,.auth-reference-sso-grid,.auth-reference-next{grid-template-columns:1fr}}.app-shell.production-reference-shell,.production-reference-shell{background:#f8fafc;color:#0f172a}.production-reference-shell .production-topbar,.production-reference-shell .production-sidebar,.production-reference-shell .reference-page,.production-reference-shell .reference-card,.production-reference-shell .table-card th,.production-reference-shell .table-card td,.production-reference-shell .reference-tabs,.production-reference-shell .production-workspace,.production-reference-shell .reference-icon-button,.production-reference-shell .reference-avatar,.production-reference-shell .reference-logout,.production-reference-shell .reference-top-link{border-color:#e5eaf2}.production-reference-shell .reference-select,.production-reference-shell .reference-secondary{border-color:#dfe7f2}.production-reference-shell .reference-primary{border-color:#2563eb}.production-reference-shell{background:var(--v2-bg)!important;color:var(--v2-text);font-family:Inter,sans-serif}html[data-theme=dark] .production-reference-shell,.dark .production-reference-shell{background:#050816!important;color:#f8fafc}.production-reference-shell .production-sidebar{top:0;bottom:0;left:0;width:240px;border:0;border-right:1px solid var(--v2-border);border-radius:0;background:var(--v2-sidebar);box-shadow:none}.production-reference-shell .production-topbar{min-height:64px;border-bottom:1px solid var(--v2-border);background:color-mix(in srgb,var(--v2-bg) 92%,transparent)}.production-reference-shell .production-topbar-inner{min-height:64px;max-width:1600px;padding:0 32px}.production-reference-shell .production-main{max-width:1600px;padding:32px}.production-reference-shell .reference-page{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.production-reference-shell .reference-page-head h1{color:var(--v2-text);font-size:34px;font-weight:700;line-height:40px;letter-spacing:0}.production-reference-shell .reference-card,.production-reference-shell .reference-search,.production-reference-shell .reference-icon-button,.production-reference-shell .theme-reference-toggle,.production-reference-shell .reference-top-link,.production-reference-shell .reference-logout,.production-reference-shell .reference-select,.production-reference-shell .reference-secondary,.production-reference-shell .production-workspace{border-color:var(--v2-border);background:var(--v2-card);color:var(--v2-text)}.production-reference-shell .reference-card{border-radius:16px;box-shadow:0 1px 2px #0000000a}.production-reference-shell .v2-card,.production-reference-shell .table-card{padding:24px}.production-reference-shell .v2-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.production-reference-shell .v2-dashboard-grid{grid-template-columns:5fr 7fr}.production-reference-shell .v2-dashboard-lower-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.production-reference-shell .v2-usage-grid{grid-template-columns:minmax(0,2.1fr) minmax(340px,.9fr)}.production-reference-shell .reference-tabs{border:0;background:transparent}html[data-theme=dark] .production-reference-shell .production-sidebar,html[data-theme=dark] .production-reference-shell .production-workspace{background:#07111f}html[data-theme=dark] .production-reference-shell .production-topbar{background:#050816eb}html[data-theme=dark] .production-reference-shell .reference-card,html[data-theme=dark] .production-reference-shell .reference-search,html[data-theme=dark] .production-reference-shell .reference-icon-button,html[data-theme=dark] .production-reference-shell .theme-reference-toggle,html[data-theme=dark] .production-reference-shell .reference-top-link,html[data-theme=dark] .production-reference-shell .reference-logout,html[data-theme=dark] .production-reference-shell .reference-select,html[data-theme=dark] .production-reference-shell .reference-secondary,html[data-theme=dark] .production-reference-shell .v2-table-actions input{border-color:#ffffff14;background:#111827;color:#f8fafc}html[data-theme=dark] .production-reference-shell .reference-page{background:transparent;box-shadow:none}@media (min-width: 1024px){.production-reference-shell .production-content{padding-left:240px}}@media (max-width: 1240px){.production-reference-shell .v2-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-reference-shell .v2-dashboard-grid,.production-reference-shell .v2-dashboard-lower-grid,.production-reference-shell .v2-usage-grid{grid-template-columns:1fr}}@media (max-width: 760px){.production-reference-shell .v2-kpi-grid,.production-reference-shell .v2-filter-grid,.production-reference-shell .v2-donut-layout{grid-template-columns:1fr}.production-reference-shell .reference-page-head h1{font-size:28px;line-height:34px}}.production-reference-shell .reference-stat-grid{gap:24px;margin-bottom:24px}.production-reference-shell .reference-stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.production-reference-shell .reference-stat-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.production-reference-shell .v2-stat-tile{min-height:132px;padding:24px}.production-reference-shell .v2-stat-tile span:first-child{color:var(--v2-secondary);font-size:13px;font-weight:500}.production-reference-shell .v2-stat-tile strong{margin-top:12px;color:var(--v2-text);font-family:Inter Tight,Inter,sans-serif;font-size:32px;font-weight:700;line-height:38px;font-variant-numeric:tabular-nums}.production-reference-shell .v2-stat-tile small{margin-top:8px;color:var(--v2-secondary);font-size:12px;font-weight:500}.production-reference-shell .v2-two-column-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:24px;margin-bottom:24px}.production-reference-shell .report-grid,.production-reference-shell .admin-grid{gap:24px}.production-reference-shell .v2-report-card{display:grid;gap:12px;min-height:192px;padding:24px;transition:border-color .15s ease,transform .15s ease}.production-reference-shell .v2-report-card:hover,.production-reference-shell .v2-provider-card:hover,.production-reference-shell .reference-card:hover{border-color:color-mix(in srgb,var(--v2-blue) 34%,var(--v2-border))}.production-reference-shell .report-card-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:#2563eb1f;color:var(--v2-blue)}.production-reference-shell .v2-empty-state{display:grid;justify-items:center;gap:12px;min-height:180px;padding:32px;text-align:center;color:var(--v2-secondary)}.production-reference-shell .v2-empty-state svg{color:var(--v2-blue)}.production-reference-shell .v2-empty-state strong{color:var(--v2-text);font-size:18px;font-weight:600}.production-reference-shell .v2-empty-state p{max-width:520px;color:var(--v2-secondary);font-size:14px;line-height:22px}.production-reference-shell .v2-empty-state>div{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.production-reference-shell .v2-skeleton-label{display:block;width:96px;height:14px}.production-reference-shell .v2-skeleton-line{display:block;width:140px;height:12px;margin-top:12px}.production-reference-shell .v2-skeleton-table{display:grid;gap:12px}.production-reference-shell .v2-skeleton-table>div{display:grid;grid-template-columns:repeat(4,minmax(96px,1fr));gap:16px;align-items:center;min-height:48px;border-bottom:1px solid var(--v2-border)}.production-reference-shell .v2-skeleton-table span{height:14px;border-radius:999px}.production-reference-shell .v2-trust-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:24px}.production-reference-shell .v2-trust-strip>div{display:grid;grid-template-columns:10px minmax(0,1fr);gap:4px 8px;align-items:center;min-height:64px;border:1px solid var(--v2-border);border-radius:16px;padding:12px 16px;background:var(--v2-card)}.production-reference-shell .v2-trust-dot{width:9px;height:9px;border-radius:999px;background:var(--v2-green)}.production-reference-shell .v2-trust-dot.warn{background:var(--v2-orange)}.production-reference-shell .v2-trust-dot.danger{background:var(--v2-red)}.production-reference-shell .v2-trust-strip strong{color:var(--v2-text);font-size:12px;font-weight:600}.production-reference-shell .v2-trust-strip em{grid-column:2;color:var(--v2-secondary);font-size:12px;font-style:normal;font-weight:500}.production-reference-shell .v2-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:24px}.production-reference-shell .v2-provider-card{display:grid;gap:10px;min-height:176px;padding:24px;text-align:left;transition:border-color .15s ease,transform .15s ease}.production-reference-shell .v2-provider-card strong{color:var(--v2-text);font-size:18px;font-weight:600}.production-reference-shell .v2-provider-card p{color:var(--v2-secondary);font-size:14px;line-height:22px}.production-reference-shell .v2-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0f172a75;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.production-reference-shell .v2-modal{width:min(100%,460px);border:1px solid var(--v2-border);border-radius:20px;padding:24px;background:var(--v2-card);color:var(--v2-text);box-shadow:0 24px 60px #0208172e}.production-reference-shell .v2-modal h2{color:var(--v2-text);font-size:20px;font-weight:700}.production-reference-shell .v2-modal p{margin-top:12px;color:var(--v2-secondary);font-size:14px;line-height:22px}.production-reference-shell .v2-modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.production-reference-shell .table-card{overflow-x:auto}.production-reference-shell .table-card thead th{position:sticky;top:0;z-index:1;background:var(--v2-card);color:var(--v2-text);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.production-reference-shell .table-card tbody tr{min-height:48px;transition:background .15s ease}.production-reference-shell .table-card tbody tr:hover{background:color-mix(in srgb,var(--v2-blue) 5%,transparent)}.production-reference-shell .form-card,.production-reference-shell .link-list,.production-reference-shell .allocation-card,.production-reference-shell .unit-card{padding:24px}.production-reference-shell .form-card input,.production-reference-shell .form-card select,.production-reference-shell .v2-table-actions input{min-height:44px;border:1px solid var(--v2-border);border-radius:10px;background:var(--v2-surface);color:var(--v2-text)}.production-reference-shell .toggle-row{min-height:48px}.production-reference-shell :is(button,a,input,select):focus-visible{outline:2px solid var(--v2-blue);outline-offset:2px}.production-reference-shell :is(button,a,select,input){min-height:44px}.production-reference-shell :is(button,a,label,th,.table-link,.provider-badge,.reference-eyebrow,.production-nav-label,.production-nav-item.active){font-weight:600}.production-reference-shell :is(h1,h2,.v2-metric-card>strong,.v2-stat-tile strong){font-weight:700}.production-reference-shell :is(h3,strong,b){font-weight:600}@media (max-width: 1240px){.production-reference-shell .reference-stat-grid.four,.production-reference-shell .reference-stat-grid.three,.production-reference-shell .v2-trust-strip,.production-reference-shell .v2-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-reference-shell .v2-two-column-grid{grid-template-columns:1fr}}@media (max-width: 760px){.production-reference-shell .reference-stat-grid.four,.production-reference-shell .reference-stat-grid.three,.production-reference-shell .v2-trust-strip,.production-reference-shell .v2-provider-grid{grid-template-columns:1fr}.production-reference-shell .v2-modal-actions{display:grid}}.hover\:border-\[var\(--primary\)\]:hover{border-color:var(--primary)}.hover\:text-slate-900:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark\:hover\:text-slate-100:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:inline{display:inline}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-start{align-items:flex-start}.sm\:items-end{align-items:flex-end}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:p-6{padding:1.5rem}.sm\:p-7{padding:1.75rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-\[1\.24rem\]{font-size:1.24rem}.sm\:text-\[1\.3rem\]{font-size:1.3rem}.sm\:text-\[1\.58rem\]{font-size:1.58rem}}@media (min-width: 768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-\[0\.82fr_1\.18fr\]{grid-template-columns:.82fr 1.18fr}.md\:grid-cols-\[0\.86fr_1\.14fr\]{grid-template-columns:.86fr 1.14fr}}@media (min-width: 1024px){.lg\:flex{display:flex}.lg\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-\[0\.26fr_0\.74fr\]{grid-template-columns:.26fr .74fr}.lg\:grid-cols-\[1\.15fr_0\.85fr\]{grid-template-columns:1.15fr .85fr}.lg\:grid-cols-\[1fr_0\.92fr\]{grid-template-columns:1fr .92fr}.lg\:grid-cols-\[1fr_160px_160px\]{grid-template-columns:1fr 160px 160px}.lg\:flex-row{flex-direction:row}.lg\:flex-col{flex-direction:column}.lg\:items-start{align-items:flex-start}.lg\:items-end{align-items:flex-end}.lg\:items-center{align-items:center}.lg\:justify-end{justify-content:flex-end}.lg\:justify-between{justify-content:space-between}.lg\:p-5{padding:1.25rem}}@media (min-width: 1280px){.xl\:col-span-1{grid-column:span 1 / span 1}.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:grid-cols-\[0\.42fr_0\.58fr\]{grid-template-columns:.42fr .58fr}.xl\:grid-cols-\[0\.44fr_0\.56fr\]{grid-template-columns:.44fr .56fr}.xl\:grid-cols-\[0\.88fr_1\.12fr\]{grid-template-columns:.88fr 1.12fr}.xl\:grid-cols-\[0\.8fr_1\.2fr\]{grid-template-columns:.8fr 1.2fr}.xl\:grid-cols-\[0\.95fr\,1\.05fr\]{grid-template-columns:.95fr 1.05fr}.xl\:grid-cols-\[1\.02fr\,0\.98fr\]{grid-template-columns:1.02fr .98fr}.xl\:grid-cols-\[1\.05fr_0\.95fr\]{grid-template-columns:1.05fr .95fr}.xl\:grid-cols-\[1\.06fr_0\.9fr_0\.8fr\]{grid-template-columns:1.06fr .9fr .8fr}.xl\:grid-cols-\[1\.08fr_0\.92fr\]{grid-template-columns:1.08fr .92fr}.xl\:grid-cols-\[1\.12fr_0\.88fr\]{grid-template-columns:1.12fr .88fr}.xl\:grid-cols-\[1\.15fr_0\.85fr\]{grid-template-columns:1.15fr .85fr}.xl\:grid-cols-\[1\.15fr_0\.95fr\]{grid-template-columns:1.15fr .95fr}.xl\:grid-cols-\[1\.15fr_1fr_1fr_1fr_1fr\]{grid-template-columns:1.15fr 1fr 1fr 1fr 1fr}.xl\:grid-cols-\[1\.1fr\,0\.9fr\],.xl\:grid-cols-\[1\.1fr_0\.9fr\]{grid-template-columns:1.1fr .9fr}.xl\:grid-cols-\[1\.2fr\,0\.8fr\],.xl\:grid-cols-\[1\.2fr_0\.8fr\]{grid-template-columns:1.2fr .8fr}.xl\:grid-cols-\[1\.45fr_1\.02fr_1\.02fr_0\.78fr\]{grid-template-columns:1.45fr 1.02fr 1.02fr .78fr}.xl\:grid-cols-\[1fr_1fr_1fr_1fr_1fr_1\.4fr\]{grid-template-columns:1fr 1fr 1fr 1fr 1fr 1.4fr}.xl\:items-end{align-items:flex-end}}@media (min-width: 1536px){.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* CloudSight V2 production UX polish. Keep this file plain CSS; the custom
   production builder appends it after src/index.compiled.css. */
.production-reference-shell .reference-search-shell {
  position: relative;
  display: none;
  min-width: 0;
}

.production-reference-shell .reference-search-shell .reference-search {
  width: min(520px, 36vw);
  min-width: 340px;
  height: 44px;
  border-radius: 14px;
  border-color: var(--v2-border, var(--border));
  background: color-mix(in srgb, var(--v2-card, #ffffff) 96%, var(--v2-blue, #2563eb) 4%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.production-reference-shell .reference-search-shell .reference-search:focus-within {
  border-color: color-mix(in srgb, var(--v2-blue, #2563eb) 46%, var(--v2-border, #dbe3ee));
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.12), 0 0 0 3px color-mix(in srgb, var(--v2-blue, #2563eb) 16%, transparent);
}

.production-reference-shell .reference-search-shell .reference-search input {
  font-size: 13px;
  font-weight: 650;
}

.production-reference-shell .reference-search-shell .reference-search-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 24px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--v2-border, #dbe3ee) 52%, transparent);
  color: var(--v2-secondary, #64748b);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.production-reference-shell .reference-search-suggestions {
  position: absolute;
  z-index: 220;
  top: calc(100% + 10px);
  right: 0;
  width: min(640px, calc(100vw - 360px));
  min-width: 520px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--v2-blue, #2563eb) 18%, var(--v2-border, #dbe3ee));
  border-radius: 18px;
  background: color-mix(in srgb, var(--v2-card, #ffffff) 98%, var(--v2-blue, #2563eb) 2%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.production-reference-shell .reference-search-suggestions::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.06), transparent 32%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 34%);
}

.production-reference-shell .reference-search-suggestions-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 8px;
  color: var(--v2-secondary, #64748b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-reference-shell .reference-search-suggestions-head kbd {
  min-width: 46px;
  border: 1px solid var(--v2-border, #dbe3ee);
  border-radius: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--v2-secondary, #64748b);
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.production-reference-shell .reference-search-suggestions button {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(100% - 16px);
  min-height: 64px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 8px 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 12px;
  background: transparent;
  color: var(--v2-text, #0f172a);
  text-align: left;
}

.production-reference-shell .reference-search-suggestions button:hover,
.production-reference-shell .reference-search-suggestions button.active {
  border-color: color-mix(in srgb, var(--v2-blue, #2563eb) 20%, transparent);
  background: color-mix(in srgb, var(--v2-blue, #2563eb) 9%, var(--v2-card, #ffffff));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.production-reference-shell .reference-search-suggestion-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--v2-blue, #2563eb) 12%, transparent);
  color: var(--v2-blue, #2563eb);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.production-reference-shell .reference-search-suggestion-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.production-reference-shell .reference-search-suggestion-copy strong,
.production-reference-shell .reference-search-suggestion-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .reference-search-suggestion-copy strong {
  color: var(--v2-text, #0f172a);
  font-size: 13px;
  font-weight: 800;
}

.production-reference-shell .reference-search-suggestion-copy small {
  color: var(--v2-secondary, #64748b);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
}

.production-reference-shell .reference-search-suggestion-meta {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--v2-border, #dbe3ee) 80%, transparent);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--v2-secondary, #64748b);
  font-size: 10px;
  font-weight: 800;
}

.production-reference-shell .internal-guide-panel {
  margin-top: 18px;
  padding: 22px;
  border-color: color-mix(in srgb, var(--v2-blue, #2563eb) 24%, var(--v2-border, #dbe3ee));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--v2-blue, #2563eb) 4%, transparent), transparent 38%),
    var(--v2-card, #ffffff);
}

.production-reference-shell .internal-guide-intro {
  max-width: 980px;
  margin-top: 10px;
  font-size: 13px;
}

.production-reference-shell .internal-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 18px;
  margin-top: 18px;
}

.production-reference-shell .internal-guide-grid h4 {
  margin: 0 0 12px;
  color: var(--v2-text, #0f172a);
  font-size: 13px;
  font-weight: 800;
}

.production-reference-shell .internal-guide-grid ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.production-reference-shell .internal-guide-grid li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--v2-border, #dbe3ee) 80%, transparent);
  border-radius: 14px;
  padding: 11px 12px;
  background: color-mix(in srgb, var(--v2-card, #ffffff) 78%, var(--v2-blue, #2563eb) 4%);
}

.production-reference-shell .internal-guide-grid li span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--v2-blue, #2563eb) 12%, transparent);
  color: var(--v2-blue, #2563eb);
  font-size: 11px;
  font-weight: 900;
}

.production-reference-shell .internal-guide-grid li p {
  margin: 0;
  color: var(--v2-secondary, #64748b);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.production-reference-shell .internal-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.production-reference-shell .internal-guide-actions .reference-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  text-decoration: none;
}

.production-reference-shell .internal-guide-code {
  margin-top: 14px;
  white-space: pre-wrap;
}

.production-reference-shell .internal-table {
  margin-top: 16px;
}

html[data-theme="dark"] .production-reference-shell .internal-guide-panel {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent 38%),
    #0b1626;
}

html[data-theme="dark"] .production-reference-shell .internal-guide-grid li {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.58);
}

html[data-theme="dark"] .production-reference-shell .internal-guide-grid h4 {
  color: #f8fafc;
}

html[data-theme="dark"] .production-reference-shell .reference-search-shell .reference-search {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0b1626;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .production-reference-shell .reference-search-suggestions {
  border-color: rgba(96, 165, 250, 0.24);
  background: #0b1626;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .production-reference-shell .reference-search-suggestions-head kbd {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.82);
}

html[data-theme="dark"] .production-reference-shell .reference-search-suggestions button:hover,
html[data-theme="dark"] .production-reference-shell .reference-search-suggestions button.active {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(37, 99, 235, 0.16);
}

html[data-theme="dark"] .production-reference-shell .reference-search-suggestion-copy strong {
  color: #f8fafc;
}

html[data-theme="dark"] .production-reference-shell .reference-search-suggestion-copy small,
html[data-theme="dark"] .production-reference-shell .reference-search-suggestion-meta {
  color: #9fb0c8;
}

@media (min-width: 1024px) {
  .production-reference-shell .reference-search-shell {
    display: block;
  }
}

@media (max-width: 1240px) {
  .production-reference-shell .reference-search-shell .reference-search {
    width: min(420px, 34vw);
    min-width: 260px;
  }

  .production-reference-shell .reference-search-suggestions {
    width: min(560px, calc(100vw - 300px));
    min-width: 420px;
  }
}

@media (max-width: 900px) {
  .production-reference-shell .internal-guide-grid {
    grid-template-columns: 1fr;
  }
}

.production-reference-shell select.reference-native-select,
.production-reference-shell .production-workspace-select,
.production-reference-shell .form-card select,
.select-shell,
.onboarding-ref-form select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
  border: 1px solid var(--v2-border, var(--border)) !important;
  border-radius: 12px !important;
  padding: 0 42px 0 14px !important;
  color: var(--v2-text, var(--text)) !important;
  background-color: var(--v2-card, var(--surface-strong)) !important;
  background-image:
    linear-gradient(135deg, transparent 50%, var(--v2-secondary, #64748b) 50%),
    linear-gradient(45deg, var(--v2-secondary, #64748b) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  cursor: pointer;
}

.production-reference-shell .production-workspace-select {
  min-height: 32px;
  width: 100%;
  border-radius: 10px;
  padding-left: 10px;
  font-size: 13px;
  line-height: 1.2;
}

.production-reference-shell select.reference-native-select:hover,
.production-reference-shell .production-workspace-select:hover,
.production-reference-shell .form-card select:hover,
.select-shell:hover,
.onboarding-ref-form select:hover {
  border-color: color-mix(in srgb, var(--v2-blue, var(--primary)) 32%, var(--v2-border, var(--border)));
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.production-reference-shell select.reference-native-select:focus,
.production-reference-shell .production-workspace-select:focus,
.production-reference-shell .form-card select:focus,
.select-shell:focus,
.onboarding-ref-form select:focus {
  border-color: var(--v2-blue, var(--primary));
  outline: 2px solid color-mix(in srgb, var(--v2-blue, var(--primary)) 22%, transparent);
  outline-offset: 2px;
}

html[data-theme="dark"] .production-reference-shell select.reference-native-select,
html[data-theme="dark"] .production-reference-shell .production-workspace-select,
html[data-theme="dark"] .production-reference-shell .form-card select,
.dark .select-shell,
html[data-theme="dark"] .onboarding-ref-form select {
  background-color: #111827 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.production-reference-shell .reference-select-combobox {
  position: relative;
  min-width: 0;
}

.production-reference-shell .reference-select-button {
  display: grid;
  width: 100%;
  min-width: 150px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 14px;
  text-align: left;
}

.production-reference-shell .reference-select-button > span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .reference-select-chevron {
  width: 16px;
  height: 16px;
  color: var(--v2-secondary, #64748b);
  transition: transform 160ms ease;
}

.production-reference-shell .reference-select-combobox.open .reference-select-chevron {
  transform: rotate(180deg);
}

.production-reference-shell .reference-select-combobox.open .reference-select-button {
  border-color: var(--v2-blue, var(--primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--v2-blue, var(--primary)) 18%, transparent);
}

.production-reference-shell .reference-select-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(360px, calc(100vw - 48px));
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--v2-border, var(--border));
  border-radius: 14px;
  background: var(--v2-card, #ffffff);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.production-reference-shell .reference-select-menu::-webkit-scrollbar,
.production-reference-shell .v2-table-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.production-reference-shell .reference-select-menu::-webkit-scrollbar-thumb,
.production-reference-shell .v2-table-scroll::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--v2-secondary, #64748b) 34%, transparent);
  background-clip: padding-box;
}

.production-reference-shell .reference-select-option {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  background: transparent;
  color: var(--v2-text, var(--text));
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.production-reference-shell .reference-select-option > span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .reference-select-option:hover,
.production-reference-shell .reference-select-option.selected {
  background: color-mix(in srgb, var(--v2-blue, var(--primary)) 10%, transparent);
  color: var(--v2-blue, var(--primary));
}

.production-reference-shell .reference-select-check {
  width: 15px;
  height: 15px;
}

.production-reference-shell .form-card .reference-select-combobox,
.production-reference-shell .form-card .reference-select-button,
.production-reference-shell .settings-form .reference-select-combobox,
.production-reference-shell .settings-form .reference-select-button {
  width: 100%;
}

html[data-theme="dark"] .production-reference-shell .reference-select-menu {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111827;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.production-reference-shell .production-workspace {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: visible;
  margin: 10px 14px 18px;
  padding: 12px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--v2-card) 92%, var(--v2-blue) 8%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.production-reference-shell .production-sidebar {
  overflow: visible;
}

.production-reference-shell .production-workspace-trigger {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 2px 2px 2px 0;
  background: transparent;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.production-reference-shell .production-workspace-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.16));
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.production-reference-shell .production-workspace-body {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.production-reference-shell .production-workspace-label {
  color: var(--v2-secondary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.production-reference-shell .production-workspace-status {
  overflow: hidden;
  color: var(--v2-secondary);
  font-size: 11px;
  font-weight: 650;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .production-workspace-trigger > span {
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 17px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.production-reference-shell .production-workspace-trigger:hover {
  background: transparent;
  color: var(--v2-blue);
}

.production-reference-shell .production-workspace-trigger:focus-visible,
.production-reference-shell .production-workspace.menu-open .production-workspace-trigger {
  border-color: var(--v2-blue);
  outline: 0;
  box-shadow: none;
}

.production-reference-shell .production-workspace-chevron {
  width: 16px;
  height: 16px;
  color: var(--v2-secondary);
  transition: transform 160ms ease;
}

.production-reference-shell .production-workspace.menu-open .production-workspace-chevron {
  transform: rotate(180deg);
}

.production-reference-shell .production-workspace-menu {
  position: absolute;
  z-index: 160;
  top: calc(100% + 10px);
  right: -8px;
  left: -8px;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  background: var(--v2-card);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.production-reference-shell .production-workspace-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 28px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--v2-border);
  border-left: 1px solid var(--v2-border);
  background: var(--v2-card);
  transform: rotate(45deg);
}

.production-reference-shell .production-workspace-menu-kicker {
  position: relative;
  z-index: 1;
  padding: 3px 8px 8px;
  color: var(--v2-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-reference-shell .production-workspace-option,
.production-reference-shell .production-workspace-manage {
  display: grid;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  padding: 9px;
  background: transparent;
  color: var(--v2-text);
  text-align: left;
  cursor: pointer;
}

.production-reference-shell .production-workspace-option {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}

.production-reference-shell .production-workspace-option:hover,
.production-reference-shell .production-workspace-manage:hover {
  background: color-mix(in srgb, var(--v2-blue) 10%, transparent);
}

.production-reference-shell .production-workspace-option.selected {
  background: color-mix(in srgb, var(--v2-blue) 8%, transparent);
}

.production-reference-shell .production-workspace-option-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--v2-blue) 14%, transparent);
  color: var(--v2-blue);
  font-size: 10px;
  font-weight: 800;
}

.production-reference-shell .production-workspace-option-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.production-reference-shell .production-workspace-option-copy strong,
.production-reference-shell .production-workspace-option-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .production-workspace-option-copy strong {
  font-size: 12px;
  line-height: 16px;
}

.production-reference-shell .production-workspace-option-copy small {
  color: var(--v2-secondary);
  font-size: 10px;
  line-height: 14px;
}

.production-reference-shell .production-workspace-check,
.production-reference-shell .production-workspace-manage-icon {
  width: 15px;
  height: 15px;
  color: var(--v2-blue);
}

.production-reference-shell .production-workspace-menu-divider {
  height: 1px;
  margin: 5px 4px;
  background: var(--v2-border);
}

.production-reference-shell .production-workspace-menu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 9px 2px;
}

.production-reference-shell .production-workspace-menu-meta span {
  min-height: auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: color-mix(in srgb, var(--v2-blue) 10%, transparent);
  color: var(--v2-blue);
  font-size: 10px;
  font-weight: 700;
}

.production-reference-shell .production-workspace-manage {
  grid-template-columns: 18px minmax(0, 1fr);
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 600;
}

html[data-theme="dark"] .production-reference-shell .production-workspace-trigger,
html[data-theme="dark"] .production-reference-shell .production-workspace-menu {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0b1626;
}

html[data-theme="dark"] .production-reference-shell .production-workspace {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.78);
}

html[data-theme="dark"] .production-reference-shell .production-workspace-trigger {
  background: transparent;
}

.production-reference-shell .reference-account-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.production-reference-shell .reference-avatar {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 999px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--v2-blue) 16%, var(--v2-border));
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(14, 165, 233, 0.14));
  color: var(--v2-blue);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.production-reference-shell .reference-avatar span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.production-reference-shell .reference-account-popover {
  position: absolute;
  z-index: 180;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(300px, calc(100vw - 32px));
  gap: 6px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  padding: 10px;
  background: var(--v2-card);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.production-reference-shell .reference-account-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 17px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--v2-border);
  border-left: 1px solid var(--v2-border);
  background: var(--v2-card);
  transform: rotate(45deg);
}

.production-reference-shell .reference-account-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--v2-blue) 8%, transparent);
}

.production-reference-shell .reference-account-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--v2-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.production-reference-shell .reference-account-summary strong,
.production-reference-shell .reference-account-summary small,
.production-reference-shell .reference-account-summary em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .reference-account-summary strong {
  color: var(--v2-text);
  font-size: 13px;
  line-height: 18px;
}

.production-reference-shell .reference-account-summary small,
.production-reference-shell .reference-account-summary em {
  color: var(--v2-secondary);
  font-size: 11px;
  font-style: normal;
  line-height: 15px;
}

.production-reference-shell .reference-account-popover > button {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  justify-content: flex-start;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  background: transparent;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.production-reference-shell .reference-account-popover > button:hover {
  background: color-mix(in srgb, var(--v2-blue) 9%, transparent);
  color: var(--v2-blue);
}

.production-reference-shell .settings-profile-layout {
  display: grid;
  gap: 20px;
  width: 100%;
}

.production-reference-shell .settings-profile-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--v2-blue) 8%, transparent), transparent 62%);
}

.production-reference-shell .settings-profile-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 20px;
  background: var(--v2-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.production-reference-shell .settings-profile-card h3 {
  margin: 0;
  color: var(--v2-text);
  font-size: 20px;
  font-weight: 750;
  line-height: 26px;
}

.production-reference-shell .settings-profile-card p,
.production-reference-shell .settings-profile-card small {
  display: block;
  margin-top: 3px;
  color: var(--v2-secondary);
  font-size: 13px;
  line-height: 19px;
}

.production-reference-shell .settings-profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.production-reference-shell .settings-profile-form-grid label {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 700;
}

.production-reference-shell .settings-profile-form-grid input {
  width: 100%;
}

html[data-theme="dark"] .production-reference-shell .reference-account-popover {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111827;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] .production-reference-shell .reference-account-popover::before {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111827;
}

@media (max-width: 760px) {
  .production-reference-shell .settings-profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.production-reference-shell .v2-date-range-controls {
  display: grid;
  grid-template-columns: minmax(150px, 190px);
  width: 100%;
  min-width: 0;
  align-items: end;
  gap: 8px;
}

.production-reference-shell .v2-date-range-controls.compact {
  justify-content: stretch;
}

.production-reference-shell .v2-date-range-controls.is-custom {
  grid-template-columns: minmax(150px, 190px) minmax(280px, 1fr);
  max-width: 560px;
}

.production-reference-shell .v2-date-range-controls > .reference-native-select,
.production-reference-shell .v2-date-range-controls > .reference-select-combobox {
  width: 100%;
  min-width: 0;
}

.production-reference-shell .v2-custom-date-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  width: 100%;
  min-width: 0;
  align-items: end;
  gap: 8px;
}

.production-reference-shell .v2-custom-date-fields label,
.production-reference-shell .v2-filter-field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.production-reference-shell .v2-custom-date-fields label span,
.production-reference-shell .v2-filter-field > span {
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 600;
}

.production-reference-shell .reference-date-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 44px;
  min-width: 0;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  padding: 0 13px;
  background: var(--v2-card);
  color: var(--v2-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
}

.production-reference-shell .reference-date-input:hover {
  border-color: color-mix(in srgb, var(--v2-blue, var(--primary)) 32%, var(--v2-border, var(--border)));
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.production-reference-shell .reference-date-input:focus {
  border-color: var(--v2-blue);
  outline: 2px solid color-mix(in srgb, var(--v2-blue) 22%, transparent);
  outline-offset: 2px;
}

html[data-theme="dark"] .production-reference-shell .reference-date-input {
  border-color: rgba(255, 255, 255, 0.08);
  background: #111827;
  color: #f8fafc;
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.production-reference-shell .reference-actions {
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  min-width: min(100%, 540px);
}

.production-reference-shell .reference-actions > .v2-date-range-controls,
.production-reference-shell .reference-filter-row.compact > .v2-date-range-controls {
  flex: 0 1 520px;
}

.production-reference-shell .reference-topbar-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.production-reference-shell .reference-topbar-notice button {
  min-height: 28px;
  border: 1px solid color-mix(in srgb, var(--v2-blue, var(--primary)) 28%, transparent);
  border-radius: 8px;
  padding: 0 9px;
  color: var(--v2-blue, var(--primary));
  font-size: 11px;
  font-weight: 700;
}

.production-reference-shell .reference-filter-row.compact {
  align-items: flex-start;
  gap: 12px;
}

.production-reference-shell .v2-report-builder {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-color: var(--v2-border);
  background: var(--v2-card);
}

.production-reference-shell .v2-report-builder-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.production-reference-shell .v2-report-builder-main h2 {
  margin: 4px 0 8px;
  color: var(--v2-text);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.production-reference-shell .v2-report-builder-main p {
  max-width: 720px;
  color: var(--v2-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.production-reference-shell .v2-report-builder-summary {
  display: none;
}

.production-reference-shell .v2-report-command-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(168px, 0.9fr) minmax(144px, 0.72fr) minmax(280px, 1.35fr);
  align-items: end;
  gap: 14px;
  max-width: 100%;
  margin-bottom: 0;
  overflow: visible;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  padding: 14px;
  background: var(--v2-surface);
  box-shadow: none;
}

.production-reference-shell .v2-report-builder-summary span,
.production-reference-shell .v2-report-builder-footer span {
  color: var(--v2-muted);
  font-size: 11px;
  font-weight: 700;
}

.production-reference-shell .v2-report-builder-summary strong {
  margin-bottom: 8px;
  color: var(--v2-text);
  font-size: 15px;
  font-weight: 800;
}

.production-reference-shell .v2-report-command-bar .reference-select-combobox,
.production-reference-shell .v2-report-command-bar .reference-select-button,
.production-reference-shell .v2-report-command-bar .v2-date-range-controls {
  width: 100%;
}

.production-reference-shell .v2-report-command-bar .reference-select-button {
  min-width: 0;
  border-radius: 12px;
  background: var(--v2-surface);
}

.production-reference-shell .v2-report-command-bar .v2-date-range-controls {
  grid-template-columns: minmax(0, 1fr);
}

.production-reference-shell .v2-report-command-bar .v2-date-range-controls.is-custom {
  grid-template-columns: minmax(128px, 0.74fr) minmax(230px, 1.26fr);
  max-width: none;
}

.production-reference-shell .v2-report-format-summary {
  display: grid;
  min-height: 44px;
  align-content: center;
  gap: 2px;
  border: 1px solid color-mix(in srgb, var(--v2-blue) 18%, var(--v2-border));
  border-radius: 8px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--v2-blue) 7%, var(--v2-surface));
}

.production-reference-shell .v2-report-builder-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--v2-border);
  padding-top: 16px;
}

.production-reference-shell .v2-report-builder-footer div {
  display: grid;
  gap: 4px;
}

.production-reference-shell .v2-report-builder-footer strong {
  color: var(--v2-text);
  font-size: 14px;
  font-weight: 800;
}

.production-reference-shell .v2-report-template-list {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--v2-border);
  padding-top: 14px;
}

.production-reference-shell .v2-report-template-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--v2-card);
  color: var(--v2-text);
  text-align: left;
}

.production-reference-shell .v2-report-template-row.is-selected {
  background: color-mix(in srgb, var(--v2-blue) 4%, var(--v2-card));
  box-shadow: inset 3px 0 0 var(--v2-blue);
}

.production-reference-shell .v2-report-template-row strong,
.production-reference-shell .v2-report-template-row small {
  display: block;
}

.production-reference-shell .v2-report-template-row strong {
  color: var(--v2-text);
  font-size: 14px;
  font-weight: 800;
}

.production-reference-shell .v2-report-template-row small {
  margin-top: 3px;
  color: var(--v2-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.production-reference-shell .v2-report-template-select {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--v2-muted);
  font-size: 12px;
  font-weight: 750;
}

.production-reference-shell .v2-report-template-row.is-selected .v2-report-template-select {
  border-color: color-mix(in srgb, var(--v2-blue) 18%, var(--v2-border));
  color: var(--v2-blue);
  background: color-mix(in srgb, var(--v2-blue) 7%, var(--v2-card));
}

.production-reference-shell .v2-report-format-summary strong {
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 700;
}

.production-reference-shell .v2-report-format-summary span {
  overflow: hidden;
  color: var(--v2-secondary);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .v2-scheduled-report-panel {
  display: grid;
  gap: 22px;
  max-width: 100%;
  padding: 24px;
  overflow: hidden;
}

.production-reference-shell .v2-scheduled-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  min-width: 0;
}

.production-reference-shell .v2-scheduled-report-head h3,
.production-reference-shell .v2-docs-start-copy h3,
.production-reference-shell .v2-docs-reference-head h3 {
  margin: 4px 0 0;
  color: var(--v2-text);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
}

.production-reference-shell .v2-scheduled-report-head p,
.production-reference-shell .v2-docs-start-copy p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--v2-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.production-reference-shell .v2-scheduled-report-grid,
.production-reference-shell .v2-docs-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.production-reference-shell .v2-scheduled-report-grid > div,
.production-reference-shell .v2-docs-journey > div {
  min-width: 0;
  min-height: 132px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  padding: 16px;
  background: var(--v2-surface);
}

.production-reference-shell .v2-scheduled-report-grid span,
.production-reference-shell .v2-docs-journey span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--v2-blue) 12%, transparent);
  color: var(--v2-blue);
  font-size: 11px;
  font-weight: 900;
}

.production-reference-shell .v2-scheduled-report-grid strong,
.production-reference-shell .v2-docs-journey strong {
  display: block;
  margin-top: 14px;
  color: var(--v2-text);
  font-size: 14px;
  font-weight: 750;
}

.production-reference-shell .v2-scheduled-report-grid p,
.production-reference-shell .v2-docs-journey p {
  margin: 6px 0 0;
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.production-reference-shell .v2-scheduled-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 190px;
  border: 1px dashed color-mix(in srgb, var(--v2-blue) 28%, var(--v2-border));
  border-radius: 18px;
  padding: 28px;
  background: color-mix(in srgb, var(--v2-blue) 5%, transparent);
  text-align: center;
}

.production-reference-shell .v2-scheduled-empty strong {
  color: var(--v2-text);
  font-size: 20px;
  font-weight: 750;
}

.production-reference-shell .v2-scheduled-empty p {
  max-width: 620px;
  color: var(--v2-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.production-reference-shell .v2-scheduled-empty > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.production-reference-shell .v2-docs-start-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 24px;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--v2-blue) 18%, var(--v2-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--v2-blue) 5%, transparent), transparent 42%),
    var(--v2-card);
}

.production-reference-shell .v2-docs-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.production-reference-shell .v2-docs-start-actions .reference-primary,
.production-reference-shell .v2-docs-start-actions .reference-secondary,
.production-reference-shell .v2-scheduled-empty .reference-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
}

.production-reference-shell .v2-docs-reference-table {
  margin-top: 18px;
}

.production-reference-shell .v2-docs-reference-head {
  margin-bottom: 12px;
}

.production-reference-shell .status-page {
  display: grid;
  gap: 22px;
  max-width: 100%;
  overflow: hidden;
}

.production-reference-shell .status-page .reference-page-head {
  margin-bottom: 0;
}

.production-reference-shell .status-page .reference-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.production-reference-shell .status-page .reference-primary svg {
  width: 16px;
  height: 16px;
}

.production-reference-shell .status-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.production-reference-shell .status-summary-card {
  display: grid;
  min-width: 0;
  min-height: 116px;
  gap: 8px;
  padding: 20px;
}

.production-reference-shell .status-summary-card span {
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.production-reference-shell .status-summary-card strong {
  overflow-wrap: anywhere;
  color: var(--v2-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: capitalize;
}

.production-reference-shell .status-summary-card small {
  color: var(--v2-secondary);
  font-size: 13px;
  font-weight: 600;
}

.production-reference-shell .status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.production-reference-shell .status-card {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 0;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
}

.production-reference-shell .status-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.production-reference-shell .status-card-title {
  min-width: 0;
}

.production-reference-shell .status-card-title .reference-section-label {
  margin: 0;
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.production-reference-shell .status-card-title h2 {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
  color: var(--v2-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.18;
}

.production-reference-shell .status-card-title p {
  margin: 8px 0 0;
  color: var(--v2-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.production-reference-shell .status-card-body {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--v2-border);
}

.production-reference-shell .status-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: start;
  min-height: 42px;
  border-bottom: 1px solid var(--v2-border);
  padding: 11px 0;
}

.production-reference-shell .status-row span {
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 700;
}

.production-reference-shell .status-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.production-reference-shell .status-card .status-pill {
  align-self: start;
  white-space: nowrap;
}

.production-reference-shell .status-inline-action {
  justify-self: start;
  margin-top: 14px;
}

.production-reference-shell .status-checklist {
  display: grid;
  gap: 10px;
}

.production-reference-shell .status-checklist div {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--v2-blue) 5%, var(--v2-surface));
}

.production-reference-shell .status-checklist svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--v2-green);
}

.production-reference-shell .status-checklist span {
  color: var(--v2-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.production-reference-shell .status-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.production-reference-shell .status-note svg {
  width: 18px;
  height: 18px;
  color: var(--v2-green);
}

.production-reference-shell .v2-filter-grid {
  grid-template-columns: repeat(4, minmax(140px, 1fr)) minmax(430px, 1.4fr) auto;
  align-items: end;
}

.production-reference-shell .v2-filter-grid .v2-filter-field {
  min-width: 0;
}

.production-reference-shell .v2-filter-grid .v2-date-range-controls {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.production-reference-shell .v2-filter-grid .v2-date-range-controls.is-custom {
  grid-template-columns: minmax(150px, 0.8fr) minmax(272px, 1.2fr);
}

.production-reference-shell .v2-filter-grid > .reference-secondary {
  align-self: end;
  white-space: nowrap;
}

@media (max-width: 1500px) {
  .production-reference-shell .v2-report-command-bar {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .production-reference-shell .v2-scheduled-report-grid,
  .production-reference-shell .v2-docs-journey,
  .production-reference-shell .status-summary-grid,
  .production-reference-shell .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .production-reference-shell .v2-report-command-bar .v2-filter-field-wide {
    grid-column: span 2;
  }

  .production-reference-shell .v2-filter-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .production-reference-shell .v2-filter-grid .v2-filter-field {
    grid-column: span 2;
  }

  .production-reference-shell .v2-filter-grid > .reference-secondary {
    justify-self: start;
  }
}

@media (max-width: 1180px) {
  .production-reference-shell .reference-page-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .production-reference-shell .reference-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .production-reference-shell .v2-report-command-bar,
  .production-reference-shell .v2-scheduled-report-head,
  .production-reference-shell .v2-docs-start-panel,
  .production-reference-shell .v2-date-range-controls.is-custom,
  .production-reference-shell .v2-filter-grid .v2-date-range-controls.is-custom {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .v2-scheduled-report-grid,
  .production-reference-shell .v2-docs-journey,
  .production-reference-shell .status-summary-grid,
  .production-reference-shell .status-grid {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .v2-scheduled-report-head .reference-primary {
    justify-self: start;
  }

  .production-reference-shell .v2-report-command-bar .v2-filter-field-wide,
  .production-reference-shell .v2-filter-grid .v2-filter-field {
    grid-column: auto;
  }
}

html[data-theme="dark"] .production-reference-shell .v2-report-command-bar {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(12, 20, 34, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .production-reference-shell .v2-report-format-summary {
  border-color: rgba(79, 125, 255, 0.24);
  background: rgba(79, 125, 255, 0.1);
}

html[data-theme="dark"] .production-reference-shell .v2-scheduled-report-grid > div,
html[data-theme="dark"] .production-reference-shell .v2-docs-journey > div {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.58);
}

html[data-theme="dark"] .production-reference-shell .v2-scheduled-empty {
  border-color: rgba(79, 125, 255, 0.28);
  background: rgba(79, 125, 255, 0.08);
}

html[data-theme="dark"] .production-reference-shell .v2-docs-start-panel {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.11), transparent 42%),
    #0b1626;
}

@media (max-width: 560px) {
  .production-reference-shell .v2-custom-date-fields {
    grid-template-columns: 1fr;
  }
}

.production-reference-shell .v2-card-trend,
.production-reference-shell .v2-sparkline,
.production-reference-shell .v2-metric-card {
  overflow: hidden;
}

.production-reference-shell .v2-card-trend svg,
.production-reference-shell .v2-sparkline svg,
.production-reference-shell .v2-metric-card svg {
  overflow: hidden;
}

.production-reference-shell .v2-stat-tile.is-compact strong {
  font-size: 20px;
  line-height: 26px;
  overflow-wrap: anywhere;
}

.production-reference-shell .v2-metric-card > strong {
  max-width: calc(100% - 104px);
  font-size: 30px;
  line-height: 38px;
  overflow: visible;
  white-space: nowrap;
}

.production-reference-shell .v2-metric-card em {
  max-width: calc(100% - 90px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .v2-budget-row > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 4px;
}

.production-reference-shell .v2-budget-row > div span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.production-reference-shell .v2-card-trend .recharts-wrapper,
.production-reference-shell .v2-card-trend .recharts-surface {
  max-width: 100%;
}

.production-reference-shell .reference-connection-form {
  margin: 0 0 24px;
  border-color: color-mix(in srgb, var(--v2-blue) 34%, var(--v2-border));
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.08);
}

.production-reference-shell .reference-connection-form h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.production-reference-shell .reference-connection-form form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.production-reference-shell .reference-safe-template-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--v2-blue) 24%, var(--v2-border));
  border-radius: 18px;
  background: color-mix(in srgb, var(--v2-blue) 6%, var(--v2-surface));
}

.production-reference-shell .reference-safe-template-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--v2-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.production-reference-shell .reference-safe-template-panel strong,
.production-reference-shell .reference-safe-template-panel code {
  display: block;
}

.production-reference-shell .reference-safe-template-panel p {
  max-width: 780px;
  margin: 6px 0 8px;
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.5;
}

.production-reference-shell .reference-safe-template-panel code {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  overflow-wrap: anywhere;
  border-radius: 10px;
  background: var(--v2-surface-muted);
  color: var(--v2-text);
  font-size: 12px;
}

.production-reference-shell .reference-connection-form .reference-form-actions {
  align-self: end;
}

.production-reference-shell .v2-provider-card {
  cursor: pointer;
}

.production-reference-shell .v2-provider-card:hover {
  transform: translateY(-1px);
}

.production-reference-shell .v2-filter-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 28px;
  color: var(--v2-secondary);
  font-size: 12px;
}

.production-reference-shell .v2-filter-summary-label {
  margin-right: 4px;
  color: var(--v2-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
}

.production-reference-shell .v2-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--v2-card) 92%, var(--v2-blue) 8%);
  color: var(--v2-ink);
  font-weight: 600;
  line-height: 1;
}

.production-reference-shell .v2-filter-chip.is-date {
  border-color: color-mix(in srgb, var(--v2-blue) 28%, var(--v2-border));
  background: color-mix(in srgb, var(--v2-blue) 9%, var(--v2-card));
  color: var(--v2-blue);
  font-style: normal;
}

.production-reference-shell .reference-key-lifecycle-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  padding: 22px 24px;
}

.production-reference-shell .reference-key-lifecycle-card h3 {
  margin-top: 4px;
  color: var(--v2-text);
  font-size: 18px;
  line-height: 24px;
}

.production-reference-shell .reference-key-lifecycle-card .reference-muted {
  margin-top: 6px;
}

.production-reference-shell .reference-key-lifecycle-card .reference-form-actions {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.production-reference-shell .v2-card-header a,
.production-reference-shell .v2-card-header button,
.production-reference-shell .table-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 8px;
}

.production-reference-shell .v2-card-header a,
.production-reference-shell .v2-card-header button {
  padding: 0 8px;
  margin: -4px -8px;
}

.production-reference-shell .table-link {
  padding: 0 2px;
}

.production-reference-shell .table-card {
  max-width: 100%;
  overflow: hidden;
  contain: inline-size;
}

.production-reference-shell .table-card > table {
  min-width: min(980px, 100%);
}

.production-reference-shell .v2-table-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.production-reference-shell .v2-table-scroll:focus-visible {
  outline: 2px solid var(--v2-blue);
  outline-offset: 2px;
}

.production-reference-shell .v2-table-scroll table {
  min-width: 980px;
}

.production-reference-shell .v2-wide-table {
  min-width: 1180px !important;
}

.production-reference-shell .v2-details-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--v2-border, var(--border));
  border-radius: 7px;
  color: var(--v2-blue, var(--primary));
  background: var(--v2-card, var(--surface));
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.production-reference-shell .v2-details-button:hover,
.production-reference-shell .v2-details-button:focus-visible {
  border-color: var(--v2-blue, var(--primary));
  background: color-mix(in srgb, var(--v2-blue, var(--primary)) 7%, var(--v2-card, var(--surface)));
}

.production-reference-shell .v2-usage-details-modal {
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: hidden auto;
  border: 1px solid var(--v2-border, var(--border));
  border-radius: 12px;
  background: var(--v2-card, #fff);
  color: var(--v2-text, var(--text));
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.24);
}

.production-reference-shell .v2-usage-details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--v2-border, var(--border));
}

.production-reference-shell .v2-usage-details-header > div:first-child {
  min-width: 0;
}

.production-reference-shell .v2-usage-details-header span,
.production-reference-shell .v2-details-grid dt {
  color: var(--v2-muted, var(--muted));
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.production-reference-shell .v2-usage-details-header h2 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 700;
}

.production-reference-shell .v2-usage-details-header p {
  margin: 6px 0 0;
  color: var(--v2-secondary, var(--muted));
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.production-reference-shell .v2-usage-details-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.production-reference-shell .v2-details-close {
  display: grid;
  width: 36px;
  min-height: 36px !important;
  place-items: center;
  border: 1px solid var(--v2-border, var(--border));
  border-radius: 8px;
  color: var(--v2-secondary, var(--muted));
  background: var(--v2-card, #fff);
}

.production-reference-shell .v2-details-close svg {
  width: 17px;
  height: 17px;
}

.production-reference-shell .v2-usage-details-body {
  display: grid;
  gap: 0;
  padding: 0 24px;
}

.production-reference-shell .v2-usage-details-body > section {
  padding: 20px 0;
  border-bottom: 1px solid var(--v2-border, var(--border));
}

.production-reference-shell .v2-usage-details-body > section:last-child {
  border-bottom: 0;
}

.production-reference-shell .v2-usage-details-body h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.production-reference-shell .v2-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

.production-reference-shell .v2-details-grid > div {
  min-width: 0;
  padding: 10px 0;
}

.production-reference-shell .v2-details-grid > div.is-wide {
  grid-column: 1 / -1;
}

.production-reference-shell .v2-details-grid dd {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.production-reference-shell .v2-usage-details-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--v2-border, var(--border));
  background: color-mix(in srgb, var(--v2-surface, #f8fafc) 72%, var(--v2-card, #fff));
}

@media (max-width: 640px) {
  .production-reference-shell .v2-modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .production-reference-shell .v2-usage-details-modal {
    max-height: calc(100vh - 24px);
  }

  .production-reference-shell .v2-usage-details-header,
  .production-reference-shell .v2-usage-details-body,
  .production-reference-shell .v2-usage-details-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .production-reference-shell .v2-details-grid {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .v2-details-grid > div.is-wide {
    grid-column: auto;
  }
}

.production-reference-shell .v2-table-scroll.is-compact table,
.production-reference-shell .v2-compact-table {
  width: 100%;
  min-width: 100% !important;
  table-layout: fixed;
}

.production-reference-shell .v2-table-scroll.is-compact th,
.production-reference-shell .v2-table-scroll.is-compact td {
  overflow-wrap: anywhere;
}

.production-reference-shell .toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 56px;
  align-items: center;
  gap: 16px;
}

.production-reference-shell .toggle-row span {
  min-width: 0;
}

.production-reference-shell .toggle-row .v2-switch {
  position: relative;
  display: inline-block;
  width: 52px !important;
  min-width: 52px;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0;
  border-radius: 999px;
  background: var(--v2-blue);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04), 0 6px 16px rgba(37, 99, 235, 0.18);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.production-reference-shell .toggle-row .v2-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 26px;
  right: auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  transform: none;
  transition: left 160ms ease;
}

.production-reference-shell .toggle-row .v2-switch.off {
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.production-reference-shell .toggle-row .v2-switch.off::after {
  left: 4px;
  transform: none;
}

@media (max-width: 900px) {
  .production-reference-shell .reference-connection-form form {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .reference-safe-template-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

.reference-secret-card {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.04)),
    var(--v2-card, #ffffff);
}

.reference-secret-card h3 {
  margin-top: 4px;
  color: var(--v2-text, #0f172a);
  font-size: 18px;
  font-weight: 700;
}

.reference-secret-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reference-secret-grid label,
.reference-key-cell {
  display: grid;
  gap: 6px;
  color: var(--v2-secondary, #64748b);
  font-size: 11px;
  font-weight: 700;
}

.reference-secret-grid input {
  min-height: 42px;
  border: 1px solid var(--v2-border, #e2e8f0);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--v2-surface, #ffffff);
  color: var(--v2-text, #0f172a);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.reference-key-cell strong {
  color: var(--v2-text, #0f172a);
  font-size: 11px;
}

.reference-key-cell span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
}

.reference-readonly-playbook {
  margin-top: 14px;
}

.reference-playbook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.reference-playbook-grid article {
  display: grid;
  gap: 10px;
  min-height: 170px;
  border: 1px solid var(--v2-border, #e2e8f0);
  border-radius: 12px;
  padding: 14px;
  background: var(--v2-surface, #ffffff);
}

.reference-playbook-grid strong {
  color: var(--v2-text, #0f172a);
  font-size: 14px;
}

.reference-playbook-grid p,
.reference-playbook-grid small {
  color: var(--v2-secondary, #64748b);
  font-size: 11px;
  line-height: 1.55;
}

.marketing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
  color: #0f172a;
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

html[data-theme="dark"] .marketing-page,
.dark .marketing-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(59, 130, 246, 0.2), transparent 28%),
    linear-gradient(180deg, #050816 0%, #08111f 100%);
  color: #f8fafc;
}

.marketing-nav,
.marketing-hero,
.marketing-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.marketing-nav-actions,
.marketing-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketing-hero-actions {
  flex-wrap: wrap;
}

.marketing-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.marketing-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(37, 99, 235, 0.07);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.marketing-trust-row svg {
  width: 16px;
  height: 16px;
}

.marketing-nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.marketing-primary-link {
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff !important;
  padding: 10px 14px;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 34px;
  padding: 72px 0 54px;
}

.marketing-hero h1 {
  max-width: 720px;
  margin-top: 14px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.marketing-hero-copy > p:not(.reference-eyebrow),
.marketing-copy,
.marketing-section-head p {
  color: #64748b;
  font-size: 17px;
  line-height: 1.7;
}

html[data-theme="dark"] .marketing-hero-copy > p:not(.reference-eyebrow),
html[data-theme="dark"] .marketing-copy,
html[data-theme="dark"] .marketing-section-head p,
.dark .marketing-hero-copy > p:not(.reference-eyebrow),
.dark .marketing-copy,
.dark .marketing-section-head p {
  color: #94a3b8;
}

.marketing-hero-copy > p:not(.reference-eyebrow) {
  max-width: 640px;
  margin: 22px 0 28px;
}

.marketing-hero-product,
.marketing-feature-card,
.marketing-price-card,
.marketing-step,
.marketing-table,
.marketing-outcome-card,
.marketing-timeline,
.marketing-faq-card,
.marketing-cta {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.marketing-hero-product {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] .marketing-hero-product,
html[data-theme="dark"] .marketing-feature-card,
html[data-theme="dark"] .marketing-price-card,
html[data-theme="dark"] .marketing-step,
html[data-theme="dark"] .marketing-table,
html[data-theme="dark"] .marketing-outcome-card,
html[data-theme="dark"] .marketing-timeline,
html[data-theme="dark"] .marketing-faq-card,
html[data-theme="dark"] .marketing-cta,
.dark .marketing-hero-product,
.dark .marketing-feature-card,
.dark .marketing-price-card,
.dark .marketing-step,
.dark .marketing-table,
.dark .marketing-outcome-card,
.dark .marketing-timeline,
.dark .marketing-faq-card,
.dark .marketing-cta {
  background: rgba(8, 17, 31, 0.9);
  border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] .marketing-trust-row span,
.dark .marketing-trust-row span {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(37, 99, 235, 0.14);
  color: #93c5fd;
}

.marketing-node {
  display: grid;
  min-height: 82px;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.06));
  font-size: 18px;
  font-weight: 800;
}

.marketing-flow-line {
  width: 2px;
  height: 30px;
  justify-self: center;
  background: linear-gradient(180deg, #2563eb, rgba(37, 99, 235, 0.12));
}

.marketing-grid-mini,
.marketing-feature-grid,
.marketing-pricing-grid,
.marketing-step-grid,
.marketing-outcome-grid,
.marketing-faq-grid {
  display: grid;
  gap: 12px;
}

.marketing-grid-mini {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.marketing-grid-mini span {
  display: grid;
  min-height: 72px;
  place-items: center;
  gap: 8px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

.marketing-grid-mini svg,
.marketing-card-icon svg,
.marketing-price-card svg {
  width: 22px;
  height: 22px;
}

.marketing-section {
  padding: 34px 0;
}

.marketing-section.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.marketing-section.two-col.reverse {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.marketing-section h2 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.marketing-feature-grid,
.marketing-pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.marketing-outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.marketing-outcome-card {
  min-height: 170px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  padding: 22px;
}

.marketing-outcome-card strong {
  display: block;
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketing-outcome-card p,
.marketing-faq-card p,
.marketing-timeline-row p,
.marketing-cta p {
  color: #64748b;
  line-height: 1.65;
}

html[data-theme="dark"] .marketing-outcome-card p,
html[data-theme="dark"] .marketing-faq-card p,
html[data-theme="dark"] .marketing-timeline-row p,
html[data-theme="dark"] .marketing-cta p,
.dark .marketing-outcome-card p,
.dark .marketing-faq-card p,
.dark .marketing-timeline-row p,
.dark .marketing-cta p {
  color: #94a3b8;
}

.marketing-feature-card,
.marketing-price-card {
  min-height: 230px;
  padding: 22px;
}

.marketing-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.marketing-feature-card h3,
.marketing-price-card h3 {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 800;
}

.marketing-feature-card p,
.marketing-price-card p {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

html[data-theme="dark"] .marketing-feature-card p,
html[data-theme="dark"] .marketing-price-card p,
.dark .marketing-feature-card p,
.dark .marketing-price-card p {
  color: #94a3b8;
}

.marketing-step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.marketing-step {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 18px;
}

.marketing-step span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.marketing-step strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
}

.marketing-timeline {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 20px;
  padding: 10px;
}

.marketing-timeline-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  border-radius: 16px;
  padding: 18px;
}

.marketing-timeline-row + .marketing-timeline-row {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.marketing-timeline-row span {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketing-price-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
}

.marketing-price-card div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
}

.marketing-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.marketing-faq-card {
  min-height: 160px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  padding: 22px;
}

.marketing-faq-card h3 {
  font-size: 19px;
  font-weight: 850;
}

.marketing-faq-card p {
  margin-top: 12px;
  font-size: 14px;
}

.marketing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px auto 22px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
}

.marketing-cta h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.marketing-cta p:not(.reference-eyebrow) {
  max-width: 680px;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .reference-secret-grid,
  .reference-playbook-grid,
  .marketing-hero,
  .marketing-section.two-col,
  .marketing-feature-grid,
  .marketing-pricing-grid,
  .marketing-step-grid,
  .marketing-outcome-grid,
  .marketing-faq-grid {
    grid-template-columns: 1fr;
  }

  .marketing-hero {
    padding-top: 38px;
  }

  .marketing-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .marketing-timeline-row {
    grid-template-columns: 1fr;
  }
}

/* Onboarding production layout fixes */
.onboarding-ref-card {
  width: min(100%, 1080px);
  max-height: calc(100vh - 64px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 92px;
}

.onboarding-ref-card-with-rail {
  width: min(100%, 1080px);
}

.onboarding-ref-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.onboarding-ref-progress-path {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-top: 20px;
}

.onboarding-ref-progress-path button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  padding: 6px 8px;
  text-align: center;
  cursor: pointer;
}

.onboarding-ref-progress-path button:disabled {
  cursor: default;
  opacity: 0.55;
}

.onboarding-ref-progress-path button.is-active {
  border-color: #315cff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #1f4fff;
  box-shadow: 0 10px 28px rgba(49, 92, 255, 0.14);
}

.onboarding-ref-progress-path button.is-complete {
  border-color: #b7f0d0;
  background: #f0fdf7;
  color: #0f9f62;
}

.onboarding-ref-progress-path span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #eef3fb;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.onboarding-ref-progress-path button.is-active span {
  background: #315cff;
  color: #ffffff;
}

.onboarding-ref-progress-path button.is-complete span {
  background: #14c779;
  color: #ffffff;
}

.onboarding-ref-progress-path strong {
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-ref-config {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 36px;
  min-height: 540px;
  padding-top: 28px;
}

.onboarding-ref-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid #e5edf7;
  padding-right: 24px;
}

.onboarding-ref-rail-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: #64748b;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 800;
}

.onboarding-ref-rail-item span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #dbe5f3;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.onboarding-ref-rail-item.is-active {
  color: #315cff;
  background: #f3f7ff;
}

.onboarding-ref-rail-item.is-active span {
  border-color: #315cff;
  background: #315cff;
  color: #ffffff;
}

.onboarding-ref-rail-item.is-done {
  color: #0f9f62;
}

.onboarding-ref-rail-item.is-done span {
  border-color: #b7f0d0;
  background: #ecfdf3;
  color: #0f9f62;
}

.onboarding-ref-heading.is-left {
  margin: 0 0 18px;
  max-width: 720px;
}

.onboarding-ref-heading.is-left h1 {
  color: #0f172a;
  font-size: 32px;
  line-height: 1.08;
}

.onboarding-ref-heading.is-left p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
}

.onboarding-ref-progress-path button.is-active strong {
  color: #1f4fff;
}

.onboarding-ref-mode-list button,
.onboarding-ref-provider-grid button {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.onboarding-ref-mode-list button {
  position: relative;
}

.onboarding-ref-mode-list button.is-selected,
.onboarding-ref-provider-grid button.is-selected {
  border-color: #315cff;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  box-shadow: 0 14px 36px rgba(49, 92, 255, 0.16);
  transform: translateY(-1px);
}

.onboarding-ref-mode-list button.is-selected b,
.onboarding-ref-provider-grid button.is-selected .onboarding-ref-check {
  color: #315cff;
}

.onboarding-ref-mode-list button.is-selected > span {
  border-color: rgba(49, 92, 255, 0.48);
  background: #eaf1ff;
  color: #315cff;
}

.onboarding-ref-selected-badge,
.onboarding-ref-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.onboarding-ref-selected-badge {
  background: #315cff;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(49, 92, 255, 0.26);
}

.onboarding-ref-arrow {
  color: #64748b;
}

.onboarding-ref-mode-note {
  width: min(100%, 620px);
  margin: 14px auto 0;
  text-align: left;
}

.onboarding-ref-provider-grid button.is-selected .onboarding-ref-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eaf1ff;
  font-weight: 900;
}

.onboarding-ref-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 680px);
  margin: 18px auto 0;
}

.onboarding-ref-config .onboarding-ref-guide-grid {
  grid-template-columns: 1fr;
  width: 100%;
  max-height: 176px;
  margin: 16px 0 0;
  padding-right: 4px;
  overflow-y: auto;
}

.onboarding-ref-guide-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 74px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  text-align: left;
}

.onboarding-ref-guide-card:hover {
  border-color: #9bb7ff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.onboarding-ref-guide-card strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-ref-guide-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.onboarding-ref-guide-card > span:last-child {
  color: #315cff;
  font-size: 12px;
  font-weight: 850;
}

.onboarding-ref-tabs {
  display: flex;
  gap: 6px;
  margin-top: 22px;
  border-bottom: 1px solid #dbe5f3;
}

.onboarding-ref-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  padding: 0 14px;
  font-weight: 850;
  cursor: pointer;
}

.onboarding-ref-tabs button.is-active {
  border-bottom-color: #315cff;
  background: rgba(49, 92, 255, 0.08);
  color: #315cff;
}

.onboarding-ref-install-panel {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 16px;
}

.onboarding-ref-install-panel > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #315cff;
  font-size: 12px;
  font-weight: 850;
}

.onboarding-ref-install-panel strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 850;
}

.onboarding-ref-install-panel p {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.onboarding-ref-active-provider,
.onboarding-ref-provider-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 12px;
}

.onboarding-ref-active-provider {
  justify-content: flex-start;
}

.onboarding-ref-active-provider > div,
.onboarding-ref-provider-switch > div:first-child {
  display: grid;
  gap: 2px;
}

.onboarding-ref-active-provider span,
.onboarding-ref-provider-switch > div:first-child span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.onboarding-ref-active-provider strong,
.onboarding-ref-provider-switch > div:first-child strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
}

.onboarding-ref-provider-switch > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.onboarding-ref-provider-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  padding: 5px 12px 5px 6px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.onboarding-ref-provider-switch button.is-active {
  border-color: #315cff;
  background: #eef4ff;
  color: #315cff;
  box-shadow: 0 10px 22px rgba(49, 92, 255, 0.12);
}

.onboarding-ref-provider-switch button.is-active .onboarding-ref-provider-icon {
  border-color: rgba(49, 92, 255, 0.22);
  background: #ffffff;
}

.onboarding-ref-collector-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr);
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.onboarding-ref-collector-form {
  margin-top: 0;
}

.onboarding-ref-download-row {
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #f8fbff;
  padding: 12px;
}

.onboarding-ref-checklist-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.onboarding-ref-checklist-card > span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.onboarding-ref-checklist-card div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.onboarding-ref-checklist-card b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #10b981;
  font-size: 12px;
}

.onboarding-ref-checklist-card p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.onboarding-ref-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.onboarding-ref-form label {
  display: grid;
  gap: 8px;
}

.onboarding-ref-form label span {
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}

.onboarding-ref-form input,
.onboarding-ref-form select,
.onboarding-ref-copy-field span,
.onboarding-ref-static-field,
.onboarding-ref-download {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 14px;
  font-weight: 800;
}

.onboarding-ref-copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
}

.onboarding-ref-copy-field button {
  min-height: 48px;
  border: 1px solid #c7f0dc;
  border-radius: 10px;
  color: #0f9f62;
  background: #ecfdf3;
  font-weight: 900;
}

.onboarding-ref-download {
  cursor: pointer;
}

.onboarding-ref-download:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.onboarding-ref-actions {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  margin-right: -2px;
  margin-left: -2px;
  padding: 26px 2px 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 42%);
}

.onboarding-ref-permission-grid,
.onboarding-ref-proof-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
  margin-top: 18px;
}

.onboarding-ref-permission-card,
.onboarding-ref-collector-ready,
.onboarding-ref-proof-summary section,
.onboarding-ref-validation-grid,
.onboarding-ref-next-steps.is-compact {
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
}

.onboarding-ref-permission-fields {
  display: grid;
  gap: 12px;
}

.onboarding-ref-permission-fields label {
  display: grid;
  gap: 8px;
}

.onboarding-ref-permission-fields label > span,
.onboarding-ref-collector-ready > div > span,
.onboarding-ref-proof-summary section > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-ref-fact-list {
  display: grid;
  gap: 10px;
}

.onboarding-ref-fact-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: #f8fbff;
  padding: 11px 12px;
}

.onboarding-ref-fact-list span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.onboarding-ref-fact-list strong {
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.onboarding-ref-collector-ready {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  background: #f8fbff;
}

.onboarding-ref-collector-ready strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 4px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.onboarding-ref-collector-ready p,
.onboarding-ref-proof-summary p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.onboarding-ref-proof-summary strong {
  display: block;
  margin: 5px 0 7px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.onboarding-ref-validation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.onboarding-ref-validation-grid > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #f8fbff;
  padding: 12px;
}

.onboarding-ref-validation-grid > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #0f9f62;
  background: #ecfdf3;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-ref-validation-grid strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.onboarding-ref-validation-grid em {
  display: block;
  margin-top: 3px;
  color: #0f9f62;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.onboarding-ref-next-steps.is-compact {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.onboarding-ref-card-complete {
  width: min(100%, 1040px);
}

.onboarding-ref-finish {
  display: grid;
  gap: 18px;
  padding: 30px 0 0;
  text-align: left;
}

.onboarding-ref-complete-hero {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border: 1px solid #dbe5f3;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 20%, rgba(20, 199, 121, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  padding: 22px;
}

.onboarding-ref-complete-hero span,
.onboarding-ref-section-title span {
  color: #315cff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.onboarding-ref-complete-hero h1 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.1;
}

.onboarding-ref-complete-hero p {
  max-width: 720px;
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.onboarding-ref-complete-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
}

.onboarding-ref-complete-panel,
.onboarding-ref-invite-card,
.onboarding-ref-next-steps,
.onboarding-ref-proof-footnote {
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px;
}

.onboarding-ref-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.onboarding-ref-section-title strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.onboarding-ref-provider-summary,
.onboarding-ref-proof-stack {
  display: grid;
  gap: 10px;
}

.onboarding-ref-provider-summary > div,
.onboarding-ref-proof-stack > div,
.onboarding-ref-proof-footnote > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px;
}

.onboarding-ref-proof-stack > div {
  grid-template-columns: 24px minmax(0, 1fr) auto;
}

.onboarding-ref-proof-stack > div > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #0f9f62;
  background: #ecfdf3;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-ref-provider-summary strong,
.onboarding-ref-proof-stack strong,
.onboarding-ref-next-steps strong,
.onboarding-ref-proof-footnote strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.onboarding-ref-provider-summary span,
.onboarding-ref-next-steps span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.onboarding-ref-provider-summary em,
.onboarding-ref-proof-stack em,
.onboarding-ref-proof-footnote span {
  border-radius: 999px;
  color: #0f9f62;
  background: #ecfdf3;
  padding: 5px 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.onboarding-ref-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.onboarding-ref-next-steps > div {
  border-radius: 12px;
  background: #f8fbff;
  padding: 13px;
}

.onboarding-ref-invite-card .onboarding-ref-form {
  margin-top: 0;
}

.onboarding-ref-invite-form {
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr);
  align-items: end;
}

.onboarding-ref-invite-form .onboarding-ref-role-hint {
  grid-column: 1 / -1;
}

.onboarding-ref-proof-footnote {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.onboarding-ref-proof-footnote > div {
  grid-template-columns: auto 120px minmax(0, 1fr);
}

.onboarding-ref-proof-footnote em {
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-ref-finish > .onboarding-ref-primary {
  justify-self: center;
  min-width: 220px;
  margin-top: 6px;
}

html[data-theme="dark"] .onboarding-ref-card,
html[data-theme="dark"] .onboarding-ref-progress-path button,
html[data-theme="dark"] .onboarding-ref-guide-card,
html[data-theme="dark"] .onboarding-ref-install-panel,
html[data-theme="dark"] .onboarding-ref-active-provider,
html[data-theme="dark"] .onboarding-ref-provider-switch,
html[data-theme="dark"] .onboarding-ref-provider-switch button,
html[data-theme="dark"] .onboarding-ref-download-row,
html[data-theme="dark"] .onboarding-ref-checklist-card,
html[data-theme="dark"] .onboarding-ref-rail-item.is-active,
html[data-theme="dark"] .onboarding-ref-permission-card,
html[data-theme="dark"] .onboarding-ref-collector-ready,
html[data-theme="dark"] .onboarding-ref-proof-summary section,
html[data-theme="dark"] .onboarding-ref-validation-grid,
html[data-theme="dark"] .onboarding-ref-validation-grid > div,
html[data-theme="dark"] .onboarding-ref-next-steps.is-compact,
html[data-theme="dark"] .onboarding-ref-fact-list > div,
html[data-theme="dark"] .onboarding-ref-complete-hero,
html[data-theme="dark"] .onboarding-ref-complete-panel,
html[data-theme="dark"] .onboarding-ref-invite-card,
html[data-theme="dark"] .onboarding-ref-next-steps,
html[data-theme="dark"] .onboarding-ref-next-steps > div,
html[data-theme="dark"] .onboarding-ref-proof-footnote,
html[data-theme="dark"] .onboarding-ref-provider-summary > div,
html[data-theme="dark"] .onboarding-ref-proof-stack > div,
html[data-theme="dark"] .onboarding-ref-proof-footnote > div,
html[data-theme="dark"] .onboarding-ref-form input,
html[data-theme="dark"] .onboarding-ref-form select,
html[data-theme="dark"] .onboarding-ref-download {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.84);
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-complete-hero h1,
html[data-theme="dark"] .onboarding-ref-section-title strong,
html[data-theme="dark"] .onboarding-ref-heading.is-left h1,
html[data-theme="dark"] .onboarding-ref-fact-list strong,
html[data-theme="dark"] .onboarding-ref-collector-ready strong,
html[data-theme="dark"] .onboarding-ref-proof-summary strong,
html[data-theme="dark"] .onboarding-ref-validation-grid strong,
html[data-theme="dark"] .onboarding-ref-provider-summary strong,
html[data-theme="dark"] .onboarding-ref-proof-stack strong,
html[data-theme="dark"] .onboarding-ref-next-steps strong,
html[data-theme="dark"] .onboarding-ref-proof-footnote strong {
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-complete-hero p,
html[data-theme="dark"] .onboarding-ref-heading.is-left p,
html[data-theme="dark"] .onboarding-ref-fact-list span,
html[data-theme="dark"] .onboarding-ref-collector-ready p,
html[data-theme="dark"] .onboarding-ref-proof-summary p,
html[data-theme="dark"] .onboarding-ref-provider-summary span,
html[data-theme="dark"] .onboarding-ref-next-steps span,
html[data-theme="dark"] .onboarding-ref-proof-footnote em {
  color: #9fabbd;
}

html[data-theme="dark"] .onboarding-ref-progress-path button.is-active,
html[data-theme="dark"] .onboarding-ref-mode-list button.is-selected,
html[data-theme="dark"] .onboarding-ref-provider-grid button.is-selected,
html[data-theme="dark"] .onboarding-ref-provider-switch button.is-active,
html[data-theme="dark"] .onboarding-ref-install-panel {
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(37, 99, 235, 0.18);
}

html[data-theme="dark"] .onboarding-ref-actions {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, #020617 38%);
}

@media (max-width: 900px) {
  .onboarding-ref-card {
    width: min(100%, 820px);
  }

  .onboarding-ref-progress-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .onboarding-ref-guide-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-collector-layout {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-provider-switch {
    align-items: flex-start;
    flex-direction: column;
  }

  .onboarding-ref-provider-switch > div:last-child {
    justify-content: flex-start;
  }

  .onboarding-ref-config {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #e5edf7;
    padding: 0 0 16px;
  }

  .onboarding-ref-rail-item {
    justify-items: center;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .onboarding-ref-permission-grid,
  .onboarding-ref-proof-summary,
  .onboarding-ref-collector-ready,
  .onboarding-ref-validation-grid,
  .onboarding-ref-complete-grid,
  .onboarding-ref-next-steps,
  .onboarding-ref-invite-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .onboarding-ref-card {
    max-height: none;
    border-radius: 18px;
  }

  .onboarding-ref-card-header {
    align-items: stretch;
    flex-direction: column;
  }

  .onboarding-ref-progress-path {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-rail {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-complete-hero,
  .onboarding-ref-provider-summary > div,
  .onboarding-ref-proof-stack > div,
  .onboarding-ref-proof-footnote > div {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .onboarding-ref-section-title {
    flex-direction: column;
  }

  .onboarding-ref-section-title strong {
    text-align: left;
  }
}

/* Client onboarding redesign */
.onboarding-ref-shell {
  place-items: start center;
  padding: 34px 24px;
}

.onboarding-ref-card,
.onboarding-ref-card-with-rail,
.onboarding-ref-card-complete {
  width: min(1160px, calc(100vw - 48px));
  min-height: auto;
  max-height: calc(100vh - 68px);
  border-radius: 14px;
  padding: 28px 32px 104px;
}

.onboarding-ref-card-header {
  align-items: center;
}

.onboarding-ref-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.onboarding-ref-header-actions > span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.onboarding-ref-progress-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 22px;
  padding-top: 10px;
}

.onboarding-ref-progress-track {
  position: absolute;
  top: 0;
  right: 10px;
  left: 10px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf7;
}

.onboarding-ref-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14c779, #315cff);
}

.onboarding-ref-progress-path button {
  min-width: 0;
  min-height: 54px;
  border-radius: 12px;
  padding: 9px 10px;
}

.onboarding-ref-progress-path strong {
  font-size: 12px;
}

.onboarding-ref-welcome {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 48px;
  min-height: 430px;
  padding: 28px 8px 0;
}

.onboarding-ref-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: #315cff;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-ref-welcome-copy h1 {
  max-width: 520px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.03;
}

.onboarding-ref-welcome-copy > p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
}

.onboarding-ref-preview {
  align-self: center;
  display: grid;
  gap: 18px;
  border: 1px solid #e5edf7;
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 12%, rgba(49, 92, 255, 0.12), transparent 32%),
    #f8fbff;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.onboarding-ref-preview-card {
  display: grid;
  gap: 8px;
  border: 1px solid #e5edf7;
  border-radius: 14px;
  background: #ffffff;
  padding: 18px;
}

.onboarding-ref-preview-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.onboarding-ref-preview-card strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.onboarding-ref-preview-card em {
  color: #16a34a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.onboarding-ref-preview-card svg {
  width: 100%;
  height: 48px;
  color: #315cff;
}

.onboarding-ref-preview-card.is-chart {
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
}

.onboarding-ref-donut {
  width: 118px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: conic-gradient(#315cff 0 90%, #f59e0b 90% 98.8%, #22c55e 98.8% 99.4%, #60a5fa 99.4% 100%);
  box-shadow: inset 0 0 0 28px #ffffff;
}

.onboarding-ref-preview-card.is-chart p {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.onboarding-ref-preview-card.is-chart p span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #315cff;
}

.onboarding-ref-preview-card.is-chart p:nth-child(2) span {
  background: #f59e0b;
}

.onboarding-ref-preview-card.is-chart p:nth-child(3) span {
  background: #22c55e;
}

.onboarding-ref-preview-card.is-chart p:nth-child(4) span {
  background: #60a5fa;
}

.onboarding-ref-preview-card.is-chart p strong {
  font-size: 12px;
}

.onboarding-ref-heading h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.onboarding-ref-heading p {
  font-size: 15px;
}

.onboarding-ref-mode-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}

.onboarding-ref-mode-list button {
  grid-template-columns: 46px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  min-height: 190px;
  padding: 18px;
}

.onboarding-ref-mode-list button > b {
  position: absolute;
  top: 16px;
  right: 16px;
}

.onboarding-ref-mode-list strong {
  display: block;
  padding-right: 30px;
}

.onboarding-ref-provider-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}

.onboarding-ref-provider-grid button {
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: start;
  min-height: 132px;
  border-radius: 14px;
  padding: 18px;
}

.onboarding-ref-provider-grid button p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.onboarding-ref-provider-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.onboarding-ref-trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  margin: 20px auto 0;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #f8fbff;
  padding: 16px;
}

.onboarding-ref-trust-panel > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.onboarding-ref-trust-panel > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #10b981;
  font-weight: 900;
}

.onboarding-ref-trust-panel strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.onboarding-ref-trust-panel p,
.onboarding-ref-trust-panel li {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.onboarding-ref-trust-panel ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-ref-trust-panel li::before {
  content: "✓";
  margin-right: 8px;
  color: #10b981;
  font-weight: 900;
}

.onboarding-ref-config {
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 520px;
  padding-top: 12px;
}

.onboarding-ref-config > div:last-of-type {
  min-width: 0;
}

.onboarding-ref-tabs {
  gap: 8px;
  border-bottom: 0;
}

.onboarding-ref-tabs button {
  min-height: 44px;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  background: #ffffff;
}

.onboarding-ref-tabs button.is-active {
  border-color: #315cff;
  background: #eef4ff;
  box-shadow: inset 0 -2px 0 #315cff;
}

.onboarding-ref-install-panel em {
  margin-left: 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #0f9f62;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.onboarding-ref-install-panel {
  grid-template-columns: minmax(0, 1fr);
}

.onboarding-ref-collector-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.onboarding-ref-config .onboarding-ref-guide-grid {
  max-height: none;
}

.onboarding-ref-collector-workflow {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.onboarding-ref-collector-workflow section {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
}

.onboarding-ref-collector-workflow section > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef4ff;
  color: #315cff;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-ref-collector-workflow strong,
.onboarding-ref-collector-meta strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.onboarding-ref-collector-workflow p {
  margin: 4px 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.onboarding-ref-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  background: #ffffff;
  color: #315cff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px;
  text-decoration: none;
}

.onboarding-ref-link:hover,
.onboarding-ref-link-button:hover {
  border-color: #9bb7ff;
  background: #f8fbff;
}

.onboarding-ref-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid #dbe5f3;
  border-radius: 10px;
  background: #ffffff;
  color: #315cff;
  cursor: pointer;
  font: inherit;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.onboarding-ref-collector-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.onboarding-ref-collector-meta > div {
  min-width: 0;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #f8fbff;
  padding: 12px;
}

.onboarding-ref-collector-meta span {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.onboarding-ref-collector-meta strong {
  overflow-wrap: anywhere;
  margin-top: 4px;
  font-size: 12px;
}

.onboarding-ref-disclosure {
  margin-top: 16px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px 16px;
}

.onboarding-ref-disclosure summary {
  color: #0f172a;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.onboarding-ref-disclosure p {
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.onboarding-ref-section-title.is-secondary {
  margin-top: 18px;
}

.onboarding-ref-verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 18px;
  margin-top: 18px;
}

.onboarding-ref-verify-result {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #f8fbff;
  padding: 22px;
  text-align: center;
}

.onboarding-ref-verify-result strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.onboarding-ref-verify-result p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.onboarding-ref-validation-grid > div.is-waiting > span,
.onboarding-ref-validation-grid > div.is-running > span {
  color: #64748b;
  background: #eef2f7;
}

.onboarding-ref-validation-grid > div.is-running > span {
  color: #315cff;
  background: #eef4ff;
}

.onboarding-ref-actions {
  position: sticky;
  bottom: -104px;
  margin: 26px -32px -104px;
  padding: 28px 32px 28px;
  border-top: 1px solid rgba(226, 232, 240, 0.76);
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 35%, #ffffff 100%);
}

.onboarding-ref-primary,
.onboarding-ref-secondary {
  border-radius: 10px;
  min-width: 116px;
}

.onboarding-ref-form small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.onboarding-ref-step-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.onboarding-ref-step-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c7d7fe;
}

.onboarding-ref-step-dots span.is-active {
  width: 9px;
  height: 9px;
  background: #315cff;
}

.onboarding-ref-step-dots span.is-complete {
  background: #60a5fa;
}

.onboarding-ref-complete-hero {
  grid-template-columns: 72px minmax(0, 1fr);
}

.onboarding-ref-success {
  width: 64px;
  height: 64px;
}

html[data-theme="dark"] .onboarding-ref-progress-track {
  background: rgba(148, 163, 184, 0.2);
}

html[data-theme="dark"] .onboarding-ref-preview,
html[data-theme="dark"] .onboarding-ref-preview-card,
html[data-theme="dark"] .onboarding-ref-tabs button,
html[data-theme="dark"] .onboarding-ref-trust-panel,
html[data-theme="dark"] .onboarding-ref-collector-workflow section,
html[data-theme="dark"] .onboarding-ref-collector-meta > div,
html[data-theme="dark"] .onboarding-ref-link,
html[data-theme="dark"] .onboarding-ref-link-button,
html[data-theme="dark"] .onboarding-ref-disclosure,
html[data-theme="dark"] .onboarding-ref-verify-result {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.84);
}

html[data-theme="dark"] .onboarding-ref-preview-card strong,
html[data-theme="dark"] .onboarding-ref-preview-card.is-chart p,
html[data-theme="dark"] .onboarding-ref-preview-card.is-chart p strong {
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-trust-panel strong,
html[data-theme="dark"] .onboarding-ref-collector-workflow strong,
html[data-theme="dark"] .onboarding-ref-collector-meta strong,
html[data-theme="dark"] .onboarding-ref-disclosure summary,
html[data-theme="dark"] .onboarding-ref-verify-result strong {
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-trust-panel p,
html[data-theme="dark"] .onboarding-ref-trust-panel li,
html[data-theme="dark"] .onboarding-ref-collector-workflow p,
html[data-theme="dark"] .onboarding-ref-disclosure p,
html[data-theme="dark"] .onboarding-ref-verify-result p,
html[data-theme="dark"] .onboarding-ref-form small {
  color: #9fabbd;
}

html[data-theme="dark"] .onboarding-ref-actions {
  border-top-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15,23,42,0), #020617 35%, #020617 100%);
}

@media (max-width: 1100px) {
  .onboarding-ref-mode-list,
  .onboarding-ref-provider-grid,
  .onboarding-ref-trust-panel,
  .onboarding-ref-verify-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-ref-welcome {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .onboarding-ref-card,
  .onboarding-ref-card-with-rail,
  .onboarding-ref-card-complete {
    width: min(100%, calc(100vw - 28px));
    max-height: none;
    padding: 22px 22px 100px;
  }

  .onboarding-ref-progress-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-ref-progress-track {
    display: none;
  }

  .onboarding-ref-config {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-actions {
    bottom: -100px;
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 620px) {
  .onboarding-ref-shell {
    padding: 12px;
  }

  .onboarding-ref-mode-list,
  .onboarding-ref-provider-grid,
  .onboarding-ref-preview-card.is-chart,
  .onboarding-ref-trust-panel,
  .onboarding-ref-collector-meta,
  .onboarding-ref-verify-layout {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-progress-path {
    grid-template-columns: 1fr;
  }
}

/* Team invite onboarding reference */
.onboarding-ref-card-complete {
  width: min(1480px, calc(100vw - 64px));
  max-height: none;
  padding: 28px 44px 34px;
}

.onboarding-ref-card-complete .onboarding-ref-card-header {
  margin-bottom: 18px;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path {
  align-items: start;
  max-width: 1040px;
  margin: 4px auto 44px;
  gap: 0;
  padding-top: 0;
}

.onboarding-ref-card-complete .onboarding-ref-progress-track {
  top: 17px;
  right: 72px;
  left: 72px;
  height: 2px;
  background: #dbe7ff;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 70px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: #06133b;
  box-shadow: none;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button:disabled {
  opacity: 1;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button > span {
  width: 34px;
  height: 34px;
  border: 1px solid #bcd0ff;
  background: #e9f1ff;
  color: #2563eb;
  box-shadow: 0 8px 20px rgba(49, 92, 255, 0.12);
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-active > span {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-complete > span {
  border-color: #9ec0ff;
  background: #e7f0ff;
  color: #2563eb;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path strong {
  color: #06133b;
  font-size: 13px;
  font-weight: 800;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-active strong {
  font-weight: 950;
}

.onboarding-ref-team {
  display: grid;
  gap: 24px;
}

.onboarding-ref-team-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.onboarding-ref-team-heading h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #06133b;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.06;
}

.onboarding-ref-team-heading h1 span {
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 900;
}

.onboarding-ref-team-heading p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #40537a;
  font-size: 17px;
  line-height: 1.55;
}

.onboarding-ref-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.92fr);
  gap: 24px;
}

.onboarding-ref-team-side {
  display: grid;
  gap: 20px;
}

.onboarding-ref-team-card {
  border: 1px solid #dce7f5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
  padding: 28px 32px;
}

.onboarding-ref-team-card h2 {
  margin: 0;
  color: #06133b;
  font-size: 22px;
  line-height: 1.15;
}

.onboarding-ref-team-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.onboarding-ref-team-form label {
  display: grid;
  gap: 9px;
}

.onboarding-ref-team-form label > span {
  color: #06133b;
  font-size: 15px;
  font-weight: 800;
}

.onboarding-ref-team-form label > span::after {
  color: #ef4444;
}

.onboarding-ref-team-form input,
.onboarding-ref-team-form select,
.onboarding-ref-team-form textarea {
  width: 100%;
  border: 1px solid #ccdaf0;
  border-radius: 8px;
  background: #ffffff;
  color: #06133b;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.onboarding-ref-team-form input,
.onboarding-ref-team-form select {
  min-height: 48px;
  padding: 0 16px;
}

.onboarding-ref-team-form textarea {
  min-height: 112px;
  resize: vertical;
  padding: 14px 16px;
}

.onboarding-ref-team-form input:focus,
.onboarding-ref-team-form select:focus,
.onboarding-ref-team-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.onboarding-ref-team-form .is-wide {
  grid-column: 1 / -1;
  position: relative;
}

.onboarding-ref-team-form .is-wide small {
  justify-self: end;
  margin-top: -28px;
  padding-right: 10px;
  color: #637293;
  font-size: 13px;
}

.onboarding-ref-role-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  background: #f1f6ff;
  padding: 16px;
}

.onboarding-ref-role-card > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e4edff;
  color: #2563eb;
  font-size: 20px;
  font-weight: 900;
}

.onboarding-ref-role-card strong {
  display: block;
  color: #06133b;
  font-size: 16px;
  font-weight: 900;
}

.onboarding-ref-role-card p {
  margin: 5px 0 0;
  color: #40537a;
  font-size: 14px;
  line-height: 1.45;
}

.onboarding-ref-invite-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.onboarding-ref-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #06133b;
}

.onboarding-ref-checkbox input {
  width: 22px;
  height: 22px;
  accent-color: #2563eb;
}

.onboarding-ref-checkbox strong,
.onboarding-ref-checkbox em {
  display: block;
}

.onboarding-ref-checkbox strong {
  font-size: 15px;
  font-weight: 800;
}

.onboarding-ref-checkbox em {
  margin-top: 3px;
  color: #61708f;
  font-size: 13px;
  font-style: normal;
}

.onboarding-ref-collab-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(49, 92, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.onboarding-ref-collab-card p {
  margin: 10px 0 24px;
  color: #40537a;
  font-size: 15px;
  line-height: 1.45;
}

.onboarding-ref-collab-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-ref-collab-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #40537a;
  font-size: 15px;
}

.onboarding-ref-collab-card li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #39b982;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.onboarding-ref-people-visual {
  position: relative;
  min-height: 240px;
}

.onboarding-ref-people-visual::before {
  content: "";
  position: absolute;
  inset: 34px 26px;
  border: 2px dashed #b9cffc;
  border-radius: 999px;
}

.onboarding-ref-mini-dashboard {
  position: absolute;
  top: 70px;
  left: 58px;
  display: grid;
  gap: 12px;
  width: 118px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.13);
  padding: 22px 18px;
}

.onboarding-ref-mini-dashboard::after {
  content: "";
  width: 62px;
  height: 24px;
  border-bottom: 3px solid #2563eb;
  border-right: 3px solid #2563eb;
  transform: skew(-26deg);
  justify-self: center;
}

.onboarding-ref-mini-dashboard span {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #e8efff;
}

.onboarding-ref-people-visual b {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 5px solid #dce9ff;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f2ff, #d6e3ff);
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.onboarding-ref-people-visual .person-1 {
  top: 18px;
  left: 26px;
}

.onboarding-ref-people-visual .person-2 {
  top: 40px;
  right: 4px;
}

.onboarding-ref-people-visual .person-3 {
  bottom: 26px;
  left: 22px;
}

.onboarding-ref-people-visual .person-4 {
  right: 8px;
  bottom: 28px;
}

.onboarding-ref-pending-card {
  padding: 22px 28px;
}

.onboarding-ref-pending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #dce7f5;
  padding-bottom: 14px;
}

.onboarding-ref-pending-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.onboarding-ref-pending-header h2 span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 13px;
}

.onboarding-ref-pending-header button,
.onboarding-ref-pending-list button,
.onboarding-ref-skip {
  border: 0;
  background: transparent;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.onboarding-ref-pending-list {
  display: grid;
}

.onboarding-ref-pending-list > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 34px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e7edf6;
  padding: 14px 0;
}

.onboarding-ref-pending-list > div:last-child {
  border-bottom: 0;
}

.onboarding-ref-pending-list > div > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e8e9ff;
  color: #315cff;
  font-weight: 950;
}

.onboarding-ref-pending-list strong,
.onboarding-ref-pending-list em {
  display: block;
}

.onboarding-ref-pending-list strong {
  color: #06133b;
  font-size: 14px;
  font-weight: 850;
}

.onboarding-ref-pending-list em {
  margin-top: 3px;
  color: #61708f;
  font-size: 13px;
  font-style: normal;
}

.onboarding-ref-pending-list > div > div:nth-of-type(2) {
  text-align: left;
}

.onboarding-ref-pending-list > div > div:nth-of-type(2) strong {
  color: #d97706;
}

.onboarding-ref-pending-empty {
  color: #61708f;
  padding: 26px 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.onboarding-ref-team-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.onboarding-ref-team-actions > div {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.onboarding-ref-team-actions .onboarding-ref-primary {
  min-width: 178px;
  min-height: 54px;
  font-size: 16px;
}

html[data-theme="dark"] .onboarding-ref-team-heading h1,
html[data-theme="dark"] .onboarding-ref-team-card h2,
html[data-theme="dark"] .onboarding-ref-team-form label > span,
html[data-theme="dark"] .onboarding-ref-role-card strong,
html[data-theme="dark"] .onboarding-ref-pending-list strong,
html[data-theme="dark"] .onboarding-ref-card-complete .onboarding-ref-progress-path strong {
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-team-card,
html[data-theme="dark"] .onboarding-ref-role-card,
html[data-theme="dark"] .onboarding-ref-team-form input,
html[data-theme="dark"] .onboarding-ref-team-form select,
html[data-theme="dark"] .onboarding-ref-team-form textarea,
html[data-theme="dark"] .onboarding-ref-mini-dashboard,
html[data-theme="dark"] .onboarding-ref-card-complete .onboarding-ref-progress-path button {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.84);
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-team-heading p,
html[data-theme="dark"] .onboarding-ref-role-card p,
html[data-theme="dark"] .onboarding-ref-collab-card p,
html[data-theme="dark"] .onboarding-ref-collab-card li,
html[data-theme="dark"] .onboarding-ref-checkbox em,
html[data-theme="dark"] .onboarding-ref-pending-list em,
html[data-theme="dark"] .onboarding-ref-pending-empty {
  color: #9fabbd;
}

@media (max-width: 1180px) {
  .onboarding-ref-card-complete {
    width: min(100%, calc(100vw - 32px));
    padding-right: 28px;
    padding-left: 28px;
  }

  .onboarding-ref-team-grid,
  .onboarding-ref-collab-card {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-people-visual {
    min-height: 210px;
  }
}

@media (max-width: 760px) {
  .onboarding-ref-card-complete .onboarding-ref-progress-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
  }

  .onboarding-ref-card-complete .onboarding-ref-progress-track {
    display: none;
  }

  .onboarding-ref-team-form,
  .onboarding-ref-team-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-invite-footer,
  .onboarding-ref-team-actions,
  .onboarding-ref-pending-list > div {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .onboarding-ref-team-actions > div {
    justify-items: stretch;
  }
}

/* Onboarding account and profile controls */
.onboarding-ref-account {
  position: relative;
}

.onboarding-ref-account-trigger {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #eaf1ff;
  color: #315cff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.onboarding-ref-account-trigger:hover,
.onboarding-ref-account-trigger[aria-expanded="true"] {
  border-color: #315cff;
  background: #315cff;
  color: #ffffff;
}

.onboarding-ref-account-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  right: 0;
  width: 292px;
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  padding: 10px;
}

.onboarding-ref-account-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border-radius: 12px;
  background: #f6f9ff;
  padding: 12px;
}

.onboarding-ref-account-summary > span,
.onboarding-ref-profile-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #315cff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.onboarding-ref-account-summary strong,
.onboarding-ref-account-summary em,
.onboarding-ref-account-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-ref-account-summary strong {
  color: #06133b;
  font-size: 14px;
  font-weight: 950;
}

.onboarding-ref-account-summary em,
.onboarding-ref-account-summary small {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.onboarding-ref-account-popover > button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #06133b;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  padding: 0 12px;
  text-align: left;
}

.onboarding-ref-account-popover > button:hover {
  background: #eef4ff;
  color: #315cff;
}

.onboarding-ref-account-popover > button.is-danger {
  color: #dc2626;
}

.onboarding-ref-profile-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.32);
  padding: 24px;
}

.onboarding-ref-profile-panel {
  width: min(560px, 100%);
  border: 1px solid #dbe5f3;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
  padding: 24px;
}

.onboarding-ref-profile-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  align-items: start;
  gap: 14px;
}

.onboarding-ref-profile-head h2 {
  margin: 0;
  color: #06133b;
  font-size: 22px;
  line-height: 1.1;
}

.onboarding-ref-profile-head p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}

.onboarding-ref-profile-head > button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
}

.onboarding-ref-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.onboarding-ref-profile-form label {
  display: grid;
  gap: 8px;
}

.onboarding-ref-profile-form span {
  color: #06133b;
  font-size: 13px;
  font-weight: 900;
}

.onboarding-ref-profile-form input,
.onboarding-ref-profile-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccdaf0;
  border-radius: 10px;
  background: #ffffff;
  color: #06133b;
  font: inherit;
  padding: 0 13px;
}

.onboarding-ref-profile-form input:focus,
.onboarding-ref-profile-form select:focus {
  border-color: #315cff;
  box-shadow: 0 0 0 4px rgba(49, 92, 255, 0.1);
  outline: none;
}

.onboarding-ref-profile-note {
  margin-top: 18px;
  border-radius: 12px;
  background: #f6f9ff;
  color: #52627e;
  font-size: 13px;
  line-height: 1.45;
  padding: 13px 14px;
}

.onboarding-ref-profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.onboarding-ref-help-panel {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid #dbe5f3;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
  padding: 24px;
}

.onboarding-ref-help-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  align-items: start;
  gap: 14px;
}

.onboarding-ref-help-head > div:first-child span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eef4ff;
  color: #315cff;
}

.onboarding-ref-help-head h2 {
  margin: 0;
  color: #06133b;
  font-size: 24px;
  line-height: 1.1;
}

.onboarding-ref-help-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.onboarding-ref-help-head > button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
}

.onboarding-ref-help-docs,
.onboarding-ref-help-steps,
.onboarding-ref-help-status {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.onboarding-ref-help-docs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-ref-help-docs > div,
.onboarding-ref-help-steps > div,
.onboarding-ref-help-status > div {
  display: grid;
  gap: 12px;
  border: 1px solid #dbe5f3;
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px;
}

.onboarding-ref-help-docs > div,
.onboarding-ref-help-steps > div {
  grid-template-columns: 30px minmax(0, 1fr);
}

.onboarding-ref-help-docs > div > span,
.onboarding-ref-help-steps > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #315cff;
  font-size: 12px;
  font-weight: 950;
}

.onboarding-ref-help-docs strong,
.onboarding-ref-help-status strong {
  display: block;
  overflow-wrap: anywhere;
  color: #06133b;
  font-size: 14px;
  font-weight: 950;
}

.onboarding-ref-help-docs p,
.onboarding-ref-help-steps p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.onboarding-ref-help-status > div {
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
}

.onboarding-ref-help-status span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-ref-help-status em {
  justify-self: end;
  border-radius: 999px;
  background: #ecfdf3;
  color: #0f9f62;
  padding: 5px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.onboarding-ref-help-status em.is-pending {
  background: #fff7ed;
  color: #ea580c;
}

.onboarding-ref-help-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

html[data-theme="dark"] .onboarding-ref-account-popover,
html[data-theme="dark"] .onboarding-ref-account-summary,
html[data-theme="dark"] .onboarding-ref-profile-panel,
html[data-theme="dark"] .onboarding-ref-help-panel,
html[data-theme="dark"] .onboarding-ref-help-head > button,
html[data-theme="dark"] .onboarding-ref-help-docs > div,
html[data-theme="dark"] .onboarding-ref-help-steps > div,
html[data-theme="dark"] .onboarding-ref-help-status > div,
html[data-theme="dark"] .onboarding-ref-profile-head > button,
html[data-theme="dark"] .onboarding-ref-profile-form input,
html[data-theme="dark"] .onboarding-ref-profile-form select,
html[data-theme="dark"] .onboarding-ref-profile-note {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.96);
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-account-summary strong,
html[data-theme="dark"] .onboarding-ref-account-popover > button,
html[data-theme="dark"] .onboarding-ref-profile-head h2,
html[data-theme="dark"] .onboarding-ref-help-head h2,
html[data-theme="dark"] .onboarding-ref-help-docs strong,
html[data-theme="dark"] .onboarding-ref-help-status strong,
html[data-theme="dark"] .onboarding-ref-profile-form span {
  color: #e5edf8;
}

html[data-theme="dark"] .onboarding-ref-account-summary em,
html[data-theme="dark"] .onboarding-ref-account-summary small,
html[data-theme="dark"] .onboarding-ref-profile-head p,
html[data-theme="dark"] .onboarding-ref-help-head p,
html[data-theme="dark"] .onboarding-ref-help-docs p,
html[data-theme="dark"] .onboarding-ref-help-steps p,
html[data-theme="dark"] .onboarding-ref-help-status span,
html[data-theme="dark"] .onboarding-ref-profile-note {
  color: #9fabbd;
}

@media (max-width: 620px) {
  .onboarding-ref-account-popover {
    right: auto;
    left: 50%;
    width: min(292px, calc(100vw - 32px));
    transform: translateX(-50%);
  }

  .onboarding-ref-profile-form {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-help-docs,
  .onboarding-ref-help-status > div {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-profile-actions {
    flex-direction: column-reverse;
  }

  .onboarding-ref-help-actions {
    flex-direction: column-reverse;
  }
}

/* Onboarding responsive hardening v2: production stylesheet override. */
.onboarding-ref-shell {
  --onboarding-layout-revision: 20260918;
  overflow-x: clip;
}

.onboarding-ref-card,
.onboarding-ref-card-with-rail,
.onboarding-ref-card-complete,
.onboarding-ref-card-waiting {
  max-width: min(100%, 1380px);
  max-height: calc(100dvh - clamp(28px, 6vh, 96px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.onboarding-ref-card .onboarding-ref-progress-path {
  min-width: 0;
}

.onboarding-ref-card .onboarding-ref-progress-path button {
  min-width: 0;
}

.onboarding-ref-card .onboarding-ref-progress-path strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboarding-ref-card .onboarding-ref-config {
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 0;
}

.onboarding-ref-card .onboarding-ref-config > div:not(.onboarding-ref-actions) {
  min-width: 0;
}

.onboarding-ref-card .onboarding-ref-config > .onboarding-ref-actions,
.onboarding-ref-card .onboarding-ref-team-actions {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
}

.onboarding-ref-card .onboarding-ref-actions,
.onboarding-ref-card .onboarding-ref-team-actions {
  position: static;
  inset: auto;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: clamp(16px, 2vw, 20px) 0 0;
  border-top: 1px solid rgba(126, 148, 190, 0.16);
  background: transparent;
  backdrop-filter: none;
}

.onboarding-ref-card .onboarding-ref-actions {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(80px, 1fr) minmax(150px, 210px);
  gap: 14px;
  align-items: center;
}

.onboarding-ref-card .onboarding-ref-actions > .onboarding-ref-secondary,
.onboarding-ref-card .onboarding-ref-actions > .onboarding-ref-primary {
  width: 100%;
  min-width: 0;
}

.onboarding-ref-card .onboarding-ref-step-dots {
  justify-self: center;
}

.onboarding-ref-card .onboarding-ref-actions > *:last-child {
  justify-self: end;
}

.onboarding-ref-card .onboarding-ref-provider-switch {
  overflow: visible;
}

.onboarding-ref-card .onboarding-ref-provider-switch > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.onboarding-ref-card .onboarding-ref-provider-switch button,
.onboarding-ref-card .onboarding-ref-tabs button {
  min-height: 46px;
}

.onboarding-ref-card .onboarding-ref-install-panel,
.onboarding-ref-card .onboarding-ref-permission-card,
.onboarding-ref-card .onboarding-ref-team-panel {
  overflow: visible;
}

@media (max-width: 1180px) {
  .onboarding-ref-card,
  .onboarding-ref-card-with-rail,
  .onboarding-ref-card-complete,
  .onboarding-ref-card-waiting {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .onboarding-ref-card .onboarding-ref-actions {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-card .onboarding-ref-actions > *,
  .onboarding-ref-card .onboarding-ref-actions > *:last-child,
  .onboarding-ref-card .onboarding-ref-step-dots {
    justify-self: stretch;
  }

  .onboarding-ref-card .onboarding-ref-step-dots {
    justify-content: center;
  }
}

/* Onboarding dark-mode readability and completion progress polish. */
html[data-theme="dark"] .onboarding-ref-install-panel strong,
html[data-theme="dark"] .onboarding-ref-collector-workflow strong,
html[data-theme="dark"] .onboarding-ref-permission-card strong,
html[data-theme="dark"] .onboarding-ref-copy-field span,
html[data-theme="dark"] .onboarding-ref-guide-card strong {
  color: #eef5ff;
}

html[data-theme="dark"] .onboarding-ref-install-panel p,
html[data-theme="dark"] .onboarding-ref-collector-workflow p,
html[data-theme="dark"] .onboarding-ref-guide-card p {
  color: #a7b4c8;
}

html[data-theme="dark"] .onboarding-ref-install-panel,
html[data-theme="dark"] .onboarding-ref-collector-workflow section,
html[data-theme="dark"] .onboarding-ref-copy-field,
html[data-theme="dark"] .onboarding-ref-guide-card {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
}

html[data-theme="dark"] .onboarding-ref-copy-field span,
html[data-theme="dark"] .onboarding-ref-static-field {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(7, 14, 31, 0.92);
  color: #eef5ff;
}

html[data-theme="dark"] .onboarding-ref-install-panel em,
html[data-theme="dark"] .onboarding-ref-role-card,
html[data-theme="dark"] .onboarding-ref-pending-header h2 span {
  background: rgba(37, 99, 235, 0.18);
  color: #93b4ff;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path {
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  column-gap: 12px;
  row-gap: 14px;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button {
  min-width: 0;
  padding: 0 4px;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path strong {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  overflow-wrap: normal;
}

html[data-theme="dark"] .onboarding-ref-card-complete .onboarding-ref-progress-track {
  background: rgba(148, 163, 184, 0.24);
}

html[data-theme="dark"] .onboarding-ref-card-complete .onboarding-ref-progress-path button.is-active {
  border-color: #9ec0ff;
  background: rgba(37, 99, 235, 0.12);
}

@media (max-width: 1180px) {
  .onboarding-ref-card-complete .onboarding-ref-progress-path {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    max-width: 100%;
    gap: 12px;
  }

  .onboarding-ref-card-complete .onboarding-ref-progress-track {
    display: none;
  }
}

/* Provider selection trust panel: keep the description in the text column. */
.onboarding-ref-trust-panel {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
}

.onboarding-ref-trust-panel > div {
  align-items: start;
}

.onboarding-ref-trust-panel > div p {
  grid-column: 2;
  max-width: 420px;
  margin: 4px 0 0;
}

.onboarding-ref-trust-panel ul {
  align-self: center;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (max-width: 760px) {
  .onboarding-ref-trust-panel {
    grid-template-columns: 1fr;
  }

  .onboarding-ref-trust-panel > div p {
    grid-column: 1 / -1;
    max-width: none;
  }
}

.auth-reference-identity-note {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(86, 142, 255, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(72, 128, 255, 0.08);
}

.auth-reference-identity-note.compact {
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(4, 12, 27, 0.3);
}

.auth-reference-identity-note strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.auth-reference-identity-note span {
  overflow-wrap: anywhere;
  color: #a9b7d1;
  font-size: 12px;
  line-height: 1.45;
}

.auth-reference-company-warning {
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  color: #ffd38a;
  background: rgba(146, 64, 14, 0.16);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

/* Connections > Collectors: keep metrics and wide action table readable at every zoom. */
.production-reference-shell .reference-collector-stat-grid {
  align-items: stretch;
}

.production-reference-shell .reference-collector-stat {
  display: grid;
  align-content: center;
  grid-template-rows: auto auto auto;
  gap: 8px;
  min-width: 0;
  min-height: 148px;
}

.production-reference-shell .reference-collector-stat span:first-child,
.production-reference-shell .reference-collector-stat small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: normal;
  line-height: 1.35;
}

.production-reference-shell .reference-collector-stat strong {
  display: block;
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.95;
}

.production-reference-shell .reference-collector-table-card {
  display: grid;
  gap: 18px;
  max-width: 100%;
  overflow: hidden;
}

.production-reference-shell .reference-collector-table-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.production-reference-shell .reference-collector-table-head h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.production-reference-shell .reference-collector-form .reference-form-heading {
  margin-bottom: 16px;
}

.production-reference-shell .reference-collector-identity-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--v2-blue) 24%, var(--v2-border));
  border-radius: 12px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--v2-blue) 5%, var(--v2-surface));
}

.production-reference-shell .reference-collector-identity-note span {
  color: var(--v2-blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.production-reference-shell .reference-collector-identity-note p {
  color: var(--v2-muted);
  font-size: 13px;
  line-height: 1.5;
}

.production-reference-shell .reference-collector-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.production-reference-shell .reference-collector-table {
  width: 100%;
  min-width: 1540px !important;
  table-layout: fixed;
}

.production-reference-shell .reference-collector-table th:nth-child(1),
.production-reference-shell .reference-collector-table td:nth-child(1) {
  width: 230px;
}

.production-reference-shell .reference-collector-table th:nth-child(2),
.production-reference-shell .reference-collector-table td:nth-child(2) {
  width: 120px;
}

.production-reference-shell .reference-collector-table th:nth-child(3),
.production-reference-shell .reference-collector-table td:nth-child(3) {
  width: 150px;
}

.production-reference-shell .reference-collector-table th:nth-child(4),
.production-reference-shell .reference-collector-table td:nth-child(4) {
  width: 145px;
}

.production-reference-shell .reference-collector-table th:nth-child(5),
.production-reference-shell .reference-collector-table td:nth-child(5) {
  width: 210px;
}

.production-reference-shell .reference-collector-table th:nth-child(6),
.production-reference-shell .reference-collector-table td:nth-child(6) {
  width: 120px;
}

.production-reference-shell .reference-collector-table th:nth-child(7),
.production-reference-shell .reference-collector-table td:nth-child(7) {
  width: 165px;
}

.production-reference-shell .reference-collector-table th:nth-child(8),
.production-reference-shell .reference-collector-table td:nth-child(8) {
  width: 185px;
}

.production-reference-shell .reference-collector-table th:nth-child(9),
.production-reference-shell .reference-collector-table td:nth-child(9) {
  width: 210px;
}

.production-reference-shell .reference-collector-table td {
  vertical-align: middle;
}

.production-reference-shell .reference-collector-table td,
.production-reference-shell .reference-collector-table td strong {
  overflow-wrap: anywhere;
}

.production-reference-shell .reference-collector-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.production-reference-shell .reference-collector-actions .table-link.as-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--v2-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.production-reference-shell .reference-collector-actions .table-link.as-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

@media (max-width: 1180px) {
  .production-reference-shell .reference-collector-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .production-reference-shell .reference-collector-stat-grid {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .reference-collector-stat {
    min-height: 124px;
  }

  .production-reference-shell .reference-collector-table-head {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Collector setup separates customer deployment from CloudSight sample tests. */
.onboarding-kit-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin: 18px 0 22px;
  padding: 22px;
  border: 1px solid #9db5ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3f6ff 0%, #eef8ff 100%);
  box-shadow: 0 12px 30px rgba(49, 92, 255, .1);
}
.onboarding-kit-start.is-ready {
  border-color: #86d7b4;
  background: linear-gradient(135deg, #f0fdf7 0%, #f4fbff 100%);
}
.onboarding-kit-start h2 { margin: 7px 0 8px; font-size: 19px; line-height: 1.35; }
.onboarding-kit-start p { margin: 0; max-width: 680px; font-size: 14px; line-height: 1.6; }
.onboarding-kit-primary {
  min-width: 190px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #315cff;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(49, 92, 255, .22);
}
.onboarding-kit-primary:hover:not(:disabled) { background: #244be3; transform: translateY(-1px); }
.onboarding-kit-primary:disabled { opacity: .55; cursor: wait; }
.onboarding-kit-actions { display: grid; gap: 9px; min-width: 220px; }
.onboarding-kit-actions small { max-width: 260px; color: #92400e; font-size: 11px; line-height: 1.45; }
.onboarding-deploy-choice { display: grid; gap: 12px; margin: 20px 0 14px; }
.onboarding-deploy-choice > button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid #cfd9e8;
  border-radius: 16px;
  text-align: left;
  background: #fff;
}
.onboarding-deploy-choice > button.is-selected { border-color: #315cff; background: #f5f7ff; box-shadow: 0 8px 22px rgba(49, 92, 255, .09); }
.onboarding-deploy-choice > button small { display: block; margin-bottom: 4px; color: #2563eb; font-weight: 700; }
.onboarding-deploy-choice > button strong { display: block; font-size: 16px; }
.onboarding-deploy-choice > button p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; }
.onboarding-deploy-choice > button em { padding: 6px 10px; border-radius: 999px; background: #e8eeff; color: #315cff; font-size: 12px; font-style: normal; font-weight: 700; }
.onboarding-advanced-options { padding: 14px 16px; border: 1px solid #dbe4f0; border-radius: 14px; background: #fbfcfe; }
.onboarding-advanced-options summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.onboarding-advanced-options > p { margin: 8px 0 12px; font-size: 13px; line-height: 1.5; }
.onboarding-advanced-options > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.onboarding-advanced-options button { padding: 13px; border: 1px solid #dbe4f0; border-radius: 11px; text-align: left; background: #fff; }
.onboarding-advanced-options button.is-selected { border-color: #315cff; background: #f5f7ff; }
.onboarding-advanced-options button strong,
.onboarding-advanced-options button span { display: block; }
.onboarding-advanced-options button span { margin-top: 5px; font-size: 12px; line-height: 1.45; }
.onboarding-target-builder { display: grid; gap: 14px; margin-top: 20px; }
.onboarding-target-builder-head,
.onboarding-target-row {
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
}
.onboarding-target-builder-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
}
.onboarding-target-builder-head h2 { margin: 4px 0 5px; font-size: 18px; }
.onboarding-target-builder-head p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.onboarding-target-row { display: grid; gap: 16px; padding: 16px; }
.onboarding-target-row-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.onboarding-target-row-title > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #e8eeff;
  color: #315cff;
  font-weight: 800;
}
.onboarding-target-row-title strong { display: block; font-size: 15px; }
.onboarding-target-row-title p { margin: 2px 0 0; color: #64748b; font-size: 12px; }
.onboarding-target-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.onboarding-target-row-actions button {
  min-height: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  padding: 0 12px;
  color: #315cff;
  font-size: 12px;
  font-weight: 700;
}
.onboarding-target-row-actions button.is-danger {
  border-color: #fecaca;
  color: #b91c1c;
}
.onboarding-target-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.onboarding-target-grid label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 700; }
.onboarding-target-grid input,
.onboarding-target-grid select {
  min-height: 46px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
}
.onboarding-target-wide { grid-column: 1 / -1; }
.onboarding-test-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.onboarding-test-option,
.onboarding-test-results {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--v2-border, #dbe4f0);
  border-radius: 18px;
  background: var(--v2-surface, transparent);
}
.onboarding-test-option h2,
.onboarding-test-results h2 { font-size: 18px; line-height: 1.4; margin: 10px 0 14px; }
.onboarding-test-option p,
.onboarding-test-option li,
.onboarding-test-result p { font-size: 14px; line-height: 1.65; margin: 10px 0; }
.onboarding-test-option ol { padding-left: 20px; list-style: decimal; }
.onboarding-test-option .onboarding-ref-download { margin-top: 14px; white-space: normal; }
.onboarding-test-result { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--v2-border, #dbe4f0); }
.onboarding-test-result p { margin: 0; }
.onboarding-test-result code { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
.onboarding-test-result small { font-size: 12px; }
@media (max-width: 900px) {
  .onboarding-kit-start { grid-template-columns: minmax(0, 1fr); }
  .onboarding-kit-primary, .onboarding-kit-actions { width: 100%; }
  .onboarding-deploy-choice > button { grid-template-columns: auto minmax(0, 1fr); }
  .onboarding-deploy-choice > button em { grid-column: 2; justify-self: start; }
  .onboarding-advanced-options > div { grid-template-columns: minmax(0, 1fr); }
  .onboarding-target-builder-head,
  .onboarding-target-row-title,
  .onboarding-target-grid { grid-template-columns: minmax(0, 1fr); }
  .onboarding-target-row-actions { justify-content: stretch; }
  .onboarding-target-row-actions button { flex: 1 1 180px; }
  .onboarding-target-builder-head .onboarding-ref-secondary { width: 100%; }
  .onboarding-test-options { grid-template-columns: minmax(0, 1fr); }
  .onboarding-test-option, .onboarding-test-results { padding: 18px; }
}
.onboarding-ref-card .onboarding-ref-alert:not(.is-error) { color: #166534; }
html[data-theme="dark"] .onboarding-ref-card .onboarding-ref-alert:not(.is-error) { color: #bbf7d0; }
@media (max-width: 600px) {
  .onboarding-ref-card-with-rail .onboarding-ref-progress-path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .onboarding-ref-card-with-rail .onboarding-ref-progress-path button { min-height: 42px; padding: 8px; }
  .onboarding-ref-card-with-rail .onboarding-ref-rail { display: none; }
}
html[data-theme="dark"] .onboarding-ref-card .onboarding-ref-provider-switch strong { color: #e2e8f0; }
html[data-theme="dark"] .onboarding-ref-card .onboarding-test-option .onboarding-ref-eyebrow { color: #93c5fd; }
html[data-theme="dark"] .onboarding-test-option,
html[data-theme="dark"] .onboarding-test-results,
html[data-theme="dark"] .onboarding-test-result { border-color: #334155; }
html[data-theme="dark"] .onboarding-kit-start {
  border-color: #3f5fbf;
  background: linear-gradient(135deg, #14213d 0%, #10263a 100%);
}
html[data-theme="dark"] .onboarding-kit-start.is-ready {
  border-color: #287a5c;
  background: linear-gradient(135deg, #102b25 0%, #10263a 100%);
}
html[data-theme="dark"] .onboarding-deploy-choice > button,
html[data-theme="dark"] .onboarding-advanced-options,
html[data-theme="dark"] .onboarding-advanced-options button,
html[data-theme="dark"] .onboarding-target-builder-head,
html[data-theme="dark"] .onboarding-target-row,
html[data-theme="dark"] .onboarding-target-grid input,
html[data-theme="dark"] .onboarding-target-grid select,
html[data-theme="dark"] .onboarding-target-row-actions button { border-color: #334155; background: #101b2e; color: #f8fafc; }
html[data-theme="dark"] .onboarding-target-row-actions button.is-danger { border-color: #7f1d1d; color: #fecaca; }
html[data-theme="dark"] .onboarding-deploy-choice > button.is-selected,
html[data-theme="dark"] .onboarding-advanced-options button.is-selected { border-color: #5f7dff; background: #17213d; }


/* Keep the onboarding header identical on the final Team step. */
.onboarding-ref-card-complete .onboarding-ref-progress-path {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
  margin: 24px 0 22px;
  padding-top: 10px;
}

.onboarding-ref-card-complete .onboarding-ref-progress-track {
  top: 0;
  right: 10px;
  left: 10px;
  height: 3px;
  background: #e5edf7;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 54px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #ffffff;
  padding: 9px 10px;
  color: #64748b;
  box-shadow: none;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-active {
  border-color: #315cff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #1f4fff;
  box-shadow: 0 10px 28px rgba(49, 92, 255, 0.14);
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-complete {
  border-color: #b7f0d0;
  background: #f0fdf7;
  color: #0f9f62;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button > span {
  width: 20px;
  height: 20px;
  border: 0;
  background: #eef3fb;
  color: #64748b;
  box-shadow: none;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-active > span {
  background: #315cff;
  color: #ffffff;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path button.is-complete > span {
  background: #14c779;
  color: #ffffff;
}

.onboarding-ref-card-complete .onboarding-ref-progress-path strong {
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .onboarding-ref-card-complete .onboarding-ref-progress-path {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 12px;
  }
}

/* Final multi-cloud collector setup UX. */
.onboarding-collector-page { display: grid; gap: 18px; }
.onboarding-collector-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.onboarding-collector-head h1 { margin: 0; color: #06133b; font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -0.04em; }
.onboarding-collector-head p { margin: 8px 0 0; color: #64748b; font-size: 15px; line-height: 1.5; }
.onboarding-template-info { min-width: 280px; border: 1px solid #dbe5f3; border-radius: 12px; background: #fff; }
.onboarding-template-info summary { cursor: pointer; padding: 14px 16px; color: #06133b; font-weight: 850; }
.onboarding-template-info ul { margin: 0; padding: 0 18px 16px 34px; color: #64748b; font-size: 13px; line-height: 1.45; }
.onboarding-provider-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.onboarding-provider-tabs button { display: flex; align-items: center; gap: 12px; min-height: 58px; border: 1px solid #dbe5f3; border-radius: 10px; background: #fff; padding: 0 16px; color: #06133b; font-weight: 800; }
.onboarding-provider-tabs button.is-active { border-color: #315cff; box-shadow: 0 12px 30px rgba(49, 92, 255, 0.12); }
.onboarding-provider-tabs button > span:last-child { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 999px; background: #edf3ff; color: #315cff; font-size: 12px; }
.onboarding-provider-workspace { display: grid; gap: 16px; border: 1px solid #dbe5f3; border-radius: 16px; background: #fff; padding: 18px; }
.onboarding-provider-title { display: flex; align-items: center; gap: 16px; }
.onboarding-provider-title > span { width: 74px; height: 56px; font-size: 30px; }
.onboarding-provider-title h2 { margin: 0; color: #06133b; font-size: 28px; letter-spacing: -0.03em; }
.onboarding-provider-title p { margin: 5px 0 0; color: #64748b; line-height: 1.45; }
.onboarding-env-form, .onboarding-env-list-card { border: 1px solid #dbe5f3; border-radius: 12px; background: linear-gradient(180deg, #fff 0%, #fbfdff 100%); padding: 16px; }
.onboarding-env-form-head, .onboarding-env-list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.onboarding-env-form-head h3, .onboarding-env-list-head h3 { margin: 0; color: #06133b; font-size: 18px; }
.onboarding-env-form-head p, .onboarding-env-list-head p { margin: 6px 0 0; color: #64748b; font-size: 13px; }
.onboarding-env-list-head h3 span { margin-left: 8px; border-radius: 999px; background: #e8f0ff; color: #315cff; padding: 4px 10px; font-size: 12px; }
.onboarding-env-form-head button, .onboarding-env-list-head button { min-height: 38px; border: 1px solid #dbe5f3; border-radius: 8px; background: #fff; padding: 0 14px; color: #315cff; font-weight: 800; }
.onboarding-env-form-grid { display: grid; grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.35fr) minmax(240px, 1fr); gap: 14px; align-items: start; }
.onboarding-env-form-grid label { display: grid; gap: 7px; color: #06133b; font-size: 13px; font-weight: 800; }
.onboarding-env-form-grid input, .onboarding-env-form-grid select { min-height: 42px; border: 1px solid #dbe5f3; border-radius: 8px; background: #fff; padding: 0 12px; color: #06133b; font-weight: 750; }
.onboarding-env-form-grid small { color: #64748b; font-size: 12px; font-weight: 600; }
.onboarding-env-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.onboarding-region-field { position: relative; }
.onboarding-region-trigger { display: flex; justify-content: space-between; align-items: center; min-height: 42px; border: 1px solid #8ab1ff; border-radius: 8px; background: #fff; padding: 6px 10px; text-align: left; }
.onboarding-region-trigger > span { display: flex; flex-wrap: wrap; gap: 6px; }
.onboarding-region-trigger b { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; background: #edf3ff; padding: 5px 8px; color: #06133b; font-size: 12px; }
.onboarding-region-trigger i { color: #64748b; font-style: normal; }
.onboarding-region-menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; min-width: 540px; border: 1px solid #dbe5f3; border-radius: 10px; background: #fff; padding: 12px; box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16); }
.onboarding-region-menu > input { width: 100%; margin-bottom: 10px; }
.onboarding-region-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.onboarding-region-groups section { border: 1px solid #edf2f7; border-radius: 8px; padding: 10px; }
.onboarding-region-groups strong { display: block; margin-bottom: 8px; color: #06133b; font-size: 12px; }
.onboarding-region-groups label { display: flex; grid-template-columns: none; align-items: center; gap: 7px; margin: 7px 0; color: #334155; font-size: 12px; }
.onboarding-custom-region { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; align-items: center; margin-top: 12px; }
.onboarding-custom-region span { color: #06133b; font-size: 12px; font-weight: 850; }
.onboarding-custom-region button { min-height: 36px; border: 1px solid #315cff; border-radius: 8px; padding: 0 12px; color: #315cff; font-weight: 800; }
.onboarding-custom-region .is-link { border-color: transparent; }
.onboarding-env-row { position: relative; display: grid; grid-template-columns: 20px minmax(160px, 1fr) minmax(180px, 1fr) minmax(140px, 0.8fr) minmax(130px, 0.8fr) minmax(250px, auto); gap: 14px; align-items: center; border: 1px solid #e5edf7; border-radius: 10px; padding: 14px; background: #fff; }
.onboarding-env-row + .onboarding-env-row { margin-top: 10px; }
.onboarding-env-dot { width: 12px; height: 12px; border-radius: 999px; background: #7c8aa6; }
.onboarding-env-dot.is-ready { background: #14c779; }
.onboarding-env-name strong { color: #06133b; font-size: 15px; }
.onboarding-env-name em { margin-left: 8px; border-radius: 999px; background: #e8f0ff; color: #315cff; padding: 3px 8px; font-size: 11px; font-style: normal; }
.onboarding-env-row span { display: block; color: #64748b; font-size: 12px; font-weight: 700; }
.onboarding-env-row strong { display: block; color: #06133b; font-size: 13px; }
.onboarding-env-row small { display: block; color: #64748b; font-size: 12px; }
.onboarding-env-status span { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 8px; background: #eef3fb; padding: 0 12px; color: #64748b; font-weight: 850; }
.onboarding-env-status span.is-ready { background: #e8fff5; color: #0f9f62; }
.onboarding-env-actions { position: relative; display: flex; gap: 8px; justify-content: flex-end; }
.onboarding-env-actions button { min-height: 36px; border: 1px solid #dbe5f3; border-radius: 8px; background: #fff; padding: 0 12px; color: #315cff; font-weight: 850; }
.onboarding-env-actions button.is-primary { border-color: #315cff; background: #315cff; color: #fff; }
.onboarding-env-menu { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; display: grid; min-width: 180px; border: 1px solid #dbe5f3; border-radius: 10px; background: #fff; padding: 6px; box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16); }
.onboarding-env-menu button { justify-content: flex-start; border: 0; color: #06133b; }
.onboarding-env-menu button.is-danger { color: #dc2626; }
.onboarding-env-empty { display: grid; justify-items: center; gap: 8px; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 28px; text-align: center; color: #64748b; }
.onboarding-env-empty strong { color: #06133b; }
.onboarding-env-empty button { min-height: 38px; border: 1px solid #315cff; border-radius: 8px; padding: 0 14px; color: #315cff; font-weight: 850; }
.onboarding-env-next { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; border: 1px solid #9ec0ff; border-radius: 10px; background: #f8fbff; padding: 12px 14px; }
.onboarding-env-next strong { color: #06133b; }
.onboarding-env-next p { margin: 3px 0 0; color: #64748b; font-size: 13px; }
.onboarding-env-next button { min-height: 40px; border: 1px solid #315cff; border-radius: 8px; padding: 0 16px; color: #315cff; font-weight: 850; }
.onboarding-confirm-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(4px); }
.onboarding-confirm-dialog { position: relative; width: min(520px, calc(100vw - 32px)); border-radius: 16px; background: #fff; padding: 28px; box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26); }
.onboarding-confirm-dialog > button:first-child { position: absolute; top: 12px; right: 14px; color: #315cff; font-size: 22px; }
.onboarding-confirm-dialog h2 { margin: 0; color: #06133b; font-size: 20px; }
.onboarding-confirm-dialog p { margin: 12px 0 20px; color: #64748b; line-height: 1.55; }
.onboarding-confirm-dialog div { display: flex; justify-content: flex-end; gap: 10px; }
.onboarding-danger-button { min-height: 42px; border-radius: 8px; background: #dc2626; color: #fff; padding: 0 16px; font-weight: 850; }
@media (max-width: 1120px) { .onboarding-provider-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .onboarding-env-form-grid { grid-template-columns: minmax(0, 1fr); } .onboarding-env-row { grid-template-columns: 20px minmax(0, 1fr); } .onboarding-env-actions { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; } .onboarding-region-menu { min-width: min(540px, calc(100vw - 80px)); } }
@media (max-width: 760px) { .onboarding-collector-head, .onboarding-env-form-head, .onboarding-env-list-head, .onboarding-env-next { display: grid; } .onboarding-provider-tabs { grid-template-columns: minmax(0, 1fr); } .onboarding-region-groups { grid-template-columns: minmax(0, 1fr); } .onboarding-custom-region { grid-template-columns: minmax(0, 1fr); } }

/* Collector reference-state polish. */
.onboarding-env-form:focus { outline: 3px solid rgba(49, 92, 255, 0.14); outline-offset: 3px; }
.onboarding-env-form-grid select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.onboarding-env-form-grid select:disabled { background-color: #f4f7fb; color: #7c8aa6; cursor: not-allowed; }
.onboarding-env-menu { gap: 2px; }
.onboarding-env-menu button { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 10px; text-align: left; border-radius: 7px; font-size: 13px; }
.onboarding-env-menu button:hover { background: #f4f7ff; }
.onboarding-env-menu button span { display: inline-grid; width: 18px; height: 18px; place-items: center; color: #315cff; font-size: 12px; }
.onboarding-env-menu button.is-danger:hover { background: #fff1f2; }
.onboarding-env-menu button.is-danger span { color: #dc2626; }
.onboarding-confirm-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 14px; border-radius: 999px; background: #e8f0ff; color: #315cff; font-size: 24px; font-weight: 900; }
.onboarding-confirm-dialog.is-danger .onboarding-confirm-icon { background: #fff1f2; color: #dc2626; }
.onboarding-confirm-dialog .onboarding-ref-primary, .onboarding-confirm-dialog .onboarding-ref-secondary, .onboarding-danger-button { min-height: 42px; border-radius: 8px; padding: 0 16px; font-weight: 850; }
.onboarding-danger-button { border: 1px solid #dc2626; }
.onboarding-env-actions button:disabled { opacity: 0.55; cursor: not-allowed; }
.onboarding-region-trigger:focus, .onboarding-env-form-grid input:focus, .onboarding-env-form-grid select:focus { outline: 3px solid rgba(49, 92, 255, 0.16); border-color: #315cff; }

.production-reference-shell .alert-rule-list,
.production-reference-shell .alert-rule-settings {
  padding: 22px;
  margin-block: 18px;
  scroll-margin-top: 90px;
}

.production-reference-shell .alert-rule-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.production-reference-shell .alert-rule-heading h2,
.production-reference-shell .alert-rule-list h2 {
  margin: 0;
  color: var(--v2-text, #0f172a);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.production-reference-shell .alert-rule-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--v2-border, #dce4ef);
  border-radius: 8px;
}

.production-reference-shell .alert-rule-table-head,
.production-reference-shell .alert-rule-entry {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(120px, 0.72fr) minmax(190px, 1fr) minmax(90px, 0.52fr) 72px;
  gap: 14px;
  align-items: center;
}

.production-reference-shell .alert-rule-table-head {
  min-height: 42px;
  padding: 0 16px;
  background: var(--v2-surface, #f8fafc);
  color: var(--v2-muted, #64748b);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.production-reference-shell .alert-rule-entry {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-top: 1px solid var(--v2-border, #dce4ef);
  border-radius: 0;
  padding: 10px 16px;
  background: var(--v2-card, #fff);
  color: var(--v2-text, #0f172a);
  text-align: left;
  cursor: pointer;
}

.production-reference-shell .alert-rule-entry:hover,
.production-reference-shell .alert-rule-entry.is-selected {
  background: color-mix(in srgb, var(--v2-blue, #315cff) 5%, var(--v2-card, #fff));
}

.production-reference-shell .alert-rule-entry.is-selected {
  box-shadow: inset 3px 0 0 var(--v2-blue, #315cff);
}

.production-reference-shell .alert-rule-entry strong,
.production-reference-shell .alert-rule-entry small {
  display: block;
}

.production-reference-shell .alert-rule-entry strong {
  font-size: 14px;
  font-weight: 850;
}

.production-reference-shell .alert-rule-entry small,
.production-reference-shell .alert-rule-entry span {
  color: var(--v2-secondary, #64748b);
  font-size: 12px;
  font-weight: 700;
}

.production-reference-shell .alert-rule-entry em {
  justify-self: end;
  color: var(--v2-blue, #315cff);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.production-reference-shell .alert-rule-entry:disabled {
  cursor: wait;
  opacity: 0.6;
}

.production-reference-shell .alert-rule-settings fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  padding: 16px 0;
}

.production-reference-shell .alert-rule-settings label {
  display: grid;
  gap: 7px;
  color: var(--v2-secondary, #64748b);
  font-size: 12px;
  font-weight: 800;
}

.production-reference-shell .alert-rule-settings input,
.production-reference-shell .alert-rule-settings select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--v2-border, #dce4ef);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--v2-card, #fff);
  color: var(--v2-text, #0f172a);
  font-size: 13px;
  font-weight: 750;
}

.production-reference-shell .alert-rule-result {
  margin-top: 18px;
  border: 1px solid color-mix(in srgb, var(--v2-blue, #315cff) 30%, var(--v2-border, #dce4ef));
  border-radius: 8px;
  padding: 14px;
  background: color-mix(in srgb, var(--v2-blue, #315cff) 4%, var(--v2-card, #fff));
}

.production-reference-shell .alert-rule-result p {
  margin: 8px 0;
  color: var(--v2-secondary, #64748b);
  line-height: 1.5;
}

.production-reference-shell .alert-rule-error {
  margin-top: 16px;
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 14px;
  color: #dc2626;
}

.production-reference-shell .alert-rule-settings .reference-muted {
  font-size: 13px;
  line-height: 1.5;
}

[data-theme="dark"] .production-reference-shell .alert-rule-settings input,
[data-theme="dark"] .production-reference-shell .alert-rule-settings select {
  background: #111827;
  color: #e5e7eb;
}

@media (max-width: 980px) {
  .production-reference-shell .v2-report-builder-main,
  .production-reference-shell .v2-report-builder-footer,
  .production-reference-shell .alert-rule-table-head,
  .production-reference-shell .alert-rule-entry {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .alert-rule-table-head {
    display: none;
  }

  .production-reference-shell .alert-rule-entry em {
    justify-self: start;
  }

  .production-reference-shell .alert-rule-settings fieldset {
    grid-template-columns: 1fr;
  }
}

/* Feedback polish: reduce duplicate actions and make edit/configure surfaces explicit. */
.production-reference-shell .v2-clickable-row {
  cursor: pointer;
}

.production-reference-shell .v2-clickable-row:hover {
  background: color-mix(in srgb, var(--v2-blue, #315cff) 5%, transparent);
}

.production-reference-shell .reference-allocation-rule-builder {
  display: grid;
  gap: 16px;
  padding: 22px;
  margin-block: 18px;
}

.production-reference-shell .reference-allocation-rule-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.production-reference-shell .reference-allocation-rule-grid label {
  display: grid;
  gap: 7px;
  color: var(--v2-secondary, #64748b);
  font-size: 12px;
  font-weight: 800;
}

.production-reference-shell .reference-allocation-rule-grid input,
.production-reference-shell .reference-allocation-rule-grid select {
  min-height: 42px;
  border: 1px solid var(--v2-border, #dce4ef);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--v2-card, #fff);
  color: var(--v2-text, #0f172a);
  font-weight: 750;
}

.production-reference-shell .reference-allocation-preview {
  display: grid;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--v2-blue, #315cff) 24%, var(--v2-border, #dce4ef));
  border-radius: 14px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--v2-blue, #315cff) 5%, var(--v2-surface, #f8fafc));
}

.production-reference-shell .reference-allocation-preview span {
  color: var(--v2-blue, #315cff);
  font-weight: 800;
}

.production-reference-shell .v2-report-template-list.compact {
  gap: 8px;
}

.production-reference-shell .v2-report-template-list.compact .v2-report-template-row {
  min-height: 56px;
  padding-block: 10px;
}

.production-reference-shell .reference-collector-env-form label small {
  margin-top: -2px;
}

@media (max-width: 1180px) {
  .production-reference-shell .reference-allocation-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .production-reference-shell .reference-allocation-rule-grid {
    grid-template-columns: 1fr;
  }
}

/* Logged-in Connections > Collectors should mirror the onboarding collector flow. */
.production-reference-shell .reference-onboarding-collector-shell {
  display: grid;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
}

.production-reference-shell .reference-provider-tabs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.production-reference-shell .reference-provider-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 62px;
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--v2-card);
  color: var(--v2-text);
  text-align: left;
}

.production-reference-shell .reference-provider-tab.active {
  border-color: var(--v2-blue);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.production-reference-shell .reference-provider-tab span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.production-reference-shell .reference-provider-tab em {
  margin-left: auto;
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef4ff;
  color: var(--v2-blue);
  min-width: 28px;
  text-align: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.production-reference-shell .reference-collector-setup-head,
.production-reference-shell .reference-collector-environments-head,
.production-reference-shell .reference-next-step-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.production-reference-shell .reference-collector-setup-head {
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(14, 165, 233, 0.02)), var(--v2-card);
}

.production-reference-shell .reference-provider-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: #f8fbff;
}

.production-reference-shell .reference-collector-setup-head h3,
.production-reference-shell .reference-collector-env-form h3,
.production-reference-shell .reference-collector-environments-head h3 {
  color: var(--v2-text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.production-reference-shell .reference-collector-env-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  padding: 18px;
  background: var(--v2-surface);
}

.production-reference-shell .reference-collector-env-form form {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, 0.75fr) minmax(260px, 1.35fr) minmax(220px, 1fr);
}

.production-reference-shell .reference-collector-env-form label,
.production-reference-shell .reference-collector-advanced label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--v2-secondary);
  font-size: 12px;
  font-weight: 800;
}

.production-reference-shell .reference-collector-env-form input,
.production-reference-shell .reference-collector-env-form select,
.production-reference-shell .reference-collector-env-form button[role="combobox"] {
  min-height: 44px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  background: var(--v2-card);
  color: var(--v2-text);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 750;
}

.production-reference-shell .reference-collector-region-field,
.production-reference-shell .reference-collector-name-field,
.production-reference-shell .reference-collector-advanced,
.production-reference-shell .reference-collector-identity-note,
.production-reference-shell .reference-form-actions.align-right {
  grid-column: 1 / -1;
}

.production-reference-shell .reference-collector-advanced {
  border: 1px solid var(--v2-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--v2-card);
}

.production-reference-shell .reference-collector-advanced summary {
  cursor: pointer;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 800;
}

.production-reference-shell .reference-collector-advanced label {
  margin-top: 12px;
}

.production-reference-shell .reference-form-actions.align-right {
  display: flex;
  justify-content: flex-end;
}

.production-reference-shell .reference-collector-environments-head {
  align-items: center;
  border-top: 1px solid var(--v2-border);
  padding-top: 16px;
}

.production-reference-shell .reference-collector-environments-head h3 span {
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #eef4ff;
  color: var(--v2-blue);
  font-size: 11px;
  font-weight: 800;
}

.production-reference-shell .reference-collector-env-list {
  display: grid;
  gap: 10px;
}

.production-reference-shell .reference-collector-env-row {
  display: grid;
  align-items: center;
  gap: 14px;
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, 0.75fr) minmax(180px, 0.8fr) minmax(280px, 1.2fr);
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  padding: 14px;
  background: var(--v2-card);
}

.production-reference-shell .reference-env-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.production-reference-shell .reference-env-title strong,
.production-reference-shell .reference-collector-env-row > div > strong {
  display: block;
  color: var(--v2-text);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.production-reference-shell .reference-env-title p,
.production-reference-shell .reference-collector-env-row small {
  color: var(--v2-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.production-reference-shell .reference-env-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 999px;
  background: #94a3b8;
}

.production-reference-shell .reference-env-dot.healthy,
.production-reference-shell .reference-env-dot.connected {
  background: #10b981;
}

.production-reference-shell .reference-env-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.production-reference-shell .reference-next-step-banner {
  align-items: center;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  background: #f4f8ff;
  color: var(--v2-blue);
}

.production-reference-shell .reference-next-step-banner strong {
  color: var(--v2-blue);
  white-space: nowrap;
}

.production-reference-shell .reference-next-step-banner span {
  color: #486284;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1320px) {
  .production-reference-shell .reference-provider-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {

  .production-reference-shell .reference-collector-env-form form,
  .production-reference-shell .reference-collector-env-row {
    grid-template-columns: 1fr 1fr;
  }

  .production-reference-shell .reference-env-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .production-reference-shell .reference-provider-tabs,
  .production-reference-shell .reference-collector-env-form form,
  .production-reference-shell .reference-collector-env-row {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .reference-collector-setup-head,
  .production-reference-shell .reference-collector-environments-head,
  .production-reference-shell .reference-next-step-banner {
    display: grid;
  }
}


.onboarding-empty-checkpoint {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 28px 0;
  padding: 34px;
  border: 1px dashed #bfdbfe;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
  text-align: center;
}
.onboarding-empty-checkpoint strong {
  color: #06133b;
  font-size: 20px;
  font-weight: 850;
}
.onboarding-empty-checkpoint p {
  max-width: 640px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}
.onboarding-billing-grid article.onboarding-billing-empty {
  grid-column: 1 / -1;
  border-style: dashed;
  background: #f8fbff;
}
.onboarding-billing-empty button {
  justify-self: start;
}
html[data-theme="dark"] .onboarding-empty-checkpoint,
html[data-theme="dark"] .onboarding-billing-grid article.onboarding-billing-empty {
  border-color: #355db8;
  background: #101b2e;
}
html[data-theme="dark"] .onboarding-empty-checkpoint strong { color: #e2e8f0; }
html[data-theme="dark"] .onboarding-empty-checkpoint p { color: #94a3b8; }

/* Billing source checkpoint in onboarding. */
.onboarding-billing-step .onboarding-ref-heading p {
  max-width: 760px;
}
.onboarding-billing-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 22px 0;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}
.onboarding-billing-summary h2 {
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.25;
}
.onboarding-billing-summary p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}
.onboarding-billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.onboarding-billing-grid article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #fff;
}
.onboarding-billing-grid article.is-connected {
  border-color: #86efac;
  background: #f0fdf4;
}
.onboarding-billing-grid article > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.onboarding-billing-grid article > div span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #f1f5f9;
  color: #315cff;
  font-size: 12px;
  font-weight: 900;
}
.onboarding-billing-grid img {
  max-width: 28px;
  max-height: 28px;
}
.onboarding-billing-grid strong {
  color: #0f172a;
  font-size: 16px;
}
.onboarding-billing-grid p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}
.onboarding-billing-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.onboarding-billing-grid li {
  display: flex;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
.onboarding-billing-grid li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 900;
}
.onboarding-billing-grid em {
  color: #315cff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.onboarding-ref-card-complete .onboarding-ref-progress-path,
.onboarding-ref-card .onboarding-ref-progress-path {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
html[data-theme="dark"] .onboarding-billing-summary {
  border-color: #355db8;
  background: linear-gradient(135deg, #111c34 0%, #0f172a 100%);
}
html[data-theme="dark"] .onboarding-billing-grid article {
  border-color: #334155;
  background: #101b2e;
}
html[data-theme="dark"] .onboarding-billing-grid article.is-connected {
  border-color: #287a5c;
  background: #102b25;
}
html[data-theme="dark"] .onboarding-billing-grid strong,
html[data-theme="dark"] .onboarding-billing-grid li {
  color: #e2e8f0;
}
html[data-theme="dark"] .onboarding-billing-grid p,
html[data-theme="dark"] .onboarding-billing-summary p {
  color: #94a3b8;
}
@media (max-width: 900px) {
  .onboarding-billing-summary,
  .onboarding-billing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .onboarding-billing-summary .onboarding-ref-download {
    width: 100%;
  }
}

/* Demo pass: keep allocation helper guidance readable in the active production theme. */
.production-reference-shell .reference-workflow-callout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-color: color-mix(in srgb, var(--v2-blue) 22%, var(--v2-border));
  background: linear-gradient(135deg, color-mix(in srgb, var(--v2-blue) 6%, var(--v2-card)), var(--v2-card));
}

.production-reference-shell .reference-workflow-callout strong {
  color: var(--v2-text);
  font-size: 15px;
  line-height: 20px;
}

.production-reference-shell .reference-workflow-callout span {
  color: var(--v2-secondary);
  font-size: 13px;
  line-height: 20px;
}

.production-reference-shell .reference-workflow-callout a,
.production-reference-shell .reference-workflow-callout button {
  justify-self: end;
  min-height: 38px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  padding: 0 14px;
  background: var(--v2-card);
  color: var(--v2-blue);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .production-reference-shell .reference-workflow-callout {
    grid-template-columns: 1fr;
  }

  .production-reference-shell .reference-workflow-callout a,
  .production-reference-shell .reference-workflow-callout button {
    justify-self: start;
  }
}

.production-reference-shell .alert-rule-empty {
  display: grid;
  gap: 6px;
  padding: 22px 18px;
  border-top: 1px solid var(--v2-border);
  color: var(--v2-secondary);
}

.production-reference-shell .alert-rule-empty strong {
  color: var(--v2-text);
  font-size: 15px;
  font-weight: 600;
}

.production-reference-shell .alert-rule-empty span,
.production-reference-shell .alert-rule-helper {
  color: var(--v2-secondary);
  font-size: 13px;
  line-height: 20px;
}

.production-reference-shell .alert-rule-helper {
  margin-top: 10px;
}

.production-reference-shell .alert-rule-helper.warn {
  color: var(--v2-orange);
}

.production-reference-shell .reference-connection-form,
.production-reference-shell #alert-rule-settings {
  scroll-margin-top: 96px;
}

.production-reference-shell .settings-section-stack {
  display: grid;
  gap: 16px;
}

.production-reference-shell .settings-section-stack h3 {
  color: var(--v2-text);
  font-size: 18px;
  font-weight: 650;
}

.production-reference-shell .toggle-row span {
  display: grid;
  gap: 4px;
}

.production-reference-shell .toggle-row span strong {
  color: var(--v2-text);
  font-size: 14px;
}

.production-reference-shell .toggle-row span small {
  max-width: 640px;
  color: var(--v2-secondary);
  font-size: 12px;
  line-height: 18px;
}

.production-reference-shell .form-card textarea,
.production-reference-shell .reference-card textarea {
  min-height: 76px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  background: var(--v2-surface);
  color: var(--v2-text);
  padding: 10px 12px;
  resize: vertical;
}

.production-reference-shell .form-card textarea::placeholder,
.production-reference-shell .reference-card textarea::placeholder {
  color: var(--v2-secondary);
}
