/* V223 unified interface — visual layer only, preserves forms and routes */
body.dashboard-body.admin-mode,body.dashboard-body.client-mode{--v223-orange:#ff943f;--v223-border:rgba(140,169,204,.2);--v223-radius:17px;--v223-bg:#071320;--v223-surface:#0e2438;--v223-input:#0a1c2c;--v223-ink:#ecf5ff;--v223-muted:#a3b8ce;--v223-focus:#ffb667;background:var(--v223-bg)!important;color:var(--v223-ink)}
body.dashboard-body.admin-mode .content,body.dashboard-body.client-mode .content{background:radial-gradient(circle at 85% 0%,rgba(255,145,55,.06),transparent 28%),var(--v223-bg)!important;max-width:none!important}
body.dashboard-body :is(.card,.panel,.stat-card,.table-card,.form-card,.data-card,.nx145-panel,.nx111-record-panel,.nx111-alert-card,.nx1595-widget){border-radius:var(--v223-radius)!important;border:1px solid var(--v223-border)!important;box-shadow:0 13px 28px rgba(0,0,0,.13)!important}
body.dashboard-body :is(.page-head,.section-head){margin-bottom:22px!important}body.dashboard-body .page-head h1{font-weight:850!important;letter-spacing:-.035em!important}
body.dashboard-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select){max-width:100%;border-radius:11px;min-height:40px}
body.dashboard-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus-visible{outline:2px solid var(--v223-focus)!important;outline-offset:2px!important}
body.dashboard-body :is(button,a,[tabindex]):focus-visible{outline:2px solid var(--v223-focus)!important;outline-offset:3px!important}
body.dashboard-body :is(.btn,.button,button[type=submit],.page-actions a){border-radius:11px;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
body.dashboard-body :is(.btn,.button,button[type=submit],.page-actions a):hover{filter:brightness(1.1)}
body.dashboard-body :is(table,.table){width:100%;border-collapse:separate;border-spacing:0}
body.dashboard-body table :is(th,td){padding:12px 15px;vertical-align:middle;border-bottom:1px solid var(--v223-border)}
body.dashboard-body table th{color:var(--v223-muted);font-weight:750;letter-spacing:.025em}
body.dashboard-body table tbody tr{transition:background .17s ease}body.dashboard-body table tbody tr:hover{background:rgba(110,152,198,.055)}
body.dashboard-body :is(.table-responsive,.table-wrap,.table-container,.nx1595-services){overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
body.dashboard-body .alert{border-radius:13px!important;padding:14px 16px!important}
body.dashboard-body :is(.badge,.status-badge,.tag){border-radius:999px!important}
body.dashboard-body .sidebar{scrollbar-width:thin;scrollbar-color:#29445f transparent}
body.dashboard-body .side-link,body.dashboard-body .v77-admin-link{transition:background .18s ease,color .18s ease}
body.dashboard-body.admin-mode .nx1595-quick,body.dashboard-body.client-mode .nx145-service-tile{transition:transform .18s ease,border-color .18s ease}
body.dashboard-body.admin-mode .nx1595-quick:hover,body.dashboard-body.client-mode .nx145-service-tile:hover{transform:translateY(-2px);border-color:rgba(255,148,63,.42)!important}
body.dashboard-body .v223-version{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;color:var(--v223-muted);font-size:11px;font-weight:700;letter-spacing:.035em;white-space:nowrap}
body.dashboard-body .v223-version::before{content:"";width:6px;height:6px;border-radius:50%;background:#ff943f}
body.dashboard-body[data-theme="light"]{--v223-bg:#f4f7fb;--v223-surface:#ffffff;--v223-input:#ffffff;--v223-border:#dbe5ee;--v223-ink:#18283b;--v223-muted:#556b81;--v223-focus:#e87924;background:#f4f7fb!important;color:#18283b}
body.dashboard-body[data-theme="light"] .content{background:#f4f7fb!important;color:#18283b!important}
body.dashboard-body[data-theme="light"] :is(.card,.panel,.stat-card,.table-card,.form-card,.data-card){background:#fff!important;color:#18283b!important;border-color:#dbe5ee!important}
body.dashboard-body[data-theme="light"] :is(.card,.panel,.stat-card,.table-card,.form-card,.data-card) :is(h1,h2,h3,h4,strong){color:#142539!important}
body.dashboard-body[data-theme="light"] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#fff;color:#142539;border-color:#ccd8e5}
body.dashboard-body[data-theme="light"] table :is(th,td){border-color:#dfe6ed;color:#24364c}
body.dashboard-body[data-theme="light"] table tbody tr:hover{background:#edf3fa}
body.dashboard-body[data-theme="light"] .alert{color:#19334f}
@media(max-width:900px){body.dashboard-body :is(.table-responsive,.table-wrap,.table-container,.nx1595-services){overflow-x:auto}body.dashboard-body table{min-width:610px}body.dashboard-body .content{padding:16px!important}}
@media(max-width:600px){body.dashboard-body .page-head h1{font-size:25px!important}body.dashboard-body .page-actions{display:flex;flex-wrap:wrap;gap:7px}body.dashboard-body :is(.card,.panel,.stat-card,.table-card,.form-card,.data-card){border-radius:14px!important}body.dashboard-body :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px}}
@media(prefers-reduced-motion:reduce){body.dashboard-body *,body.dashboard-body *::before,body.dashboard-body *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
