/* Additive operational UI, uses the existing design tokens. */
.ops-layout{display:grid;grid-template-columns:minmax(240px,310px) minmax(0,1fr);gap:18px;align-items:start}.ops-runs-panel{padding:16px;min-width:0}.ops-filter{display:flex;gap:10px;align-items:center;margin-bottom:16px}.ops-filter label{white-space:nowrap;font-weight:600}.ops-filter .select{min-width:0}.ops-run{width:100%;text-align:left;border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:14px;margin-bottom:10px;color:var(--fg);cursor:pointer;font:inherit}.ops-run:hover,.ops-run.active{border-color:var(--accent-strong);background:var(--accent-soft)}.ops-run>div{display:flex;align-items:center;gap:7px;justify-content:space-between;flex-wrap:wrap}.ops-run p{font-size:12px;line-height:1.65;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ops-run small{display:block;margin-top:8px;color:var(--muted)}.ops-detail{min-width:0;padding:22px}.ops-detail-header{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.ops-detail-header h2{margin:8px 0 10px}.ops-detail-header small{word-break:break-all;color:var(--muted)}.ops-detail-header p{color:var(--muted);font-size:12px}.ops-phases{display:flex;gap:6px;padding:0;list-style:none;flex-wrap:wrap;margin:20px 0}.ops-phases li{padding:7px 9px;border-radius:7px;background:var(--bg);color:var(--muted);font-size:12px}.ops-phases .done{color:var(--ink-green,#16815b)}.ops-phases .current{background:var(--accent-soft);color:var(--accent-strong);font-weight:700}.ops-summary{padding:15px 17px;border:1px solid var(--border);border-radius:10px;background:var(--bg);line-height:1.8;overflow-wrap:anywhere}.ops-summary.warn{border-color:#ecd4a0;background:color-mix(in srgb,var(--surface) 90%,#f8cf55)}.ops-summary.bad{border-color:var(--accent-strong);background:var(--accent-soft)}.ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.ops-metrics article{padding:14px;background:var(--bg);border:1px solid var(--border);border-radius:10px}.ops-metrics strong{display:block;font-size:24px;margin-bottom:6px}.ops-metrics span{font-size:12px;color:var(--muted)}.ops-count-note{font-size:12px;line-height:1.8;color:var(--muted)}.ops-source-lines{display:grid;gap:8px;margin:16px 0;padding:14px 0;border-block:1px solid var(--border);font-size:13px;overflow-wrap:anywhere}.ops-issues-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ops-issues-head h3 span{font-size:13px;color:var(--muted);margin-left:8px}.ops-issue{border:1px solid var(--border);border-left:3px solid #d0a94c;border-radius:10px;margin-bottom:12px;padding:17px}.ops-issue>div:first-child{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ops-issue p{margin:9px 0;line-height:1.75;overflow-wrap:anywhere}.ops-issue small,.ops-advice{color:var(--muted)}.ops-candidates{font-size:12px;padding:10px;background:var(--bg);margin:12px 0;border-radius:7px}.ops-empty{text-align:center;color:var(--muted);padding:35px 15px;line-height:1.8}.ops-source-focus{border:1px solid var(--accent-strong);border-radius:10px;background:var(--accent-soft);padding:16px;margin-bottom:15px;line-height:1.7}.ops-source-focus .btn{margin-right:10px}.ops-located{outline:2px solid var(--accent-strong)!important;outline-offset:3px;scroll-margin-top:180px}.ops-issues .actions{margin-top:12px}
#ops-alert-stack{position:fixed;z-index:150;right:22px;top:calc(var(--ops-top,64px) + 12px);width:min(420px,calc(100vw - 32px));display:flex;flex-direction:column;gap:10px;pointer-events:none}.ops-alert{pointer-events:auto;position:relative;padding:17px 38px 17px 18px;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--ink-green,#17815d);border-radius:11px;box-shadow:0 10px 35px #15243525;color:var(--fg)}.ops-alert.warn{border-left-color:#c69633}.ops-alert.bad{border-left-color:var(--accent-strong)}.ops-alert p{margin:0;font-size:13px;line-height:1.7}.ops-alert button{cursor:pointer;border:0;background:transparent;color:var(--accent-strong);font:inherit;font-size:12px;padding:10px 0 0}.ops-alert .ops-alert-close{position:absolute;right:12px;top:8px;font-size:23px;padding:0;color:var(--muted)}
.sandbox-banner{display:grid;gap:8px;padding:20px;border:1px solid #d2bc80;border-radius:12px;background:color-mix(in srgb,var(--surface) 88%,#efc14b);margin-bottom:18px;line-height:1.7}.sandbox-banner span{color:var(--muted);font-size:13px}.sandbox-create,.sandbox-simulator{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:14px;align-items:end}.sandbox-create{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto auto}.sandbox-create .field,.sandbox-simulator .field{margin:0}.sandbox-result{padding:22px;border:1px solid var(--border);border-radius:12px;background:var(--bg);margin-top:20px;line-height:1.75}.sandbox-result h3{margin:12px 0}.sandbox-result p{color:var(--muted)}#sandbox-record{min-width:0;max-width:100%}#sandbox-info{color:var(--muted);line-height:1.7;font-size:13px}#delivery-dialog{width:min(520px,calc(100vw - 32px));padding:26px;border:1px solid var(--border);border-radius:14px;color:var(--fg);background:var(--surface)}#delivery-dialog::backdrop{background:#11182765}#delivery-dialog p{line-height:1.75;color:var(--muted)}#delivery-dialog .actions{justify-content:flex-end;margin-top:18px}
.admin-body .sidebar-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;gap:8px}.sidebar-quick-actions .sidebar-quick-button{width:100%}.sidebar-account-menu{max-height:calc(100dvh - 145px);overflow:auto}.sidebar-account-menu .theme-picker{width:100%;position:relative;overflow:visible}.sidebar-account-menu .profile-theme-trigger{width:100%;display:flex;align-items:center;gap:10px;text-align:left;color:inherit}.profile-theme-trigger>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}.sidebar-account-menu .theme-menu{position:fixed!important;z-index:180!important;width:min(380px,calc(100vw - 24px))!important;min-width:320px;margin:0!important;padding:12px!important;box-shadow:0 18px 50px rgba(25,32,45,.18)!important;border:1px solid var(--border)!important;border-radius:16px!important;background:var(--surface)!important;bottom:auto!important;right:auto!important}.sidebar-account-menu .theme-menu[hidden]{display:none}.sidebar-account-menu .theme-menu>small{font-size:13px!important;padding:6px 8px 12px!important}.sidebar-account-menu .theme-menu button{display:grid!important;grid-template-columns:88px 1fr!important;align-items:center!important;justify-content:stretch!important;gap:14px!important;min-height:58px!important;padding:10px 14px!important;margin:4px 0!important;border:1px solid transparent!important;border-radius:12px!important}.sidebar-account-menu .theme-menu button[aria-checked="true"]{border-color:var(--accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)!important;background:var(--accent-soft)!important}.sidebar-account-menu .theme-menu button[aria-checked="true"]::after{content:none!important}.sidebar-account-menu .theme-menu button span,.sidebar-account-menu .theme-menu button i{white-space:nowrap!important;writing-mode:horizontal-tb!important;word-break:keep-all!important}.sidebar-account-menu .theme-menu button span{font-size:15px!important}.sidebar-account-menu .theme-menu i{font-size:13px!important;text-align:right!important}.published-toolbar #record-state-filter{max-width:190px}#clear-record-location[hidden]{display:none}.record-actions{flex-wrap:wrap}.record-actions [data-delivery-record]{color:var(--accent-strong)}.delivery-paused{border-color:#b78824!important;color:#9c6e14!important}
.admin-body .source-pair-grid{align-items:start}.admin-body .source-card{display:block}.admin-body .source-card>.field:last-child{margin-top:20px}.admin-body .source-card .source-hint{min-height:0;overflow-wrap:anywhere}.source-field-label{gap:10px}.source-field-label .btn{white-space:nowrap}.admin-body .source-card{padding:20px}.admin-body .online-source-actions{flex-wrap:wrap}
.activation-native-shell{display:block}.activation-sticky-nav{position:sticky;top:var(--ops-top,64px);z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:16px;box-shadow:0 4px 14px #1524350c;overflow:hidden}.activation-sticky-nav .activation-subnav{position:static;top:auto;box-shadow:none;border:0;border-bottom:1px solid var(--border);border-radius:0;background:var(--surface)}.activation-quick-nav{display:flex;align-items:center;gap:7px;padding:9px 12px;overflow-x:auto;white-space:nowrap;background:var(--surface)}.activation-quick-nav>span{color:var(--muted);font-size:12px;margin-right:4px}.activation-quick-nav button{border:1px solid var(--border);border-radius:20px;padding:7px 11px;white-space:nowrap;color:var(--muted);background:var(--bg);font:inherit;font-size:12px;cursor:pointer}.activation-quick-nav button.active{border-color:var(--accent-strong);color:var(--accent-strong);background:var(--accent-soft)}.activation-quick-nav button.in-section{color:var(--accent-strong)}.activation-preview-panel{top:calc(var(--ops-top,64px) + var(--ops-nav,110px) + 14px);max-height:calc(100dvh - var(--ops-top,64px) - var(--ops-nav,110px) - 30px)}.activation-native-workspace.preview-open{grid-template-columns:minmax(0,1fr) minmax(310px,400px)}.activation-native-panel,.activation-material-card,.activation-option-heading{scroll-margin-top:calc(var(--ops-top,64px) + var(--ops-nav,110px) + 16px)}
@media(max-width:1450px){.ops-layout{grid-template-columns:250px minmax(0,1fr)}.sandbox-create{grid-template-columns:1fr 1fr}.ops-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.activation-native-workspace.preview-open .activation-material-grid{grid-template-columns:1fr}}
@media(max-width:1100px){.ops-layout{grid-template-columns:1fr}.ops-runs-panel #ops-runs{max-height:320px;overflow:auto}.sandbox-simulator{grid-template-columns:1fr}.activation-native-workspace.preview-open{grid-template-columns:1fr}.activation-preview-panel{position:relative;top:auto;max-height:none}.ops-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.sandbox-create{grid-template-columns:1fr}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-detail{padding:15px}.ops-detail-header{display:block}.published-toolbar #record-state-filter{max-width:none}.activation-subnav button{padding:10px 11px}.activation-sticky-nav{border-radius:8px}.ops-alert{padding:14px 32px 14px 14px}.ops-layout{gap:12px}}
/* Native scroll-to-focus must account for the sticky application header. */
#admin-view{scroll-padding-top:calc(var(--ops-top,64px) + 18px);scroll-padding-bottom:24px}
.admin-section button,.admin-section input,.admin-section select{scroll-margin-top:calc(var(--ops-top,64px) + 18px)}
/* Notification text never blocks workspace controls; the explicit actions remain clickable. */
.ops-alert{pointer-events:none}.ops-alert button{pointer-events:auto}

.activation-sticky-nav{top:var(--ops-sticky-top,0px)}
@media(min-width:1101px){.activation-preview-panel{top:calc(var(--ops-sticky-top,0px) + var(--ops-nav,110px) + 14px)}}
/* Keep wide tables inside their own scrollport instead of expanding the workspace grid. */
.admin-body .admin-section{grid-template-columns:minmax(0,1fr);min-width:0}
.admin-body .admin-section>.panel,.admin-body .table-wrap{min-width:0;max-width:100%}
@media(max-width:760px){
 .global-import-bar>div{flex-basis:100%;min-width:0}
 .online-source-panel .panel-head,.online-sync-bar,.published-toolbar{flex-wrap:wrap}
 .online-source-panel .panel-head>div,.source-card header>div{min-width:0}
 .online-auth-fields{flex-wrap:wrap}
 .admin-title>div{min-width:0}
 .source-field-label{flex-wrap:wrap}
 .source-mode-row .select{max-width:100%}
 .ops-summary,.sandbox-banner{overflow-wrap:anywhere}
}

/* 2026-09-19 feedback/source UX */
.feedback-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;gap:10px;align-items:center}.feedback-message-preview{max-width:460px;white-space:normal;line-height:1.5}.feedback-status-pending{color:#a06b00}.feedback-status-processing{color:#2162c5}.feedback-status-resolved{color:#168755}@media(max-width:760px){.feedback-toolbar{grid-template-columns:1fr}.sidebar-account-menu .theme-menu{min-width:min(340px,calc(100vw - 24px))!important}}
