@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{color:#14233a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f2f5f9;font-family:Manrope,Segoe UI,sans-serif}html,body,#root{width:100%;min-width:320px;height:100%}body{margin:0;overflow:hidden}button,input,textarea,select{font:inherit}.app-shell{flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.new-case-main{flex:1;min-height:0;overflow:auto}.header-logo{object-fit:contain;width:auto;max-width:180px;height:50px;display:block}.brand-wordmark{overflow-wrap:anywhere;font-weight:750;line-height:1.15}.header-wordmark{color:var(--brand-primary);font-size:clamp(18px,2.4vw,25px)}.new-case-page-header{background-image:linear-gradient(108deg, var(--brand-primary), var(--brand-primary-light))}.hero-stats>div{text-align:right;min-width:82px}.hero-stats strong,.hero-stats span{display:block}.hero-stats strong{color:#fff;font-size:18px;line-height:1}.hero-stats span{color:#eff7f2b8;white-space:nowrap;margin-top:3px;font-size:11px}.content-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.summary-grid{grid-template-columns:minmax(0,1.1fr) minmax(340px,.8fr)}.section-icon{width:34px;height:34px;color:var(--brand-primary);background:#eaf0f8;border-radius:6px;flex:0 0 34px;place-items:center;display:grid}.section-icon svg{font-size:19px}.company-selector{border-left:3px solid var(--brand-primary-light)!important}.company-selector-icon{width:32px;height:32px;color:var(--brand-primary-light);background:#eaf0f8;border-radius:6px;flex:0 0 32px;place-items:center;display:grid}.company-selector-icon svg{font-size:19px}.drop-zone{cursor:pointer;background:linear-gradient(#f8fbf9f0,#f8fbf9f0),repeating-linear-gradient(135deg,#dfe8e2 0 1px,#0000 1px 12px);border:1.5px dashed #aebeb3;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:150px;padding:18px 16px;transition:border-color .16s,background-color .16s,transform .16s;display:flex}.drop-zone:hover,.drop-zone.dragging{border-color:var(--brand-primary);background:#f1f5fa}.drop-zone.dragging{transform:translateY(-2px)}.drop-zone:focus-visible{outline:3px solid color-mix(in srgb, var(--brand-primary) 20%, transparent);outline-offset:2px}.upload-icon{width:38px;height:38px;color:var(--brand-primary);background:#e7eef8;border-radius:50%;place-items:center;margin-bottom:8px;display:grid}.file-row,.output-row{background:#fbfcfb;border:1px solid #e0e6e2;border-radius:7px;min-height:54px;padding:8px 12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;display:grid}.hero-action{min-width:164px!important;color:var(--brand-primary)!important;background:#f7f9fc!important;border-color:#ffffffb8!important}.hero-action:hover{background:#fff!important}.hero-action.Mui-disabled{color:#ffffff9e!important;background:0 0!important;border:1px solid #ffffff52!important}.hero-secondary-action{color:#fff!important;background:#ffffff14!important;border-color:#ffffff9e!important}.hero-secondary-action:hover{background:#ffffff2e!important;border-color:#fff!important}.hero-secondary-action.Mui-focusVisible,.hero-action.Mui-focusVisible{outline-offset:2px;outline:2px solid #fff}.hero-secondary-action.Mui-disabled{color:#ffffff9e!important;background:0 0!important;border-color:#ffffff52!important}.case-page-header{border:1px solid #749dd157;justify-content:space-between;align-items:center;gap:20px;min-height:76px;margin-bottom:12px;padding:12px 16px;display:flex;border-left:4px solid #72a4dc!important}.case-page-header-icon{color:#dceafb;background:#e0edfc24;border-radius:6px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.case-page-header-icon svg{font-size:21px}.case-page-header .MuiTypography-h5{font-size:20px;line-height:1.25}.case-page-header .MuiButton-root{flex:none}.history-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;display:grid;overflow:hidden}.history-stat{border-right:1px solid #dce3ec;align-items:center;gap:11px;min-width:0;min-height:70px;padding:9px 15px;display:flex}.history-stat:last-child{border-right:0}.history-stat-icon{width:32px;height:32px;color:var(--brand-primary-light);background:#eaf0f8;border-radius:5px;flex:0 0 32px;place-items:center;display:grid}.history-stat-icon svg{font-size:18px}.history-stat-label{color:#617084;display:block;letter-spacing:.055em!important;font-size:10px!important;font-weight:800!important;line-height:1.1!important}.history-stat-value{color:#14233a;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:2px!important;font-size:19px!important;font-weight:750!important;line-height:1.15!important}.history-stat-detail{display:block;margin-top:1px!important;font-size:10.5px!important;line-height:1.1!important}.history-toolbar{background:#fff;flex-wrap:wrap;align-items:center;gap:10px;min-height:62px;margin-bottom:12px;padding:10px;display:flex}.history-toolbar .MuiOutlinedInput-root{background:#f8fafc}.history-result-count{white-space:nowrap;padding:0 6px;margin-left:auto!important;font-weight:700!important}.history-table-frame{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.history-table-scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.history-table-frame .MuiTableHead-root{z-index:2;position:sticky;top:0}.history-table-frame .MuiTableHead-root .MuiTableCell-root{color:#26384f;white-space:nowrap;background:#f4f7fb;border-bottom:1px solid #cbd6e3;padding-top:9px;padding-bottom:9px;font-size:12px;font-weight:800}.history-table-frame .MuiTableBody-root .MuiTableCell-root{text-overflow:ellipsis;padding-top:7px;padding-bottom:7px;overflow:hidden}.history-table-frame .MuiTableRow-root:last-child .MuiTableCell-root{border-bottom:0}.history-table-frame .MuiTablePagination-root{background:#fff;border-top:1px solid #dce3ec;flex:none}.history-badge{max-width:100%;border:0!important;border-radius:5px!important;height:23px!important;font-size:11px!important;font-weight:700!important}.history-badge .MuiChip-label{text-overflow:ellipsis;overflow:hidden}.empty-history{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:260px;padding:36px 24px;display:flex}.empty-history>svg{color:#8ca195;margin-bottom:4px;font-size:44px}.empty-history .MuiButton-root{margin-top:10px}.login-shell{background:#fff;grid-template-columns:minmax(420px,1.05fr) minmax(440px,.95fr);width:100%;height:100dvh;display:grid;overflow:hidden}.login-brand-panel{color:#fff;background:var(--brand-primary);flex-direction:column;justify-content:space-between;min-width:0;padding:clamp(32px,5vw,72px);display:flex;position:relative;overflow:hidden}.login-brand-panel:after{content:"";background:repeating-linear-gradient(90deg,#ffffff09 0 1px,#0000 1px 38px);border-top:1px solid #ffffff1f;height:55%;position:absolute;inset:auto -12% -28% 20%;transform:rotate(-7deg)}.login-brand-content{z-index:1;flex-direction:column;justify-content:center;height:100%;display:flex;position:relative}.login-logo{object-fit:contain;object-position:left;max-width:min(440px,88%);max-height:170px;display:block}.login-logo.fuster-logo{width:min(440px,88%);max-height:none;margin-left:clamp(-52px,-4vw,-24px)}.login-wordmark,.loading-wordmark{color:#fff;font-size:clamp(32px,5vw,56px)}.login-brand-copy{max-width:560px;margin-top:clamp(20px,5vh,54px)}.login-brand-copy .MuiTypography-overline-root{color:#9ec3ee}.login-brand-copy .MuiTypography-h3{max-width:520px;margin-top:8px;font-size:clamp(32px,3vw,48px);line-height:1.08}.login-brand-copy .MuiTypography-body1{color:#ffffffb8;max-width:520px;margin-top:18px}.login-legal{z-index:1;color:#ffffff8f;position:relative}.login-form-panel{background:linear-gradient(145deg,#fff 0%,#f4f7fb 100%);justify-content:center;align-items:center;min-width:0;padding:clamp(28px,7vw,100px);display:flex}.login-form{flex-direction:column;gap:18px;width:min(430px,100%);display:flex}.login-lock{color:#fff;background:var(--brand-primary);width:48px;height:48px;box-shadow:0 8px 22px color-mix(in srgb, var(--brand-primary) 18%, transparent);border-radius:8px;place-items:center;display:grid}.auth-loading{background:var(--brand-primary);flex-direction:column;justify-content:center;align-items:center;gap:20px;width:100%;height:100dvh;display:flex}.loading-logo{object-fit:contain;max-width:min(320px,76vw);max-height:150px}@media (width<=800px){.content-grid,.summary-grid{grid-template-columns:1fr}.history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.history-stat:nth-child(2){border-right:0}.history-stat:nth-child(-n+2){border-bottom:1px solid #dce3ec}.history-toolbar{align-items:stretch}.history-result-count{width:100%;padding:2px 4px 0;margin-left:0!important}}@media (width<=860px){.header-logo{height:38px}.login-shell{grid-template-rows:210px minmax(0,1fr);grid-template-columns:1fr}.login-brand-panel{padding:18px 24px}.login-brand-content{align-items:center}.login-logo{object-position:center;max-height:85px;margin-bottom:12px}.login-logo.fuster-logo{width:260px;margin:-37px 0 -38px}.login-wordmark{margin-bottom:8px}.login-brand-copy{text-align:center;margin:0}.login-brand-copy .MuiTypography-overline-root,.login-brand-copy .MuiTypography-body1{display:none}.login-brand-copy .MuiTypography-h3{font-size:24px}.login-legal{display:none}.login-form-panel{align-items:flex-start;padding:28px 24px;overflow-y:auto}}@media (width<=560px){.form-grid{grid-template-columns:1fr}.form-grid>*{grid-column:1!important}.case-page-header{flex-direction:column;align-items:stretch;gap:11px;padding:13px}.case-page-header .MuiButton-root,.case-page-header .hero-action-slot,.new-case-page-header .hero-stats{width:100%}.new-case-page-header .hero-stats>div{text-align:left;flex:1}.company-selector .MuiButton-root{width:100%}.capture-mode-toggle{flex-direction:column}.capture-mode-toggle .MuiToggleButtonGroup-grouped{width:100%;border:1px solid #0000001f!important;border-radius:0!important}.capture-mode-toggle .MuiToggleButtonGroup-grouped:first-of-type{border-radius:7px 7px 0 0!important}.capture-mode-toggle .MuiToggleButtonGroup-grouped:last-of-type{border-top:0!important;border-radius:0 0 7px 7px!important}.drop-zone{min-height:140px;padding:14px 12px}.history-stat{gap:8px;padding:9px 10px}.history-stat-detail{display:none}.history-toolbar>.MuiFormControl-root{width:100%;min-width:100%}.history-table-frame .MuiTablePagination-selectLabel{display:none}}.app-footer{color:#8a97a8;letter-spacing:.02em;white-space:nowrap;background:#fff;border-top:1px solid #e3e9f1;flex:none;justify-content:flex-end;align-items:center;gap:6px;height:26px;padding:0 24px;font-size:11px;display:flex}.app-footer-brand{opacity:.82;border-radius:3px;align-items:center;padding:2px 3px;transition:opacity .15s;display:inline-flex}.app-footer-brand:hover{opacity:1}.app-footer-brand:focus-visible{opacity:1;outline:2px solid var(--brand-primary);outline-offset:1px}.app-footer-brand img{width:auto;height:12px;display:block}@media (width<=560px){.app-footer{justify-content:center;padding:0 16px}}.excel-drop-zone{color:#4f6178;text-align:center;cursor:pointer;background:#f8fafc;border:1.5px dashed #b8c6d8;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:148px;padding:20px 16px;transition:background-color .15s,border-color .15s;display:flex}.excel-drop-zone:hover{background:#f3f7fc;border-color:#5b7fae}.excel-drop-zone:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.excel-drop-zone[data-dragging]{border-color:var(--brand-primary);background:#eaf1fa;border-style:solid}.excel-drop-zone[aria-busy]{cursor:progress;border-style:solid}.excel-drop-zone-icon{color:#5b7fae;margin-bottom:2px;font-size:30px!important}.tutorial-highlight{transition:top .16s,left .16s,width .16s,height .16s;box-shadow:0 0 0 3px #f5c518,0 0 0 7px #f5c51852,0 0 0 200vmax #04122b9e}.tutorial-highlight-active{animation:1.6s ease-in-out infinite tutorial-pulse}@keyframes tutorial-pulse{50%{box-shadow:0 0 0 3px #f5c518,0 0 0 11px #f5c5182e,0 0 0 200vmax #04122b9e}}@media (prefers-reduced-motion:reduce){.tutorial-highlight{transition:none}.tutorial-highlight-active{animation:none}}
