/* Forewild workspace: readable data, blue brand accents, a single task surface. */
.compact-ui {
  --ink:#202c40;--muted:#64748b;--line:#e5eaf1;--brand:#0878f9;
  --clear-blue-ink:#202c40;--clear-blue-muted:#64748b;--clear-blue-brand:#0878f9;
  --clear-blue-border:#e5eaf1;--clear-blue-panel-solid:#fff;--clear-blue-hover:#f3f7fd;
  --clear-blue-brand-strong:#0064dc;--clear-blue-shadow:none;
  --wecom-ink:#202c40;--wecom-muted:#64748b;--wecom-border:#e5eaf1;
  margin:0;background:#f5f7fb;color:var(--ink);font:14px/1.5 "Segoe UI","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.compact-ui *{box-sizing:border-box}
.compact-ui .app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);margin:0;min-height:100dvh;border:0;border-radius:0;background:#f5f7fb;overflow:clip}
.compact-ui .sidebar{position:sticky;top:0;width:auto;height:100dvh;min-height:670px;background:#fff;border:0;border-right:1px solid var(--line);padding:32px 16px 24px;box-shadow:none;display:flex;flex-direction:column}
.compact-ui .sidebar .brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:0 4px 32px;margin:0;border:0}
.compact-ui .brand img{display:block;width:100%;max-width:188px;max-height:none;padding:0;height:auto;aspect-ratio:77/18;object-fit:contain;object-position:left;background:transparent;border-radius:0}
.compact-ui .brand>span{display:block;color:#768297;font-size:12px;font-weight:400;letter-spacing:1px;white-space:nowrap}
.compact-ui .sidebar nav{display:flex;flex-direction:column;gap:8px;margin:0}
.compact-ui .sidebar nav:before{display:none}
.compact-ui .sidebar .nav-item{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:46px;min-height:46px;padding:0 14px;margin:0;border:0;border-radius:9px;background:transparent;box-shadow:none;color:#5b687d;font-size:14px;font-weight:500;transition:background .15s,color .15s}
.compact-ui .sidebar .nav-item span{display:inline}
.compact-ui .sidebar .nav-item i{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:none;border-radius:0;color:inherit}
.compact-ui svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.compact-ui .sidebar .nav-item b{display:block;margin-left:auto;min-width:22px;padding:1px 6px;background:#f0f3f8;color:#69778d;border-radius:5px;font-size:11px;font-weight:500}
.compact-ui .sidebar .nav-item.active{background:#eaf3ff;color:#066adc;font-weight:600;box-shadow:none}
.compact-ui .sidebar .nav-item.active i{background:none;color:inherit}
.compact-ui .sidebar .nav-item.active b{background:#d6e8ff;color:#066adc}
.compact-ui .sidebar .nav-item:hover:not(.active){background:#f5f7fb;color:#253652}
.compact-ui .sidebar .nav-item[data-view="master"]{margin-top:26px}
.compact-ui .sidebar .sidebar-foot{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:auto;padding:20px 14px 0;border-top:1px solid var(--line)}
.compact-ui .sidebar-foot span{font-size:13px;font-weight:600;color:#526179}
.compact-ui .sidebar-foot small{font-size:10px;font-weight:400;color:#7e8a9d;letter-spacing:2px}
.compact-ui .page{min-width:0;margin:0;padding:0;background:#f5f7fb}
.compact-ui .page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:116px;height:auto;margin:0;padding:32px 36px 24px;background:transparent;border:0;box-shadow:none}
.compact-ui .page-head h1{margin:0;color:#202d43;font-size:28px;line-height:1.4;font-weight:650;letter-spacing:-.6px}
.compact-ui .breadcrumb,.compact-ui .page-subtitle,.compact-ui .head-actions .today{display:none}
.compact-ui .head-actions{display:flex;align-items:center;gap:14px;flex-wrap:nowrap}
.compact-ui .head-actions button,.compact-ui button.primary,.compact-ui button.outline-btn,.compact-ui .toolbar select{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;height:40px;padding:0 16px;border:1px solid #dce3ed;border-radius:7px;background:#fff;color:#42516a;box-shadow:none;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer}
.compact-ui button.primary{background:#0878f9;border-color:#0878f9;color:#fff;box-shadow:0 2px 3px #0878f915}
.compact-ui button.primary:hover{background:#0067df;border-color:#0067df;box-shadow:none;transform:none}
.compact-ui button.outline-btn:hover{background:#f5f8fd;border-color:#b9c8dd;box-shadow:none;transform:none}
.compact-ui button:disabled{opacity:.45;cursor:not-allowed}
.compact-ui button:focus-visible,.compact-ui summary:focus-visible,.compact-ui a:focus-visible,.compact-ui input:focus-visible,.compact-ui select:focus-visible{outline:2px solid #0878f9;outline-offset:3px;box-shadow:none}
.compact-ui[data-current-view="invoices"] #topUploadBtn{display:none}
.compact-ui main{width:auto;max-width:none;margin:0;padding:0 36px 24px;min-width:0}
.compact-ui .invoice-overview{display:grid;grid-template-columns:1fr 1fr 1fr 1.25fr;gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px 0;margin-bottom:28px;box-shadow:0 2px 4px #1c355403}
.compact-ui .invoice-overview article{padding:0 28px;border-right:1px solid #edf0f5;min-width:0}
.compact-ui .invoice-overview article:last-child{border:0}
.compact-ui .overview-label{display:flex;align-items:center;gap:7px;color:#637189;font-size:13px;margin-bottom:12px}
.compact-ui .overview-label i{width:6px;height:6px;border-radius:50%;background:#c58b2d}
.compact-ui .overview-confirmed .overview-label i{background:#218966}
.compact-ui .invoice-overview strong{font-size:30px;line-height:1.15;font-weight:600;letter-spacing:-.8px;font-variant-numeric:tabular-nums;color:#243550}
.compact-ui .overview-unit{font-size:12px;margin-left:8px;color:#7d899b}
.compact-ui .invoice-overview .overview-total{font-size:28px}
.compact-ui .workspace{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 4px #1c355403;overflow:visible}
.compact-ui .invoice-workflow-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;border-bottom:1px solid var(--line)}
.compact-ui .invoice-status-filters{display:flex;gap:28px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.compact-ui .invoice-status-filters button{padding:20px 0 17px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;font-family:inherit;font-size:14px;color:#66758c;white-space:nowrap;line-height:1.5}
.compact-ui .invoice-status-filters button[aria-pressed="true"]{border-bottom-color:#0878f9;color:#0670e7;background:transparent;font-weight:600}
.compact-ui #reviewNextInvoice{padding:0;border:0;height:36px;min-height:36px;font-size:13px;background:transparent;color:#086ddc}
.compact-ui .invoice-commandbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:22px 24px 8px;border:0;background:transparent;flex-wrap:wrap}
.compact-ui .invoice-command-primary{display:flex;align-items:center;gap:10px;flex:1;min-width:240px;flex-wrap:nowrap}
.compact-ui .invoice-quick-search{display:flex;align-items:center;flex:1;min-width:160px;max-width:340px;height:40px;padding:0 12px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#7f8ba0;box-shadow:none;gap:9px}
.compact-ui .invoice-quick-search:focus-within{border-color:#0878f9}
.compact-ui .invoice-quick-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#263750;font:inherit;font-size:13px;padding:0;height:36px;box-shadow:none}
.compact-ui input::placeholder{color:#7a879a;opacity:1}
.compact-ui .invoice-quick-search button{border:0;border-left:1px solid #e5eaf1;padding:0 0 0 9px;background:transparent;color:#536680;font:inherit;font-size:12px;cursor:pointer;height:20px;min-width:35px}
.compact-ui .toolbar-main-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin:0;padding:0}
.compact-ui .compact-menu{position:relative;flex:0 0 auto}
.compact-ui .compact-menu>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;list-style:none;border:1px solid #dce3ed;border-radius:7px;background:#fff;color:#42516a;font-size:14px;cursor:pointer;user-select:none}
.compact-ui summary::-webkit-details-marker{display:none}
.compact-ui .compact-menu[open]>summary{background:#f2f7ff;border-color:#aac9f4}
.compact-ui .compact-menu-panel{position:absolute;z-index:60;right:0;top:calc(100% + 8px);width:220px;display:flex;flex-direction:column;gap:5px;padding:10px;background:#fff;border:1px solid #e5eaf1;border-radius:10px;box-shadow:0 10px 32px #20355420;color:#42516a}
.compact-ui .compact-menu-panel .outline-btn{width:100%;text-align:left;justify-content:flex-start;border:0;background:transparent;font-size:13px;min-height:38px}
.compact-ui .compact-menu-panel label,.compact-ui .menu-caption{padding:6px 8px;font-size:12px;color:#64748b;white-space:normal}
.compact-ui .compact-menu-panel select{width:100%;margin-bottom:5px;height:40px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#344560;font:inherit;font-size:13px}
.compact-ui .account-menu>summary{border:1px solid #e5eaf1;gap:10px;padding:6px 10px 6px 6px;background:#fff;font-size:13px;color:#526179;border-radius:24px}
.compact-ui .account-menu>summary b{max-width:168px;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.compact-ui .user-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e8f2ff;color:#0969d2;font-size:13px;font-weight:600}
.compact-ui .invoice-result-summary{min-height:42px;padding:4px 24px 14px;color:#728097;font-size:12px}
.compact-ui .table-wrap{border:0;border-radius:0;background:#fff;overflow:auto}
.compact-ui .workspace .table-wrap table{width:100%;min-width:1050px;table-layout:fixed;border-collapse:collapse}
.compact-ui .workspace .table-wrap th{padding:14px 12px;background:#f8fafd;border-top:1px solid #edf0f5;border-bottom:1px solid #e7ecf3;color:#64748b;font-size:12px;letter-spacing:0;text-transform:none;font-weight:500;white-space:nowrap}
.compact-ui .workspace .table-wrap td{padding:23px 12px;border-bottom:1px solid #edf0f5;background:#fff;color:#344560;font-size:13px;line-height:1.65;vertical-align:middle}
.compact-ui .workspace .table-wrap tr:last-child td{border-bottom:0}
.compact-ui .workspace .table-wrap tr:hover td{background:#f8fbff}
.compact-ui .workspace .table-wrap tr.is-selected td{background:#f0f7ff}
.compact-ui .workspace .table-wrap th:nth-child(1){width:4%}
.compact-ui .workspace .table-wrap th:nth-child(2){width:22%}
.compact-ui .workspace .table-wrap th:nth-child(3){width:11%}
.compact-ui .workspace .table-wrap th:nth-child(4){width:11%}
.compact-ui .workspace .table-wrap th:nth-child(5){width:21%}
.compact-ui .workspace .table-wrap th:nth-child(8){width:10%;text-align:right}
.compact-ui .workspace .table-wrap th:nth-child(10){width:12%}
.compact-ui .workspace .table-wrap th:nth-child(11){width:9%}
.compact-ui .workspace .table-wrap th:nth-child(6),.compact-ui .workspace .table-wrap th:nth-child(7),.compact-ui .workspace .table-wrap th:nth-child(9),.compact-ui .workspace .table-wrap td:nth-child(6),.compact-ui .workspace .table-wrap td:nth-child(7),.compact-ui .workspace .table-wrap td:nth-child(9){display:none}
.compact-ui .workspace .table-wrap th:last-child,.compact-ui .workspace .table-wrap td:last-child{position:static;border-left:0;box-shadow:none}
.compact-ui .workspace .table-wrap th:first-child,.compact-ui .workspace .table-wrap td:first-child{padding-left:20px}
.compact-ui .workspace .table-wrap input[type="checkbox"]{width:16px;height:16px;min-width:16px;accent-color:#0878f9}
.compact-ui .invoice-file{display:flex;align-items:center;gap:12px;min-width:0}
.compact-ui .invoice-file-icon{display:grid;place-items:center;width:36px;height:42px;flex-shrink:0;border:1px solid #dceaff;border-radius:7px;background:#f1f7ff;color:#3389ed}
.compact-ui .invoice-file-icon svg{width:21px;height:21px;stroke-width:1.5}
.compact-ui .invoice-file-copy{min-width:0}
.compact-ui .workspace .file-name{font-size:14px;font-weight:600;max-width:100%;color:#2b3c57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-ui .workspace .meta-line{font-size:11px;color:#718099;line-height:1.6;margin-top:4px;overflow:hidden;text-overflow:ellipsis}
.compact-ui .workspace .party-cell strong{display:block;font-size:13px;font-weight:500;color:#344560;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-ui .workspace .party-cell>span{display:block;font-size:11px;color:#718099;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-ui .workspace .money-cell{font-variant-numeric:tabular-nums;text-align:right}
.compact-ui .workspace .money-cell strong{font-size:15px;font-weight:650;color:#243550}
.compact-ui .workspace .confidence{display:none}
.compact-ui .workspace .status{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:0;border-radius:5px;font-size:11px;line-height:1.6;font-weight:500}
.compact-ui .workspace .status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.compact-ui .workspace .status.reviewing{color:#93671d;background:#fff5df}
.compact-ui .workspace .status.confirmed,.compact-ui .workspace .status.exported{color:#197652;background:#eaf7ef}
.compact-ui .workspace .status.failed,.compact-ui .workspace .status.duplicate{color:#b24b48;background:#fff0ef}
.compact-ui .workspace .row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.compact-ui .workspace .detail{padding:5px 0;border:0;background:transparent;color:#0870e3;font-size:13px;font-weight:500}
.compact-ui .workspace .delete-row{width:24px;height:28px;border:0;border-radius:4px;background:transparent;color:#8b96a7;font-size:16px}
.compact-ui .workspace .delete-row:hover{background:#fff0ef;color:#b24b48}
.compact-ui .pagination{padding:18px 24px;border-top:1px solid var(--line);background:transparent;color:#718099;font-size:12px;gap:12px}
.compact-ui .pagination button,.compact-ui .pagination select{height:34px;min-height:34px;padding:0 11px;border:1px solid #e0e6ef;border-radius:6px;color:#52637d;background:#fff;font-size:12px}
.compact-ui .pagination b{font-weight:500;font-size:12px;color:#52637d}
.compact-ui .filter-panel{border:1px solid #e1e8f2;border-radius:8px;margin:0 24px 20px;padding:20px;background:#f8fafd}
.compact-ui .filter-panel label{font-size:12px;color:#5c6d86}
.compact-ui .filter-panel input,.compact-ui .filter-panel select{font-size:13px;min-height:40px;border:1px solid #dce4ef;border-radius:6px;background:#fff}
.compact-ui .batch-bar{border:1px solid #cce0ff;border-radius:7px;background:#eff6ff;margin:0 24px 16px;font-size:13px}
.compact-ui .organizer-panel{display:block;margin-top:22px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:none}
.compact-ui .organizer-panel>summary{display:flex;align-items:center;gap:12px;padding:18px 22px;list-style:none;color:#425570;font-size:14px;cursor:pointer}
.compact-ui .archive-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#f0f4fa;color:#627794}
.compact-ui .archive-summary-hint{color:#7a879b;font-size:12px;font-weight:400}
.compact-ui .organizer-panel>summary>svg{margin-left:auto;transition:transform .15s}
.compact-ui .organizer-panel[open]>summary>svg{transform:rotate(180deg)}
.compact-ui .organizer-content{padding:0 22px 22px}
.compact-ui .organizer-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:0}
.compact-ui .organizer-controls label{font-size:12px;color:#64748b}
.compact-ui .organizer-controls select{height:40px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;font-size:13px;color:#405370;min-width:180px}
.compact-ui footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:26px 2px 4px;margin:0;color:#7d899d;font-size:11px}
.compact-ui footer span{float:none}
.compact-ui footer a{color:#728199;text-decoration:none}
.compact-ui .section-kicker,.compact-ui .hero,.compact-ui #quickStart,.compact-ui .erp-section-head>div>p,.compact-ui .claim-board-head p{display:none}
.compact-ui .erp-section-head h2,.compact-ui .claim-board-head h2{font-size:20px;font-weight:600}
.compact-ui .erp-page-card,.compact-ui .claim-board,.compact-ui .finance-center,.compact-ui .work-grid>*,.compact-ui .wecom-panel{box-shadow:none;border:1px solid var(--line);background:#fff;border-radius:12px}
.compact-ui .work-grid{margin-top:0;gap:24px}
.compact-ui .dropzone{min-height:330px;background:#fff;border:1px dashed #aecbf0;border-radius:12px;box-shadow:none}
.compact-ui .dropzone h3{font-size:21px;font-weight:600;color:#293e5c}
.compact-ui .dropzone p{font-size:13px;color:#6b7c94;line-height:1.8}
.compact-ui .ocr-card{border-radius:12px;border:1px solid var(--line);font-size:14px}
/* Public product homepage; workspace styles remain scoped separately. */
@font-face{font-family:"Forewild Home";src:url("assets/fonts/forewild-home-motion1.woff2?v=20261014-motion2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
.compact-ui.is-locked{height:100dvh;min-height:0;overflow:hidden}
.compact-ui.is-locked .app-shell{display:none!important}
.compact-ui .auth-gate.product-home{--home-blue:#006de5;--home-ink:#121820;--home-muted:#586473;display:block;min-height:100dvh;height:100dvh;padding:0;background:#fff;color:var(--home-ink);overflow:auto;scroll-behavior:smooth;font-family:"Forewild Home","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.compact-ui .auth-gate.hidden{display:none}
.product-home *,.product-home *::before,.product-home *::after{box-sizing:border-box}
.product-home a{color:inherit;text-decoration:none}
.product-home button{font-family:inherit;cursor:pointer}
.product-home h1,.product-home h2,.product-home h3,.product-home p{margin:0;font-weight:400;text-wrap:balance}
.product-home .home-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px;padding:18px max(32px,calc((100% - 1360px)/2));border-bottom:1px solid #f0f2f6;background:#fffffff5}
.product-home .home-brand{display:flex;align-items:center;gap:22px;flex-shrink:0}
.product-home .home-brand img{display:block;width:220px;height:auto;aspect-ratio:77/18;object-fit:contain}
.product-home .home-brand>span{padding-left:22px;border-left:1px solid #dce1e7;font-size:20px;white-space:nowrap}
.product-home .home-nav{display:flex;align-items:center;gap:32px;font-size:16px}
.product-home .home-nav>a:hover,.product-home .home-more:hover{color:var(--home-blue)}
.product-home .home-button{display:inline-flex;align-items:center;justify-content:center;gap:32px;min-height:56px;padding:15px 32px;border:0;border-radius:99px;background:var(--home-blue);color:#fff;font-size:19px;font-weight:400;line-height:1.4;box-shadow:none;white-space:nowrap;transition:transform .2s ease,background .2s ease}
.product-home .home-button:hover{background:#0064d4;transform:translateY(-2px);box-shadow:none}
.product-home .home-button:active{transform:translateY(0) scale(.98)}
.product-home .home-button-small{min-height:44px;padding:10px 22px;font-size:16px;gap:16px}
.product-home .home-button:disabled{opacity:.65;cursor:wait}
.product-home :is(a,button):focus-visible{outline:3px solid #0064d4;outline-offset:5px}
.product-home .home-skip{position:absolute;left:20px;top:-100px;padding:12px 20px;background:#fff;z-index:10;border-radius:8px}
.product-home .home-skip:focus{top:10px}
.product-home .home-content{width:min(1280px,calc(100% - 80px));margin:0 auto;padding:0;background:transparent}
.product-home .home-hero{padding:52px 0 25px;text-align:center}
.product-home .home-hero h1{font-size:clamp(68px,6.3vw,108px);line-height:1.14;letter-spacing:-.025em}
.product-home .home-title-blue{position:relative;display:inline-block;color:var(--home-blue)}
.product-home .home-title-blue svg{position:absolute;bottom:-10px;left:0;width:100%;height:20px;fill:none;stroke:#99caff;stroke-width:4;stroke-linecap:round;transform-origin:left center;transition:transform .3s ease}
.product-home .home-intro{margin-top:27px;color:#4d596a;font-size:23px;line-height:1.5}
.product-home .home-actions{display:flex;justify-content:center;align-items:center;gap:32px;margin-top:26px}
.product-home .home-more{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#3f4b5d;font-size:18px}
.product-home .home-error{margin:20px auto 0;max-width:640px;font-family:"Microsoft YaHei",sans-serif;color:#a1271f;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.product-home .home-error:empty{display:none}
.product-home .home-stage{position:relative;scroll-margin-top:100px;margin-top:12px;border:1px solid #e8edf4;border-radius:32px;background:#f6f9fd;overflow:hidden}
.product-home .home-stage-art{position:relative;height:410px;isolation:isolate;overflow:hidden;--pointer-x:0;--pointer-y:0;perspective:1000px}
.product-home .home-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.product-home .home-orbit{position:absolute;z-index:-1;left:calc(50% - 270px);top:calc(50% - 270px);width:540px;height:540px;border:1px solid #deE9f8;border-radius:50%;transform:translate(calc(var(--pointer-x)*8px),calc(var(--pointer-y)*6px)) scaleY(.55) rotate(-15deg);transition:transform .25s ease-out}
.product-home .home-orbit-back{width:760px;height:760px;left:calc(50% - 380px);top:calc(50% - 380px);border-color:#e7eef9;transform:translate(calc(var(--pointer-x)*-6px),calc(var(--pointer-y)*-4px)) scaleY(.55) rotate(15deg)}
.product-home .home-ticket{position:absolute;left:8%;top:65px;width:175px;height:220px;padding:20px 19px;border:1px solid #dce4f1;border-radius:14px;background:#fff;box-shadow:0 16px 30px -15px #2b4c7a33;--card-angle:-9deg;--card-x:0px;--card-y:0px;--card-scale:1;--card-lift:0px;transform:translate3d(calc(var(--card-x) + var(--pointer-x)*-19px),calc(var(--card-y) + var(--pointer-y)*-13px + var(--card-lift)),0) rotate(var(--card-angle)) rotateY(calc(var(--pointer-x)*-5deg)) scale(var(--card-scale));transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .4s ease,border-color .25s ease}
.product-home .home-ticket b{display:block;margin-top:19px;font-size:22px;font-weight:400;white-space:nowrap}
.product-home .home-file-type{display:inline-flex;align-items:center;justify-content:center;height:29px;padding:0 8px;border:1px solid #f0c8c8;border-radius:6px;color:#b55050;font-size:16px}
.product-home .home-ticket-two{left:19%;top:117px;--card-angle:9deg}
.product-home .home-file-image{color:#4577b8;border-color:#ccdcf4}
.product-home .home-ticket-three{left:4%;top:157px;--card-angle:-16deg}
.product-home .home-file-zip{color:#98621a;border-color:#ead7ac}
.product-home .home-paper-lines{display:grid;gap:11px;margin-top:20px}.product-home .home-paper-lines i{height:4px;border-radius:3px;background:#e8edf5}.product-home .home-paper-lines i:nth-child(2){width:65%}.product-home .home-paper-lines i:nth-child(4){width:80%}
.product-home .home-paper-stamp{position:absolute;bottom:19px;right:18px;display:grid;place-items:center;width:40px;height:40px;border:2px solid #df9c9c;border-radius:50%;font-size:23px;color:#c88080;transform:rotate(-16deg)}
.product-home .home-picture{display:block;width:100%;height:70px;margin-top:20px;fill:#eaf1fc;stroke:#8aace0;stroke-width:3}.product-home .home-ticket-two b{margin-top:8px;font-size:20px}
.product-home .home-zipper{display:flex;flex-direction:column;align-items:center;gap:3px;margin:13px auto 0;width:22px}.product-home .home-zipper i{width:15px;height:8px;border:2px solid #c4cddc;border-radius:1px}.product-home .home-zipper i:nth-child(even){transform:translateX(6px)}
.product-home .home-stream{position:absolute;left:26%;right:23%;top:50%;display:flex;justify-content:space-around;gap:25px;border-top:1px dashed #a7c7f1;opacity:.65;transition:opacity .3s ease}.product-home .home-stream i{display:block;margin-top:-4px;width:7px;height:7px;background:#72aafa;border-radius:50%}
.product-home .home-engine{position:absolute;left:calc(50% - 76px);top:116px;width:152px;text-align:center}
.product-home .home-engine-inner{position:relative;display:grid;place-items:center;width:152px;height:152px;border:1px solid #fff;border-radius:38px;background:#fff;box-shadow:0 20px 45px -10px #297be430,0 0 0 14px #e7effb;overflow:hidden;transform:translate3d(calc(var(--pointer-x)*6px),calc(var(--pointer-y)*5px),0) rotateX(calc(var(--pointer-y)*-7deg)) rotateY(calc(var(--pointer-x)*9deg));transition:transform .3s ease-out,box-shadow .3s ease}
.product-home .home-engine-mark{display:block;width:90px;height:90px;background:url(assets/forewild-brand.png) left center/auto 90px no-repeat}
.product-home .home-engine>span{display:block;margin-top:30px;color:#235caa;font-size:20px}
.product-home .home-scan-beam{position:absolute;left:5%;top:0;width:90%;height:3px;box-shadow:0 -10px 18px 5px #7bb6ff35;background:#4b9dff;opacity:0}
.product-home .home-result{position:absolute;left:68%;top:62px;width:300px;padding:24px 24px 0;border:1px solid #d8e3ef;border-radius:20px;background:#fff;box-shadow:0 22px 45px -25px #163b7040;--result-y:0px;--result-angle:3deg;--result-scale:1;--result-lift:0px;transform:translate3d(calc(var(--pointer-x)*20px),calc(var(--pointer-y)*12px + var(--result-y) + var(--result-lift)),0) rotate(var(--result-angle)) rotateY(calc(var(--pointer-x)*5deg)) scale(var(--result-scale));transition:transform .5s cubic-bezier(.2,.7,.2,1),border-color .25s ease}
.product-home .home-result-top{display:flex;align-items:center;gap:13px;padding-bottom:20px;border-bottom:1px solid #edf0f6}.product-home .home-excel-symbol{display:grid;place-items:center;width:43px;height:50px;border-radius:8px;background:#1e855c;color:#fff;font-family:"Segoe UI",sans-serif;font-size:27px;font-weight:600}
.product-home .home-result-top strong{display:block;font-size:24px;font-weight:400}.product-home .home-result-top div>span{display:block;margin-top:4px;font-size:16px;color:#627064}.product-home .home-result-check{margin-left:auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5f5ec;color:#1a7c52;font-size:19px;opacity:.4;transform:scale(.85);transition:opacity .3s ease,transform .3s ease}
.product-home .home-result-rows>div{display:grid;grid-template-columns:1.9fr 1fr .4fr;gap:12px;align-items:center;min-height:51px;border-bottom:1px solid #edf1f5;font-size:18px;transition:transform .4s ease,color .3s ease,background .3s ease}.product-home .home-result-rows i{display:block;height:4px;background:#dae7f9;border-radius:3px;transition:background .3s ease}.product-home .home-result-bottom{display:flex;align-items:center;justify-content:space-between;padding:16px 0;color:#4173b3;font-size:16px}
.product-home .home-stage-bottom{display:flex;justify-content:center;padding:17px 24px;border-top:1px solid #e4ebf5;background:#ffffffb0}.product-home .home-demo-tabs{display:flex;gap:12px;padding:4px;border:1px solid #e3e9f1;border-radius:99px;background:#fff}
.product-home .home-demo-tabs button{min-width:96px;min-height:44px;padding:10px 24px;border:0;border-radius:99px;background:transparent;color:#50617a;font-size:18px;font-weight:400;box-shadow:none;transition:transform .2s ease,background .2s ease,color .2s ease}.product-home .home-demo-tabs button[aria-selected=true]{background:#eaf3ff;color:#075ebe}
.product-home .home-stage[data-home-step=recognize] .home-ticket{--card-x:35px;--card-y:-8px;--card-scale:.94;opacity:.75}.product-home .home-stage[data-home-step=recognize] .home-engine-inner{box-shadow:0 20px 45px -10px #297be440,0 0 0 16px #dceaff}.product-home .home-stage[data-home-step=recognize] .home-scan-beam{animation:home-scan-once 1.15s ease-out 1}
.product-home .home-stage[data-home-step=organize] .home-result{--result-y:-12px;--result-angle:0deg}.product-home .home-stage[data-home-step=organize] .home-result-rows>div{color:#075ebe;transform:translateX(-3px)}.product-home .home-stage[data-home-step=organize] .home-result-rows i{background:#8ab8f1}
.product-home .home-stage[data-home-step=export] .home-result{--result-y:-15px;--result-angle:0deg;--result-scale:1.04;border-color:#99c3ae}.product-home .home-stage[data-home-step=export] .home-result-check{opacity:1;transform:scale(1)}.product-home .home-stage[data-home-step=export] .home-result-rows i{background:#a6cfb7}
.product-home .home-feature{border:1px solid transparent;transition:transform .25s ease,border-color .25s ease}.product-home .home-more{position:relative}.product-home .home-more::after{content:"";position:absolute;bottom:5px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .2s ease}.product-home .home-more:hover::after{transform:scaleX(1)}
@media(hover:hover) and (pointer:fine){.product-home .home-ticket:hover{--card-lift:-15px;border-color:#a8c5eb}.product-home .home-result:hover{--result-lift:-12px;border-color:#a8c5eb}.product-home .home-demo-tabs button:hover{background:#f2f6fc;transform:translateY(-2px)}.product-home .home-demo-tabs button[aria-selected=true]:hover{background:#e3efff}.product-home .home-feature:hover,.product-home[data-home-reveal=ready] .home-feature[data-home-visible=true]:hover{transform:translateY(-5px);border-color:#d1dfef}}
@keyframes home-scan-once{0%{opacity:0;transform:translateY(0)}15%{opacity:1}85%{opacity:1;transform:translateY(140px)}100%{opacity:0;transform:translateY(148px)}}
.product-home .home-features{scroll-margin-top:110px;padding-top:120px}
.product-home .home-section-heading h2{font-size:clamp(44px,4.5vw,64px);line-height:1.2}.product-home .home-section-heading h2>span{color:#738097}
.product-home .home-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:44px}
.product-home .home-feature{position:relative;min-height:390px;padding:42px;border-radius:28px;background:#f4f6f9;overflow:hidden}
.product-home .home-feature h3{font-size:38px;line-height:1.25}.product-home .home-feature p{max-width:370px;margin-top:18px;color:var(--home-muted);font-size:18px;line-height:1.65;text-wrap:pretty}
.product-home .home-feature-wide{display:flex;align-items:center;justify-content:space-between;gap:30px;grid-column:1/-1;min-height:300px;background:#eaf3ff}
.product-home .home-format-art{display:flex;align-items:center;gap:20px;padding:20px}
.product-home .home-format-art>span{display:grid;place-items:center;width:95px;height:132px;border:1px solid #d7e5f8;border-radius:10px;background:#fff;box-shadow:0 15px 25px -15px #24508640;font-size:22px;color:#38619b;transform:rotate(-9deg);transition:transform .4s ease}
.product-home .home-format-art>span:nth-child(2){transform:translateY(-18px) rotate(4deg)}.product-home .home-format-art>span:nth-child(3){transform:rotate(-4deg)}.product-home .home-format-art>span:nth-child(4){transform:translateY(15px) rotate(10deg)}
.product-home .home-feature-wide:hover .home-format-art>span{transform:translateY(-10px) rotate(0deg)}
.product-home .home-sort-art{display:flex;flex-wrap:wrap;gap:12px;margin-top:46px}.product-home .home-sort-art span{padding:13px 20px;border:1px solid #d7e2f1;border-radius:10px;background:#fff;font-size:20px;color:#476c9f;transform:rotate(-3deg)}.product-home .home-sort-art span:nth-child(2){transform:translateY(-10px) rotate(4deg)}
.product-home .home-sheet-art{margin:28px 0 -60px 48px;padding:24px 25px 50px;max-width:350px;border:1px solid #d8e5df;border-radius:14px;background:#fff;transform:rotate(-5deg);color:#2f7055;font-size:24px}.product-home .home-sheet-art i{display:block;margin-top:17px;height:1px;background:#dcebe1}
.product-home .home-workflow{scroll-margin-top:110px;display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:130px 0}
.product-home .home-workflow h2{font-size:clamp(44px,4.5vw,64px);line-height:1.2}.product-home .home-workflow>div>p{font-size:20px;color:var(--home-muted);margin-top:25px}
.product-home .home-steps{list-style:none;padding:0;margin:0}.product-home .home-steps li{display:flex;gap:28px;align-items:flex-start;padding:25px 0;border-top:1px solid #e6ebf1}.product-home .home-steps li>span{font-size:20px;color:#0074ee}.product-home .home-steps h3{font-size:28px}.product-home .home-steps p{margin-top:10px;color:var(--home-muted);font-size:18px;line-height:1.7}
.product-home .home-closing{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:55px 0;border-top:1px solid #e3e9f1;background:transparent;color:var(--home-ink)}.product-home .home-closing h2{font-size:clamp(32px,3.5vw,46px);line-height:1.3}.product-home .home-closing .home-button{flex-shrink:0}
.compact-ui .product-home .home-footer{display:flex;align-items:center;justify-content:space-between;width:min(1280px,calc(100% - 80px));padding:35px 0;margin:0 auto;color:#5a687b;font-size:14px}.product-home .home-footer>div{display:flex;gap:24px}
.product-home[data-home-reveal=ready] [data-home-reveal]{opacity:0;transform:translateY(26px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.product-home[data-home-reveal=ready] [data-home-visible=true]{opacity:1;transform:none}
.compact-ui .local-login-dialog{width:min(460px,calc(100% - 32px));padding:36px 30px;background:#fff;border:1px solid #e8e8ed;border-radius:24px;max-height:calc(100dvh - 32px);overflow:auto}
.compact-ui .local-login-dialog .login-card{width:100%;margin:0;padding:0;border:0;box-shadow:none}
.compact-ui .local-login-dialog .login-brand{display:block;width:min(280px,100%);height:auto;margin:0 auto 24px}
.compact-ui .local-login-dialog .login-card h2{font-size:24px;margin:0 0 20px}
.compact-ui .local-login-dialog .login-icon,.compact-ui .local-login-dialog .section-kicker{display:none}
.compact-ui .local-login-dialog .home-dialog-close{position:absolute;top:8px;right:10px;width:32px;height:32px;background:transparent;border:0;font-size:24px;color:#626269}










@media(max-width:1000px){
 .product-home .home-header{padding:16px 28px}.product-home .home-brand img{width:180px}.product-home .home-nav{gap:22px}.product-home .home-content{width:calc(100% - 48px)}
 .product-home .home-hero{padding-top:45px}.product-home .home-stage-art{height:370px}.product-home .home-ticket{width:140px;height:190px;padding:17px;left:5%}.product-home .home-ticket-two{left:16%;top:120px}.product-home .home-ticket-three{left:3%;top:150px}.product-home .home-ticket b{font-size:18px}
 .product-home .home-engine{top:108px;left:calc(50% - 58px);width:116px}.product-home .home-engine-inner{width:116px;height:116px;border-radius:30px}.product-home .home-engine-mark{width:74px;height:74px;background-size:auto 74px}.product-home .home-engine>span{font-size:17px}.product-home .home-result{left:auto;right:3%;width:236px;padding:18px 18px 0;top:55px}.product-home .home-result-top strong{font-size:21px}.product-home .home-result-rows>div{font-size:16px;min-height:48px}.product-home .home-result-bottom{font-size:14px}
 .product-home .home-feature{padding:32px;min-height:370px}.product-home .home-feature-wide{min-height:270px}.product-home .home-feature h3{font-size:32px}.product-home .home-feature p{font-size:17px}.product-home .home-format-art{gap:12px;padding:0}.product-home .home-format-art>span{width:60px;height:95px;font-size:17px}.product-home .home-workflow{gap:45px}.product-home .home-sort-art{gap:9px}.product-home .home-sort-art span{padding:10px 12px;font-size:17px}
}
@media(max-width:700px){
 .product-home .home-header{min-height:68px;padding:13px 20px;gap:16px}.product-home .home-brand{gap:12px}.product-home .home-brand img{width:145px}.product-home .home-brand>span{font-size:17px;padding-left:12px}.product-home .home-nav>a{display:none}.product-home .home-button-small{min-height:40px;padding:9px 15px;font-size:15px;gap:9px}
 .product-home .home-content{width:calc(100% - 32px)}.product-home .home-hero{padding:42px 0 28px}.product-home .home-hero h1{font-size:clamp(57px,12vw,80px);line-height:1.18}.product-home .home-title-blue svg{bottom:-8px;height:15px}.product-home .home-intro{font-size:20px;margin-top:25px}.product-home .home-actions{gap:20px;margin-top:23px}.product-home .home-button{font-size:17px;min-height:50px;padding:13px 23px;gap:20px}.product-home .home-more{font-size:15px;gap:8px}.product-home .home-nav .home-button{min-height:40px;padding:9px 15px;font-size:15px;gap:9px}
 .product-home .home-stage{border-radius:22px;margin-top:6px}.product-home .home-stage-art{height:400px}.product-home .home-orbit{left:calc(50% - 220px);top:calc(50% - 230px);width:440px;height:440px}.product-home .home-orbit-back{width:620px;height:620px;left:calc(50% - 310px);top:calc(50% - 310px)}
 .product-home .home-ticket{left:9%;top:35px;width:112px;height:145px;padding:12px;}.product-home .home-ticket b{margin-top:12px;font-size:16px}.product-home .home-file-type{height:24px;font-size:13px}.product-home .home-paper-lines{margin-top:13px;gap:8px}.product-home .home-paper-lines i{height:3px}.product-home .home-paper-stamp{width:28px;height:28px;font-size:16px;right:12px;bottom:10px}.product-home .home-ticket-two{left:16%;top:60px;}.product-home .home-ticket-three{left:5%;top:103px;}.product-home .home-picture{height:45px;margin-top:12px}.product-home .home-ticket-two b{font-size:15px}.product-home .home-zipper{margin-top:12px;gap:2px}.product-home .home-zipper i{width:12px;height:6px}
 .product-home .home-engine{left:calc(50% - 46px);top:256px;width:92px}.product-home .home-engine-inner{width:92px;height:92px;border-radius:24px;box-shadow:0 15px 30px -10px #297be440,0 0 0 10px #e4efff}.product-home .home-engine-mark{width:60px;height:60px;background-size:auto 60px}.product-home .home-engine>span{font-size:16px;margin-top:18px}.product-home .home-stream{left:24%;right:24%;top:235px;transform:rotate(-26deg)}
 .product-home .home-result{left:auto;right:5%;top:42px;width:154px;padding:13px 12px 0;border-radius:13px}.product-home .home-result-top{gap:7px;padding-bottom:12px}.product-home .home-excel-symbol{width:26px;height:33px;font-size:20px;border-radius:5px}.product-home .home-result-top strong{font-size:17px}.product-home .home-result-top div>span{font-size:12px}.product-home .home-result-check{width:18px;height:18px;font-size:14px}.product-home .home-result-rows>div{grid-template-columns:1.6fr .5fr;gap:8px;min-height:37px;font-size:14px}.product-home .home-result-rows i:last-child{display:none}.product-home .home-result-bottom{font-size:12px;padding:12px 0}
 .product-home .home-stage-bottom{padding:14px 10px}.product-home .home-demo-tabs{gap:3px}.product-home .home-demo-tabs button{min-width:66px;min-height:44px;padding:9px 14px;font-size:16px}
 .product-home .home-features{padding-top:75px}.product-home .home-section-heading h2{font-size:44px}.product-home .home-feature-grid{grid-template-columns:1fr;margin-top:30px;gap:16px}.product-home .home-feature-wide{grid-column:auto;display:block;min-height:390px}.product-home .home-feature{min-height:350px;padding:29px;border-radius:22px}.product-home .home-feature h3{font-size:32px}.product-home .home-feature p{font-size:17px}.product-home .home-format-art{justify-content:center;gap:14px;margin-top:45px}.product-home .home-format-art>span{width:57px;height:87px;font-size:16px}.product-home .home-sort-art{margin-top:40px}.product-home .home-sheet-art{margin-left:25px}
 .product-home .home-workflow{grid-template-columns:1fr;gap:38px;padding:80px 12px}.product-home .home-workflow h2{font-size:44px}.product-home .home-workflow>div>p{font-size:18px;margin-top:20px}.product-home .home-steps h3{font-size:25px}.product-home .home-steps p{font-size:17px}.product-home .home-closing{flex-direction:column;align-items:flex-start;gap:24px;padding:36px 10px}.product-home .home-closing h2{font-size:33px}.compact-ui .product-home .home-footer{width:calc(100% - 40px);padding:28px 0;font-size:12px}.product-home .home-footer>div{gap:16px}
}
@media(max-width:360px){.product-home .home-demo-tabs button{min-width:60px;padding:9px 12px}.product-home .home-header{padding:12px 14px;gap:10px}.product-home .home-brand img{width:118px}.product-home .home-brand{gap:9px}.product-home .home-brand>span{padding-left:9px;font-size:15px}.product-home .home-nav .home-button{padding:9px 12px;font-size:14px;gap:6px}.product-home .home-hero h1{font-size:56px}.product-home .home-actions{gap:14px}.product-home .home-more{font-size:14px}.product-home .home-stage-art{height:380px}.product-home .home-result{right:3%;width:140px}.product-home .home-ticket{left:6%;width:100px}.product-home .home-ticket-two{left:12%}.product-home .home-ticket-three{left:3%}.product-home .home-result-top strong{font-size:15px}.product-home .home-result-rows>div{font-size:13px}.product-home .home-format-art{gap:10px}.product-home .home-format-art>span{width:48px;font-size:14px}}

@media(prefers-reduced-motion:reduce){.compact-ui .auth-gate.product-home{scroll-behavior:auto}.product-home *,.product-home *::before,.product-home *::after{animation:none!important;transition:none!important}.product-home[data-home-reveal=ready] [data-home-reveal]{opacity:1;transform:none}.product-home .home-scan-beam{opacity:0}.product-home .home-button:hover{transform:none}}


.product-home[data-home-reduced=true] .home-stage-art{--pointer-x:0!important;--pointer-y:0!important}
@media(prefers-reduced-motion:reduce){.product-home .home-ticket,.product-home .home-result,.product-home .home-engine-inner{transition:none}.product-home .home-ticket:hover{--card-lift:0px}.product-home .home-result:hover{--result-lift:0px}.product-home .home-feature:hover{transform:none!important}}
@media(max-width:1200px){
  .compact-ui .app-shell{grid-template-columns:200px minmax(0,1fr)}
  .compact-ui .sidebar{padding-left:12px;padding-right:12px}
  .compact-ui main{padding:0 24px 24px}
  .compact-ui .page-head{padding:28px 24px 22px}
  .compact-ui .invoice-overview article{padding:0 20px}
  .compact-ui .invoice-commandbar{gap:12px}
  .compact-ui .invoice-command-primary{min-width:220px}
  .compact-ui .toolbar-main-actions{gap:6px}
}
@media(max-width:800px){
  .compact-ui .app-shell{display:block;margin:0;border:0;border-radius:0;min-height:100dvh;overflow:visible}
  .compact-ui .sidebar{position:sticky;top:0;width:100%;height:auto;min-height:0;padding:8px 12px;border:0;border-bottom:1px solid var(--line);background:#fff;z-index:35}
  .compact-ui .sidebar .brand,.compact-ui .sidebar .sidebar-foot{display:none}
  .compact-ui .sidebar nav{flex-direction:row;gap:4px;overflow-x:auto;scrollbar-width:none}
  .compact-ui .sidebar .nav-item{width:auto;min-width:max-content;flex:0 0 auto;gap:7px;height:40px;min-height:40px;padding:0 12px;font-size:13px}
  .compact-ui .sidebar .nav-item[data-view="master"]{margin-top:0}
  .compact-ui .sidebar .nav-item b{display:none}
  .compact-ui .page{padding:0}
  .compact-ui .page-head{min-height:90px;padding:22px 16px;align-items:center;gap:10px}
  .compact-ui .page-head h1{font-size:24px;white-space:nowrap}
  .compact-ui .head-actions{gap:8px;flex-wrap:nowrap}
  .compact-ui .account-menu>summary b{display:none}
  .compact-ui .head-actions #teamBtn,.compact-ui .head-actions #recycleBtn,.compact-ui .head-actions #accountBtn{display:flex}
  .compact-ui .head-actions .hidden{display:none!important}
  .compact-ui main{padding:0 16px 16px;width:auto;margin:0}
  .compact-ui .invoice-overview{grid-template-columns:1fr 1fr;padding:0;margin-bottom:20px}
  .compact-ui .invoice-overview article{padding:18px 20px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}
  .compact-ui .invoice-overview article:nth-child(even){border-right:0}
  .compact-ui .invoice-overview article:nth-child(n+3){border-bottom:0}
  .compact-ui .overview-label{font-size:12px;margin-bottom:10px}
  .compact-ui .invoice-overview strong,.compact-ui .invoice-overview .overview-total{font-size:26px}
  .compact-ui .invoice-commandbar{gap:12px;align-items:stretch;flex-direction:column;padding:16px 16px 8px}
  .compact-ui .invoice-command-primary{width:100%;min-width:0}
  .compact-ui .invoice-quick-search{max-width:none}
  .compact-ui .invoice-commandbar .toolbar-main-actions{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;width:100%;gap:6px}
  .compact-ui .invoice-commandbar .toolbar-main-actions>button,.compact-ui .invoice-commandbar .toolbar-main-actions>details{width:100%;min-width:0;margin:0;padding-left:6px;padding-right:6px;font-size:12px}
  .compact-ui #invoiceAddFiles svg{display:none}
  .compact-ui .toolbar-main-actions>details>summary{padding:0 6px;font-size:12px;gap:3px}
  .compact-ui .invoice-commandbar .toolbar-main-actions>details{padding:0}
  .compact-ui .invoice-workflow-bar{gap:4px;align-items:flex-start;flex-wrap:wrap;padding:0 16px}
  .compact-ui .invoice-status-filters{gap:22px;width:100%}
  .compact-ui .invoice-status-filters button{font-size:13px;padding:16px 0 13px}
  .compact-ui #reviewNextInvoice{margin:0 0 6px 0;height:30px;min-height:30px}
  .compact-ui .invoice-result-summary{padding:4px 16px 12px}
  .compact-ui .workspace .table-wrap table{display:table;min-width:1050px;border-collapse:collapse}
  .compact-ui .workspace .table-wrap thead{display:table-header-group}
  .compact-ui .workspace .table-wrap tbody{display:table-row-group}
  .compact-ui .workspace .table-wrap tr{display:table-row;border:0;border-radius:0;margin:0;padding:0;background:transparent;box-shadow:none}
  .compact-ui .workspace .table-wrap th,.compact-ui .workspace .table-wrap td{display:table-cell;width:auto;min-width:0;max-width:none;border-radius:0}
  .compact-ui .workspace .table-wrap td:before{display:none;content:none}
  .compact-ui .workspace .table-wrap td:nth-child(6),.compact-ui .workspace .table-wrap td:nth-child(7),.compact-ui .workspace .table-wrap td:nth-child(9),.compact-ui .workspace .table-wrap th:nth-child(6),.compact-ui .workspace .table-wrap th:nth-child(7),.compact-ui .workspace .table-wrap th:nth-child(9){display:none}
  .compact-ui .workspace .table-wrap td:first-child{position:static;padding:18px 12px;background:transparent}
  .compact-ui .workspace .table-wrap td{padding:18px 12px}
  .compact-ui .pagination{padding:16px;gap:10px;flex-wrap:wrap}
  .compact-ui .pagination>div{gap:6px;flex-wrap:wrap}
  .compact-ui .filter-panel,.compact-ui .batch-bar{margin-left:16px;margin-right:16px}
  .compact-ui .organizer-panel>summary{padding:16px;gap:9px}
  .compact-ui .archive-summary-hint{font-size:11px}
  .compact-ui .organizer-content{padding:0 16px 18px}
  .compact-ui .organizer-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}
  .compact-ui .organizer-controls label{min-width:0}
  .compact-ui .organizer-controls select{width:100%;min-width:0;max-width:100%;font-size:12px}
  .compact-ui .organizer-controls .check-label{grid-column:1/-1}
  .compact-ui footer{font-size:10px;gap:10px}
  .compact-ui .compact-menu-panel{max-width:calc(100vw - 32px)}
  .compact-ui .work-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.compact-ui *{transition:none!important;animation:none!important}}
/* Homepage only: calm upload workspace and useful next steps. */
.compact-ui .dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 0 30px}
.compact-ui .dashboard-welcome h2{margin:0 0 10px;color:#263853;font-size:32px;line-height:1.3;letter-spacing:-1px;font-weight:600}
.compact-ui .dashboard-welcome p{margin:0;color:#78859a;font-size:14px}
.compact-ui .dashboard-steps{display:flex;align-items:center;gap:14px;color:#7a8799;font-size:12px}
.compact-ui .dashboard-steps span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.compact-ui .dashboard-steps b{display:grid;place-items:center;width:23px;height:23px;background:#e9eef5;border-radius:50%;font-size:11px;font-weight:500;color:#71829b}
.compact-ui .dashboard-steps span:first-child{color:#0878f9}
.compact-ui .dashboard-steps span:first-child b{background:#e2efff;color:#0878f9}
.compact-ui .dashboard-steps i{width:22px;height:1px;background:#d8e0eb}
.compact-ui[data-current-view="dashboard"] #topUploadBtn{display:none}
.compact-ui[data-current-view="dashboard"] .page-head{padding-bottom:8px;min-height:92px}
.compact-ui[data-current-view="dashboard"] .page-head h1{font-size:20px;font-weight:500;color:#687990;letter-spacing:0}
.compact-ui[data-current-view="dashboard"] .work-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:24px;margin:0}
.compact-ui[data-current-view="dashboard"] .dropzone{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:394px;padding:36px 24px;border:1px dashed #bad3f3;border-radius:16px;background:linear-gradient(145deg,#fff 30%,#f0f6ff);box-shadow:0 4px 20px #263d6503;transform:none}
.compact-ui[data-current-view="dashboard"] .dropzone:hover,.compact-ui[data-current-view="dashboard"] .dropzone.drag{border-color:#0878f9;background:#f2f7ff}
.compact-ui[data-current-view="dashboard"] .dropzone:focus-visible{outline:2px solid #0878f9;outline-offset:4px}
.compact-ui[data-current-view="dashboard"] .upload-icon{width:68px;height:68px;flex:0 0 68px;border-radius:19px;background:#e9f2ff;color:#0878f9;box-shadow:0 5px 12px #327deb0a}
.compact-ui[data-current-view="dashboard"] .upload-icon svg{width:36px;height:36px;stroke-width:1.5}
.compact-ui[data-current-view="dashboard"] .upload-copy{text-align:center;min-width:0}
.compact-ui[data-current-view="dashboard"] .dropzone h3{margin:0 0 10px;font-size:23px;font-weight:600;color:#2c405f}
.compact-ui[data-current-view="dashboard"] .dropzone .upload-copy p{margin:0;font-size:13px;line-height:1.7;color:#74839a}
.compact-ui[data-current-view="dashboard"] .upload-limit{display:block;margin-top:6px;font-size:11px;color:#8b97a9}
.compact-ui[data-current-view="dashboard"] .upload-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;width:auto;margin:2px 0 0}
.compact-ui[data-current-view="dashboard"] .upload-actions button{margin:0;min-width:0;min-height:42px;height:42px;flex:none;padding:0 18px;border-radius:8px;font-size:13px}
.compact-ui[data-current-view="dashboard"] .upload-actions .text-link{background:transparent;border:0}
.compact-ui[data-current-view="dashboard"] .folder-batch-summary{margin:0;font-size:11px;line-height:1.6;color:#8291a7;text-align:center;font-weight:400}
.compact-ui[data-current-view="dashboard"] .ocr-card{min-width:0;padding:27px 26px;border:1px solid #e5eaf1;border-radius:16px;background:#fff;box-shadow:0 4px 20px #263d6503}
.compact-ui[data-current-view="dashboard"] .card-title{align-items:center;gap:8px;font-size:16px;font-weight:600;color:#2e405b}
.compact-ui[data-current-view="dashboard"] .card-title>div{display:flex;align-items:center;gap:8px}
.compact-ui[data-current-view="dashboard"] .live-dot{width:6px;height:6px;margin:0;background:#0878f9;box-shadow:none;animation:none}
.compact-ui[data-current-view="dashboard"] .pill{padding:4px 8px;font-size:10px;border-radius:5px;font-weight:500;white-space:nowrap}
.compact-ui[data-current-view="dashboard"] .meter{height:5px;margin:24px 0 12px;border-radius:4px;background:#eff3f9}
.compact-ui[data-current-view="dashboard"] .meter i{background:#0878f9;border-radius:4px}
.compact-ui[data-current-view="dashboard"] #progressText{font-size:12px;color:#78889d;line-height:1.6}
.compact-ui[data-current-view="dashboard"] .batch-metrics{gap:0;margin-top:22px;padding:17px 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}
.compact-ui[data-current-view="dashboard"] .batch-metrics span{padding:0 12px;border:0;border-right:1px solid #edf1f6;border-radius:0;background:transparent;color:#78889d;font-size:11px;text-align:center}
.compact-ui[data-current-view="dashboard"] .batch-metrics span:first-child{padding-left:0}
.compact-ui[data-current-view="dashboard"] .batch-metrics span:last-child{padding-right:0;border-right:0}
.compact-ui[data-current-view="dashboard"] .batch-metrics b{margin-top:7px;color:#344966;font-size:22px;line-height:1.2;font-weight:500;font-variant-numeric:tabular-nums}
.compact-ui[data-current-view="dashboard"] .ocr-queue-head{margin-top:22px;color:#596f8a;font-size:12px}
.compact-ui[data-current-view="dashboard"] .ocr-queue-head button{font-size:12px;font-weight:400}
.compact-ui[data-current-view="dashboard"] .queue-empty{padding:22px 10px;color:#7d8ba0;font-size:12px;background:#f8fafd;border-radius:8px}
.compact-ui[data-current-view="dashboard"] .ocr-queue-list{max-height:210px;overflow:auto}
.compact-ui[data-current-view="dashboard"] .batch-review-btn{margin-top:16px;width:100%;font-size:13px}
.compact-ui .dashboard-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
.compact-ui .dashboard-shortcuts button{display:flex;align-items:center;gap:14px;width:100%;padding:24px 20px;border:1px solid #e5eaf1;border-radius:12px;background:#fff;color:#405575;text-align:left;font-family:inherit;cursor:pointer;transition:background .16s,border-color .16s}
.compact-ui .dashboard-shortcuts button:hover{background:#fafdff;border-color:#b5d3fa}
.compact-ui .shortcut-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#edf4ff;color:#377dcf}
.compact-ui .dashboard-shortcuts button:nth-child(2) .shortcut-symbol{background:#eef7f4;color:#429078}
.compact-ui .dashboard-shortcuts button:nth-child(3) .shortcut-symbol{background:#f2f0fb;color:#8b78b4}
.compact-ui .shortcut-symbol svg{width:22px;height:22px}
.compact-ui .dashboard-shortcuts strong{display:block;color:#3c4f6a;font-size:14px;font-weight:600}
.compact-ui .dashboard-shortcuts small{display:block;margin-top:5px;color:#8290a4;font-size:11px}
.compact-ui .shortcut-arrow{width:13px;height:13px;margin-left:auto;color:#a1aebe}
@media(max-width:1100px){
 .compact-ui .dashboard-welcome h2{font-size:29px}
 .compact-ui .dashboard-steps{gap:8px}.compact-ui .dashboard-steps i{width:12px}
 .compact-ui[data-current-view="dashboard"] .work-grid{grid-template-columns:minmax(0,1.2fr) minmax(285px,1fr);gap:18px}
 .compact-ui[data-current-view="dashboard"] .dropzone{padding:30px 18px}
 .compact-ui[data-current-view="dashboard"] .upload-actions button{padding:0 12px}
 .compact-ui[data-current-view="dashboard"] .ocr-card{padding:24px 20px}
 .compact-ui .dashboard-shortcuts{gap:12px}.compact-ui .dashboard-shortcuts button{padding:20px 16px;gap:10px}
 .compact-ui .shortcut-arrow{display:none}
}
@media(max-width:800px){
 .compact-ui .dashboard-welcome{padding:14px 0 24px;display:block}
 .compact-ui .dashboard-welcome h2{font-size:27px}.compact-ui .dashboard-welcome p{font-size:12px}
 .compact-ui .dashboard-steps{margin-top:20px;font-size:11px;gap:12px}
 .compact-ui[data-current-view="dashboard"] .page-head{padding-top:16px;padding-bottom:10px;min-height:74px}
 .compact-ui[data-current-view="dashboard"] .page-head h1{font-size:18px}
 .compact-ui[data-current-view="dashboard"] .work-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .compact-ui[data-current-view="dashboard"] .dropzone{min-height:350px;padding:28px 16px;gap:18px}
 .compact-ui[data-current-view="dashboard"] .dropzone h3{font-size:21px}
 .compact-ui[data-current-view="dashboard"] .dropzone .upload-copy p{font-size:12px}
 .compact-ui[data-current-view="dashboard"] .upload-actions{gap:7px;width:100%}
 .compact-ui[data-current-view="dashboard"] .upload-actions button{padding:0 12px;font-size:12px}
 .compact-ui[data-current-view="dashboard"] .ocr-card{padding:24px 20px}
 .compact-ui .dashboard-shortcuts{grid-template-columns:1fr;gap:10px;margin-top:20px}
 .compact-ui .dashboard-shortcuts button{padding:18px 20px}.compact-ui .shortcut-arrow{display:block}
}
@media(prefers-reduced-motion:reduce){.compact-ui .dashboard-shortcuts button{transition:none}}

/* No teaching copy while idle; processing results remain visible. */
.compact-ui #folderBatchSummary:empty,.compact-ui #progressText:empty{display:none}
