:root{color:#172033;background:#f6f8fb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;background:#f6f8fb}.login-shell{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#1a3a5ceb,#13294ae6),#13294a;padding:20px}.login-panel{width:min(420px,100%);border:1px solid #d8e3ef;border-radius:8px;background:#fff;padding:24px;box-shadow:0 18px 45px #0f172a3d}.login-eyebrow{display:block;color:#1a3a5c;font-size:12px;font-weight:800;margin-bottom:8px}.login-panel h1{margin:0;color:#172033;font-size:26px}.login-panel p{margin:6px 0 18px;color:#64748b;font-size:14px}.login-form{display:flex;flex-direction:column;gap:14px}.login-form label{display:flex;flex-direction:column;gap:6px;color:#475569;font-size:12px;font-weight:800}.login-form input{height:40px;border:1px solid #d6e0ea;border-radius:8px;color:#172033;outline:0;padding:0 10px}.agn-product-header{background:#1a3a5c;color:#fff}.agn-breadcrumb{display:flex;gap:7px;align-items:center;padding:10px 24px 0;font-size:12px}.agn-breadcrumb a{color:#7ab3d4;text-decoration:none}.agn-breadcrumb span{color:#4a6880}.agn-breadcrumb strong{color:#c8dff0;font-weight:500}.agn-title-row{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:12px 24px 16px}.agn-title-row h1{margin:0;font-size:24px;letter-spacing:0}.agn-title-row p{margin:5px 0 0;color:#c8dff0;font-size:14px}.agn-updated{color:#7a99b8;font-size:11px;white-space:nowrap}.session-box{display:flex;align-items:center;gap:10px;color:#c8dff0;font-size:13px;white-space:nowrap}.session-box button{height:32px;border:1px solid rgba(200,223,240,.32);border-radius:7px;background:#ffffff14;color:#fff;cursor:pointer;font-weight:700;padding:0 12px}.agn-section-nav{display:flex;overflow-x:auto;background:#13294a;border-top:1px solid rgba(255,255,255,.08)}.agn-section-nav button{border:0;background:transparent;color:#7ab3d4;cursor:pointer;font-size:13px;padding:11px 18px;border-bottom:2px solid transparent}.agn-section-nav button.active{color:#fff;border-bottom-color:#4ade80}.agn-section-nav button:hover{color:#fff}.is-hidden{display:none!important}.workspace{max-width:1180px;margin:0 auto;padding:22px 20px 40px}.toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px}.search-box{display:flex;align-items:center;gap:9px;min-width:240px;flex:1;background:#fff;border:1px solid #dde5ee;border-radius:8px;padding:0 12px;color:#64748b}.search-box input{width:100%;border:0;outline:0;height:40px;color:#172033}.filter-strip{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) repeat(2,82px);gap:8px;margin-bottom:18px;align-items:end}.filter-strip label{color:#475569;font-size:11px;font-weight:800}.filter-strip input,.filter-strip select,.filter-strip button{width:100%;height:34px;margin-top:4px;border:1px solid #d8e2ec;border-radius:7px;background:#fff;color:#172033;font-size:12px;padding:0 9px}.filter-strip button{cursor:pointer;color:#1a3a5c;font-weight:800}.primary-action{display:inline-flex;align-items:center;justify-content:center;height:40px;border:0;border-radius:8px;background:#1a3a5c;color:#fff;padding:0 16px;font-weight:700;text-decoration:none;white-space:nowrap}.primary-action:disabled{cursor:wait;opacity:.7}.alert{border:1px solid #f1b8b8;background:#fff5f5;color:#9f1d1d;border-radius:8px;padding:11px 13px;margin-bottom:16px;font-size:13px}.status-banner{border-radius:8px;padding:11px 13px;margin-bottom:16px;font-size:13px;font-weight:700}.status-banner.loading{border:1px solid #bdd7ed;background:#f7fbff;color:#1a3a5c}.status-banner.success{border:1px solid #b7e3c3;background:#f0fbf3;color:#17622d}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.metric-card,.panel{background:#fff;border:1px solid #dde5ee;border-radius:8px}.metric-card{padding:16px}.metric-card span,.metric-card small{display:block;color:#64748b;font-size:13px}.metric-card strong{display:block;margin:8px 0 4px;font-size:25px;color:#172033}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.panel{padding:18px}.panel.wide{grid-column:1 / -1}.panel-heading h2{margin:0;font-size:17px}.panel-heading p{margin:5px 0 0;color:#64748b;font-size:13px}.capture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.capture-option{display:flex;align-items:center;gap:10px;min-height:52px;border:1px solid #d6e0ea;border-radius:8px;background:#f9fbfd;color:#1a3a5c;padding:0 12px;font-weight:700;text-align:left}.capture-option:not(:disabled){cursor:pointer}.capture-option.is-active{border-color:#2f80ed;background:#eef6ff;box-shadow:inset 3px 0 #2f80ed;color:#12375f}.file-option{position:relative;cursor:pointer}.file-option input{position:absolute;inset:0;opacity:0;cursor:pointer}.capture-option:disabled{color:#8a9bae;cursor:not-allowed;opacity:.68}.capture-mode-summary{display:flex;flex-direction:column;gap:3px;margin-top:14px;border:1px solid #d6e0ea;border-radius:8px;background:#f7fbff;padding:10px 12px}.capture-mode-summary strong{color:#172033;font-size:13px}.capture-mode-summary span{color:#52657d;font-size:12px}.text-capture-form{display:flex;flex-direction:column;gap:10px;margin-top:16px;border-top:1px solid #e4ebf2;padding-top:16px}.text-capture-form label{display:flex;flex-direction:column;gap:6px;color:#475569;font-size:12px;font-weight:700}.text-capture-form textarea{border:1px solid #d6e0ea;border-radius:8px;color:#172033;outline:0;padding:10px;resize:vertical}.expense-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;border-top:1px solid #e4ebf2;padding-top:16px}.expense-form label{display:flex;flex-direction:column;gap:6px;color:#475569;font-size:12px;font-weight:700}.expense-form label.full{grid-column:1 / -1}.expense-form input,.expense-form select,.expense-form textarea{width:100%;border:1px solid #d6e0ea;border-radius:8px;color:#172033;background:#fff;outline:0}.expense-form input::placeholder,.expense-form textarea::placeholder,.text-capture-form textarea::placeholder{color:#94a3b8;font-weight:600}.expense-form select.is-placeholder{color:#94a3b8}.expense-form select option{color:#172033}.expense-form input,.expense-form select{height:38px;padding:0 10px}.expense-form textarea{resize:vertical;padding:10px}.submit-action{grid-column:1 / -1;height:40px;border:0;border-radius:8px;background:#4ade80;color:#102a1b;font-weight:800}.secondary-action{height:38px;border:1px solid #b8d2e7;border-radius:8px;background:#edf6ff;color:#1a3a5c;font-weight:800}.secondary-action:disabled{opacity:.62}.submit-action:disabled{opacity:.7}.empty-state{min-height:142px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#64748b;border:1px dashed #cad6e2;border-radius:8px;margin-top:16px;background:#fbfdff}.empty-state.horizontal{min-height:86px;flex-direction:row}.inbox-controls{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:16px;border:1px solid #d8e5ef;border-radius:8px;background:#f7fbff;padding:10px 12px}.inbox-summary{min-width:0}.inbox-summary strong,.inbox-summary span{display:block}.inbox-summary strong{color:#1a3a5c;font-size:20px;line-height:1}.inbox-summary span{margin-top:4px;color:#64748b;font-size:12px}.inbox-controls label{display:grid;min-width:176px;gap:5px;color:#49657f;font-size:12px;font-weight:800}.inbox-controls select{height:36px;border:1px solid #c7d7e5;border-radius:7px;background:#fff;color:#1f2937;padding:0 10px}.receipt-list{display:flex;flex-direction:column;gap:10px;margin-top:16px}.receipt-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e0e8f0;border-radius:8px;padding:12px;background:#fbfdff}.receipt-row strong,.receipt-row span{display:block}.receipt-row strong{font-size:14px}.receipt-row span{margin-top:4px;color:#64748b;font-size:12px}.receipt-row b{color:#1a3a5c;white-space:nowrap}.capture-row{background:#fffdf7;border-color:#eadfb7}.capture-row.selected,.receipt-row.selected{border-color:#4ade80;box-shadow:0 0 0 2px #4ade802e}.row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.row-actions button{height:30px;border:1px solid #b8d2e7;border-radius:7px;background:#fff;color:#1a3a5c;font-size:12px;font-weight:800;padding:0 10px}.user-form{margin-top:12px}.user-list{display:flex;flex-direction:column;gap:10px;margin-top:16px}.user-row{display:grid;grid-template-columns:minmax(180px,1fr) 150px 120px 180px 130px;gap:10px;align-items:center;border:1px solid #e0e8f0;border-radius:8px;background:#fbfdff;padding:12px}.user-row strong,.user-row span{display:block}.user-row span{margin-top:4px;color:#64748b;font-size:12px}.user-row input,.user-row select{height:36px;border:1px solid #d6e0ea;border-radius:8px;background:#fff;color:#172033;padding:0 10px}.pagination-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px;color:#64748b;font-size:12px;font-weight:800}.pagination-bar button{height:32px;border:1px solid #b8d2e7;border-radius:7px;background:#fff;color:#1a3a5c;font-size:12px;font-weight:800;padding:0 12px}.pagination-bar button:disabled{cursor:not-allowed;opacity:.55}.review-panel{border-color:#bdd7ed;scroll-margin-top:18px}.capture-preview{margin-top:16px;border:1px solid #d8e5ef;border-radius:8px;background:#f7fbff;padding:12px}.capture-preview strong,.capture-preview p{display:block;margin:0}.capture-preview strong{color:#1a3a5c;font-size:13px}.capture-preview p{margin-top:6px;color:#475569;font-size:13px;line-height:1.5}.capture-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 0}.capture-details div{min-width:0;border-top:1px solid #d8e5ef;padding-top:8px}.capture-details .full{grid-column:1 / -1}.capture-details dt,.capture-details dd{margin:0}.capture-details dt{color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}.capture-details dd{margin-top:4px;color:#1f2937;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.capture-details dd.extracted-text{white-space:pre-wrap}.capture-details pre{max-height:180px;overflow:auto;margin:0;border-radius:7px;background:#fff;padding:10px;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px}.detected-items{display:flex;flex-direction:column;gap:8px}.detected-item{display:grid;grid-template-columns:1fr auto;gap:3px 12px;border:1px solid #d8e5ef;border-radius:8px;background:#fff;padding:10px}.detected-item span,.detected-item small{min-width:0}.detected-item span{color:#172033;font-weight:800}.detected-item small{color:#64748b;font-size:12px}.detected-item strong{grid-row:1 / span 2;grid-column:2;align-self:center;color:#1a3a5c;white-space:nowrap}.review-items{display:flex;flex-direction:column;gap:10px}.review-item{display:grid;grid-template-columns:28px minmax(220px,1fr) 90px 90px 70px 90px 130px 92px 74px;gap:8px;align-items:end;border:1px solid #d8e5ef;border-radius:8px;background:#fff;padding:10px}.review-item-index{display:grid;width:24px;height:24px;place-items:center;border-radius:999px;background:#eef6fd;color:#1a3a5c;font-size:12px;font-weight:800}.review-item label{display:flex;min-width:0;flex-direction:column;gap:5px;color:#475569;font-size:11px;font-weight:800}.review-item-description{min-width:220px}.review-item input,.review-item select{width:100%;height:34px;border:1px solid #d6e0ea;border-radius:7px;background:#fff;color:#172033;padding:0 9px;outline:0}.review-item-check{align-items:flex-start;justify-content:center;min-height:34px}.review-item-check input{width:16px;height:16px;padding:0}.review-item-sku{grid-column:2 / -2;color:#64748b;font-size:11px}.mini-action{height:34px;border:1px solid #cfdcea;border-radius:7px;background:#f8fbff;color:#1a3a5c;font-weight:800}.add-item-action{align-self:flex-start;padding:0 14px}.form-actions{display:grid;grid-template-columns:150px 1fr;gap:10px}.category-bars{display:flex;flex-direction:column;gap:12px;margin-top:16px}.category-row{display:grid;grid-template-columns:150px 1fr 90px;align-items:center;gap:12px;font-size:13px}.category-row span{color:#344256;font-weight:700}.category-row small{display:block;margin-top:3px;color:#94a3b8;font-size:11px;font-weight:700}.category-row strong{color:#1a3a5c;text-align:right}.bar-track{height:10px;overflow:hidden;border-radius:999px;background:#e6edf4}.bar-track div{height:100%;border-radius:inherit;background:#4ade80}.insights-layout{display:grid;gap:18px;margin-top:16px}.insight-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.insight-kpis div{border:1px solid #dbe5ef;border-radius:8px;background:#fbfdff;padding:12px}.insight-kpis span,.insight-kpis strong{display:block}.insight-kpis span{color:#64748b;font-size:12px;font-weight:800}.insight-kpis strong{margin-top:6px;color:#0f2f4f;font-size:20px}.insight-block h3{margin:0 0 10px;color:#1a3a5c;font-size:15px}.reducible-list{display:grid;gap:8px}.reducible-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e0e8f0;border-radius:8px;background:#fffdf7;padding:10px 12px}.reducible-row strong,.reducible-row span{display:block}.reducible-row strong{color:#1a3a5c;font-size:13px}.reducible-row span{margin-top:3px;color:#64748b;font-size:12px}.reducible-row b{color:#1a3a5c;white-space:nowrap}.suggestion-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.suggestion-list li{border-left:3px solid #2f6f9f;border-radius:7px;background:#f7fbff;padding:10px 12px;color:#334155;font-size:13px;line-height:1.45}@media(max-width:760px){.agn-title-row,.toolbar{align-items:stretch;flex-direction:column}.agn-updated{white-space:normal}.metric-grid,.content-grid,.capture-grid,.expense-form,.filter-strip{grid-template-columns:1fr}.workspace{padding:16px 12px 32px}.panel,.metric-card{padding:14px}.receipt-row,.inbox-controls,.pagination-bar{align-items:stretch;flex-direction:column}.inbox-controls label{min-width:0}.pagination-bar button{width:100%}.row-actions{justify-content:flex-start}.row-actions button{flex:1 1 96px}.user-row{grid-template-columns:1fr}.category-row{grid-template-columns:1fr;gap:6px}.category-row strong{text-align:left}.form-actions,.capture-details,.review-item{grid-template-columns:1fr}.review-item-index,.review-item-sku{grid-column:auto}.insight-kpis{grid-template-columns:1fr}.reducible-row{align-items:flex-start;flex-direction:column}}
