/* VeyaLearn Unified ERP V3 — professional, accessible, mobile-first presentation. */
:root{
  --erp-primary:var(--v29-primary,#425cc7);
  --erp-navy:var(--v29-navy,#14244f);
  --erp-gold:var(--v29-accent,#ffb71b);
  --erp-bg:#f4f7fc;
  --erp-surface:#fff;
  --erp-line:#e3e9f4;
  --erp-muted:#697590;
  --erp-shadow:0 16px 45px rgba(25,42,83,.09);
  --erp-shadow-soft:0 7px 22px rgba(25,42,83,.065);
  --erp-sidebar:292px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--erp-bg)}
body.erp-v3{margin:0;background:
  radial-gradient(circle at 96% 0,rgba(66,92,199,.08),transparent 29rem),
  radial-gradient(circle at 40% 100%,rgba(255,183,27,.045),transparent 25rem),var(--erp-bg);color:#19264a;font-family:var(--v29-font-family,"Trebuchet MS",Arial,sans-serif);font-size:var(--v29-font-size,16px);min-height:100vh}
.skip-link{position:fixed;z-index:2000;inset-block-start:10px;inset-inline-start:10px;transform:translateY(-160%);padding:10px 15px;border-radius:10px;background:#fff;color:var(--erp-navy);box-shadow:var(--erp-shadow);font-weight:800;text-decoration:none}
.skip-link:focus{transform:none}

body.erp-v3 .app-shell{display:block;min-height:100vh}
body.erp-v3 .sidebar{position:fixed;z-index:80;inset-block:0;inset-inline-start:0;width:var(--erp-sidebar);display:flex;flex-direction:column;padding:24px 17px 18px;background:
  linear-gradient(155deg,rgba(74,103,221,.28),transparent 34%),
  linear-gradient(180deg,#142654 0%,#0e1b3e 100%);color:#fff;border:0;box-shadow:12px 0 38px rgba(14,27,62,.13);overflow:hidden}
body.rtl.erp-v3 .sidebar{box-shadow:-12px 0 38px rgba(14,27,62,.13)}
body.erp-v3 .brand{display:flex;align-items:center;gap:13px;padding:0 8px 19px;margin:0;border-bottom:1px solid rgba(255,255,255,.11)}
body.erp-v3 .brand-logo{width:48px;height:48px;flex:0 0 48px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:linear-gradient(145deg,#fff,#eff3ff);display:grid;place-items:center;box-shadow:0 9px 25px rgba(0,0,0,.18)}
body.erp-v3 .brand-logo img{width:36px;height:36px;object-fit:contain}
body.erp-v3 .brand-title{font-size:15px;font-weight:900;line-height:1.25;color:#fff;letter-spacing:.01em}
body.erp-v3 .brand-sub{font-size:11px;color:#b9c7ed;margin-top:4px;letter-spacing:.04em}
.erp-live-pill{display:flex;align-items:center;gap:8px;margin:15px 3px 12px;padding:9px 11px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#eaf0ff;font-size:11px;font-weight:700}
.erp-live-pill i,.topbar-system-state i{width:8px;height:8px;border-radius:50%;background:#42d392;box-shadow:0 0 0 4px rgba(66,211,146,.13);flex:none}
.erp-live-pill b{margin-inline-start:auto;padding:2px 6px;border-radius:6px;background:rgba(255,183,27,.17);color:#ffd66c;font-size:10px}
.nav-search{display:flex;align-items:center;gap:8px;margin:0 3px 13px;padding:4px 8px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(6,15,38,.25);transition:.2s ease}
.nav-search:focus-within{border-color:rgba(255,183,27,.65);box-shadow:0 0 0 3px rgba(255,183,27,.09)}
.nav-search>span{color:#aebee8;font-size:18px;line-height:1}
.nav-search input{min-width:0;flex:1;border:0!important;outline:0;background:transparent!important;color:#fff!important;padding:8px 1px!important;box-shadow:none!important;font:inherit;font-size:12px}
.nav-search input::placeholder{color:#9eadd2}
.nav-search kbd{font-family:inherit;font-size:9px;color:#8fa1cc;border:1px solid rgba(255,255,255,.16);border-radius:5px;padding:2px 4px}
body.erp-v3 .side-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 3px 28px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
body.erp-v3 .nav-group{border:0;margin:2px 0;background:transparent;border-radius:13px}
body.erp-v3 .nav-group[hidden]{display:none}
body.erp-v3 .nav-group-title{display:flex;align-items:center;gap:9px;min-height:42px;padding:9px 10px;border-radius:11px;cursor:pointer;color:#aebde2;font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;list-style:none;transition:.18s ease}
body.erp-v3 .nav-group-title::-webkit-details-marker{display:none}
body.erp-v3 .nav-group-title:hover,body.erp-v3 .active-group>.nav-group-title{background:rgba(255,255,255,.06);color:#fff}
body.erp-v3 .nav-group-icon{font-size:15px;filter:saturate(.7)}
body.erp-v3 .nav-group-chevron{margin-inline-start:auto;transition:transform .2s ease;color:#7f91bd}
body.erp-v3 details[open]>.nav-group-title .nav-group-chevron{transform:rotate(180deg)}
body.erp-v3 .nav-group-items{display:grid;gap:3px;padding:3px 0 8px}
body.erp-v3 .nav-link{position:relative;display:flex;align-items:center;gap:11px;min-height:42px;margin:0;padding:8px 12px;border-radius:11px;text-decoration:none;color:#c7d2ee;font-size:13px;font-weight:700;border:1px solid transparent;transition:background .18s ease,color .18s ease,transform .18s ease}
body.erp-v3 .nav-link[hidden]{display:none}
body.erp-v3 .nav-link:hover{background:rgba(255,255,255,.075);color:#fff;transform:translateX(2px)}
body.rtl.erp-v3 .nav-link:hover{transform:translateX(-2px)}
body.erp-v3 .nav-link.active{color:#fff;background:linear-gradient(100deg,rgba(77,107,226,.82),rgba(83,111,220,.36));border-color:rgba(255,255,255,.11);box-shadow:0 8px 21px rgba(2,10,31,.18)}
body.erp-v3 .nav-link.active:before{content:"";position:absolute;inset-block:9px;inset-inline-start:-3px;width:3px;border-radius:5px;background:var(--erp-gold);box-shadow:0 0 14px rgba(255,183,27,.5)}
body.erp-v3 .nav-item-icon{display:grid;place-items:center;width:24px;min-width:24px;font-size:16px}

body.erp-v3 .main-panel{min-width:0;min-height:100vh;margin-inline-start:var(--erp-sidebar);padding:0 31px 38px;overflow:visible}
body.erp-v3 .topbar{position:sticky;z-index:55;inset-block-start:0;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:92px;margin:0 -31px 24px;padding:15px 31px;background:rgba(244,247,252,.88);border-bottom:1px solid rgba(218,226,241,.8);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body.erp-v3 .page-title{margin:0;color:var(--erp-navy);font-size:clamp(21px,2.1vw,30px);line-height:1.15;font-weight:900;letter-spacing:-.025em}
body.erp-v3 .page-subtitle{margin-top:6px;color:var(--erp-muted);font-size:12px;font-weight:650}
body.erp-v3 .topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.topbar-system-state{display:grid;grid-template-columns:9px auto;column-gap:8px;align-items:center;padding:8px 12px;border:1px solid #dce5f2;border-radius:12px;background:rgba(255,255,255,.82);box-shadow:0 3px 12px rgba(25,42,83,.04)}
.topbar-system-state i{grid-row:1/3}
.topbar-system-state span{font-size:11px;line-height:1.1;font-weight:900;color:#1d7857}
.topbar-system-state small{font-size:9px;color:#7c879e;line-height:1.1}
body.erp-v3 .lang-switch{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--erp-line);border-radius:11px;background:#fff}
body.erp-v3 .lang-switch>span{display:none}
body.erp-v3 .lang-btn{display:grid;place-items:center;min-width:31px;height:30px;padding:0 8px;border:0;border-radius:8px;text-decoration:none;color:#66738f;font-size:11px;font-weight:900}
body.erp-v3 .lang-btn.active{background:#edf1ff;color:var(--erp-primary)}
body.erp-v3 .user-badge{display:flex;align-items:center;gap:9px;max-width:230px;padding:6px 11px 6px 7px;border:1px solid var(--erp-line);border-radius:13px;background:#fff;box-shadow:0 4px 15px rgba(25,42,83,.045)}
body.rtl.erp-v3 .user-badge{padding:6px 7px 6px 11px}
body.erp-v3 .v29-user-photo,body.erp-v3 .v29-user-initial{width:35px;height:35px;border-radius:10px;object-fit:cover}
body.erp-v3 .v29-user-initial{place-items:center;background:linear-gradient(145deg,var(--erp-primary),#6f88ea);color:#fff;font-weight:900}
body.erp-v3 .v29-user-copy{display:flex;min-width:0;flex-direction:column}
body.erp-v3 .v29-user-copy strong{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--erp-navy)}
body.erp-v3 .v29-user-copy span{font-size:9px;color:#7c879d;margin-top:2px}
body.erp-v3 .btn{min-height:39px;border-radius:11px;font-weight:800;transition:transform .17s ease,box-shadow .17s ease,background .17s ease}
body.erp-v3 .btn:hover{transform:translateY(-1px)}
body.erp-v3 .btn-primary{border-color:var(--erp-primary);background:linear-gradient(135deg,var(--erp-primary),#536fd8);box-shadow:0 8px 18px rgba(66,92,199,.19)}
body.erp-v3 .btn-outline{background:#fff;border-color:var(--erp-line);color:#42506d}

.mobile-menu-button{display:none;position:fixed;z-index:101;inset-block-start:16px;inset-inline-start:16px;width:43px;height:43px;padding:11px;border:1px solid #dce4f1;border-radius:12px;background:#fff;box-shadow:var(--erp-shadow-soft)}
.mobile-menu-button span{display:block;height:2px;margin:4px 0;border-radius:4px;background:var(--erp-navy);transition:.2s ease}
.sidebar-scrim{display:none;position:fixed;z-index:75;inset:0;border:0;background:rgba(7,16,39,.5);backdrop-filter:blur(2px)}

body.erp-v3 .alert{margin:0 0 18px;padding:13px 16px;border:1px solid transparent;border-radius:13px;box-shadow:0 5px 17px rgba(25,42,83,.045)}
body.erp-v3 .alert.success{background:#edfbf5;border-color:#c8f0de;color:#176647}
body.erp-v3 .alert.error,body.erp-v3 .alert.danger{background:#fff2f3;border-color:#ffd7dc;color:#9b2636}
body.erp-v3 .card,body.erp-v3 .panel{border:1px solid rgba(220,228,241,.9);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:var(--erp-shadow-soft)}
body.erp-v3 .card{padding:20px}
body.erp-v3 .card h2,body.erp-v3 .card h3{color:var(--erp-navy)}
body.erp-v3 input:not([type="checkbox"]):not([type="radio"]),body.erp-v3 select,body.erp-v3 textarea{min-height:43px;border:1px solid #d7e0ee;border-radius:11px;background:#fbfcff;color:#1d294b;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
body.erp-v3 input:focus,body.erp-v3 select:focus,body.erp-v3 textarea:focus{outline:0;border-color:#879cea;background:#fff;box-shadow:0 0 0 3px rgba(66,92,199,.11)}
body.erp-v3 label{font-weight:750;color:#41506f}
body.erp-v3 .table-wrap{border:1px solid var(--erp-line);border-radius:14px;background:#fff;scrollbar-color:#b9c5dc transparent}
body.erp-v3 table{border-collapse:separate;border-spacing:0;width:100%}
body.erp-v3 table th{background:#f6f8fc;color:#455373;font-size:11px;font-weight:900;letter-spacing:.02em;white-space:nowrap}
body.erp-v3 table td{border-color:#edf0f6;color:#33405d}
body.erp-v3 table tr:hover td{background:#fafbfe}

/* Dashboard */
.erp-command-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:218px;margin-bottom:16px;padding:32px clamp(23px,4vw,45px);border:0;border-radius:25px;background:
  radial-gradient(circle at 85% 35%,rgba(255,183,27,.23),transparent 15rem),
  linear-gradient(125deg,#172a5c 0%,#273f87 55%,#405cc5 100%);color:#fff;box-shadow:0 21px 48px rgba(27,49,105,.2)}
.erp-command-hero:before{content:"";position:absolute;z-index:-1;width:310px;height:310px;inset-block-start:-185px;inset-inline-end:11%;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 44px rgba(255,255,255,.028),0 0 0 88px rgba(255,255,255,.025)}
.erp-command-hero .eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:9px;color:#ffd56c;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.erp-command-hero h2{max-width:760px;margin:0 0 11px;color:#fff;font-size:clamp(25px,3.2vw,40px);line-height:1.12;letter-spacing:-.035em}
.erp-command-hero p{max-width:720px;margin:0;color:#d7e0fa;line-height:1.65;font-size:13px}
.hero-status{min-width:168px;display:flex;flex-direction:column;align-items:center;padding:20px 18px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(255,255,255,.09);backdrop-filter:blur(9px);text-align:center}
.hero-status strong{font-size:31px;color:#fff}.hero-status span{margin-top:3px;font-size:10px;color:#cfdbf7}.hero-status a{margin-top:11px;color:#ffd66e;font-size:10px;font-weight:900;text-decoration:none}
.quick-launch{display:grid;grid-template-columns:minmax(135px,.8fr) repeat(4,minmax(140px,1fr));gap:8px;align-items:stretch;margin:0 0 18px;padding:8px;border:1px solid var(--erp-line);border-radius:17px;background:rgba(255,255,255,.82);box-shadow:0 6px 19px rgba(25,42,83,.05)}
.quick-launch-label{display:flex;flex-direction:column;justify-content:center;padding:5px 11px}.quick-launch-label span{font-weight:900;color:var(--erp-navy);font-size:12px}.quick-launch-label small{margin-top:3px;color:#8791a7;font-size:9px}
.quick-launch>a{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;min-height:50px;padding:8px 10px;border:1px solid #edf0f6;border-radius:12px;background:#fff;color:#34425f;text-decoration:none;font-size:10px;font-weight:850;transition:.18s ease}
.quick-launch>a:hover{border-color:#cbd6f0;box-shadow:0 6px 16px rgba(42,61,111,.08);transform:translateY(-1px)}
.quick-launch>a i{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef2ff;color:var(--erp-primary);font-style:normal;font-size:15px}.quick-launch>a b{color:#9aa6bc;font-size:13px}
body.rtl .quick-launch>a b{transform:rotate(180deg)}
.stats-grid.live-kpis{gap:13px;margin-bottom:18px}
.stats-grid.live-kpis .stat-card{position:relative;overflow:hidden;min-height:125px;padding:19px;border-radius:18px;border:1px solid var(--erp-line);box-shadow:var(--erp-shadow-soft);transition:.18s ease}
.stats-grid.live-kpis .stat-card:hover{transform:translateY(-3px);box-shadow:var(--erp-shadow)}
.stats-grid.live-kpis .stat-card h3{font-size:11px}.stats-grid.live-kpis .stat-card strong{font-size:30px;letter-spacing:-.04em}.stats-grid.live-kpis .stat-card span{font-size:10px;opacity:.76}
.dashboard-layout{gap:16px}.module-grid.improved{gap:12px}
.module-grid.improved .module-tile{min-height:150px;padding:17px;border:1px solid var(--erp-line);border-radius:17px;background:linear-gradient(155deg,#fff,#fafbfe);box-shadow:none;transition:.2s ease}
.module-grid.improved .module-tile:hover{border-color:#c8d4ef;box-shadow:var(--erp-shadow-soft);transform:translateY(-2px)}
.module-grid.improved .tile-icon{width:43px;height:43px;border-radius:13px;background:#eef2ff;color:var(--erp-primary)}
.module-grid.improved .module-state{border-radius:8px;background:#eefaf5;color:#187050;font-size:8px;font-weight:900}.module-grid.improved .tile-title{margin-top:15px;font-size:14px}.module-grid.improved .tile-text{font-size:10px;line-height:1.5}
.source-card{min-width:285px}.source-row{padding:11px 0;border-color:#eef1f6}.source-row small,.source-row em{font-size:9px}

/* Login */
body.auth-v3{display:grid;place-items:center;min-height:100dvh;margin:0;padding:22px;background:
  radial-gradient(circle at 10% 20%,rgba(66,92,199,.16),transparent 30rem),
  linear-gradient(145deg,#eef3ff,#f8f9fc 58%,#fff9e9);font-family:"Trebuchet MS",Arial,sans-serif;color:#17264d}
.auth-v3-shell{display:grid;grid-template-columns:minmax(380px,1.15fr) minmax(360px,.85fr);width:min(1040px,100%);min-height:630px;overflow:hidden;border:1px solid rgba(217,226,241,.9);border-radius:28px;background:#fff;box-shadow:0 32px 80px rgba(29,48,94,.17)}
.auth-v3-story{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:55px;background:
  radial-gradient(circle at 90% 15%,rgba(255,183,27,.25),transparent 17rem),
  linear-gradient(145deg,#132653,#254083 58%,#4561ca);color:#fff}
.auth-v3-story:after{content:"";position:absolute;z-index:-1;inset:auto -12% -26% auto;width:430px;height:430px;border-radius:50%;background:rgba(255,255,255,.035)}
.auth-v3-orbit{position:absolute;z-index:-1;border:1px solid rgba(255,255,255,.1);border-radius:50%}.orbit-one{width:330px;height:330px;inset-block-start:-215px;inset-inline-end:-60px}.orbit-two{width:220px;height:220px;inset-block-end:-100px;inset-inline-start:-80px}
.auth-v3-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:30px;color:#dfe7ff;font-size:11px;font-weight:900;letter-spacing:.11em}.auth-v3-kicker i{width:9px;height:9px;border-radius:50%;background:#47d59a;box-shadow:0 0 0 5px rgba(71,213,154,.13)}
.auth-v3-story h2{max-width:520px;margin:0 0 18px;color:#fff;font-size:clamp(34px,4.6vw,57px);line-height:1.03;letter-spacing:-.05em}.auth-v3-story p{max-width:520px;margin:0;color:#d3def8;font-size:14px;line-height:1.75}.auth-v3-features{display:flex;flex-wrap:wrap;gap:9px;margin-top:27px}.auth-v3-features span{padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.07);font-size:10px;font-weight:800}.auth-v3-signature{display:flex;justify-content:space-between;gap:14px;padding-top:25px;color:#aebfe8;font-size:10px}.auth-v3-signature b{color:#ffd56b}
body.auth-v3 .auth-v3-card{position:relative;width:auto;max-width:none;margin:0;padding:58px 52px;border:0;border-radius:0;box-shadow:none;background:#fff;display:flex;flex-direction:column;justify-content:center}
body.auth-v3 .auth-lang-switch{position:absolute;inset-block-start:24px;inset-inline-end:26px;display:flex;gap:3px;padding:4px;border:1px solid #e0e6f0;border-radius:11px;background:#f8f9fc}
body.auth-v3 .auth-lang-switch .lang-btn{display:grid;place-items:center;min-width:32px;height:29px;border-radius:8px;color:#71809a;text-decoration:none;font-size:10px;font-weight:900}.auth-v3 .auth-lang-switch .active{background:#fff;color:#425cc7;box-shadow:0 2px 7px rgba(25,42,83,.08)}
body.auth-v3 .login-brand{text-align:start;margin:0 0 27px}.auth-v3 .login-brand .brand-logo{width:58px;height:58px;margin:0 0 18px;border-radius:17px;background:#eef2ff;box-shadow:none}.auth-v3 .login-brand .brand-logo img{width:43px;height:43px}.auth-v3 .login-brand h1{margin:0;color:#15254c;font-size:25px;letter-spacing:-.025em}.auth-v3 .login-brand p{margin:8px 0 0;color:#7c879e;font-size:12px;line-height:1.5}
body.auth-v3 .form-grid{gap:16px}.auth-v3 .form-grid label{display:block;margin-bottom:7px;color:#3c4a68;font-size:11px;font-weight:850}.auth-v3 .form-grid input{width:100%;height:48px;padding:0 13px;border:1px solid #d8e0ec;border-radius:12px;background:#fbfcff;font:inherit;color:#1b294a;transition:.17s ease}.auth-v3 .form-grid input:focus{outline:0;border-color:#879be9;background:#fff;box-shadow:0 0 0 4px rgba(66,92,199,.1)}.auth-v3 .form-grid .btn{height:48px;margin-top:5px;border:0;border-radius:12px;background:linear-gradient(135deg,#3f5bc3,#536fd8);color:#fff;font-weight:900;box-shadow:0 10px 23px rgba(66,92,199,.22)}
.auth-v3-security{margin:22px 0 0;text-align:center;color:#98a2b4;font-size:9px}.auth-v3 .demo-note{margin-top:16px;padding:10px;border-radius:10px;font-size:10px}

@media (max-width:1180px){
  :root{--erp-sidebar:265px}
  body.erp-v3 .main-panel{padding-inline:23px}
  body.erp-v3 .topbar{margin-inline:-23px;padding-inline:23px}
  .quick-launch{grid-template-columns:repeat(4,1fr)}.quick-launch-label{grid-column:1/-1;flex-direction:row;align-items:baseline;gap:8px;padding:4px 6px}
  .topbar-system-state{display:none}
}
@media (max-width:980px){
  body.erp-v3 .sidebar{width:min(88vw,310px);transform:translateX(calc(-100% - 18px));transition:transform .23s ease}
  body.rtl.erp-v3 .sidebar{transform:translateX(calc(100% + 18px))}
  body.erp-v3 .sidebar.open{transform:none}
  body.erp-v3 .main-panel{margin-inline-start:0;padding:0 18px 30px}
  body.erp-v3 .topbar{min-height:76px;margin:0 -18px 18px;padding:11px 18px;padding-inline-start:72px}
  body.rtl.erp-v3 .topbar{padding-inline-start:72px}
  .mobile-menu-button{display:block}.sidebar-open .sidebar-scrim{display:block}
  .source-card{min-width:0}
}
@media (max-width:760px){
  body.erp-v3 .page-subtitle,body.erp-v3 .v29-user-copy,body.erp-v3 .topbar-right>.btn-outline{display:none}
  body.erp-v3 .topbar-right{gap:6px}.user-badge{padding:4px!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .erp-command-hero{min-height:0;align-items:flex-start;flex-direction:column;padding:27px 23px;border-radius:20px}.erp-command-hero h2{font-size:29px}.hero-status{width:100%;min-width:0;align-items:flex-start;padding:13px 15px}.hero-status strong{font-size:22px}.hero-status a{position:absolute;inset-inline-end:16px;margin-top:5px}
  .quick-launch{grid-template-columns:1fr 1fr}.quick-launch-label{grid-column:1/-1}.quick-launch>a{min-width:0}
  .dashboard-layout{grid-template-columns:1fr!important}.module-grid.improved{grid-template-columns:1fr 1fr}
  body.erp-v3 .card{padding:16px;border-radius:17px}
  .auth-v3-shell{grid-template-columns:1fr;min-height:0;width:min(520px,100%)}.auth-v3-story{display:none}body.auth-v3 .auth-v3-card{padding:64px 30px 38px}
}
@media (max-width:520px){
  body.erp-v3 .main-panel{padding-inline:12px}.mobile-menu-button{inset-inline-start:11px;inset-block-start:12px}
  body.erp-v3 .topbar{margin-inline:-12px;padding-inline:12px;padding-inline-start:65px}.page-title{max-width:44vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.erp-v3 .lang-switch{padding:2px}.stats-grid.live-kpis{grid-template-columns:1fr 1fr}.stats-grid.live-kpis .stat-card{min-height:112px;padding:15px}.stats-grid.live-kpis .stat-card strong{font-size:25px}
  .quick-launch{grid-template-columns:1fr}.module-grid.improved{grid-template-columns:1fr}.module-grid.improved .module-tile{min-height:130px}
  .erp-command-hero{padding:24px 19px}.erp-command-hero h2{font-size:26px}
  body.auth-v3{padding:10px}.auth-v3-shell{border-radius:21px}body.auth-v3 .auth-v3-card{padding-inline:22px}.auth-v3 .login-brand h1{font-size:22px}
}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

