
:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #101828; background: #f8fafc; }
* { box-sizing: border-box; }
html, body, #app { min-height: 100%; margin: 0; }
body { min-width: 320px; background: #f8fafc; }
button, input, select, textarea { font: inherit; }
.boot-error { max-width: 620px; margin: 12vh auto; padding: 32px; font-family: system-ui, sans-serif; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px 18px; background: radial-gradient(circle at 50% 0%, #eef4ff 0, #f8fafc 42%, #f8fafc 100%); }
.login-card { width: min(430px, 100%); padding: 34px; border: 1px solid #e4e7ec; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(16,24,40,.08); }
.login-logo { display: block; width: min(220px, 75%); height: auto; margin: 0 auto 24px; }
.login-kicker { margin: 0 0 7px; color: #175cd3; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.login-card h1 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.login-subtitle { margin: 8px 0 24px; color: #667085; }
.login-form { display: grid; gap: 16px; }
.login-form label { display: grid; gap: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.login-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 9px; outline: none; background: #fff; }
.login-form input:focus { border-color: #84adff; box-shadow: 0 0 0 3px #eff4ff; }
.login-primary { min-height: 46px; border: 0; border-radius: 9px; color: #fff; background: #155eef; cursor: pointer; font-weight: 800; }
.login-primary:disabled, .login-link:disabled { opacity: .55; cursor: wait; }
.login-link { border: 0; color: #175cd3; background: transparent; cursor: pointer; font-weight: 700; }
.login-message { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.login-message.error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.login-message.info { color: #175cd3; background: #eff8ff; border: 1px solid #b2ddff; }

:global(*) { box-sizing: border-box; }
:global(body) { margin: 0; background: #f6f8fb; color: #162033; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
:global(button), :global(input), :global(select) { font: inherit; }
.nuiseo-app { min-height: 100vh; background: #f6f8fb; }
.nuiseo-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 264px; display: flex; flex-direction: column; padding: 22px 16px; background: #101828; color: #fff; }
.nuiseo-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nuiseo-brand-logo { display: block; width: 176px; max-width: 100%; height: auto; object-fit: contain; }
.nuiseo-brand span { display: block; margin: 0; color: #98a2b3; font-size: 12px; line-height: 1.35; }
.nuiseo-nav { display: grid; gap: 5px; margin-top: 20px; overflow-y: auto; }
.nuiseo-nav-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 0; border-radius: 9px; color: #cbd5e1; background: transparent; text-align: left; cursor: pointer; transition: .18s ease; }
.nuiseo-nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
.nuiseo-nav-item.active { color: #fff; background: #2563eb; box-shadow: 0 8px 20px rgba(37,99,235,.25); }
.nuiseo-nav-icon { width: 22px; text-align: center; font-weight: 700; }
.nuiseo-sidebar-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.nuiseo-account { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px; }
.nuiseo-account > div:last-child { min-width: 0; }
.nuiseo-account strong, .nuiseo-account span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nuiseo-account strong { font-size: 13px; }
.nuiseo-account span { margin-top: 2px; color: #98a2b3; font-size: 12px; }
.nuiseo-avatar { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #344054; color: #fff; font-weight: 700; font-size: 12px; }
.nuiseo-avatar.large { width: 48px; height: 48px; font-size: 15px; }
.nuiseo-logout { width: 100%; margin-top: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #fff; background: transparent; cursor: pointer; }
.nuiseo-main { min-height: 100vh; margin-left: 264px; }
.nuiseo-topbar { min-height: 104px; display: flex; align-items: center; gap: 18px; padding: 22px 32px; border-bottom: 1px solid #e4e7ec; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.nuiseo-topbar h1 { margin: 2px 0 0; font-size: 26px; letter-spacing: -.03em; }
.nuiseo-eyebrow { margin: 0; color: #667085; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nuiseo-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nuiseo-secure-indicator { display: inline-flex; align-items: center; gap: 7px; color: #027a48; font-size: 13px; font-weight: 600; }
.nuiseo-secure-indicator::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px #d1fadf; }
.nuiseo-menu-button { display: none; width: 40px; height: 40px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; cursor: pointer; }
.nuiseo-content { padding: 28px 32px 56px; }
.nuiseo-offline-banner { margin: 0; padding: 10px 32px; border-bottom: 1px solid #fedf89; color: #93370d; background: #fffaeb; font-size: 13px; font-weight: 600; }
.nuiseo-stack { display: grid; gap: 24px; }
.nuiseo-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nuiseo-stat-card, .nuiseo-panel { border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.nuiseo-stat-card { padding: 20px; }
.nuiseo-stat-card span, .nuiseo-stat-card small { display: block; color: #667085; }
.nuiseo-stat-card span { font-size: 13px; font-weight: 600; }
.nuiseo-stat-card strong { display: block; margin: 8px 0 5px; font-size: 30px; letter-spacing: -.03em; }
.nuiseo-stat-card small { font-size: 12px; }
.nuiseo-panel { padding: 22px; overflow: hidden; }
.nuiseo-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nuiseo-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.nuiseo-panel-header h2 { margin: 3px 0 0; font-size: 19px; letter-spacing: -.02em; }
.nuiseo-list { display: grid; }
.nuiseo-list-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border: 0; border-top: 1px solid #eaecf0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.nuiseo-list-row:first-child { border-top: 0; }
.nuiseo-list-row.static { cursor: default; }
.nuiseo-list-row strong, .nuiseo-list-row span { display: block; }
.nuiseo-list-row strong { font-size: 14px; }
.nuiseo-list-row > div:first-child span { margin-top: 4px; color: #667085; font-size: 12px; }
.nuiseo-inline-error { display: block; max-width: 520px; margin-top: 5px; overflow: hidden; color: #b42318; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.nuiseo-list-meta { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 8px; flex-direction: column; color: #475467; font-size: 12px; }
.nuiseo-primary-button, .nuiseo-secondary-button, .nuiseo-link-button, .nuiseo-row-button, .nuiseo-danger-button { border-radius: 8px; cursor: pointer; transition: .15s ease; }
.nuiseo-primary-button { padding: 10px 15px; border: 1px solid #2563eb; color: #fff; background: #2563eb; }
.nuiseo-secondary-button { padding: 9px 13px; border: 1px solid #d0d5dd; color: #344054; background: #fff; }
.nuiseo-secondary-button:disabled, .nuiseo-danger-button:disabled { opacity: .55; cursor: wait; }
.nuiseo-danger-button { padding: 10px 14px; border: 1px solid #d92d20; color: #fff; background: #d92d20; font-weight: 700; }
.nuiseo-danger-button:hover:not(:disabled) { background: #b42318; border-color: #b42318; }
.nuiseo-link-button, .nuiseo-row-button { border: 0; color: #175cd3; background: transparent; font-weight: 600; }
.nuiseo-row-button { padding: 6px 8px; }
.nuiseo-filters { display: flex; gap: 10px; }
.nuiseo-filters input, .nuiseo-filters select { min-height: 40px; padding: 8px 11px; border: 1px solid #d0d5dd; border-radius: 8px; outline: none; background: #fff; }
.nuiseo-filters input:focus, .nuiseo-filters select:focus { border-color: #84adff; box-shadow: 0 0 0 3px #eff4ff; }
.nuiseo-table-wrap { width: 100%; overflow-x: auto; }
.nuiseo-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nuiseo-table th { padding: 11px 12px; border-bottom: 1px solid #e4e7ec; color: #667085; background: #f9fafb; text-align: left; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.nuiseo-table td { padding: 14px 12px; border-bottom: 1px solid #eaecf0; color: #344054; vertical-align: middle; }
.nuiseo-table tbody tr:hover { background: #fcfcfd; }
.nuiseo-table a { color: #175cd3; font-weight: 600; }
.nuiseo-action-column { width: 76px; text-align: right !important; }
.nuiseo-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; color: #667085; font-size: 13px; }
.nuiseo-badge { display: inline-flex !important; align-items: center; width: max-content; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.nuiseo-badge.success { color: #027a48; background: #ecfdf3; }
.nuiseo-badge.warning { color: #b54708; background: #fffaeb; }
.nuiseo-badge.danger { color: #b42318; background: #fef3f2; }
.nuiseo-text-danger { color: #b42318; font-weight: 700; }
.nuiseo-badge.neutral { color: #344054; background: #f2f4f7; }
.nuiseo-empty { min-height: 190px; display: grid; place-content: center; gap: 5px; text-align: center; color: #667085; }
.nuiseo-empty strong { color: #344054; }
.nuiseo-state-card { max-width: 560px; margin: 80px auto; padding: 34px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; text-align: center; }
.nuiseo-state-card h2 { margin: 14px 0 6px; }
.nuiseo-state-card p { color: #667085; line-height: 1.55; }
.nuiseo-error-card { border-color: #fecdca; }
.nuiseo-spinner { width: 32px; height: 32px; margin: auto; border: 3px solid #dbeafe; border-top-color: #2563eb; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nuiseo-detail-list { display: grid; gap: 0; margin: 0; }
.nuiseo-detail-list > div { display: grid; grid-template-columns: minmax(130px, .65fr) 1.35fr; gap: 18px; padding: 13px 0; border-top: 1px solid #eaecf0; }
.nuiseo-detail-list > div:first-child { border-top: 0; }
.nuiseo-detail-list dt { color: #667085; font-size: 13px; }
.nuiseo-detail-list dd { margin: 0; color: #101828; font-size: 14px; overflow-wrap: anywhere; }
.nuiseo-detail-list a { color: #175cd3; font-weight: 600; }
.nuiseo-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.nuiseo-detail-grid > div:nth-child(2) { border-top: 0; }
.nuiseo-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px !important; }
.nuiseo-user-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #eaecf0; border-radius: 10px; }
.nuiseo-user-card strong, .nuiseo-user-card span { display: block; }
.nuiseo-user-card span { margin-top: 3px; color: #667085; font-size: 13px; }
.nuiseo-muted { max-width: 760px; margin: 18px 0 0; color: #667085; line-height: 1.6; }
.nuiseo-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nuiseo-admin-grid > div { padding: 18px; border: 1px solid #eaecf0; border-radius: 10px; }
.nuiseo-admin-grid span, .nuiseo-admin-grid strong { display: block; }
.nuiseo-admin-grid span { color: #667085; font-size: 12px; }
.nuiseo-admin-grid strong { margin-top: 6px; font-size: 14px; }
.nuiseo-detail-actions { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid #eaecf0; border-radius: 11px; background: #fcfcfd; }
.nuiseo-detail-actions strong, .nuiseo-detail-actions span { display: block; }
.nuiseo-detail-actions span { margin-top: 4px; color: #667085; font-size: 13px; }
.nuiseo-action-feedback { margin-top: 14px; display: grid; gap: 3px; padding: 13px 15px; border: 1px solid #b2ddff; border-radius: 9px; color: #175cd3; background: #eff8ff; }
.nuiseo-action-feedback strong { font-size: 13px; }
.nuiseo-action-feedback span { font-size: 13px; }
.nuiseo-action-feedback.is-success { border-color: #abefc6; color: #067647; background: #ecfdf3; }
.nuiseo-action-feedback.is-error { border-color: #fecdca; color: #b42318; background: #fef3f2; }
.nuiseo-setup-banner { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,260px) auto; align-items: center; gap: 22px; padding: 22px; border: 1px solid #b2ddff; border-radius: 14px; background: #eff8ff; }
.nuiseo-setup-banner h2, .nuiseo-setup-hero h2 { margin: 4px 0 6px; font-size: 21px; }
.nuiseo-setup-banner p:not(.nuiseo-eyebrow), .nuiseo-setup-hero p:not(.nuiseo-eyebrow) { margin: 0; color: #475467; line-height: 1.5; }
.nuiseo-setup-banner-progress { display: grid; gap: 6px; }
.nuiseo-setup-banner-progress strong { font-size: 20px; }
.nuiseo-setup-banner-progress small { color: #667085; }
.nuiseo-progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #d1e9ff; }
.nuiseo-progress-track span { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: #2563eb; transition: width .25s ease; }
.nuiseo-setup-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; }
.nuiseo-setup-score { min-width: 112px; text-align: right; }
.nuiseo-setup-score strong, .nuiseo-setup-score span { display: block; }
.nuiseo-setup-score strong { font-size: 30px; }
.nuiseo-setup-score span { margin-top: 4px; color: #667085; font-size: 12px; }
.nuiseo-setup-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 18px; align-items: start; }
.nuiseo-setup-steps { display: grid; gap: 7px; position: sticky; top: 102px; }
.nuiseo-setup-step { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; color: #344054; text-align: left; cursor: pointer; }
.nuiseo-setup-step:hover { border-color: #b2ddff; }
.nuiseo-setup-step.active { border-color: #84adff; background: #eff4ff; }
.nuiseo-setup-step.complete { border-color: #abefc6; }
.nuiseo-setup-step strong, .nuiseo-setup-step small { display: block; }
.nuiseo-setup-step strong { font-size: 13px; }
.nuiseo-setup-step small { margin-top: 2px; color: #667085; font-size: 11px; }
.nuiseo-step-index { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #f2f4f7; font-size: 12px; font-weight: 800; }
.nuiseo-setup-step.active .nuiseo-step-index { color: #175cd3; background: #dbeafe; }
.nuiseo-setup-step.complete .nuiseo-step-index { color: #067647; background: #dcfae6; }
.nuiseo-setup-workspace { min-width: 0; }
.nuiseo-help-text { margin: -4px 0 20px; color: #667085; line-height: 1.55; }
.nuiseo-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.nuiseo-form-grid label { display: grid; gap: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.nuiseo-form-grid input, .nuiseo-form-grid select { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; outline: none; font-weight: 400; }
.nuiseo-form-grid input:focus, .nuiseo-form-grid select:focus { border-color: #84adff; box-shadow: 0 0 0 3px #eff4ff; }
.nuiseo-form-span-2 { grid-column: 1 / -1; }
.nuiseo-optional { color: #98a2b3; font-weight: 400; }
.nuiseo-inline-action { display: flex; align-items: end; }
.nuiseo-inline-action button { width: 100%; }
.nuiseo-setup-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.nuiseo-upload-box { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 16px; border: 1px dashed #b8c2d1; border-radius: 10px; background: #fcfcfd; }
.nuiseo-upload-box.vertical { align-items: flex-start; flex-direction: column; }
.nuiseo-upload-box > div:first-child { flex: 1; }
.nuiseo-upload-box strong, .nuiseo-upload-box span { display: block; }
.nuiseo-upload-box span { margin-top: 3px; color: #667085; font-size: 12px; }
.nuiseo-upload-box input[type=file] { max-width: 100%; }
.nuiseo-compact-list { display: grid; gap: 8px; margin-top: 18px; }
.nuiseo-compact-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border: 1px solid #eaecf0; border-radius: 8px; }
.nuiseo-compact-list span { color: #667085; font-size: 12px; }
.nuiseo-integration-grid, .nuiseo-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.nuiseo-integration-card { display: grid; gap: 16px; padding: 18px; border: 1px solid #e4e7ec; border-radius: 11px; }
.nuiseo-integration-card strong, .nuiseo-integration-card span { display: block; }
.nuiseo-integration-card > div > span { margin-top: 5px; color: #667085; font-size: 12px; line-height: 1.45; }
.nuiseo-card-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nuiseo-check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.nuiseo-check-row { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #e4e7ec; border-radius: 9px; cursor: pointer; }
.nuiseo-check-row input, .nuiseo-toggle-list input { margin-top: 3px; }
.nuiseo-check-row strong, .nuiseo-check-row small, .nuiseo-toggle-list strong, .nuiseo-toggle-list small { display: block; }
.nuiseo-check-row small, .nuiseo-toggle-list small { margin-top: 3px; color: #667085; font-size: 11px; line-height: 1.4; }
.nuiseo-choice-card { padding: 18px; border: 1px solid #e4e7ec; border-radius: 11px; background: #fff; text-align: left; cursor: pointer; }
.nuiseo-choice-card.selected { border-color: #84adff; background: #eff4ff; }
.nuiseo-choice-card strong, .nuiseo-choice-card span { display: block; }
.nuiseo-choice-card span { margin-top: 6px; color: #667085; font-size: 12px; line-height: 1.45; }
.nuiseo-review-callout { display: grid; gap: 4px; margin-top: 18px; padding: 14px; border: 1px solid #b2ddff; border-radius: 9px; color: #175cd3; background: #eff8ff; }
.nuiseo-review-callout.warning { border-color: #fedf89; color: #93370d; background: #fffaeb; }
.nuiseo-review-callout span { font-size: 12px; line-height: 1.5; }
.nuiseo-test-list { display: grid; gap: 8px; margin-top: 18px; }
.nuiseo-test-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eaecf0; }
.nuiseo-test-list .is-pass { color: #067647; }
.nuiseo-test-list .is-fail { color: #b42318; }
.nuiseo-toggle-list { display: grid; gap: 9px; }
.nuiseo-toggle-list label { display: flex; gap: 11px; padding: 12px; border: 1px solid #e4e7ec; border-radius: 9px; cursor: pointer; }
.nuiseo-assistance-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nuiseo-assistance-panel h2 { margin: 4px 0 6px; }
.nuiseo-assistance-panel p:not(.nuiseo-eyebrow) { margin: 0; color: #667085; line-height: 1.5; }
.nuiseo-assistance-actions { display: grid; justify-items: end; gap: 10px; min-width: 290px; }
.nuiseo-modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(16,24,40,.55); }
.nuiseo-modal { width: min(100%, 520px); padding: 24px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; box-shadow: 0 24px 48px rgba(16,24,40,.22); }
.nuiseo-modal h2 { margin: 5px 0 10px; font-size: 22px; }
.nuiseo-modal p:not(.nuiseo-eyebrow) { margin: 0 0 18px; color: #667085; line-height: 1.55; }
.nuiseo-modal label { display: block; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.nuiseo-modal textarea { width: 100%; resize: vertical; padding: 10px 11px; border: 1px solid #d0d5dd; border-radius: 8px; outline: none; }
.nuiseo-modal textarea:focus { border-color: #84adff; box-shadow: 0 0 0 3px #eff4ff; }
.nuiseo-modal-actions { margin-top: 20px; display: flex; justify-content: flex-end; gap: 10px; }
.nuiseo-overlay { display: none; }
@media (max-width: 1100px) {
    .nuiseo-setup-banner { grid-template-columns: 1fr; }
    .nuiseo-setup-banner-progress { max-width: 360px; }
    .nuiseo-setup-layout { grid-template-columns: 1fr; }
    .nuiseo-setup-steps { position: static; grid-template-columns: repeat(4,minmax(0,1fr)); }
    .nuiseo-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nuiseo-grid-two { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .nuiseo-setup-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nuiseo-form-grid, .nuiseo-integration-grid, .nuiseo-choice-grid, .nuiseo-check-grid { grid-template-columns: 1fr; }
    .nuiseo-form-span-2 { grid-column: auto; }
    .nuiseo-assistance-panel { align-items: stretch; flex-direction: column; }
    .nuiseo-assistance-actions { justify-items: stretch; min-width: 0; }
    .nuiseo-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
    .nuiseo-sidebar.is-open { transform: translateX(0); }
    .nuiseo-overlay { display: block; position: fixed; inset: 0; z-index: 20; border: 0; background: rgba(16,24,40,.42); }
    .nuiseo-main { margin-left: 0; }
    .nuiseo-menu-button { display: inline-grid; place-items: center; }
    .nuiseo-topbar { padding: 18px 20px; }
    .nuiseo-content { padding: 22px 18px 42px; }
    .nuiseo-secure-indicator { display: none; }
    .nuiseo-panel-header.responsive { align-items: stretch; flex-direction: column; }
    .nuiseo-filters { width: 100%; }
    .nuiseo-filters input, .nuiseo-filters select { min-width: 0; flex: 1; }
    .nuiseo-detail-grid { grid-template-columns: 1fr; }
    .nuiseo-detail-grid > div:nth-child(2) { border-top: 1px solid #eaecf0; }
}
@media (max-width: 760px) {
    .nuiseo-table-wrap.nuiseo-responsive-cards {
        overflow: visible;
    }
    .nuiseo-responsive-cards .nuiseo-table,
    .nuiseo-responsive-cards .nuiseo-table tbody,
    .nuiseo-responsive-cards .nuiseo-table tr,
    .nuiseo-responsive-cards .nuiseo-table td {
        display: block;
        width: 100%;
    }
    .nuiseo-responsive-cards .nuiseo-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .nuiseo-responsive-cards .nuiseo-table tbody {
        display: grid;
        gap: 14px;
    }
    .nuiseo-responsive-cards .nuiseo-table tbody tr {
        padding: 14px 16px;
        border: 1px solid #e4e7ec;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    }
    .nuiseo-responsive-cards .nuiseo-table td {
        display: grid;
        grid-template-columns: minmax(108px, 36%) minmax(0, 1fr);
        align-items: start;
        justify-items: end;
        gap: 14px;
        padding: 9px 0;
        border-bottom: 1px solid #eaecf0;
        text-align: right;
        overflow-wrap: anywhere;
    }
    .nuiseo-responsive-cards .nuiseo-table td:last-child {
        border-bottom: 0;
    }
    .nuiseo-responsive-cards .nuiseo-table td::before {
        content: attr(data-label);
        justify-self: start;
        color: #667085;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .03em;
        line-height: 1.35;
        text-align: left;
        text-transform: uppercase;
    }
    .nuiseo-responsive-cards .nuiseo-table td > span,
    .nuiseo-responsive-cards .nuiseo-table td > a,
    .nuiseo-responsive-cards .nuiseo-table td > button {
        min-width: 0;
        margin: 0;
        overflow-wrap: anywhere;
        text-align: right;
        justify-self: end;
    }
    .nuiseo-responsive-cards .nuiseo-table td:first-child {
        color: #101828;
        font-size: 15px;
        font-weight: 700;
    }
    .nuiseo-responsive-cards .nuiseo-action-column {
        width: 100%;
        text-align: right !important;
    }
    .nuiseo-responsive-cards .nuiseo-row-button {
        min-height: 36px;
        padding: 7px 13px;
        border: 1px solid #d0d5dd;
        border-radius: 8px;
        background: #fff;
    }
    .nuiseo-responsive-cards .nuiseo-text-danger {
        line-height: 1.45;
    }
}

@media (max-width: 420px) {
    .nuiseo-responsive-cards .nuiseo-table td {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 5px;
        text-align: left;
    }
    .nuiseo-responsive-cards .nuiseo-table td > span,
    .nuiseo-responsive-cards .nuiseo-table td > a,
    .nuiseo-responsive-cards .nuiseo-table td > button {
        justify-self: start;
        text-align: left;
    }
}


.nuiseo-service-groups { display: grid; gap: 18px; margin-top: 18px; }
.nuiseo-service-group { padding: 16px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fcfcfd; }
.nuiseo-service-group-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.nuiseo-service-group-header h3 { margin: 0; color: #101828; font-size: 15px; }
.nuiseo-service-group-header p { margin: 5px 0 0; color: #667085; font-size: 12px; line-height: 1.45; }
.nuiseo-service-group .nuiseo-check-row { background: #fff; }
.nuiseo-selection-summary { color: #667085; font-size: 12px; }

@media (max-width: 560px) {
    .nuiseo-setup-steps { grid-template-columns: 1fr; }
    .nuiseo-service-group-header { flex-direction: column; gap: 8px; }
    .nuiseo-setup-hero { align-items: flex-start; flex-direction: column; }
    .nuiseo-setup-score { text-align: left; }
    .nuiseo-upload-box, .nuiseo-setup-actions { align-items: stretch; flex-direction: column; }
    .nuiseo-setup-actions button { width: 100%; }
    .nuiseo-topbar h1 { font-size: 21px; }
    .nuiseo-topbar-actions .nuiseo-secondary-button { display: none; }
    .nuiseo-stats-grid { grid-template-columns: 1fr; }
    .nuiseo-panel { padding: 17px; border-radius: 12px; }
    .nuiseo-list-row { align-items: flex-start; flex-direction: column; }
    .nuiseo-list-meta { align-items: flex-start; }
    .nuiseo-filters { flex-direction: column; }
    .nuiseo-detail-list > div { grid-template-columns: 1fr; gap: 5px; }
    .nuiseo-admin-grid { grid-template-columns: 1fr; }
    .nuiseo-detail-actions { align-items: stretch; flex-direction: column; }
    .nuiseo-detail-actions .nuiseo-danger-button { width: 100%; }
    .nuiseo-modal-actions { flex-direction: column-reverse; }
    .nuiseo-modal-actions button { width: 100%; }
    .nuiseo-pagination { align-items: stretch; flex-direction: column; text-align: center; }
    .nuiseo-pagination button { width: 100%; }
}



/* Solo / team onboarding and owner field mode */
.nuiseo-workspace-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 14px 14px; padding: 4px; border: 1px solid #344054; border-radius: 10px; background: #101828; }
.nuiseo-workspace-switch button { min-height: 34px; border: 0; border-radius: 7px; color: #98a2b3; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.nuiseo-workspace-switch button.active { color: #101828; background: #fff; }
.nuiseo-structure-fieldset { margin: 18px 0 20px; padding: 0; border: 0; }
.nuiseo-structure-fieldset > legend { color: #101828; font-size: 14px; font-weight: 800; }
.nuiseo-structure-fieldset > p { margin: 5px 0 12px; color: #667085; font-size: 12px; line-height: 1.45; }
.nuiseo-structure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nuiseo-structure-card { display: flex; align-items: flex-start; gap: 10px; min-height: 118px; padding: 14px; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff; cursor: pointer; }
.nuiseo-structure-card.selected { border-color: #84adff; background: #f5f8ff; box-shadow: 0 0 0 1px #84adff inset; }
.nuiseo-structure-card input { margin-top: 3px; }
.nuiseo-structure-card span, .nuiseo-structure-card strong, .nuiseo-structure-card small { display: block; }
.nuiseo-structure-card strong { color: #101828; font-size: 13px; }
.nuiseo-structure-card small { margin-top: 5px; color: #667085; font-size: 11px; line-height: 1.45; }
.nuiseo-solo-summary, .nuiseo-owner-field-card { margin: 14px 0 18px; padding: 16px; border: 1px solid #dbe4f0; border-radius: 12px; background: #f8fafc; }
.nuiseo-solo-summary { display: flex; align-items: center; gap: 14px; }
.nuiseo-solo-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; color: #175cd3; background: #eff4ff; font-weight: 900; }
.nuiseo-solo-summary strong, .nuiseo-solo-summary span, .nuiseo-owner-field-card strong, .nuiseo-owner-field-card span { display: block; }
.nuiseo-solo-summary span, .nuiseo-owner-field-card > div:first-child span { margin-top: 4px; color: #667085; font-size: 12px; line-height: 1.45; }
.nuiseo-owner-field-card > .nuiseo-form-grid { margin-top: 14px; }
.nuiseo-owner-field-card > button { margin-top: 12px; }
@media (max-width: 820px) { .nuiseo-structure-grid { grid-template-columns: 1fr; } .nuiseo-structure-card { min-height: auto; } }

/* Technician mobile workspace */
.nuiseo-tech-shell { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.nuiseo-tech-welcome { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; border: 1px solid #dbe4f0; border-radius: 16px; background: #fff; }
.nuiseo-tech-welcome.compact { padding: 18px 20px; }
.nuiseo-tech-welcome h2 { margin: 4px 0 5px; font-size: 24px; color: #101828; }
.nuiseo-tech-welcome p:not(.nuiseo-eyebrow) { margin: 0; color: #667085; }
.nuiseo-tech-count { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #175cd3; background: #eff4ff; font-size: 23px; font-weight: 800; }
.nuiseo-tech-timeline { display: grid; gap: 12px; }
.nuiseo-tech-job-card { display: grid; grid-template-columns: 86px minmax(0,1fr); width: 100%; padding: 0; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.nuiseo-tech-job-card:hover { border-color: #b2ccff; }
.nuiseo-tech-job-time { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 12px; border-right: 1px solid #e4e7ec; background: #f8fafc; text-align: center; }
.nuiseo-tech-job-time strong { font-size: 17px; color: #101828; }
.nuiseo-tech-job-time span { color: #667085; font-size: 11px; }
.nuiseo-tech-job-main { min-width: 0; padding: 16px 17px; }
.nuiseo-tech-job-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nuiseo-tech-job-heading > div { min-width: 0; }
.nuiseo-tech-job-heading strong, .nuiseo-tech-job-heading span { display: block; }
.nuiseo-tech-job-heading > div > strong { color: #101828; font-size: 15px; }
.nuiseo-tech-job-heading > div > span { margin-top: 4px; color: #475467; font-size: 13px; }
.nuiseo-tech-job-main p { margin: 9px 0 0; color: #667085; font-size: 12px; line-height: 1.45; }
.nuiseo-tech-job-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; color: #175cd3; font-size: 12px; font-weight: 700; }
.nuiseo-tech-next-content { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 16px; }
.nuiseo-tech-next-content strong, .nuiseo-tech-next-content span { display: block; }
.nuiseo-tech-next-content span { margin-top: 3px; color: #667085; font-size: 12px; }
.nuiseo-tech-back { justify-self: start; padding: 0; border: 0; color: #475467; background: transparent; cursor: pointer; font-weight: 700; }
.nuiseo-tech-detail-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px; border-radius: 16px; color: #fff; background: #162033; }
.nuiseo-tech-detail-hero h2 { margin: 4px 0 5px; font-size: 23px; color: #fff; }
.nuiseo-tech-detail-hero p { margin: 0; color: #d0d5dd; }
.nuiseo-tech-detail-hero .nuiseo-eyebrow { color: #b2ccff; }
.nuiseo-tech-contact-card { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; }
.nuiseo-tech-contact-card > div > span, .nuiseo-tech-contact-card > div > strong { display: block; }
.nuiseo-tech-contact-card > div > span { color: #667085; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.nuiseo-tech-contact-card > div > strong { margin-top: 4px; color: #101828; font-size: 14px; }
.nuiseo-tech-contact-actions { display: flex; gap: 8px; }
.nuiseo-tech-contact-actions a { text-decoration: none; }
.nuiseo-tech-request-note { margin: 18px 0 0; padding: 14px; border-radius: 10px; color: #344054; background: #f8fafc; line-height: 1.55; }
.nuiseo-tech-primary-action { display: grid; }
.nuiseo-tech-big-button { min-height: 52px; font-size: 15px; }
.nuiseo-tech-running, .nuiseo-tech-complete { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 16px; border-radius: 12px; }
.nuiseo-tech-running { color: #067647; background: #ecfdf3; border: 1px solid #abefc6; }
.nuiseo-tech-complete { align-items: flex-start; flex-direction: column; color: #475467; background: #f8fafc; border: 1px solid #e4e7ec; }
.nuiseo-tech-complete span { font-size: 12px; }
.nuiseo-tech-live-dot { width: 9px; height: 9px; border-radius: 999px; background: #12b76a; box-shadow: 0 0 0 4px #d1fadf; }
.nuiseo-tech-checklist { display: grid; gap: 9px; }
.nuiseo-tech-check-row { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; }
.nuiseo-tech-check-row input { margin-top: 3px; }
.nuiseo-tech-check-row strong, .nuiseo-tech-check-row small { display: block; }
.nuiseo-tech-check-row small { margin-top: 3px; color: #667085; }
.nuiseo-tech-photo-input { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 14px; border: 1px solid #d0d5dd; border-radius: 8px; color: #344054; background: #fff; cursor: pointer; font-weight: 700; }
.nuiseo-tech-photo-input input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nuiseo-tech-field { display: grid; gap: 7px; color: #344054; font-size: 13px; font-weight: 700; }
.nuiseo-tech-field textarea, .nuiseo-form-grid textarea { width: 100%; min-width: 0; resize: vertical; padding: 10px 11px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; outline: none; font: inherit; font-weight: 400; }
.nuiseo-tech-field textarea:focus, .nuiseo-form-grid textarea:focus { border-color: #84adff; box-shadow: 0 0 0 3px #eff4ff; }
.nuiseo-tech-finish-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid #b2ddff; border-radius: 14px; background: #eff8ff; }
.nuiseo-tech-finish-card strong, .nuiseo-tech-finish-card span { display: block; }
.nuiseo-tech-finish-card span { margin-top: 4px; color: #475467; font-size: 12px; }
.nuiseo-tech-incident-panel { border-color: #fedf89; }
.nuiseo-tech-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border: 1px solid #e4e7ec; border-radius: 11px; background: #f8fafc; }
.nuiseo-tech-tabs button { min-height: 40px; border: 0; border-radius: 8px; color: #667085; background: transparent; cursor: pointer; font-weight: 700; }
.nuiseo-tech-tabs button.active { color: #175cd3; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.08); }

@media (max-width: 700px) {
    .nuiseo-tech-shell { gap: 12px; }
    .nuiseo-tech-welcome { padding: 17px; border-radius: 13px; }
    .nuiseo-tech-welcome h2 { font-size: 21px; }
    .nuiseo-tech-count { width: 48px; height: 48px; border-radius: 13px; font-size: 20px; }
    .nuiseo-tech-job-card { grid-template-columns: 72px minmax(0,1fr); border-radius: 12px; }
    .nuiseo-tech-job-time { padding: 15px 8px; }
    .nuiseo-tech-job-main { padding: 14px; }
    .nuiseo-tech-job-heading { flex-direction: column; }
    .nuiseo-tech-detail-hero { padding: 17px; border-radius: 13px; }
    .nuiseo-tech-contact-card { grid-template-columns: 1fr; gap: 13px; }
    .nuiseo-tech-contact-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .nuiseo-tech-contact-actions a { text-align: center; }
    .nuiseo-tech-next-content { grid-template-columns: 1fr; }
    .nuiseo-tech-next-content button { width: 100%; }
    .nuiseo-tech-finish-card { align-items: stretch; flex-direction: column; }
    .nuiseo-tech-finish-card button { width: 100%; }
}

@media (max-width: 420px) {
    .nuiseo-tech-contact-actions { grid-template-columns: 1fr; }
    .nuiseo-tech-job-time strong { font-size: 15px; }
}