/* VVC GREEN Enterprise 2.0 — visual layer only. Keeps the legacy feature CSS intact. */
:root{--gold:#ffc400;--gold-2:#e8aa00;--gold-dark:#8c6500;--gold-soft:#fff9e8;--ink:#101828;--text:#29303a;--muted:#697386;--bg:#f7f8fa;--surface:#fff;--line:#e7e9ee;--green:#17a65b;--green-soft:#eaf8f0;--orange:#f79009;--orange-soft:#fff4e5;--red:#e5484d;--red-soft:#fff0f0;--blue:#3977e8;--blue-soft:#edf4ff;--purple:#7959d7;--purple-soft:#f2efff;--sidebar:250px;--topbar:66px;--r:12px;--r-lg:16px;--shadow:0 3px 14px rgba(16,24,40,.055);--shadow-lg:0 16px 44px rgba(16,24,40,.12)}
html{background:var(--bg)}body{background:var(--bg);color:var(--ink)}
.app{padding-left:var(--sidebar)}
.sidebar{width:var(--sidebar);background:#fff;color:var(--ink);border-right:1px solid #eceef2;box-shadow:none;overflow-y:auto;overflow-x:hidden}
.brand{height:88px;padding:10px 22px;gap:11px;border-bottom:1px solid #f0f1f3;background:#fff;position:sticky;top:0;z-index:2}.brand-logo{width:58px;height:58px;object-fit:contain}.brand-copy{min-width:0}.brand-name{color:#111;font-size:17px;letter-spacing:.01em;font-weight:850}.brand-copy small{display:block;color:#6b7280;font-size:10px;margin-top:3px;line-height:1.25;white-space:nowrap}
.nav{padding:10px 9px 18px;gap:2px}.nav a{height:43px;padding:0 13px;border-radius:8px;color:#20262f;font-size:13px;font-weight:600;gap:11px}.nav a:hover{background:#fff8df;color:#111}.nav a.active{background:linear-gradient(100deg,#ffc400,#ffdc63);color:#111;box-shadow:0 5px 14px rgba(232,170,0,.16)}.nav a.active:before{display:none}.navicon{width:20px;height:20px;flex-basis:20px}.navicon svg{width:19px;height:19px;stroke-width:1.8}.nav-group-label{font-size:9px;font-weight:850;letter-spacing:.11em;color:#a0a7b2;padding:17px 13px 6px}.sidebar-footer{margin:auto 10px 14px;padding:13px;border:1px solid #f3cb54;border-radius:12px;background:#fffdf6;font-size:11px;line-height:1.55;color:#6c727c}.sidebar-footer b{display:block;color:#ad7900;font-size:12px}.sidebar-footer a{display:inline-block;margin-top:8px;color:#8c6500;font-weight:800}
.topbar{height:var(--topbar);padding:0 22px;background:linear-gradient(90deg,#ffcb17 0%,#ffc400 52%,#ffd53b 100%);border-bottom:1px solid #efb300;box-shadow:0 2px 8px rgba(155,113,0,.08);gap:18px}.global-search{width:min(500px,42vw)}.global-search input{height:40px;border:1px solid rgba(255,255,255,.65);border-radius:10px;background:rgba(255,255,255,.94);box-shadow:none;font-size:13px}.global-search svg{width:17px;height:17px;left:14px}.top-context{display:flex;align-items:center;gap:8px;margin-left:auto}.top-context select{height:40px;min-width:190px;border:1px solid rgba(255,255,255,.75);border-radius:9px;background:#fff;padding:0 33px 0 12px;font-size:12px;color:#252a32}.top-date{font-size:12px;font-weight:750;white-space:nowrap;padding:0 12px;border-left:1px solid rgba(103,77,0,.18);border-right:1px solid rgba(103,77,0,.18);height:32px;display:flex;align-items:center}.topbar-right{gap:12px}.bell{border:0;margin:0;padding:0;width:36px;height:36px}.bell svg{stroke:#111}.bell-badge{top:-1px;right:-2px;background:#d92d20;border-color:#ffc400}.user-menu{gap:8px}.user-avatar{width:36px;height:36px;background:#fff;border-color:rgba(0,0,0,.08);overflow:hidden}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-name{font-size:12px;font-weight:800}.user-role{font-size:10px;color:#5d4a00;margin-top:2px}.chev{font-size:13px;color:#3e350c}.main{padding:20px 22px 48px}.page-title{font-size:24px;margin:2px 0 16px}
.panel,.card,.kpi{border-color:#e8eaee;box-shadow:var(--shadow);border-radius:var(--r)}.btn{border-radius:8px}.btn.primary{background:linear-gradient(90deg,#ffc400,#ffce22);border-color:#e5aa00;color:#171208;font-weight:800}.btn.primary:hover{filter:brightness(.98)}.btn.warn{background:#fff8e8;color:#9a6200;border-color:#f2cf77}.btn.danger{background:#fff4f3;color:#b42318;border-color:#f3b9b4}.badge.ok,.badge.green{background:var(--green-soft);color:#128346}.badge.warn,.badge.orange{background:var(--orange-soft);color:#b75e00}.badge.bad,.badge.red{background:var(--red-soft);color:#c5343b}.badge.blue{background:var(--blue-soft);color:#2d66ca}
/* Dashboard additions */
.ent-dashboard-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:-2px 0 18px}.ent-dash-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 15px;display:flex;align-items:center;gap:12px;min-height:82px;box-shadow:var(--shadow);transition:.16s}.ent-dash-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(16,24,40,.08)}.ent-dash-card i{width:42px;height:42px;border-radius:12px;background:#fff5cc;display:grid;place-items:center;color:#8b6300;font-size:19px;font-style:normal}.ent-dash-card.green i{background:var(--green-soft);color:#128346}.ent-dash-card.red i{background:var(--red-soft);color:#c5343b}.ent-dash-card.blue i{background:var(--blue-soft);color:#2d66ca}.ent-dash-card small{display:block;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:750}.ent-dash-card b{display:block;font-size:21px;margin:3px 0 1px}.ent-dash-card span{font-size:11px;color:#737c89}
/* Enterprise common */
.ent-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:2px 0 17px}.ent-page-head>div:first-child>span{font-size:10px;color:#9a6d00;font-weight:850;letter-spacing:.1em}.ent-page-head h1{font-size:25px;margin:4px 0 4px;letter-spacing:-.025em}.ent-page-head p{margin:0;color:var(--muted);font-size:12px;max-width:790px}.ent-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ent-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:15px}.ent-stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:var(--shadow);min-height:94px}.ent-stat small{display:block;color:#6f7784;font-size:10px}.ent-stat b{display:block;font-size:25px;line-height:1.05;margin:5px 0 4px}.ent-stat span{display:block;color:#8a919b;font-size:10px}.ent-stat i{width:44px;height:44px;border-radius:13px;background:#fff4c7;color:#966700;display:grid;place-items:center;font-size:20px;font-style:normal}.ent-stat.green i{background:var(--green-soft);color:#11854a}.ent-stat.orange i{background:var(--orange-soft);color:#c46700}.ent-stat.red i{background:var(--red-soft);color:#c62f36}.ent-stat.blue i{background:var(--blue-soft);color:#2f67ce}.ent-card-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.ent-card-title h3{margin:0;font-size:15px}.ent-card-title p{margin:3px 0 0;color:var(--muted);font-size:10px}.ent-empty{padding:24px;text-align:center;color:#9097a1;background:#fafbfc;border:1px dashed #dfe3e8;border-radius:10px}.ent-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ent-form-grid .span2{grid-column:1/-1}.ent-form-grid label,.ent-inline-form label{font-size:11px;font-weight:750;color:#4b5360;display:block}.ent-form-grid input,.ent-form-grid select,.ent-form-grid textarea,.ent-inline-form input,.ent-inline-form select,.ent-inline-form textarea,.ent-filter input,.ent-filter select,.ent-ai-chat input,.ent-ai-chat select,.ent-ai-chat textarea{display:block;width:100%;margin-top:6px;min-height:38px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;padding:8px 10px;color:#252b33;outline:none}.ent-form-grid textarea,.ent-inline-form textarea,.ent-ai-chat textarea{min-height:90px;resize:vertical}.ent-form-grid input:focus,.ent-form-grid select:focus,.ent-form-grid textarea:focus,.ent-inline-form input:focus,.ent-inline-form select:focus,.ent-inline-form textarea:focus,.ent-filter input:focus,.ent-filter select:focus,.ent-ai-chat textarea:focus{border-color:#dca600;box-shadow:0 0 0 3px rgba(255,196,0,.12)}.ent-filter{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:14px;box-shadow:var(--shadow)}.ent-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}.ent-filter-grid .btn{height:38px}.ent-inline-form{display:grid;grid-template-columns:90px 1.4fr 1fr 1.4fr auto;gap:9px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid #eceef2}.ent-inline-form .btn{height:38px}.ent-check-label{display:flex;align-items:center;gap:7px;min-height:38px}.ent-check-label input{width:auto;margin:0;min-height:auto}.ent-progress{height:8px;border-radius:99px;background:#edf0f3;overflow:hidden}.ent-progress i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#ffc400,#f1b000)}
.ent-table-wrap{overflow:auto;border:1px solid #e7e9ed;border-radius:10px}.ent-table{width:100%;border-collapse:collapse;background:#fff;min-width:760px}.ent-table th,.ent-table td{padding:10px 12px;border-bottom:1px solid #edf0f2;text-align:left;vertical-align:middle;font-size:11px}.ent-table th{background:#fafbfc;color:#525b68;font-size:10px;text-transform:uppercase;letter-spacing:.025em;position:sticky;top:0}.ent-table tr:last-child td{border-bottom:0}.ent-table tr:hover td{background:#fffdf5}
/* Checklist */
.ent-check-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:15px;align-items:start}.ent-check-items{display:grid;gap:10px}.ent-check-item{background:#fff;border:1px solid #e5e8ec;border-radius:12px;padding:13px;box-shadow:var(--shadow)}.ent-check-item-head{display:flex;justify-content:space-between;gap:12px}.ent-check-item h4{margin:0;font-size:13px}.ent-check-item p{margin:5px 0;color:var(--muted);font-size:10px}.ent-check-result{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.ent-check-result label{cursor:pointer}.ent-check-result input{position:absolute;opacity:0}.ent-check-result span{display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:33px;padding:0 10px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;font-size:11px;font-weight:750}.ent-check-result input:checked+span{background:#fff4bf;border-color:#e1a800;color:#805c00}.ent-check-result label.pass input:checked+span{background:var(--green-soft);border-color:#80d4a5;color:#107342}.ent-check-result label.fail input:checked+span{background:var(--red-soft);border-color:#ef9ba0;color:#b72c34}.ent-check-photo{display:flex;align-items:center;gap:8px;margin-top:8px}.ent-check-photo img{width:72px;height:56px;object-fit:cover;border-radius:8px;border:1px solid #e4e7eb}.ent-run-summary{position:sticky;top:82px}.ent-run-summary .big-progress{font-size:35px;font-weight:850;color:#9c6d00}.ent-template-items{margin-top:13px;display:grid;gap:7px}.ent-template-items>div{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;padding:8px 9px;background:#fafbfc;border:1px solid #eceef1;border-radius:8px;font-size:11px}.ent-template-items i{font-style:normal;width:27px;height:27px;background:#fff4c6;border-radius:7px;display:grid;place-items:center;color:#8f6400;font-weight:800}
/* Issues / Kanban */
.ent-kanban{display:grid;grid-template-columns:repeat(5,minmax(225px,1fr));gap:11px;overflow-x:auto;padding-bottom:5px}.ent-kanban-col{background:#f2f4f7;border:1px solid #e4e7ec;border-radius:12px;padding:9px;min-height:420px}.ent-kanban-head{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 10px;font-size:12px}.ent-kanban-head b{font-size:12px}.ent-kanban-head span{min-width:24px;height:24px;border-radius:99px;background:#fff;display:grid;place-items:center;font-size:10px}.ent-issue-card{background:#fff;border:1px solid #e4e7eb;border-radius:10px;padding:11px;margin-bottom:8px;box-shadow:0 2px 7px rgba(16,24,40,.04)}.ent-issue-card.urgent{border-left:4px solid #e5484d}.ent-issue-card.high{border-left:4px solid #f79009}.ent-issue-card.normal{border-left:4px solid #ffc400}.ent-issue-card.low{border-left:4px solid #17a65b}.ent-issue-card small{display:block;color:#8a919b;font-size:9px}.ent-issue-card h4{margin:5px 0 6px;font-size:12px}.ent-issue-card p{font-size:10px;color:#697386;margin:0 0 7px;line-height:1.45}.ent-issue-meta{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#6d7581}.ent-issue-meta .overdue{color:#d92d20;font-weight:800}.ent-issue-card form{margin-top:8px;padding-top:8px;border-top:1px solid #eef0f2;display:grid;gap:6px}.ent-issue-card select,.ent-issue-card textarea{width:100%;border:1px solid #e0e3e7;border-radius:7px;padding:6px 7px;font-size:10px}
/* Payment */
.ent-payment-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:15px;align-items:start}.ent-payment-form{padding:17px}.ent-money-box{background:linear-gradient(135deg,#fff8dd,#fffdf4);border:1px solid #f3d477;border-radius:11px;padding:14px;margin-bottom:13px}.ent-money-box small{display:block;color:#80601c}.ent-money-box b{display:block;font-size:27px;color:#8b6500;margin-top:5px}.ent-upload-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ent-upload{border:1px dashed #d9dde2;border-radius:10px;padding:10px;background:#fafbfc}.ent-upload select,.ent-upload input{width:100%;font-size:10px}.ent-approval-queue{position:sticky;top:82px}.ent-approval-queue a{display:block;padding:11px 0;border-bottom:1px solid #eceff2}.ent-approval-queue a:last-child{border-bottom:0}.ent-approval-queue a b{display:block;font-size:11px}.ent-approval-queue a span{display:flex;justify-content:space-between;gap:8px;margin-top:4px;color:#737b86;font-size:9px}.ent-payment-detail{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:15px;align-items:start}.ent-info-grid,.ent-money-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.ent-info-grid>div,.ent-money-grid>div{padding:8px 0;border-bottom:1px solid #edf0f2;display:grid;grid-template-columns:145px 1fr;gap:8px;font-size:10px}.ent-info-grid small,.ent-money-grid small{color:#808895}.ent-info-grid b,.ent-money-grid b{font-weight:700}.ent-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ent-file{border:1px solid #e5e8ec;border-radius:9px;padding:9px;display:block;background:#fff}.ent-file b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ent-file small{display:block;color:#8a919b;font-size:9px;margin-top:4px}.ent-approval-timeline{position:sticky;top:82px}.ent-step{display:grid;grid-template-columns:30px 1fr;gap:9px;position:relative;padding-bottom:14px}.ent-step:after{content:"";position:absolute;left:14px;top:29px;bottom:0;width:1px;background:#dfe3e8}.ent-step:last-child:after{display:none}.ent-step>i{width:29px;height:29px;border-radius:50%;background:#edf0f2;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800;z-index:1}.ent-step.approved>i{background:var(--green-soft);color:#118248}.ent-step.pending>i{background:#fff2b5;color:#8b6100}.ent-step.returned>i,.ent-step.rejected>i{background:var(--red-soft);color:#c12f37}.ent-step b,.ent-step small,.ent-step span,.ent-step em{display:block}.ent-step b{font-size:11px}.ent-step small{font-size:9px;color:#7d8590;margin-top:2px}.ent-step span{font-size:9px;margin-top:3px;color:#8c6500}.ent-step em{font-style:normal;font-size:8px;color:#8c939c;margin-top:3px}
/* AI */
.ent-ai-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:15px;align-items:start}.ent-ai-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.ent-ai-card{text-align:left;border:1px solid #e4e7eb;background:#fff;border-radius:12px;padding:14px;min-height:145px;cursor:pointer;transition:.15s;position:relative;color:#17202b}.ent-ai-card:hover{border-color:#efc53d;transform:translateY(-1px);box-shadow:var(--shadow)}.ent-ai-card i{width:37px;height:37px;border-radius:10px;background:#fff3bc;color:#8a6200;display:grid;place-items:center;font-style:normal;font-size:18px}.ent-ai-card b{display:block;font-size:12px;margin:11px 0 5px}.ent-ai-card p{font-size:9px;line-height:1.5;color:#737c88;margin:0 0 12px}.ent-ai-card>span{position:absolute;bottom:12px;left:14px;color:#9f7300}.ent-ai-chat{padding:16px}.ent-ai-chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.ent-ai-chat-head small{font-size:8px;color:#9a7000;font-weight:850}.ent-ai-chat-head h3{margin:3px 0 0;font-size:14px}.ent-ai-chat-head select{width:220px;margin:0}.ent-ai-history{position:sticky;top:82px}.ent-ai-history a{display:block;padding:11px 0;border-bottom:1px solid #eceef2}.ent-ai-history a:last-child{border-bottom:0}.ent-ai-history a span{font-size:8px;color:#a07100;text-transform:uppercase;font-weight:800}.ent-ai-history a b{display:block;font-size:10px;margin:3px 0}.ent-ai-history a small{font-size:8px;color:#8a919c}.ent-ai-output pre{white-space:pre-wrap;word-wrap:break-word;font:inherit;font-size:11px;line-height:1.65;color:#323943;background:#fbfcfd;border:1px solid #e8eaee;border-radius:9px;padding:14px;max-height:700px;overflow:auto}
/* Settings */
.ent-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.ent-settings-grid>.card{padding:16px}.ent-workflow-list{display:grid;gap:6px;margin-top:14px}.ent-workflow-list a{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 10px;border:1px solid #eceef1;border-radius:8px}.ent-workflow-list a.active{border-color:#ecc33d;background:#fff9e8}.ent-workflow-list b{font-size:10px}.ent-workflow-list span{font-size:9px;color:#7e8691}.ent-steps-admin{display:grid;gap:7px}.ent-steps-admin>div{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:8px;border:1px solid #e8eaee;border-radius:8px}.ent-steps-admin i{width:28px;height:28px;border-radius:50%;background:#fff2b6;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800}.ent-steps-admin b,.ent-steps-admin small{display:block}.ent-steps-admin b{font-size:10px}.ent-steps-admin small{font-size:8px;color:#7f8792}
/* Legacy pages alignment to the approved design */
.dashboard-kpis{gap:12px}.kpi{height:112px;padding:15px;gap:13px}.kpi-icon{width:52px;height:52px;flex-basis:52px}.kpi-icon svg{width:26px;height:26px}.kpi-value{font-size:27px}.dashboard-middle{gap:14px}.today-panel,.panel-pad{padding-left:16px;padding-right:16px}.dash-table th,.dash-table td{padding:10px 12px}.form-card,.table-card{border-radius:12px}
/* Global search overlay/results if present */
.search-results{border-radius:12px;border:1px solid #e4e7eb;box-shadow:var(--shadow-lg)}
/* Responsive web */
.web-menu-toggle{display:none;width:38px;height:38px;border:0;border-radius:8px;background:rgba(255,255,255,.72);font-size:19px;align-items:center;justify-content:center;color:#111}.sidebar-backdrop{display:none}
@media(max-width:1250px){.dashboard-middle{grid-template-columns:1.3fr 1fr}.dashboard-middle>.alerts{grid-column:1/-1}.ent-stats{grid-template-columns:repeat(2,1fr)}.ent-dashboard-strip{grid-template-columns:repeat(2,1fr)}.ent-check-layout,.ent-payment-grid,.ent-payment-detail,.ent-ai-layout{grid-template-columns:1fr}.ent-run-summary,.ent-approval-queue,.ent-approval-timeline,.ent-ai-history{position:static}.ent-kanban{grid-template-columns:repeat(5,230px)}}
@media(max-width:900px){:root{--sidebar:0px}.app{padding-left:0}.sidebar{transform:translateX(-102%);width:264px;transition:.2s;box-shadow:8px 0 35px rgba(16,24,40,.18)}body.sidebar-open .sidebar{transform:translateX(0)}body.sidebar-open .sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(16,24,40,.35);z-index:45}.web-menu-toggle{display:inline-flex}.topbar{padding:0 12px}.global-search{width:min(430px,42vw)}.top-context select{min-width:145px}.top-date{display:none}.user-name,.user-role,.chev{display:none}.main{padding:16px 12px 40px}.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.dashboard-middle{grid-template-columns:1fr}.ent-filter-grid{grid-template-columns:repeat(2,1fr)}.ent-ai-cards{grid-template-columns:repeat(2,1fr)}.ent-settings-grid{grid-template-columns:1fr}}
@media(max-width:640px){.topbar{height:60px}.global-search{display:none}.top-context{margin-left:0;flex:1}.top-context select{width:100%;min-width:0}.main{padding:13px 10px 80px}.page-title{font-size:21px}.dashboard-kpis{grid-template-columns:1fr 1fr;gap:8px}.kpi{height:96px;padding:11px;gap:8px}.kpi-icon{width:40px;height:40px;flex-basis:40px}.kpi-icon svg{width:21px;height:21px}.kpi-label{font-size:10px}.kpi-value{font-size:22px}.kpi-sub{font-size:9px}.ent-dashboard-strip,.ent-stats{grid-template-columns:1fr 1fr;gap:8px}.ent-dash-card,.ent-stat{min-height:78px;padding:11px}.ent-page-head{display:block}.ent-head-actions{margin-top:10px;justify-content:flex-start}.ent-page-head h1{font-size:21px}.ent-form-grid,.ent-filter-grid{grid-template-columns:1fr}.ent-form-grid .span2{grid-column:auto}.ent-inline-form{grid-template-columns:1fr}.ent-ai-cards{grid-template-columns:1fr 1fr}.ent-ai-card{padding:11px;min-height:130px}.ent-payment-grid,.ent-payment-detail,.ent-check-layout,.ent-ai-layout{display:block}.ent-payment-grid>aside,.ent-payment-detail>aside,.ent-ai-layout>aside,.ent-check-layout>aside{margin-top:12px}.ent-info-grid,.ent-money-grid{grid-template-columns:1fr}.ent-info-grid>div,.ent-money-grid>div{grid-template-columns:120px 1fr}.ent-file-grid,.ent-upload-list{grid-template-columns:1fr 1fr}.ent-kanban{grid-template-columns:repeat(5,82vw)}.ent-ai-chat-head{align-items:flex-start;flex-direction:column}.ent-ai-chat-head select{width:100%}.ent-settings-grid{display:block}.ent-settings-grid>section+section{margin-top:12px}}
/* Classes emitted by enterprise_web.php */
.ent-filter-actions{display:flex;gap:7px;align-items:end}.ent-create{margin-top:10px}.ent-create>summary{list-style:none;width:max-content;cursor:pointer}.ent-create>summary::-webkit-details-marker{display:none}.ent-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.ent-payment-files{margin-top:13px;padding:12px;border:1px dashed #d9dde2;border-radius:10px;background:#fafbfc}.ent-payment-files h4{margin:0 0 4px;font-size:12px}.ent-payment-files p{margin:0 0 9px;color:#7b8490;font-size:9px}.ent-payment-files input{width:100%;font-size:10px}.ent-pay-amount{font-size:14px;font-weight:850;color:#8a6200}.ent-clip{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ent-count{display:inline-grid;min-width:21px;height:21px;place-items:center;border-radius:99px;background:#fff0b0;color:#7e5a00;font-size:9px;font-weight:850}.ent-add-row{display:grid;grid-template-columns:80px 1fr 130px 130px auto;gap:8px;align-items:end;margin-top:10px}.ent-check-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.ent-check-title h4{margin:0;font-size:12px}.ent-check-fields{display:grid;grid-template-columns:1fr 220px auto;gap:8px;align-items:end;margin-top:10px}.ent-check-fields textarea{width:100%;min-height:68px;border:1px solid #dfe3e8;border-radius:8px;padding:8px}.ent-check-fields input[type=file]{font-size:9px}.ent-result-buttons{display:flex;gap:5px;flex-wrap:wrap}.ent-result-buttons label{cursor:pointer}.ent-result-buttons input{position:absolute;opacity:0}.ent-result-buttons span{height:32px;min-width:55px;padding:0 8px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:9px;font-weight:800}.ent-result-buttons input:checked+span{background:#fff3b5;border-color:#deb000;color:#795900}.ent-run-summary{font-size:38px;font-weight:900;color:#8b6500}.ent-run-badges{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.ent-run-aside{position:sticky;top:82px}.ent-file-card{display:flex;align-items:center;gap:8px;border:1px solid #e5e8ec;border-radius:9px;padding:9px;background:#fff}.ent-file-card i{width:34px;height:34px;border-radius:9px;background:#fff0b2;display:grid;place-items:center;font-style:normal;color:#8a6200}.ent-file-card b{display:block;font-size:10px}.ent-file-card small{display:block;color:#818996;font-size:8px;margin-top:3px}.ent-kan-col{background:#f2f4f7;border:1px solid #e4e7ec;border-radius:12px;padding:9px;min-height:420px}.ent-kan-col>header{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 10px}.ent-kan-col>header b{font-size:11px}.ent-kan-col>header span{min-width:23px;height:23px;border-radius:99px;background:#fff;display:grid;place-items:center;font-size:9px}.ent-kan-card{background:#fff;border:1px solid #e4e7eb;border-radius:10px;padding:10px;margin-bottom:8px;box-shadow:0 2px 7px rgba(16,24,40,.04)}.ent-kan-card.overdue{border-left:4px solid var(--red)}.ent-kan-top{display:flex;justify-content:space-between;gap:8px}.ent-kan-top>b{font-size:9px;color:#9b6c00}.ent-priority{display:inline-flex;align-items:center;border-radius:99px;padding:4px 6px;font-size:8px;font-weight:850;background:#f0f2f4}.ent-priority.urgent{background:var(--red-soft);color:#c42f37}.ent-priority.high{background:var(--orange-soft);color:#b65b00}.ent-priority.normal{background:#fff4c6;color:#856000}.ent-priority.low{background:var(--green-soft);color:#117b43}.ent-kan-card h4{font-size:11px;margin:6px 0}.ent-kan-card p{font-size:9px;color:#747d89;margin:0 0 7px}.ent-kan-meta{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;color:#747d89;font-size:8px}.ent-kan-card details{margin-top:8px;padding-top:7px;border-top:1px solid #eef0f2}.ent-card-action{display:grid;gap:6px;margin-top:7px}.ent-card-action select,.ent-card-action textarea{width:100%;border:1px solid #dfe3e8;border-radius:7px;padding:6px;font-size:9px}.ent-card-action textarea{min-height:55px}.ent-kan-empty{padding:20px 7px;text-align:center;color:#959ca5;font-size:9px}.ent-pay-info{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.ent-pay-info>div{border:1px solid #eceef1;background:#fafbfc;border-radius:8px;padding:8px}.ent-pay-info small,.ent-pay-info b{display:block}.ent-pay-info small{font-size:8px;color:#858d97}.ent-pay-info b{font-size:10px;margin-top:3px}.ent-approval-queue .ent-approval-item{display:block;padding:10px 0;border-bottom:1px solid #eceef1}.ent-approval-item:last-child{border-bottom:0}.ent-approval-item b,.ent-approval-item span,.ent-approval-item small{display:block}.ent-approval-item b{font-size:10px}.ent-approval-item span{font-size:9px;color:#8b6500;margin-top:3px}.ent-approval-item small{font-size:8px;color:#818995;margin-top:3px}.ent-approval-actions{display:flex;gap:7px;flex-wrap:wrap}.bad-text{color:#d92d20;font-weight:800}.tablewrap{overflow:auto}.table small{display:block;color:#808895;font-size:9px;margin-top:2px}
@media(max-width:900px){.ent-add-row,.ent-check-fields{grid-template-columns:1fr 1fr}.ent-add-row>*:nth-child(2),.ent-check-fields>*:first-child{grid-column:1/-1}.ent-run-aside{position:static}}
@media(max-width:640px){.ent-add-row,.ent-check-fields,.ent-pay-info{grid-template-columns:1fr}.ent-add-row>*:nth-child(2),.ent-check-fields>*:first-child{grid-column:auto}}
.ent-issue-photos{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.ent-card-action input[type=file],.ent-inline-form input[type=file]{background:#fff;border:1px dashed #d6ad00;padding:8px;border-radius:9px;max-width:100%}
