@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* WWF enterprise interface. Shared by all full-page admin and vendor views. */
:root {
  color-scheme: dark;
  --erp-bg: #0a0e13;
  --erp-panel: #121920;
  --erp-raised: #19222b;
  --erp-line: #303a45;
  --erp-line-strong: #3c4855;
  --erp-text: #f0f4f7;
  --erp-muted: #a4b0bf;
  --erp-accent: #8fe8c5;
  --erp-shadow-sm: 0 1px 2px #0005, 0 8px 24px #0002;
  --erp-shadow-md: 0 1px 0 #ffffff08 inset, 0 16px 40px #0005;
  --erp-sidebar: 244px;
  --erp-header: 72px;
  --erp-font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}
html:has(body.erp-ui) { background: var(--erp-bg); scroll-padding-top: 100px; }
body.erp-ui { margin: 0; background: radial-gradient(circle at 78% -20%,#18302955,transparent 34%),var(--erp-bg) !important; color: var(--erp-text); font: 14px/1.55 var(--erp-font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.erp-ui *, .erp-ui *::before, .erp-ui *::after { box-sizing: border-box; }
.erp-ui [hidden], .erp-ui .erp-legacy-nav { display: none !important; }
.erp-ui ::selection { background: #8ae3c033; color: #fff; }
.erp-ui :focus-visible { outline: 2px solid var(--erp-accent) !important; outline-offset: 4px; }
.erp-ui ::-webkit-scrollbar { width: 7px; height: 7px; }
.erp-ui ::-webkit-scrollbar-track { background: transparent; }
.erp-ui ::-webkit-scrollbar-thumb { background: #39424e; border: 1px solid var(--erp-bg); border-radius: 9px; }
.erp-ui.erp-shell { padding: var(--erp-header) 0 0 var(--erp-sidebar); min-height: 100dvh; }
.erp-ui.erp-shell > main, .erp-ui.erp-shell .erp-page-content { width: 100%; max-width: 1680px; margin-inline: auto; padding: 32px 36px 48px; min-width: 0; }
.erp-ui.erp-shell > #app.min-h-screen { min-height: calc(100dvh - var(--erp-header)); }
.erp-ui h1 { font-size: clamp(25px, 2.3vw, 34px); font-weight: 650; letter-spacing: -.04em; line-height: 1.2; }
.erp-ui :is(h1,h2,h3)[class*='bg-gradient'], .erp-ui .workspace-heading h1 { background: none !important; -webkit-text-fill-color: var(--erp-text); color: var(--erp-text); }
.erp-ui h2 { letter-spacing: -.025em; }
.erp-ui h3 { letter-spacing: -.015em; }
.erp-ui :is(.text-gray-400,.text-slate-400,.hint,.heading-description) { color: var(--erp-muted); }
.erp-ui .text-gray-500 { color: #8793a3; }
.erp-ui :is(button,input,select,textarea) { font-family: var(--erp-font); }
.erp-ui a { text-underline-offset: 4px; }
.erp-ui :is(button,a,input,select,textarea) { -webkit-tap-highlight-color: transparent; }
.erp-ui :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea) {
  color: var(--erp-text); background-color: #0f161d !important; border: 1px solid #394552 !important; border-radius: 8px;
  font-size: 13px; min-height: 40px; box-shadow: inset 0 1px 2px #0005, 0 1px 0 #ffffff05; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.erp-ui input::placeholder, .erp-ui textarea::placeholder { color: #7d899a; opacity: 1; }
.erp-ui :is(input,select,textarea):focus { background-color: #121b23 !important; border-color: #83d9b7 !important; box-shadow: 0 0 0 3px #8fe8c51a, inset 0 1px 2px #0004; }
.erp-ui input[type=checkbox], .erp-ui input[type=radio] { accent-color: #68c6a2; }
.erp-ui input[type=file] { padding: 6px; }
.erp-ui input[type=file]::file-selector-button { background: #26332f; color: #b6ecd6; border: 1px solid #3a5248; border-radius: 5px; padding: 5px 10px; margin-right: 12px; cursor: pointer; }
.erp-ui label { font-weight: 500; }
.erp-ui button { cursor: pointer; }
.erp-ui button:disabled { cursor: not-allowed; opacity: .45; }
.erp-ui :is(button,a)[class*='rounded'] { transition: background-color .15s, border-color .15s, color .15s; }
.erp-ui :is(button,a):is([class*='from-blue-6'],[class*='from-emerald-6'],[class*='from-amber-6'],[class*='from-purple-6'],[class*='bg-blue-600'],[class*='bg-emerald-600'],[class*='bg-green-600']) {
  background: linear-gradient(180deg,#9aebcb,#82d9b7) !important; color: #10281e !important; border: 1px solid #adefd4 !important; box-shadow: 0 1px 0 #ffffff55 inset, 0 5px 14px #0004 !important; font-weight: 650; border-radius: 8px;
}
.erp-ui :is(button,a):is([class*='from-blue-6'],[class*='from-emerald-6'],[class*='from-amber-6'],[class*='from-purple-6'],[class*='bg-blue-600'],[class*='bg-emerald-600'],[class*='bg-green-600']):hover { background: #adf2d8 !important; }
.erp-ui :is(div,section,article,form):is([class*='bg-gray-900'],[class*='from-gray-900'],[class*='bg-gray-800'],[class*='bg-[#1e1e1e]']) {
  background-color: var(--erp-panel) !important; background-image: linear-gradient(180deg,#ffffff04,transparent 40%) !important; border-color: var(--erp-line) !important; box-shadow: var(--erp-shadow-sm);
}
.erp-ui :is(div,section,article)[class*='rounded-lg'][class*='border'] { border-radius: 12px; }
.erp-ui :is(.overview-card,.project-card) { background: linear-gradient(180deg,#172028,var(--erp-panel)); border-color: var(--erp-line); box-shadow: var(--erp-shadow-sm); }
.erp-ui .project-card { transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.erp-ui .project-card:hover { border-color: #5a806f; box-shadow: 0 14px 32px #0005,0 0 0 1px #8fe8c50b; transform: translateY(-2px); }
.erp-ui .overview-card strong { color: var(--erp-text); }
.erp-ui .overview-card { border-radius: 12px; }
.erp-ui .project-symbol { color: var(--erp-accent); background: #8ae3c00d; border-color: #8ae3c030; }
.erp-ui .workspace-footer { border-color: var(--erp-line); }
.erp-ui :is(.overflow-x-auto,.table-wrap) { scrollbar-gutter: stable; }
.erp-ui table { font-variant-numeric: tabular-nums; font-size: 12px; }
.erp-ui table thead, .erp-ui table thead th { background: #1a232c !important; color: #bec9d5 !important; }
.erp-ui table th { font-size: 10px; font-weight: 650; letter-spacing: .055em; border-color: #38434f; vertical-align: middle; }
.erp-ui table :is(td,th) { border-color: #282f38; }
.erp-ui table td { padding-top: 13px; padding-bottom: 13px; }
.erp-ui table tbody tr { transition: background-color .12s; }
.erp-ui table tbody tr:nth-child(even) { background-color: #ffffff02; }
.erp-ui table tbody tr:hover { background-color: #8fe8c50b; }
.erp-ui table :is(.number,.text-right,.currency) { font-variant-numeric: tabular-nums; letter-spacing: -.015em; }
.erp-ui :is(.bg-gray-800,.bg-gray-900).shadow { box-shadow: var(--erp-shadow-sm); }
.erp-ui :is(.border-gray-700,.border-gray-800) { border-color: var(--erp-line); }
.erp-ui .erp-icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.erp-ui .erp-skip { position: fixed; top: -80px; left: 280px; z-index: 100; padding: 12px; background: var(--erp-accent); color: #10281e; border-radius: 8px; }
.erp-ui .erp-skip:focus { top: 8px; }
.erp-ui .erp-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--erp-sidebar); background: linear-gradient(180deg,#111820,#0e141b); border-right: 1px solid var(--erp-line); box-shadow: 12px 0 36px #0002; z-index: 40; display: flex; flex-direction: column; padding: 25px 16px 16px; }
.erp-ui .erp-brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 27px; color: #f3f5f7; text-decoration: none; }
.erp-ui .erp-brand-logo { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; padding: 3px; border: 1px solid #dfe4e1; border-radius: 8px; background: #fff; }
.erp-ui .erp-brand strong { display: block; font-size: 14px; font-weight: 650; letter-spacing: -.03em; line-height: 1.4; }
.erp-ui .erp-brand small { color: #8c9aab; font-size: 8px; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
.erp-ui .erp-workspace-tag { display: flex; gap: 9px; align-items: center; padding: 10px 12px; background: #1a2129; border: 1px solid var(--erp-line); border-radius: 8px; color: #c5cfdb; font-size: 11px; margin-bottom: 22px; }
.erp-ui .erp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--erp-accent); box-shadow: 0 0 0 3px #8ae3c00c; flex: 0 0 auto; }
.erp-ui .erp-navigation { flex: 1; overflow: auto; margin-inline: -4px; padding-inline: 4px; }
.erp-ui .erp-nav-group { margin: 0 0 22px; }
.erp-ui .erp-nav-label { margin: 0 12px 9px; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7f8c9f; }
.erp-ui .erp-nav-link { display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 9px 12px; border: 1px solid transparent; border-radius: 7px; margin: 3px 0; color: #a4b0bf; font-size: 12px; text-decoration: none; }
.erp-ui .erp-nav-link:hover { color: #edf5f2; background: #1c242b; }
.erp-ui .erp-nav-link[aria-current=page] { color: #a8ebcf; background: linear-gradient(90deg,#8ae3c014,#8ae3c008); border-color: #8ae3c024; }
.erp-ui .erp-nav-link[aria-current=page]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--erp-accent); margin-left: auto; }
.erp-ui .erp-account { padding-top: 16px; border-top: 1px solid var(--erp-line); display: flex; gap: 10px; align-items: center; }
.erp-ui .erp-avatar { display: grid; place-items: center; background: #293a36; color: #a7e0c9; border: 1px solid #496157; border-radius: 50%; width: 34px; height: 34px; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.erp-ui .erp-account-copy { flex: 1; min-width: 0; line-height: 1.5; }
.erp-ui .erp-account-copy strong { display: block; font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erp-ui .erp-account-copy small { display: block; color: #8b98a9; font-size: 10px; }
.erp-ui .erp-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-height: 34px; padding: 7px; border: 1px solid var(--erp-line); border-radius: 8px; background: #1a2028; color: #aab8c8; text-decoration: none; }
.erp-ui .erp-icon-button:hover { background: #27312e; color: #b5efda; border-color: #506c60; }
.erp-ui .erp-topbar { position: fixed; inset: 0 0 auto var(--erp-sidebar); z-index: 30; height: var(--erp-header); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 36px; background: #0b1016e8; border-bottom: 1px solid var(--erp-line); box-shadow: 0 8px 26px #0003; backdrop-filter: blur(18px) saturate(125%); }
.erp-ui .erp-breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 11px; color: #7d8a9c; }
.erp-ui .erp-breadcrumb a { color: #9da9b8; text-decoration: none; }
.erp-ui .erp-breadcrumb span:last-child { color: #d1d9e3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erp-ui .erp-top-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.erp-ui .erp-search-trigger { display: flex; align-items: center; gap: 10px; width: 230px; padding: 8px 10px; border: 1px solid #2b333e; border-radius: 7px; color: #94a1b3; background: #151b22; font-size: 11px; }
.erp-ui .erp-search-trigger kbd { margin-left: auto; padding: 1px 4px; color: #788597; font-size: 9px; border: 1px solid #35404c; border-radius: 4px; }
.erp-ui .erp-top-date { font-size: 10px; color: #8a97a8; white-space: nowrap; }
.erp-ui .erp-mobile-toggle { display: none; }
.erp-ui .erp-sidebar-toggle { position: fixed; left: calc(var(--erp-sidebar) - 13px); top: 88px; z-index: 41; display: grid; place-items: center; width: 27px; height: 44px; padding: 3px; border: 1px solid #40594e; border-radius: 8px; background: #1b2924; color: #b5e8cf; box-shadow: 0 4px 16px #0004; }
.erp-ui .erp-sidebar-toggle:hover { background: #2b4438; border-color: #8ac8aa; }
@media (min-width: 801px) {
  .erp-ui .erp-sidebar { transition: transform .18s; }
  .erp-ui.erp-sidebar-collapsed { padding-left: 0; }
  .erp-ui.erp-sidebar-collapsed > main,.erp-ui.erp-sidebar-collapsed .erp-page-content { max-width: none; }
  .erp-ui.erp-sidebar-collapsed .erp-sidebar { transform: translateX(-100%); }
  .erp-ui.erp-sidebar-collapsed .erp-topbar { left: 0; }
  .erp-ui.erp-sidebar-collapsed .erp-sidebar-toggle { left: 0; border-left: 0; border-radius: 0 8px 8px 0; }
  .erp-ui.erp-sidebar-collapsed .erp-sidebar-toggle svg { transform: rotate(180deg); }
  .erp-ui.erp-sidebar-collapsed .erp-skip { left: 16px; }
}
.erp-ui .erp-mobile-backdrop { position: fixed; inset: 0; z-index: 39; border: 0; background: #0009; }
.erp-ui .erp-command { width: min(580px,calc(100vw - 32px)); padding: 0; color: var(--erp-text); background: #151c24; border: 1px solid #394652; border-radius: 14px; box-shadow: 0 24px 100px #0009; margin: 14vh auto auto; }
.erp-ui .erp-command::backdrop { background: #05090dba; backdrop-filter: blur(5px); }
.erp-ui .erp-command-search { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid #303945; }
.erp-ui .erp-command-search input { flex: 1; min-width: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.erp-ui .erp-command-results { max-height: 48vh; overflow-y: auto; padding: 10px; }
.erp-ui .erp-command-results a { display: flex; align-items: center; gap: 12px; padding: 12px; color: #dae3eb; border-radius: 7px; text-decoration: none; }
.erp-ui .erp-command-results a:hover, .erp-ui .erp-command-results a:focus { background: #223b32; }
.erp-ui .erp-command-results small { margin-left: auto; font-size: 10px; color: #8d9bab; }
.erp-ui .erp-command-footer { padding: 12px 20px; font-size: 10px; color: #94a0af; border-top: 1px solid #303945; }
.erp-ui .erp-command-empty { padding: 25px; text-align: center; color: #aab8c8; }
.erp-ui .erp-page-kicker { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #94bcae; margin: 0 0 12px; font-weight: 500; }
.erp-ui .erp-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 9px 16px; background: linear-gradient(180deg,#9aebcb,#82d9b7); color: #10281e; border: 1px solid #adefd4; border-radius: 8px; box-shadow: 0 1px 0 #ffffff55 inset,0 5px 14px #0004; font-size: 12px; font-weight: 650; text-decoration: none; transition: transform .15s ease,background-color .15s,border-color .15s,box-shadow .15s; }
.erp-ui .erp-button:hover { background: linear-gradient(180deg,#b4f2d9,#92e2c1); box-shadow: 0 1px 0 #ffffff66 inset,0 7px 18px #0005; transform: translateY(-1px); }
.erp-ui .erp-button:active { box-shadow: 0 1px 2px #0004; transform: translateY(0); }
.erp-ui .erp-button-secondary { background: linear-gradient(180deg,#202c34,#182229); color: #d0ddd8; border-color: #3d4d47; box-shadow: 0 1px 0 #ffffff08 inset,0 4px 12px #0003; }
.erp-ui .erp-button-secondary:hover { background: linear-gradient(180deg,#2b3d35,#21312b); border-color: #547365; }
.erp-ui .erp-dashboard-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 28px; }
.erp-ui .erp-dashboard-heading h1 { margin: 0 0 10px; }
.erp-ui .erp-dashboard-heading p:not(.erp-page-kicker) { margin: 0; color: #96a4b6; font-size: 13px; }
.erp-ui .erp-dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.erp-ui .erp-hero-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); gap: 20px; margin-bottom: 30px; }
.erp-ui .erp-hero { padding: 30px; border: 1px solid #355347; border-radius: 14px; background: radial-gradient(ellipse at 100% 100%,#284e3c50,transparent 65%),linear-gradient(125deg,#182821,#151d21 70%); position: relative; overflow: hidden; }
.erp-ui .erp-hero h2 { max-width: 400px; font-size: clamp(26px,2.6vw,38px); line-height: 1.17; font-weight: 500; margin: 18px 0 16px; letter-spacing: -.045em; }
.erp-ui .erp-hero h2 span { color: #9ce3c4; }
.erp-ui .erp-hero p { max-width: 380px; color: #a0b5ac; font-size: 12px; line-height: 1.8; margin-bottom: 26px; }
.erp-ui .erp-hero-art { position: absolute; right: -24px; bottom: 0; width: 230px; height: 180px; opacity: .28; pointer-events: none; }
/* Compact production map keeps the original dashboard hero footprint. */
.erp-ui .erp-production-layout { grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); align-items: stretch; }
.erp-ui .erp-production-hero { height: 308px; padding: 22px 24px 16px; display: flex; flex-direction: column; min-width: 0; border: 1px solid #355347; border-radius: 14px; background: radial-gradient(ellipse at 95% 0,#315e4933,transparent 60%),linear-gradient(140deg,#17221e,#121a20 75%); }
.erp-ui .erp-production-heading { display: flex; justify-content: space-between; gap: 12px; }
.erp-ui .erp-production-heading .erp-page-kicker { margin: 0 0 5px; font-size: 9px; }
.erp-ui .erp-production-heading h2 { font-size: 23px; line-height: 1.25; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.erp-ui .erp-production-heading h2 span { color: #a4e8c9; }
.erp-ui .erp-production-label { display: none; }
.erp-ui .erp-production-description,.erp-ui .erp-stage-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.erp-ui .erp-production-map { flex: 1; min-height: 0; list-style: none; padding: 0; margin: 13px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 17px 20px; }
.erp-ui .erp-production-stage { position: relative; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 10px; background: #1b2924; border: 1px solid #3c5449; border-radius: 8px; outline-offset: 3px; }
.erp-ui .erp-production-stage:nth-child(4) { grid-column: 3; grid-row: 2; }
.erp-ui .erp-production-stage:nth-child(5) { grid-column: 2; grid-row: 2; }
.erp-ui .erp-production-stage:nth-child(6) { grid-column: 1; grid-row: 2; }
.erp-ui .erp-production-stage:not(:last-child)::after { content: '→'; position: absolute; top: 50%; left: 100%; width: 22px; text-align: center; color: #79ae94; font-size: 15px; transform: translateY(-50%); }
.erp-ui .erp-production-stage:nth-child(3)::after { content: '↓'; left: 50%; top: 100%; height: 17px; line-height: 17px; transform: translateX(-50%); }
.erp-ui .erp-production-stage:nth-child(4)::after,.erp-ui .erp-production-stage:nth-child(5)::after { content: '←'; left: auto; right: 100%; }
.erp-ui .erp-stage-top { display: flex; flex: 0 0 auto; align-items: center; }
.erp-ui .erp-stage-icon { display: grid; place-items: center; width: 26px; height: 26px; color: #b5ebd0; }
.erp-ui .erp-stage-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.erp-ui .erp-stage-number { position: absolute; right: 6px; top: 4px; color: #799c88; font-size: 8px; }
.erp-ui .erp-production-stage h3 { font-size: 11px; font-weight: 550; color: #e0eae5; margin: 0; line-height: 1.4; }
.erp-ui .erp-production-stage p { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: 240px; max-width: 70vw; padding: 12px; border: 1px solid #52745f; border-radius: 8px; background: #14221b; box-shadow: 0 12px 30px #0007; color: #c4d9cd; font-size: 12px; line-height: 1.7; margin: 0; visibility: hidden; pointer-events: none; }
.erp-ui .erp-production-stage:nth-child(3) p,.erp-ui .erp-production-stage:nth-child(4) p { left: auto; right: 0; }
.erp-ui .erp-production-stage:hover p,.erp-ui .erp-production-stage:focus p { visibility: visible; }
.erp-ui .erp-production-foundation { display: flex; gap: 8px; align-items: center; border-top: 1px solid #344a40; padding-top: 8px; }
.erp-ui .erp-production-foundation-icon { color: #9acbb2; display: flex; }
.erp-ui .erp-production-foundation strong { font-size: 10px; font-weight: 500; color: #bed9cb; }
.erp-ui .erp-production-foundation p { display: none; }
.erp-ui .erp-production-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.erp-ui .erp-production-footer > span { color: #91a397; font-size: 9px; }
.erp-ui .erp-production-footer a { display: inline-flex; align-items: center; gap: 6px; color: #a9dfc3; font-size: 10px; text-decoration: none; }
.erp-ui .erp-production-footer a:hover { text-decoration: underline; }
.erp-ui .erp-production-footer .erp-icon { width: 13px; height: 13px; }
.erp-ui .erp-flow-card { border: 1px solid var(--erp-line); background: var(--erp-panel); border-radius: 14px; padding: 24px; }
.erp-ui .erp-card-caption { display: flex; align-items: center; justify-content: space-between; color: #d8e1e8; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.erp-ui .erp-card-caption small { color: #8493a6; font-size: 10px; font-weight: 400; }
.erp-ui .erp-workflow { display: flex; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--erp-line); text-decoration: none; }
.erp-ui .erp-workflow:last-child { border-bottom: 0; padding-bottom: 0; }
.erp-ui .erp-workflow > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #34463e; color: #8ac2a8; border-radius: 8px; font-size: 10px; }
.erp-ui .erp-workflow strong { display: block; font-size: 12px; font-weight: 500; color: #d4dfe8; }
.erp-ui .erp-workflow small { display: block; font-size: 10px; color: #8e9cae; margin-top: 3px; }
.erp-ui .erp-workflow .erp-icon { margin-left: auto; color: #738a82; }
.erp-ui .erp-workflow:hover strong { color: #a3e9ca; }
.erp-ui .erp-section-title { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 16px; gap: 18px; }
.erp-ui .erp-section-title h2 { font-size: 17px; font-weight: 600; margin: 0; }
.erp-ui .erp-section-title p { font-size: 11px; color: #8c9aab; margin: 5px 0 0; }
.erp-ui .erp-modules { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.erp-ui .erp-module { padding: 23px; border: 1px solid var(--erp-line); border-radius: 12px; background: linear-gradient(180deg,#172028,var(--erp-panel)); box-shadow: var(--erp-shadow-sm); color: var(--erp-text); text-decoration: none; transition: border-color .18s,background .18s,box-shadow .18s,transform .18s; min-width: 0; }
.erp-ui .erp-module:hover { border-color: #527765; background: linear-gradient(180deg,#1c2924,#151e22); box-shadow: 0 14px 32px #0005,0 0 0 1px #8fe8c50a; transform: translateY(-2px); }
.erp-ui .erp-module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.erp-ui .erp-module-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid #35443e; background: #8ae3c008; color: #9dd4bc; }
.erp-ui .erp-module-top > span:last-child { color: #84958b; font-size: 10px; }
.erp-ui .erp-module h3 { font-size: 14px; font-weight: 550; margin: 0 0 7px; }
.erp-ui .erp-module p { color: #8f9eaf; font-size: 11px; line-height: 1.7; margin: 0; }
.erp-ui .erp-module-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--erp-line); color: #9eb2a8; font-size: 10px; }
.erp-ui .erp-bottom-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--erp-line); }
.erp-ui .erp-bottom-links a { padding: 6px 12px; font-size: 11px; border-radius: 6px; border: 1px solid var(--erp-line); text-decoration: none; color: #a2afbf; }
.erp-ui .erp-footer { display: flex; justify-content: space-between; color: #7c8b9d; font-size: 10px; margin-top: 32px; }
/* Tax reconciliation uses native CSS rather than Tailwind. */
.erp-ui[data-erp-page='tax-reconciliation'] #app > section { background: var(--erp-panel); border-color: var(--erp-line); border-radius: 12px; padding: 24px; }
.erp-ui[data-erp-page='tax-reconciliation'] .workspace-tabs { top: var(--erp-header); background: var(--erp-bg); border-color: var(--erp-line); }
.erp-ui[data-erp-page='tax-reconciliation'] :is(.workspace-tabs,.quarter-tabs) button[aria-selected=true] { color: #a6ebcd; border-color: #476958; background: #1d3228; }
.erp-ui[data-erp-page='tax-reconciliation'] #app button { background: #21382e; border-color: #456454; border-radius: 7px; font-size: 12px; }
.erp-ui[data-erp-page='tax-reconciliation'] #app button.secondary { background: #1b232c; border-color: #35404d; }
.erp-ui[data-erp-page='tax-reconciliation'] #app :is(.workspace-tabs,.quarter-tabs) button { background: #151d24; border-color: #303c48; color: #9dabbc; }
.erp-ui[data-erp-page='tax-reconciliation'] #app :is(.workspace-tabs,.quarter-tabs) button[aria-selected=true] { background: #233e31; border-color: #6ca68a; color: #c0f2da; }
.erp-ui[data-erp-page='tax-reconciliation'] .hint { font-size: 11px; }
.erp-ui[data-erp-page='tax-reconciliation'] :is(.message,.warning-list) { color: #e9c68b; }
.erp-ui[data-erp-page='tax-reconciliation'] #app .column-sort { background: transparent; border: 0; }
.erp-ui[data-erp-page='tax-reconciliation'] #reconciliationPanel > .hint:first-of-type { max-width: 960px; }
/* Specialist production tools keep their own layouts and theme switch. */
html:not([data-theme=light]) .erp-ui.erp-specialist:not(.theme-light):not([data-theme=light]) { --bg: #0d1015; --bg-2: #14191f; --bg-3: #1a2028; --bg-4: #242d35; --paper: #e5ece9; --paper-dim: #afbab6; --paper-mute: #8c9d95; --line: #2a3530; --line-2: #3a4941; --line-3: #485a51; --amber: #8ae3c0; --amber-2: #62ae8e; --amber-warm: #375d4b; --amber-soft: #b0e8ce; }
.erp-ui.erp-specialist > .topnav { position: relative; top: auto; padding: 16px 28px; height: auto; z-index: 10; }
.erp-ui.erp-specialist .brand-text h1 { font-family: var(--erp-font); font-size: 20px; }
.erp-ui.erp-specialist .brand-text h1 em { font-style: normal; }
/* Entry and onboarding pages share the same typography and brand. */
.erp-ui .erp-topbar { backdrop-filter: blur(18px) saturate(125%); }
.erp-ui.erp-specialist > .topnav { flex-shrink: 0; flex-wrap: wrap; gap: 12px; }
.erp-ui.erp-specialist .nav-right { flex-wrap: wrap; }
.erp-ui.erp-specialist .wrap > .topnav { border-radius: 12px; border: 1px solid var(--erp-line); padding: 16px 24px; }
.erp-ui.erp-specialist .brand img { width: 38px !important; height: 38px !important; object-fit: contain; }
.erp-ui.erp-specialist.theme-light, html[data-theme=light] .erp-ui.erp-specialist { background: var(--bg) !important; color: var(--paper); }
.erp-ui .erp-top-actions #notifControls { margin: 0 !important; gap: 10px !important; }
.erp-ui .erp-top-actions #notifBtn { background: #1a2028 !important; border: 1px solid var(--erp-line) !important; padding: 7px !important; color: #aab8c8 !important; }
.erp-ui .erp-top-actions #notifControls > a { font-size: 11px; }
.erp-ui .erp-top-actions #notifPanel { background: var(--erp-panel) !important; border-color: #3b4a43 !important; }
.erp-ui[data-erp-page='financials'] article dd { font-size: 23px; letter-spacing: -.045em; font-weight: 550; font-variant-numeric: tabular-nums; color: var(--erp-text); }
.erp-ui[data-erp-page='financials'] article { min-width: 0; }
.erp-ui[data-erp-page='financials'] #tdsTotalAmount { color: var(--erp-accent); }
.erp-ui[data-erp-page='financials'] article dt { font-size: 9px; letter-spacing: .1em; font-weight: 500; }
.erp-ui[data-erp-page='financials'] article > .grid > div { padding: 20px; border-radius: 9px; }
.erp-ui.erp-public a.text-red-500 { color: var(--erp-accent); }
.erp-ui.erp-public { background: radial-gradient(ellipse at 10% 20%,#17362a80,transparent 55%),var(--erp-bg) !important; min-height: 100dvh; }
.erp-ui.erp-public > nav { background: #10171be8; border-color: var(--erp-line); }
.erp-ui.erp-public > nav .erp-brand { padding: 0; }
.erp-ui.erp-public main > div { background: #141b21 !important; border: 1px solid #344039; box-shadow: 0 24px 90px #0005 !important; }
.erp-ui.erp-public h2 { color: #e5eee9; font-weight: 500; letter-spacing: -.04em; }
.erp-ui.erp-public form button[type=submit] { background: #8ae3c0 !important; color: #11291f !important; font-weight: 600; border-radius: 8px; min-height: 42px; }
.erp-ui .erp-entry { width: min(1100px,100%); margin: auto; padding: 70px 32px; }
.erp-ui .erp-entry-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 100px; }
.erp-ui .erp-entry-nav .erp-brand { padding: 0; }
.erp-ui .erp-entry-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; }
.erp-ui .erp-entry h1 { font-size: clamp(38px,5vw,64px); letter-spacing: -.055em; line-height: 1.08; margin: 16px 0 25px; }
.erp-ui .erp-entry h1 span { color: #9fe4c6; }
.erp-ui .erp-entry-intro { max-width: 450px; font-size: 15px; color: #98ac9f; line-height: 1.8; }
.erp-ui .erp-entry-card { border: 1px solid #37473e; padding: 32px; border-radius: 16px; background: linear-gradient(135deg,#1b2923,#131b20); }
.erp-ui .erp-entry-card h2 { font-size: 22px; margin: 0 0 12px; }
.erp-ui .erp-entry-card p { color: #9cafa3; font-size: 13px; margin-bottom: 30px; }
.erp-ui .erp-entry-card a { width: 100%; margin-bottom: 12px; }
.erp-ui .erp-entry footer { color: #7f9587; border-top: 1px solid #2b3b32; margin-top: 100px; padding-top: 20px; font-size: 11px; }
@media (max-width: 1200px) { :root { --erp-sidebar: 216px; } .erp-ui .erp-topbar { padding-inline: 24px; } .erp-ui.erp-shell > main,.erp-ui.erp-shell .erp-page-content { padding-inline: 24px; } .erp-ui .erp-top-date { display: none; } .erp-ui .erp-hero-art { width: 160px; } .erp-ui .erp-hero h2 { max-width: 300px; } }
@media (max-width: 1000px) { .erp-ui .erp-hero-grid { grid-template-columns: 1fr; } .erp-ui .erp-flow-card { display: none; } .erp-ui .erp-modules { grid-template-columns: repeat(2,minmax(0,1fr)); } .erp-ui .erp-dashboard-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 1100px) { .erp-ui .erp-production-layout { grid-template-columns: 1fr; } .erp-ui .erp-production-layout .erp-flow-card { display: none; } }
@media (max-width: 640px) {
  .erp-ui .erp-production-hero { padding: 18px 16px 14px; height: 320px; }
  .erp-ui .erp-production-heading h2 { font-size: 21px; }
  .erp-ui .erp-production-map { gap: 16px 12px; }
  .erp-ui .erp-production-stage { flex-direction: column; justify-content: center; gap: 4px; padding: 7px 4px; text-align: center; }
  .erp-ui .erp-production-stage h3 { font-size: 10px; }
  .erp-ui .erp-production-stage:not(:last-child)::after { width: 14px; }
  .erp-ui .erp-production-stage:nth-child(3)::after { height: 16px; line-height: 16px; }
  .erp-ui .erp-production-footer > span { font-size: 8px; }
}
@media (max-width: 800px) {
  .erp-ui.erp-shell { padding-left: 0; } .erp-ui .erp-topbar { left: 0; padding: 0 18px; gap: 12px; }
  .erp-ui .erp-sidebar { transform: translateX(-100%); transition: transform .18s; width: 264px; }
  .erp-ui.erp-nav-open .erp-sidebar { transform: translateX(0); }
  .erp-ui.erp-nav-open { overflow: hidden; }
  .erp-ui .erp-mobile-toggle { display: inline-flex; flex-shrink: 0; }
  .erp-ui .erp-sidebar-toggle { display: none; }
  .erp-ui .erp-breadcrumb { flex: 1; } .erp-ui .erp-breadcrumb > a,.erp-ui .erp-breadcrumb > span:first-of-type { display: none; }
  .erp-ui .erp-search-trigger { width: 36px; height: 36px; justify-content: center; padding: 7px; } .erp-ui .erp-search-trigger :is(span,kbd) { display: none; }
  .erp-ui .erp-top-actions { gap: 8px; }
  .erp-ui .erp-top-actions #notifControls > a { font-size: 0; gap: 0 !important; }
  .erp-ui .erp-top-actions #notifControls > a::before { content: '↗'; font-size: 16px; padding: 4px; }
  .erp-ui.erp-shell > main,.erp-ui.erp-shell .erp-page-content { padding: 24px 18px 40px; }
  .erp-ui .erp-skip { left: 15px; }
  .erp-ui .erp-entry-layout { grid-template-columns: 1fr; gap: 30px; } .erp-ui .erp-entry-nav { margin-bottom: 55px; } .erp-ui .erp-entry footer { margin-top: 50px; }
}
@media (max-width: 520px) { .erp-ui .erp-modules { grid-template-columns: 1fr; } .erp-ui .erp-hero { padding: 24px; } .erp-ui .erp-hero h2 { max-width: 250px; } .erp-ui .erp-hero-art { opacity: .12; } .erp-ui .erp-footer { gap: 15px; flex-wrap: wrap; } .erp-ui[data-erp-page='tax-reconciliation'] #app > section { padding: 16px; } .erp-ui .erp-entry { padding: 32px 20px; } }
@media (prefers-reduced-motion: reduce) { .erp-ui *, .erp-ui *::before, .erp-ui *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
/* Shared workspace components, including controller-rendered content. */
.erp-ui.erp-workspace-page { font-size: 14px; }
.erp-ui.erp-workspace-page :is(h1,h2,h3,h4,table,label,input,select,textarea,button) { font-family: var(--erp-font) !important; }
.erp-ui .erp-page-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.erp-ui .erp-page-header h1 { color: #f3f7f5; font-weight: 650; font-size: 30px; margin: 0 0 8px; letter-spacing: -.035em; text-shadow: 0 1px 16px #0005; }
.erp-ui .erp-page-header p:not(.erp-page-kicker) { font-size: 13px; color: #9aabbb; margin: 0; line-height: 1.7; }
.erp-ui .erp-page-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.erp-ui .erp-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 16px; }
.erp-ui .erp-section-heading h2,.erp-ui .erp-panel-heading { font-size: 16px; font-weight: 550; color: #e0e8e4; margin: 0 0 8px; letter-spacing: -.02em; }
.erp-ui .erp-section-heading p { color: #92a1b3; font-size: 12px; margin: 0; }
.erp-ui.erp-workspace-page :is(.erp-filter-bar,main > .overflow-x-auto,.erp-page-content > .overflow-x-auto,.erp-table-frame) { background: linear-gradient(180deg,#ffffff03,transparent 160px),var(--erp-panel); border: 1px solid var(--erp-line); border-radius: 12px; box-shadow: var(--erp-shadow-sm); }
.erp-ui .erp-filter-bar { padding: 18px; }
.erp-ui .erp-report-actions button { min-height: 40px; padding: 10px 14px; border-radius: 8px; font-size: 12px; }
.erp-ui .erp-report-actions button[id^=download] { background: linear-gradient(180deg,#202b34,#182129) !important; color: #d1ddd8 !important; border: 1px solid #425149 !important; box-shadow: 0 1px 0 #ffffff08 inset,0 4px 12px #0003 !important; }
.erp-ui.erp-workspace-page table { font-size: 13px; line-height: 1.6; }
.erp-ui.erp-workspace-page table th { font-size: 11px; text-transform: none; letter-spacing: .015em; font-weight: 500; padding-block: 16px; white-space: nowrap; }
.erp-ui.erp-workspace-page table td { padding-block: 17px; }
.erp-ui.erp-workspace-page #vendorInvoiceTable { min-width: 1440px; background: var(--erp-panel); font-size: 13px; line-height: 1.6; }
.erp-ui.erp-workspace-page #vendorInvoiceTable th { padding: 15px 16px; font-size: 11px; background: #1b242c; }
.erp-ui.erp-workspace-page #vendorInvoiceTable td { padding: 17px 16px; }
.erp-ui.erp-workspace-page #vendorInvoiceTable td:nth-child(3) { min-width: 160px; overflow-wrap: normal; }
.erp-ui.erp-workspace-page #vendorInvoiceTable tbody tr { border-bottom: 1px solid var(--erp-line); }
.erp-ui.erp-workspace-page #vendorInvoiceTable tbody tr:hover { background: #1c2826; }
.erp-ui.erp-workspace-page #projectSummarySection :is(h3,h4) { color: #d6e4dc; text-transform: none; font-size: 15px; }
.erp-ui.erp-workspace-page #pendingSummary > :is(div,a) { padding: 20px; border: 1px solid var(--erp-line); background: var(--erp-panel); border-radius: 12px; }
.erp-ui #bankBalanceSummary { background: var(--erp-panel); border-color: var(--erp-line); border-radius: 12px; }
.erp-ui #projectBankBalance { font-size: 25px; font-weight: 500; }
.erp-ui.erp-workspace-page #backLink,.erp-ui[data-erp-page=project-approvals] main > a:first-child { font-size: 12px; color: #9db6aa; }
.erp-ui.erp-workspace-page table td :is(button,a)[class*='rounded'] { border-radius: 6px; font-size: 11px; font-weight: 500; padding: 6px 9px; }
.erp-ui #projectsTable td a { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid #384940; background: #1a2822; border-radius: 6px; font-size: 11px; color: #b3d7c5; text-decoration: none; }
.erp-ui #projectsTable td a:hover { background: #2a4035; border-color: #5c806c; }
.erp-ui.erp-workspace-page :is(label,dt) { font-size: 12px; letter-spacing: .01em; text-transform: none; font-weight: 500; color: #a9b6c5; }
.erp-ui.erp-workspace-page :is(h2,h3)[class*='text-red-'],.erp-ui.erp-workspace-page h2[class*='text-blue-'] { color: #e3eae7; font-size: 18px; font-weight: 550; }
.erp-ui.erp-workspace-page :is(.erp-page-header button,.erp-page-header a,button[type=submit]) { min-height: 40px; padding: 10px 16px; border-radius: 8px; font-size: 12px; line-height: 1.4; font-weight: 650; background: linear-gradient(180deg,#9aebcb,#82d9b7) !important; color: #142d22 !important; border: 1px solid #adefd4 !important; box-shadow: 0 1px 0 #ffffff55 inset,0 5px 14px #0004 !important; transition: transform .15s ease,filter .15s ease,box-shadow .15s ease; }
.erp-ui.erp-workspace-page :is(.erp-page-header button,.erp-page-header a,button[type=submit]):hover { filter: brightness(1.06); box-shadow: 0 1px 0 #ffffff66 inset,0 7px 18px #0005 !important; transform: translateY(-1px); }
.erp-ui.erp-workspace-page :is(#downloadCsvBtn,#downloadPdfBtn,#btnExportCsv,#btnMyTasks,#generateServiceBillBtn,#taxReconciliationLink,.erp-page-header a.erp-button-secondary) { background: linear-gradient(180deg,#202b34,#182129) !important; color: #d1ddd8 !important; border: 1px solid #425149 !important; box-shadow: 0 1px 0 #ffffff08 inset,0 4px 12px #0003 !important; }
.erp-ui.erp-workspace-page #btnNewTask { background: #91dfbf !important; color: #142d22 !important; border-color: #a4e7ca !important; }
.erp-ui .erp-metric-grid { gap: 12px; }
.erp-ui .erp-metric-grid > div,.erp-ui .erp-advance-metric { background: linear-gradient(145deg,#182129,var(--erp-panel)) !important; border: 1px solid var(--erp-line) !important; border-radius: 12px; box-shadow: var(--erp-shadow-sm); padding: 20px; min-width: 0; }
.erp-ui .erp-metric-grid :is(h3,h4) { color: #9daebd; font-size: 12px; font-weight: 450; margin: 0 0 12px; line-height: 1.5; }
.erp-ui .erp-metric-grid p,.erp-ui .erp-advance-metric > p { font-size: clamp(20px,2vw,27px); font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.erp-ui #invoiceSummary { grid-template-columns: repeat(4,minmax(0,1fr)); }
.erp-ui #invoiceSummary > div { min-height: 112px; }
.erp-ui .erp-review-card { display: block; border: 1px solid #303c43; background: #151d23; padding: 24px; border-radius: 12px; color: #e5ece8; text-decoration: none; transition: border-color .15s,background .15s; }
.erp-ui .erp-review-card:hover { background: #192720; border-color: #5b806b; }
.erp-ui .erp-review-eyebrow { display: flex; justify-content: space-between; color: #83ab97; font-size: 10px; margin-bottom: 22px; letter-spacing: .06em; }
.erp-ui .erp-review-card h3 { font-size: 17px; font-weight: 550; }
.erp-ui .erp-review-card > p { font-size: 12px; }
.erp-ui .erp-review-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; padding-top: 18px; }
.erp-ui .erp-review-counts > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 !important; }
.erp-ui .erp-review-counts > div > span:first-child { font-size: 11px; color: #96a7b3; }
.erp-ui .erp-review-counts > div > span:last-child { background: none !important; color: #caeadb; font-size: 23px; font-weight: 500; padding: 0; }
.erp-ui #unsettledAdvancesTile { border-color: #46594e; background: linear-gradient(100deg,#1d2b24,#151d23); box-shadow: var(--erp-shadow-sm); border-radius: 12px; }
.erp-ui .erp-report-controls { grid-template-columns: repeat(4,minmax(0,1fr)); }
.erp-ui .erp-finance-reports { grid-template-columns: 1fr; }
.erp-ui.erp-workspace-page[data-erp-page=financials] article { padding: 24px; gap: 20px; }
.erp-ui.erp-workspace-page[data-erp-page=financials] article > .grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.erp-ui.erp-workspace-page[data-erp-page=financials] article dt { font-size: 12px; text-transform: none; letter-spacing: 0; }
.erp-ui.erp-workspace-page[data-erp-page=financials] article dd { margin: 10px 0 0; font-size: 25px; font-weight: 500; }
.erp-ui.erp-workspace-page[data-erp-page=financials] article header h2 { font-size: 18px; font-weight: 550; }
.erp-ui.erp-workspace-page[data-erp-page=financials] article header h2 > span:first-child { background: #243a30; color: #b3e4ca; border-color: #476351; }
.erp-ui.erp-workspace-page[data-erp-page=financials] :is(#downloadTdsCsvBtn,#downloadGstCsvBtn,#logTdsFilingBtn,#logGstFilingBtn) { padding: 9px 13px; border-radius: 7px; font-size: 12px; }
.erp-ui .erp-profile-header,.erp-ui .erp-profile-card { max-width: 1080px; margin-inline: auto; }
.erp-ui .erp-profile-card { border: 1px solid var(--erp-line); padding: 28px; }
.erp-ui .erp-profile-card form label { display: block; margin-bottom: 7px; }
.erp-ui .erp-profile-card form input,.erp-ui .erp-profile-card form textarea { padding: 11px 12px; }
/* Modal styling never changes visibility or bypasses its existing controller. */
.erp-ui .erp-dialog { z-index: 100 !important; padding: 24px !important; background: #03070dcc !important; backdrop-filter: blur(7px); overflow-y: auto; }
.erp-ui .erp-dialog > .erp-dialog-panel { position: relative; background: #151d24 !important; background-image: none !important; border: 1px solid #3b4945 !important; border-radius: 16px !important; box-shadow: 0 24px 100px #0009 !important; max-height: calc(100dvh - 48px) !important; overflow-y: auto; color: #e4ece7; font-family: var(--erp-font); }
.erp-ui .erp-dialog-panel :is(h1,h2,h3) { font-family: var(--erp-font); background: none !important; -webkit-text-fill-color: #e4ece7; color: #e4ece7 !important; letter-spacing: -.025em; font-weight: 550; }
.erp-ui .erp-dialog-panel h2 { font-size: 21px; padding-right: 36px; }
.erp-ui .erp-dialog-panel label { font-family: var(--erp-font); text-transform: none; letter-spacing: 0; font-size: 12px; color: #aabaca; }
.erp-ui .erp-dialog-panel :is(button[type=submit],button[form]) { background: #91dfbf !important; color: #142d22 !important; border: 1px solid #a4e7ca !important; border-radius: 8px; min-height: 40px; font-size: 13px; }
.erp-ui .erp-dialog-close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 32px; height: 32px; padding: 5px; border: 1px solid #3e4a45; border-radius: 8px; background: #202b29; color: #cadbd2; display: grid; place-items: center; font-size: 20px; }
.erp-ui.erp-modal-open { overflow: hidden; }
@media (max-width: 1000px) { .erp-ui .erp-report-controls { grid-template-columns: repeat(2,minmax(0,1fr)); } .erp-ui #invoiceSummary { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
  .erp-ui .erp-page-header { align-items: flex-start; margin-bottom: 22px; }
  .erp-ui .erp-page-header h1 { font-size: 26px; }
  .erp-ui .erp-report-controls { grid-template-columns: 1fr; }
  .erp-ui.erp-workspace-page[data-erp-page=financials] article > .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .erp-ui.erp-workspace-page[data-erp-page=financials] article { padding: 16px; }
  .erp-ui.erp-workspace-page[data-erp-page=financials] article dd { font-size: 21px; overflow-wrap: anywhere; }
  .erp-ui .erp-profile-card { padding: 18px; }
  .erp-ui .erp-dialog { padding: 12px !important; }
  .erp-ui .erp-dialog > .erp-dialog-panel { max-height: calc(100dvh - 24px) !important; }
  .erp-ui .erp-filter-bar > :is(input,select) { width: 100%; }
  .erp-ui #projectSummaryToggle { flex-wrap: wrap; gap: 16px; }
  .erp-ui #projectSummaryContent .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .erp-ui #projectSummaryContent > .grid { grid-template-columns: 1fr; }
  .erp-ui #projectSummaryContent p[id] { font-size: 20px; overflow-wrap: anywhere; }
}
@media print {
  .erp-ui.erp-shell { padding: 0 !important; background: white !important; color: black !important; }
  .erp-ui :is(.erp-sidebar,.erp-sidebar-toggle,.erp-topbar,.erp-mobile-backdrop,.erp-command,.erp-skip) { display: none !important; }
  .erp-ui table thead,.erp-ui table thead th { background: #eee !important; color: black !important; }
}
