/* Final page alignment, scoped to NEXORA back office only. */
body.fx-shell-active .fx-shell{--admin-bg:#0c0c0d;--admin-surface:#101012;--admin-surface-muted:#19191c;--admin-line:rgb(255 255 255/.08);--admin-muted:#9ca3af;--admin-ink:#e5e7eb;font-family:'NEXORA Admin Prompt','Prompt',sans-serif}
html.light body.fx-shell-active .fx-shell{--admin-bg:#f6f7f9;--admin-surface:#fff;--admin-surface-muted:#f5f5f5;--admin-line:rgb(0 0 0/.08);--admin-muted:#6b7280;--admin-ink:#1f2937}
.fx-shell input,.fx-shell button,.fx-shell select,.fx-shell textarea{font:inherit}
.fx-shell .fx-admin__editor,.fx-shell .fx-panel-card,.fx-shell .nac-card{border-color:var(--admin-line);border-radius:12px;background:var(--admin-surface);box-shadow:none}
.fx-shell .fx-admin__section-head h2,.fx-shell .nac-heading h2{font-size:18px;font-weight:500;line-height:1.5}
.fx-shell .fx-admin__section-head p{color:var(--admin-muted);font-size:13px}
.fx-shell .fx-admin__filter-bar,.fx-shell .fx-panel-filter{padding:14px 0;gap:12px;align-items:end;background:transparent;border:0}
.fx-shell .fx-admin__field{border-radius:8px;border-color:var(--admin-line);min-height:40px;background:var(--admin-surface-muted)}
.fx-shell .fx-admin__button,.fx-shell .fx-admin__link{border-radius:8px;min-height:36px}
.fx-shell .fx-admin__table{border:1px solid var(--admin-line);border-radius:10px;overflow:hidden}
.fx-shell .fx-admin__table-head{background:var(--admin-surface-muted);color:var(--admin-muted);font-size:12px;font-weight:500}
.fx-shell .fx-admin__table-row{border-color:var(--admin-line);padding-block:16px;font-size:13px}
.fx-shell .fx-order-row{border:1px solid var(--admin-line);border-radius:10px;padding:16px;background:var(--admin-surface)}
.fx-shell .fx-order-row__main strong{font-weight:500}
.fx-shell .nd-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fx-shell .nd-kpi{padding:20px;min-height:186px;border-radius:12px;background:var(--admin-surface)}
.fx-shell .nd-kpi p{font-size:14px;line-height:20px;color:var(--admin-muted)}
.fx-shell .nd-kpi>strong{font-size:26px;font-weight:500;letter-spacing:0;line-height:1.5}
.fx-shell .nd-kpi>strong span{font-size:16px;font-weight:400}
.fx-shell .nd-kpi small,.fx-shell .nd-kpi>.nd-muted{font-size:12px;line-height:1.55}
.fx-shell .nd-chip{font-size:12px;font-weight:400;border-radius:6px;padding:4px 8px}
.fx-shell .nd-kpi-top{margin-bottom:12px}
.fx-shell .nd-service-note{min-height:96px;background:var(--admin-surface);padding:20px;border-radius:14px}
.fx-shell .nd-panel{background:var(--admin-surface);border-color:var(--admin-line)}
.fx-shell .nd-panel h2{font-weight:500}
.fx-shell .nac-page{min-width:0}
.fx-shell .nac-page input,.fx-shell .nac-page textarea,.fx-shell .nac-page select{max-width:100%}
@media(max-width:1279px){.fx-shell .nd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023.98px){
 .fx-shell .fx-admin__editor{padding:16px 12px}.fx-shell .fx-admin__section-head{gap:12px;align-items:start}
 .fx-shell .fx-admin__filter-bar,.fx-shell .fx-panel-filter{grid-template-columns:minmax(0,1fr);gap:10px}
 .fx-shell .fx-admin__table-head{display:none}.fx-shell .fx-users-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px}
 .fx-shell .fx-users-row>div{min-width:0}.fx-shell .fx-users-row>div:nth-child(2){text-align:right}.fx-shell .fx-users-row .fx-admin__row-actions{justify-content:flex-end}
 .fx-shell .fx-admin__table-row strong{overflow-wrap:anywhere}
 .fx-shell .fx-order-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}.fx-shell .fx-order-row__keys{grid-column:1/-1;min-width:0}
 .fx-shell .fx-order-row__id{overflow-wrap:anywhere}
 .fx-shell .nd-dashboard{gap:16px}.fx-shell .nd-kpis{gap:10px}.fx-shell .nd-kpi{padding:14px;min-height:154px}
 .fx-shell .nd-kpi p{font-size:12px;line-height:18px}.fx-shell .nd-kpi>strong{font-size:22px;line-height:1.5}
 .fx-shell .nd-kpi>strong span{font-size:13px}.fx-shell .nd-kpi small,.fx-shell .nd-kpi>.nd-muted{font-size:11px}
 .fx-shell .nd-chip{font-size:11px;line-height:16px;padding:3px 6px}.fx-shell .nd-kpi-top{margin-bottom:10px}
 .fx-shell .nd-service-note{padding:16px;min-height:110px}
 .fx-shell .nd-grid-2{grid-template-columns:minmax(0,1fr)}
 .fx-shell .fx-admin__filter-bar label,.fx-shell .fx-panel-filter label{min-width:0}
 .fx-shell .fx-admin__actions{flex-wrap:wrap}.fx-shell .fx-admin__actions>button{min-height:40px}
}
@media(max-width:370px){.fx-shell .nd-kpi{padding:11px}.fx-shell .nd-kpi>strong{font-size:20px}.fx-shell .nd-chip{font-size:10px}}

.fx-shell .nd-service-note>div{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.fx-shell .nd-service-note .nd-service-period{color:var(--admin-ink);font-weight:500;font-size:18px;line-height:1.55}
.fx-shell .nd-service-note small{font-size:12px;color:var(--admin-muted)}
.fx-shell .nd-service-icon{width:46px;height:46px;background:rgb(255 0 0/.06);border:1px solid rgb(255 0 0/.14);color:#f00;border-radius:12px}
.fx-shell .nd-service-icon svg{width:24px;height:24px}
.fx-shell .nd-service-manage{display:flex;justify-content:center;align-items:center;padding:10px 16px;border:1px solid var(--admin-line);border-radius:8px;color:var(--admin-ink);text-decoration:none;white-space:nowrap}
@media(max-width:1023.98px){.fx-shell .nd-service-note{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:16px}.fx-shell .nd-service-manage{grid-column:1/-1}.fx-shell .nd-service-note .nd-service-period{font-size:15px}.fx-shell .nd-service-note small{font-size:11px}}

/* Same header tools and two-column card proportions as the reference. */
.fx-shell[data-admin-reference] .nd-view-tools{display:flex;align-items:center;gap:8px;margin-bottom:24px;flex-wrap:wrap}
.fx-shell[data-admin-reference] .nd-view-tools label,.fx-shell[data-admin-reference] .nd-view-tools>a{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:5px 12px;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-surface-muted);color:var(--admin-ink);font-size:13px;font-weight:500;text-decoration:none}
.fx-shell[data-admin-reference] .nd-view-tools label>span{color:var(--admin-primary)}
.fx-shell[data-admin-reference] .nd-view-tools select{min-height:0;border:0;padding:0 16px 0 0;background:transparent;color:inherit;font:inherit;max-width:190px}
.fx-shell[data-admin-reference] .nd-view-content{display:grid;gap:16px}
.fx-shell[data-admin-reference] .nd-view-content>.nd-service-note{margin-bottom:0}
.fx-shell[data-admin-reference] .nd-kpi>strong{font-size:24px;font-weight:500;line-height:1.4}
.fx-shell[data-admin-reference] .nd-kpi>small{margin-top:12px}
.fx-shell[data-admin-reference] .nd-view-content>.nd-grid-2{gap:16px}
@media(max-width:1023.98px){
 body.fx-shell-active #app .fx-shell[data-admin-reference][data-shell-active="overview"] .fx-shell__page-actions{display:none}
 body.fx-shell-active #app .fx-shell[data-admin-reference][data-shell-active="overview"] .fx-shell__updated{display:none}
 .fx-shell[data-admin-reference][data-shell-active="overview"] .fx-shell__pagehead{padding-top:12px}
 .fx-shell[data-admin-reference] .nd-view-tools{margin-bottom:24px;gap:8px}
 .fx-shell[data-admin-reference] .nd-view-tools label,.fx-shell[data-admin-reference] .nd-view-tools>a{font-size:12px;min-height:32px;padding:5px 10px}
 .fx-shell[data-admin-reference] .nd-kpis{gap:10px}
 .fx-shell[data-admin-reference] .nd-kpi{min-height:155px;padding:14px 13px}
 .fx-shell[data-admin-reference] .nd-kpi-top{margin-bottom:8px}
 .fx-shell[data-admin-reference] .nd-kpi>p{font-size:12px;line-height:1.5;min-height:18px}
 .fx-shell[data-admin-reference] .nd-kpi>strong{font-size:19px;line-height:1.45;margin-top:7px}
 .fx-shell[data-admin-reference] .nd-kpi>small{font-size:11px;line-height:1.45;margin-top:12px}
 .fx-shell[data-admin-reference] .nd-kpi>.nd-muted{font-size:10px;line-height:1.5;min-height:15px}
 body.fx-shell-active #app .fx-shell[data-admin-reference] .fx-shell__mobile-item:is([aria-current='page'],.is-active){background:transparent;position:relative}
 body.fx-shell-active #app .fx-shell[data-admin-reference] .fx-shell__mobile-item:is([aria-current='page'],.is-active)::after{content:'';position:absolute;bottom:0;width:4px;height:4px;border-radius:50%;background:var(--admin-primary)}
 body.fx-shell-active #app .fx-shell[data-admin-reference] .fx-shell__mobile-item:is([aria-current='page'],.is-active)>.fx-shell__icon{background:var(--admin-nav-tint);border-radius:8px;box-shadow:0 0 0 9px var(--admin-nav-tint)}
}

.fx-shell[data-admin-reference][data-shell-active="overview"] .fx-admin__header+.fx-admin__hint{display:none}

.fx-shell[data-admin-reference][data-shell-active="overview"] main.fx-admin>p.fx-admin__hint[role="status"]{display:none}
