:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18233d;background:#f5f7fc;font-synthesis:none}*{box-sizing:border-box}body{min-width:320px;margin:0;background:radial-gradient(circle at 87% -12%,#e7e7ff 0,transparent 29rem),#f5f7fc}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:linear-gradient(135deg,#5145e5,#4034ca);color:#fff;font-weight:750;padding:10px 15px;box-shadow:0 4px 10px #4338ca29;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}button:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 8px 18px #4338ca38}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6366f147;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.58;box-shadow:none}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 12% 8%,#8178ff 0,transparent 23rem),linear-gradient(135deg,#151247,#4032ad 58%,#7057e8)}.login-card{width:min(430px,100%);padding:40px;border:1px solid #ffffff4d;border-radius:24px;background:#fffffffa;box-shadow:0 28px 70px #08072c6b}.brand{display:flex;align-items:center;gap:11px;font-size:17px;letter-spacing:-.02em}.brand span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#5b4ff0,#3525b7);color:#fff;font-size:13px;font-weight:850;box-shadow:0 7px 14px #4338ca40}.brand small{display:block;margin-top:2px;color:#7785a0;font-size:11px;font-weight:600;letter-spacing:0}.login-card h1{margin:36px 0 8px;font-size:31px;letter-spacing:-.055em}.login-card>p{color:#66758e;line-height:1.55}.form-grid label,.login-card label{display:grid;gap:7px;color:#34415a;font-size:13px;font-weight:760}.login-card label{margin-top:18px}.login-card button{width:100%;margin-top:24px;padding-block:13px}.demo{display:block;margin-top:17px;color:#7785a0;font-size:12px;text-align:center}.app-shell{display:grid;grid-template-columns:254px minmax(0,1fr);min-height:100vh}aside{position:sticky;top:0;height:100vh;padding:27px 15px 18px;overflow-y:auto;background:linear-gradient(180deg,#1f1b4e,#17133b);color:#fff;box-shadow:8px 0 32px #16144317}aside .brand{padding:0 9px}.org{margin:31px 9px 20px;color:#b9c1f1;font-size:12px;font-weight:650;line-height:1.45}nav{display:grid;gap:5px}.logout,nav button{display:flex;align-items:center;width:100%;min-height:43px;border-radius:9px;background:transparent;color:#bec7f4;box-shadow:none;font-size:13px;font-weight:700;text-align:left}nav button:before{width:7px;height:7px;border-radius:50%;background:currentColor;content:"";opacity:.55}.logout:hover,nav button:hover{background:#ffffff1a!important;color:#fff!important;transform:none;box-shadow:none}nav .active{background:linear-gradient(90deg,#7569ff66,#5f56e83b)!important;color:#fff!important}nav .active:before{opacity:1;box-shadow:0 0 0 4px #aaa2ff33}.logout{margin-top:auto;color:#aeb8eb}main{width:100%;max-width:1420px;margin:0 auto;padding:38px 42px 54px}.panel-head,header{display:flex;align-items:center;justify-content:space-between;gap:18px}header{margin-bottom:25px}header h1{margin:3px 0 0;color:#17213b;font-size:clamp(25px,2.2vw,32px);letter-spacing:-.055em}.eyebrow{margin:0;color:#7886a0;font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.user{padding:8px 12px;border:1px solid #d8ddff;border-radius:999px;background:#ebedffcc;color:#4338ca;font-size:12px;font-weight:800}.hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden;padding:31px 34px;border:1px solid #ffffff40;border-radius:20px;background:linear-gradient(120deg,#3326a0,#5748df 55%,#7a67ed);color:#fff;box-shadow:0 18px 34px #4135b533}.hero:after{position:absolute;right:-50px;top:-110px;width:270px;height:270px;border:1px solid #ffffff33;border-radius:50%;box-shadow:0 0 0 34px #ffffff0a,0 0 0 68px #ffffff08;content:""}.hero button,.hero>div{position:relative;z-index:1}.hero p{margin:0;color:#dcd9ff;font-size:14px;font-weight:650}.hero h2{max-width:560px;margin:8px 0 0;font-size:clamp(22px,2.4vw,30px);letter-spacing:-.045em}.hero button{flex:0 0 auto;background:#fff;color:#4032bb;box-shadow:0 9px 18px #1f19702e;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.panel,.stats article{border:1px solid #e0e5f0;border-radius:16px;background:#fffffff0;box-shadow:0 7px 24px #1e29450a}.stats article{min-height:112px;padding:18px 19px}.stats span{display:block;color:#76849c;font-size:12px;font-weight:700}.stats b{display:block;margin-top:10px;color:#1b2741;font-size:26px;letter-spacing:-.045em}.panel{padding:23px}.panel h3{margin:0;color:#1b2741;font-size:18px;letter-spacing:-.025em}.expense-list p,.panel p{margin:5px 0;color:#72809a;font-size:13px;line-height:1.45}.panel-head{padding-bottom:17px;border-bottom:1px solid #edf0f6}.expense-list{margin-top:2px}.expense-list article{display:flex;align-items:center;gap:20px;padding:17px 3px;border-top:1px solid #edf0f6;transition:background .15s ease}.expense-list article:first-child{border-top:0}.expense-list article:hover{background:#fafbff}.expense-list article>div:first-child{min-width:0}.expense-list article b{color:#26324a;font-size:15px;letter-spacing:-.02em}.expense-amount{display:grid;min-width:104px;margin-left:auto;gap:6px;color:#1b2741;text-align:right}.expense-amount>b{font-size:16px!important}.badge{display:inline-flex;justify-content:center;width:-moz-fit-content;width:fit-content;margin-left:auto;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.02em}.pending{background:#fff3cf;color:#a05c07}.approved{background:#d9f9eb;color:#087148}.needs_correction,.rejected{background:#ffebee;color:#b4233e}.approval{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:328px}.approval button{padding:7px 10px;font-size:11px;box-shadow:none}.secondary{border:1px solid #dfe4fb;background:#f1f3ff!important;color:#4b40c9!important;box-shadow:none!important}.secondary:hover:not(:disabled){border-color:#c9d0fb;background:#e9edff!important}.danger{background:#c61e47!important;box-shadow:0 4px 9px #be123c29}.review-note{max-width:520px;color:#b4233e!important}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.form-grid label{margin-bottom:18px}.full{grid-column:1/-1}input,select,textarea{width:100%;border:1px solid #d9dfeb;border-radius:9px;background:#fff;color:#1d2942;padding:10px 11px;transition:border-color .15s ease,box-shadow .15s ease}input:hover,select:hover,textarea:hover{border-color:#bec8df}input:focus,select:focus,textarea:focus{border-color:#7267eb;box-shadow:0 0 0 3px #5b4ff01f;outline:0}textarea{resize:vertical}.actions{display:flex;justify-content:flex-end;gap:10px;padding-top:5px}.alert{padding:11px 14px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:650}.alert.error{border-color:#ffd2dc;background:#fff0f2;color:#b4233e}.alert.success{border-color:#c5f0db;background:#ecfbf3;color:#087148}.empty{padding:38px;color:#7b88a0;text-align:center}.edit-employee{margin-left:2px}@media(max-width:980px){main{padding:28px 25px 42px}.approval{max-width:245px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.app-shell{grid-template-columns:1fr}aside{position:static;height:auto;padding:16px 14px}aside .brand{padding:0 4px}.logout,.org{display:none}aside nav{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}nav button{justify-content:center;min-height:38px;padding:8px;font-size:11px}nav button:before{display:none}main{padding:23px 15px 35px}header{align-items:flex-start}.user{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero{align-items:flex-start;flex-direction:column;padding:25px}.hero button{width:100%}.form-grid,.stats,.two-col{grid-template-columns:1fr}.panel{padding:17px}.expense-list article,.panel-head{align-items:flex-start}.expense-list article{flex-wrap:wrap;gap:10px}.expense-amount{min-width:0;margin-left:0;text-align:left}.badge{margin-left:0}.approval{width:100%;max-width:none;justify-content:flex-start}.approval button{flex:0 1 auto}}.ocr-detail{padding:0;overflow:hidden}.ocr-detail>.panel-head{padding:24px 26px}.ocr-review{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:18px;padding:0 26px 24px}.evidence-pane,.receipt-pane{min-width:0;overflow:hidden;border:1px solid #dfe5f2;border-radius:16px;background:#fbfcff}.ocr-pane-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e6eaf3}.ocr-pane-head div{display:grid;gap:3px}.ocr-pane-head small{color:#70809b;font-size:12px}.ocr-pane-head>span{padding:5px 9px;border-radius:999px;background:#ebefff;color:#4338ca;font-size:11px;font-weight:800;text-transform:uppercase}.receipt-stage{display:grid;place-items:center;min-height:460px;max-height:650px;overflow:auto;background:#eef1f6}.receipt-image-layer{position:relative;max-width:100%}.receipt-stage img{display:block;max-width:100%;max-height:640px;-o-object-fit:contain;object-fit:contain}.receipt-image-layer svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.evidence-box{vector-effect:non-scaling-stroke;rx:6}.muted-box{fill:#4f46e529;stroke:#4338cac7;stroke-width:2.5}.active-box{fill:#f973165c;stroke:#ea580c;stroke-width:5;filter:drop-shadow(0 0 7px rgba(234,88,12,.95));animation:evidence-pulse 1.35s ease-in-out infinite}.evidence-label{fill:#9a3412;stroke:#fff7ed;stroke-width:5;paint-order:stroke;font-size:28px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.receipt-stage iframe{width:100%;height:620px;border:0}.receipt-stage p{color:#70809b}@keyframes evidence-pulse{50%{fill:#f9731694;stroke-width:7}}.receipt-actions{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #e6eaf3}.fiscal-card{margin:0 26px 22px;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 22px;border:1px solid #d9e0fb;border-radius:16px;background:linear-gradient(135deg,#f4f6ff,#fff)}.fiscal-card small{color:#5145d8;font-size:11px;font-weight:900;letter-spacing:.8px}.fiscal-card h4{margin:5px 0;font-size:19px}.fiscal-card p{margin:0;color:#64748b}.fiscal-data{display:flex;flex-wrap:wrap;grid-column:1/-1;gap:8px}.fiscal-data span{border-radius:8px;background:#e8ecff;padding:6px 9px;font-size:12px;font-weight:700;color:#363099}.fiscal-actions{display:flex;gap:8px;align-items:center}.button-link{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:9px;background:#4638e8;color:#fff;font-weight:800;text-decoration:none}.fiscal-upload small{display:block;margin-top:4px;color:#70809b}.ocr-field-list{display:grid;gap:8px;padding:12px}.ocr-field{display:grid;grid-template-columns:1fr auto;gap:3px 9px;width:100%;padding:11px 12px;border:1px solid transparent;border-radius:12px;background:#fff;color:#17213a;text-align:left}.ocr-field:hover{border-color:#c8d0ff}.ocr-field.active{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}.ocr-field small{color:#70809b;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.ocr-field strong{overflow-wrap:anywhere}.ocr-field em{grid-row:1/span 2;grid-column:2;align-self:center;padding:4px 7px;border-radius:999px;background:#e8f7ef;color:#167047;font-size:9px;font-style:normal;font-weight:800;text-transform:uppercase}.ocr-field em.derived{background:#fff4dc;color:#9a6413}.ocr-field em.unlocated{background:#ffe9ee;color:#b4233e}.evidence-source{margin:0 12px 12px;padding:12px;border-radius:12px;background:#eef2ff;color:#2f3c68}.evidence-source small{color:#4f46e5;font-weight:800;text-transform:uppercase;font-size:10px}.evidence-source p{margin:6px 0 0;line-height:1.45}.ocr-review-note{margin:0 14px 15px;color:#77839a;font-size:12px}.ocr-raw{margin:0 26px 26px;padding:13px 15px;border:1px solid #e0e5ef;border-radius:12px;background:#fafbfd}.ocr-raw summary{color:#4338ca;cursor:pointer;font-weight:800}.ocr-raw pre{max-height:280px;overflow:auto;white-space:pre-wrap;color:#4b5870;font-size:12px}@media(max-width:900px){.ocr-review{grid-template-columns:1fr;padding:0 16px 16px}.ocr-detail>.panel-head{padding:18px}.receipt-stage{min-height:320px}.ocr-raw{margin:0 16px 16px}}
