:root{--orange:#e07c3e;--orange-light:#fef6f0;--navy:#1a3a5c;--navy-light:#2a5080;--navy-dark:#122940;--bg:#f3f4f6;--surface:#fff;--surface2:#f9fafb;--border:#e5e7eb;--border-strong:#d1d5db;--text:#111827;--text-2:#4b5563;--text-3:#9ca3af;--radius:8px;--radius-lg:12px;--sidebar-w:250px;--header-h:56px;--green:#059669;--green-bg:#ecfdf5;--red:#dc2626;--red-bg:#fef2f2;--blue:#2563eb;--blue-bg:#eff6ff;--purple:#7c3aed;--purple-bg:#f5f3ff;--amber:#d97706;--amber-bg:#fffbeb}*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;background:#f3f4f6;background:var(--bg);color:#111827;color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.5}.app{display:flex;flex-direction:column;min-height:100vh}.app-body{display:flex;flex:1 1}.app-header{background:#122940;background:var(--navy-dark);border-bottom:1px solid #ffffff14;height:56px;height:var(--header-h);justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:100}.app-header,.header-logo{align-items:center;display:flex}.header-logo{gap:12px}.logo-mark{align-items:center;background:#e07c3e;background:var(--orange);border-radius:8px;color:#fff;display:flex;flex-shrink:0;font-size:16px;font-weight:700;height:32px;justify-content:center;width:32px}.header-brand{color:#fff;font-size:15px;font-weight:600;letter-spacing:-.02em}.header-sub{color:#ffffff80;font-size:11px;margin-top:1px}.header-right{gap:12px}.file-chip,.header-right{align-items:center;display:flex}.file-chip{background:#ffffff1a;border-radius:100px;color:#ffffffd9;font-size:12px;gap:6px;padding:5px 14px}.file-chip svg{height:14px;opacity:.7;width:14px}.reset-btn{background:#ffffff14;border:1px solid #ffffff26;border-radius:6px;color:#ffffffd9;cursor:pointer;font-size:12px;font-weight:500;padding:6px 14px;transition:all .15s}.reset-btn:hover{background:#ffffff26}.sidebar{background:#fff;background:var(--surface);border-right:1px solid #e5e7eb;border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;height:calc(100vh - 56px);height:calc(100vh - var(--header-h));overflow-y:auto;padding:16px 0;position:sticky;top:56px;top:var(--header-h);width:250px;width:var(--sidebar-w)}.sidebar-section{margin-bottom:8px;padding:0 12px}.sidebar-label{color:#9ca3af;color:var(--text-3);font-size:10px;font-weight:600;letter-spacing:.08em;padding:8px 12px 6px;text-transform:uppercase}.sidebar-item{align-items:center;background:none;border:none;border-radius:6px;color:#4b5563;color:var(--text-2);cursor:pointer;display:flex;font-size:13px;font-weight:450;gap:10px;padding:8px 12px;text-align:left;transition:all .12s;width:100%}.sidebar-item:hover{background:#f9fafb;background:var(--surface2);color:#111827;color:var(--text)}.sidebar-item.active{background:#eff6ff;background:var(--blue-bg);color:#2563eb;color:var(--blue);font-weight:550}.sidebar-item svg{flex-shrink:0;height:18px;opacity:.65;width:18px}.sidebar-item.active svg{opacity:1}.sidebar-divider{background:#e5e7eb;background:var(--border);height:1px;margin:8px 12px}.sidebar-footer{border-top:1px solid #e5e7eb;border-top:1px solid var(--border);margin-top:auto;padding:12px}.sidebar-footer-text{color:#9ca3af;color:var(--text-3);font-size:11px;line-height:1.5;padding:4px 12px}.upload-main{align-items:center;background:#f3f4f6;background:var(--bg);display:flex;flex:1 1;flex-direction:column;gap:2rem;justify-content:center;padding:3rem 1.5rem}.upload-zone{background:#fff;background:var(--surface);border:2px dashed #d1d5db;border:2px dashed var(--border-strong);border-radius:16px;cursor:pointer;max-width:540px;padding:3.5rem 2rem;text-align:center;transition:all .2s;width:100%}.upload-zone.drag,.upload-zone:hover{background:#fef6f0;background:var(--orange-light);border-color:#e07c3e;border-color:var(--orange)}.upload-icon{color:#9ca3af;color:var(--text-3);height:56px;margin:0 auto 20px;width:56px}.upload-title{color:#111827;color:var(--text);font-size:18px;font-weight:600;margin-bottom:8px}.upload-sub{color:#4b5563;color:var(--text-2);font-size:13px;line-height:1.6;margin:0 auto;max-width:380px}.upload-btn{background:#e07c3e;background:var(--orange);border-radius:8px;box-shadow:0 1px 3px #e07c3e4d;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:500;margin-top:24px;padding:10px 28px;transition:all .15s}.upload-btn:hover{background:#c96930;box-shadow:0 4px 12px #e07c3e40;transform:translateY(-1px)}.api-key-section{background:#fff;background:var(--surface);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;max-width:540px;padding:20px 24px;width:100%}.api-key-label{display:block;font-weight:500;margin-bottom:8px}.api-key-input,.api-key-label{color:#111827;color:var(--text);font-size:13px}.api-key-input{background:#f9fafb;background:var(--surface2);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:8px;outline:none;padding:9px 12px;transition:border-color .15s;width:100%}.api-key-input:focus{border-color:#2563eb;border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1a}.api-key-hint{color:#9ca3af;color:var(--text-3);font-size:11px;margin-top:6px}.dashboard{flex:1 1;max-width:1200px;overflow-y:auto;padding:24px 28px 48px;width:100%}.section-header{margin-bottom:20px;padding-top:8px}.section-header:not(:first-child){border-top:1px solid #e5e7eb;border-top:1px solid var(--border);margin-top:36px;padding-top:28px}.section-title{color:#111827;color:var(--text);font-size:17px;font-weight:600;letter-spacing:-.02em}.section-desc{color:#9ca3af;color:var(--text-3);font-size:13px;margin-top:4px}.kpi-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(4,1fr);margin-bottom:24px}.kpi-card{background:#fff;background:var(--surface);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);display:flex;flex-direction:column;gap:12px;padding:20px;transition:box-shadow .15s}.kpi-card:hover{box-shadow:0 4px 12px #0000000f}.kpi-top{align-items:flex-start;display:flex;justify-content:space-between}.kpi-icon{align-items:center;border-radius:10px;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.kpi-icon svg{height:20px;width:20px}.kpi-icon.green{background:#ecfdf5;background:var(--green-bg);color:#059669;color:var(--green)}.kpi-icon.blue{background:#eff6ff;background:var(--blue-bg);color:#2563eb;color:var(--blue)}.kpi-icon.orange{background:#fffbeb;background:var(--amber-bg);color:#d97706;color:var(--amber)}.kpi-icon.purple{background:#f5f3ff;background:var(--purple-bg);color:#7c3aed;color:var(--purple)}.kpi-icon.red{background:#fef2f2;background:var(--red-bg);color:#dc2626;color:var(--red)}.kpi-badge{align-items:center;border-radius:100px;display:flex;font-size:11px;font-weight:500;gap:3px;padding:2px 8px}.kpi-badge.up{background:#ecfdf5;background:var(--green-bg);color:#059669;color:var(--green)}.kpi-badge.neutral{background:#f9fafb;background:var(--surface2);color:#9ca3af;color:var(--text-3)}.kpi-badge.down{background:#fef2f2;background:var(--red-bg);color:#dc2626;color:var(--red)}.kpi-value{color:#111827;color:var(--text);font-size:28px;font-weight:700;letter-spacing:-.03em;line-height:1}.kpi-label{color:#4b5563;color:var(--text-2);font-size:13px;font-weight:450}.kpi-sub{color:#9ca3af;color:var(--text-3);font-size:11px;margin-top:-4px}.chart-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(2,1fr);margin-bottom:16px}.chart-card{background:#fff;background:var(--surface);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);overflow:visible;padding:20px;transition:box-shadow .15s}.chart-card:hover{box-shadow:0 4px 12px #0000000f}.chart-card-full{background:#fff;background:var(--surface);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);margin-bottom:16px;padding:20px}.chart-card-full:hover{box-shadow:0 4px 12px #0000000f}.chart-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:16px}.chart-title{color:#111827;color:var(--text);font-size:14px;font-weight:600}.chart-sub{font-size:11px;margin-top:2px}.chart-badge,.chart-sub{color:#9ca3af;color:var(--text-3)}.chart-badge{background:#f9fafb;background:var(--surface2);border-radius:100px;font-size:10px;font-weight:500;padding:3px 8px}.chart-legend{border-top:1px solid #e5e7eb;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:14px;padding-top:10px}.legend-item{align-items:center;color:#4b5563;color:var(--text-2);display:flex;font-size:11px;gap:6px;line-height:1.3;max-width:100%}.legend-item span:last-child{word-break:break-word}.legend-dot{border-radius:2px;flex-shrink:0;height:8px;width:8px}.ratings-container{margin-top:8px}.rating-row{align-items:center;display:flex;gap:12px;margin-bottom:12px}.rating-label{color:#4b5563;color:var(--text-2);flex-shrink:0;font-size:13px;line-height:1.3;width:240px}.rating-bar-bg{background:#f9fafb;background:var(--surface2);border-radius:100px;flex:1 1;height:8px;overflow:hidden}.rating-bar-fill{border-radius:100px;height:100%;transition:width .8s cubic-bezier(.4,0,.2,1)}.rating-val{color:#111827;color:var(--text);font-size:14px;font-weight:600;min-width:36px;text-align:right}.policy-grid{margin-top:8px}.policy-row{align-items:center;border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border);display:flex;flex-wrap:wrap;gap:16px;padding:12px 0}.policy-row:last-child{border-bottom:none}.policy-name{color:#4b5563;color:var(--text-2);flex:1 1;font-size:13px;font-weight:450;min-width:220px}.policy-badges{display:flex;flex-wrap:wrap;gap:6px}.policy-badge{border-radius:6px;font-size:11px;font-weight:500;padding:4px 10px}.insights-box{background:#fff;background:var(--surface);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:12px;border-radius:var(--radius-lg);margin-bottom:16px;padding:24px}.insights-header{align-items:center;border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border);display:flex;gap:12px;margin-bottom:20px;padding-bottom:16px}.insights-title{color:#111827;color:var(--text);font-size:16px;font-weight:600}.ai-badge{align-items:center;background:#f5f3ff;background:var(--purple-bg);border-radius:100px;color:#7c3aed;color:var(--purple);display:flex;font-size:10px;font-weight:600;gap:4px;letter-spacing:.04em;padding:4px 10px}.insight-block{background:#f9fafb;background:var(--surface2);border:1px solid #e5e7eb;border:1px solid var(--border);border-radius:8px;margin-bottom:16px;padding:16px}.insight-block:last-child{margin-bottom:0}.insight-tag{border-radius:4px;display:inline-block;font-size:10px;font-weight:600;letter-spacing:.04em;margin-bottom:8px;padding:3px 8px}.insight-text{color:#111827;color:var(--text);font-size:13px;line-height:1.7}.insight-text strong{font-weight:600}.ai-loading{padding:3rem 1rem;text-align:center}.spinner{animation:spin .8s linear infinite;border:2.5px solid #e5e7eb;border-top-color:#7c3aed;border:2.5px solid var(--border);border-radius:50%;border-top-color:var(--purple);height:24px;margin:0 auto 14px;width:24px}@keyframes spin{to{transform:rotate(1turn)}}.ai-loading-text{color:#9ca3af;color:var(--text-3);font-size:13px}.error-box{background:#fef2f2;background:var(--red-bg);border:1px solid #fecaca;border-radius:8px;color:#dc2626;color:var(--red);font-size:13px;line-height:1.5;padding:14px 16px}.api-inline{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.generate-btn{background:#1a3a5c;background:var(--navy);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:9px 18px;transition:all .15s}.generate-btn:hover{background:#2a5080;background:var(--navy-light)}.app-footer{background:#122940;background:var(--navy-dark);color:#fff6;display:flex;font-size:11px;justify-content:space-between;padding:14px 28px}@media (max-width:1024px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.chart-grid{grid-template-columns:1fr}.sidebar{width:220px}}@media (max-width:768px){.sidebar{display:none}.dashboard{padding:16px}.app-header{padding:0 16px}.kpi-grid{grid-template-columns:1fr 1fr}.kpi-value{font-size:22px}.rating-label{width:160px}.chart-grid{grid-template-columns:1fr}.app-footer{flex-direction:column;gap:4px}}@media (max-width:480px){.kpi-grid{grid-template-columns:1fr}}
/*# sourceMappingURL=main.fd2f877d.css.map*/