/* MAHIN SIGNATURE THEMES | approved Aether Glass + Orbit Luxe
   One reusable role contract. No simulated sales values or reimplementation of app logic.
   Scope: appScreen ONLY; login and business screens remain untouched.
   Each signature owns palette, surface, ornament and geometry while retaining saved adaptive preferences.
*/
html[data-mi-visual-kind="signature"][data-mi-visual-style="aether-glass"] #appScreen {
  --sig-line:rgb(255 255 255 / .82);
  --sig-halo:rgb(54 137 233 / .24);
  --sig-ink:#153251;
  --sig-muted:#425d78;
  --sig-selected:linear-gradient(118deg,#42b8e7d9,#8e8eeae0);
  --sig-active-ink:#091f48;
  --sig-control:rgb(235 247 255 / .70);
  --sig-card-shadow:0 14px 36px rgb(34 98 168 / .15),inset 0 1px 0 rgb(255 255 255 / .91);
  --sig-card-radius:20px;
  --sig-control-radius:12px;
  --sig-focus:#286bcb;
  color:var(--sig-ink);
}
html[data-mi-visual-kind="signature"][data-mi-visual-style="orbit-luxe"] #appScreen {
  --sig-line:rgb(108 183 255 / .38);
  --sig-halo:rgb(45 174 255 / .30);
  --sig-ink:#ecf6ff;
  --sig-muted:#abc3d9;
  --sig-selected:linear-gradient(114deg,#13589c,#1184c8 75%,#61d7ff);
  --sig-active-ink:#fff;
  --sig-control:rgb(16 43 75 / .91);
  --sig-card-shadow:0 12px 34px rgb(0 5 21 / .37),inset 0 1px 0 rgb(134 207 255 / .16);
  --sig-card-radius:17px;
  --sig-control-radius:10px;
  --sig-focus:#59c9ff;
  color:var(--sig-ink);
}
/* Contract: page -> navigation/header -> panel -> controls -> states.
   Same selectors apply to both approved signature designs. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen .main {
  background-image:var(--mi-ds-ornament-page,none)!important;
  background-color:var(--mi-ds-page)!important;
  background-attachment:fixed!important;
  color:var(--sig-ink)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar {
  background-image:var(--mi-ds-ornament-sidebar,none)!important;
  background-color:var(--mi-ds-sidebar-fill)!important;
  border-right:1px solid var(--sig-line)!important;
  color:var(--mi-ds-sidebar-ink)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(#topbar,.mi-topbar-shell){
  background-image:var(--mi-ds-ornament-header,none)!important;
  border-bottom:1px solid var(--sig-line)!important;
  box-shadow:0 5px 24px var(--sig-halo)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-ui-settings-banner,.mi-ui-titlebar--banner,.mi-v5-intro,
  .mi-six-category-banner,.mi-hub-hero,.mi-v2-page-banner
){
  background-image:var(--mi-ds-ornament-banner,none)!important;
  background-color:var(--mi-ds-banner-fill)!important;
  border:1px solid var(--sig-line)!important;
  border-radius:var(--sig-card-radius)!important;
  box-shadow:var(--sig-card-shadow)!important;
  color:var(--sig-ink)!important;
  overflow:hidden;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-ui-settings-banner,.mi-ui-titlebar--banner,.mi-v5-intro,
  .mi-six-category-banner,.mi-hub-hero,.mi-v2-page-banner
) :is(h1,h2,h3,p,small,strong){color:var(--sig-ink)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-pro-card,.mi-ui-settings-card,.mi-v2-settings-card,.mi-v2-settings-tile,
  .mi-ui-card,.mi-hub-card,.mi-six-category-card,.mi-v6-card,
  .mi-dashboard-widget,.mi-dashboard-stat,.stat,.panel,.mi-dash-card,
  .mi-dash-dialog,.mi-dashboard-access,.mi-module-content-card
){
  background-image:var(--mi-ds-ornament-card,none)!important;
  background-color:var(--mi-ds-card-fill)!important;
  border-color:var(--sig-line)!important;
  border-radius:var(--sig-card-radius)!important;
  box-shadow:var(--sig-card-shadow)!important;
  color:var(--sig-ink)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-pro-card,.mi-ui-settings-card,.mi-v2-settings-card,
  .mi-ui-card,.mi-hub-card,.mi-six-category-card,.mi-dashboard-widget,.mi-dash-card
) :is(h1,h2,h3,h4,strong,.mi-dash-card-title,.mi-dash-metric){color:var(--sig-ink)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-pro-card,.mi-ui-settings-card,.mi-hub-card,.mi-dash-card,.mi-v2-settings-card
) :is(p,small,.muted,.mi-dash-caption){color:var(--sig-muted)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-pro-card,.mi-ui-settings-card,.mi-hub-card,.mi-dash-card
):is(:hover,:focus-within){border-color:var(--sig-focus)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-hub-heading-icon,.mi-hub-card-icon,.mi-pro-icon,
  .mi-ui-settings-symbol,.mi-dash-card-icon,.mi-six-category-icon
){
  color:var(--sig-focus)!important;
  background:var(--sig-control)!important;
  border:1px solid var(--sig-line)!important;
  box-shadow:0 3px 10px var(--sig-halo)!important;
}
/* Buttons and fields follow signature material; selected and hover are shared states. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-ui-settings-banner,.mi-ui-card,.mi-hub-card,.mi-dashboard-screen,
  .mi-v2-settings-page,.mi-pro-card,.mi-module-page,.mi-module-content
) :is(button,.button,[role="button"],input,select,textarea):not(.mi-visual-choice){
  border-radius:var(--sig-control-radius)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-dash-button,.mi-dash-shortcuts button,.mi-hub-searchbar,
  .mi-ui-search,.mi-v6-card-open,.mi-pro-card button
){border-color:var(--sig-line)!important;color:var(--sig-ink)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-dash-button,.mi-dash-shortcuts button,.mi-pro-card button
):not(:disabled):hover{box-shadow:0 0 0 1px var(--sig-focus),0 4px 18px var(--sig-halo)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(button,a,input,select,textarea):focus-visible{
  outline:2px solid var(--sig-focus)!important;
  outline-offset:2px!important;
}
/* Shared navigation active states, independent of which module is open. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar :is(
  #dashboardNav,.nav-item,.mi-settings-parent-row,.mi-v2-sidebar-link,
  .mi-footer-brand,.mi-footer-about
){border-radius:var(--sig-control-radius)!important;transition:background .18s ease,box-shadow .18s ease,border-color .18s ease;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar :is(
  .nav-item,.mi-v2-sidebar-link,.mi-settings-parent-row
):hover{box-shadow:inset 0 0 0 1px var(--sig-focus)!important;background-image:linear-gradient(var(--sig-halo),var(--sig-halo))!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar :is(
  .nav-item.active,.nav-item[aria-current="page"],.mi-v2-sidebar-link.mi-v2-current,
  .mi-settings-parent-row[data-mi-active="true"]
){background:var(--sig-selected)!important;color:var(--sig-active-ink)!important;}
/* Tabs and module tabs share the active visual treatment, not independent palettes. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  #moduleTabs,.mi-v5-tabs,.mi-module-tabs,.mi-pro-tabs
) :is(button,a,[role="tab"]){
  border:1px solid var(--sig-line)!important;
  border-radius:var(--sig-control-radius)!important;
  color:var(--mi-ds-header-ink)!important;
  transition:background .17s ease,box-shadow .17s ease;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  #moduleTabs,.mi-v5-tabs,.mi-module-tabs,.mi-pro-tabs
) :is(.active,[aria-selected="true"],[aria-current="page"]){
  background:var(--sig-selected)!important;
  border-color:var(--sig-focus)!important;
  color:var(--sig-active-ink)!important;
  box-shadow:0 3px 12px var(--sig-halo)!important;
}
/* Data tables keep visible row separation regardless of signature. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table){border-collapse:separate;border-spacing:0;color:var(--sig-ink);}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) :is(th,td){border-bottom:1px solid var(--sig-line);}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) th{background:var(--sig-control);color:var(--sig-ink);}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) tr:hover td{background:var(--sig-halo);}
/* The existing Live Dashboard widget grid retains layout, drag, resize and data bindings. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen .mi-dash-card{
  background:var(--mi-ds-ornament-card,none),var(--mi-ds-card-fill)!important;
  border:1px solid var(--sig-line)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen .mi-dash-card .mi-dash-metric{color:var(--sig-ink)!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen .mi-dash-card .mi-dash-caption{color:var(--sig-muted)!important;}
/* Aether material: vivid yet legible, real frosted surfaces, luminous accents. */
html[data-mi-visual-style="aether-glass"] #appScreen#appScreen :is(
  .mi-dash-card,.mi-ui-settings-card,.mi-hub-card,.mi-pro-card,.mi-ui-card,.panel
){
  -webkit-backdrop-filter:blur(19px) saturate(145%)!important;
  backdrop-filter:blur(19px) saturate(145%)!important;
}
html[data-mi-visual-style="aether-glass"] #appScreen#appScreen #sidebar :is(.mi-footer-brand,.mi-footer-about){
  background:rgb(240 250 255 / .48)!important;color:#173859!important;
}
html[data-mi-visual-style="aether-glass"] #appScreen#appScreen :is(.mi-dash-button.mi-dash-primary,.mi-dash-primary){
  background:linear-gradient(110deg,#25ace4,#697eea)!important;color:#fff!important;border-color:#58aeed!important;
}
/* Orbit material: precise neon lines, gold secondary highlights, high contrast. */
html[data-mi-visual-style="orbit-luxe"] #appScreen#appScreen :is(
  .mi-ui-settings-banner,.mi-ui-titlebar--banner,.mi-v5-intro,.mi-v2-page-banner
){box-shadow:inset 0 1px 0 rgb(104 203 255 / .30),0 0 26px rgb(26 141 217 / .21)!important;}
html[data-mi-visual-style="orbit-luxe"] #appScreen#appScreen :is(
  .mi-dash-card,.mi-ui-settings-card,.mi-hub-card,.mi-pro-card,.mi-ui-card,.panel
){box-shadow:inset 0 1px 0 rgb(111 197 255 / .18),0 10px 30px rgb(0 5 22 / .33)!important;}
html[data-mi-visual-style="orbit-luxe"] #appScreen#appScreen :is(
  .mi-dash-button.mi-dash-primary,.mi-dash-primary
){background:linear-gradient(115deg,#12639b,#19a7df)!important;color:#fff!important;border-color:#59d2fc!important;}
html[data-mi-visual-style="orbit-luxe"] #appScreen#appScreen :is(.mi-dash-card-icon,.mi-hub-card-icon){
  border-radius:50%!important;box-shadow:0 0 0 3px rgb(55 169 235 / .12),0 0 16px rgb(61 161 230 / .22)!important;
}
/* Prevent text glare: don't apply decorative light behind functional data. */
@media(prefers-reduced-motion:reduce){html[data-mi-visual-kind="signature"] #appScreen#appScreen *{transition:none!important;animation:none!important;}}
@media(max-width:720px){
  html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-ui-settings-banner,.mi-v2-page-banner){padding:12px!important;}
  html[data-mi-visual-kind="signature"] #appScreen#appScreen .mi-dash-card{border-radius:13px!important;}
}


/* PHASE II: Reference-oriented complete visual treatment, applied to real UI.
   Every selector is scoped to a selected Signature. Existing document structure,
   widget editor, navigation handlers, routes and records remain untouched. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen {
  --sig-cyan:#22c6f0;
  --sig-violet:#8968ef;
  --sig-gold:#ffc15d;
  --sig-sheen:inset 0 1px 0 rgba(255,255,255,.45);
}
html[data-mi-visual-style="aether-glass"] #appScreen#appScreen {
  --sig-page-art:linear-gradient(130deg,rgba(202,226,255,.7),transparent 42%,rgba(193,188,255,.38)),
    radial-gradient(ellipse 65% 48% at 49% 95%,rgba(57,205,245,.34),transparent 75%),
    linear-gradient(140deg,#dceaff 0%,#bcdcf9 47%,#ded5ff 100%);
  --sig-banner-art:url('../art/aether-ribbons.svg');
  --sig-nav-art:url('../art/aether-sidebar.svg');
  --sig-header-art:linear-gradient(100deg,rgba(230,245,255,.72),rgba(141,214,255,.56),rgba(213,191,255,.58));
  --sig-widget-surface:rgba(242,249,255,.72);
  --sig-widget-border:rgba(255,255,255,.86);
  --sig-table-head:rgba(150,189,240,.24);
  --sig-control-ink:#173a65;
  --sig-nav-active:linear-gradient(112deg,#1cc8f3,#476af5 61%,#aa7de9);
  --sig-nav-active-ink:#fff;
  --sig-banner-ink:#fff;
  --sig-widget-shadow:0 11px 26px rgba(50,108,185,.15),inset 0 1px 0 rgba(255,255,255,.92);
}
html[data-mi-visual-style="orbit-luxe"] #appScreen#appScreen {
  --sig-page-art:radial-gradient(ellipse 70% 43% at 80% 96%,rgba(0,93,185,.17),transparent 80%),
    radial-gradient(ellipse 60% 65% at 3% 17%,rgba(5,102,195,.12),transparent 85%),
    linear-gradient(145deg,#041124,#071631 49%,#040f22 100%);
  --sig-banner-art:url('../art/orbit-rings.svg');
  --sig-nav-art:url('../art/orbit-sidebar.svg');
  --sig-header-art:linear-gradient(100deg,#06132b,#0a2045 67%,#10193b);
  --sig-widget-surface:rgba(6,27,55,.96);
  --sig-widget-border:rgba(75,165,252,.42);
  --sig-table-head:rgba(48,110,186,.19);
  --sig-control-ink:#f1f7ff;
  --sig-nav-active:linear-gradient(112deg,#103e92,#086bc1 78%,#05b7e8);
  --sig-nav-active-ink:#fff;
  --sig-banner-ink:#fff;
  --sig-widget-shadow:0 12px 28px rgba(0,6,24,.37),inset 0 1px 0 rgba(114,192,255,.24);
}
/* Full-page and workspace shell. Avoid decorative overlays that steal clicks. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen,
html[data-mi-visual-kind="signature"] #appScreen#appScreen .main {
  background:var(--sig-page-art)!important;
  color:var(--sig-ink)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen .main {
  background-attachment:fixed!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar {
  background-image:var(--sig-nav-art)!important;
  background-size:cover!important;
  background-position:center bottom!important;
  box-shadow:4px 0 25px var(--sig-halo)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(#topbar,.mi-topbar-shell) {
  background:var(--sig-header-art)!important;
  box-shadow:0 5px 19px var(--sig-halo),inset 0 -1px 0 var(--sig-line)!important;
}
/* Real top-bar controls and generated tabs, using the same material. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(#topbar,.mi-topbar-shell) :is(button,.button,[role="button"]),
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(#moduleTabs,.mi-settings-header-tabs,.mi-module-tabs) :is(button,a) {
  border:1px solid var(--sig-line)!important;
  border-radius:12px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.21),0 3px 9px var(--sig-halo)!important;
  color:var(--sig-control-ink)!important;
}
html[data-mi-visual-style="aether-glass"] #appScreen#appScreen :is(#topbar,.mi-topbar-shell) :is(button,.button,[role="button"]){
  background:rgba(237,246,255,.48)!important;
  backdrop-filter:blur(12px)!important;
}
html[data-mi-visual-style="orbit-luxe"] #appScreen#appScreen :is(#topbar,.mi-topbar-shell) :is(button,.button,[role="button"]){
  background:rgba(12,37,77,.82)!important;
}
/* Shared title/hero banners. Preserve real names, page headings and actions. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-ui-settings-banner,.mi-ui-titlebar--banner,.mi-v5-intro,
  .mi-six-category-banner,.mi-hub-hero,.mi-v2-page-banner,
  .mi-ui-titlebar:not(.mi-ui-titlebar--flush),.mi-appearance-heading,
  .branding-page-heading,.mi-preferences-heading
){
  background-image:var(--sig-banner-art)!important;
  background-color:transparent!important;
  background-size:cover!important;
  background-position:center!important;
  color:var(--sig-banner-ink)!important;
  border:1px solid var(--sig-widget-border)!important;
  border-radius:17px!important;
  box-shadow:0 8px 23px var(--sig-halo),inset 0 1px 0 rgba(255,255,255,.35)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-ui-settings-banner,.mi-ui-titlebar--banner,.mi-v5-intro,.mi-six-category-banner,
  .mi-hub-hero,.mi-v2-page-banner,.mi-ui-titlebar:not(.mi-ui-titlebar--flush),
  .mi-appearance-heading,.branding-page-heading,.mi-preferences-heading
) :is(h1,h2,h3,p,small,strong,span:not(.mi-ui-settings-symbol)) {
  color:inherit!important;
}
/* Dashboard: the existing customizable grid and actual widgets receive the reference material.
   No extra fake KPI, chart, table, card or inventory values are generated. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  .mi-dash-card,.mi-dashboard-widget,.mi-dashboard-stat,.mi-dash-dialog,
  .mi-hub-card,.mi-six-category-card,.mi-ui-card,.mi-ui-settings-card,
  .mi-v2-settings-card,.mi-v2-settings-tile,.mi-pro-card,.mi-preference-card,
  .mi-settings-category,.branding-settings-card,.panel,.stat
){
  background:var(--sig-widget-surface)!important;
  border:1px solid var(--sig-widget-border)!important;
  box-shadow:var(--sig-widget-shadow)!important;
  border-radius:17px!important;
  color:var(--sig-ink)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-dash-card,.mi-hub-card,.mi-settings-category,.mi-v2-settings-card,.mi-ui-card):hover {
  border-color:var(--sig-focus)!important;
  box-shadow:var(--sig-widget-shadow),0 0 0 1px var(--sig-halo)!important;
}
html[data-mi-visual-style="aether-glass"] #appScreen#appScreen :is(.mi-dash-card,.mi-hub-card,.mi-pro-card,.mi-v2-settings-card,.mi-ui-card) {
  -webkit-backdrop-filter:blur(17px) saturate(130%)!important;
  backdrop-filter:blur(17px) saturate(130%)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-dash-card,.mi-hub-card,.mi-pro-card,.mi-v2-settings-card,.mi-ui-card) :is(.mi-dash-card-title,h1,h2,h3,h4,strong,small,p,label) {color:inherit!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-hub-card-icon,.mi-dash-card-icon,.mi-pro-icon,.mi-ui-settings-symbol,.mi-category-icon) {
  border-radius:12px!important;
  background:var(--sig-control)!important;
  border:1px solid var(--sig-line)!important;
  color:var(--sig-focus)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.29),0 3px 11px var(--sig-halo)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar :is(.nav-item,.mi-settings-home-trigger,.mi-nav-parent,.mi-v2-sidebar-link,.mi-footer-about) {
  color:var(--mi-ds-sidebar-ink)!important;
  border-radius:12px!important;
  transition:box-shadow .15s ease,background .15s ease!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar :is(
  .nav-item.active,.nav-item[aria-current="page"],.mi-v2-sidebar-link.mi-v2-current,
  .mi-settings-parent-row[data-mi-active="true"]
){
  background:var(--sig-nav-active)!important;
  border:1px solid var(--sig-line)!important;
  color:var(--sig-nav-active-ink)!important;
  -webkit-text-fill-color:var(--sig-nav-active-ink)!important;
  box-shadow:0 0 15px var(--sig-halo),inset 0 1px 0 rgba(255,255,255,.5)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar :is(
  .nav-item.active,.nav-item[aria-current="page"],.mi-v2-sidebar-link.mi-v2-current
) :is(span,strong,svg){color:inherit!important;-webkit-text-fill-color:inherit!important;}
html[data-mi-visual-kind="signature"] #appScreen#appScreen #sidebar .mi-sidebar-footer {
  background:var(--sig-widget-surface)!important;
  border:1px solid var(--sig-line)!important;
  border-radius:15px!important;
  box-shadow:var(--sig-widget-shadow)!important;
}
/* Search / inputs / data tables / buttons: all real controls, no dead decorative buttons. */
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,select,.mi-ui-search,.mi-hub-searchbar,.mi-pro-searchbar
){
  background:var(--sig-widget-surface)!important;
  color:var(--sig-ink)!important;
  border-color:var(--sig-widget-border)!important;
  border-radius:12px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-dash-button,.mi-pro-card button,.mi-hub-card button,.mi-settings-category button,.button,.mi-ui-button):not(:disabled):not(.mi-visual-choice) {
  border:1px solid var(--sig-widget-border)!important;
  border-radius:12px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.19)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-dash-button,.button,.mi-ui-button):not(:disabled):hover {
  border-color:var(--sig-focus)!important;
  box-shadow:0 0 0 1px var(--sig-halo),0 5px 16px var(--sig-halo)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) {
  color:var(--sig-ink)!important;
  border-collapse:separate;
  border-spacing:0;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) thead,
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) th {
  background:var(--sig-table-head)!important;
  color:var(--sig-ink)!important;
}
html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(table,.mi-dash-table) tr:hover td {
  background:var(--sig-halo)!important;
}
/* Responsive only affects painted surfaces; structural widths remain owned by existing modules. */
@media(max-width:680px){
 html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-ui-titlebar,.mi-v2-page-banner,.mi-hub-hero){background-position:64% center!important;}
 html[data-mi-visual-kind="signature"] #appScreen#appScreen :is(.mi-dash-card,.mi-ui-card,.mi-v2-settings-card){border-radius:12px!important;}
}
@media(prefers-reduced-motion:reduce){
 html[data-mi-visual-kind="signature"] #appScreen#appScreen * {scroll-behavior:auto!important;transition:none!important;}
}
