/* NSCRA Admin Panel 2.0.16 — canonical responsive enterprise UI
   This is the only high-priority runtime presentation layer.
   Legacy styles are retained in a low-priority CSS cascade layer for rare components only. */

:root{
  --ui-sidebar:252px;
  --ui-header:62px;
  --ui-content:1360px;
  --ui-page-pad:clamp(16px,2vw,30px);
  --ui-space-1:4px;
  --ui-space-2:8px;
  --ui-space-3:12px;
  --ui-space-4:16px;
  --ui-space-5:20px;
  --ui-space-6:24px;
  --ui-space-8:32px;
  --ui-control:42px;
  --ui-radius-xs:7px;
  --ui-radius-sm:10px;
  --ui-radius:12px;
  --ui-radius-lg:16px;
  --ui-bg:#f5f7fa;
  --ui-surface:#ffffff;
  --ui-surface-2:#f8fafc;
  --ui-surface-3:#f2f5f9;
  --ui-text:#172033;
  --ui-text-2:#344054;
  --ui-muted:#667085;
  --ui-line:#e3e8ef;
  --ui-line-strong:#cfd8e3;
  --ui-primary:var(--accent,#2563eb);
  --ui-primary-strong:var(--accent-strong,#1d4ed8);
  --ui-primary-soft:#eff6ff;
  --ui-success:#067647;
  --ui-success-soft:#ecfdf3;
  --ui-warning:#b54708;
  --ui-warning-soft:#fffaeb;
  --ui-danger:#b42318;
  --ui-danger-soft:#fef3f2;
  --ui-info:#175cd3;
  --ui-info-soft:#eff8ff;
  --ui-sidebar-bg:#101828;
  --ui-sidebar-bg-2:#0c1424;
  --ui-sidebar-line:#263349;
  --ui-sidebar-text:#d0d5dd;
  --ui-sidebar-muted:#98a2b3;
  --ui-shadow-xs:0 1px 2px rgba(16,24,40,.04);
  --ui-shadow:0 8px 24px rgba(16,24,40,.055);
  --ui-shadow-pop:0 22px 54px rgba(16,24,40,.16);
  --ui-focus:0 0 0 3px color-mix(in srgb,var(--ui-primary) 18%,transparent);
}

/* Layout presets now only tune visual density; they never change shell geometry. */
body.layout-classic{--ui-radius:11px;--ui-radius-lg:15px}
body.layout-modern{--ui-radius:14px;--ui-radius-lg:18px;--ui-shadow:0 10px 28px rgba(16,24,40,.065)}
body.layout-compact{--ui-control:38px;--ui-space-4:13px;--ui-space-5:17px;--ui-radius:9px;--ui-radius-lg:12px}
body.layout-glass{--ui-radius:15px;--ui-radius-lg:20px}
body.layout-aurora{--ui-radius:15px;--ui-radius-lg:19px}
body.layout-executive{--ui-radius:8px;--ui-radius-lg:11px}
body.layout-nebula{--ui-radius:15px;--ui-radius-lg:20px}
body.layout-minimal{--ui-radius:7px;--ui-radius-lg:9px;--ui-shadow:none}
body.layout-stable{--ui-radius:9px;--ui-radius-lg:12px;--ui-shadow:none}
body.density-compact{--ui-control:36px;--ui-space-4:12px;--ui-space-5:16px;font-size:13px}
body.density-comfortable{--ui-control:46px;--ui-space-4:18px;--ui-space-5:22px;font-size:15px}

html{min-height:100%;overflow-x:hidden;scroll-behavior:smooth;background:var(--ui-bg)}
body.ui-v216{
  margin:0;min-width:0;min-height:100dvh;overflow-x:hidden;
  background:var(--ui-bg);color:var(--ui-text);
  font-family:var(--panel-font,Tahoma,Arial,sans-serif);font-size:14px;line-height:1.65;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body.ui-v216 *,body.ui-v216 *::before,body.ui-v216 *::after{box-sizing:border-box}
body.ui-v216 :where(.app-shell,.workspace,.workspace>*,main,.container,.card,.subcard,.page-head,.card-head,.form-grid,.two-col,.table-wrap,form,label,section,article,div){min-width:0}
body.ui-v216 img,body.ui-v216 svg{max-width:100%}
body.ui-v216 h1,body.ui-v216 h2,body.ui-v216 h3,body.ui-v216 h4,body.ui-v216 p{overflow-wrap:anywhere}
body.ui-v216 a{color:var(--ui-primary);text-decoration:none;text-underline-offset:3px}
body.ui-v216 a:hover{color:var(--ui-primary-strong)}
body.ui-v216 :focus-visible{outline:none;box-shadow:var(--ui-focus)}
body.ui-v216 [hidden]{display:none!important}
body.ui-v216 .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.ui-v216 .ltr,body.ui-v216 code,body.ui-v216 pre{direction:ltr;unicode-bidi:embed;text-align:left}
body.ui-v216 .break-all,body.ui-v216 .wrap-anywhere,body.ui-v216 .wrap-code-v190{overflow-wrap:anywhere;word-break:break-word}

/* ---------- application shell ---------- */
body.ui-v216 .app-shell{display:block;width:100%;min-height:100dvh;direction:rtl}
body.ui-v216 .sidebar{
  position:fixed;inset:0 0 0 auto;z-index:100;width:var(--ui-sidebar);height:100dvh;
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;
  border:0;border-left:1px solid var(--ui-sidebar-line);border-radius:0;background:var(--ui-sidebar-bg);color:var(--ui-sidebar-text);box-shadow:none;
}
body.ui-v216 .sidebar-brand{min-height:72px;padding:14px 15px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--ui-sidebar-line)}
body.ui-v216 .sidebar-brand>a{display:flex;align-items:center;gap:10px;flex:1;min-width:0;color:#fff;text-decoration:none}
body.ui-v216 .brand-mark{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;background:var(--ui-primary);color:#fff;font-weight:900;box-shadow:0 7px 20px color-mix(in srgb,var(--ui-primary) 24%,transparent)}
body.ui-v216 .sidebar-brand>a>span:last-child{display:grid;line-height:1.28;min-width:0}
body.ui-v216 .sidebar-brand b{font-size:.9rem;letter-spacing:.01em}
body.ui-v216 .sidebar-brand small{color:var(--ui-sidebar-muted);font-size:.69rem;font-weight:500}
body.ui-v216 .sidebar-close{display:none;width:36px;height:36px;padding:0;border:0;background:transparent;color:#fff}
body.ui-v216 .sidebar-nav{min-height:0;overflow:auto;padding:10px 10px 18px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#344054 transparent}
body.ui-v216 .sidebar-nav::-webkit-scrollbar{width:6px}
body.ui-v216 .sidebar-nav::-webkit-scrollbar-thumb{background:#344054;border-radius:99px}
body.ui-v216 .sidebar-nav .nav-label{margin:17px 9px 6px;color:var(--ui-sidebar-muted);font-size:.65rem;font-weight:800;letter-spacing:.02em}
body.ui-v216 .sidebar-nav>a,
body.ui-v216 .nav-advanced-v170 summary,
body.ui-v216 .nav-advanced-links-v170>a{
  position:relative;display:flex;align-items:center;gap:9px;min-height:39px;margin:2px 0;padding:7px 10px;
  border:0;border-radius:8px;background:transparent;color:var(--ui-sidebar-text);text-decoration:none;font-size:.77rem;font-weight:650;box-shadow:none;
}
body.ui-v216 .sidebar-nav>a:hover,body.ui-v216 .nav-advanced-v170 summary:hover,body.ui-v216 .nav-advanced-links-v170>a:hover{background:#1d2939;color:#fff}
body.ui-v216 .sidebar-nav>a.active,body.ui-v216 .nav-advanced-links-v170>a.active{background:color-mix(in srgb,var(--ui-primary) 88%,#13243f);color:#fff}
body.ui-v216 .sidebar-nav>a.active::before,body.ui-v216 .nav-advanced-links-v170>a.active::before{content:"";position:absolute;inset-inline-start:0;top:8px;bottom:8px;width:3px;border-radius:99px;background:#b2ddff}
body.ui-v216 .sidebar-nav .ui-icon{width:16px;height:16px;flex:0 0 16px;opacity:.92}
body.ui-v216 .sidebar-nav a span:not(.nav-count){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ui-v216 .nav-count{margin-inline-start:auto;min-width:20px;height:20px;padding:0 6px;border-radius:99px;display:inline-grid;place-items:center;background:#344054;color:#fff;font-size:.64rem}
body.ui-v216 .nav-advanced-v170{margin:4px 0;border:0;background:transparent}
body.ui-v216 .nav-advanced-v170 summary{list-style:none;cursor:pointer}
body.ui-v216 .nav-advanced-v170 summary::-webkit-details-marker{display:none}
body.ui-v216 .nav-advanced-links-v170{padding-inline-start:10px;border-inline-start:1px solid #344054;margin-inline-start:18px}
body.ui-v216 .sidebar-account{padding:11px 13px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;border-top:1px solid var(--ui-sidebar-line);background:var(--ui-sidebar-bg-2)}
body.ui-v216 .account-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#344054;color:#fff;font-weight:800}
body.ui-v216 .account-meta{display:grid;line-height:1.25;min-width:0}
body.ui-v216 .account-meta b{color:#fff;font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ui-v216 .account-meta small{color:var(--ui-sidebar-muted);font-size:.65rem}
body.ui-v216 .sidebar-account .icon-button{width:34px;height:34px;min-height:34px;padding:0;border:1px solid #344054;background:transparent;color:#d0d5dd;border-radius:8px}
body.ui-v216 .sidebar-account .icon-button:hover{background:#1d2939;color:#fff}
body.ui-v216 .sidebar-backdrop{display:none}

body.ui-v216 .workspace{display:flex;flex-direction:column;min-height:100dvh;margin:0 var(--ui-sidebar) 0 0;background:var(--ui-bg)}
body.ui-v216 .workspace-header{
  position:sticky;top:0;z-index:80;min-height:var(--ui-header);padding:9px var(--ui-page-pad);
  display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;align-items:center;gap:9px;
  border-bottom:1px solid var(--ui-line);background:rgba(255,255,255,.96);backdrop-filter:blur(14px)
}
body.ui-v216 .workspace-title{display:flex;align-items:center;gap:10px;min-width:0}
body.ui-v216 .workspace-title>div{display:grid;min-width:0;line-height:1.25}
body.ui-v216 .workspace-title b{font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ui-v216 .workspace-title small{font-size:.68rem;color:var(--ui-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ui-v216 .menu-button{display:none;width:38px;height:38px;min-height:38px;padding:0}
body.ui-v216 .live-clock{display:grid;grid-template-columns:auto auto;align-items:center;gap:3px 8px;padding:6px 9px;border:1px solid var(--ui-line);border-radius:8px;background:#fff;color:var(--ui-text-2)}
body.ui-v216 .live-clock span{font-size:.66rem;color:var(--ui-muted)}
body.ui-v216 .live-clock b{font-size:.75rem}
body.ui-v216 .header-search-button,body.ui-v216 .header-notification{height:38px;min-height:38px;padding:0 10px;border:1px solid var(--ui-line);border-radius:8px;background:#fff;color:var(--ui-text-2);box-shadow:none}
body.ui-v216 .header-search-button:hover,body.ui-v216 .header-notification:hover{border-color:var(--ui-line-strong);background:var(--ui-surface-2)}
body.ui-v216 .header-search-button kbd{padding:1px 5px;border:1px solid var(--ui-line);border-radius:5px;background:var(--ui-surface-2);font-size:.59rem;color:var(--ui-muted)}
body.ui-v216 .header-notification-wrap{position:relative}
body.ui-v216 .notification-popover{position:absolute;top:calc(100% + 8px);left:0;width:min(390px,calc(100vw - 24px));z-index:300;background:#fff;border:1px solid var(--ui-line);border-radius:12px;box-shadow:var(--ui-shadow-pop);overflow:hidden}
body.ui-v216 .notification-popover-head{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--ui-line)}
body.ui-v216 .notification-popover-list{display:grid;max-height:360px;overflow:auto}
body.ui-v216 .notification-popover-item{display:grid;gap:2px;padding:11px 14px;border-bottom:1px solid var(--ui-line);border-inline-start:3px solid #98a2b3;color:var(--ui-text)}
body.ui-v216 .notification-popover-item.severity-danger{border-inline-start-color:#d92d20}
body.ui-v216 .notification-popover-item.severity-warning{border-inline-start-color:#dc6803}
body.ui-v216 .notification-popover-item.severity-success{border-inline-start-color:#079455}
body.ui-v216 .notification-popover-item span{font-size:.77rem;color:var(--ui-muted)}
body.ui-v216 .notification-popover-item small{font-size:.67rem;color:var(--ui-muted)}
body.ui-v216 .notification-popover-all{display:block;padding:10px;text-align:center;background:var(--ui-surface-2);font-weight:700}
body.ui-v216 .workspace>main.container{width:min(var(--ui-content),calc(100% - (2 * var(--ui-page-pad))));margin:24px auto 40px;padding:0}
body.ui-v216 .app-footer{width:min(var(--ui-content),calc(100% - (2 * var(--ui-page-pad))));margin:auto auto 20px;padding-top:16px;border-top:1px solid var(--ui-line);color:var(--ui-muted);font-size:.68rem;text-align:center}

/* ---------- typography / page hierarchy ---------- */
body.ui-v216 .page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px}
body.ui-v216 .page-head>div:first-child{display:grid;gap:4px}
body.ui-v216 .page-head h1{margin:0;color:var(--ui-text);font-size:clamp(1.35rem,1.2rem + .45vw,1.7rem);line-height:1.25;font-weight:850;letter-spacing:-.015em}
body.ui-v216 .page-head p,body.ui-v216 .muted{margin:0;color:var(--ui-muted)}
body.ui-v216 .page-head p{font-size:.82rem}
body.ui-v216 h2{font-size:1rem;line-height:1.35}
body.ui-v216 h3{font-size:.9rem;line-height:1.4}
body.ui-v216 .small-text{font-size:.75rem}
body.ui-v216 .tiny{font-size:.68rem}
body.ui-v216 .head-actions,body.ui-v216 .inline-actions,body.ui-v216 .form-actions,body.ui-v216 .button-row,body.ui-v216 .wrap-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}

/* ---------- surfaces ---------- */
body.ui-v216 .card,body.ui-v216 .subcard,body.ui-v216 .sub-card,body.ui-v216 .summary-card,body.ui-v216 .stat,body.ui-v216 .kpi,body.ui-v216 .metric-card{
  background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow)
}
body.ui-v216 .card{margin:0 0 var(--ui-space-4);padding:var(--ui-space-5)}
body.ui-v216 .subcard,body.ui-v216 .sub-card{padding:14px;background:var(--ui-surface-2);box-shadow:none}
body.ui-v216 .card.prominent{border-color:#fdb022}
body.ui-v216 .card.danger-border,body.ui-v216 .danger-zone{border-color:#fda29b}
body.ui-v216 .card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--ui-line)}
body.ui-v216 .card-head>div{display:grid;gap:3px}
body.ui-v216 .card-head h2,body.ui-v216 .card-head h3{margin:0;color:var(--ui-text);font-weight:800}
body.ui-v216 .card-head p{margin:0;font-size:.75rem;color:var(--ui-muted)}
body.ui-v216 .block,body.ui-v216 .block-subtle{padding:11px 12px;border:1px solid var(--ui-line);border-radius:var(--ui-radius-sm);background:var(--ui-surface-2)}
body.ui-v216 .empty,body.ui-v216 .empty-state{padding:24px;border:1px dashed var(--ui-line-strong);border-radius:var(--ui-radius-sm);background:#fbfcfe;text-align:center;color:var(--ui-muted);font-size:.8rem}
body.ui-v216 .compact-empty{padding:14px}

/* ---------- actions ---------- */
body.ui-v216 button,body.ui-v216 .button{
  min-height:var(--ui-control);padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid var(--ui-line-strong);border-radius:var(--ui-radius-sm);background:#fff;color:var(--ui-text-2);
  font:inherit;font-weight:700;font-size:.78rem;line-height:1.2;cursor:pointer;text-decoration:none;box-shadow:var(--ui-shadow-xs);transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
body.ui-v216 button:hover,body.ui-v216 .button:hover{border-color:#98a2b3;background:var(--ui-surface-2);color:var(--ui-text);text-decoration:none}
body.ui-v216 button:active,body.ui-v216 .button:active{transform:translateY(1px)}
body.ui-v216 button.primary,body.ui-v216 .button.primary{border-color:var(--ui-primary);background:var(--ui-primary);color:#fff}
body.ui-v216 button.primary:hover,body.ui-v216 .button.primary:hover{border-color:var(--ui-primary-strong);background:var(--ui-primary-strong);color:#fff}
body.ui-v216 button.danger,body.ui-v216 .button.danger{border-color:#d92d20;background:#d92d20;color:#fff}
body.ui-v216 button.danger:hover,body.ui-v216 .button.danger:hover{border-color:#b42318;background:#b42318;color:#fff}
body.ui-v216 button.ghost,body.ui-v216 .button.ghost{border-color:transparent;background:transparent;box-shadow:none}
body.ui-v216 button.small,body.ui-v216 .button.small,body.ui-v216 .small-button{min-height:34px;padding:0 10px;font-size:.72rem}
body.ui-v216 button.tiny,body.ui-v216 .button.tiny{min-height:30px;padding:0 8px;font-size:.67rem}
body.ui-v216 button.large,body.ui-v216 .button.large{min-height:48px;padding:0 18px;font-size:.84rem}
body.ui-v216 button.icon-only,body.ui-v216 .icon-button{width:var(--ui-control);padding:0}
body.ui-v216 button:disabled,body.ui-v216 .button[aria-disabled="true"]{opacity:.48;cursor:not-allowed;transform:none}

/* ---------- badges / feedback ---------- */
body.ui-v216 .badge,body.ui-v216 .status{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;padding:3px 8px;border-radius:999px;font-size:.67rem;font-weight:750;line-height:1.3;white-space:normal;text-align:center}
body.ui-v216 .badge.success,body.ui-v216 .status-success{background:var(--ui-success-soft);color:var(--ui-success)}
body.ui-v216 .badge.warning,body.ui-v216 .status-warning{background:var(--ui-warning-soft);color:var(--ui-warning)}
body.ui-v216 .badge.danger,body.ui-v216 .status-danger{background:var(--ui-danger-soft);color:var(--ui-danger)}
body.ui-v216 .badge.info,body.ui-v216 .status-info{background:var(--ui-info-soft);color:var(--ui-info)}
body.ui-v216 .badge.neutral,body.ui-v216 .status-neutral,body.ui-v216 .status-muted{background:#f2f4f7;color:#475467}
body.ui-v216 .notice,body.ui-v216 .flash,body.ui-v216 .alert,body.ui-v216 .readonly-banner,body.ui-v216 .license-banner{margin:0 0 14px;padding:10px 13px;border:1px solid var(--ui-line);border-radius:var(--ui-radius-sm);font-size:.78rem}
body.ui-v216 .notice.info,body.ui-v216 .flash-info{border-color:#b2ddff;background:var(--ui-info-soft);color:#1849a9}
body.ui-v216 .notice.success,body.ui-v216 .flash-success{border-color:#abefc6;background:var(--ui-success-soft);color:#05603a}
body.ui-v216 .notice.warning,body.ui-v216 .flash-warning,body.ui-v216 .license-banner.warning{border-color:#fedf89;background:var(--ui-warning-soft);color:#93370d}
body.ui-v216 .notice.danger,body.ui-v216 .flash-danger,body.ui-v216 .license-banner{border-color:#fecdca;background:var(--ui-danger-soft);color:#912018}
body.ui-v216 .flash-stack{display:grid;gap:8px;margin-bottom:14px}

/* ---------- forms ---------- */
body.ui-v216 form{max-width:100%}
body.ui-v216 .stack-form{display:grid;gap:14px}
body.ui-v216 .form-grid{display:grid;gap:14px}
body.ui-v216 .form-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ui-v216 .form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ui-v216 .form-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
body.ui-v216 .span-2{grid-column:span 2}
body.ui-v216 .span-3{grid-column:span 3}
body.ui-v216 .span-4,body.ui-v216 .span-all{grid-column:1/-1}
body.ui-v216 label,body.ui-v216 .field-label{display:grid;align-content:start;gap:6px;color:var(--ui-text-2);font-size:.76rem;font-weight:750}
body.ui-v216 label small,body.ui-v216 .field-label small,body.ui-v216 .hint{color:var(--ui-muted);font-size:.68rem;font-weight:500;line-height:1.55}
body.ui-v216 input,body.ui-v216 select,body.ui-v216 textarea{
  width:100%;min-width:0;min-height:var(--ui-control);padding:8px 11px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-radius-sm);background:#fff;color:var(--ui-text);
  font:inherit;font-size:.8rem;line-height:1.35;box-shadow:0 1px 2px rgba(16,24,40,.02);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
body.ui-v216 textarea{min-height:88px;resize:vertical}
body.ui-v216 input::placeholder,body.ui-v216 textarea::placeholder{color:#98a2b3}
body.ui-v216 input:hover,body.ui-v216 select:hover,body.ui-v216 textarea:hover{border-color:#98a2b3}
body.ui-v216 input:focus,body.ui-v216 select:focus,body.ui-v216 textarea:focus{outline:none;border-color:var(--ui-primary);box-shadow:var(--ui-focus)}
body.ui-v216 input:disabled,body.ui-v216 select:disabled,body.ui-v216 textarea:disabled{background:#f2f4f7;color:#98a2b3;cursor:not-allowed}
body.ui-v216 input[type="checkbox"],body.ui-v216 input[type="radio"]{width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--ui-primary);box-shadow:none}
body.ui-v216 input[type="file"]{height:auto;min-height:var(--ui-control);padding:6px;background:var(--ui-surface-2)}
body.ui-v216 input[type="file"]::file-selector-button{margin-inline-end:9px;padding:6px 9px;border:1px solid var(--ui-line-strong);border-radius:7px;background:#fff;color:var(--ui-text-2);font:inherit;font-size:.72rem;font-weight:700;cursor:pointer}
body.ui-v216 .switch-row,body.ui-v216 .checkbox-line{display:flex;align-items:flex-start;gap:8px}
body.ui-v216 .switch-row input,body.ui-v216 .checkbox-line input{margin-top:2px}
body.ui-v216 .input-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
body.ui-v216 .inline-form{display:inline-flex;align-items:center;gap:8px;margin:0}
body.ui-v216 .compact-form{display:grid;gap:10px}
body.ui-v216 .filter-bar,body.ui-v216 .request-filter-bar,body.ui-v216 .services-filter-v170,body.ui-v216 .quality-filter-v170,body.ui-v216 .error-filter-v170,body.ui-v216 .diagnostic-filter-v190,body.ui-v216 .audit-filter-grid,body.ui-v216 .report-filter-fields-v1220{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(auto-fit,minmax(150px,.75fr));gap:10px;align-items:end}
body.ui-v216 .action-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0 0;margin-top:16px;border-top:1px solid var(--ui-line);background:transparent}

/* ---------- tables ---------- */
body.ui-v216 .table-wrap{position:relative;width:100%;max-width:100%;overflow:auto;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:#fff;box-shadow:var(--ui-shadow-xs);scrollbar-width:thin}
body.ui-v216 .table-wrap.has-horizontal-overflow::after{content:"برای مشاهده ستون‌های بیشتر، جدول را افقی جابه‌جا کنید";position:sticky;inset-inline-start:10px;bottom:8px;display:inline-block;margin:8px;padding:4px 8px;border-radius:999px;background:rgba(16,24,40,.82);color:#fff;font-size:.62rem;pointer-events:none}
body.ui-v216 table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px;font-size:.75rem}
body.ui-v216 th,body.ui-v216 td{padding:10px 11px;border-bottom:1px solid var(--ui-line);vertical-align:middle;text-align:right}
body.ui-v216 th{position:sticky;top:0;z-index:2;background:#f8fafc;color:#475467;font-size:.69rem;font-weight:800;white-space:nowrap}
body.ui-v216 tbody tr:last-child td{border-bottom:0}
body.ui-v216 tbody tr:hover td{background:#fbfdff}
body.ui-v216 td .button,body.ui-v216 td button{min-height:30px;padding-inline:8px;font-size:.67rem}
body.ui-v216 .compact-table th,body.ui-v216 .compact-table td{padding:8px 9px}
body.ui-v216 .row-actions,body.ui-v216 .row-actions-v170,body.ui-v216 .customer-row-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}

/* ---------- generic grids ---------- */
body.ui-v216 .stats-grid,body.ui-v216 .summary-grid,body.ui-v216 .kpi-grid,body.ui-v216 .metric-grid,body.ui-v216 .health-grid,body.ui-v216 .quality-stats,body.ui-v216 .access-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.ui-v216 .summary-card,body.ui-v216 .stat,body.ui-v216 .kpi,body.ui-v216 .metric-card{padding:13px;display:grid;gap:4px;box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .summary-card span:first-child,body.ui-v216 .stat span,body.ui-v216 .metric-card span{color:var(--ui-muted);font-size:.7rem}
body.ui-v216 .summary-card strong,body.ui-v216 .stat strong,body.ui-v216 .metric-card b{font-size:1.05rem;color:var(--ui-text)}
body.ui-v216 .two-col,body.ui-v216 .two-column-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.ui-v216 .three-column-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.ui-v216 .content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.36fr);gap:14px}

/* ---------- dashboard ---------- */
body.ui-v216.page-dashboard .workspace>main.container{max-width:1440px}
body.ui-v216 .dashboard-page-head{align-items:center}
body.ui-v216 .dashboard-primary-actions{display:flex;gap:8px;flex-wrap:nowrap}
body.ui-v216 .dashboard-kpi-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
body.ui-v216 .dashboard-kpi{position:relative;min-height:96px;padding:13px 14px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:start;gap:2px 10px;color:var(--ui-text);box-shadow:var(--ui-shadow-xs);overflow:hidden}
body.ui-v216 .dashboard-kpi::before{content:"";position:absolute;inset-inline-start:0;top:12px;bottom:12px;width:3px;border-radius:99px;background:#98a2b3}
body.ui-v216 .dashboard-kpi.info::before{background:#2e90fa}
body.ui-v216 .dashboard-kpi.warning::before{background:#f79009}
body.ui-v216 .dashboard-kpi.success::before{background:#12b76a}
body.ui-v216 .dashboard-kpi.danger::before{background:#f04438}
body.ui-v216 .dashboard-kpi span{grid-column:1;font-size:.74rem;font-weight:800;color:var(--ui-text-2)}
body.ui-v216 .dashboard-kpi small{grid-column:1;color:var(--ui-muted);font-size:.65rem}
body.ui-v216 .dashboard-kpi strong{grid-column:2;grid-row:1/-1;align-self:center;font-size:1.55rem;line-height:1;font-variant-numeric:tabular-nums}
body.ui-v216 .dashboard-command-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);gap:14px;margin-bottom:14px}
body.ui-v216 .dashboard-command-grid>.card{margin:0}
body.ui-v216 .quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.ui-v216 .dashboard-command-link{min-height:72px;padding:12px 13px;display:grid;align-content:center;gap:3px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface-2);color:var(--ui-text)}
body.ui-v216 .dashboard-command-link:hover{border-color:#b9c8da;background:#f4f8fd}
body.ui-v216 .dashboard-command-link b{font-size:.78rem}
body.ui-v216 .dashboard-command-link small{font-size:.67rem;color:var(--ui-muted)}
body.ui-v216 .dashboard-snapshot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.ui-v216 .dashboard-snapshot-grid article{padding:11px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-2);display:grid;gap:2px}
body.ui-v216 .dashboard-snapshot-grid span{font-size:.67rem;color:var(--ui-muted)}
body.ui-v216 .dashboard-snapshot-grid b{font-size:1rem}
body.ui-v216 .dashboard-snapshot-grid small{font-size:.63rem;color:var(--ui-muted)}
body.ui-v216 .dashboard-customizer{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfcfe;box-shadow:none}
body.ui-v216 .dashboard-customizer-copy{display:grid;gap:1px}
body.ui-v216 .dashboard-customizer-copy b{font-size:.74rem}
body.ui-v216 .dashboard-customizer-copy small{font-size:.64rem;color:var(--ui-muted)}
body.ui-v216 .dashboard-customizer-actions{display:flex;gap:6px}
body.ui-v216 .dashboard-widgets{display:grid;gap:0}
body.ui-v216 .dashboard-widgets>.card,body.ui-v216 .dashboard-widgets>.dashboard-analytics-grid{position:relative}
body.ui-v216 .widget-handle{position:absolute;inset-inline-start:10px;top:10px;z-index:4;width:28px;height:28px;min-height:28px;padding:0;border-color:var(--ui-line);background:#fff;color:#98a2b3;opacity:.35}
body.ui-v216 .dashboard-widgets [data-dashboard-widget]:hover>.widget-handle{opacity:1}
body.ui-v216 .dashboard-analytics-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;margin-bottom:14px}
body.ui-v216 .dashboard-analytics-grid>.card{margin:0}
body.ui-v216 .request-chart{min-height:220px;display:grid;place-items:center;overflow:hidden}
body.ui-v216 .request-chart[data-total="0"]{min-height:120px}
body.ui-v216 .request-chart[data-total="0"] svg{max-height:100px;opacity:.38}
body.ui-v216 .chart-card-head{align-items:center}
body.ui-v216 .chart-period-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface-2)}
body.ui-v216 .chart-period-tabs button{min-height:28px;padding:0 8px;border:0;background:transparent;box-shadow:none;font-size:.65rem}
body.ui-v216 .chart-period-tabs button.is-active{background:#fff;color:var(--ui-primary);box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .dashboard-side-stats{display:grid;grid-template-rows:repeat(3,1fr);gap:10px}
body.ui-v216 .dashboard-side-stats .stat{margin:0;align-content:center;min-height:0}
body.ui-v216 .attention-grid-v161{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.ui-v216 .attention-tile{min-height:78px;padding:11px 12px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 8px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface-2);color:var(--ui-text)}
body.ui-v216 .attention-tile.has-issue{border-color:#fedf89;background:#fffcf5}
body.ui-v216 .attention-tile span{font-size:.7rem;font-weight:750}
body.ui-v216 .attention-tile b{grid-column:2;grid-row:1/-1;align-self:center;font-size:1.15rem}
body.ui-v216 .attention-tile small{font-size:.64rem;color:var(--ui-muted)}
body.ui-v216 .registration-rate{padding:4px 9px;border-radius:999px;background:var(--ui-success-soft);color:var(--ui-success);font-size:.68rem;font-weight:800}
body.ui-v216 .horizontal-bar-chart{display:grid;gap:10px}
body.ui-v216 .horizontal-bar-row{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px;align-items:center}
body.ui-v216 .bar-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.71rem}
body.ui-v216 .bar-label span{color:var(--ui-text-2)}
body.ui-v216 .bar-track{height:7px;border-radius:99px;background:#eef2f6;overflow:hidden}
body.ui-v216 .bar-fill{display:block;width:var(--bar-value,0);height:100%;border-radius:inherit;background:#2e90fa}
body.ui-v216 .bar-successful{background:#12b76a}
body.ui-v216 .bar-remaining{background:#f79009}
body.ui-v216 .chart-footnote{margin:10px 0 0;color:var(--ui-muted);font-size:.66rem}
body.ui-v216 .otp-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px;border:1px solid #fedf89;border-radius:10px;background:#fffcf5}
body.ui-v216 .otp-info{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;font-size:.72rem}
body.ui-v216 .quick-otp-wrap{display:flex;align-items:center;gap:8px}
body.ui-v216 .quick-otp{display:flex;align-items:center;gap:6px}
body.ui-v216 .quick-otp input{width:118px;min-height:36px}
body.ui-v216 .comparison-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}

/* ---------- request/service wizard ---------- */
body.ui-v216.page-requests-new .workspace>main.container{max-width:1260px}
body.ui-v216 .operation-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px;padding:7px;border:1px solid var(--ui-line);border-radius:11px;background:#fff;box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .operation-tab{min-height:38px;padding:0 12px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface-2);color:var(--ui-text-2);font-size:.74rem;font-weight:750}
body.ui-v216 .operation-tab.active{border-color:var(--ui-primary);background:var(--ui-primary);color:#fff}
body.ui-v216 .operation-tab.danger-tab.active{border-color:#d92d20;background:#d92d20}
body.ui-v216 .request-flow-v160{position:sticky;top:calc(var(--ui-header) + 8px);z-index:50;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:0 0 14px;padding:6px;border:1px solid var(--ui-line);border-radius:11px;background:rgba(255,255,255,.96);box-shadow:var(--ui-shadow);backdrop-filter:blur(12px)}
body.ui-v216 .request-flow-v160>a{position:relative;min-height:43px;padding:7px 8px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;color:var(--ui-muted);font-size:.7rem;font-weight:750;text-align:center}
body.ui-v216 .request-flow-v160>a:hover{background:var(--ui-surface-2);color:var(--ui-text)}
body.ui-v216 .request-flow-v160>a.is-current{background:var(--ui-primary-soft);color:var(--ui-primary)}
body.ui-v216 .request-flow-v160>a.is-done{color:var(--ui-success)}
body.ui-v216 .request-flow-v160>a b,body.ui-v216 .request-flow-v160>a .stage-number{width:23px;height:23px;display:grid;place-items:center;flex:0 0 23px;border:1px solid var(--ui-line-strong);border-radius:50%;background:#fff;font-size:.65rem}
body.ui-v216 .request-flow-v160>a.is-current b,body.ui-v216 .request-flow-v160>a.is-current .stage-number{border-color:var(--ui-primary);background:var(--ui-primary);color:#fff}
body.ui-v216 .request-step-card{display:none;padding:18px;scroll-margin-top:calc(var(--ui-header) + 80px)}
body.ui-v216 .request-step-card.is-active,body.ui-v216 .request-form:not(.request-stepper-ready) .request-step-card{display:block}
body.ui-v216 .request-step-actions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--ui-line)}
body.ui-v216 .request-step-indicator{text-align:center;color:var(--ui-muted);font-size:.7rem;font-weight:700}
body.ui-v216 .choice-group{position:relative;display:grid;gap:10px;padding:13px;border:1px solid var(--ui-line);border-radius:11px;background:#fbfcfe}
body.ui-v216 .choice-group-head{display:grid;gap:2px}
body.ui-v216 .choice-group-head b{font-size:.78rem}
body.ui-v216 .choice-group-head small{font-size:.67rem;color:var(--ui-muted);font-weight:500}
body.ui-v216 .choice-group.is-enhanced>.choice-native-select{position:absolute;width:1px;height:1px;min-height:1px;padding:0;margin:-1px;border:0;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}
body.ui-v216 .customer-type-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.ui-v216 .service-type-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
body.ui-v216 .choice-card{min-height:76px;padding:10px 11px;display:grid;align-content:center;gap:4px;border:1px solid var(--ui-line);border-radius:9px;background:#fff;color:var(--ui-text);text-align:right;box-shadow:none}
body.ui-v216 .choice-card strong{font-size:.74rem}
body.ui-v216 .choice-card small{font-size:.64rem;color:var(--ui-muted);font-weight:500;line-height:1.5}
body.ui-v216 .choice-card:hover{border-color:#9db8e8;background:#f8fbff}
body.ui-v216 .choice-card.is-selected{border-color:var(--ui-primary);background:var(--ui-primary-soft);box-shadow:inset 0 0 0 1px var(--ui-primary)}
body.ui-v216 .choice-card.is-selected strong{color:var(--ui-primary)}
body.ui-v216 .service-form-block{padding:14px;border:1px solid var(--ui-line);border-radius:11px;background:#fbfcfe}
body.ui-v216 .service-common-block{margin-bottom:12px}
body.ui-v216 .service-type-panels{margin-top:12px}
body.ui-v216 .service-type-panel{position:relative;padding:15px;border:1px solid #b2ccf4;border-radius:11px;background:#f8fbff;overflow:hidden}
body.ui-v216 .service-type-panel::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:3px;background:var(--ui-primary)}
body.ui-v216 .service-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #d9e7fb}
body.ui-v216 .service-block-head>div{display:grid;gap:2px}
body.ui-v216 .service-block-head b{font-size:.78rem}
body.ui-v216 .service-block-head small{font-size:.66rem;color:var(--ui-muted)}
body.ui-v216 .service-type-chip{padding:3px 8px;border-radius:999px;background:#eaf2ff;color:#1849a9;font-size:.64rem;font-weight:800}
body.ui-v216 .rack-panel-grid{margin-top:12px}
body.ui-v216 .request-review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.ui-v216 .request-review-item{min-height:66px;padding:10px 11px;display:grid;align-content:center;gap:3px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-2)}
body.ui-v216 .request-review-item span{font-size:.65rem;color:var(--ui-muted)}
body.ui-v216 .request-review-item b{font-size:.77rem;overflow-wrap:anywhere}
body.ui-v216 .request-action-bar{position:sticky;bottom:0;z-index:45;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;margin:14px 0 0;border:1px solid var(--ui-line);border-radius:11px;background:rgba(255,255,255,.96);box-shadow:0 -8px 28px rgba(16,24,40,.07);backdrop-filter:blur(12px)}
body.ui-v216 .request-autosave-panel{display:flex;align-items:center;gap:8px;min-width:0}
body.ui-v216 .request-autosave-dot{width:8px;height:8px;border-radius:50%;background:#98a2b3}
body.ui-v216 .request-autosave-panel[data-state="saved"] .request-autosave-dot{background:#12b76a}
body.ui-v216 .request-autosave-copy{display:grid;min-width:0;line-height:1.3}
body.ui-v216 .request-autosave-copy strong{font-size:.7rem}
body.ui-v216 .request-autosave-copy small{font-size:.62rem;color:var(--ui-muted)}
body.ui-v216 .request-action-buttons{display:flex;gap:7px;flex-wrap:wrap}
body.ui-v216 .customer-requests-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px}
body.ui-v216 .customer-requests-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(16,24,40,.58)}
body.ui-v216 .customer-requests-dialog{position:relative;width:min(780px,100%);max-height:86vh;overflow:auto;padding:18px;border-radius:15px;background:#fff;box-shadow:var(--ui-shadow-pop)}
body.ui-v216 .customer-requests-dialog-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--ui-line)}

/* ---------- settings ---------- */
body.ui-v216.page-setup .workspace>main.container{max-width:1360px}
body.ui-v216 .settings-shell{display:grid;gap:14px}
body.ui-v216 .settings-toolbar{position:sticky;top:calc(var(--ui-header) + 8px);z-index:45;display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;padding:12px;border:1px solid var(--ui-line);border-radius:11px;background:rgba(255,255,255,.96);box-shadow:var(--ui-shadow);backdrop-filter:blur(12px)}
body.ui-v216 .settings-search{min-width:0}
body.ui-v216 .settings-tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none}
body.ui-v216 .settings-tabs::-webkit-scrollbar{display:none}
body.ui-v216 .settings-tabs button{min-height:34px;padding:0 10px;white-space:nowrap;font-size:.69rem}
body.ui-v216 .settings-tabs button.is-active{border-color:var(--ui-primary);background:var(--ui-primary);color:#fff}
body.ui-v216 .settings-overview-grid,body.ui-v216 .settings-section-grid,body.ui-v216 .settings-key-grid,body.ui-v216 .settings-registration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ui-v216 .settings-connection-grid,body.ui-v216 .settings-poll-grid,body.ui-v216 .settings-defaults-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.ui-v216 .settings-card{padding:15px;border:1px solid var(--ui-line);border-radius:11px;background:#fff;box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .settings-save-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
body.ui-v216 .pem-view,body.ui-v216 .json-view,body.ui-v216 .diagnostic-pre-v190,body.ui-v216 .ssl-terminal-output{max-width:100%;max-height:480px;overflow:auto;padding:12px;border-radius:9px;background:#101828;color:#d0d5dd;font-size:.72rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}

/* ---------- secondary screens ---------- */
body.ui-v216 .meta-list{margin:0;display:grid}
body.ui-v216 .meta-list>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px dashed var(--ui-line)}
body.ui-v216 .meta-list>div:last-child{border-bottom:0}
body.ui-v216 .meta-list dt{color:var(--ui-muted);font-size:.7rem}
body.ui-v216 .meta-list dd{margin:0;font-size:.77rem;overflow-wrap:anywhere}
body.ui-v216 .timeline{list-style:none;margin:0;padding:0;display:grid;gap:9px}
body.ui-v216 .timeline li{position:relative;padding:7px 12px;border:1px solid var(--ui-line);border-radius:9px;background:#fff}
body.ui-v216 .timeline li::before{content:"";position:absolute;inset-inline-start:-1px;top:8px;bottom:8px;width:3px;border-radius:99px;background:#98a2b3}
body.ui-v216 .timeline time{font-size:.65rem;color:var(--ui-muted)}
body.ui-v216 .check-grid{display:grid;gap:7px}
body.ui-v216 .check-row{display:grid;grid-template-columns:12px 190px minmax(0,1fr);gap:8px;align-items:center;padding:7px 0}
body.ui-v216 .dot{width:9px;height:9px;border-radius:50%;background:#98a2b3}
body.ui-v216 .dot.ok{background:#12b76a}
body.ui-v216 .dot.bad{background:#f04438}
body.ui-v216 details{border-color:var(--ui-line)}
body.ui-v216 details>summary{cursor:pointer}
body.ui-v216 .module-grid,body.ui-v216 .governance-actions,body.ui-v216 .owner-ops-grid,body.ui-v216 .dependency-grid,body.ui-v216 .data-quality-metrics,body.ui-v216 .dc-capacity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
body.ui-v216 .module-card,body.ui-v216 .capacity-card,body.ui-v216 .quality-item,body.ui-v216 .reconciliation-item{padding:14px;border:1px solid var(--ui-line);border-radius:10px;background:#fff}
body.ui-v216 .service-card,body.ui-v216 .compact-service-card{scroll-margin-top:calc(var(--ui-header) + 16px)}
body.ui-v216 .narrow-card{max-width:760px;margin-inline:auto}
body.ui-v216 .progress-circle,body.ui-v216 .score-ring,body.ui-v216 .gauge-ring{filter:none}



/* ---------- high-traffic secondary page polish ---------- */
body.ui-v216 .service-management-summary-v170,
body.ui-v216 .customers-summary-v160,
body.ui-v216 .error-summary-v180,
body.ui-v216 .diagnostic-summary-v190,
body.ui-v216 .action-center-summary-v190,
body.ui-v216 .ip-integrity-summary-v1220{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px
}
body.ui-v216 .service-management-summary-v170>* ,
body.ui-v216 .customers-summary-v160>* ,
body.ui-v216 .error-summary-v180>* ,
body.ui-v216 .diagnostic-summary-v190>* ,
body.ui-v216 .action-center-summary-v190>* ,
body.ui-v216 .ip-integrity-summary-v1220>*{
  padding:12px;border:1px solid var(--ui-line);border-radius:10px;background:#fff;box-shadow:var(--ui-shadow-xs)
}
body.ui-v216 .service-card-top,body.ui-v216 .plan-card-head,body.ui-v216 .subnet-map-head,body.ui-v216 .access-record-head,
body.ui-v216 .shahkar-page-head,body.ui-v216 .backup-auto-head-v1220,body.ui-v216 .observability-head-v1230{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px
}
body.ui-v216 .service-facts,body.ui-v216 .service-purchase-facts,body.ui-v216 .plan-facts,body.ui-v216 .access-record-grid,
body.ui-v216 .service-detail-grid-v160,body.ui-v216 .technical-detail-grid,body.ui-v216 .information-check-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:9px
}
body.ui-v216 .service-facts>* ,body.ui-v216 .service-purchase-facts>* ,body.ui-v216 .plan-facts>* ,body.ui-v216 .access-record-grid>* ,
body.ui-v216 .service-detail-grid-v160>* ,body.ui-v216 .technical-detail-grid>* ,body.ui-v216 .information-check-grid>*{
  padding:10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-2)
}
body.ui-v216 .service-card-actions,body.ui-v216 .plan-actions,body.ui-v216 .access-record-actions,body.ui-v216 .account-card-actions{
  display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px
}
body.ui-v216 .service-linked-ips,body.ui-v216 .service-ip-edit-list,body.ui-v216 .recent-request-list,body.ui-v216 .document-list,
body.ui-v216 .reservation-list,body.ui-v216 .work-list,body.ui-v216 .ssl-job-history,body.ui-v216 .iran-access-inventory-list{
  display:grid;gap:8px
}
body.ui-v216 .recent-request-item,body.ui-v216 .document-list-item,body.ui-v216 .reservation-row,body.ui-v216 .work-card,
body.ui-v216 .iran-access-inventory-row{
  padding:11px 12px;border:1px solid var(--ui-line);border-radius:9px;background:#fff
}
body.ui-v216 .notification-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:14px}
body.ui-v216 .notification-list{display:grid;gap:8px}
body.ui-v216 .notification-item{padding:12px 13px;border:1px solid var(--ui-line);border-radius:10px;background:#fff;display:grid;gap:5px}
body.ui-v216 .notification-actions,body.ui-v216 .notification-save-row,body.ui-v216 .notification-tools{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
body.ui-v216 .backup-layout{display:grid;gap:14px}
body.ui-v216 .backup-primary-grid-v1220{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:14px}
body.ui-v216 .backup-auto-fields-v1220{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ui-v216 .work-queue-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:14px;align-items:start}
body.ui-v216 .work-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
body.ui-v216 .work-card-content{display:grid;gap:5px}
body.ui-v216 .work-card-meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--ui-muted);font-size:.68rem}
body.ui-v216 .dc-capacity-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
body.ui-v216 .capacity-meter,body.ui-v216 .capacity-bar{height:8px;border-radius:99px;background:#eef2f6;overflow:hidden}
body.ui-v216 .capacity-meter>span,body.ui-v216 .capacity-bar>span{display:block;height:100%;border-radius:inherit;background:var(--ui-primary)}
body.ui-v216 .metric-row,body.ui-v216 .subnet-summary{display:flex;flex-wrap:wrap;gap:6px 12px;justify-content:space-between;color:var(--ui-muted);font-size:.68rem}
body.ui-v216 .subnet-map-list{display:grid;gap:9px;margin-top:10px}
body.ui-v216 .subnet-map-card{padding:10px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-surface-2)}
body.ui-v216 .subnet-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(9px,1fr));gap:2px;margin:8px 0}
body.ui-v216 .subnet-cell{aspect-ratio:1;border-radius:2px;background:#d0d5dd}
body.ui-v216 .subnet-cell.free{background:#abefc6}body.ui-v216 .subnet-cell.reserved{background:#fedf89}body.ui-v216 .subnet-cell.allocated{background:#84caff}
body.ui-v216 .shahkar-health-grid,body.ui-v216 .shahkar-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
body.ui-v216 .shahkar-account-card{padding:14px;border:1px solid var(--ui-line);border-radius:11px;background:#fff;box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .health-checks,body.ui-v216 .pwa-status-list{display:grid;gap:7px}
body.ui-v216 .health-checks>* ,body.ui-v216 .pwa-status-list>*{padding:9px 10px;border:1px solid var(--ui-line);border-radius:8px;background:var(--ui-surface-2)}
body.ui-v216 .calendar-toolbar,body.ui-v216 .calendar-head,body.ui-v216 .compact-calendar-head,body.ui-v216 .year-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body.ui-v216 .calendar-weekdays,body.ui-v216 .calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
body.ui-v216 .calendar-day{min-height:72px;padding:7px;border:1px solid var(--ui-line);border-radius:8px;background:#fff}
body.ui-v216 .layout-choice-grid,body.ui-v216 .theme-choice-grid,body.ui-v216 .density-choice-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px}
body.ui-v216 .layout-choice,body.ui-v216 .theme-choice,body.ui-v216 .density-choice{padding:11px;border:1px solid var(--ui-line);border-radius:9px;background:#fff}

/* ---------- modals / command palette ---------- */
body.ui-v216 .command-palette,body.ui-v216 .issue-report-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:start center;padding:8vh 16px 16px}
body.ui-v216 .command-backdrop,body.ui-v216 .issue-report-backdrop{position:absolute;inset:0;background:rgba(16,24,40,.62);backdrop-filter:blur(3px)}
body.ui-v216 .command-dialog,body.ui-v216 .issue-report-dialog{position:relative;width:min(720px,100%);max-height:84vh;overflow:auto;border:1px solid rgba(255,255,255,.4);border-radius:16px;background:#fff;box-shadow:var(--ui-shadow-pop)}
body.ui-v216 .command-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--ui-line)}
body.ui-v216 .command-search input{border:0;box-shadow:none;background:transparent;font-size:.9rem}
body.ui-v216 .command-actions{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border-bottom:1px solid var(--ui-line)}
body.ui-v216 .command-actions a{padding:6px 9px;border-radius:8px;background:var(--ui-surface-2);font-size:.7rem;font-weight:700}
body.ui-v216 .command-results{padding:10px 12px}

/* ---------- authentication ---------- */
body.ui-v216 .auth-container{width:min(460px,calc(100% - 28px));margin:8vh auto;padding:0}
body.ui-v216 .auth-card{padding:24px;border:1px solid var(--ui-line);border-radius:16px;background:#fff;box-shadow:0 22px 60px rgba(16,24,40,.1)}
body.ui-v216 .auth-head{display:grid;justify-items:center;gap:10px;margin-bottom:18px;text-align:center}
body.ui-v216 .auth-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--ui-primary);color:#fff;font-weight:900}
body.ui-v216 .auth-copy{display:grid;gap:3px}

/* ---------- utilities ---------- */
body.ui-v216 .scroll-to-top{position:fixed;inset-inline-start:18px;bottom:18px;z-index:110;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;box-shadow:var(--ui-shadow-pop)}
body.ui-v216 .readonly-banner{position:relative;top:auto}
body.ui-v216 .report-page-issue{position:fixed;inset-inline-start:18px;bottom:68px;z-index:100}
body.ui-v216 .pjax-progress{position:fixed;top:0;left:0;right:0;z-index:2000;height:2px;pointer-events:none}
body.ui-v216 .pjax-progress span{display:block;width:0;height:100%;background:var(--ui-primary)}

/* ---------- responsive ---------- */
@media(max-width:1280px){
  :root{--ui-sidebar:236px;--ui-page-pad:20px}
  body.ui-v216 .dashboard-command-grid{grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr)}
  body.ui-v216 .service-type-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ui-v216 .attention-grid-v161{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1080px){
  body.ui-v216 .workspace-header{grid-template-columns:minmax(190px,1fr) auto auto}
  body.ui-v216 .live-clock{display:none}
  body.ui-v216 .dashboard-command-grid,body.ui-v216 .dashboard-analytics-grid{grid-template-columns:1fr}
  body.ui-v216 .dashboard-side-stats{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto}
  body.ui-v216 .stats-grid,body.ui-v216 .summary-grid,body.ui-v216 .kpi-grid,body.ui-v216 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .request-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .settings-connection-grid,body.ui-v216 .settings-poll-grid,body.ui-v216 .settings-defaults-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  body.ui-v216 .notification-layout,body.ui-v216 .backup-primary-grid-v1220,body.ui-v216 .work-queue-layout{grid-template-columns:1fr}
  :root{--ui-header:58px;--ui-page-pad:15px}
  body.ui-v216 .sidebar{width:min(300px,88vw);transform:translateX(110%);transition:transform .2s ease;box-shadow:var(--ui-shadow-pop)}
  body.ui-v216.sidebar-open .sidebar{transform:translateX(0)}
  body.ui-v216 .sidebar-close{display:grid;place-items:center}
  body.ui-v216 .sidebar-backdrop{position:fixed;inset:0;z-index:90;background:rgba(16,24,40,.45);backdrop-filter:blur(2px)}
  body.ui-v216.sidebar-open .sidebar-backdrop{display:block}
  body.ui-v216 .workspace{margin:0}
  body.ui-v216 .workspace-header{grid-template-columns:minmax(0,1fr) auto auto;padding:8px 12px}
  body.ui-v216 .menu-button{display:grid;place-items:center}
  body.ui-v216 .workspace-title small{display:none}
  body.ui-v216 .header-search-button span,body.ui-v216 .header-search-button kbd,body.ui-v216 .notification-label{display:none}
  body.ui-v216 .header-search-button,body.ui-v216 .header-notification{width:38px;padding:0}
  body.ui-v216 .workspace>main.container{margin:18px auto 32px}
  body.ui-v216 .request-flow-v160{top:calc(var(--ui-header) + 6px);overflow-x:auto;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(120px,1fr);scrollbar-width:none}
  body.ui-v216 .request-flow-v160::-webkit-scrollbar{display:none}
  body.ui-v216 .request-flow-v160>a{justify-content:flex-start}
  body.ui-v216 .settings-toolbar{top:calc(var(--ui-header) + 6px);grid-template-columns:1fr}
  body.ui-v216 .content-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  body.ui-v216 .backup-auto-fields-v1220{grid-template-columns:1fr}
  body.ui-v216 .work-card{grid-template-columns:1fr}
  body.ui-v216 .calendar-day{min-height:58px;padding:5px}
  :root{--ui-page-pad:11px;--ui-space-5:15px}
  body.ui-v216{font-size:14px}
  body.ui-v216 .workspace-header{gap:6px}
  body.ui-v216 .workspace-title b{font-size:.8rem}
  body.ui-v216 .page-head{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:14px}
  body.ui-v216 .page-head h1{font-size:1.28rem}
  body.ui-v216 .head-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .head-actions>.button,body.ui-v216 .head-actions>button{width:100%}
  body.ui-v216 .card{padding:14px;margin-bottom:12px;border-radius:11px}
  body.ui-v216 .card-head{gap:10px;margin-bottom:11px;padding-bottom:10px}
  body.ui-v216 .card-head{flex-direction:column;align-items:flex-start}
  body.ui-v216 .card-head>.inline-actions{width:100%}
  body.ui-v216 .dashboard-page-head .dashboard-primary-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .dashboard-kpi-strip{display:flex;overflow-x:auto;gap:8px;margin-inline:calc(var(--ui-page-pad) * -1);padding-inline:var(--ui-page-pad);padding-bottom:3px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body.ui-v216 .dashboard-kpi-strip::-webkit-scrollbar{display:none}
  body.ui-v216 .dashboard-kpi{flex:0 0 min(72vw,230px);min-height:80px;scroll-snap-align:start}
  body.ui-v216 .dashboard-command-card .quick-links{grid-template-columns:1fr}
  body.ui-v216 .dashboard-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .dashboard-customizer{align-items:flex-start;flex-direction:column}
  body.ui-v216 .dashboard-side-stats{display:flex;overflow-x:auto;gap:8px;scroll-snap-type:x mandatory;scrollbar-width:none}
  body.ui-v216 .dashboard-side-stats::-webkit-scrollbar{display:none}
  body.ui-v216 .dashboard-side-stats .stat{flex:0 0 min(68vw,220px);scroll-snap-align:start}
  body.ui-v216 .attention-grid-v161{grid-template-columns:1fr}
  body.ui-v216 .horizontal-bar-row{grid-template-columns:1fr;gap:5px}
  body.ui-v216 .comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .form-grid.cols-2,body.ui-v216 .form-grid.cols-3,body.ui-v216 .form-grid.cols-4,body.ui-v216 .two-col,body.ui-v216 .two-column-grid,body.ui-v216 .three-column-grid{grid-template-columns:1fr}
  body.ui-v216 .span-2,body.ui-v216 .span-3,body.ui-v216 .span-4{grid-column:auto}
  body.ui-v216 .customer-type-picker,body.ui-v216 .service-type-picker{grid-template-columns:1fr}
  body.ui-v216 .choice-card{min-height:64px}
  body.ui-v216 .request-step-card{padding:14px;scroll-margin-top:124px}
  body.ui-v216 .request-step-actions{grid-template-columns:1fr 1fr}
  body.ui-v216 .request-step-indicator{grid-column:1/-1;grid-row:1;text-align:center}
  body.ui-v216 .request-step-actions button{width:100%}
  body.ui-v216 .request-review-grid{grid-template-columns:1fr}
  body.ui-v216 .request-action-bar{position:static;grid-template-columns:1fr;padding:11px}
  body.ui-v216 .request-action-buttons{display:grid;grid-template-columns:1fr;width:100%}
  body.ui-v216 .request-action-buttons button{width:100%}
  body.ui-v216 .settings-overview-grid,body.ui-v216 .settings-section-grid,body.ui-v216 .settings-key-grid,body.ui-v216 .settings-registration-grid,body.ui-v216 .settings-connection-grid,body.ui-v216 .settings-poll-grid,body.ui-v216 .settings-defaults-grid{grid-template-columns:1fr}
  body.ui-v216 .stats-grid,body.ui-v216 .summary-grid,body.ui-v216 .kpi-grid,body.ui-v216 .metric-grid,body.ui-v216 .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .filter-bar,body.ui-v216 .request-filter-bar,body.ui-v216 .services-filter-v170,body.ui-v216 .quality-filter-v170,body.ui-v216 .error-filter-v170,body.ui-v216 .diagnostic-filter-v190,body.ui-v216 .audit-filter-grid,body.ui-v216 .report-filter-fields-v1220{grid-template-columns:1fr}
  body.ui-v216 .input-action{grid-template-columns:1fr}
  body.ui-v216 .otp-row{grid-template-columns:1fr}
  body.ui-v216 .quick-otp-wrap,body.ui-v216 .quick-otp{align-items:stretch;flex-direction:column}
  body.ui-v216 .quick-otp input{width:100%}
  body.ui-v216 .meta-list>div{grid-template-columns:1fr;gap:2px}
  body.ui-v216 .check-row{grid-template-columns:12px minmax(0,1fr)}
  body.ui-v216 .check-row small{grid-column:2}
  body.ui-v216 table.mobile-card-table{min-width:0;border-collapse:separate}
  body.ui-v216 .mobile-card-wrap{border:0;background:transparent;box-shadow:none;overflow:visible}
  body.ui-v216 table.mobile-card-table thead{display:none}
  body.ui-v216 table.mobile-card-table tbody{display:grid;gap:9px}
  body.ui-v216 table.mobile-card-table tr{display:grid;border:1px solid var(--ui-line);border-radius:10px;background:#fff;box-shadow:var(--ui-shadow-xs);overflow:hidden}
  body.ui-v216 table.mobile-card-table td{display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);gap:10px;padding:8px 10px;border-bottom:1px solid var(--ui-line);text-align:right}
  body.ui-v216 table.mobile-card-table td:last-child{border-bottom:0}
  body.ui-v216 table.mobile-card-table td::before{content:attr(data-label);color:var(--ui-muted);font-size:.66rem;font-weight:750}
  body.ui-v216 table.mobile-card-table td[colspan]::before{display:none}
}
@media(max-width:480px){
  :root{--ui-page-pad:9px}
  body.ui-v216 .workspace>main.container{width:calc(100% - 18px);margin-top:13px}
  body.ui-v216 .page-head h1{font-size:1.2rem}
  body.ui-v216 .head-actions,body.ui-v216 .dashboard-page-head .dashboard-primary-actions{grid-template-columns:1fr}
  body.ui-v216 .dashboard-snapshot-grid,body.ui-v216 .comparison-grid,body.ui-v216 .stats-grid,body.ui-v216 .summary-grid,body.ui-v216 .kpi-grid,body.ui-v216 .metric-grid,body.ui-v216 .health-grid{grid-template-columns:1fr}
  body.ui-v216 .chart-card-head{align-items:flex-start}
  body.ui-v216 .chart-period-tabs{width:100%;overflow-x:auto}
  body.ui-v216 .chart-period-tabs button{flex:1}
  body.ui-v216 .settings-toolbar{padding:10px}
  body.ui-v216 .settings-tabs{margin-inline:-2px}
  body.ui-v216 .customer-requests-dialog{padding:14px}
  body.ui-v216 .customer-requests-dialog-head{flex-direction:column}
  body.ui-v216 .auth-container{margin-top:4vh}
}
@media(max-width:360px){
  body.ui-v216 .workspace-title b{font-size:.74rem}
  body.ui-v216 .dashboard-kpi{flex-basis:82vw}
  body.ui-v216 .request-flow-v160{grid-auto-columns:minmax(108px,1fr)}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body.ui-v216 *,body.ui-v216 *::before,body.ui-v216 *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

@media print{
  body.ui-v216{background:#fff;color:#000}
  body.ui-v216 .sidebar,body.ui-v216 .workspace-header,body.ui-v216 .app-footer,body.ui-v216 .scroll-to-top,body.ui-v216 .report-page-issue,body.ui-v216 .head-actions,body.ui-v216 .action-bar,body.ui-v216 .widget-handle{display:none!important}
  body.ui-v216 .workspace{margin:0}
  body.ui-v216 .workspace>main.container{width:100%;max-width:none;margin:0;padding:0}
  body.ui-v216 .card,body.ui-v216 .table-wrap{box-shadow:none;break-inside:avoid}
}


/* ========================================================================
   2.0.14 — Stabilization + UX Refinement
   Canonical presentation layer. No protocol/business/database semantics here.
   ======================================================================== */

/* tighter enterprise geometry + unified tokens */
:root{
  --ui-sidebar:252px;
  --ui-header:62px;
  --ui-content:1360px;
  --ui-page-pad:clamp(14px,1.7vw,24px);
  --ui-control:42px;
  --ui-radius-xs:6px;
  --ui-radius-sm:9px;
  --ui-radius:12px;
  --ui-radius-lg:15px;
  --ui-bg:#f4f6f9;
  --ui-surface:#fff;
  --ui-surface-2:#f8fafc;
  --ui-surface-3:#eef2f6;
  --ui-text:#182230;
  --ui-text-2:#344054;
  --ui-muted:#667085;
  --ui-line:#e4e9f0;
  --ui-line-strong:#cbd5e1;
  --ui-shadow-xs:0 1px 2px rgba(15,23,42,.035);
  --ui-shadow:0 6px 18px rgba(15,23,42,.045);
  --ui-shadow-pop:0 18px 48px rgba(15,23,42,.16);
}

body.ui-v216{font-size:14px;letter-spacing:-.005em}
body.ui-v216 .skip-link{position:fixed;z-index:1000;top:8px;right:50%;transform:translate(50%,-180%);padding:8px 12px;border-radius:8px;background:#101828;color:#fff;font-weight:800;transition:transform .15s ease}
body.ui-v216 .skip-link:focus{transform:translate(50%,0);box-shadow:0 0 0 3px #fff,0 0 0 6px var(--ui-primary)}

/* shell polish */
body.ui-v216 .sidebar{border-left-color:#233044;background:linear-gradient(180deg,#101828 0%,#0d1627 100%)}
body.ui-v216 .sidebar-brand{min-height:68px;padding:12px 14px}
body.ui-v216 .brand-mark{width:34px;height:34px;flex-basis:34px;border-radius:9px}
body.ui-v216 .sidebar-nav{padding:8px 9px 16px}
body.ui-v216 .sidebar-nav .nav-label{margin:15px 9px 5px;font-size:.62rem;letter-spacing:.035em;color:#7f8ba0}
body.ui-v216 .sidebar-nav>a,body.ui-v216 .nav-advanced-v170 summary,body.ui-v216 .nav-advanced-links-v170>a{min-height:37px;margin:1px 0;padding:6px 9px;border-radius:8px;font-size:.755rem}
body.ui-v216 .sidebar-nav>a.active,body.ui-v216 .nav-advanced-links-v170>a.active{background:linear-gradient(90deg,color-mix(in srgb,var(--ui-primary) 94%,#13243f),color-mix(in srgb,var(--ui-primary) 74%,#13243f));box-shadow:inset -1px 0 rgba(255,255,255,.08)}
body.ui-v216 .sidebar-account{padding:10px 12px}
body.ui-v216 .workspace-header{min-height:var(--ui-header);padding:8px var(--ui-page-pad);box-shadow:0 1px 0 rgba(15,23,42,.025)}
body.ui-v216 .workspace>main.container{width:min(var(--ui-content),calc(100% - (2 * var(--ui-page-pad))));margin:22px auto 40px;padding:0}
body.ui-v216 .app-footer{max-width:var(--ui-content);width:calc(100% - (2 * var(--ui-page-pad)));margin:0 auto;padding:20px 0 26px;color:#98a2b3;border-top:1px solid var(--ui-line);font-size:.67rem;text-align:center}

/* page hierarchy */
body.ui-v216 .page-head{margin:0 0 18px;align-items:flex-end}
body.ui-v216 .page-head>div:first-child{max-width:820px}
body.ui-v216 .page-head h1{font-size:1.55rem;line-height:1.25;letter-spacing:-.018em}
body.ui-v216 .page-head p{margin-top:5px;font-size:.79rem;line-height:1.7}
body.ui-v216 .card{padding:18px;margin-bottom:14px}
body.ui-v216 .card-head{margin-bottom:14px;padding-bottom:11px}
body.ui-v216 .card-head h2{font-size:.96rem}
body.ui-v216 .card-head p{font-size:.72rem;line-height:1.6}
body.ui-v216 .subcard,body.ui-v216 .sub-card{padding:13px}

/* buttons: clearer hierarchy, smaller visual noise */
body.ui-v216 button,body.ui-v216 .button{min-height:40px;padding-inline:13px;font-size:.76rem;border-radius:8px;box-shadow:none}
body.ui-v216 button.primary,body.ui-v216 .button.primary{box-shadow:0 1px 2px rgba(37,99,235,.14)}
body.ui-v216 button.danger,body.ui-v216 .button.danger{box-shadow:0 1px 2px rgba(180,35,24,.12)}
body.ui-v216 .button.ghost,body.ui-v216 button.ghost{color:#475467}
body.ui-v216 .button.ghost:hover,body.ui-v216 button.ghost:hover{background:#f2f4f7;color:#101828}

/* form field rhythm + validation */
body.ui-v216 .form-grid{gap:13px 14px}
body.ui-v216 label,body.ui-v216 .field-label{gap:5px;font-size:.75rem}
body.ui-v216 input,body.ui-v216 select,body.ui-v216 textarea{min-height:41px;padding:8px 10px;border-radius:8px;font-size:.79rem;background:#fff}
body.ui-v216 textarea{min-height:92px;line-height:1.75}
body.ui-v216 label:has(:is(input,select,textarea):required)>:first-child::after{content:""}
body.ui-v216 :is(input,select,textarea).field-invalid,body.ui-v216 :is(input,select,textarea):user-invalid{border-color:#f04438;background:#fffafa;box-shadow:0 0 0 3px rgba(240,68,56,.08)}
body.ui-v216 .field-error-text{margin-top:1px;color:#b42318;font-size:.66rem;font-weight:650;line-height:1.55}
body.ui-v216 .form-error-summary{margin:0 0 14px;padding:12px 14px;border:1px solid #fecdca;border-radius:10px;background:#fef3f2;color:#912018}
body.ui-v216 .form-error-summary strong{display:block;margin-bottom:4px;font-size:.78rem}
body.ui-v216 .form-error-summary ul{margin:0;padding:0 18px 0 0;display:grid;gap:2px;font-size:.71rem}
body.ui-v216 form[aria-busy="true"]{position:relative}
body.ui-v216 form[aria-busy="true"]::after{content:"در حال پردازش…";position:fixed;z-index:450;left:20px;bottom:20px;padding:9px 13px;border-radius:9px;background:#101828;color:#fff;font-size:.72rem;font-weight:700;box-shadow:var(--ui-shadow-pop)}

/* request wizard */
body.ui-v216.page-requests-new .workspace>main.container{max-width:1180px}
body.ui-v216 .operation-tabs{padding:6px;gap:6px;border-radius:10px}
body.ui-v216 .request-flow-v160{top:calc(var(--ui-header) + 8px);padding:5px;gap:3px;border-radius:10px;box-shadow:0 5px 18px rgba(15,23,42,.06)}
body.ui-v216 .request-flow-v160>a{min-height:42px;padding:6px 7px;font-size:.68rem}
body.ui-v216 .request-flow-v160>a b,body.ui-v216 .request-flow-v160>a .stage-number{width:22px;height:22px;flex-basis:22px}
body.ui-v216 .request-step-card{padding:20px;scroll-margin-top:132px}
body.ui-v216 .request-step-card>.card-head{margin-bottom:16px}
body.ui-v216 .request-step-card>.card-head h2{font-size:1rem}
body.ui-v216 .request-step-actions{margin-top:20px;padding-top:15px}
body.ui-v216 .request-step-indicator{font-size:.68rem;color:#7a8699}
body.ui-v216 .choice-group{padding:14px;border-color:#dde4ec;background:#f9fbfd}
body.ui-v216 .customer-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ui-v216 .service-type-picker{grid-template-columns:repeat(5,minmax(0,1fr))}
body.ui-v216 .choice-card{min-height:82px;padding:11px;border-radius:10px;align-content:start}
body.ui-v216 .choice-card strong{font-size:.78rem}
body.ui-v216 .choice-card small{font-size:.65rem;line-height:1.55;color:#667085}
body.ui-v216 .choice-card.is-selected{border-color:var(--ui-primary);background:linear-gradient(180deg,#fff,#f4f8ff);box-shadow:0 0 0 2px color-mix(in srgb,var(--ui-primary) 10%,transparent)}
body.ui-v216 .service-form-block,body.ui-v216 .service-type-panel{border:1px solid var(--ui-line);border-radius:11px;background:#fff}
body.ui-v216 .service-form-block{padding:15px}
body.ui-v216 .service-type-panel{padding:15px;animation:none}
body.ui-v216 .service-type-panels{margin-top:12px}
body.ui-v216 .service-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--ui-line)}
body.ui-v216 .service-block-head>div{display:grid;gap:2px}
body.ui-v216 .service-block-head b{font-size:.79rem}
body.ui-v216 .service-block-head small{font-size:.66rem;color:var(--ui-muted)}
body.ui-v216 .service-type-chip{display:inline-flex;align-items:center;min-height:25px;padding:2px 8px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:.63rem;font-weight:800;white-space:nowrap}
body.ui-v216 .date-choice-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--ui-line);border-radius:10px;background:#fafbfc}
body.ui-v216 .date-choice-head{grid-column:1/-1;display:grid;gap:1px;padding-bottom:7px;border-bottom:1px solid var(--ui-line)}
body.ui-v216 .date-choice-head b{font-size:.74rem}
body.ui-v216 .date-choice-head small{font-size:.64rem;color:var(--ui-muted)}
body.ui-v216 .request-review-grid{gap:8px}
body.ui-v216 .request-review-item{padding:10px 11px;border-radius:9px;background:#f8fafc}
body.ui-v216 .request-action-bar{border:1px solid var(--ui-line);border-radius:12px;background:#fff;padding:11px 12px;box-shadow:0 6px 18px rgba(15,23,42,.04)}

/* dashboard hierarchy */
body.ui-v216.page-dashboard .workspace>main.container{max-width:1320px}
body.ui-v216 .dashboard-kpi-strip{gap:9px;margin-bottom:13px}
body.ui-v216 .dashboard-kpi{min-height:86px;padding:13px 14px;margin:0;border-radius:11px;box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .dashboard-kpi strong{font-size:1.35rem}
body.ui-v216 .dashboard-command-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:12px;margin-bottom:12px}
body.ui-v216 .dashboard-command-card,body.ui-v216 .dashboard-snapshot-card{margin-bottom:0}
body.ui-v216 .dashboard-command-card .quick-links{gap:8px}
body.ui-v216 .dashboard-command-link{min-height:69px;padding:11px 12px}
body.ui-v216 .dashboard-snapshot-grid article{padding:10px}
body.ui-v216 .dashboard-customizer{margin-bottom:12px}
body.ui-v216 .dashboard-analytics-grid{grid-template-columns:minmax(0,1fr) 205px;gap:12px}
body.ui-v216 .request-chart{min-height:190px}
body.ui-v216 .request-chart[data-total="0"]{min-height:104px}
body.ui-v216 .attention-grid-v161{gap:8px}
body.ui-v216 .attention-tile{min-height:72px;padding:10px 11px}
body.ui-v216 .operational-attention-v161{border-color:#dbe4ee}
body.ui-v216 .operational-attention-v161:has(.attention-tile.has-issue){border-color:#fedf89;background:linear-gradient(180deg,#fff,#fffdf8)}
body.ui-v216 .registration-overview-card .horizontal-bar-chart{gap:8px}
body.ui-v216 .dashboard-table-card table{min-width:760px}

/* tables */
body.ui-v216 .table-wrap{border-radius:11px;box-shadow:none}
body.ui-v216 table{font-size:.735rem}
body.ui-v216 th{padding:9px 10px;background:#f7f9fc;font-size:.67rem;color:#536174}
body.ui-v216 td{padding:9px 10px}
body.ui-v216 tbody tr:hover td{background:#f9fbfd}
body.ui-v216 .table-wrap.has-horizontal-overflow{padding-bottom:2px}
body.ui-v216 .table-wrap.has-horizontal-overflow::before{content:"";position:sticky;left:0;z-index:3;float:left;width:18px;height:100%;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,0))}
body.ui-v216 .table-wrap.has-scrolled::before{opacity:0}

/* standardized state panels */
body.ui-v216 .empty,body.ui-v216 .empty-state,body.ui-v216 .state-empty{padding:22px;border-style:dashed;background:#fafbfc;color:#667085}
body.ui-v216 .state-panel{display:grid;place-items:center;gap:7px;min-height:110px;padding:22px;border:1px dashed var(--ui-line-strong);border-radius:11px;background:#fafbfc;text-align:center;color:#667085}
body.ui-v216 .state-panel strong{color:#344054;font-size:.8rem}
body.ui-v216 .state-error{border-color:#fecdca;background:#fff8f7;color:#b42318}
body.ui-v216 .skeleton{position:relative;overflow:hidden;background:#eef2f6!important;color:transparent!important;border-color:transparent!important}
body.ui-v216 .skeleton::after{content:"";position:absolute;inset:0;transform:translateX(100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:ui213-shimmer 1.35s infinite}
@keyframes ui213-shimmer{to{transform:translateX(-100%)}}

/* settings */
body.ui-v216.page-setup .workspace>main.container{max-width:1260px}
body.ui-v216 .settings-toolbar{top:calc(var(--ui-header) + 7px);padding:11px;border-radius:11px;box-shadow:0 5px 18px rgba(15,23,42,.055)}
body.ui-v216 .settings-search{min-width:260px}
body.ui-v216 .settings-tabs{gap:4px}
body.ui-v216 .settings-tabs button{min-height:36px;padding-inline:10px;font-size:.69rem}
body.ui-v216 .settings-card{overflow:hidden}
body.ui-v216 .settings-key-grid>.card,body.ui-v216 .settings-registration-grid>.card{height:fit-content}
body.ui-v216 .pem-view{max-height:300px;padding:12px;border-radius:9px;background:#101828;color:#d1e9ff;overflow:auto;font-size:.7rem;line-height:1.65}
body.ui-v216 code.block{display:block;max-width:100%;padding:9px 10px;border:1px solid var(--ui-line);border-radius:8px;background:#f8fafc;overflow:auto;font-size:.7rem}

/* danger / consequential operations */
body.ui-v216 .danger-zone{background:linear-gradient(180deg,#fff,#fffafa)}
body.ui-v216 .danger-zone .card-head h2{color:#912018}
body.ui-v216 button.danger[data-confirm],body.ui-v216 .button.danger[data-confirm]{outline-offset:2px}

/* accessible focus and pointer targets */
body.ui-v216 :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid color-mix(in srgb,var(--ui-primary) 75%,#fff);outline-offset:2px;box-shadow:var(--ui-focus)}
body.ui-v216 summary{cursor:pointer}

/* compact responsive rules */
@media(max-width:1280px){
  :root{--ui-sidebar:238px;--ui-content:1220px}
  body.ui-v216 .service-type-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ui-v216 .dashboard-command-grid{grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr)}
}
@media(max-width:1080px){
  body.ui-v216 .dashboard-command-grid,body.ui-v216 .dashboard-analytics-grid{grid-template-columns:1fr}
  body.ui-v216 .dashboard-side-stats{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto}
  body.ui-v216 .service-type-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ui-v216 .date-choice-group{grid-template-columns:1fr}
}
@media(max-width:900px){
  body.ui-v216.sidebar-open{overflow:hidden;touch-action:none}
  body.ui-v216 .sidebar{width:min(304px,88vw)}
  body.ui-v216 .workspace>main.container{margin-top:16px}
  body.ui-v216 .request-flow-v160{scroll-snap-type:x proximity}
  body.ui-v216 .request-flow-v160>a{scroll-snap-align:start}
  body.ui-v216 .settings-toolbar{position:static}
}
@media(max-width:720px){
  :root{--ui-page-pad:10px}
  body.ui-v216 .workspace>main.container{width:calc(100% - 20px);margin:13px auto 28px}
  body.ui-v216 .page-head h1{font-size:1.22rem}
  body.ui-v216 .page-head p{font-size:.74rem}
  body.ui-v216 .card{padding:13px;border-radius:10px}
  body.ui-v216 .request-step-card{padding:13px}
  body.ui-v216 .request-step-actions{grid-template-columns:1fr 1fr;gap:8px}
  body.ui-v216 .request-step-indicator{grid-column:1/-1;grid-row:1}
  body.ui-v216 .choice-card{min-height:61px}
  body.ui-v216 .service-type-picker,body.ui-v216 .customer-type-picker{grid-template-columns:1fr}
  body.ui-v216 .date-choice-group{padding:10px}
  body.ui-v216 .dashboard-kpi{flex-basis:min(75vw,240px)}
  body.ui-v216 .dashboard-command-card .quick-links{grid-template-columns:1fr}
  body.ui-v216 .dashboard-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 table.mobile-card-table td{grid-template-columns:minmax(86px,.36fr) minmax(0,1fr)}
  body.ui-v216 .settings-search{min-width:0}
  body.ui-v216 .settings-tabs{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
  body.ui-v216 .settings-tabs::-webkit-scrollbar{display:none}
  body.ui-v216 .settings-tabs button{flex:0 0 auto;scroll-snap-align:start}
}
@media(max-width:480px){
  body.ui-v216 .dashboard-snapshot-grid{grid-template-columns:1fr}
  body.ui-v216 .request-action-bar{padding:9px}
  body.ui-v216 .request-step-actions{grid-template-columns:1fr}
  body.ui-v216 .request-step-indicator{grid-column:auto;grid-row:auto;order:-1}
  body.ui-v216 .request-step-actions button{width:100%}
  body.ui-v216 .workspace-header{grid-template-columns:minmax(0,1fr) auto auto}
}
@media(max-width:390px){
  body.ui-v216 .workspace-title b{font-size:.72rem}
  body.ui-v216 .request-flow-v160{grid-auto-columns:minmax(104px,1fr)}
  body.ui-v216 .dashboard-kpi{flex-basis:82vw}
}
@media(prefers-reduced-motion:reduce){
  body.ui-v216 .skeleton::after{animation:none}
}

/* 2.0.14 QA refinements */
body.ui-v216 .dashboard-analytics-grid{align-items:start}
body.ui-v216 .request-chart-card{align-self:start}
body.ui-v216 .dashboard-side-stats{grid-template-rows:none;align-content:start}
body.ui-v216 .dashboard-side-stats .stat{min-height:76px;padding:11px 12px}
body.ui-v216 .dashboard-side-stats .stat strong{font-size:1.05rem}
body.ui-v216 .dashboard-widgets>.dashboard-analytics-grid{min-height:0}
@media(max-width:1080px){body.ui-v216 .dashboard-side-stats .stat{min-height:70px}}

/* 2.0.14 visual-QA fixes */
body.ui-v216 .request-chart svg{display:block;width:100%;height:220px;max-height:220px}
body.ui-v216 .request-chart[data-total="0"] svg{height:96px;max-height:96px}
@media(max-width:720px){
  body.ui-v216 .dashboard-kpi-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0;overflow:visible;scroll-snap-type:none}
  body.ui-v216 .dashboard-kpi{min-width:0;min-height:78px;flex:none;scroll-snap-align:none}
  body.ui-v216 .dashboard-kpi:last-child:nth-child(odd){grid-column:1/-1}
  body.ui-v216 .request-chart svg{height:170px;max-height:170px}
  body.ui-v216 .request-chart[data-total="0"] svg{height:86px;max-height:86px}
}
/* chart intrinsic-size normalization: old SVG rules must not force oversized cards */
body.ui-v216 .request-chart svg{min-height:0!important}


/* ========================================================================
   2.0.14 — Visual coherence + interaction polish
   This remains presentation-only. No API, payload, database or licensing logic.
   ======================================================================== */

:root{
  --ui-sidebar:248px;
  --ui-header:64px;
  --ui-content:1380px;
  --ui-page-pad:clamp(14px,1.8vw,28px);
  --ui-bg:#f6f8fb;
  --ui-surface-2:#f9fafb;
  --ui-surface-3:#f2f4f7;
  --ui-line:#e5eaf0;
  --ui-line-strong:#d0d7e2;
  --ui-text:#182230;
  --ui-text-2:#3f4b5f;
  --ui-muted:#6b7688;
  --ui-shadow-xs:0 1px 2px rgba(16,24,40,.035);
  --ui-shadow:0 8px 22px rgba(16,24,40,.045);
}

body.ui-v216{font-size:14.25px;line-height:1.72;background:radial-gradient(circle at 35% -10%,rgba(37,99,235,.035),transparent 32%),var(--ui-bg)}
body.ui-v216 .workspace{background:transparent}
body.ui-v216 .workspace-header{border-bottom-color:#e8edf3;background:rgba(255,255,255,.975);box-shadow:0 1px 3px rgba(16,24,40,.025)}
body.ui-v216 .workspace>main.container{margin-top:24px;margin-bottom:34px}

/* Sidebar: calmer contrast, clearer active state, consistent hit targets. */
body.ui-v216 .sidebar{background:linear-gradient(180deg,#111a2b 0%,#0c1423 100%);border-left-color:#253149}
body.ui-v216 .sidebar-brand{min-height:70px}
body.ui-v216 .sidebar-nav{padding:9px 9px 18px}
body.ui-v216 .sidebar-nav .nav-label{margin:17px 10px 6px;color:#7f8ba0;font-size:.63rem}
body.ui-v216 .sidebar-nav>a,body.ui-v216 .nav-advanced-v170 summary,body.ui-v216 .nav-advanced-links-v170>a{min-height:39px;padding:7px 10px;border-radius:9px;font-size:.77rem}
body.ui-v216 .sidebar-nav>a:hover,body.ui-v216 .nav-advanced-v170 summary:hover,body.ui-v216 .nav-advanced-links-v170>a:hover{background:rgba(255,255,255,.065)}
body.ui-v216 .sidebar-nav>a.active,body.ui-v216 .nav-advanced-links-v170>a.active{background:linear-gradient(90deg,color-mix(in srgb,var(--ui-primary) 87%,#182a49),color-mix(in srgb,var(--ui-primary) 67%,#182a49));box-shadow:inset 0 0 0 1px rgba(255,255,255,.055)}
body.ui-v216 .sidebar-nav>a.active::before,body.ui-v216 .nav-advanced-links-v170>a.active::before{top:9px;bottom:9px;background:#d1e9ff}
body.ui-v216 .sidebar-account{min-height:58px}

/* Header: visually lighter and more useful without consuming vertical space. */
body.ui-v216 .workspace-title b{font-size:.91rem;letter-spacing:-.01em}
body.ui-v216 .workspace-title small{font-size:.69rem}
body.ui-v216 .live-clock{min-height:38px;border-color:#e5e9ef;background:#fbfcfd}
body.ui-v216 .header-search-button,body.ui-v216 .header-notification{border-color:#e1e7ee;background:#fff}
body.ui-v216 .header-search-button:hover,body.ui-v216 .header-notification:hover{background:#f8fafc;border-color:#cbd5e1}

/* Page hierarchy and cards. */
body.ui-v216 .page-head{margin-bottom:20px}
body.ui-v216 .page-head h1{font-size:clamp(1.42rem,1.25rem + .42vw,1.72rem);font-weight:850}
body.ui-v216 .page-head p{max-width:820px;color:#697586;font-size:.8rem}
body.ui-v216 .card,body.ui-v216 .summary-card,body.ui-v216 .stat,body.ui-v216 .kpi,body.ui-v216 .metric-card{border-color:#e3e8ef;box-shadow:var(--ui-shadow-xs)}
body.ui-v216 .card:hover{border-color:#dbe2ea}
body.ui-v216 .card-head{align-items:center}
body.ui-v216 .card-head h2{font-size:.985rem;letter-spacing:-.006em}
body.ui-v216 .card-head p{color:#748094}
body.ui-v216 .notice{border-radius:10px}

/* Buttons and controls: clearer visual hierarchy and more predictable sizing. */
body.ui-v216 button,body.ui-v216 .button{min-height:40px;border-radius:8px;font-weight:720;transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .08s ease}
body.ui-v216 button.primary,body.ui-v216 .button.primary{box-shadow:0 2px 5px rgba(37,99,235,.16)}
body.ui-v216 button.danger,body.ui-v216 .button.danger{box-shadow:0 2px 5px rgba(180,35,24,.12)}
body.ui-v216 input,body.ui-v216 select,body.ui-v216 textarea{border-color:#d8e0ea;background:#fff;box-shadow:inset 0 1px 1px rgba(16,24,40,.018)}
body.ui-v216 input:hover,body.ui-v216 select:hover,body.ui-v216 textarea:hover{border-color:#c4ceda}
body.ui-v216 input:focus,body.ui-v216 select:focus,body.ui-v216 textarea:focus{border-color:color-mix(in srgb,var(--ui-primary) 62%,#fff);box-shadow:var(--ui-focus)}
body.ui-v216 label>small,body.ui-v216 .hint{color:#7b8798;line-height:1.55}

/* Status/badge language is deliberately quiet unless action is required. */
body.ui-v216 .badge,body.ui-v216 .status{font-weight:760;letter-spacing:0}
body.ui-v216 .flash-stack{display:grid;gap:8px;margin-bottom:14px}
body.ui-v216 .flash{border-radius:10px;box-shadow:none}

/* Dashboard: reduce noise and keep actionable information above analytical decoration. */
body.ui-v216.page-dashboard .workspace>main.container{max-width:1340px}
body.ui-v216 .dashboard-kpi-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
body.ui-v216 .dashboard-kpi{min-height:92px;padding:14px 15px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:start;gap:2px 10px;border-right:3px solid #d7deea}
body.ui-v216 .dashboard-kpi span{grid-column:1;grid-row:1;font-weight:780;color:#344054}
body.ui-v216 .dashboard-kpi small{grid-column:1;grid-row:2;color:#8a94a5}
body.ui-v216 .dashboard-kpi strong{grid-column:2;grid-row:1/3;align-self:center;font-size:1.5rem;line-height:1;color:#101828}
body.ui-v216 .dashboard-kpi.info{border-right-color:#2e90fa}
body.ui-v216 .dashboard-kpi.warning{border-right-color:#f79009}
body.ui-v216 .dashboard-kpi.success{border-right-color:#12b76a}
body.ui-v216 .dashboard-kpi.danger{border-right-color:#f04438}
body.ui-v216 .dashboard-command-grid{gap:14px}
body.ui-v216 .dashboard-command-link{border-color:#e4e9ef;background:#fbfcfd}
body.ui-v216 .dashboard-command-link:hover{border-color:#cfd8e3;background:#fff;box-shadow:0 5px 14px rgba(16,24,40,.045)}
body.ui-v216 .dashboard-snapshot-grid article{border-color:#e5eaf0;background:#fbfcfd}
body.ui-v216 .operational-attention-v161{box-shadow:none}
body.ui-v216 .attention-tile{border-color:#e4e9ef;background:#fbfcfd}
body.ui-v216 .attention-tile.has-issue{border-color:#fedf89;background:#fffcf5}
body.ui-v216 .dashboard-customizer{padding:11px 14px;background:#fafbfc;box-shadow:none}
body.ui-v216 .request-chart-card{overflow:hidden}
body.ui-v216 .chart-period-tabs{padding:3px;border-radius:8px;background:#f2f4f7}
body.ui-v216 .chart-period-tabs button{min-height:30px;border:0;background:transparent;box-shadow:none}
body.ui-v216 .chart-period-tabs button.is-active{background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.08)}
body.ui-v216 .registration-rate{white-space:nowrap}

/* Request/service flow: stronger stage comprehension with less visual clutter. */
body.ui-v216.page-requests-new .workspace>main.container{max-width:1160px}
body.ui-v216 .operation-tabs{background:#fff;border-color:#e1e7ee}
body.ui-v216 .request-flow-v160{background:rgba(255,255,255,.97);border-color:#e3e8ef}
body.ui-v216 .request-flow-v160>a{position:relative;border-radius:8px;color:#697586}
body.ui-v216 .request-flow-v160>a.is-current{background:#eff6ff;color:#175cd3;font-weight:800}
body.ui-v216 .request-flow-v160>a.is-complete{color:#067647}
body.ui-v216 .request-flow-v160>a:not(:last-child)::after{content:"";position:absolute;left:-7px;top:50%;width:11px;height:1px;background:#dce3ec;transform:translateY(-50%)}
body.ui-v216 .request-step-card{padding:20px 20px 18px;border-color:#dfe6ee;box-shadow:0 5px 16px rgba(16,24,40,.035)}
body.ui-v216 .request-step-card>.card-head h2{font-size:1.02rem}
body.ui-v216 .choice-group{background:#fbfcfe;border-color:#e1e7ee}
body.ui-v216 .choice-card{min-height:86px;background:#fff;border-color:#dfe6ee;box-shadow:0 1px 2px rgba(16,24,40,.02)}
body.ui-v216 .choice-card:hover{border-color:#b9c5d3;background:#fff}
body.ui-v216 .choice-card.is-selected{border-color:#84adff;background:#f5f8ff;box-shadow:0 0 0 2px rgba(47,111,237,.08)}
body.ui-v216 .service-form-block,body.ui-v216 .service-type-panel{border-color:#dfe6ee;background:#fff}
body.ui-v216 .service-block-head{background:#fbfcfd;margin:-15px -15px 13px;padding:11px 14px;border-radius:10px 10px 0 0}
body.ui-v216 .service-type-chip{background:#eef4ff;color:#3538cd}
body.ui-v216 .request-review-item{border:1px solid #e7ebf0;background:#fbfcfd}
body.ui-v216 .request-review-item span{color:#7b8798}
body.ui-v216 .request-action-bar{position:sticky;bottom:10px;z-index:35;backdrop-filter:blur(12px);background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(16,24,40,.09)}
body.ui-v216 .request-autosave-panel{min-width:220px}

/* Tables: easier scanning and better containment on dense operational pages. */
body.ui-v216 .table-wrap{border:1px solid #e2e7ee;background:#fff}
body.ui-v216 table{font-size:.75rem}
body.ui-v216 th{position:sticky;top:0;z-index:2;padding:10px 11px;background:#f7f9fc;color:#536174;font-weight:800}
body.ui-v216 td{padding:10px 11px;border-bottom-color:#edf0f4}
body.ui-v216 tbody tr:nth-child(even) td{background:#fcfdfe}
body.ui-v216 tbody tr:hover td{background:#f5f8fc}
body.ui-v216 td .button,body.ui-v216 td button{min-height:32px}
body.ui-v216 .pagination{gap:5px}

/* Settings and code/key material. */
body.ui-v216.page-setup .workspace>main.container{max-width:1220px}
body.ui-v216 .settings-toolbar{border-color:#dfe6ee;background:rgba(255,255,255,.98)}
body.ui-v216 .settings-tabs button.is-active,body.ui-v216 .settings-tabs button.active{background:#eef4ff;color:#175cd3;border-color:#b2ccff}
body.ui-v216 .pem-view{border:1px solid #27364f;background:#111b2d;color:#dbeafe}
body.ui-v216 code.block{border-color:#e1e7ee;background:#f8fafc}

/* Dialogs/popovers: consistent overlay surfaces. */
body.ui-v216 :is(.command-dialog,.customer-requests-dialog,.modal-dialog,.dialog){border:1px solid #dde4ec;box-shadow:0 24px 64px rgba(16,24,40,.2)}
body.ui-v216 .notification-popover{border-color:#dde4ec}

/* Empty/loading/error states should communicate without becoming giant cards. */
body.ui-v216 :is(.empty,.empty-state,.state-empty){min-height:72px;display:grid;place-items:center;padding:18px;background:#fbfcfd}
body.ui-v216 .state-panel{min-height:92px;padding:18px}
body.ui-v216 .state-error{background:#fff8f7}

/* Responsive layout tuning. */
@media(max-width:1280px){
  :root{--ui-sidebar:238px}
  body.ui-v216 .dashboard-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ui-v216 .dashboard-kpi:nth-child(n+4){grid-column:auto}
}
@media(max-width:1080px){
  body.ui-v216 .dashboard-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ui-v216 .dashboard-kpi:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:900px){
  body.ui-v216 .request-action-bar{bottom:8px}
  body.ui-v216 .request-flow-v160>a:not(:last-child)::after{display:none}
}
@media(max-width:720px){
  body.ui-v216{font-size:14px}
  body.ui-v216 .workspace>main.container{margin-top:14px}
  body.ui-v216 .page-head{align-items:stretch}
  body.ui-v216 .page-head .head-actions{width:100%}
  body.ui-v216 .page-head .head-actions>.button,body.ui-v216 .page-head .head-actions>button{flex:1 1 auto;justify-content:center}
  body.ui-v216 .dashboard-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.ui-v216 .dashboard-kpi{min-height:80px;padding:11px 12px}
  body.ui-v216 .dashboard-kpi strong{font-size:1.25rem}
  body.ui-v216 .request-action-bar{position:static;box-shadow:none;backdrop-filter:none;background:#fff}
  body.ui-v216 .request-action-buttons{display:grid;grid-template-columns:1fr;width:100%}
  body.ui-v216 .request-action-buttons button{width:100%}
  body.ui-v216 .request-autosave-panel{min-width:0;width:100%}
  body.ui-v216 table.mobile-card-table tbody tr{border-color:#e1e7ee;box-shadow:0 1px 2px rgba(16,24,40,.03)}
}
@media(max-width:480px){
  body.ui-v216 .dashboard-kpi-strip{grid-template-columns:1fr 1fr}
  body.ui-v216 .dashboard-kpi:last-child:nth-child(odd){grid-column:1/-1}
  body.ui-v216 .dashboard-kpi span{font-size:.72rem}
  body.ui-v216 .dashboard-kpi small{font-size:.62rem}
  body.ui-v216 .dashboard-kpi strong{font-size:1.2rem}
  body.ui-v216 .card{padding:12px}
  body.ui-v216 .request-step-card{padding:13px}
  body.ui-v216 .service-block-head{margin:-13px -13px 12px;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){
  body.ui-v216 *,body.ui-v216 *::before,body.ui-v216 *::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}


/* 2.0.14 corrective UX layer -------------------------------------------------
   Fixes validated from real desktop/mobile screenshots. These rules are kept
   in the canonical layer rather than a second runtime override file. */

/* Prevent legacy v2.0.10 radio-dot pseudo element from leaking into the visual
   service cards while old compatibility body markers still exist. */
body.ui-v216 .choice-card::before,
body.ui-v216 .choice-card::after{content:none!important;display:none!important}
body.ui-v216 .choice-card{position:relative;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}
body.ui-v216 .choice-card:hover{transform:translateY(-1px)}
body.ui-v216 .choice-card.is-selected::after{content:"✓"!important;display:grid!important;position:absolute;inset-inline-start:10px;top:10px;width:22px;height:22px;place-items:center;border-radius:999px;background:var(--ui-primary);color:#fff;font-size:.72rem;font-weight:900;box-shadow:0 2px 7px rgba(37,99,235,.22)}
body.ui-v216 [data-customer-type-group][hidden]{display:none!important}

/* Identity type is mutually exclusive at DOM/validation level as well as visually. */
body.ui-v216 :is(.real-only,.legal-only)[hidden]{display:none!important}

/* Autosave: true circle that cannot be squeezed by flexbox. */
body.ui-v216 .request-autosave-panel{align-items:center;gap:10px}
body.ui-v216 .request-autosave-dot{position:relative;display:block;flex:0 0 12px!important;width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;max-width:12px!important;max-height:12px!important;aspect-ratio:1/1;border-radius:999px!important;background:#98a2b3;box-shadow:0 0 0 4px rgba(152,162,179,.12)}
body.ui-v216 .request-autosave-panel[data-state="dirty"] .request-autosave-dot{background:#f79009;box-shadow:0 0 0 4px rgba(247,144,9,.13)}
body.ui-v216 .request-autosave-panel[data-state="saving"] .request-autosave-dot{background:#2f6fed;box-shadow:0 0 0 4px rgba(47,111,237,.13);animation:ui214Pulse 1s ease-in-out infinite}
body.ui-v216 .request-autosave-panel[data-state="saved"] .request-autosave-dot{background:#12b76a;box-shadow:0 0 0 4px rgba(18,183,106,.13)}
body.ui-v216 .request-autosave-panel[data-state="error"] .request-autosave-dot{background:#f04438;box-shadow:0 0 0 4px rgba(240,68,56,.13)}
@keyframes ui214Pulse{0%,100%{transform:scale(.86);opacity:.72}50%{transform:scale(1);opacity:1}}

/* Dashboard chart: one coherent column, compact summary row, controlled chart
   geometry and a dedicated empty state rather than a microscopic SVG. */
body.ui-v216 .dashboard-analytics-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start}
body.ui-v216 .dashboard-side-stats{order:-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
body.ui-v216 .dashboard-side-stats .stat{min-height:72px!important;padding:10px 12px!important;border-radius:10px!important}
body.ui-v216 .request-chart-card{min-height:0!important;overflow:hidden}
body.ui-v216 .request-chart{position:relative;display:block!important;width:100%;min-height:236px!important;height:236px!important;padding:4px 2px 0;overflow:hidden}
body.ui-v216 .request-chart svg{display:block;width:100%!important;height:228px!important;max-height:228px!important;min-height:0!important;overflow:visible}
body.ui-v216 .request-chart.is-empty{height:136px!important;min-height:136px!important;padding:0}
body.ui-v216 .chart-empty-state{height:100%;min-height:136px;display:grid;place-items:center;align-content:center;gap:3px;text-align:center;color:var(--ui-muted);background:linear-gradient(180deg,#fff,#fbfcfe);border:1px dashed var(--ui-line);border-radius:10px}
body.ui-v216 .chart-empty-state[hidden]{display:none!important}
body.ui-v216 .chart-empty-state b{font-size:.78rem;color:var(--ui-text-2)}
body.ui-v216 .chart-empty-state small{font-size:.66rem}
body.ui-v216 .chart-empty-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#f2f4f7;color:#98a2b3;font-weight:900}
body.ui-v216 .chart-period-tabs{flex:0 0 auto}

/* Scroll-to-top uses physical left: logical inline-start is right in RTL. */
body.ui-v216 .scroll-to-top{left:16px!important;right:auto!important;inset-inline-start:auto!important;inset-inline-end:auto!important;bottom:16px!important;width:42px;height:42px;min-height:42px;border-radius:999px;background:#fff;border:1px solid var(--ui-line);box-shadow:0 10px 26px rgba(16,24,40,.14);transition:opacity .18s ease,transform .18s ease,box-shadow .18s ease}
body.ui-v216 .scroll-to-top:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(16,24,40,.18)}

/* Service management actions must look like actions, not plain text links. */
body.ui-v216.page-services .head-actions .button:not(.primary),
body.ui-v216.page-services .row-actions-v170 .button:not(.primary),
body.ui-v216.page-services .services-filter-actions-v170 .button:not(.primary),
body.ui-v216.page-services .card>.head-actions .button:not(.primary){background:#fff!important;border:1px solid #d6dee8!important;color:#344054!important;box-shadow:0 1px 2px rgba(16,24,40,.035)!important}
body.ui-v216.page-services .head-actions .button:not(.primary):hover,
body.ui-v216.page-services .row-actions-v170 .button:not(.primary):hover,
body.ui-v216.page-services .card>.head-actions .button:not(.primary):hover{background:#f7f9fc!important;border-color:#b8c4d3!important;color:#101828!important}
body.ui-v216.page-services .head-actions .button.primary{background:var(--ui-primary)!important;color:#fff!important;border-color:var(--ui-primary)!important}

/* Soft motion for open/close interactions. */
body.ui-v216 .sidebar{transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease}
body.ui-v216 .sidebar-backdrop{transition:opacity .2s ease}
body.ui-v216 .notification-popover:not([hidden]),
body.ui-v216 .customer-requests-dialog,
body.ui-v216 .command-dialog{animation:ui214PopoverIn .18s cubic-bezier(.2,.8,.2,1)}
body.ui-v216 details[open]>*:not(summary){animation:ui214Reveal .2s ease-out}
@keyframes ui214PopoverIn{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:none}}
@keyframes ui214Reveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}

/* Mobile tables: force cards to remain inside viewport even if legacy table
   min-width values exist. */
@media(max-width:720px){
  :root{--ui-header:56px;--ui-page-pad:10px}
  body.ui-v216 .workspace-header{min-height:56px;height:56px;padding:7px 10px;display:grid!important;grid-template-columns:minmax(0,1fr) 40px 40px!important;gap:7px;border-bottom:1px solid #e4e9ef;background:rgba(255,255,255,.985)}
  body.ui-v216 .workspace-title{min-width:0;gap:8px;overflow:hidden}
  body.ui-v216 .workspace-title .menu-button{display:grid!important;place-items:center;order:-1;flex:0 0 38px;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;background:#fff!important}
  body.ui-v216 .workspace-title>div{min-width:0;display:block;overflow:hidden}
  body.ui-v216 .workspace-title b{display:block;font-size:.82rem!important;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.ui-v216 .workspace-title small{display:none!important}
  body.ui-v216 .live-clock{display:none!important}
  body.ui-v216 .header-search-button{grid-column:2;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:grid;place-items:center;border-radius:10px!important}
  body.ui-v216 .header-search-button span,body.ui-v216 .header-search-button kbd{display:none!important}
  body.ui-v216 .header-notification-wrap{grid-column:3;width:40px;height:40px;position:relative}
  body.ui-v216 .header-notification{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:grid;place-items:center;border-radius:10px!important;position:relative;font-size:0!important}
  body.ui-v216 .header-notification .notification-label{display:none!important}
  body.ui-v216 .header-notification b{position:absolute;top:-5px;left:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#d92d20;color:#fff;font-size:.58rem;line-height:1}
  body.ui-v216 .notification-bell .ui-icon{width:18px;height:18px}
  body.ui-v216 .notification-popover{position:fixed!important;top:62px!important;left:10px!important;right:10px!important;width:auto!important;max-width:none!important}

  body.ui-v216 .workspace>main.container{width:calc(100% - 20px)!important;max-width:none!important;margin:12px 10px 26px!important;padding:0!important}
  body.ui-v216 .page-head{gap:8px;margin-bottom:12px}
  body.ui-v216 .page-head h1{font-size:1.16rem!important;line-height:1.35}
  body.ui-v216 .page-head p{font-size:.72rem!important;line-height:1.75}
  body.ui-v216 .notice{padding:10px 11px;font-size:.72rem;line-height:1.75}

  body.ui-v216 .operation-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:8px!important}
  body.ui-v216 .operation-tab{min-height:42px!important;padding:8px!important;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.72rem!important}

  body.ui-v216 .request-flow-v160{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;overflow:visible!important;gap:5px!important;padding:7px!important;margin-bottom:10px!important}
  body.ui-v216 .request-flow-v160>a{min-width:0!important;min-height:44px!important;padding:6px!important;justify-content:center!important;gap:5px!important}
  body.ui-v216 .request-flow-v160>a b{width:21px!important;height:21px!important;flex:0 0 21px!important}
  body.ui-v216 .request-flow-v160>a span{font-size:.64rem!important;white-space:normal!important;text-align:center;line-height:1.35}

  body.ui-v216 .form-grid.cols-2,body.ui-v216 .form-grid.cols-3,body.ui-v216 .form-grid.cols-4{grid-template-columns:1fr!important}
  body.ui-v216 .form-grid .span-2,body.ui-v216 .form-grid .span-3,body.ui-v216 .form-grid .span-4{grid-column:auto!important}
  body.ui-v216 .request-step-card{padding:12px!important}
  body.ui-v216 .choice-group{padding:10px!important}
  body.ui-v216 .service-type-picker,body.ui-v216 .customer-type-picker{grid-template-columns:1fr!important}
  body.ui-v216 .choice-card{min-height:62px!important;padding:10px 11px!important}
  body.ui-v216 .request-action-bar{position:static!important;display:grid!important;gap:10px!important;padding:10px!important}
  body.ui-v216 .request-autosave-panel{width:100%;min-height:50px;padding:8px 10px;border:1px solid var(--ui-line);border-radius:10px;background:#fbfcfe}

  body.ui-v216 .dashboard-side-stats{grid-template-columns:1fr!important}
  body.ui-v216 .request-chart{height:190px!important;min-height:190px!important}
  body.ui-v216 .request-chart svg{height:182px!important;max-height:182px!important}
  body.ui-v216 .request-chart.is-empty{height:118px!important;min-height:118px!important}
  body.ui-v216 .chart-card-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.ui-v216 .chart-period-tabs{width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important}
  body.ui-v216 .chart-period-tabs button{min-width:0;padding:0 4px!important}

  body.ui-v216 .table-wrap.mobile-card-wrap{width:100%!important;max-width:100%!important;overflow:visible!important;border:0!important;background:transparent!important}
  body.ui-v216 table.mobile-card-table{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  body.ui-v216 table.mobile-card-table tbody{display:grid!important;width:100%!important;max-width:100%!important;gap:9px!important}
  body.ui-v216 table.mobile-card-table tbody tr{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow:hidden!important;border:1px solid var(--ui-line)!important;border-radius:11px!important;background:#fff!important}
  body.ui-v216 table.mobile-card-table td{display:grid!important;grid-template-columns:minmax(94px,.42fr) minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:9px!important;padding:9px 10px!important;overflow-wrap:anywhere!important;word-break:break-word!important}
  body.ui-v216 table.mobile-card-table td>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
  body.ui-v216 table.mobile-card-table td .ltr,body.ui-v216 table.mobile-card-table td code{white-space:normal!important;word-break:break-all!important}
  body.ui-v216 .scroll-to-top{left:12px!important;bottom:12px!important;right:auto!important}

  body.ui-v216.page-services .services-page-head-v170 .head-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  body.ui-v216.page-services .services-page-head-v170 .head-actions .button{width:100%!important;justify-content:center}
  body.ui-v216.page-services .service-management-summary-v170{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ui-v216.page-services .services-filter-v170{grid-template-columns:1fr!important}
}

@media(max-width:420px){
  body.ui-v216 .workspace-header{grid-template-columns:minmax(0,1fr) 38px 38px!important;padding-inline:8px}
  body.ui-v216 .workspace-title b{font-size:.76rem!important}
  body.ui-v216 .operation-tabs{grid-template-columns:1fr!important}
  body.ui-v216 .request-flow-v160{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ui-v216 .service-management-summary-v170{grid-template-columns:1fr!important}
  body.ui-v216 table.mobile-card-table td{grid-template-columns:86px minmax(0,1fr)!important}
}

@media(prefers-reduced-motion:reduce){
  body.ui-v216 .choice-card,body.ui-v216 .sidebar,body.ui-v216 .sidebar-backdrop,body.ui-v216 .scroll-to-top{transition:none!important}
  body.ui-v216 .request-autosave-dot,body.ui-v216 .notification-popover,body.ui-v216 details[open]>*:not(summary){animation:none!important}
}


/* ==========================================================================\n   NSCRA UI 2.0.16 — focused stabilization layer\n   ========================================================================== */

/* Service/customer choice cards: keep the selected marker physically on the
   left so RTL titles never collide with it. */
body.ui-v216 .service-type-picker{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.ui-v216 .customer-type-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ui-v216 .choice-card{position:relative;min-width:0;min-height:92px;padding:14px 14px;border:1px solid #d8e1eb;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.025);transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}
body.ui-v216 .choice-card:hover{transform:translateY(-1px);border-color:#a9bddd;background:#fbfdff;box-shadow:0 5px 14px rgba(16,24,40,.055)}
body.ui-v216 .choice-card strong{font-size:.8rem;line-height:1.45;color:#182230}
body.ui-v216 .choice-card small{font-size:.66rem;line-height:1.6;color:#667085}
body.ui-v216 .choice-card.is-selected{padding-left:46px;border-color:#7aa7ff;background:#f4f8ff;box-shadow:0 0 0 2px rgba(37,99,235,.08)}
body.ui-v216 .choice-card.is-selected strong{color:#155eef}
body.ui-v216 .choice-card::before,body.ui-v216 .choice-card::after{content:none!important;display:none!important}
body.ui-v216 .choice-card.is-selected::after{content:"✓"!important;display:grid!important;position:absolute!important;inset-inline-start:auto!important;inset-inline-end:auto!important;left:12px!important;right:auto!important;top:12px!important;width:23px!important;height:23px!important;place-items:center;border-radius:999px;background:#2563eb;color:#fff;font-size:.72rem;font-weight:900;box-shadow:0 3px 8px rgba(37,99,235,.22)}

/* Dashboard KPIs: use a top accent instead of direction-sensitive side bars. */
body.ui-v216 .dashboard-kpi{position:relative;border:1px solid #dbe3ec!important;border-right:1px solid #dbe3ec!important;overflow:hidden;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.04)}
body.ui-v216 .dashboard-kpi::before{content:""!important;position:absolute!important;left:14px!important;right:14px!important;top:0!important;bottom:auto!important;width:auto!important;height:3px!important;border-radius:0 0 999px 999px;background:#98a2b3}
body.ui-v216 .dashboard-kpi.info::before{background:#2e90fa}
body.ui-v216 .dashboard-kpi.warning::before{background:#f79009}
body.ui-v216 .dashboard-kpi.success::before{background:#12b76a}
body.ui-v216 .dashboard-kpi.danger::before{background:#f04438}
body.ui-v216 .dashboard-kpi strong{font-size:1.48rem;letter-spacing:-.02em}
body.ui-v216 .dashboard-kpi span{font-size:.76rem}

/* Dashboard chart: compact header + full-width responsive canvas. */
body.ui-v216 .dashboard-analytics-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start}
body.ui-v216 .dashboard-side-stats{order:-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.ui-v216 .dashboard-side-stats .stat{min-height:76px!important;padding:12px 14px!important;border:1px solid #dbe3ec;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(16,24,40,.035)}
body.ui-v216 .request-chart-card{min-height:0!important;overflow:hidden}
body.ui-v216 .chart-card-head{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:64px;padding-bottom:12px;border-bottom:1px solid #edf1f5}
body.ui-v216 .chart-card-head>div:first-child{min-width:0}
body.ui-v216 .chart-period-tabs{display:flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;max-width:none!important;gap:4px!important;padding:3px!important;overflow:visible!important;white-space:nowrap;background:#f2f4f7;border:1px solid #e1e7ef;border-radius:10px;flex:0 0 auto}
body.ui-v216 .chart-period-tabs button{flex:0 0 auto!important;min-width:50px!important;min-height:30px!important;padding:0 10px!important;border-radius:7px!important;font-size:.68rem!important}
body.ui-v216 .request-chart{position:relative;display:block!important;width:100%!important;height:300px!important;min-height:300px!important;padding:12px 0 0!important;overflow:hidden}
body.ui-v216 .request-chart svg{display:block!important;width:100%!important;height:288px!important;max-height:288px!important;min-height:0!important;overflow:visible!important}
body.ui-v216 .request-chart.is-empty{height:150px!important;min-height:150px!important;padding:8px 0 0!important}
body.ui-v216 .chart-empty-state{min-height:136px}
body.ui-v216 .chart-grid-line{stroke:#e4eaf1;stroke-width:1;shape-rendering:crispEdges}
body.ui-v216 .chart-axis-label{fill:#667085;font-size:11px;font-weight:600}
body.ui-v216 .chart-value{fill:#1d2939;font-size:11px;font-weight:800}
body.ui-v216 .chart-bar{fill:#2f6fed;rx:4;ry:4}

/* Registration bars and dashboard cards: tighter, consistent rhythm. */
body.ui-v216 .registration-overview-card{padding-block:16px}
body.ui-v216 .horizontal-bar-chart{gap:13px}
body.ui-v216 .horizontal-bar-row{gap:9px}
body.ui-v216 .bar-track{height:8px;border-radius:999px;background:#eef2f6;overflow:hidden}
body.ui-v216 .bar-fill{border-radius:inherit}

/* Service management: every actionable control should visually read as a button. */
body.ui-v216.page-services .button{border:1px solid #d2dbe6!important;background:#fff!important;color:#344054!important;box-shadow:0 1px 2px rgba(16,24,40,.035)!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
body.ui-v216.page-services .button:hover{background:#f7f9fc!important;border-color:#aebdce!important;color:#101828!important;box-shadow:0 3px 8px rgba(16,24,40,.06)!important;transform:translateY(-1px)}
body.ui-v216.page-services .button.primary{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;box-shadow:0 2px 6px rgba(37,99,235,.2)!important}
body.ui-v216.page-services .button.primary:hover{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important}
body.ui-v216.page-services .services-filter-actions-v170{align-items:end}
body.ui-v216.page-services .row-actions-v170{gap:6px}

/* Mobile / tablet refinement. */
@media(max-width:1100px){
  body.ui-v216 .service-type-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.ui-v216 .request-chart{height:270px!important;min-height:270px!important}
  body.ui-v216 .request-chart svg{height:258px!important;max-height:258px!important}
}
@media(max-width:720px){
  body.ui-v216 .service-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.ui-v216 .customer-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.ui-v216 .choice-card{min-height:82px!important;padding:11px 11px!important}
  body.ui-v216 .choice-card.is-selected{padding-left:42px!important}
  body.ui-v216 .choice-card.is-selected::after{left:10px!important;top:10px!important;width:22px!important;height:22px!important}
  body.ui-v216 .dashboard-side-stats{grid-template-columns:1fr!important;gap:8px!important}
  body.ui-v216 .chart-card-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start!important}
  body.ui-v216 .chart-period-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important}
  body.ui-v216 .chart-period-tabs button{min-width:0!important;width:100%!important;padding:0 4px!important}
  body.ui-v216 .request-chart{height:220px!important;min-height:220px!important;padding-top:8px!important}
  body.ui-v216 .request-chart svg{height:212px!important;max-height:212px!important}
  body.ui-v216 .request-chart.is-empty{height:124px!important;min-height:124px!important}
  body.ui-v216 .dashboard-kpi{min-height:82px!important}
  body.ui-v216.page-services .head-actions,body.ui-v216.page-services .row-actions-v170,body.ui-v216.page-services .services-filter-actions-v170{gap:7px!important}
}
@media(max-width:460px){
  body.ui-v216 .service-type-picker{grid-template-columns:1fr!important}
  body.ui-v216 .choice-card{min-height:74px!important}
  body.ui-v216 .request-chart{height:205px!important;min-height:205px!important}
  body.ui-v216 .request-chart svg{height:197px!important;max-height:197px!important}
}

@media(prefers-reduced-motion:reduce){
  body.ui-v216 .choice-card,body.ui-v216.page-services .button{transition:none!important;transform:none!important}
}


/* 2.0.15 mobile header geometry: flex instead of RTL grid auto-placement. */
@media(max-width:720px){
  body.ui-v216 .workspace-header{display:flex!important;direction:rtl!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-height:56px!important;height:56px!important;padding:7px 10px!important}
  body.ui-v216 .workspace-title{display:flex!important;direction:rtl!important;align-items:center!important;gap:8px!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;height:40px!important;order:0!important;overflow:hidden!important}
  body.ui-v216 .workspace-title .menu-button{order:0!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important}
  body.ui-v216 .workspace-title>div{order:1!important;display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;overflow:hidden!important}
  body.ui-v216 .workspace-title b{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.ui-v216 .workspace-title small{display:none!important}
  body.ui-v216 .header-search-button{order:1!important;grid-column:auto!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important}
  body.ui-v216 .header-notification-wrap{order:2!important;grid-column:auto!important;flex:0 0 40px!important;width:40px!important;height:40px!important;margin:0!important;position:relative!important}
  body.ui-v216 .header-notification{width:40px!important;height:40px!important;min-height:40px!important;margin:0!important}
}
body.ui-v216 .scroll-to-top{position:fixed!important;inset-inline-start:auto!important;inset-inline-end:auto!important;left:16px!important;right:auto!important;bottom:16px!important}
@media(max-width:720px){body.ui-v216 .scroll-to-top{left:12px!important;right:auto!important;bottom:12px!important}}


/* ==========================================================================\n   NSCRA UI 2.0.16 — mobile density & header stabilization\n   Based on production screenshots at narrow Android widths.\n   ========================================================================== */

body.ui-v216 .dashboard-widgets{gap:12px!important}
body.ui-v216 .dashboard-widgets>[data-dashboard-widget]{margin:0!important}

/* A zero notification count is intentionally not rendered by the template. */
body.ui-v216 .header-notification b{
  min-width:16px!important;width:auto!important;height:16px!important;max-width:34px!important;
  padding:0 4px!important;border-radius:999px!important;font-size:.54rem!important;line-height:16px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}

/* Empty operational sections should stay compact, particularly on phones. */
body.ui-v216 .otp-panel.is-empty .empty,
body.ui-v216 .dashboard-compact-section .empty{
  min-height:84px!important;padding:18px 14px!important;border-radius:10px!important;
  display:grid!important;place-items:center!important;text-align:center!important
}
body.ui-v216 .otp-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
body.ui-v216 .otp-panel-heading .badge{width:auto!important;max-width:max-content!important;min-width:0!important;padding:4px 9px!important}

@media(max-width:720px){
  :root{--ui-header:52px;--ui-page-pad:10px}

  /* Explicit physical grid areas avoid RTL auto-placement surprises. */
  body.ui-v216 .workspace-header{
    display:grid!important;direction:ltr!important;
    grid-template-columns:36px 36px minmax(0,1fr) 36px!important;
    grid-template-areas:"notice search title menu"!important;
    align-items:center!important;gap:6px!important;
    height:52px!important;min-height:52px!important;padding:6px 10px!important
  }
  body.ui-v216 .workspace-title{display:contents!important}
  body.ui-v216 .workspace-title .menu-button{
    grid-area:menu!important;display:grid!important;place-items:center!important;
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
    padding:0!important;margin:0!important;border-radius:9px!important
  }
  body.ui-v216 .workspace-title>div{
    grid-area:title!important;display:block!important;min-width:0!important;width:auto!important;
    direction:rtl!important;text-align:center!important;overflow:hidden!important
  }
  body.ui-v216 .workspace-title b{
    display:block!important;font-size:.78rem!important;line-height:1.25!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
  }
  body.ui-v216 .workspace-title small,body.ui-v216 .live-clock{display:none!important}
  body.ui-v216 .header-search-button{
    grid-area:search!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
    padding:0!important;margin:0!important;border-radius:9px!important;display:grid!important;place-items:center!important
  }
  body.ui-v216 .header-search-button span,body.ui-v216 .header-search-button kbd{display:none!important}
  body.ui-v216 .header-notification-wrap{
    grid-area:notice!important;width:36px!important;height:36px!important;margin:0!important;position:relative!important
  }
  body.ui-v216 .header-notification{
    width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
    padding:0!important;margin:0!important;border-radius:9px!important;display:grid!important;place-items:center!important;
    position:relative!important;font-size:0!important
  }
  body.ui-v216 .header-notification .notification-label{display:none!important}
  body.ui-v216 .header-notification b{position:absolute!important;top:-4px!important;left:-4px!important}

  body.ui-v216 .container{padding-inline:10px!important}
  body.ui-v216 .page-head{gap:10px!important;margin-bottom:10px!important}
  body.ui-v216 .page-head h1{font-size:1.18rem!important}
  body.ui-v216 .page-head p{font-size:.72rem!important;line-height:1.65!important}
  body.ui-v216 .card{padding:12px!important;border-radius:12px!important}
  body.ui-v216 .card-head{gap:8px!important;margin-bottom:10px!important}
  body.ui-v216 .card-head h2{font-size:.92rem!important;line-height:1.45!important}
  body.ui-v216 .card-head .muted,body.ui-v216 .card-head p{font-size:.67rem!important}

  /* Drag handles are desktop affordances and waste valuable mobile space. */
  body.ui-v216 .dashboard-widgets [data-dashboard-widget]>.widget-handle{display:none!important}

  /* Operational attention uses a compact 2x2 grid instead of tall stacked cards. */
  body.ui-v216 .operational-attention-v161{padding:12px!important}
  body.ui-v216 .operational-attention-v161>.card-head{padding-inline-end:0!important}
  body.ui-v216 .attention-grid-v161{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.ui-v216 .attention-tile{
    min-height:68px!important;padding:9px 10px!important;border-radius:10px!important;
    grid-template-columns:minmax(0,1fr) auto!important;gap:2px 6px!important
  }
  body.ui-v216 .attention-tile span{font-size:.65rem!important;line-height:1.45!important}
  body.ui-v216 .attention-tile b{font-size:1rem!important}
  body.ui-v216 .attention-tile small{font-size:.58rem!important;line-height:1.4!important}

  /* Summary cards become a swipeable row; this removes three full-screen-height blocks. */
  body.ui-v216 .dashboard-side-stats{
    display:flex!important;grid-template-columns:none!important;gap:8px!important;
    width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;scroll-padding-inline:2px!important;
    padding:1px 1px 4px!important;scrollbar-width:none!important
  }
  body.ui-v216 .dashboard-side-stats::-webkit-scrollbar{display:none!important}
  body.ui-v216 .dashboard-side-stats .stat{
    flex:0 0 min(72vw,220px)!important;min-height:66px!important;height:auto!important;
    padding:9px 11px!important;border-radius:10px!important;scroll-snap-align:start!important;
    display:grid!important;align-content:center!important;gap:3px!important
  }
  body.ui-v216 .dashboard-side-stats .stat strong{font-size:1.02rem!important}
  body.ui-v216 .dashboard-side-stats .stat span{font-size:.66rem!important;line-height:1.45!important}

  body.ui-v216 .otp-panel{padding:12px!important}
  body.ui-v216 .otp-panel-head{margin-bottom:9px!important;padding-bottom:9px!important}
  body.ui-v216 .otp-panel-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;width:100%!important}
  body.ui-v216 .otp-panel-heading h2{font-size:.92rem!important;line-height:1.45!important;margin:0!important}
  body.ui-v216 .otp-panel-heading .badge{font-size:.62rem!important;white-space:nowrap!important}
  body.ui-v216 .otp-panel.is-empty .empty{min-height:76px!important;padding:15px 10px!important;font-size:.72rem!important}

  body.ui-v216 .request-chart-card{padding:12px!important}
  body.ui-v216 .chart-card-head{gap:8px!important;min-height:0!important;padding-bottom:9px!important}
  body.ui-v216 .request-chart{height:190px!important;min-height:190px!important;padding-top:6px!important}
  body.ui-v216 .request-chart svg{height:184px!important;max-height:184px!important}
  body.ui-v216 .request-chart.is-empty{height:112px!important;min-height:112px!important}
  body.ui-v216 .chart-empty-state{min-height:104px!important}

  body.ui-v216 .registration-overview-card{padding:12px!important}
  body.ui-v216 .horizontal-bar-chart{gap:10px!important}
  body.ui-v216 .horizontal-bar-row{gap:6px!important}
  body.ui-v216 .bar-label{font-size:.68rem!important}
  body.ui-v216 .chart-footnote{font-size:.62rem!important;line-height:1.55!important}

  body.ui-v216 .scroll-to-top{
    left:10px!important;right:auto!important;bottom:10px!important;
    width:38px!important;height:38px!important;min-height:38px!important
  }
}

@media(max-width:460px){
  body.ui-v216 .workspace-header{grid-template-columns:34px 34px minmax(0,1fr) 34px!important;gap:5px!important;padding-inline:8px!important}
  body.ui-v216 .workspace-title .menu-button,
  body.ui-v216 .header-search-button,
  body.ui-v216 .header-notification-wrap,
  body.ui-v216 .header-notification{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  body.ui-v216 .workspace-title b{font-size:.73rem!important}
  body.ui-v216 .attention-grid-v161{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ui-v216 .attention-tile{min-height:64px!important;padding:8px!important}
  body.ui-v216 .dashboard-side-stats .stat{flex-basis:min(78vw,205px)!important}
  body.ui-v216 .dashboard-kpi-strip{gap:7px!important}
  body.ui-v216 .dashboard-kpi{min-height:72px!important;padding:9px 10px!important}
  body.ui-v216 .dashboard-kpi span{font-size:.68rem!important}
  body.ui-v216 .dashboard-kpi small{font-size:.58rem!important}
  body.ui-v216 .dashboard-kpi strong{font-size:1.12rem!important}
}

@media(prefers-reduced-motion:reduce){
  body.ui-v216 .dashboard-side-stats{scroll-behavior:auto!important}
}

/* ========================================================================== 
  NSCRA 2.0.17 — Requests workbench / request timeline
  Scope to the two redesigned pages: no global layout overrides.
  ========================================================================== */
body.ui-v217 .requests-page-v217, body.ui-v217 .request-detail-v217{min-width:0;max-width:100%;font-size:.875rem}
body.ui-v217 .requests-page-v217 .page-head,
body.ui-v217 .request-detail-v217 .page-head{align-items:center;gap:16px}
body.ui-v217 .requests-page-v217 .page-head h1,
body.ui-v217 .request-detail-v217 .page-head h1{font-size:clamp(1.18rem,1.5vw,1.55rem);font-weight:800;letter-spacing:0}
body.ui-v217 .requests-page-v217 .page-head .muted,
body.ui-v217 .request-detail-v217 .page-head .muted{line-height:1.65}
body.ui-v217 .requests-page-v217 .head-actions{align-items:center;gap:8px;flex-wrap:wrap}
body.ui-v217 .requests-page-v217 .head-actions form{margin:0}
body.ui-v217 .requests-page-v217 .request-filter-bar{display:grid;grid-template-columns:minmax(180px,1.8fr) repeat(3,minmax(115px,1fr)) auto auto;gap:10px;align-items:center;padding:16px;border-radius:14px;border:1px solid #dae3ed;background:var(--card,#fff);box-shadow:0 2px 10px rgba(16,24,40,.03);margin-bottom:12px}
body.ui-v217 .requests-page-v217 .request-filter-bar :is(input,select){width:100%;min-width:0;margin:0;min-height:40px}
body.ui-v217 .requests-page-v217 .request-filter-bar .ajax-search-state{grid-column:1/-1;min-height:0;font-size:.7rem}
body.ui-v217 .request-saved-views{display:block;padding:0;border:1px solid #e2e8f0;background:#fff;border-radius:12px;margin-bottom:12px}
body.ui-v217 .request-saved-views>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;cursor:pointer;font-weight:700;list-style:none}
body.ui-v217 .request-saved-views>summary::-webkit-details-marker{display:none}
body.ui-v217 .request-saved-views>summary:after{content:'⌄';color:#667085;font-size:1.2rem}
body.ui-v217 .request-saved-views[open]>summary:after{transform:rotate(180deg)}
body.ui-v217 .request-saved-views .saved-view-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 14px}
body.ui-v217 .request-saved-views .saved-view-actions select{max-width:260px}
body.ui-v217 .requests-list-card{padding:0!important;overflow:visible!important;border-radius:14px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.ui-v217 .requests-results-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body.ui-v217 .requests-results-header h2{font-size:1rem;margin:0 0 4px;font-weight:800}
body.ui-v217 .requests-results-header p{margin:0;font-size:.75rem}
body.ui-v217 .requests-view-label{border:1px solid #d8e2ed;background:#fff;color:#475467;border-radius:8px;padding:6px 10px;font-size:.72rem;white-space:nowrap}
body.ui-v217 .request-items{display:grid;gap:10px;min-width:0}
body.ui-v217 .request-list-row{display:grid;grid-template-columns:minmax(170px,1.35fr) minmax(230px,2fr) auto;gap:16px;align-items:center;min-width:0;padding:16px 18px;background:var(--card,#fff);border:1px solid #dae3ed;border-radius:13px;box-shadow:0 2px 9px rgba(15,23,42,.035);border-right:3px solid #9ca3af;transition:border-color .18s ease,box-shadow .18s ease}
body.ui-v217 .request-list-row.result-success{border-right-color:#12b76a}
body.ui-v217 .request-list-row.result-failed{border-right-color:#f04438}
body.ui-v217 .request-list-row:hover{border-color:#bacadd;box-shadow:0 4px 16px rgba(15,23,42,.065)}
body.ui-v217 .request-row-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
body.ui-v217 .request-action{font-weight:780;color:#1d2939}
body.ui-v217 .request-row-heading .status{white-space:normal;max-width:100%;text-align:center;line-height:1.35}
body.ui-v217 .request-main-link{display:inline-block;max-width:100%;font-size:.88rem;font-weight:800;color:#155eef;text-decoration:none;overflow-wrap:anywhere}
body.ui-v217 .request-main-link:hover{text-decoration:underline}
body.ui-v217 .request-type-caption{margin:7px 0 0;font-size:.74rem;line-height:1.55}
body.ui-v217 .request-row-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}
body.ui-v217 .request-row-meta>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body.ui-v217 .request-row-meta small{font-size:.68rem;color:#667085}
body.ui-v217 .request-row-meta :is(strong,bdi,time){max-width:100%;font-size:.78rem;color:#344054;font-weight:600;overflow-wrap:anywhere;text-align:start}
body.ui-v217 .request-row-controls{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:130px}
body.ui-v217 .request-row-controls>a{white-space:nowrap;text-align:center}
body.ui-v217 .request-row-more{position:relative;max-width:100%}
body.ui-v217 .request-row-more>summary{cursor:pointer;text-align:center;list-style:none;border:1px solid #d9e2ed;color:#344054;padding:8px;border-radius:8px;font-size:.73rem;font-weight:650;background:#f9fafb}
body.ui-v217 .request-row-more>summary::-webkit-details-marker{display:none}
body.ui-v217 .request-row-more[open]{grid-column:1/-1}
body.ui-v217 .request-row-more .request-row-extra{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 0;padding:12px;border:1px solid #e5eaf2;border-radius:10px;background:#f8fafc}
body.ui-v217 .request-row-extra>div{min-width:0;display:grid;gap:4px}
body.ui-v217 .request-row-extra dt{color:#667085;font-size:.7rem}
body.ui-v217 .request-row-extra dd{margin:0;font-size:.78rem;overflow-wrap:anywhere}
body.ui-v217 .request-empty{display:grid;justify-items:center;gap:10px;padding:48px 20px;border:1px dashed #cad5e4;border-radius:14px;background:#fff;text-align:center}
body.ui-v217 .request-empty-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#eef4ff;color:#2563eb;font-size:1.9rem}
body.ui-v217 .request-empty h2{margin:0;font-size:1rem}
body.ui-v217 .request-empty p{margin:0;color:#667085}
/* Detail: compact summary, natural-height vertical progression, and collapsible technical payloads. */
body.ui-v217 .request-detail-v217{display:grid;align-content:start;gap:16px!important;overflow:visible!important}
body.ui-v217 .request-detail-v217>.card,body.ui-v217 .request-detail-v217>details{margin:0!important}
body.ui-v217 .request-detail-v217 .request-essential-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
body.ui-v217 .request-detail-v217 .summary-card{min-width:0;min-height:88px;padding:14px 16px;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:none;display:grid;align-content:center;gap:7px}
body.ui-v217 .request-detail-v217 .summary-card>span{font-size:.75rem;color:#667085}
body.ui-v217 .request-detail-v217 .summary-card strong{font-size:.88rem;overflow-wrap:anywhere}
body.ui-v217 .request-detail-v217 .request-stage-timeline{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;align-items:start!important;align-content:start!important;min-height:0!important;height:auto!important;position:relative;padding:16px 18px 16px 40px;background:#fff;border:1px solid #dce5ef;border-radius:14px}
body.ui-v217 .request-detail-v217 .request-timeline-head{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #ecf0f5}
body.ui-v217 .request-detail-v217 .request-timeline-head h2{font-size:1rem;margin:0 0 5px}
body.ui-v217 .request-detail-v217 .request-timeline-head p{margin:0;font-size:.72rem}
body.ui-v217 .request-detail-v217 .request-stage-card{height:auto!important;min-height:0!important;max-height:none!important;align-self:start!important;display:block!important;margin:0!important;padding:14px 16px!important;border-radius:10px!important;box-shadow:none!important;border:1px solid #e1e8f1!important;background:#fcfdff!important;position:relative}
body.ui-v217 .request-detail-v217 .request-stage-card+ .request-stage-card{margin-top:18px!important}
body.ui-v217 .request-detail-v217 .request-stage-card .card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 12px!important}
body.ui-v217 .request-detail-v217 .request-stage-card .card-head h2{font-size:.86rem;line-height:1.6;margin:0}
body.ui-v217 .request-detail-v217 .stage-number{width:28px;height:28px;flex:0 0 28px;border-radius:50%;font-size:.8rem}
body.ui-v217 .request-detail-v217 .stage-identifiers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0!important;min-height:0!important;align-items:start!important}
body.ui-v217 .request-detail-v217 .stage-identifiers>div{min-width:0;min-height:0!important;height:auto!important;padding:10px!important;background:#fff;border:1px solid #e7edf5;border-radius:8px}
body.ui-v217 .request-detail-v217 .stage-identifiers dt{color:#667085;font-size:.71rem;line-height:1.6}
body.ui-v217 .request-detail-v217 .stage-identifiers dd{font-size:.8rem;overflow-wrap:anywhere;align-items:center}
body.ui-v217 .request-detail-v217 .stage-identifiers code{max-width:100%;overflow-wrap:anywhere;white-space:normal}
body.ui-v217 .request-detail-v217 .stage-two-card>p{margin:10px 0 0;line-height:1.65}
body.ui-v217 .request-detail-v217 .request-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0!important}
body.ui-v217 .request-detail-v217 .request-account-grid>div{min-height:0!important;overflow-wrap:anywhere}
body.ui-v217 .request-detail-v217 .technical-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
body.ui-v217 .request-detail-v217 .technical-detail-grid>section{min-width:0;max-height:none!important;align-self:start}
body.ui-v217 .request-detail-v217 .request-technical-details{min-width:0;overflow:hidden}
body.ui-v217 .request-detail-v217 .request-technical-details>summary{cursor:pointer;font-weight:800;list-style:none;line-height:1.6}
body.ui-v217 .request-detail-v217 .request-technical-details>summary::-webkit-details-marker{display:none}
body.ui-v217 .request-detail-v217 .request-technical-details>summary:after{content:'⌄';float:left;margin-inline-start:8px;color:#667085}
body.ui-v217 .request-detail-v217 .request-technical-details[open]>summary:after{transform:rotate(180deg)}
body.ui-v217 .request-detail-v217 .request-technical-details>summary small{display:block;font-weight:400;font-size:.7rem}
body.ui-v217 .request-detail-v217 .request-technical-details .json-view{display:block;width:100%;max-width:100%;max-height:340px!important;overflow:auto!important;white-space:pre!important;direction:ltr;text-align:left;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;background:#111827;color:#edf2f7;padding:14px;border-radius:10px}
body.ui-v217 .request-detail-v217 .request-event-timeline{list-style:none;display:grid;gap:10px;min-height:0;padding:0;margin:0}
body.ui-v217 .request-detail-v217 .request-event-timeline>li{position:relative;padding:12px 15px;border:1px solid #e2e8f0;border-right:3px solid #93b4e3;background:#fafcff;border-radius:10px;min-height:0}
body.ui-v217 .request-detail-v217 .request-event-timeline time{display:inline-block;margin-top:6px}
body.ui-v217 .request-detail-v217 :is(button,.button,summary){transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
@media(max-width:1300px){body.ui-v217 .requests-page-v217 .request-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}body.ui-v217 .requests-page-v217 .request-filter-bar input[name=q]{grid-column:span 3}body.ui-v217 .request-list-row{grid-template-columns:minmax(160px,1.2fr) minmax(170px,1.8fr) auto}body.ui-v217 .request-row-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1024px){body.ui-v217 .request-list-row{grid-template-columns:minmax(0,1fr) auto}body.ui-v217 .request-row-meta{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr))}body.ui-v217 .request-row-controls{grid-column:2;grid-row:1}body.ui-v217 .request-detail-v217 .technical-detail-grid{grid-template-columns:1fr}}
@media(max-width:720px){
 body.ui-v217 .requests-page-v217 .page-head,body.ui-v217 .request-detail-v217 .page-head{align-items:stretch}
 body.ui-v217 .requests-page-v217 .head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
 body.ui-v217 .requests-page-v217 .head-actions form,body.ui-v217 .requests-page-v217 .head-actions :is(button,a){width:100%;font-size:.71rem;white-space:normal;line-height:1.5}
 body.ui-v217 .requests-page-v217 .request-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px}
 body.ui-v217 .requests-page-v217 .request-filter-bar input[name=q]{grid-column:1/-1}
 body.ui-v217 .requests-page-v217 .request-filter-bar select[name=account]{grid-column:1/-1}
 body.ui-v217 .request-saved-views>summary{display:grid;gap:4px}
 body.ui-v217 .request-saved-views .saved-view-actions{display:grid;grid-template-columns:1fr 1fr}
 body.ui-v217 .request-saved-views .saved-view-actions select{grid-column:1/-1;max-width:100%}
 body.ui-v217 .request-list-row{grid-template-columns:minmax(0,1fr);gap:10px;padding:13px}
 body.ui-v217 .request-row-meta{grid-column:1;grid-row:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border-top:1px solid #eef1f6;padding-top:10px}
 body.ui-v217 .request-row-meta>div:last-child{grid-column:1/-1}
 body.ui-v217 .request-row-controls{grid-column:1;grid-row:auto;display:grid;grid-template-columns:1fr 1fr;min-width:0}
 body.ui-v217 .request-row-more[open]{grid-column:1/-1}
 body.ui-v217 .request-row-more .request-row-extra{grid-template-columns:1fr}
 body.ui-v217 .request-detail-v217 .request-essential-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ui-v217 .request-detail-v217 .request-stage-timeline{padding:12px!important}
 body.ui-v217 .request-detail-v217 .request-stage-card{padding:12px!important}
 body.ui-v217 .request-detail-v217 .stage-identifiers{grid-template-columns:1fr!important}
 body.ui-v217 .request-detail-v217 .request-account-grid{grid-template-columns:1fr!important}
 body.ui-v217 .request-detail-v217 .request-stage-card .card-head{align-items:flex-start}
 body.ui-v217 .request-detail-v217 .technical-detail-grid{grid-template-columns:1fr!important}
 body.ui-v217 .request-detail-v217 .request-technical-details .json-view{font-size:11px!important}
}
@media(max-width:390px){body.ui-v217 .request-detail-v217 .request-essential-summary{grid-template-columns:1fr!important}body.ui-v217 .request-row-controls{grid-template-columns:1fr}body.ui-v217 .requests-page-v217 .head-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.ui-v217 .request-list-row,body.ui-v217 .request-detail-v217 :is(button,.button,summary){transition:none!important}}
/* Expand secondary request metadata as a contained floating panel, never in a 130px column. */
body.ui-v217 .request-list-row{position:relative}
body.ui-v217 .request-row-more[open]{position:static;grid-column:auto}
body.ui-v217 .request-row-more[open]>.request-row-extra{
 position:absolute;top:calc(100% - 1px);right:12px;width:min(500px,calc(100% - 24px));max-width:calc(100% - 24px);z-index:30;
 margin:0;padding:16px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.16)
}
@media(max-width:720px){body.ui-v217 .request-row-more[open]>.request-row-extra{grid-template-columns:1fr;right:8px;width:calc(100% - 16px);max-width:calc(100% - 16px)}}

/* 2.0.18 — standalone, semantic information checks; isolated from legacy check-row grids. */
body.ui-v217 .request-info-validation{
  display:block;min-width:0;container-type:inline-size;overflow:visible;
  padding:20px!important;border-radius:16px;
  border:1px solid var(--ui-line,#e3e8ef)!important;
  background:var(--ui-surface,#fff);
  border-right:4px solid #c5d1e1!important;
}
body.ui-v217 .request-info-validation.check-complete{border-right-color:#12a16b!important}
body.ui-v217 .request-info-validation.check-warning{border-right-color:#e2a12c!important}
body.ui-v217 .request-info-validation.check-incomplete{border-right-color:#e46464!important}
body.ui-v217 .request-info-validation__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:0 0 18px;padding:0 0 15px;border-bottom:1px solid #e7edf4}
body.ui-v217 .request-info-validation__intro{min-width:0;flex:1 1 250px}
body.ui-v217 .request-info-validation__intro h2{margin:0 0 5px;font-size:1.06rem;line-height:1.65;font-weight:750;color:#172033}
body.ui-v217 .request-info-validation__intro p{margin:0;color:#64748b;font-size:.8rem;line-height:1.8;overflow-wrap:anywhere}
body.ui-v217 .request-info-validation__overall{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:32px;padding:5px 11px;font-size:.76rem;font-weight:750;line-height:1.5;border-radius:999px;background:#f2f5fa;color:#344054;border:1px solid #d7dee7;white-space:normal}
body.ui-v217 .request-info-validation__overall.is-ok{background:#ebfaf2;color:#067647;border-color:#b5e6cb}
body.ui-v217 .request-info-validation__overall.is-warning{background:#fff8e8;color:#9a5708;border-color:#f2d39a}
body.ui-v217 .request-info-validation__overall.is-error{background:#fff1f2;color:#b42318;border-color:#ffc8ca}
body.ui-v217 .request-check-list{list-style:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;align-content:start!important;grid-auto-rows:auto!important;gap:12px!important;margin:0!important;padding:0!important;min-width:0!important;min-height:0!important}
body.ui-v217 .request-check-item{display:flex!important;flex-direction:column;align-self:start!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:14px 15px!important;border:1px solid #e4eaf2!important;border-radius:12px!important;background:#fafcff!important;box-shadow:none!important;overflow-wrap:anywhere}
body.ui-v217 .request-check-item.is-error{background:#fffbfb!important;border-color:#f3c6c7!important}
body.ui-v217 .request-check-item.is-warning{background:#fffdf8!important;border-color:#f1daac!important}
body.ui-v217 .request-check-item__head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
body.ui-v217 .request-check-item__icon{display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#e6f8ee;color:#067647;font:700 14px/1 sans-serif}
body.ui-v217 .request-check-item.is-warning .request-check-item__icon{background:#fff0d3;color:#a8620c}
body.ui-v217 .request-check-item.is-error .request-check-item__icon{background:#ffebec;color:#b42318}
body.ui-v217 .request-check-item__label{flex:1 1 140px;min-width:0;margin:0;font-size:.85rem;line-height:1.65;color:#182235;font-weight:750}
body.ui-v217 .request-check-item__status{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;white-space:nowrap;border:1px solid #c9e9d7;border-radius:999px;background:#edfaf3;color:#067647;font-size:.68rem;font-weight:700;line-height:1.5}
body.ui-v217 .request-check-item.is-warning .request-check-item__status{background:#fff3df;color:#a8620c;border-color:#f0dbb2}
body.ui-v217 .request-check-item.is-error .request-check-item__status{background:#fff0f0;color:#b42318;border-color:#f6cccd}
body.ui-v217 .request-check-item__detail{display:block!important;min-width:0;margin:10px 0 0!important;padding:10px 0 0;border-top:1px solid #e8eef5;color:#56657a;font-size:.77rem;line-height:1.85;white-space:normal;overflow-wrap:anywhere;word-break:normal;unicode-bidi:plaintext;text-align:start}
body.ui-v217 .request-info-validation__notice{margin:14px 0 0!important}
body.ui-v217 .request-check-empty{margin:0!important;padding:22px 14px;border-radius:10px;border:1px dashed #ccd5e3;background:#f8fafc;text-align:center;color:#667085}
/* Wizard step 4: structured details instead of unaligned paragraphs. */
body.ui-v217 .request-wizard-review-help{margin:0 0 13px!important;line-height:1.8}
body.ui-v217 .request-wizard-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;min-width:0}
body.ui-v217 .request-wizard-review-card{min-width:0;padding:16px;border:1px solid #dfe7f1;border-radius:13px;background:#fafcff}
body.ui-v217 .request-wizard-review-card h3{margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #e4eaf2;color:#172033;font-size:.95rem}
body.ui-v217 .request-wizard-review-card dl{margin:0;display:grid;gap:0}
body.ui-v217 .request-wizard-review-card dl>div{min-width:0;padding:9px 0;border-bottom:1px dashed #e2e9f2}
body.ui-v217 .request-wizard-review-card dl>div:last-child{border-bottom:0;padding-bottom:0}
body.ui-v217 .request-wizard-review-card dt{font-size:.74rem;color:#667085;line-height:1.7;margin:0 0 4px}
body.ui-v217 .request-wizard-review-card dd{margin:0;font-size:.84rem;font-weight:650;line-height:1.85;min-width:0;overflow-wrap:anywhere;white-space:normal;color:#172033}
body.ui-v217 .request-wizard-review-card dd.ltr{direction:ltr;text-align:right;unicode-bidi:plaintext}
body.ui-v217 .request-wizard-review-card .request-review-ips{font:600 .79rem/1.9 ui-monospace,Consolas,monospace}
@container (max-width:780px){body.ui-v217 .request-check-list{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:720px){
 body.ui-v217 .request-info-validation{padding:15px!important;border-radius:13px}
 body.ui-v217 .request-info-validation__head{gap:8px;padding-bottom:12px;margin-bottom:12px}
 body.ui-v217 .request-info-validation__overall{min-height:29px}
 body.ui-v217 .request-check-item{padding:12px!important}
 body.ui-v217 .request-wizard-review-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px}
 body.ui-v217 .request-wizard-review-card{padding:12px}
}
@media(prefers-reduced-motion:reduce){body.ui-v217 .request-check-item{transition:none!important}}


/* === v2.0.19 — cross-page layout reliability audit ===
   Fixes recurring stretched cards, narrow nested grids, mobile data-table
   readability and long API values. Kept in the existing canonical stylesheet
   instead of loading another conflicting stylesheet. */
body.ui-v219 :where(.app-shell,.workspace,main,.container,section,article,form,fieldset,details,.card,.subcard,.summary-card,.table-wrap,.two-col,.two-column-grid,.three-column-grid,.content-grid,.form-grid,.check-grid,.check-row,.meta-list,.timeline,.service-card,.notification-item,.work-card){min-width:0;max-width:100%}
body.ui-v219 :where(.card,.subcard,.summary-card,.service-card,.module-card,.notification-item,.work-card){width:100%;height:auto;min-height:0;align-self:start;overflow-wrap:anywhere}
body.ui-v219 :where(.two-col,.two-column-grid,.three-column-grid,.content-grid,.form-grid,.summary-grid,.stats-grid,.health-grid,.module-grid,.governance-actions,.dependency-grid,.settings-overview-grid,.settings-section-grid){align-items:start;align-content:start;grid-auto-rows:min-content;min-width:0}
/* The old .content-grid rule came after .two-col and forced an asymmetric
   1fr/280px sidebar even when two equal content cards were intended. */
body.ui-v219 .content-grid.two-col,body.ui-v219 .content-grid.two-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ui-v219 .content-grid:not(.two-col):not(.two-column-grid){grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
body.ui-v219 :where(.card-head,.page-head,.head-actions,.service-card-top,.plan-card-head,.request-detail-head,.work-card){min-width:0;max-width:100%}
body.ui-v219 :where(.card-head,.page-head,.service-card-top,.plan-card-head){flex-wrap:wrap;row-gap:10px}
body.ui-v219 :where(.page-head,.card-head) > :is(div,span,p,h1,h2,h3){min-width:0;max-width:100%}
body.ui-v219 :where(.head-actions,.form-actions,.row-actions,.row-actions-v170,.customer-row-actions,.service-card-actions,.plan-actions,.notification-actions){display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%}
body.ui-v219 :where(.head-actions,.form-actions,.row-actions,.row-actions-v170,.customer-row-actions,.service-card-actions,.plan-actions,.notification-actions)>:is(a,button,form){max-width:100%}
body.ui-v219 :where(.head-actions,.form-actions,.row-actions,.row-actions-v170,.customer-row-actions,.service-card-actions,.plan-actions,.notification-actions) form{min-width:0}
body.ui-v219 :where(.card,.subcard,.summary-card,.check-row,.meta-list dd,.timeline li,.notification-item,.work-card,.reconciliation-item) :is(code,.ltr,pre,.break-all){max-width:100%;overflow-wrap:anywhere;word-break:break-word}
body.ui-v219 :where(.card,.subcard,details,.table-wrap) pre{max-width:100%;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
body.ui-v219 :where(.card,.subcard) :is(img,svg,canvas,video){max-width:100%}
body.ui-v219 .check-grid{grid-auto-rows:min-content;align-items:start;gap:8px}
body.ui-v219 .check-row{grid-template-columns:12px minmax(110px,165px) minmax(0,1fr);align-items:start;gap:8px;padding:10px 0;border-bottom:1px solid var(--ui-line);max-width:100%}
body.ui-v219 .check-row:last-child{border-bottom:0}
body.ui-v219 .check-row>.dot{margin-top:5px;flex:none}
body.ui-v219 .check-row b,body.ui-v219 .check-row small{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;line-height:1.75}
body.ui-v219 .check-row small{font-size:.72rem;font-weight:500}
body.ui-v219 .meta-list>div{grid-template-columns:minmax(112px,28%) minmax(0,1fr);align-items:start}
body.ui-v219 .meta-list dt{font-size:.75rem;line-height:1.7}
body.ui-v219 .meta-list dd{font-size:.8rem;line-height:1.8;white-space:normal;overflow-wrap:anywhere}
body.ui-v219 .timeline{align-content:start;grid-auto-rows:min-content;align-items:start}
body.ui-v219 .timeline>li,body.ui-v219 .timeline>article{height:auto!important;min-height:0!important;align-self:start;max-width:100%;overflow-wrap:anywhere}
body.ui-v219 .compact-row-v190{min-width:0;max-width:100%;overflow-wrap:anywhere}
body.ui-v219 .settings-shell,body.ui-v219 .settings-form-stack,body.ui-v219 .settings-section-grid{min-width:0;max-width:100%}
body.ui-v219 .settings-toolbar{max-width:100%;min-width:0;overflow:hidden}
body.ui-v219 .settings-tabs{max-width:100%;min-width:0;overscroll-behavior-x:contain}
body.ui-v219 :is(.settings-key-grid,.settings-registration-grid,.settings-connection-grid,.settings-poll-grid,.settings-defaults-grid)>*{min-width:0;max-width:100%}
body.ui-v219 .form-grid>label,body.ui-v219 .form-grid>div,body.ui-v219 .form-grid>section{min-width:0;max-width:100%}
body.ui-v219 :is(input,select,textarea){max-width:100%}
body.ui-v219 input[type=file]{min-width:0;max-width:100%;font-size:.75rem}
body.ui-v219 :is(.badge,.status){flex-shrink:0;max-width:100%;overflow-wrap:anywhere}
body.ui-v219 .table-wrap{max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
body.ui-v219 .table-wrap>table{max-width:none}
body.ui-v219 .table-wrap td{min-width:0;overflow-wrap:anywhere}
body.ui-v219 .table-wrap td :is(code,.ltr,small,span){max-width:100%;overflow-wrap:anywhere}
body.ui-v219 .table-wrap .row-actions-v170{min-width:0;max-width:100%}
body.ui-v219 .table-wrap th,body.ui-v219 .table-wrap td{line-height:1.7}
body.ui-v219 .empty,body.ui-v219 .compact-empty{height:auto;min-height:0;max-width:100%;overflow-wrap:anywhere}
body.ui-v219 .scroll-to-top{right:auto!important;left:16px!important}
@media(max-width:1100px){
 body.ui-v219 .content-grid.two-col,body.ui-v219 .content-grid.two-column-grid,body.ui-v219 .content-grid:not(.two-col):not(.two-column-grid){grid-template-columns:minmax(0,1fr)}
 body.ui-v219 .form-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ui-v219 .form-grid.cols-4>.span-3,body.ui-v219 .form-grid.cols-4>.span-4{grid-column:1/-1}
}
@media(max-width:760px){
 body.ui-v219 :where(.two-col,.two-column-grid,.three-column-grid,.content-grid,.settings-section-grid,.settings-overview-grid,.settings-key-grid,.settings-registration-grid){grid-template-columns:minmax(0,1fr)!important}
 body.ui-v219 :where(.form-grid.cols-2,.form-grid.cols-3,.form-grid.cols-4){grid-template-columns:minmax(0,1fr)!important}
 body.ui-v219 :where(.form-grid.cols-2,.form-grid.cols-3,.form-grid.cols-4)>:is(.span-2,.span-3,.span-4){grid-column:auto!important}
 body.ui-v219 .check-row{grid-template-columns:12px minmax(0,1fr);gap:3px 9px}
 body.ui-v219 .check-row>:is(small,.ltr){grid-column:2;line-height:1.7}
 body.ui-v219 .meta-list>div{grid-template-columns:minmax(0,1fr);gap:4px}
 body.ui-v219 .page-head{align-items:stretch;gap:10px}
 body.ui-v219 .head-actions{display:flex;flex-wrap:wrap;width:100%;justify-content:flex-start}
 body.ui-v219 .head-actions>*{flex:1 1 auto;min-width:0}
 body.ui-v219 .form-actions{align-items:stretch}
 body.ui-v219 .form-actions>:is(button,.button){flex:1 1 130px}
 body.ui-v219 .table-wrap.mobile-card-wrap{overflow:visible;scrollbar-gutter:auto}
 body.ui-v219 .table-wrap.mobile-card-wrap table.mobile-card-table{min-width:0;width:100%;max-width:100%}
 body.ui-v219 table.mobile-card-table tbody{grid-auto-rows:min-content;align-items:start}
 body.ui-v219 table.mobile-card-table tr{min-width:0;max-width:100%;height:auto}
 body.ui-v219 table.mobile-card-table td{display:block!important;min-width:0;padding:9px 12px!important;line-height:1.8!important;overflow-wrap:anywhere}
 body.ui-v219 table.mobile-card-table td::before{display:block!important;margin-bottom:3px;line-height:1.5;content:attr(data-label);font-size:.69rem;color:var(--ui-muted);font-weight:750}
 body.ui-v219 table.mobile-card-table td[colspan]::before{display:none!important}
 body.ui-v219 table.mobile-card-table td .row-actions-v170,body.ui-v219 table.mobile-card-table td .row-actions{gap:7px}
 body.ui-v219 .scroll-to-top{left:10px!important;right:auto!important;bottom:12px!important}
}
@media(max-width:380px){
 body.ui-v219 .head-actions>:is(a,button,form){flex-basis:100%;width:100%}
 body.ui-v219 .check-row{font-size:.75rem}
 body.ui-v219 .table-wrap.mobile-card-wrap td{padding-inline:10px!important}
}
@media(prefers-reduced-motion:reduce){body.ui-v219 :where(details,summary,.card,.button,button){scroll-behavior:auto;transition:none!important}}


/* 2.0.20 — Datacenter inventory: single isolated, component-scoped presentation system.
   Replaces the old dense table / six-column access list; unrelated legacy CSS is untouched. */
.page-data-centers .dc20-page{display:grid;gap:20px;min-width:0;max-width:100%;color:var(--ui-text)}
.page-data-centers .dc20-page *{box-sizing:border-box}
.page-data-centers .dc20-titlebar,.page-data-centers .dc20-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.page-data-centers .dc20-title{min-width:0}
.page-data-centers .dc20-title h1{margin:0 0 5px;font-size:clamp(1.25rem,1.7vw,1.65rem);line-height:1.5;font-weight:800}
.page-data-centers .dc20-title p,.page-data-centers .dc20-panel-heading p{font-size:.86rem;line-height:1.8;color:var(--ui-muted);margin:0}
.page-data-centers .dc20-btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 15px;border-radius:10px;border:1px solid transparent;font:inherit;font-weight:700;font-size:.83rem;line-height:1.4;white-space:nowrap;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
.page-data-centers .dc20-btn:hover{transform:translateY(-1px);text-decoration:none}
.page-data-centers .dc20-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--ui-primary) 28%,transparent);outline-offset:2px}
.page-data-centers .dc20-btn-primary{background:var(--ui-primary);color:white;border-color:var(--ui-primary)}
.page-data-centers .dc20-btn-primary:hover{background:var(--ui-primary-strong);color:white}
.page-data-centers .dc20-btn-outline{background:white;border-color:var(--ui-line-strong);color:var(--ui-text-2)}
.page-data-centers .dc20-btn-outline:hover{background:var(--ui-surface-2);color:var(--ui-text)}
.page-data-centers .dc20-btn-light{background:var(--ui-primary-soft);color:var(--ui-info);border-color:#caddfa}
.page-data-centers .dc20-btn-light:hover{background:#e0edff}
.page-data-centers .dc20-btn-sm{min-height:34px;font-size:.77rem;padding:6px 12px}
.page-data-centers .dc20-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.page-data-centers .dc20-metric{display:flex;flex-direction:column;min-width:0;min-height:106px;gap:5px;padding:17px 18px;border-radius:14px;border:1px solid var(--ui-line);background:white;box-shadow:var(--ui-shadow-xs)}
.page-data-centers .dc20-metric>span{font-size:.82rem;color:var(--ui-muted);font-weight:650}
.page-data-centers .dc20-metric strong{display:block;width:fit-content;font-size:1.65rem;line-height:1.35;color:var(--ui-text);font-variant-numeric:tabular-nums}
.page-data-centers .dc20-metric>small{margin-top:auto;font-size:.69rem;color:var(--ui-muted)}
.page-data-centers .dc20-metric-free{border-color:#b9e6ce;background:linear-gradient(145deg,#fff,#f5fcf8)}
.page-data-centers .dc20-metric-free strong{color:var(--ui-success)}
.page-data-centers .dc20-panel{min-width:0;max-width:100%;padding:20px;border:1px solid var(--ui-line);border-radius:16px;background:white;box-shadow:var(--ui-shadow-xs)}
.page-data-centers .dc20-panel-heading{margin-bottom:17px}
.page-data-centers .dc20-panel-heading h2{font-size:1.04rem;line-height:1.5;margin:0 0 4px;font-weight:800}
.page-data-centers .dc20-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,220px) auto;align-items:end;gap:12px;padding:14px;border:1px solid var(--ui-line);border-radius:12px;background:#f8fafc;margin-bottom:15px}
.page-data-centers .dc20-access-filters{grid-template-columns:minmax(220px,1fr) auto}
.page-data-centers .dc20-filters label{display:grid;gap:5px;min-width:0;color:var(--ui-text-2);font-size:.75rem;font-weight:700}
.page-data-centers .dc20-filters input,.page-data-centers .dc20-filters select{width:100%;min-width:0;height:40px;margin:0;padding:7px 12px;border-radius:9px;border:1px solid var(--ui-line-strong);font:inherit;font-size:.84rem;background:white;color:var(--ui-text)}
.page-data-centers .dc20-filters input:focus-visible,.page-data-centers .dc20-filters select:focus-visible{outline:2px solid var(--ui-primary);outline-offset:1px}
.page-data-centers .dc20-filter-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.page-data-centers .dc20-search-status{grid-column:1/-1;font-size:.72rem;color:var(--ui-muted)}
.page-data-centers .dc20-search-status:empty{display:none}
.page-data-centers .dc20-results{min-width:0;max-width:100%}
.page-data-centers .dc20-centers-list,.page-data-centers .dc20-access-list{display:grid;gap:12px;min-width:0}
.page-data-centers .dc20-center,.page-data-centers .dc20-access-item{min-width:0;border:1px solid var(--ui-line);border-radius:12px;background:white;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.025)}
.page-data-centers .dc20-center-head,.page-data-centers .dc20-access-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;min-width:0}
.page-data-centers .dc20-center-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.page-data-centers .dc20-center-name a{font-weight:800;font-size:.94rem;color:var(--ui-text);text-decoration:none;overflow-wrap:anywhere}
.page-data-centers .dc20-center-name a:hover{color:var(--ui-primary)}
.page-data-centers .dc20-code{display:inline-block;max-width:100%;padding:3px 8px;border-radius:7px;background:#f1f5f9;color:#475467;font-size:.72rem;overflow-wrap:anywhere}
.page-data-centers .dc20-center-options{display:flex;align-items:center;gap:9px;flex-shrink:0}
.page-data-centers .dc20-status{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:28px;padding:4px 10px;border-radius:999px;font-size:.73rem;font-weight:700;line-height:1.3;text-align:center;white-space:normal}
.page-data-centers .dc20-status.is-ok,.page-data-centers .dc20-check-status.status-success{color:#067647;background:#ecfdf3;border:1px solid #abefc6}
.page-data-centers .dc20-status.is-muted{color:#475467;background:#f2f4f7;border:1px solid #e4e7ec}
.page-data-centers .dc20-check-status.status-warning,.page-data-centers .dc20-check-status.status-muted{color:#b54708;background:#fffaeb;border:1px solid #fedf89}
.page-data-centers .dc20-check-status.status-danger,.page-data-centers .dc20-check-status.status-error{color:#b42318;background:#fef3f2;border:1px solid #fecdca}
.page-data-centers .dc20-check-status.status-info{color:#175cd3;background:#eff8ff;border:1px solid #b2ddff}
.page-data-centers .dc20-center-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid var(--ui-line);background:#fbfcfe}
.page-data-centers .dc20-center-stats>div{padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-width:0;border-inline-end:1px solid var(--ui-line)}
.page-data-centers .dc20-center-stats>div:last-child{border-inline-end:0}
.page-data-centers .dc20-center-stats span{font-size:.71rem;color:var(--ui-muted)}
.page-data-centers .dc20-center-stats b{font-size:.95rem;font-weight:800;color:var(--ui-text);font-variant-numeric:tabular-nums;align-self:flex-start}
.page-data-centers .dc20-access-item{padding:0}
.page-data-centers .dc20-access-top{align-items:center;padding-bottom:13px}
.page-data-centers .dc20-access-address{min-width:0;display:grid;gap:4px}
.page-data-centers .dc20-field-caption{font-size:.7rem;color:var(--ui-muted)}
.page-data-centers .dc20-access-address code{display:block;width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;unicode-bidi:isolate;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.94rem;font-weight:700;background:transparent;color:var(--ui-text);padding:0;border:0;text-align:start}
.page-data-centers .dc20-access-address small,.page-data-centers .dc20-access-fields small{display:block;max-width:100%;overflow-wrap:anywhere;font-size:.69rem;line-height:1.6;color:var(--ui-muted)}
.page-data-centers .dc20-access-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--ui-line);border-top:1px solid var(--ui-line);border-bottom:1px solid var(--ui-line)}
.page-data-centers .dc20-access-fields>div{display:grid;align-content:start;gap:4px;padding:12px 15px;min-width:0;background:#fbfcfe}
.page-data-centers .dc20-access-fields span{font-size:.72rem;color:var(--ui-muted)}
.page-data-centers .dc20-access-fields strong{font-size:.82rem;font-weight:760;line-height:1.6;color:var(--ui-text);overflow-wrap:anywhere}
.page-data-centers .dc20-access-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:8px;padding:11px 15px}
.page-data-centers .dc20-empty{text-align:center;display:grid;gap:7px;padding:28px 15px;border:1px dashed var(--ui-line-strong);border-radius:12px;background:#fafbfd}
.page-data-centers .dc20-empty>b{font-size:.87rem;color:var(--ui-text)}
.page-data-centers .dc20-empty>span{font-size:.75rem;color:var(--ui-muted)}
.page-data-centers .dc20-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;color:var(--ui-muted);font-size:.78rem}
@media(max-width:1320px){.page-data-centers .dc20-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.page-data-centers .dc20-center-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.page-data-centers .dc20-center-stats>div:nth-child(3n){border-inline-end:0}.page-data-centers .dc20-center-stats>div:nth-child(n+4){border-top:1px solid var(--ui-line)}}
@media(max-width:900px){.page-data-centers .dc20-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.page-data-centers .dc20-panel{padding:15px}.page-data-centers .dc20-access-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.page-data-centers .dc20-filters{grid-template-columns:minmax(0,1fr) minmax(130px,.55fr)}.page-data-centers .dc20-access-filters{grid-template-columns:minmax(0,1fr)}.page-data-centers .dc20-filter-actions{grid-column:1/-1}}
@media(max-width:620px){.page-data-centers .dc20-page{gap:15px}.page-data-centers .dc20-titlebar{align-items:stretch;flex-direction:column}.page-data-centers .dc20-titlebar>.dc20-btn{width:100%}.page-data-centers .dc20-title h1{font-size:1.25rem}.page-data-centers .dc20-panel{padding:12px;border-radius:13px}.page-data-centers .dc20-panel-heading{align-items:stretch;flex-direction:column}.page-data-centers .dc20-panel-heading .dc20-btn{align-self:flex-start}.page-data-centers .dc20-metrics{gap:8px}.page-data-centers .dc20-metric{min-height:92px;padding:12px 13px}.page-data-centers .dc20-metric strong{font-size:1.34rem}.page-data-centers .dc20-metric>small{font-size:.63rem}.page-data-centers .dc20-filters{grid-template-columns:minmax(0,1fr);padding:11px;gap:10px}.page-data-centers .dc20-filter-actions{grid-column:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-data-centers .dc20-filter-actions .dc20-btn{width:100%}.page-data-centers .dc20-center-head{padding:12px;align-items:flex-start}.page-data-centers .dc20-center-options{flex-direction:column;align-items:flex-end}.page-data-centers .dc20-center-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.page-data-centers .dc20-center-stats>div{padding:10px}.page-data-centers .dc20-center-stats>div:nth-child(3n){border-inline-end:1px solid var(--ui-line)}.page-data-centers .dc20-center-stats>div:nth-child(2n){border-inline-end:0}.page-data-centers .dc20-center-stats>div:nth-child(n+3){border-top:1px solid var(--ui-line)}.page-data-centers .dc20-access-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.page-data-centers .dc20-access-fields>div{padding:10px}.page-data-centers .dc20-access-top{padding:12px;align-items:flex-start}.page-data-centers .dc20-check-status{max-width:105px;font-size:.67rem}.page-data-centers .dc20-access-actions{padding:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-data-centers .dc20-access-actions .dc20-btn{min-width:0;white-space:normal}}
@media(max-width:360px){.page-data-centers .dc20-metrics{grid-template-columns:1fr 1fr}.page-data-centers .dc20-center-options{gap:5px}.page-data-centers .dc20-center-name{display:grid}.page-data-centers .dc20-access-fields{grid-template-columns:1fr}.page-data-centers .dc20-access-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.page-data-centers .dc20-btn{transition:none}.page-data-centers .dc20-btn:hover{transform:none}}

/* 2.0.21 — service management: isolated records, bounded text and stable actions.
   Replaces the legacy seven-column services table; does not alter any URL or data contract. */
body.page-services .sm21-results{padding:0!important;overflow:hidden;border:1px solid var(--ui-line,#dfe5ed);border-radius:16px;background:#fff;box-shadow:var(--ui-shadow-xs,0 2px 8px rgba(16,24,40,.04))}
body.page-services .sm21-results *{box-sizing:border-box;min-width:0}
body.page-services .sm21-results-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:20px 22px 16px;border-bottom:1px solid #e7ecf3}
body.page-services .sm21-results-head h2{margin:0;font-size:1.06rem;line-height:1.5;font-weight:800}
body.page-services .sm21-results-head p{margin:4px 0 0;font-size:.8rem;line-height:1.6}
body.page-services .sm21-total{border:1px solid #dce8fb;background:#eff6ff;color:#1d4ed8;padding:6px 12px;border-radius:999px;white-space:nowrap;font-weight:750;font-size:.78rem}
body.page-services .sm21-list{display:grid;gap:0;max-width:100%;min-width:0}
body.page-services .sm21-record{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.65fr) 126px;gap:16px;align-items:center;min-width:0;width:100%;padding:17px 20px;border-bottom:1px solid #e9edf4;background:#fff;transition:background-color .16s ease}
body.page-services .sm21-record:last-child{border-bottom:0}
body.page-services .sm21-record:hover{background:#f9fbfe}
body.page-services .sm21-record-attention{border-inline-start:3px solid #e9ac42}
body.page-services .sm21-record-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(78px,.67fr);gap:12px;align-items:start;min-width:0}
body.page-services .sm21-record-meta{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr) minmax(0,1.12fr);gap:12px;min-width:0;align-items:start}
body.page-services .sm21-person,body.page-services .sm21-service,body.page-services .sm21-state,body.page-services .sm21-field{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%;min-width:0;line-height:1.6}
body.page-services .sm21-kicker{display:block;color:#69788c;font-size:.69rem;line-height:1.35;font-weight:650}
body.page-services .sm21-person-name,body.page-services .sm21-service-link{display:block;max-width:100%;font-size:.83rem;line-height:1.7;font-weight:800;color:#163866;text-decoration:none;overflow-wrap:anywhere}
body.page-services .sm21-person-name:hover,body.page-services .sm21-service-link:hover{color:#2563eb;text-decoration:underline}
body.page-services .sm21-sub{display:block;max-width:100%;color:#66778d;font-size:.72rem;line-height:1.6;overflow-wrap:anywhere}
body.page-services .sm21-identifiers{display:flex;gap:4px 7px;align-items:center;flex-wrap:wrap;max-width:100%}
body.page-services .sm21-ident{font-size:.70rem;line-height:1.4;color:#54657d;overflow-wrap:anywhere}
body.page-services .sm21-ident+.sm21-ident{padding-inline-start:7px;border-inline-start:1px solid #e0e7ef}
body.page-services .sm21-state .status,body.page-services .sm21-request .status{display:inline-flex!important;align-items:center;justify-content:center;max-width:100%;padding:4px 9px!important;margin:2px 0 0!important;white-space:normal;text-align:center;font-size:.7rem;line-height:1.45;border-radius:999px;overflow-wrap:anywhere}
body.page-services .sm21-dc b{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;font-size:.8rem;line-height:1.7;color:#243347}
body.page-services .sm21-dc small{display:block;max-width:100%;font-size:.7rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
body.page-services .sm21-ip strong{font-size:.91rem;color:#1d2939;font-variant-numeric:tabular-nums}
body.page-services .sm21-ip-value{display:block!important;max-width:100%;font:600 .71rem/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:#144a85;background:#eef6ff;border:1px solid #dfebfa;border-radius:7px;padding:3px 6px;direction:ltr;text-align:left;unicode-bidi:plaintext;overflow-wrap:anywhere;word-break:break-all}
body.page-services .sm21-missing{font-size:.7rem;color:#b45309}
body.page-services .sm21-request-id{display:block;max-width:100%;width:fit-content;font-size:.73rem;line-height:1.6;color:#175cd3;direction:ltr;text-align:left;unicode-bidi:plaintext;overflow-wrap:anywhere;word-break:break-all;text-decoration:none}
body.page-services .sm21-request-id:hover{text-decoration:underline}
body.page-services .sm21-actions{display:flex;flex-direction:column;gap:7px;width:126px;max-width:100%}
body.page-services .sm21-action{display:inline-flex!important;align-items:center;justify-content:center;width:100%;min-height:36px;padding:7px 9px!important;border:1px solid transparent!important;border-radius:9px;text-align:center;line-height:1.3;font-size:.76rem;font-weight:750;text-decoration:none!important;white-space:nowrap;box-shadow:none!important;transition:background-color .16s,border-color .16s,color .16s,transform .16s}
body.page-services .sm21-action-primary{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
body.page-services .sm21-action-primary:hover{background:#1d4ed8!important;color:#fff!important;transform:translateY(-1px)}
body.page-services .sm21-action-secondary{background:#f8fafc!important;border-color:#d8e1eb!important;color:#344054!important}
body.page-services .sm21-action-secondary:hover{background:#eef3fa!important;color:#182a43!important}
body.page-services .sm21-action:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
body.page-services .sm21-empty{padding:35px 20px;text-align:center}
body.page-services .sm21-pagination{border-top:1px solid #e9edf4}
@media(max-width:1450px){
 body.page-services .sm21-record{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) 112px;gap:12px;padding:14px}
 body.page-services .sm21-record-main{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px}
 body.page-services .sm21-state{grid-column:1/-1;flex-direction:row;align-items:center;gap:7px}
 body.page-services .sm21-record-meta{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 body.page-services .sm21-request{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:7px;flex-wrap:wrap}
 body.page-services .sm21-actions{width:112px}
}
@media(max-width:1150px){
 body.page-services .sm21-record{grid-template-columns:minmax(0,1fr) auto;align-items:start}
 body.page-services .sm21-record-main{grid-column:1/-1;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.6fr)}
 body.page-services .sm21-state{grid-column:auto;flex-direction:column;align-items:flex-start}
 body.page-services .sm21-record-meta{grid-column:1;grid-template-columns:repeat(3,minmax(0,1fr))}
 body.page-services .sm21-request{grid-column:auto;flex-direction:column;align-items:flex-start}
 body.page-services .sm21-actions{grid-column:2;grid-row:2}
}
@media(max-width:800px){
 body.page-services .sm21-record{grid-template-columns:minmax(0,1fr);gap:14px;padding:15px}
 body.page-services .sm21-record-main{grid-column:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.page-services .sm21-state{grid-column:1/-1;flex-direction:row;align-items:center}
 body.page-services .sm21-record-meta{grid-column:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body.page-services .sm21-request{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap}
 body.page-services .sm21-actions{grid-column:1;grid-row:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
}
@media(max-width:480px){
 body.page-services .sm21-results-head{padding:15px;gap:7px}
 body.page-services .sm21-results-head p{font-size:.75rem}
 body.page-services .sm21-record{padding:14px 12px;gap:12px}
 body.page-services .sm21-record-main{grid-template-columns:minmax(0,1fr)}
 body.page-services .sm21-state{grid-column:1}
 body.page-services .sm21-record-meta{grid-template-columns:minmax(0,1fr) minmax(0,.75fr)}
 body.page-services .sm21-request{grid-column:1/-1}
 body.page-services .sm21-action{white-space:normal;font-size:.73rem;min-height:40px}
 body.page-services .sm21-ip-value{font-size:.69rem}
}
@media(prefers-reduced-motion:reduce){body.page-services .sm21-record,body.page-services .sm21-action{transition:none!important;transform:none!important}}
