:root { --blue:#0b5db7; --blue-700:#084b98; --blue-900:#123d77; --blue-50:#f1f7ff; --orange:#f77b1e; --orange-50:#fff5e9; --ink:#142f54; --muted:#7185a5; --line:#dbe6f3; --surface:#fff; --canvas:#eef4fa; --green:#14a76c; --red:#ef5350; --yellow:#f8b72d; --purple:#7247e8; font-family:"Noto Sans Thai",sans-serif; color:var(--ink); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; background:var(--canvas); }
button,input,select { font:inherit; } button { cursor:pointer; } button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid rgba(11,93,183,.35); outline-offset:2px; }
.skip-link { position:fixed; left:12px; top:-60px; z-index:100; padding:9px 14px; color:#fff; background:var(--blue-900); border-radius:6px; text-decoration:none; }.skip-link:focus { top:12px; }
.app-shell { min-height:100vh; display:grid; grid-template-columns:220px minmax(0,1fr); background:var(--canvas); }
.sidebar { position:sticky; top:0; height:100vh; background:linear-gradient(180deg,#0d61bd 0%,#0752aa 100%); color:#fff; padding:16px 10px; display:flex; flex-direction:column; overflow:auto; z-index:10; }
.brand { height:72px; margin:0; padding:0 10px 10px; display:flex; align-items:center; justify-content:center; }.brand img { width:98px; height:58px; object-fit:contain; filter:drop-shadow(1px 0 0 rgba(255,255,255,.92)) drop-shadow(-1px 0 0 rgba(255,255,255,.92)) drop-shadow(0 1px 0 rgba(255,255,255,.92)) drop-shadow(0 -1px 0 rgba(255,255,255,.92)) drop-shadow(0 2px 2px rgba(2,43,92,.28)); }
.menu { display:grid; gap:4px; padding:12px 0; }.menu-item { width:100%; min-height:44px; display:flex; align-items:center; gap:14px; padding:0 14px; color:#edf5ff; border:0; border-radius:7px; background:transparent; text-align:left; text-decoration:none; font-size:.91rem; transition:background .2s,color .2s,transform .2s; }.menu-item:hover { background:rgba(255,255,255,.13); transform:translateX(2px); }.menu-item.active { background:var(--orange); color:#fff; font-weight:700; box-shadow:0 5px 12px rgba(96,39,0,.16); }.menu-item i { width:17px; text-align:center; font-size:1rem; }.menu-count { display:grid; place-items:center; min-width:19px; height:19px; margin-left:auto; border-radius:999px; color:var(--blue-700); background:#fff; font-size:.67rem; }.footer-menu { margin-top:auto; border-top:1px solid rgba(255,255,255,.18); }.button-link { font-family:inherit; }
.main-content { min-width:0; padding-bottom:30px; }.topbar { height:62px; padding:0 clamp(18px,2.5vw,40px); display:flex; align-items:center; gap:18px; background:#fff; border-bottom:1px solid var(--line); }.breadcrumb { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:.78rem; }.breadcrumb strong { color:var(--ink); }.breadcrumb i { font-size:.62rem; color:#9aacbf; }.topbar-spacer { flex:1; }.icon-button,.mobile-menu { position:relative; width:40px; height:40px; border:0; border-radius:50%; color:var(--ink); background:#f3f7fc; font-size:1rem; }.icon-button:hover,.mobile-menu:hover { background:#e5f0fc; }.notification-dot { position:absolute; right:8px; top:7px; width:7px; height:7px; background:var(--orange); border:1px solid #fff; border-radius:50%; }.profile { display:flex; align-items:center; gap:8px; padding:3px; border:0; color:var(--ink); background:transparent; text-align:left; }.avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#fff; background:var(--blue); font-size:.77rem; font-weight:700; }.profile-copy strong,.profile-copy small { display:block; line-height:1.25; }.profile-copy strong { font-size:.8rem; }.profile-copy small { color:var(--muted); font-size:.69rem; }.profile>i { color:var(--muted); margin-left:4px; font-size:.68rem; }.mobile-menu { display:none; }
.executive-banner { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(420px,.88fr); gap:24px; margin:18px clamp(18px,2.5vw,40px); padding:22px 24px; overflow:hidden; border-radius:18px; color:#fff; background:linear-gradient(116deg,#173f7d 0%,#225cb4 58%,#2e82d7 100%); position:relative; }.executive-banner::before { content:""; position:absolute; width:330px; height:330px; right:-120px; top:-180px; border-radius:50%; background:rgba(255,255,255,.07); }.executive-banner::after { content:""; position:absolute; width:190px; height:190px; left:-70px; bottom:-118px; border:1px solid rgba(255,255,255,.12); border-radius:50%; }.banner-copy,.banner-stats { position:relative; z-index:1; }.banner-label { display:inline-flex; align-items:center; gap:7px; padding:5px 11px; border-radius:999px; background:rgba(255,255,255,.14); font-size:.7rem; font-weight:700; }.banner-copy h1 { margin:14px 0 3px; font-size:1.56rem; line-height:1.3; }.banner-copy>p { max-width:740px; margin:0; color:#e9f3ff; font-size:.82rem; line-height:1.55; }.banner-meta { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }.banner-meta span { padding:7px 10px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:rgba(5,38,90,.16); color:#f5f9ff; font-size:.69rem; }.banner-stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-content:center; }.banner-stats article { min-height:100px; padding:14px; border:1px solid rgba(255,255,255,.17); border-radius:15px; background:rgba(255,255,255,.1); }.banner-stats span,.banner-stats small { display:block; color:#dcecff; font-size:.67rem; line-height:1.3; }.banner-stats strong { display:block; margin:5px 0 2px; font-size:1.25rem; line-height:1.15; }
.filter-panel,.content-section { margin:0 clamp(18px,2.5vw,40px) 16px; }.filter-panel { padding:14px 16px; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:0 5px 15px rgba(28,71,120,.045); }.filters { display:grid; grid-template-columns:1fr 1fr .78fr auto; gap:14px; align-items:end; }.filters label { display:grid; gap:5px; color:#3d5b81; font-size:.72rem; font-weight:600; }.filters label span { display:flex; gap:5px; align-items:center; }.filters input,.filters select { height:38px; width:100%; padding:0 11px; color:var(--ink); border:1px solid #cbd9ea; border-radius:7px; background:#fff; }.filter-actions { display:flex; gap:8px; }.primary-button,.reset-button { min-height:38px; border:0; border-radius:7px; font-weight:700; font-size:.8rem; }.primary-button { padding:0 16px; color:#fff; background:var(--blue); box-shadow:0 4px 10px rgba(11,93,183,.2); }.primary-button:hover { background:var(--blue-700); }.reset-button { width:40px; color:#3c6087; background:#f2f6fa; }.reset-button:hover { background:#e4edf7; }
.content-section { padding:15px 18px 18px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.92); box-shadow:0 5px 15px rgba(28,71,120,.04); }.section-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }.section-heading h2 { margin:0; color:var(--ink); font-size:.95rem; line-height:1.3; }.section-heading h2 i { margin-right:7px; color:var(--blue); }.section-heading p { display:inline; margin:0 0 0 9px; color:#8ba0bc; font-size:.69rem; }
.claim-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.claim-card,.kpi-card,.revenue-card { position:relative; overflow:hidden; min-width:0; border:1px solid var(--line); border-radius:13px; background:#fff; }.claim-card { min-height:174px; padding:16px; border-left-width:4px; }.claim-card.motor { border-left-color:#246aff; }.claim-card.non-motor { border-left-color:#079a91; }.claim-card.total { border-color:#1f59bf; background:linear-gradient(120deg,#1f4e9d 0%,#286bd7 100%); color:#fff; }.metric-icon { display:grid; place-items:center; width:40px; height:40px; margin-bottom:12px; border-radius:10px; color:var(--blue); background:var(--blue-50); font-size:1rem; }.claim-card.non-motor .metric-icon { color:#048b84; background:#e8fbfa; }.claim-card.total .metric-icon { color:#fff; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.55); }.claim-card strong,.kpi-card strong,.revenue-card strong { display:block; color:var(--ink); font-size:1.45rem; line-height:1.2; letter-spacing:-.02em; }.claim-card.total strong,.claim-card.total p,.claim-card.total small { color:#fff; }.claim-card p,.kpi-card p,.revenue-card p { margin:3px 0 10px; color:#4e6b90; font-size:.73rem; line-height:1.35; }.claim-card.total p { color:#e8f1ff; }.metric-chips { display:flex; flex-wrap:wrap; gap:5px; }.metric-chips span { padding:3px 7px; border:1px solid #dce6f4; border-radius:999px; color:#416386; background:#f9fbfe; font-size:.64rem; }.metric-chips span::before { content:""; display:inline-block; width:5px; height:5px; margin-right:4px; border-radius:50%; }.metric-chips .new::before { background:#1db878; }.metric-chips .pending-chip::before { background:#3679d6; }.metric-chips .closed::before { background:#f1a21e; }.claim-card.total .metric-chips span { color:#fff; border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.13); }
.kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }.kpi-card { min-height:160px; padding:16px; border-left-width:4px; }.kpi-card .metric-icon,.revenue-card .metric-icon { margin-bottom:11px; }.kpi-card small,.revenue-card small { display:block; color:#8ba0be; font-size:.64rem; line-height:1.4; }.danger-card { border-left-color:var(--red); }.danger-card .metric-icon { color:var(--red); background:#fff0f0; }.danger-card strong { color:var(--red); }.success-card { border-left-color:#15ba80; }.success-card .metric-icon { color:#10b47b; background:#eafbf3; }.info-card { border-left-color:#09a7f3; }.info-card .metric-icon { color:#0298e3; background:#eef9ff; }.orange-card { border-left-color:#ffad12; }.orange-card .metric-icon { color:#ee9310; background:#fff8e8; }.orange-card strong { color:#e88400; }
.revenue-grid { display:grid; grid-template-columns:repeat(10,minmax(132px,1fr)); gap:12px; overflow-x:auto; padding-bottom:2px; }.revenue-card { min-height:174px; padding:15px 12px; border-left-width:4px; }.revenue-card strong { font-size:1.05rem; }.revenue-card p { margin-bottom:3px; }.revenue-green { border-left-color:#0e8d85; }.revenue-green .metric-icon { color:#0c8a80; background:#ecfbf8; }.revenue-red { border-left-color:#ef4343; }.revenue-red .metric-icon { color:#ed4d4d; background:#fff0f0; }.revenue-purple { border-left-color:#7546f2; }.revenue-purple .metric-icon { color:#7546ed; background:#f3efff; }.revenue-blue { border-left-color:#285dff; }.revenue-blue .metric-icon { color:#245cf1; background:#eff4ff; }.revenue-orange { border-left-color:#fb5d13; }.revenue-orange .metric-icon { color:#f15c12; background:#fff3eb; }.revenue-cyan { border-left-color:#0799b1; }.revenue-cyan .metric-icon { color:#0593ad; background:#eafcff; }.revenue-gray { border-left-color:#7b8da6; }.revenue-gray .metric-icon { color:#6f839e; background:#f4f7fa; }.revenue-total { border-color:#2e628e; color:#fff; background:linear-gradient(155deg,#244f79,#487ba6); }.revenue-total .metric-icon { color:#fff; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.65); }.revenue-total strong,.revenue-total p,.revenue-total small { color:#fff; }.revenue-total p { color:#e9f3ff; }.revenue-total small { color:#dcecff; }.revenue-total dl { margin:10px 0 0; border-top:1px solid rgba(255,255,255,.25); }.revenue-total dl div { display:flex; justify-content:space-between; gap:8px; padding-top:7px; font-size:.68rem; }.revenue-total dt,.revenue-total dd { margin:0; }.revenue-total dd { font-weight:700; }
.chart-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }.panel { min-width:0; border:1px solid var(--line); border-radius:13px; background:#fff; }.panel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding:13px 14px 5px; }.panel-header h3 { margin:0; color:var(--ink); font-size:.82rem; line-height:1.35; }.panel-header h3 i { margin-right:6px; color:var(--blue); }.panel-header p { margin:4px 0 0; color:#8ba0be; font-size:.64rem; line-height:1.4; }.panel-header select { height:31px; padding:0 8px; color:#426389; border:1px solid #cfdeed; border-radius:6px; background:#fff; font-size:.7rem; }.chart-area { height:275px; margin:0 5px 4px; }.chart-area.donut { height:295px; }
.table-grid { display:grid; grid-template-columns:1.1fr 1.1fr .8fr; gap:14px; }.data-panel .panel-header,.payment-panel .panel-header { align-items:center; padding-bottom:11px; }.count-button { padding:4px 10px; color:#3c5e85; border:1px solid #d6e2ef; border-radius:999px; background:#f9fbfe; font-size:.65rem; }.count-button:hover { color:var(--blue); border-color:#a9c6e5; }.data-table-wrap { padding:0 12px 10px; overflow:auto; }.data-panel .dt-layout-row { display:none; } table.dataTable { margin-top:0!important; border-collapse:collapse!important; } table.dataTable thead th { padding:8px 7px!important; color:#3f5e82; background:#f5f8fc; border-bottom:1px solid var(--line)!important; font-size:.66rem; } table.dataTable tbody td { padding:7px!important; color:#455f80; border-bottom:1px solid #ecf1f7!important; font-size:.66rem; line-height:1.3; } table.dataTable tbody tr:hover { background:#f8fbff!important; }.date-alert { display:inline-block; padding:2px 5px; color:#e45151; border-radius:4px; background:#fff0f0; font-size:.61rem; white-space:nowrap; }.date-ok { color:#159a62; }.overdue-status { color:#ed4c42; font-size:.61rem; white-space:nowrap; }
.payment-table-wrap { padding:0 12px 12px; overflow:auto; }.payment-table { width:100%; border-collapse:collapse; }.payment-table th { padding:8px 6px; color:#3f5e82; background:#f5f8fc; border-bottom:1px solid var(--line); text-align:left; font-size:.65rem; white-space:nowrap; }.payment-table td { padding:7px 6px; color:#455f80; border-bottom:1px solid #ecf1f7; font-size:.65rem; white-space:nowrap; }.payment-table tr:last-child td { border:0; }.numeric { text-align:right!important; }.payment-table td.numeric { color:#183d70; }
.swal2-popup { font-family:"Noto Sans Thai",sans-serif!important; }.swal2-title { color:var(--ink)!important; }
@media (max-width:1300px) { .executive-banner { grid-template-columns:1fr; }.banner-stats { grid-template-columns:repeat(4,1fr); }.banner-stats article { min-height:86px; }.kpi-grid { grid-template-columns:repeat(2,1fr); }.table-grid { grid-template-columns:1fr 1fr; }.payment-panel { grid-column:1/-1; } }
@media (max-width:1050px) { .filters { grid-template-columns:1fr 1fr; }.claim-grid { grid-template-columns:1fr 1fr; }.claim-card.total { grid-column:1/-1; }.chart-grid { grid-template-columns:1fr; }.table-grid { grid-template-columns:1fr; }.payment-panel { grid-column:auto; }.banner-stats { grid-template-columns:1fr 1fr; } }
@media (max-width:800px) { .app-shell { display:block; }.sidebar { position:fixed; width:240px; transform:translateX(-100%); transition:transform .22s ease; box-shadow:6px 0 20px rgba(6,46,100,.25); }.sidebar.open { transform:translateX(0); }.mobile-menu { display:grid; place-items:center; }.breadcrumb { display:none; }.topbar { height:58px; padding:0 18px; }.profile-copy,.profile>i { display:none; }.executive-banner,.filter-panel,.content-section { margin-left:18px; margin-right:18px; }.executive-banner { margin-top:14px; padding:18px; }.banner-copy h1 { font-size:1.35rem; }.content-section { padding:14px; }.section-heading { display:block; }.section-heading p { display:block; margin:3px 0 0; }.revenue-grid { grid-template-columns:repeat(10,150px); }.claim-grid { grid-template-columns:1fr; }.claim-card.total { grid-column:auto; } }
@media (max-width:540px) { .filters { grid-template-columns:1fr; }.filter-actions { display:grid; grid-template-columns:1fr 40px; }.primary-button { width:100%; }.banner-stats { grid-template-columns:1fr 1fr; gap:8px; }.banner-stats article { min-height:94px; padding:11px; }.banner-stats strong { font-size:1.04rem; overflow-wrap:anywhere; }.banner-meta { gap:6px; }.banner-meta span { width:100%; }.kpi-grid { grid-template-columns:1fr; }.chart-area { height:250px; }.chart-area.donut { height:270px; }.panel-header { padding:12px 11px 4px; }.data-table-wrap,.payment-table-wrap { padding-left:8px; padding-right:8px; }.content-section { border-radius:12px; }.topbar { gap:12px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* VIN Operations Console: distinct operational layout, deliberately not a replica of the supplied system. */
:root { --canvas:#f7f9fc; --ink:#112d53; --line:#dce4ef; --blue:#0d5faf; --blue-900:#082b55; }
.app-shell { grid-template-columns:206px minmax(0,1fr); }
.sidebar { background:linear-gradient(180deg,#092d59 0%,#0e559d 100%); padding:18px 11px; }
.brand { height:78px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.14); }.brand img { width:92px; height:54px; }
.menu { gap:6px; padding-top:18px; }.menu-item { border-radius:4px; font-size:.88rem; }.menu-item.active { background:#f47a20; box-shadow:none; }.menu-item:hover { transform:none; background:rgba(255,255,255,.1); }.menu-count { color:#0d559f; }
.topbar { height:58px; color:#edf5ff; background:#092d59; border-bottom:0; }.breadcrumb { color:#b9cce2; }.breadcrumb strong { color:#fff; }.breadcrumb i { color:#7fa3c8; }.icon-button { color:#fff; background:rgba(255,255,255,.1); }.icon-button:hover { background:rgba(255,255,255,.18); }.notification-dot { border-color:#092d59; }.profile { color:#fff; }.profile-copy small,.profile>i { color:#b9cce2; }.avatar { background:#f47a20; }
.executive-banner { grid-template-columns:minmax(270px,.78fr) minmax(0,2.22fr); gap:30px; margin:0; padding:26px clamp(20px,3vw,42px) 21px; border-radius:0; color:var(--ink); background:transparent; }.executive-banner::before,.executive-banner::after { display:none; }.banner-copy { padding-left:17px; border-left:4px solid #f47a20; }.banner-label { padding:0; color:#0d5faf; border-radius:0; background:none; font-size:.67rem; letter-spacing:.08em; }.banner-copy h1 { margin:8px 0 4px; color:var(--blue-900); font-size:1.62rem; }.banner-copy>p { color:#607898; font-size:.78rem; }.banner-meta { gap:6px; margin-top:12px; }.banner-meta span { padding:5px 7px; color:#526f92; border:0; border-radius:3px; background:#eaf1f9; font-size:.63rem; }.banner-stats { gap:0; align-content:stretch; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:#fff; }.banner-stats article { min-height:0; padding:14px 15px; border:0; border-right:1px solid var(--line); border-radius:0; background:#fff; }.banner-stats article:nth-child(2n) { border-right:0; }.banner-stats article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.banner-stats span,.banner-stats small { color:#7186a3; }.banner-stats strong { color:var(--blue-900); margin:4px 0; font-size:1.16rem; }.banner-stats article:nth-child(4) strong { color:#d96a13; }
.filter-panel { margin:0; padding:11px clamp(20px,3vw,42px); border:0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; background:#fff; box-shadow:none; }.filters { grid-template-columns:180px 180px 180px auto; justify-content:end; }.filters label { font-size:.67rem; }.filters input,.filters select { height:35px; border-color:#d6e0ec; border-radius:3px; }.primary-button,.reset-button { min-height:35px; border-radius:3px; }.primary-button { background:#0d5faf; box-shadow:none; }
.content-section { margin:20px clamp(20px,3vw,42px) 0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }.section-heading { margin:0 0 10px; padding-bottom:9px; border-bottom:1px solid #cfdbea; }.section-heading h2 { font-size:.9rem; }.section-heading h2 i { color:#f47a20; }.section-heading p { color:#7890ad; }
.claim-grid { grid-template-columns:1fr 1fr 1.08fr; gap:10px; }.claim-card { min-height:146px; padding:14px; border:1px solid var(--line); border-top-width:3px; border-left-width:1px; border-radius:5px; box-shadow:none; }.claim-card.motor { border-top-color:#2d6eea; }.claim-card.non-motor { border-top-color:#0f9a89; }.claim-card.total { border-color:#0d5faf; border-top-color:#f47a20; background:#0d5faf; }.metric-icon { width:34px; height:34px; margin-bottom:9px; border-radius:5px; }.claim-card strong { font-size:1.34rem; }.claim-card p { margin-bottom:7px; }.metric-chips span { border-radius:3px; }
.kpi-grid { grid-template-columns:1.25fr 1fr 1fr 1fr; gap:10px; }.kpi-card { min-height:140px; padding:14px; border:1px solid var(--line); border-left-width:4px; border-radius:5px; box-shadow:none; }.kpi-card strong { font-size:1.3rem; }.kpi-card p { margin-bottom:7px; }.kpi-card:first-child { background:#fff8f7; }.kpi-card .metric-icon { width:34px; height:34px; margin-bottom:8px; }
.revenue-grid { grid-template-columns:repeat(5,minmax(152px,1fr)); overflow:visible; gap:10px; }.revenue-card { min-height:145px; padding:13px; border-radius:5px; box-shadow:none; }.revenue-card strong { font-size:1rem; }.revenue-card .metric-icon { width:33px; height:33px; margin-bottom:8px; }.revenue-total { grid-column:span 2; background:linear-gradient(120deg,#163d6e,#0d5faf); }.revenue-total dl { display:flex; gap:22px; }.revenue-total dl div { display:block; min-width:115px; }
.chart-grid { grid-template-columns:1.4fr .9fr; gap:12px; }.chart-card { border-radius:5px; box-shadow:none; }.chart-card:first-child { grid-row:span 2; }.chart-card:first-child .chart-area { height:330px; }.panel-header { padding:13px 14px 4px; }.panel-header h3 { font-size:.8rem; }.chart-area { height:215px; }.chart-area.donut { height:230px; }
.table-grid { grid-template-columns:1fr 1fr; gap:12px; }.payment-panel { grid-column:1/-1; grid-row:1; }.payment-panel .payment-table-wrap { max-height:265px; overflow:auto; }.data-panel { grid-row:2; }.panel { border-radius:5px; box-shadow:none; }.data-panel .panel-header,.payment-panel .panel-header { padding:12px 14px 9px; }.count-button { border-radius:3px; }.payment-table td,.payment-table th,table.dataTable tbody td,table.dataTable thead th { font-size:.65rem; }
@media (max-width:1300px) { .executive-banner { grid-template-columns:1fr; }.banner-stats { grid-template-columns:repeat(4,1fr); }.banner-stats article:nth-child(-n+2) { border-bottom:0; }.banner-stats article:nth-child(2n) { border-right:1px solid var(--line); }.banner-stats article:last-child { border-right:0; }.filters { grid-template-columns:1fr 1fr 1fr auto; }.revenue-grid { grid-template-columns:repeat(4,minmax(150px,1fr)); }.revenue-total { grid-column:span 2; } }
@media (max-width:1050px) { .filters { grid-template-columns:1fr 1fr; }.kpi-grid { grid-template-columns:1fr 1fr; }.revenue-grid { grid-template-columns:repeat(3,minmax(145px,1fr)); }.chart-grid { grid-template-columns:1fr; }.chart-card:first-child { grid-row:auto; }.chart-card:first-child .chart-area { height:270px; }.chart-area { height:250px; }.chart-area.donut { height:275px; } }
@media (max-width:800px) { .sidebar { background:linear-gradient(180deg,#092d59 0%,#0e559d 100%); }.topbar { background:#092d59; }.executive-banner { padding:22px 18px; }.filter-panel { padding:12px 18px; }.content-section { margin:18px 18px 0; }.revenue-grid { grid-template-columns:repeat(2,minmax(145px,1fr)); overflow-x:auto; }.revenue-total { grid-column:span 2; }.table-grid { grid-template-columns:1fr; }.payment-panel,.data-panel { grid-column:auto; grid-row:auto; } }
@media (max-width:540px) { .banner-stats { grid-template-columns:1fr 1fr; }.banner-stats article:nth-child(2n) { border-right:0; }.banner-stats article:nth-child(-n+2) { border-bottom:1px solid var(--line); }.banner-stats article:nth-child(3) { border-right:1px solid var(--line); }.filters { grid-template-columns:1fr; }.revenue-grid { grid-template-columns:1fr; }.revenue-total { grid-column:auto; }.revenue-total dl { display:block; }.table-grid { gap:10px; } }

/* Motion is deliberately limited to confirmed data updates and form success. */
.banner-meta .sync-status { display:inline-flex; align-items:center; gap:4px; padding:2px 7px 2px 3px; }
.sync-lottie { width:22px; height:22px; flex:0 0 22px; }
.banner-meta .sync-copy { width:auto; padding:0; border:0; border-radius:0; background:transparent; }
.modal-lottie { display:block; width:76px; height:76px; margin:-7px auto 2px; }
@media (prefers-reduced-motion:reduce) { .sync-lottie,.modal-lottie { display:none; } }

/* System setup navigation */
.settings-group { display:grid; gap:3px; }
.settings-toggle { justify-content:flex-start; cursor:pointer; touch-action:manipulation; }
.menu-item .menu-caret { width:auto; margin-left:auto; font-size:.68rem; transition:transform .18s ease; }
.settings-group.expanded .menu-caret { transform:rotate(90deg); }
.settings-submenu { display:grid; gap:2px; margin:0 0 6px 24px; padding:4px 0 4px 10px; border-left:1px solid rgba(255,255,255,.2); }
.settings-submenu[hidden] { display:none !important; }
.settings-submenu:not([hidden]) { animation:settings-submenu-enter .16s ease-out; }
.settings-submenu-link { min-height:32px; display:flex; align-items:center; gap:9px; width:100%; padding:6px 8px; color:#d9e7f7; border:0; border-radius:3px; background:transparent; font:inherit; font-size:.72rem; text-align:left; text-decoration:none; cursor:pointer; }
.settings-submenu-link i { width:13px; color:#9fc0e4; text-align:center; font-size:.7rem; }
.settings-submenu-link:hover { color:#fff; background:rgba(255,255,255,.1); }
.settings-submenu-link.active { color:#fff; background:#f47a20; font-weight:700; }
.settings-submenu-link.active i { color:#fff; }
@keyframes settings-submenu-enter { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .settings-submenu:not([hidden]) { animation:none; } }

/* About system module */
.about-module { padding:30px clamp(20px,3vw,42px) 42px; }
.about-header { display:flex; align-items:flex-end; justify-content:space-between; gap:22px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.page-kicker { display:inline-flex; align-items:center; gap:7px; color:#0d5faf; font-size:.7rem; font-weight:700; letter-spacing:.07em; }
.about-header h1 { margin:7px 0 3px; color:var(--blue-900); font-size:1.7rem; line-height:1.25; }
.about-header p { margin:0; color:#6c819d; font-size:.82rem; }
.secondary-button { min-height:36px; padding:0 13px; color:#0d5faf; border:1px solid #bcd1e7; border-radius:3px; background:#fff; font:inherit; font-size:.76rem; font-weight:700; }
.secondary-button:hover { color:#082b55; border-color:#7aa7d3; background:#f4f8fc; }
.about-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr); gap:14px; max-width:1120px; margin:22px auto 0; }
.about-profile-card,.support-card { border:1px solid var(--line); border-radius:6px; background:#fff; box-shadow:0 8px 22px rgba(22,56,100,.055); }
.about-identity { display:grid; grid-template-columns:76px minmax(0,1fr) auto; align-items:center; gap:16px; padding:20px; color:#fff; background:#092d59; }
.about-logo-shell { display:grid; place-items:center; width:76px; height:76px; border:1px solid rgba(255,255,255,.4); border-radius:50%; background:#fff; }
.about-logo-shell img { width:60px; height:50px; object-fit:contain; filter:drop-shadow(1px 0 0 rgba(255,255,255,.9)) drop-shadow(-1px 0 0 rgba(255,255,255,.9)); }
.about-identity span:not(.system-ready) { color:#b7cee7; font-size:.65rem; font-weight:700; letter-spacing:.08em; }
.about-identity h2 { margin:3px 0 3px; color:#fff; font-size:1.17rem; }.about-identity p { max-width:520px; margin:0; color:#d8e7f6; font-size:.72rem; line-height:1.5; }
.system-ready { display:inline-flex; align-items:center; gap:5px; align-self:start; padding:5px 7px; color:#bcefd8; border:1px solid rgba(112,215,166,.38); border-radius:3px; background:rgba(12,171,109,.16); font-size:.63rem; white-space:nowrap; }
.system-facts { display:grid; grid-template-columns:1fr 1fr; margin:0; }.system-facts div { min-height:88px; padding:15px 20px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }.system-facts div:nth-child(2n) { border-right:0; }.system-facts div:nth-last-child(-n+2) { border-bottom:0; }.system-facts dt { display:flex; align-items:center; gap:7px; color:#6d829e; font-size:.67rem; }.system-facts dt i { color:#0d5faf; }.system-facts dd { margin:7px 0 0; color:#183a65; font-size:.81rem; font-weight:700; }.status-online { display:inline-flex; align-items:center; gap:5px; color:#078a59; }.status-online::before { content:""; width:7px; height:7px; border-radius:50%; background:#16b878; }
.about-note { display:flex; gap:10px; align-items:flex-start; margin:0 20px 20px; padding:11px 12px; color:#557391; border-left:3px solid #f47a20; background:#fff7ef; font-size:.71rem; line-height:1.55; }.about-note i { margin-top:2px; color:#e26a11; }.about-note p { margin:0; }.about-note b { color:#274d79; }
.support-card { padding:25px 22px; }.support-icon { display:grid; place-items:center; width:42px; height:42px; margin-bottom:13px; color:#0d5faf; border-radius:5px; background:#eaf3fd; font-size:1.05rem; }.support-card h2 { margin:0; color:#173c68; font-size:1.02rem; }.support-card>p { margin:7px 0 18px; color:#6b819d; font-size:.73rem; line-height:1.55; }.support-list { display:grid; gap:12px; margin:0 0 20px; padding:0; list-style:none; }.support-list li { display:flex; align-items:flex-start; gap:9px; padding-top:11px; border-top:1px solid #e5ecf4; }.support-list li>i { display:grid; place-items:center; width:25px; height:25px; color:#0d5faf; border-radius:50%; background:#eef5fd; font-size:.68rem; }.support-list span { display:grid; gap:1px; color:#7186a1; font-size:.68rem; line-height:1.4; }.support-list b { color:#294b75; font-size:.7rem; }.copy-system-button { width:100%; }
@media (max-width:900px) { .about-layout { grid-template-columns:1fr; }.support-card { display:grid; grid-template-columns:auto 1fr; column-gap:14px; }.support-icon { grid-row:span 2; }.support-card>p,.support-list,.copy-system-button { grid-column:1/-1; }.copy-system-button { width:auto; justify-self:start; } }
@media (max-width:560px) { .settings-submenu { margin-left:20px; }.about-module { padding:22px 18px 34px; }.about-header { display:grid; align-items:start; }.secondary-button { width:100%; }.about-identity { grid-template-columns:62px minmax(0,1fr); gap:12px; padding:16px; }.about-logo-shell { width:62px; height:62px; }.about-logo-shell img { width:50px; height:42px; }.system-ready { grid-column:1/-1; justify-self:start; }.system-facts { grid-template-columns:1fr; }.system-facts div,.system-facts div:nth-last-child(-n+2) { min-height:auto; border-right:0; border-bottom:1px solid var(--line); }.system-facts div:last-child { border-bottom:0; }.about-note { margin:0 14px 14px; }.support-card { display:block; }.support-icon { margin-bottom:13px; }.copy-system-button { width:100%; } }

/* Security module — personal, least-privilege assignment mock. */
.security-module { padding:30px clamp(20px,3vw,42px) 44px; }
.security-header { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.security-header h1 { margin:7px 0 3px; color:var(--blue-900); font-size:1.7rem; line-height:1.25; }
.security-header p { margin:0; color:#6c819d; font-size:.82rem; }
.security-header-note { display:inline-flex; align-items:center; gap:7px; padding:7px 9px; color:#557391; border:1px solid #d5e1ed; border-radius:3px; background:#fff; font-size:.68rem; white-space:nowrap; }
.security-header-note i { color:#0d5faf; }
.security-toolbar { display:grid; grid-template-columns:minmax(270px,1.25fr) minmax(265px,.8fr) auto; align-items:end; gap:14px; margin-top:18px; padding:16px; border:1px solid var(--line); border-radius:6px; background:#fff; box-shadow:0 7px 20px rgba(22,56,100,.045); }
.employee-picker { min-width:0; }.employee-picker label,.employee-picker-label { display:block; margin-bottom:6px; color:#38597f; font-size:.72rem; font-weight:700; }.employee-picker label i,.employee-picker-label i { margin-right:5px; color:#0d5faf; }.admin-identity { display:flex; align-items:center; gap:9px; min-height:38px; padding:6px 9px; color:#173c68; border:1px solid #b7cce2; border-radius:3px; background:#f9fbfe; }.admin-identity-avatar { display:grid; place-items:center; width:24px; height:24px; color:#fff; border-radius:50%; background:#0d5faf; font-size:.58rem; font-weight:700; }.admin-identity span:last-child { display:grid; gap:1px; }.admin-identity strong { font-size:.78rem; }.admin-identity small { color:#6f87a3; font-size:.63rem; }.employee-picker p { margin:6px 0 0; color:#7890ad; font-size:.64rem; }
.permission-summary { display:grid; grid-template-columns:1fr 1fr; border-left:1px solid var(--line); }.permission-summary>div { min-height:53px; padding:1px 14px; border-right:1px solid var(--line); }.permission-summary>div:last-child { border-right:0; }.permission-summary span,.permission-summary small { display:block; color:#7288a5; font-size:.64rem; }.permission-summary strong { display:inline-block; margin:3px 4px 0 0; color:#163d6e; font-size:1.1rem; }.permission-summary .permission-save-state { color:#0a8a5a; font-size:.83rem; }.permission-summary .permission-save-state.dirty { color:#c56a11; }
.security-actions { display:flex; align-items:center; justify-content:flex-end; gap:7px; }.security-actions button { min-height:38px; width:auto; white-space:nowrap; }.security-actions button:disabled,.text-action:disabled,.danger-action:disabled { opacity:.46; cursor:not-allowed; }.security-actions .secondary-button { color:#527292; }.security-actions .secondary-button:not(:disabled):hover { color:#0d5faf; }.security-actions .primary-button { padding:0 13px; }
.permission-workspace { display:grid; grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr); gap:14px; align-items:stretch; margin-top:16px; }
.permission-panel { min-width:0; min-height:500px; border:1px solid var(--line); border-radius:6px; background:#fff; overflow:hidden; box-shadow:0 7px 20px rgba(22,56,100,.04); }.available-permissions { border-top:3px solid #0d5faf; }.assigned-permissions { border-top:3px solid #0c8c70; }
.permission-panel-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 15px 12px; border-bottom:1px solid #e2e9f1; }.panel-label { display:block; color:#6d87a5; font-size:.64rem; font-weight:700; letter-spacing:.04em; }.panel-label i { margin-right:5px; color:#0d5faf; }.assigned-permissions .panel-label i { color:#0c8c70; }.permission-panel-header h2 { margin:3px 0 0; color:#173c68; font-size:.92rem; }
.text-action,.danger-action { display:inline-flex; align-items:center; gap:5px; min-height:30px; padding:0 9px; border-radius:3px; background:#fff; font:inherit; font-size:.68rem; font-weight:700; white-space:nowrap; cursor:pointer; }.text-action { color:#0d5faf; border:1px solid #9dbfe1; }.text-action:not(:disabled):hover { color:#082b55; border-color:#0d5faf; background:#f4f9ff; }.danger-action { color:#c83e3e; border:1px solid #f0acac; }.danger-action:not(:disabled):hover { color:#a42f2f; border-color:#df7777; background:#fff7f7; }
.permission-filter { display:flex; align-items:center; gap:7px; margin:10px 12px; padding:0 9px; border:1px solid #d7e2ee; border-radius:3px; background:#fff; }.permission-filter:focus-within { border-color:#6b9dce; box-shadow:0 0 0 3px rgba(50,120,205,.12); }.permission-filter i { color:#8ca4bd; font-size:.7rem; }.permission-filter input { width:100%; height:32px; padding:0; color:#264a74; border:0; outline:0; background:transparent; font:inherit; font-size:.71rem; }.permission-filter input::placeholder { color:#9cadc0; }
.permission-list { max-height:420px; margin:0; padding:0; overflow:auto; list-style:none; border-top:1px solid #edf1f5; }.permission-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; align-items:center; min-height:61px; padding:9px 12px; border-bottom:1px solid #e9eef4; }.permission-row:hover { background:#f9fbfd; }.permission-category { display:inline-flex; align-items:center; min-width:50px; padding:3px 5px; color:#557596; border-radius:3px; background:#eef4fa; font-size:.56rem; font-weight:700; text-align:center; white-space:nowrap; }.assigned-permissions .permission-category { color:#39796d; background:#edf8f5; }.permission-copy { min-width:0; }.permission-copy strong { display:block; overflow:hidden; color:#24456e; font-size:.74rem; font-weight:700; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }.permission-copy small { display:block; overflow:hidden; margin-top:2px; color:#8194ad; font-size:.61rem; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }.permission-row-action { display:inline-flex; align-items:center; gap:4px; min-height:28px; padding:0 7px; border-radius:3px; background:#fff; font:inherit; font-size:.62rem; font-weight:700; cursor:pointer; }.permission-row-action.add { color:#0d5faf; border:1px solid #9dbfe1; }.permission-row-action.add:hover { color:#fff; border-color:#0d5faf; background:#0d5faf; }.permission-row-action.remove { color:#c83e3e; border:1px solid #f0a4a4; }.permission-row-action.remove:hover { color:#fff; border-color:#c83e3e; background:#c83e3e; }.permission-empty { display:grid; place-items:center; align-content:center; gap:8px; min-height:225px; padding:24px; color:#94a7bc; font-size:.72rem; text-align:center; }.permission-empty i { color:#96b7d6; font-size:1.2rem; }.assigned-permissions .permission-empty i { color:#69b7a3; }
.permission-transfer { display:grid; place-items:center; align-content:center; gap:7px; color:#9eb0c1; text-align:center; }.permission-transfer i { color:#0d5faf; font-size:1.45rem; }.permission-transfer span { color:#8599b0; font-size:.64rem; line-height:1.45; }.permission-feedback { min-height:20px; margin:10px 0 0; color:#5d7696; font-size:.7rem; }.permission-feedback[data-tone="success"] { color:#087b52; }.permission-feedback[data-tone="warning"] { color:#a75b13; }.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:1180px) { .security-toolbar { grid-template-columns:minmax(260px,1fr) minmax(260px,1fr); }.security-actions { grid-column:1/-1; justify-content:flex-start; }.permission-workspace { grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr); gap:10px; } }
@media (max-width:860px) { .security-header { align-items:flex-start; flex-direction:column; }.permission-workspace { grid-template-columns:1fr; }.permission-transfer { grid-template-columns:auto auto; justify-content:center; min-height:42px; }.permission-transfer span br { display:none; }.permission-panel { min-height:0; }.permission-list { max-height:350px; } }
@media (max-width:600px) { .security-module { padding:22px 18px 34px; }.security-header h1 { font-size:1.32rem; }.security-header-note { white-space:normal; }.security-toolbar { grid-template-columns:1fr; padding:14px; }.permission-summary { border-top:1px solid var(--line); border-left:0; }.permission-summary>div { padding:9px 0 0; }.permission-summary>div:first-child { padding-right:14px; }.security-actions { display:grid; grid-template-columns:1fr; }.security-actions button { width:100%; }.permission-panel-header { align-items:flex-start; flex-direction:column; }.permission-panel-header>button { width:100%; justify-content:center; }.permission-row { grid-template-columns:auto minmax(0,1fr); }.permission-row-action { grid-column:2; justify-self:start; }.permission-copy small { white-space:normal; }.permission-list { max-height:330px; } }
