@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#123c73;--blue:#1c5ba8;--blue2:#e9f2ff;--green:#16845b;--ink:#17263c;--muted:#66758a;--line:#dfe6ef;--pale:#f5f8fc;--white:#fff;--shadow:0 22px 60px rgba(22,49,86,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}.site-header{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 max(calc((100% - 1160px)/2),5.5%);border-bottom:1px solid #e8edf4;background:rgba(255,255,255,.95);position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:10px;font:800 23px Manrope,sans-serif;letter-spacing:-1px;white-space:nowrap}.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--navy);color:white;display:grid;place-items:center;font:800 20px Manrope;box-shadow:inset 0 -3px 0 #0a2c59}.brand-accent{color:var(--green)}.nav-links{display:flex;gap:32px;color:#4e5f75;font-size:14px}.nav-links a:hover,.text-link:hover{color:var(--blue)}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:1px solid transparent;border-radius:9px;padding:13px 19px;font:700 14px 'DM Sans';cursor:pointer;transition:transform .18s,box-shadow .18s,background .18s}.button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 22px #123c7320}.button-small{padding:10px 14px;font-size:13px}.button-primary{background:var(--navy);color:#fff}.button-outline{background:white;border-color:#ccd8e8;color:var(--navy)}.button:disabled{opacity:.45;cursor:not-allowed}.hero{max-width:1160px;margin:auto;min-height:560px;padding:76px 0 62px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px}.hero-copy{padding-bottom:8px}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--green);font-size:11px;font-weight:700;letter-spacing:1.5px}.eyebrow-dot{width:8px;height:8px;border-radius:50%;background:#20a675;box-shadow:0 0 0 4px #dff5ec}.hero h1{font:800 clamp(43px,5.1vw,65px)/1.09 Manrope,sans-serif;letter-spacing:-2.9px;margin:24px 0 22px;color:#14263e}.hero h1 span{color:var(--blue)}.hero-free-cta{display:inline-flex;align-items:center;justify-content:center;margin-top:56px;padding:9px 28px;background:#0879c9;color:#fff;font-size:26px;line-height:1.35;border:1px solid #0879c9;border-radius:0}.hero-art-caption{position:absolute;right:-25px;top:-38px;width:min(680px,125%);margin:0;padding:0;color:#111;font-size:25px;line-height:1.45;font-weight:400;z-index:6}.hero-lede{font-size:17px;line-height:1.85;color:var(--muted);max-width:520px;margin:0}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:30px}.text-link{font-weight:700;color:#42546b;font-size:14px}.trust-points{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:33px;font-size:12px;color:#6b788b}.trust-points i{font-style:normal;color:var(--green);font-weight:700;margin-right:5px}.hero-art{min-height:380px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 48% 50%,#e8f2ff 0,rgba(239,246,255,.65) 38%,transparent 72%)}.paper{position:absolute;left:7%;top:60px;width:45%;height:265px;background:#fff;border:1px solid #dce5ef;border-radius:11px;box-shadow:var(--shadow);padding:22px 20px;transform:rotate(-3deg);z-index:2}.paper-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.mini-logo{display:grid;place-items:center;background:#e8f2ff;color:var(--navy);font-weight:800;font-size:11px;width:28px;height:28px;border-radius:7px}.paper-tag{font-size:10px;letter-spacing:2px;font-weight:800;color:#536780}.paper-line{height:7px;background:#e8edf4;border-radius:5px;margin:12px 0}.paper-line.long{width:95%}.paper-line.medium{width:70%}.paper-line.short{width:45%}.paper-gap{height:15px}.paper-row{display:flex;justify-content:space-between;border-bottom:1px solid #e4eaf2;padding:8px 0;font-size:8px;color:#78869a}.paper-total{display:flex;justify-content:space-between;margin-top:22px;padding-top:10px;border-top:1px solid #e4eaf2;font-size:10px}.paper-total b{color:var(--green)}.cheque-card{position:absolute;left:3%;bottom:20px;width:190px;height:112px;background:linear-gradient(145deg,#fff,#f4f8fc);border:1px solid #cddbea;border-radius:8px;box-shadow:0 12px 28px rgba(22,49,86,.15);z-index:4;transform:rotate(-5deg);padding:10px 11px;color:#42546b}.cheque-card-head{display:flex;align-items:center;justify-content:space-between;font-size:6px;letter-spacing:.8px;font-weight:800;color:var(--navy)}.cheque-bank-mark{display:grid;place-items:center;width:19px;height:19px;border-radius:5px;background:var(--navy);color:white;font-size:10px}.cheque-card-line{height:4px;border-radius:3px;background:#dfe7f1;margin-top:9px}.cheque-payee{width:65%}.cheque-amount{width:42%}.cheque-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:5px}.cheque-card-bottom b{font-size:8px;color:var(--green)}.cheque-signature{width:42px;border-top:1px solid #7d8da2;transform:rotate(-12deg);margin:8px 0 0 auto}.transform-arrow{position:absolute;left:47%;top:44%;z-index:4;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:white;font-size:23px;box-shadow:0 7px 18px #16845b55}.sheet{position:absolute;right:2%;top:110px;width:47%;height:225px;background:white;border:1px solid #dbe5ef;border-radius:10px;box-shadow:var(--shadow);z-index:3;overflow:hidden;transform:rotate(2deg)}.sheet-title{display:flex;align-items:center;gap:8px;padding:13px;border-bottom:1px solid var(--line);font-size:11px;font-weight:700}.excel-mark{color:#178653;font-size:18px}.sheet-title small{margin-left:auto;font-size:8px;color:var(--green);letter-spacing:.6px}.sheet-grid{display:grid;grid-template-columns:1.5fr .55fr 1fr;font-size:8px}.sheet-grid>*{padding:12px 7px;border-right:1px solid #e4eaf2;border-bottom:1px solid #e4eaf2}.sheet-grid span{background:#f1f6fb;font-weight:700;color:#607086}.sheet-grid em{font-style:normal;color:var(--green);background:#f0fbf6}.float-label{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1px solid #e1e8f0;border-radius:10px;box-shadow:0 10px 30px #17345a15;z-index:5}.float-label b,.float-label small{display:block}.float-label b{font-size:11px}.float-label small{font-size:9px;color:#8794a5;margin-top:3px}.label-document{left:0;top:22px}.label-ready{right:0;bottom:22px}.file-icon{font-size:9px;font-weight:800;color:#d44b45;background:#fff0ee;border-radius:5px;padding:9px 6px}.status-dot{width:7px;height:7px;background:#22a675;border-radius:50%;margin-left:4px}.ready-icon{display:grid;place-items:center;width:29px;height:29px;background:#e2f7ed;color:var(--green);border-radius:8px;font-weight:800}.art-orb{position:absolute;border-radius:50%;border:1px solid #d8e7fa}.orb-one{width:340px;height:340px}.orb-two{width:260px;height:260px}.section-wrap{max-width:1160px;margin:auto}.tool-section{padding:78px 0 95px}.section-heading{text-align:center;max-width:690px;margin:0 auto 38px}.section-heading .eyebrow{justify-content:center}.section-heading h2,.security-inner h2,.cta-inner h2{font:800 clamp(29px,3vw,38px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px;margin:15px 0;color:#182a42}.section-heading p{margin:0;color:var(--muted);font-size:15px}.tool-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tool-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:14px;padding:26px 25px 24px;min-height:260px;background:#fff;transition:transform .2s,box-shadow .2s,border-color .2s}.tool-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px #123c7310;border-color:#b7cde7}.tool-card.featured{border-color:#b9d3f4;background:linear-gradient(150deg,#f4f8ff,#fff 72%)}.tool-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:22px;margin-bottom:22px}.invoice-icon{background:#e6efff;color:#245da5}.cheque-icon{background:#e2f7ee;color:#16845b}.table-icon{background:#f2eaff;color:#7d54bd}.card-kicker,.step-count{font-size:10px;letter-spacing:1.2px;font-weight:700;color:#74849a}.tool-card h3{font:700 18px Manrope;margin:8px 0}.tool-card p{color:var(--muted);font-size:13px;line-height:1.7;margin:0 0 18px}.card-link{margin-top:auto;font-size:12px;color:var(--blue);font-weight:700}.card-link b{margin-left:5px}.coming-soon{position:absolute;right:18px;top:18px;font-size:9px;font-weight:700;color:#61738b;background:#f1f4f8;border-radius:20px;padding:5px 8px}.workspace-section{padding:83px 0 94px;background:var(--pale);border-top:1px solid #edf1f7;border-bottom:1px solid #edf1f7}.workspace-heading{margin-bottom:35px}.workspace{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px}.upload-panel,.results-panel{background:white;border:1px solid var(--line);border-radius:13px;padding:23px;min-width:0;box-shadow:0 8px 28px #163d6d08}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:19px;border-bottom:1px solid #e9eef5}.panel-top>div{display:flex;align-items:center;gap:10px;font-size:13px}.step-number{display:grid;place-items:center;width:28px;height:28px;background:#eaf2ff;border-radius:8px;color:var(--blue);font-size:11px;font-weight:800}.file-limit,.preview-badge{font-size:9px;letter-spacing:.5px;color:#6f7e91;font-weight:700}.mode-tabs{display:flex;gap:7px;margin:18px 0}.mode-tab{border:1px solid var(--line);background:white;color:#607087;border-radius:7px;padding:8px 12px;font:600 11px 'DM Sans';cursor:pointer}.mode-tab.active{border-color:#a8c6ef;background:#eff5ff;color:var(--navy)}.drop-zone{min-height:220px;border:1.5px dashed #b9cce3;border-radius:11px;background:#f9fbfe;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;cursor:pointer;transition:border .2s,background .2s}.drop-zone.dragover{border-color:var(--blue);background:#eff6ff}.upload-symbol{display:grid;place-items:center;width:46px;height:46px;background:#e8f1ff;border-radius:14px;color:var(--blue);font-size:25px;margin-bottom:13px}.drop-zone strong{font-size:13px}.drop-zone>span:not(.upload-symbol):not(.button){font-size:10px;color:#7b899c;margin-top:6px}.drop-zone input{display:none}.browse-button{margin-top:17px;padding:8px 14px;font-size:11px}.selected-file{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;margin-top:12px}.selected-file-name{font-size:12px;overflow-wrap:anywhere;flex:1}.icon-button{border:0;background:#f1f4f8;border-radius:6px;font-size:19px;cursor:pointer}.notice{display:flex;gap:10px;margin:15px 0;background:#fff9e9;border:1px solid #f4e8c4;padding:11px;border-radius:8px;color:#8b6b20}.notice>span{font-size:16px}.notice p{font-size:10px;line-height:1.6;margin:0}.notice b{font-size:11px}.extract-button{width:100%;justify-content:space-between;margin-top:3px}.upload-footnote{text-align:center;font-size:9px;color:#9aa4b2;margin:12px 0 0}.preview-toolbar{display:flex;align-items:center;gap:10px;padding:17px 0}.preview-toolbar>span:nth-child(2) b,.preview-toolbar small{display:block}.preview-toolbar>span:nth-child(2) b{font-size:11px}.preview-toolbar small{font-size:9px;color:#8995a6;margin-top:2px}.preview-status{margin-left:auto;font-size:9px;color:#6d7e91}.preview-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e4a43b;margin-right:4px}.table-scroll{overflow:auto;border:1px solid #e0e7f0;border-radius:7px}.data-table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;min-width:300px}.data-table th{background:#f0f5fb;color:#4d6078;font-size:10px}.data-table th,.data-table td{padding:12px 10px;border-bottom:1px solid #e7edf4;border-right:1px solid #e7edf4}.data-table td[contenteditable=true]{outline:none}.data-table td[contenteditable=true]:focus{box-shadow:inset 0 0 0 2px #80aee9;background:#f6faff}.total-row{font-weight:700;background:#f8fafc}.invoice-remarks-wrap{margin:12px 0 14px;padding:10px 12px;border:1px solid #dfe6ef;border-radius:7px;background:#fbfcfe}.invoice-remarks-wrap label{display:block;margin-bottom:6px;font-size:10px;font-weight:700;letter-spacing:.04em;color:#52647b}.invoice-remarks-wrap textarea{display:block;width:100%;min-height:48px;resize:vertical;border:1px solid #d9e2ec;border-radius:5px;padding:8px 9px;font:11px 'DM Sans',sans-serif;color:#17263c;outline:none}.invoice-remarks-wrap textarea:focus{border-color:#80aee9;box-shadow:0 0 0 2px rgba(128,174,233,.16)}.review-note{font-size:10px;color:#718097;margin:13px 0 18px;display:flex;align-items:flex-start;gap:7px}.review-note span{color:var(--green)}.upload-action-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:stretch;margin-top:3px}.upload-action-row .extract-button{width:100%;margin-top:0}.upload-action-row .clear-document-button{width:auto;min-width:112px;justify-content:center;gap:8px;margin-top:0;padding-left:15px;padding-right:15px}.clear-document-button:hover{background:#f5f8fc;border-color:#aebfd2}.invoice-remarks-wrap{margin:16px 0 17px;padding:13px 14px;border:1px solid #a9c8ee;border-left:4px solid #477fc3;border-radius:9px;background:linear-gradient(110deg,#eff6ff 0%,#f8fbff 100%);box-shadow:0 3px 10px rgba(54,104,169,.07)}.invoice-remarks-wrap label{display:flex;align-items:center;gap:7px;margin-bottom:8px;font-size:11px;font-weight:850;letter-spacing:.055em;color:#24558f}.invoice-remarks-wrap label:before{content:'✎';display:grid;place-items:center;width:21px;height:21px;border-radius:6px;background:#dceaff;color:#245b9b;font-size:12px}.invoice-remarks-wrap textarea{background:#fff;border:1px solid #c8d9ed;min-height:58px;font-size:11px}.invoice-remarks-wrap textarea::placeholder{color:#8294aa}.button-download{width:100%;justify-content:space-between;border-color:#bcd7cb;background:#f0fbf6;color:#16774f}.steps-section{padding:86px 0 100px}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.steps-grid article{padding:26px;border:1px solid var(--line);border-radius:12px}.step-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e9f2ff;color:var(--blue);font-size:21px;margin-bottom:21px}.steps-grid h3{font:700 18px Manrope;margin:9px 0}.steps-grid p{font-size:13px;color:var(--muted);margin:0}.security-section{background:#f4f8fc;padding:75px 0}.security-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:90px;align-items:center}.security-inner h2{max-width:470px}.security-inner>div:first-child>p{color:var(--muted);font-size:14px;line-height:1.85;max-width:520px}.security-list{display:grid;gap:15px}.security-list>div{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #e4eaf2;border-radius:10px;padding:16px}.security-list>div>span{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:9px;background:#e5f5ed;color:var(--green);font-size:17px}.security-list p{margin:0}.security-list b,.security-list small{display:block}.security-list b{font-size:12px}.security-list small{font-size:11px;color:#77869a;margin-top:5px;line-height:1.6}.pricing-section{padding:85px 0 95px}.pricing-card{max-width:760px;margin:auto;border:1px solid #dce5ef;border-radius:14px;padding:28px 30px;box-shadow:0 10px 35px #123c7309}.plan-label{font-size:10px;letter-spacing:1px;font-weight:800;color:var(--green)}.pricing-card h3{font:700 22px Manrope;margin:8px 0}.pricing-card>div:first-child p{color:var(--muted);font-size:13px;margin:0}.credits{display:flex;gap:45px;padding:25px 0;margin-top:22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.credits>div{display:flex;align-items:center;gap:12px}.credits b{font:800 34px Manrope;color:var(--navy)}.credits span{font-size:12px;color:#687990;max-width:100px;line-height:1.4}.pricing-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px}.pricing-bottom>span{font-size:10px;color:#78869a;max-width:400px}.final-cta{background:var(--navy);color:white;padding:62px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-inner .eyebrow{color:#86e0bd}.cta-inner h2{color:white;margin:13px 0}.cta-inner p{color:#c5d3e6;font-size:13px;margin:0}.button-light{background:white;color:var(--navy);white-space:nowrap}.site-footer{max-width:1160px;margin:auto;min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;color:#7d8b9d;font-size:11px}.site-footer .brand{font-size:19px;color:var(--ink)}.site-footer .brand-mark{width:29px;height:29px;font-size:17px}
@media(max-width:1220px){.hero,.section-wrap,.site-footer{margin-left:5%;margin-right:5%}.hero{gap:20px}.hero-art{transform:scale(.96)}}@media(max-width:850px){.hero-art-caption{right:0;top:-30px;width:100%;font-size:18px}.hero-free-cta{font-size:20px;margin-top:35px}.site-header{padding:0 4%;gap:12px}.nav-links{gap:14px}.nav-links a{font-size:12px}.hero{grid-template-columns:1fr;padding-top:60px}.hero-copy{max-width:650px}.hero-art{min-height:340px;max-width:600px;width:100%;margin:0 auto}.tool-cards{grid-template-columns:1fr 1fr}.tool-card:last-child{grid-column:1/-1}.workspace{grid-template-columns:1fr}.security-inner{gap:35px}.site-footer{margin-left:4%;margin-right:4%}}@media(max-width:560px){.hero-art-caption{position:relative;top:auto;right:auto;width:100%;font-size:16px;line-height:1.45;margin:0 0 18px}.hero-free-cta{font-size:17px;margin-top:26px;padding:9px 15px}.site-header{height:67px}.brand{font-size:20px}.brand-mark{width:30px;height:30px}.nav-links{display:none}.site-header>.button{margin-left:auto}.hero{padding-top:45px;min-height:auto}.hero h1{font-size:47px;letter-spacing:-2px}.hero-lede{font-size:15px}.hero-actions{align-items:flex-start;flex-direction:column;gap:17px}.trust-points{display:grid;gap:9px}.hero-art{min-height:300px;transform:none}.paper{left:7%;top:48px;height:230px;padding:17px 13px}.cheque-card{left:0;bottom:4px;transform:scale(.78) rotate(-5deg);transform-origin:left bottom}.sheet{right:1%;top:94px;height:202px}.float-label{padding:9px;gap:7px}.label-document{top:8px}.label-ready{bottom:8px}.orb-one{width:285px;height:285px}.orb-two{width:220px;height:220px}.section-wrap{margin-left:5%;margin-right:5%}.tool-section,.steps-section,.pricing-section{padding:60px 0}.section-heading h2,.security-inner h2,.cta-inner h2{font-size:29px}.tool-cards,.steps-grid{grid-template-columns:1fr}.tool-card:last-child{grid-column:auto}.tool-card{min-height:225px}.workspace-section{padding:60px 0}.upload-panel,.results-panel{padding:16px}.panel-top{align-items:flex-start}.file-limit{font-size:8px}.drop-zone{min-height:190px}.security-inner{grid-template-columns:1fr}.credits{gap:18px;justify-content:space-between}.credits>div{gap:7px}.credits b{font-size:29px}.credits span{font-size:10px}.pricing-card{padding:22px 18px}.pricing-bottom{align-items:flex-start;flex-direction:column}.cta-inner{align-items:flex-start;flex-direction:column}.site-footer{flex-wrap:wrap;justify-content:space-between}.site-footer>span:nth-child(2){display:none}}
.workspace-section .panel-top b,.workspace-section .file-limit,.workspace-section .preview-badge,.workspace-section .step-number,.workspace-section .mode-tab,.workspace-section .drop-zone strong,.workspace-section .drop-zone>span:not(.upload-symbol):not(.button),.workspace-section .browse-button,.workspace-section .selected-file-name,.workspace-section .notice,.workspace-section .extract-button,.workspace-section .upload-footnote,.workspace-section .preview-toolbar,.workspace-section .data-table th,.workspace-section .data-table td,.workspace-section .review-note,.workspace-section .button-download{font-size:calc(1em + 2px)}

/* Pricing plans replacement */
.pricing-section{max-width:1160px;margin:0 auto;padding:80px 0 95px}
.pricing-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:940px;margin:0 auto}
.plan-card{background:#fff;border:1px solid #dce5ef;border-radius:12px;padding:30px;box-shadow:0 8px 28px #123c7308;display:flex;flex-direction:column;min-width:0}
.plan-card h3{font:700 24px Manrope, sans-serif;margin:0 0 25px;color:var(--ink)}
.plan-price{display:flex;align-items:baseline;gap:10px;margin-bottom:20px}
.plan-price strong{font:800 42px Manrope,sans-serif;color:var(--ink)}
.plan-price span{font-size:19px;color:var(--muted)}
.plan-usage{font-size:16px;color:var(--muted);margin:0 0 22px}
.plan-features{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:17px}
.plan-features li{position:relative;padding-left:30px;font-size:16px;line-height:1.45;color:#687990}
.plan-features li:before{content:"✓";position:absolute;left:0;top:0;color:#23804e;font-weight:800;font-size:21px}
.plan-signup{margin-top:auto;display:grid;gap:12px}
.plan-signup input{width:100%;min-height:48px;border:1px solid #dce5ef;border-radius:7px;padding:0 14px;font:inherit;color:var(--ink);box-sizing:border-box}
.plan-signup .button,.plan-contact{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;font-size:16px;box-sizing:border-box}
.plan-signup .button{background:#217849;border-color:#217849;color:white}
.plan-buy{display:block;text-align:center;margin-top:14px;font-size:15px;font-weight:700;color:var(--navy);text-decoration:none}
.plan-card-recommended{border-top:3px solid #217849}
.recommended-label{border:1px solid #217849;border-radius:28px;text-align:center;padding:10px 14px;color:#217849;font-size:16px;margin:0 0 24px}
.plan-card-recommended h3{margin-bottom:22px}
.plan-contact{margin-top:auto;border:1px solid #217849;background:#fff;color:#217849}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.pricing-section{padding:55px 18px 65px}.pricing-plans{grid-template-columns:1fr;gap:20px}.plan-card{padding:24px}.plan-price strong{font-size:36px}.plan-features li{font-size:15px}}


/* ConfiCel final three-tier pricing cards */
.pricing-section{max-width:1160px;padding:88px 0 96px}
.pricing-heading{margin-bottom:48px}
.pricing-heading .eyebrow{letter-spacing:1.8px}
.pricing-heading h2{font-size:clamp(32px,3.6vw,43px);letter-spacing:-1.6px}
.pricing-heading p{font-size:16px}
.pricing-plans{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:22px}
.plan-card{position:relative;overflow:hidden;border:1px solid #dce6f2;border-radius:20px;padding:28px 25px 25px;box-shadow:0 12px 36px rgba(18,60,115,.075);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.plan-card:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(18,60,115,.14);border-color:#a9c4e8}
.plan-card-free{background:linear-gradient(160deg,#f5f9ff 0%,#fff 40%)}
.plan-card-standard{background:linear-gradient(160deg,#f0fbf6 0%,#fff 42%);border-color:#c7e9d9}
.plan-card-scale{background:linear-gradient(160deg,#edf4ff 0%,#fff 45%);border:2px solid #2a65ad;box-shadow:0 20px 48px rgba(28,91,168,.15);padding:27px 24px 24px}
.plan-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}
.plan-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:22px;font-weight:800}
.plan-icon-free{background:#e5efff;color:#285ea5}
.plan-icon-standard{background:#ddf6e9;color:#16845b}
.plan-icon-scale{background:#dce9ff;color:#1c5ba8}
.plan-badge{font-size:9px;font-weight:800;letter-spacing:1px;color:#75849a;text-align:right}
.plan-card h3{font:800 25px Manrope,sans-serif;letter-spacing:-.6px;margin:0 0 7px;color:#17263c}
.plan-summary{font-size:12px;line-height:1.55;color:#6a7b91;min-height:38px;margin:0 0 17px}
.plan-price{gap:8px;margin:0 0 17px}
.plan-price strong{font:800 42px/1.1 Manrope,sans-serif;letter-spacing:-1.5px;color:#142b49}
.plan-price span{font-size:13px;color:#728198}
.plan-quota-box{min-height:91px;display:flex;align-items:center;justify-content:center;gap:20px;border:1px solid #dfe8f4;border-radius:13px;background:rgba(255,255,255,.85);padding:15px;margin-bottom:10px}
.plan-quota-box>div{display:flex;flex-direction:column;align-items:center;gap:1px}
.plan-quota-box strong{font:800 27px Manrope,sans-serif;color:#1c5ba8;line-height:1.2}
.plan-quota-box span{font-size:10px;color:#687990}
.plan-quota-box>i{font-style:normal;color:#8b9ab0;font-size:19px}
.plan-quota-single{justify-content:flex-start;padding-left:20px}
.plan-quota-single strong{font-size:30px}
.plan-quota-single span{font-size:11px}
.plan-usage{font-size:11px;font-weight:700;color:#596d85;margin:0 0 20px;text-align:center}
.plan-features{gap:13px;margin:0 0 25px;flex:1}
.plan-features li{padding-left:27px;font-size:12px;line-height:1.55;color:#52657d}
.plan-features li:before{content:"✓";font-size:13px;top:1px;width:17px;height:17px;display:grid;place-items:center;background:#e2f7ec;border-radius:50%;color:#16845b}
.plan-button{width:100%;min-height:49px;border-radius:11px;padding:13px 16px;justify-content:center;font-size:13px;font-weight:800;gap:12px;margin-top:auto}
.plan-button span{font-size:17px;transition:transform .2s}
.plan-button:hover span{transform:translateX(3px)}
.plan-button-free{background:#fff;color:#1c5ba8;border-color:#bfd2ee;box-shadow:0 5px 14px rgba(28,91,168,.07)}
.plan-button-standard{background:#16845b;color:#fff;border-color:#16845b;box-shadow:0 7px 16px rgba(22,132,91,.18)}
.plan-button-scale{background:#1c5ba8;color:#fff;border-color:#1c5ba8;box-shadow:0 7px 18px rgba(28,91,168,.22)}
.plan-disclaimer{font-size:9px;line-height:1.5;text-align:center;color:#8794a6;margin:12px 0 0}
.plan-ribbon{position:absolute;right:-36px;top:15px;width:135px;transform:rotate(36deg);background:#1c5ba8;color:#fff;text-align:center;padding:5px 0;font-size:8px;font-weight:800;letter-spacing:1px}
.plan-card-scale .plan-topline{margin-top:7px}
.pricing-footnote{max-width:850px;margin:28px auto 0;text-align:center;color:#78869a;font-size:10px;line-height:1.8}
.hero-free-cta{border-radius:10px;background:linear-gradient(110deg,#0879c9,#1c5ba8);border:0;box-shadow:0 9px 22px rgba(8,121,201,.22);font-size:18px;font-weight:800;padding:13px 22px;transition:transform .2s,box-shadow .2s}
.hero-free-cta:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(8,121,201,.3)}
@media(max-width:980px){.pricing-plans{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}.plan-card-scale{grid-column:1/-1;max-width:calc(50% - 11px);width:100%;justify-self:center}}
@media(max-width:650px){.pricing-section{padding:58px 0 65px}.pricing-heading{margin-bottom:30px}.pricing-plans{grid-template-columns:1fr;gap:17px}.plan-card,.plan-card-scale{grid-column:auto;max-width:none;width:100%;padding:25px 22px}.plan-card-scale{padding:24px 21px}.plan-summary{min-height:0}.plan-price strong{font-size:39px}.plan-features li{font-size:13px}.hero-free-cta{font-size:15px;padding:12px 15px}}


/* Pricing polish: remove decorative labels/icons and increase card typography by 1px */
.plan-topline{min-height:10px;margin-bottom:20px}
.plan-card h3{font-size:26px}
.plan-summary{font-size:13px}
.plan-price span{font-size:14px}
.plan-quota-box span{font-size:11px}
.plan-quota-single span{font-size:12px}
.plan-usage{font-size:12px}
.plan-features li{font-size:13px}
.plan-button{font-size:14px}
.plan-disclaimer{font-size:10px}
.pricing-footnote{font-size:11px}
@media(max-width:650px){.plan-features li{font-size:14px}}


/* Compact pricing tiles: slightly reduce card footprint while preserving readability */
.pricing-plans{gap:18px}
.plan-card{padding:24px 21px 21px;border-radius:17px}
.plan-card-scale{padding:23px 20px 20px}
.plan-topline{margin-bottom:15px}
.plan-card h3{font-size:25px;margin-bottom:5px}
.plan-summary{min-height:34px;margin-bottom:13px}
.plan-price{margin-bottom:13px}
.plan-price strong{font-size:39px}
.plan-quota-box{min-height:78px;padding:12px;margin-bottom:8px}
.plan-quota-single strong{font-size:28px}
.plan-usage{margin-bottom:16px}
.plan-features{gap:10px;margin-bottom:19px}
.plan-features li{font-size:12px;line-height:1.45}
.plan-button{min-height:44px;padding:10px 14px}
.plan-disclaimer{margin-top:9px}
.pricing-footnote{margin-top:22px}
@media(max-width:650px){.plan-card,.plan-card-scale{padding:22px 19px}.plan-features li{font-size:13px}}


/* Supabase authentication interface */
.auth-open-button{white-space:nowrap}
.auth-modal[hidden]{display:none!important}.auth-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}.auth-backdrop{position:absolute;inset:0;background:rgba(12,29,51,.58);backdrop-filter:blur(4px)}.auth-dialog{position:relative;width:min(100%,460px);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border:1px solid #dfe7f1;border-radius:20px;padding:32px;box-shadow:0 28px 90px #071b3440}.auth-close{position:absolute;right:16px;top:12px;border:0;background:#f1f5fa;color:#53657b;border-radius:9px;width:34px;height:34px;font-size:25px;cursor:pointer}.auth-dialog h2{font:800 29px Manrope,sans-serif;letter-spacing:-.8px;margin:12px 0 8px}.auth-intro{font-size:13px;color:#6b7a8e;margin:0 0 22px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.auth-tab{padding:11px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#52657d;font:700 13px 'DM Sans';cursor:pointer}.auth-tab.active{background:#eaf2ff;border-color:#b9cfee;color:#174c8d}.auth-dialog form,.auth-dialog label{display:grid;gap:7px}.auth-dialog form{gap:14px}.auth-dialog label{font-size:12px;font-weight:700;color:#42546b}.auth-dialog input{width:100%;min-height:45px;padding:10px 12px;border:1px solid #d7e1ed;border-radius:8px;font:400 14px 'DM Sans';color:#17263c}.auth-dialog input:focus{outline:2px solid #b5d3f7;border-color:#6c9ed8}.auth-submit{width:100%;min-height:46px;margin-top:3px}.auth-forgot{border:0;background:none;color:#1c5ba8;font:700 12px 'DM Sans';cursor:pointer;padding:12px 0 0}.auth-message{font-size:12px;line-height:1.55;color:#52657d;min-height:8px;overflow-wrap:anywhere}.auth-message.error{color:#b42318}.auth-message.success{color:#16845b}.auth-user{padding:14px;background:#f5f9ff;border:1px solid #dfe8f4;border-radius:10px}.auth-user p{font-size:13px;overflow-wrap:anywhere}.auth-user button{width:100%;margin-top:8px}.auth-privacy{font-size:10px;line-height:1.6;color:#8491a3;margin:18px 0 0}@media(max-width:560px){.auth-open-button{padding:9px 10px;font-size:11px}.auth-dialog{padding:26px 20px}.auth-dialog h2{font-size:25px}}


/* Dynamic document workflow hero — scoped to hero only */
.hero-dynamic{position:relative;isolation:isolate;max-width:none;min-height:620px;margin:0;padding:68px max(calc((100% - 1160px)/2),5.5%);overflow:hidden;background:#071226;color:#f8fafc;display:block}
.hero-dynamic-inner{position:relative;z-index:2;max-width:1160px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:center;gap:52px}
.hero-glow{position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(2px)}
.hero-glow-left{width:560px;height:560px;left:-240px;top:-180px;background:radial-gradient(circle,rgba(16,185,129,.15),transparent 68%)}
.hero-glow-right{width:650px;height:650px;right:-220px;top:-120px;background:radial-gradient(circle,rgba(59,130,246,.18),transparent 68%)}
.hero-dynamic-copy{padding:0}
.hero-dynamic-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid rgba(52,211,153,.24);border-radius:30px;background:rgba(16,185,129,.09);color:#6ee7b7;font-size:10px;font-weight:800;letter-spacing:1.25px}
.hero-dynamic-eyebrow>span{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.13);animation:heroDotPulse 2s infinite}
.hero-dynamic h1{margin:24px 0 17px;color:#fff;font:800 clamp(38px,4.4vw,58px)/1.1 Manrope,sans-serif;letter-spacing:-2.6px}
.hero-dynamic h1 span{background:linear-gradient(100deg,#34d399,#5eead4,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-dynamic-lede{max-width:490px;margin:0;color:#a8b5c9;font-size:15px;line-height:1.85}
.hero-preset-block{margin-top:27px}
.hero-preset-label{margin-bottom:10px;color:#9baac0;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.hero-presets{display:flex;flex-wrap:wrap;gap:7px}
.hero-preset{padding:8px 11px;border:1px solid #27364d;border-radius:8px;background:rgba(15,28,49,.8);color:#aebbd0;font:600 10px 'DM Sans',sans-serif;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}
.hero-preset:hover{border-color:#52718f;color:#fff;transform:translateY(-1px)}
.hero-preset.active{border-color:#34d399;background:rgba(16,185,129,.15);color:#8ff0c7}
.hero-dynamic-actions{display:flex;align-items:center;gap:21px;flex-wrap:wrap;margin-top:28px}
.hero-primary-action{display:inline-flex;align-items:center;gap:15px;padding:13px 17px;border-radius:9px;background:#2563eb;color:white;font-size:12px;font-weight:800;box-shadow:0 9px 24px rgba(37,99,235,.24);transition:transform .2s,background .2s}
.hero-primary-action:hover{transform:translateY(-2px);background:#3477f5}
.hero-primary-action span{font-size:17px}
.hero-secondary-action{color:#d2dbea;font-size:12px;font-weight:700}
.hero-secondary-action:hover{color:#6ee7b7}
.hero-trust-points{display:flex;flex-wrap:wrap;gap:10px 17px;margin-top:25px;padding-top:18px;border-top:1px solid rgba(148,163,184,.17);color:#9baac0;font-size:9px;font-weight:600}
.hero-trust-points span::first-letter{color:#6ee7b7}
.hero-visual{position:relative;min-width:0;padding:17px;border:1px solid rgba(148,163,184,.17);border-radius:18px;background:rgba(13,27,48,.75);box-shadow:0 25px 70px rgba(0,0,0,.28);backdrop-filter:blur(15px)}
.hero-visual-topline{display:flex;align-items:center;gap:9px;padding:0 2px 15px;color:#b6c4d8;font-size:9px;font-weight:800;letter-spacing:.9px}
.hero-visual-dot{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.12)}
.hero-visual-sample{margin-left:auto;padding:5px 7px;border:1px solid rgba(96,165,250,.25);border-radius:5px;color:#93c5fd;font-size:8px}
.hero-flow{display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;gap:9px}
.hero-document-card{position:relative;min-width:0;min-height:300px;padding:10px;border:1px solid #d9e0e8;border-radius:12px;background:#eef2f6;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.hero-invoice-paper{position:relative;z-index:1;min-height:278px;padding:14px 12px 10px;background:#fff;border:1px solid #e1e5eb;border-radius:3px;box-shadow:0 3px 10px rgba(20,35,55,.1);color:#263344}
.hero-invoice-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hero-invoice-head>div{display:flex;align-items:center;gap:7px}
.hero-invoice-brand{display:grid;place-items:center;width:25px;height:25px;border-radius:4px;background:#183e68;color:#fff;font:800 12px Manrope}
.hero-invoice-head b,.hero-invoice-head small{display:block}
.hero-invoice-head b{font:800 8px Manrope;letter-spacing:.5px;color:#1c2c40}
.hero-invoice-head small{margin-top:2px;color:#8994a2;font-size:5px;letter-spacing:.7px}
.hero-invoice-stamp{padding:4px 6px;border:1px solid #dce3eb;color:#667589;font-size:6px;font-weight:800;letter-spacing:.8px}
.hero-invoice-rule{height:2px;margin:10px 0;background:#203e5c}
.hero-invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:2px 0 9px;border-bottom:1px solid #e9edf2}
.hero-invoice-parties>div,.hero-invoice-meta>div{min-width:0;padding:4px;border-radius:3px;transition:background .2s,box-shadow .2s}
.hero-invoice-parties small,.hero-invoice-meta small{display:block;color:#8b96a4;font-size:5px;font-weight:800;letter-spacing:.55px}
.hero-invoice-parties b,.hero-invoice-parties span{display:block;overflow-wrap:anywhere}
.hero-invoice-parties b{margin-top:4px;color:#28384b;font-size:8px}
.hero-invoice-parties span{margin-top:3px;color:#7a8796;font-size:6px;line-height:1.45}
.hero-invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:7px 0;border-bottom:1px solid #e9edf2}
.hero-invoice-meta b{display:block;margin-top:4px;color:#293a4e;font-size:7px}
.hero-invoice-table{margin-top:8px}
.hero-invoice-table>div{display:flex;justify-content:space-between;gap:6px;padding:5px 4px;border-bottom:1px solid #edf0f4;color:#687688;font-size:6px}
.hero-invoice-table .hero-invoice-table-head{background:#f2f5f8;color:#647387;font-size:5px;font-weight:800;letter-spacing:.5px}
.hero-invoice-table b{color:#34445a;font-size:6px}
.hero-invoice-total{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:8px;padding:7px 4px;border-top:1px solid #dce3eb;color:#6d7a8a;font-size:6px;font-weight:800;transition:background .2s,box-shadow .2s}
.hero-invoice-total b{color:#147b59;font-size:11px;white-space:nowrap}
.hero-invoice-footer{display:flex;justify-content:space-between;gap:4px;margin-top:7px;color:#a0a9b4;font-size:5px}
.hero-invoice-footer span{font-weight:800;letter-spacing:.3px}
.hero-invoice-parties [data-hero-highlight],.hero-invoice-meta [data-hero-highlight],.hero-invoice-total[data-hero-highlight]{transition:background .2s,box-shadow .2s}
.hero-invoice-parties [data-hero-highlight].is-linked,.hero-invoice-meta [data-hero-highlight].is-linked,.hero-invoice-total[data-hero-highlight].is-linked{background:#e8f8f1;box-shadow:0 0 0 1px #49b88c}
.hero-scan-line{position:absolute;z-index:3;left:10px;right:10px;top:16px;height:3px;background:linear-gradient(90deg,transparent,#25b987,#67d7bd,#25b987,transparent);box-shadow:0 0 13px rgba(37,185,135,.7);opacity:0;pointer-events:none}
.hero-document-card.is-scanning .hero-scan-line{animation:heroScan 2.8s ease-in-out forwards}
.hero-scan-line{position:absolute;z-index:2;left:0;right:0;top:52px;height:2px;background:linear-gradient(90deg,transparent,#34d399,#60a5fa,#34d399,transparent);box-shadow:0 0 12px rgba(52,211,153,.8);animation:heroScan 4s ease-in-out infinite;pointer-events:none}
.hero-engine-column{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0}
.hero-engine{position:relative;width:65px;height:65px;border:0;border-radius:50%;background:transparent;cursor:pointer;display:grid;place-items:center}
.hero-engine-ring{position:absolute;inset:0;border:1px dashed rgba(52,211,153,.8);border-radius:50%;animation:heroSpin 10s linear infinite}
.hero-ring-two{inset:7px;border-color:rgba(96,165,250,.8);animation:heroSpin 8s linear infinite reverse}
.hero-engine-core{width:43px;height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(145deg,#10b981,#2563eb);box-shadow:0 0 25px rgba(16,185,129,.3);color:white;font:800 15px Manrope}
.hero-engine-core span{font:800 6px 'DM Sans';letter-spacing:1px}
.hero-engine-column>small{color:#6ee7b7;font-size:7px;font-weight:800;letter-spacing:.6px;text-align:center}
.hero-engine.is-scanning .hero-engine-ring{animation-duration:1.1s}
.hero-data-connector{position:absolute;width:45px;height:2px;background:linear-gradient(90deg,rgba(52,211,153,.1),rgba(96,165,250,.65));transform:translateY(-35px);z-index:-1}
.hero-data-connector i{position:absolute;top:-2px;width:5px;height:5px;border-radius:50%;background:#6ee7b7;animation:heroParticle 1.8s linear infinite}
.hero-data-connector i:nth-child(2){animation-delay:.6s}.hero-data-connector i:nth-child(3){animation-delay:1.2s}
.hero-output-fields{display:grid;gap:8px;padding-top:12px}
.hero-output-fields>div{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:9px 7px;border:1px solid rgba(148,163,184,.12);border-radius:6px;transition:background .2s,border-color .2s}
.hero-output-fields>div.is-linked{border-color:rgba(52,211,153,.7);background:rgba(52,211,153,.1)}
.hero-output-fields>div{opacity:0;transform:translateY(5px);transition:opacity .28s ease,transform .28s ease,border-color .2s,background .2s}
.hero-output-fields>div.is-revealed{opacity:1;transform:translateY(0)}
.hero-output-fields>div.is-linked{box-shadow:0 0 0 1px rgba(52,211,153,.18)}
.hero-output-fields span{color:#91a0b5;font-size:8px}
.hero-output-fields b{color:#e2eaf4;font-size:8px;text-align:right;overflow-wrap:anywhere}
.hero-output-fields .hero-output-total{margin-top:2px;border-color:rgba(52,211,153,.25);background:rgba(16,185,129,.08)}
.hero-output-fields .hero-output-total b{color:#6ee7b7;font-size:10px}
.hero-output-foot{display:flex;justify-content:space-between;gap:5px;margin-top:13px;padding-top:10px;border-top:1px solid rgba(148,163,184,.16);color:#6ee7b7;font-size:7px;font-weight:700}
.hero-output-foot span:last-child{color:#91a0b5;letter-spacing:.5px}
.hero-visual-note{margin:12px 2px 0;color:#8190a5;font-size:8px;line-height:1.5}
@keyframes heroScan{0%{top:16px;opacity:0}12%{opacity:1}88%{opacity:1}100%{top:88%;opacity:0}}
@keyframes heroSpin{to{transform:rotate(360deg)}}
@keyframes heroDotPulse{50%{box-shadow:0 0 0 7px rgba(52,211,153,.04)}}
@keyframes heroParticle{0%{left:0;opacity:0}20%{opacity:1}80%{opacity:1}100%{left:100%;opacity:0}}
@media(max-width:1050px){.hero-dynamic{padding-top:58px;padding-bottom:58px}.hero-dynamic-inner{grid-template-columns:1fr;gap:38px;max-width:760px}.hero-dynamic-copy{max-width:690px}.hero-dynamic h1{max-width:650px}.hero-visual{width:100%}}
@media(max-width:620px){.hero-dynamic{padding:45px 5% 50px;min-height:0}.hero-dynamic-inner{gap:30px}.hero-dynamic h1{font-size:clamp(36px,10vw,48px);letter-spacing:-1.8px;margin:20px 0 14px}.hero-dynamic-lede{font-size:13px}.hero-presets{gap:6px}.hero-preset{font-size:9px;padding:8px 9px}.hero-dynamic-actions{gap:15px;margin-top:22px}.hero-trust-points{gap:9px 13px;font-size:8px}.hero-visual{padding:11px;border-radius:13px}.hero-flow{grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:5px}.hero-document-card{min-height:285px;padding:7px}.hero-invoice-paper{min-height:269px;padding:11px 9px 8px}.hero-output-card{min-height:265px;padding:10px 8px}.hero-card-heading{gap:5px}.hero-card-heading>b{font-size:7px}.hero-card-heading>small{font-size:6px}.hero-engine{width:39px;height:39px}.hero-engine-core{width:29px;height:29px;font-size:11px}.hero-engine-core span{font-size:5px}.hero-engine-column>small{font-size:5px;letter-spacing:0}.hero-invoice-parties{gap:5px}.hero-invoice-meta{gap:5px}.hero-invoice-head b{font-size:7px}.hero-invoice-parties b{font-size:7px}.hero-invoice-total b{font-size:9px}.hero-output-fields{gap:6px;padding-top:10px}.hero-output-fields>div{padding:8px 5px}.hero-invoice-paper{padding:10px 7px 7px}.hero-invoice-parties span{font-size:5px}.hero-invoice-footer{font-size:4px}.hero-output-fields span,.hero-output-fields b{font-size:7px}.hero-output-fields .hero-output-total b{font-size:8px}.hero-doc-total{font-size:7px;padding:9px 5px}.hero-doc-total b{font-size:9px}.hero-doc-format{font-size:6px;padding:6px 5px}.hero-output-foot{font-size:6px}.hero-visual-note{font-size:7px}}

.hero-document-card[hidden]{display:none!important}
.hero-cheque-card{background:#edf1f4}
.hero-cheque-paper{position:relative;z-index:1;min-height:278px;padding:15px 12px 10px;border:1px solid #d7d1b8;border-radius:4px;background:linear-gradient(145deg,#fffef6,#f7f3df);box-shadow:0 3px 10px rgba(20,35,55,.12);color:#29384a}
.hero-cheque-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:9px;border-bottom:2px solid #9caa9c;color:#315b4c;font-size:7px;letter-spacing:.7px}
.hero-cheque-top span{padding:4px 6px;border:1px solid #aeb9a9;font-size:6px}
.hero-cheque-micr{margin-top:8px;color:#8b987d;font-size:6px;letter-spacing:1px}
.hero-cheque-payee{margin-top:21px;padding:5px 4px;border-bottom:1px solid #c7cbb9;transition:background .2s,box-shadow .2s}
.hero-cheque-payee small,.hero-cheque-amountbox small,.hero-cheque-bottom small{display:block;color:#829080;font-size:5px;font-weight:800;letter-spacing:.6px}
.hero-cheque-payee b{display:block;margin-top:5px;color:#273a35;font-size:9px}
.hero-cheque-amountbox{margin:12px 0 0 auto;width:48%;padding:7px;border:1px solid #c6cdbb;background:#fffdf4}
.hero-cheque-amountbox b{display:block;margin-top:4px;color:#244e40;font-size:11px}
.hero-cheque-words{margin-top:12px;padding:7px 4px;border-bottom:1px solid #c7cbb9;color:#667468;font-size:6px}
.hero-cheque-bottom{display:grid;grid-template-columns:.8fr .8fr 1.2fr;align-items:end;gap:5px;margin-top:14px}
.hero-cheque-bottom>div{padding:4px;border-radius:3px;transition:background .2s,box-shadow .2s}
.hero-cheque-bottom b{display:block;margin-top:4px;color:#293a35;font-size:7px}
.hero-cheque-signature{padding-bottom:3px;border-bottom:1px solid #879487;text-align:center;color:#849084;font-size:5px}
.hero-cheque-micr-line{margin-top:13px;padding-top:6px;border-top:1px solid #d6d8c8;color:#758273;font-size:7px;letter-spacing:.6px}
.hero-cheque-card [data-hero-highlight].is-linked{background:#e8f4e8;box-shadow:0 0 0 1px #7da98b}
.hero-output-fields>div{opacity:1;transform:none}
.hero-output-fields>div b{opacity:0;transition:opacity .25s ease}
.hero-output-fields>div b:not(:empty){opacity:1}
.hero-output-fields>div.is-linked b{color:#6ee7b7}

@media(prefers-reduced-motion:reduce){.hero-dynamic *,.hero-dynamic *:before,.hero-dynamic *:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}


/* Keep the scan beam visible from the top edge to the bottom edge of either sample document. */
.hero-document-card{position:relative;overflow:hidden}
.hero-document-card>.hero-scan-line{
  position:absolute;
  z-index:5;
  left:10px;
  right:10px;
  top:10px;
  bottom:auto;
  height:3px;
  opacity:0;
  background:linear-gradient(90deg,transparent,#20b982 18%,#8af0d2 50%,#20b982 82%,transparent);
  box-shadow:0 0 10px rgba(32,185,130,.75),0 0 22px rgba(32,185,130,.35);
  pointer-events:none;
  animation:none;
}
.hero-document-card.is-scanning>.hero-scan-line{
  animation:heroScanFullPage 2.8s linear forwards;
}
@keyframes heroScanFullPage{
  0%{top:10px;opacity:0}
  7%{opacity:1}
  93%{opacity:1}
  100%{top:calc(100% - 13px);opacity:0}
}
@media(max-width:620px){
  .hero-document-card>.hero-scan-line{left:7px;right:7px}
}


/* Dynamic IC pipeline hero — scoped so the rest of the existing site is untouched. */
.ic-hero{position:relative;isolation:isolate;overflow:hidden;background:#070d1f;color:#f8fafc;padding:76px 5vw 66px}
.ic-ambient{position:absolute;z-index:-1;width:55vw;height:55vw;border-radius:50%;pointer-events:none;filter:blur(3px)}
.ic-glow-one{top:-22vw;left:-15vw;background:radial-gradient(circle,rgba(16,185,129,.16),transparent 68%)}
.ic-glow-two{top:-10vw;right:-18vw;background:radial-gradient(circle,rgba(59,130,246,.19),transparent 68%)}
.ic-hero .hero-dynamic-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(280px,.82fr) minmax(560px,1.35fr);gap:42px;align-items:center;width:min(1440px,100%);max-width:1440px;margin:0 auto}
.ic-copy{min-width:0}
.ic-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(16,185,129,.25);border-radius:999px;background:rgba(16,185,129,.09);color:#6ee7b7;font-size:10px;font-weight:800;letter-spacing:1px}
.ic-eyebrow>span,.ic-live-dot{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.12);animation:icDotPulse 1.8s ease-in-out infinite}
.ic-copy h1{max-width:610px;margin:22px 0 16px;color:#f8fafc;font-size:clamp(38px,4.2vw,62px);font-weight:800;letter-spacing:-2.5px;line-height:1.08}
.ic-copy h1 span{color:#34d399;background:linear-gradient(90deg,#34d399,#5eead4,#60a5fa);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.ic-copy>p{max-width:560px;margin:0;color:#94a3b8;font-size:15px;line-height:1.8}
.ic-preset-block{margin-top:28px}
.ic-preset-label{margin-bottom:10px;color:#94a3b8;font-size:10px;font-weight:800;letter-spacing:1.1px}
.ic-presets{display:flex;flex-wrap:wrap;gap:8px}
.ic-preset{padding:9px 11px;border:1px solid #29364d;border-radius:8px;background:rgba(15,23,42,.78);color:#aab7c9;font-size:11px;font-weight:700;cursor:pointer;transition:.2s}
.ic-preset:hover{border-color:#64748b;color:#fff}
.ic-preset.active{border-color:#10b981;background:rgba(16,185,129,.15);color:#6ee7b7}
.ic-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.ic-primary,.ic-secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 17px;border-radius:10px;font-size:12px;font-weight:800;text-decoration:none;transition:.2s}
.ic-primary{background:#2563eb;color:white;box-shadow:0 10px 24px rgba(37,99,235,.24)}
.ic-primary:hover{background:#3b82f6;transform:translateY(-2px)}
.ic-secondary{border:1px solid #334155;background:rgba(15,23,42,.7);color:#dbe4ef}
.ic-secondary:hover{background:#1e293b}
.ic-trust{display:flex;flex-wrap:wrap;gap:9px 15px;margin-top:22px;color:#91a0b5;font-size:9px}
.ic-visual{min-width:0;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:rgba(15,23,42,.58);box-shadow:0 25px 75px rgba(0,0,0,.32);backdrop-filter:blur(16px)}
.ic-visual-top{display:flex;align-items:center;gap:9px;margin-bottom:16px;color:#cbd5e1;font-size:9px;font-weight:800;letter-spacing:1px}
.ic-sample-tag{margin-left:auto;padding:5px 7px;border:1px solid rgba(52,211,153,.25);border-radius:5px;background:rgba(16,185,129,.1);color:#6ee7b7;font-size:8px}
.ic-flow{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(104px,.55fr) minmax(0,1.05fr);gap:10px;align-items:center}
.ic-doc-panel,.ic-output-panel{position:relative;min-width:0;min-height:340px;padding:11px;border:1px solid rgba(148,163,184,.18);border-radius:13px;background:rgba(15,23,42,.86);overflow:hidden;box-shadow:0 14px 35px rgba(0,0,0,.22)}
.ic-doc-panel[hidden]{display:none!important}
.ic-paper{position:relative;z-index:1;min-height:316px;padding:13px 11px 9px;border:1px solid #e1e5eb;border-radius:3px;background:#fff;color:#263344;box-shadow:0 3px 10px rgba(20,35,55,.1)}
.ic-paper-head{display:flex;align-items:center;justify-content:space-between;gap:6px}
.ic-paper-head>div{display:flex;align-items:center;gap:7px}
.ic-paper-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:4px;background:#183e68;color:white;font-size:11px;font-weight:800}
.ic-paper-head b,.ic-paper-head small{display:block}
.ic-paper-head b{color:#1c2c40;font-size:7px;letter-spacing:.4px}
.ic-paper-head small{margin-top:2px;color:#8994a2;font-size:5px;letter-spacing:.6px}
.ic-paper-stamp{padding:4px 5px;border:1px solid #dce3eb;color:#667589;font-size:5px;font-weight:800;letter-spacing:.7px}
.ic-paper-rule{height:2px;margin:10px 0;background:#203e5c}
.ic-parties,.ic-meta{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ic-parties{padding:2px 0 8px;border-bottom:1px solid #e9edf2}
.ic-parties>div,.ic-meta>div{min-width:0;padding:4px;border-radius:3px;transition:.2s}
.ic-parties small,.ic-meta small{display:block;color:#8b96a4;font-size:5px;font-weight:800;letter-spacing:.5px}
.ic-parties b,.ic-parties span{display:block;overflow-wrap:anywhere}
.ic-parties b{margin-top:4px;color:#28384b;font-size:7px}
.ic-parties span{margin-top:3px;color:#7a8796;font-size:5px;line-height:1.45}
.ic-meta{padding:7px 0;border-bottom:1px solid #e9edf2}
.ic-meta b{display:block;margin-top:4px;color:#293a4e;font-size:7px}
.ic-lines{margin-top:8px}
.ic-lines>div{display:flex;justify-content:space-between;gap:5px;padding:5px 4px;border-bottom:1px solid #edf0f4;color:#687688;font-size:5px}
.ic-lines .ic-lines-head{background:#f2f5f8;color:#647387;font-size:5px;font-weight:800;letter-spacing:.4px}
.ic-lines b{color:#34445a;font-size:5px}
.ic-total{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:8px;padding:7px 4px;border-top:1px solid #dce3eb;color:#6d7a8a;font-size:6px;font-weight:800;transition:.2s}
.ic-total b{color:#147b59;font-size:10px;white-space:nowrap}
.ic-paper-foot{display:flex;justify-content:space-between;gap:4px;margin-top:8px;color:#a0a9b4;font-size:5px}
.ic-paper-foot span{font-weight:800;letter-spacing:.3px}
.ic-parties [data-hero-highlight].is-linked,.ic-meta [data-hero-highlight].is-linked,.ic-total.is-linked,.ic-cheque-paper [data-hero-highlight].is-linked{background:#e8f8f1;box-shadow:0 0 0 1px #49b88c}
.ic-cheque-paper{position:relative;z-index:1;min-height:316px;padding:15px 11px 10px;border:1px solid #d7d1b8;border-radius:4px;background:linear-gradient(145deg,#fffef6,#f7f3df);color:#29384a;box-shadow:0 3px 10px rgba(20,35,55,.12)}
.ic-cheque-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:9px;border-bottom:2px solid #9caa9c;color:#315b4c;font-size:7px;letter-spacing:.5px}
.ic-cheque-head span{padding:4px 6px;border:1px solid #aeb9a9;font-size:6px}
.ic-cheque-micr{margin-top:9px;color:#8b987d;font-size:6px;letter-spacing:1px}
.ic-cheque-payee{margin-top:25px;padding:5px 4px;border-bottom:1px solid #c7cbb9}
.ic-cheque-payee small,.ic-cheque-amount small,.ic-cheque-bottom small{display:block;color:#829080;font-size:5px;font-weight:800;letter-spacing:.6px}
.ic-cheque-payee b{display:block;margin-top:5px;color:#273a35;font-size:9px}
.ic-cheque-amount{width:52%;margin:14px 0 0 auto;padding:7px;border:1px solid #c6cdbb;background:#fffdf4}
.ic-cheque-amount b{display:block;margin-top:4px;color:#244e40;font-size:11px}
.ic-cheque-words{margin-top:13px;padding:7px 4px;border-bottom:1px solid #c7cbb9;color:#667468;font-size:6px}
.ic-cheque-bottom{display:grid;grid-template-columns:.8fr .8fr 1.2fr;align-items:end;gap:4px;margin-top:17px}
.ic-cheque-bottom>div{padding:4px;border-radius:3px}
.ic-cheque-bottom b{display:block;margin-top:4px;color:#293a35;font-size:7px}
.ic-cheque-bottom>span{padding-bottom:3px;border-bottom:1px solid #879487;text-align:center;color:#849084;font-size:5px}
.ic-cheque-micr-line{margin-top:15px;padding-top:7px;border-top:1px solid #d6d8c8;color:#758273;font-size:7px;letter-spacing:.5px}
.ic-scanner-line{left:10px!important;right:10px!important;width:auto!important;top:10px;height:3px!important;background:linear-gradient(90deg,transparent,#20b982 18%,#8af0d2 50%,#20b982 82%,transparent)!important;box-shadow:0 0 10px rgba(32,185,130,.75),0 0 22px rgba(32,185,130,.35)!important;opacity:0;animation:none!important}
.ic-doc-panel.is-scanning>.ic-scanner-line{animation:icScanFull 2.8s linear forwards!important}
@keyframes icScanFull{0%{top:10px;opacity:0}7%{opacity:1}93%{opacity:1}100%{top:calc(100% - 14px);opacity:0}}
.ic-processor{position:relative;display:flex;min-width:0;min-height:290px;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.ic-chip-button{position:relative;z-index:2;display:grid;place-items:center;width:86px;height:86px;border:2px solid rgba(52,211,153,.85);border-radius:18px;background:#0f172a;box-shadow:0 0 18px rgba(52,211,153,.35),inset 0 0 15px rgba(52,211,153,.2);cursor:pointer;animation:icPulse 2.8s ease-in-out infinite}
.ic-chip-core{display:flex;width:51px;height:51px;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(16,185,129,.55);border-radius:10px;background:#052e2b;color:#6ee7b7}
.ic-chip-core b{font-size:22px;line-height:1}
.ic-chip-core small{margin-top:3px;font-size:6px;font-weight:900;letter-spacing:.3px}
.ic-chip-ring{position:absolute;inset:-9px;border:1px dashed rgba(52,211,153,.4);border-radius:23px;animation:icSpin 12s linear infinite}
.ic-chip-caption{color:#8da2b7;font-size:7px;font-weight:800;letter-spacing:.8px;text-align:center}
.ic-input-track,.ic-token-track{position:absolute;left:0;right:0;height:26px;overflow:hidden;pointer-events:none}
.ic-input-track{top:calc(50% - 70px)}
.ic-token-track{top:calc(50% - 39px);left:auto;right:-23px;width:68px;height:82px;display:grid;grid-template-columns:repeat(3,18px);grid-auto-rows:20px;gap:3px;overflow:visible;z-index:3}
.ic-token-track i{position:static;display:grid;place-items:center;width:18px;height:20px;padding:0;border-radius:3px;background:#34d399;color:#07111e;font:800 10px monospace;font-style:normal;opacity:0;transform:translateX(-9px) scale(.55);animation:icTokenReveal 6.2s ease-in-out infinite}
.ic-token-track i:nth-child(2){animation-delay:1.95s;background:#5eead4}.ic-token-track i:nth-child(3){animation-delay:2.3s;background:#67e8f9}.ic-token-track i:nth-child(4){animation-delay:2.65s;background:#60a5fa}.ic-token-track i:nth-child(5){animation-delay:3s}.ic-token-track i:nth-child(6){animation-delay:3.35s}.ic-token-track i:nth-child(7){animation-delay:3.7s}.ic-token-track i:nth-child(8){animation-delay:4.05s}
@keyframes icTokenReveal{0%,23%{opacity:0;transform:translateX(-9px) scale(.55)}29%,76%{opacity:1;transform:translateX(0) scale(1)}88%,100%{opacity:0;transform:translateX(5px) scale(.75)}}
.ic-doc-packet{position:absolute;left:-20%;top:3px;padding:3px 5px;border:1px solid #34d399;border-radius:4px;background:#0f172a;color:#6ee7b7;font-size:7px;font-weight:900;animation:icDocStream 2.4s ease-in-out infinite}
.ic-doc-packet+ .ic-doc-packet{animation-delay:1.2s}
.ic-token-track i{position:absolute;left:0;top:3px;padding:2px 4px;border-radius:3px;background:#34d399;color:#07111e;font:800 8px monospace;font-style:normal;animation:icTokenStream 1.8s ease-in-out infinite}
.ic-token-track i:nth-child(2){animation-delay:.22s;background:#5eead4}.ic-token-track i:nth-child(3){animation-delay:.44s;background:#67e8f9}.ic-token-track i:nth-child(4){animation-delay:.66s;background:#60a5fa}.ic-token-track i:nth-child(5){animation-delay:.88s}.ic-token-track i:nth-child(6){animation-delay:1.1s}.ic-token-track i:nth-child(7){animation-delay:1.32s}.ic-token-track i:nth-child(8){animation-delay:1.54s}
@keyframes icDocStream{0%{left:-20%;opacity:0;transform:translateY(0) scale(.6)}20%{opacity:1;transform:scale(1)}80%{opacity:1;transform:scale(.8)}100%{left:110%;opacity:0;transform:scale(.3)}}
@keyframes icTokenStream{0%{left:-5%;opacity:0;transform:translateY(7px) scale(.4)}15%{opacity:1;transform:translateY(-5px) scale(1.1)}85%{opacity:1}100%{left:110%;opacity:0;transform:translateY(6px) scale(.4)}}
@keyframes icPulse{0%,100%{box-shadow:0 0 18px rgba(52,211,153,.35),inset 0 0 15px rgba(52,211,153,.2)}50%{box-shadow:0 0 35px rgba(52,211,153,.7),inset 0 0 25px rgba(52,211,153,.4)}}
@keyframes icSpin{to{transform:rotate(360deg)}}
@keyframes icDotPulse{50%{box-shadow:0 0 0 7px rgba(52,211,153,.04)}}
.ic-output-panel{display:flex;flex-direction:column;justify-content:space-between}
.ic-output-head{display:flex;align-items:center;gap:6px;padding-bottom:12px;border-bottom:1px solid rgba(148,163,184,.17);color:#d7e2f1}
.ic-output-head>span{color:#6ee7b7;font-size:18px}
.ic-output-head b{font-size:8px;letter-spacing:.5px}
.ic-output-head small{margin-left:auto;color:#8293aa;font-size:7px}
.ic-output-fields{display:grid;gap:10px;padding-top:12px}
.ic-output-fields>div{display:flex;flex-direction:column;gap:6px;min-height:48px;padding:8px;border:1px solid rgba(148,163,184,.13);border-radius:7px;transition:.2s}
.ic-output-fields>div span{color:#8293aa;font-size:7px;font-weight:700}
.ic-output-fields>div b{min-height:12px;color:#f1f5f9;font-size:9px;overflow-wrap:anywhere}
.ic-output-fields>div.is-linked{border-color:#34d399;background:rgba(52,211,153,.1);box-shadow:0 0 0 1px rgba(52,211,153,.12)}
.ic-output-fields>div.is-linked b{color:#6ee7b7}
.ic-output-foot{display:flex;justify-content:space-between;gap:5px;margin-top:14px;padding-top:10px;border-top:1px solid rgba(148,163,184,.16);color:#6ee7b7;font-size:7px;font-weight:700}
.ic-output-foot span:last-child{color:#91a0b5;letter-spacing:.4px}
.ic-note{margin:12px 2px 0;color:#8190a5;font-size:8px;line-height:1.5}
@media(max-width:1120px){.ic-hero .hero-dynamic-inner{grid-template-columns:1fr;gap:34px;max-width:900px}.ic-copy h1{max-width:800px}.ic-flow{grid-template-columns:minmax(0,1fr) 130px minmax(0,1fr)}}
@media(max-width:680px){.ic-hero{padding:48px 18px 42px}.ic-hero .hero-dynamic-inner{gap:28px}.ic-copy h1{font-size:39px;letter-spacing:-1.7px}.ic-copy>p{font-size:13px}.ic-visual{padding:10px;border-radius:14px}.ic-flow{grid-template-columns:1fr;gap:12px}.ic-doc-panel,.ic-output-panel{min-height:0}.ic-paper,.ic-cheque-paper{min-height:295px}.ic-processor{min-height:150px;order:2}.ic-output-panel{order:3}.ic-doc-panel{order:1}.ic-chip-button{width:70px;height:70px}.ic-chip-core{width:43px;height:43px}.ic-input-track{top:16px;left:10%;right:55%}.ic-token-track{top:auto;bottom:14px;left:55%;right:10%}.ic-output-fields{gap:7px}.ic-output-fields>div{min-height:42px}}
@media(prefers-reduced-motion:reduce){.ic-hero *{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}


/* Match the supplied IC pipeline token-shooter animation: tokens emerge from the chip and travel right. */
.ic-processor .ic-token-track{
  position:absolute;left:50%;right:-72px;top:50%;height:60px;
  display:block;overflow:hidden;pointer-events:none;z-index:1;
}
.ic-processor .ic-token-track i{
  position:absolute;left:0;top:50%;display:block;width:auto;height:auto;
  padding:2px 6px;border:0;border-radius:4px;
  background:var(--token-color,#34d399);color:#020617;
  box-shadow:0 0 10px rgba(52,211,153,.5);
  font:800 12px 'JetBrains Mono',monospace;font-style:normal;
  opacity:0;
  animation:icShootToken 2s cubic-bezier(.25,1,.5,1) infinite;
  animation-delay:var(--token-delay,0s);
}
@keyframes icShootToken{
  0%{left:0;opacity:0;transform:translateY(var(--ty-start,-50%)) scale(.4)}
  15%{opacity:1;transform:translateY(var(--ty-mid,-50%)) scale(1.1)}
  85%{opacity:1;transform:translateY(var(--ty-mid,-50%)) scale(.95)}
  100%{left:100%;opacity:0;transform:translateY(var(--ty-end,-50%)) scale(.4)}
}
@media(max-width:680px){
  .ic-processor .ic-token-track{left:50%;right:-54px;top:50%;height:52px}
}

/* Supplied IC token animation CSS, scoped to the ConfiCel hero. */
.ic-processor .token-stream-container {
  position: absolute;
  left: 50%;
  right: -80px;
  top: 50%;
  height: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 15;
}
@keyframes shootToken {
  0% {
    left: 0%;
    opacity: 0;
    transform: translateY(var(--ty-start, -50%)) scale(0.4);
  }
  15% {
    opacity: 1;
    transform: translateY(var(--ty-mid, -50%)) scale(1.1);
  }
  85% {
    opacity: 1;
    transform: translateY(var(--ty-mid, -50%)) scale(0.95);
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: translateY(var(--ty-end, -50%)) scale(0.4);
  }
}
.ic-processor .token-item {
  position: absolute;
  top: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
  animation: shootToken 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}


/* Document-to-data pipeline hero — adapted from the user's supplied HTML. */
.document-pipeline-hero{position:relative;isolation:isolate;overflow:hidden;padding:0 0 42px;background:#070d1f;color:#f8fafc}
.document-pipeline-hero .pipeline-section{position:relative;z-index:1;width:100%;max-width:1400px;margin:0 auto;padding:26px 32px 16px}
.document-pipeline-hero .pipeline-tag{display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.1em;color:#34d399;text-transform:uppercase}
.document-pipeline-hero .pipeline-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399}
.document-pipeline-hero .studio-grid{position:relative;z-index:1;width:100%;max-width:1400px;margin:0 auto;padding:0 32px 20px;display:grid;grid-template-columns:minmax(0,1fr) 260px 320px;gap:24px;align-items:center}
.document-pipeline-hero .invoice-card,.document-pipeline-hero .extracted-data-card{min-width:0;background:#0f172a;border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 25px 50px -12px rgba(0,0,0,.7)}
.document-pipeline-hero .invoice-card{padding:26px;position:relative;overflow:hidden}
.document-pipeline-hero .invoice-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #1e293b;padding-bottom:18px;margin-bottom:20px;gap:10px}
.document-pipeline-hero .invoice-badge-box{display:flex;align-items:center;gap:12px}
.document-pipeline-hero .inv-avatar{width:36px;height:36px;flex:0 0 36px;background:#1e293b;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#38bdf8}
.document-pipeline-hero .invoice-title{font-size:14px;font-weight:800;color:#fff}
.document-pipeline-hero .invoice-subtitle{font-size:10px;color:#64748b;letter-spacing:.05em;text-transform:uppercase;margin-top:3px}
.document-pipeline-hero .invoice-type{font-size:10px;font-weight:700;padding:4px 10px;background:#1e293b;color:#94a3b8;border-radius:6px;border:1px solid #334155}
.document-pipeline-hero .invoice-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.document-pipeline-hero .field-box-raw{min-width:0;background:rgba(255,255,255,.02);border:1px dashed rgba(52,211,153,.4);border-radius:10px;padding:13px;transition:all .2s}
.document-pipeline-hero .field-box-raw:hover{border-color:#34d399;background:rgba(52,211,153,.05)}
.document-pipeline-hero .field-label{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:700;margin-bottom:4px}
.document-pipeline-hero .field-value{font-size:13px;font-weight:700;color:#f8fafc;overflow-wrap:anywhere}
.document-pipeline-hero .small-value{font-size:12px}
.document-pipeline-hero .field-address{font-size:9px;color:#64748b;margin-top:4px;line-height:1.45}
.document-pipeline-hero .table-preview{margin-top:16px;border:1px solid #1e293b;border-radius:8px;padding:10px 13px;background:rgba(15,23,42,.5)}
.document-pipeline-hero .table-row-heading,.document-pipeline-hero .table-row-item{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#94a3b8;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.03)}
.document-pipeline-hero .table-row-heading{font-size:9px;font-weight:700;color:#64748b;text-transform:uppercase;margin-bottom:3px}
.document-pipeline-hero .table-row-item.no-border{border:0}
.document-pipeline-hero .grand-total-box{margin-top:13px;border:1.5px solid #34d399;background:rgba(52,211,153,.04);border-radius:10px;padding:14px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#34d399;font-size:12px;font-weight:700}
.document-pipeline-hero .grand-total-box span:last-child{font-size:16px;font-weight:800}
.document-pipeline-hero .font-mono-num{font-family:'JetBrains Mono',monospace}
.document-pipeline-hero .invoice-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px;font-size:9px;color:#64748b}
.document-pipeline-hero .invoice-foot span:last-child{font-weight:700;letter-spacing:.05em}
.document-pipeline-hero .processor-center-box{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:290px;padding:40px 0}
@keyframes pipelineIcPulse{0%,100%{box-shadow:0 0 25px rgba(52,211,153,.25),inset 0 0 15px rgba(52,211,153,.2)}50%{box-shadow:0 0 45px rgba(52,211,153,.6),inset 0 0 25px rgba(52,211,153,.4)}}
.document-pipeline-hero .ic-engine-chip{width:110px;height:110px;flex:0 0 110px;background:#0b132b;border:2px solid #34d399;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:20;animation:pipelineIcPulse 3s ease-in-out infinite;cursor:default}
.document-pipeline-hero .ic-inner-gem{width:48px;height:48px;background:rgba(52,211,153,.1);border:1px solid #34d399;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#34d399;font-weight:800;font-size:11px;letter-spacing:-.05em}
.document-pipeline-hero .ic-engine-label{font-size:9px;font-weight:800;color:#34d399;margin-top:6px;letter-spacing:.05em}
@keyframes pipelineMatrixShoot{0%{transform:translateX(0) scale(.5);opacity:0}15%{opacity:1;transform:translateX(40px) scale(1.1)}85%{opacity:1;transform:translateX(180px) scale(.95)}100%{transform:translateX(220px) scale(.4);opacity:0}}
.document-pipeline-hero .token-stream-layer{position:absolute;left:50%;top:50%;width:240px;height:80px;transform:translateY(-50%);pointer-events:none;z-index:10}
.document-pipeline-hero .matrix-token{position:absolute;left:0;font-family:'JetBrains Mono',monospace;font-weight:800;font-size:13px;padding:3px 8px;border-radius:6px;box-shadow:0 0 12px rgba(52,211,153,.4);animation:pipelineMatrixShoot 1.8s cubic-bezier(.2,.9,.4,1) infinite}
.document-pipeline-hero .status-preview-pill{margin-top:24px;background:#0f172a;border:1px solid rgba(52,211,153,.3);padding:8px 16px;border-radius:9999px;font-size:11px;font-weight:700;color:#34d399;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 10px 25px rgba(0,0,0,.5)}
.document-pipeline-hero .processor-caption{font-size:10px;color:#64748b;margin-top:8px;font-weight:600;letter-spacing:.05em;text-align:center}
.document-pipeline-hero .extracted-data-card{padding:24px}
.document-pipeline-hero .extracted-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #1e293b;padding-bottom:14px;margin-bottom:18px;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#f8fafc}
.document-pipeline-hero .extracted-dot{width:8px;height:8px;border-radius:50%;background:#34d399}
.document-pipeline-hero .extracted-row{background:rgba(255,255,255,.02);border:1px solid #1e293b;border-radius:10px;padding:12px;margin-bottom:10px}
.document-pipeline-hero .extracted-label{font-size:9px;color:#64748b;font-weight:700;text-transform:uppercase}
.document-pipeline-hero .extracted-value{font-size:13px;font-weight:700;color:#f8fafc;margin-top:3px;overflow-wrap:anywhere}
.document-pipeline-hero .extracted-value.green{color:#34d399;font-weight:800}
.document-pipeline-hero .extracted-row.total-highlight{border-color:rgba(52,211,153,.4);background:rgba(52,211,153,.03)}
.document-pipeline-hero .total-highlight .extracted-value{font-size:15px}
.document-pipeline-hero .review-before-export{margin-top:18px;font-size:10px;font-weight:700;color:#34d399;display:flex;align-items:center;gap:6px}
.document-pipeline-hero .pipeline-footer-note{max-width:1400px;margin:0 auto;padding:0 32px;font-size:10px;color:#64748b}
@media(max-width:1100px){.document-pipeline-hero .studio-grid{grid-template-columns:minmax(0,1fr) 230px minmax(240px,.8fr);gap:16px;padding-left:22px;padding-right:22px}.document-pipeline-hero .invoice-card{padding:18px}.document-pipeline-hero .extracted-data-card{padding:18px}}
@media(max-width:820px){.document-pipeline-hero .studio-grid{grid-template-columns:1fr;max-width:680px;gap:18px}.document-pipeline-hero .processor-center-box{min-height:230px;order:2}.document-pipeline-hero .extracted-data-card{order:3}.document-pipeline-hero .invoice-card{order:1}.document-pipeline-hero .token-stream-layer{left:50%;transform:translateY(-50%)}}
@media(max-width:600px){.document-pipeline-hero{padding-bottom:30px}.document-pipeline-hero .pipeline-section{padding:22px 18px 14px}.document-pipeline-hero .studio-grid{padding:0 18px 18px}.document-pipeline-hero .invoice-card{padding:16px}.document-pipeline-hero .invoice-grid-2{gap:8px}.document-pipeline-hero .field-box-raw{padding:10px}.document-pipeline-hero .extracted-data-card{padding:17px}.document-pipeline-hero .pipeline-footer-note{padding:0 18px;line-height:1.5}.document-pipeline-hero .processor-center-box{min-height:220px}}


/* Latest supplied dynamic document hero */
.dynamic-document-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.35fr);align-items:center;gap:38px;max-width:1440px;margin:0 auto;padding:52px 32px 64px;color:#f8fafc}
.dynamic-document-hero:before,.dynamic-document-hero:after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(5px)}
.dynamic-document-hero:before{width:50vw;height:50vw;left:-20%;top:-35%;background:radial-gradient(circle,rgba(16,185,129,.12),transparent 70%)}
.dynamic-document-hero:after{width:45vw;height:45vw;right:-15%;top:-15%;background:radial-gradient(circle,rgba(59,130,246,.13),transparent 70%)}
.ddh-copy{min-width:0}.ddh-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid rgba(16,185,129,.25);border-radius:99px;background:rgba(16,185,129,.09);color:#6ee7b7;font-size:10px;font-weight:800;letter-spacing:1px}
.ddh-eyebrow span{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399}
.ddh-copy h1{margin:22px 0 16px;color:#f8fafc;font-size:clamp(38px,4.2vw,62px);font-weight:800;letter-spacing:-2.5px;line-height:1.08}
.ddh-copy h1 em{font-style:normal;color:#34d399;background:linear-gradient(90deg,#34d399,#5eead4,#60a5fa);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.ddh-copy>p{max-width:560px;margin:0;color:#94a3b8;font-size:15px;line-height:1.8}
.ddh-presets{margin-top:28px}.ddh-label{margin-bottom:10px;color:#94a3b8;font-size:10px;font-weight:800;letter-spacing:1.1px}
.ddh-preset-buttons{display:flex;flex-wrap:wrap;gap:8px}.ddh-preset{padding:9px 11px;border:1px solid #29364d;border-radius:8px;background:rgba(15,23,42,.78);color:#aab7c9;font-size:11px;font-weight:700;cursor:pointer}.ddh-preset.active{border-color:#10b981;background:rgba(16,185,129,.15);color:#6ee7b7}
.ddh-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.ddh-primary,.ddh-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 17px;border-radius:10px;font-size:12px;font-weight:800;text-decoration:none}.ddh-primary{background:#2563eb;color:white}.ddh-secondary{border:1px solid #334155;background:rgba(15,23,42,.7);color:#dbe4ef}
.ddh-visual{min-width:0;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:rgba(15,23,42,.65);box-shadow:0 25px 75px rgba(0,0,0,.32);backdrop-filter:blur(16px)}
.ddh-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.9fr) minmax(0,1fr);gap:12px;align-items:center}
.ddh-document,.ddh-output{position:relative;min-width:0;min-height:310px;padding:13px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(15,23,42,.8);overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.ddh-scanner{position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,#34d399,#60a5fa,#34d399,transparent);box-shadow:0 0 15px #34d399;animation:ddhScan 3.2s cubic-bezier(.4,0,.6,1) infinite}
@keyframes ddhScan{0%{top:0;opacity:0}15%,85%{opacity:1}100%{top:96%;opacity:0}}
.ddh-doc-head{display:flex;align-items:center;gap:8px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #263247}.ddh-avatar{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:rgba(59,130,246,.2);color:#60a5fa;font-size:11px;font-weight:800}.ddh-doc-head strong{font-size:9px;letter-spacing:.7px}.ddh-doc-head>span{margin-left:auto;padding:4px 5px;border-radius:4px;background:#1e293b;color:#94a3b8;font-size:7px}
.ddh-field{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 8px;margin:9px 0;border:1px dashed rgba(52,211,153,.4);border-radius:8px;transition:.2s;cursor:default}.ddh-field small{display:block;margin-bottom:4px;color:#94a3b8;font-size:8px;font-weight:700;letter-spacing:.5px}.ddh-field b{display:block;color:#f1f5f9;font-size:11px;overflow-wrap:anywhere}.ddh-field i{color:#34d399;font-size:9px;font-style:normal;font-weight:800}.ddh-field.ddh-total{margin-top:13px;border-top:1px solid #263247}.ddh-total b{color:#34d399;font-size:14px}
.ddh-chip-column{position:relative;display:flex;min-width:0;min-height:250px;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.ddh-bus-line{position:absolute;left:-12%;right:-12%;top:50%;height:2px;background:linear-gradient(90deg,rgba(52,211,153,.05),rgba(52,211,153,.55),rgba(59,130,246,.45),rgba(52,211,153,.05));box-shadow:0 0 10px rgba(52,211,153,.18)}
.ddh-chip-wrap{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center}
.ddh-chip-pins{display:flex;justify-content:space-between;width:62px;padding:0 7px;margin-bottom:-2px;position:relative;z-index:4}
.ddh-chip-pins.bottom{margin: -2px 0 0}
.ddh-chip-pins i{display:block;width:6px;height:9px;border-radius:2px 2px 0 0;background:linear-gradient(90deg,#64748b,#34d399);box-shadow:0 0 6px rgba(52,211,153,.3)}
.ddh-chip-pins.bottom i{border-radius:0 0 2px 2px}
@keyframes ddhPulse{0%,100%{box-shadow:0 0 15px rgba(52,211,153,.3),inset 0 0 15px rgba(52,211,153,.2)}50%{box-shadow:0 0 35px rgba(52,211,153,.7),inset 0 0 25px rgba(52,211,153,.4)}}
.ddh-chip{position:relative;z-index:2;display:grid;place-items:center;width:80px;height:80px;border:2px solid rgba(52,211,153,.8);border-radius:15px;background:#0f172a;animation:ddhPulse 2.8s ease-in-out infinite}
.ddh-chip:before{content:"";position:absolute;inset:-8px;border:1px dashed rgba(52,211,153,.4);border-radius:20px}
.ddh-chip-inner{display:flex;width:49px;height:49px;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(16,185,129,.5);border-radius:9px;background:#052e2b;color:#34d399;font-size:22px;font-weight:800}.ddh-chip-inner small{font-size:6px;letter-spacing:.4px}
.ddh-input-track{position:absolute;left:-10%;right:50%;top:calc(50% - 55px);height:30px;overflow:hidden;pointer-events:none}.ddh-input-track span{position:absolute;left:-20%;padding:4px 6px;border:1px solid #34d399;border-radius:4px;background:#0f172a;color:#6ee7b7;font-size:7px;font-weight:800;animation:ddhDoc 2.4s ease-in-out infinite}.ddh-input-track span+span{animation-delay:1.2s;border-color:#60a5fa;color:#93c5fd}
@keyframes ddhDoc{0%{left:-20%;opacity:0;transform:scale(.6)}20%,80%{opacity:1;transform:scale(1)}100%{left:110%;opacity:0;transform:scale(.3)}}
.ddh-token-track{position:absolute;left:55%;right:-28%;top:calc(50% - 38px);height:76px;overflow:visible;pointer-events:none;z-index:4}
.ddh-token-track i{position:absolute;left:0;display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid rgba(255,255,255,.55);border-radius:6px;background:#34d399;color:#071426;box-shadow:0 0 12px rgba(52,211,153,.55),inset 0 1px 2px rgba(255,255,255,.7);font:900 12px 'JetBrains Mono',monospace;font-style:normal;animation:ddhShoot 2s cubic-bezier(.25,1,.5,1) infinite;animation-delay:var(--delay)}
.ddh-token-track i:nth-child(1){background:#10b981}
.ddh-token-track i:nth-child(2){background:#2dd4bf}
.ddh-token-track i:nth-child(3){background:#22d3ee}
.ddh-token-track i:nth-child(4){background:#34d399}
.ddh-token-track i:nth-child(5){background:#60a5fa}
.ddh-token-track i:nth-child(6){background:#6ee7b7}
.ddh-token-track i:nth-child(7){background:#5eead4}
.ddh-token-track i:nth-child(8){background:#67e8f9}
.ddh-token-track i:nth-child(9){background:#93c5fd}
.ddh-token-track i:nth-child(10){background:#10b981}
@keyframes ddhShoot{0%{left:0;opacity:0;transform:translateY(-50%) scale(.4)}15%{opacity:1;transform:translateY(-50%) scale(1.1)}85%{opacity:1;transform:translateY(-50%) scale(1)}100%{left:100%;opacity:0;transform:translateY(-50%) scale(.3)}}
.ddh-speed{position:relative;z-index:2;text-align:center;color:#94a3b8;font-size:7px;font-weight:800;letter-spacing:.5px}
.ddh-output-head{display:flex;align-items:center;justify-content:space-between;gap:5px;padding-bottom:12px;margin-bottom:13px;border-bottom:1px solid #263247}.ddh-output-head strong{font-size:9px;letter-spacing:.6px}.ddh-output-head>span{padding:4px 6px;border:1px solid rgba(52,211,153,.3);border-radius:5px;background:rgba(52,211,153,.12);color:#34d399;font-size:7px;font-weight:800}
.ddh-output-row{display:flex;align-items:center;gap:6px;padding:10px 7px;margin:8px 0;border:1px solid rgba(148,163,184,.13);border-radius:8px;transition:.2s}.ddh-output-row i{display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;border-radius:4px;background:rgba(52,211,153,.15);color:#34d399;font:800 9px 'JetBrains Mono',monospace}.ddh-output-row label{color:#94a3b8;font-size:8px}.ddh-output-row b{margin-left:auto;color:#f1f5f9;font-size:9px;text-align:right;overflow-wrap:anywhere}.ddh-output-row[data-pair="total"] b{color:#34d399;font-weight:800}.ddh-output-row.active,.ddh-field.active{border:1px solid #34d399;background:rgba(52,211,153,.12);box-shadow:0 0 12px rgba(52,211,153,.2)}
.ddh-export{display:block;margin-top:15px;padding:10px;border:1px solid rgba(52,211,153,.3);border-radius:8px;color:#6ee7b7;text-align:center;text-decoration:none;font-size:9px;font-weight:800}
@media(max-width:1100px){.dynamic-document-hero{grid-template-columns:1fr;gap:30px;max-width:900px}.ddh-copy h1{max-width:800px}}
@media(max-width:680px){.dynamic-document-hero{padding:42px 18px}.ddh-copy h1{font-size:39px;letter-spacing:-1.7px}.ddh-copy>p{font-size:13px}.ddh-visual{padding:10px}.ddh-grid{grid-template-columns:1fr;gap:12px}.ddh-document,.ddh-output{min-height:0}.ddh-chip-column{min-height:170px;order:2}.ddh-output{order:3}.ddh-document{order:1}.ddh-input-track{left:5%;right:55%}.ddh-token-track{left:55%;right:2%;top:calc(50% - 38px)}}
@media(prefers-reduced-motion:reduce){.dynamic-document-hero *{animation:none!important;transition:none!important}}


/* Screenshot-matched document workflow stage */
@media(min-width:1101px){
  .dynamic-document-hero{grid-template-columns:minmax(0,1fr);gap:26px}
  .ddh-copy{max-width:900px}
}
.ddh-visual{
  width:100%;
  padding:20px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:24px;
  background:#606774;
  box-shadow:0 24px 60px rgba(15,23,42,.22);
  backdrop-filter:none;
}
.ddh-grid{
  grid-template-columns:minmax(0,1fr) minmax(120px,.62fr) minmax(0,1fr);
  gap:16px;
  min-height:420px;
  align-items:center;
}
.ddh-document,.ddh-output{
  min-height:386px;
  padding:17px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:19px;
  background:#1e293b;
  box-shadow:0 16px 34px rgba(15,23,42,.24);
}
.ddh-document{min-height:430px}
.ddh-field{padding:13px 10px;margin:11px 0;border-radius:10px}
.ddh-field small{font-size:9px}
.ddh-field b{font-size:13px}
.ddh-field i{font-size:11px}
.ddh-doc-head{padding-bottom:14px;margin-bottom:17px}
.ddh-doc-head strong{font-size:10px}
.ddh-doc-head>span{font-size:8px}
.ddh-avatar{width:32px;height:32px;font-size:13px}
.ddh-chip-column{min-height:300px}
.ddh-chip{width:100px;height:100px;border-radius:19px}
.ddh-chip-inner{width:61px;height:61px;font-size:27px}
.ddh-chip-inner small{font-size:7px}
.ddh-chip-pins{width:76px}
.ddh-token-track{left:54%;right:-32%}
.ddh-token-track i{width:28px;height:28px}
.ddh-speed{font-size:9px}
.ddh-output-head{padding-bottom:14px;margin-bottom:16px}
.ddh-output-head strong{font-size:11px}
.ddh-output-head>span{font-size:8px}
.ddh-output-row{padding:12px 8px;margin:10px 0;border-radius:10px}
.ddh-output-row i{width:21px;height:21px;flex-basis:21px;font-size:10px}
.ddh-output-row label{font-size:9px}
.ddh-output-row b{font-size:11px}
.ddh-export{margin-top:18px;padding:12px;font-size:10px}
@media(max-width:1100px){
  .ddh-visual{padding:16px}
  .ddh-grid{grid-template-columns:minmax(0,1fr) minmax(100px,.55fr) minmax(0,1fr);gap:12px;min-height:370px}
  .ddh-document{min-height:390px}
  .ddh-output{min-height:360px}
}
@media(max-width:680px){
  .ddh-visual{padding:12px;border-radius:18px}
  .ddh-grid{grid-template-columns:1fr;min-height:0}
  .ddh-document,.ddh-output{min-height:0}
  .ddh-chip-column{min-height:190px}
}


/* Supplied ConfiCel dynamic-processing visual system */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@600;700;800&display=swap');
body{font-family:'Plus Jakarta Sans',sans-serif;background-color:#070d1f;color:#f8fafc;overflow-x:hidden}
.font-mono-num{font-family:'JetBrains Mono',monospace}
.bg-glow-1,.bg-glow-2{position:fixed;z-index:0;pointer-events:none;border-radius:50%}
.bg-glow-1{top:-10%;left:-10%;width:55vw;height:55vw;background:radial-gradient(circle,rgba(16,185,129,.12),rgba(7,13,31,0) 70%)}
.bg-glow-2{top:10%;right:-10%;width:50vw;height:50vw;background:radial-gradient(circle,rgba(59,130,246,.15),rgba(7,13,31,0) 70%)}
.scanner-line{position:absolute;left:0;top:0;width:100%;height:3px;background:linear-gradient(90deg,transparent,#34d399,#60a5fa,#34d399,transparent);box-shadow:0 0 15px #34d399,0 0 25px rgba(52,211,153,.6);animation:sweepScan 5.5s cubic-bezier(.4,0,.6,1) infinite;z-index:25}
@keyframes sweepScan{0%{top:0;opacity:0}15%,85%{opacity:1}100%{top:96%;opacity:0}}
.doc-packet{position:absolute;top:50%;animation:streamInDoc 2.4s cubic-bezier(.4,0,.2,1) infinite}
@keyframes streamInDoc{0%{left:-15%;opacity:0;transform:translateY(-50%) scale(.6)}20%{opacity:1;transform:translateY(-50%) scale(1)}80%{opacity:1;transform:translateY(-50%) scale(.8)}100%{left:100%;opacity:0;transform:translateY(-50%) scale(.3)}}
.matrix-token{position:absolute;font-family:'JetBrains Mono',monospace;font-weight:800;font-size:11px;padding:2px 6px;border-radius:4px;box-shadow:0 0 12px currentColor;animation:shootToken 2s cubic-bezier(.25,1,.5,1) infinite}
@keyframes shootToken{0%{left:0;opacity:0;transform:translateY(-50%) scale(.4)}15%{opacity:1;transform:translateY(-50%) scale(1.1)}85%{opacity:1;transform:translateY(-50%) scale(1)}100%{left:100%;opacity:0;transform:translateY(-50%) scale(.3)}}
.ic-chip-body{animation:icPulse 2.8s ease-in-out infinite}
@keyframes icPulse{0%,100%{box-shadow:0 0 15px rgba(52,211,153,.3),inset 0 0 15px rgba(52,211,153,.2)}50%{box-shadow:0 0 35px rgba(52,211,153,.7),inset 0 0 25px rgba(52,211,153,.4)}}
.field-bbox{transition:all .25s ease;border:1px dashed rgba(52,211,153,.4)}
.field-bbox.active,.field-bbox:hover{border:1px solid #34d399;background-color:rgba(52,211,153,.12);box-shadow:0 0 12px rgba(52,211,153,.3)}
.data-row{transition:all .2s ease}
.data-row.active,.data-row:hover{background-color:rgba(52,211,153,.08);border-left:3px solid #34d399}
.glass-card{background:rgba(15,23,42,.65);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08)}
@media(prefers-reduced-motion:reduce){.scanner-line,.doc-packet,.matrix-token,.ic-chip-body{animation:none!important}}
@media(max-width:640px){.site-header{padding:18px 20px}.site-header nav{display:none}}

/* Cheque preset: show ONLY the cheque leaf. Hide every invoice metadata panel. */
#heroDocumentCard.is-cheque{
  display:flex!important; flex-direction:row!important; align-items:center!important; justify-content:center!important;
  width:100%; min-height:0!important; height:auto!important; padding:0!important; margin:0!important;
  background:transparent!important; border:0!important; box-shadow:none!important; overflow:visible!important;
}
#heroDocumentCard.is-cheque .scanner-line,
#heroDocumentCard.is-cheque #heroDocumentFields,
#heroDocumentCard.is-cheque #bbox-total{display:none!important}
#heroDocumentCard.is-cheque .hero-cheque-visual{
  display:flex!important; position:static!important; inset:auto!important; width:100%!important;
  min-height:0!important; height:auto!important; padding:0!important; margin:0!important;
  align-items:center!important; justify-content:center!important; background:transparent!important;
}
#heroDocumentCard.is-cheque .hero-cheque-visual img{
  display:block!important; width:100%!important; max-width:560px!important; height:auto!important;
  max-height:none!important; object-fit:contain!important; border:0!important; border-radius:12px!important;
  box-shadow:0 16px 38px rgba(0,0,0,.28)!important;
}

/* Final safeguard: the cheque card has exactly one visible child in cheque mode. */
#heroDocumentCard.is-cheque > :not(.hero-cheque-visual){display:none!important}

/* Cheque workspace: show the supplied cheque leaf when Cheque mode is selected. */
.cheque-workspace-art{margin:0 0 16px;padding:14px;border:1px solid #d5e4f3;border-radius:12px;background:linear-gradient(145deg,#f7fbff,#eef5fb)}
.cheque-workspace-art[hidden]{display:none!important}
.cheque-workspace-art-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;color:#294b70;font-size:10px;font-weight:800;letter-spacing:.09em}
.cheque-workspace-art-heading small{color:#78899d;font-size:9px;font-weight:600;letter-spacing:0}
.cheque-workspace-art img{display:block;width:100%;max-width:560px;height:auto;margin:0 auto;border:1px solid #d5dfeb;border-radius:8px;box-shadow:0 8px 22px rgba(24,55,91,.12)}
.cheque-workspace-art p{margin:10px 0 0;color:#64758a;font-size:11px;text-align:center}
.workspace-cheque-mode .upload-panel{border-color:#b9d8cc}


/* Keep cheque artwork completely out of every non-cheque document preset. */
#heroDocumentCard:not(.is-cheque) .hero-cheque-visual{display:none!important}
#heroDocumentCard.is-cheque .hero-cheque-visual{display:flex!important}

/* Restore the clean white paper and dot-matrix print treatment for invoice, PO and proforma previews. */
#heroDocumentCard:not(.is-cheque){
  background:#fff!important;
  color:#172033!important;
  border:1px solid #d7dee8!important;
  box-shadow:0 14px 34px rgba(15,23,42,.18)!important;
}
#heroDocumentCard:not(.is-cheque) .border-slate-800{border-color:#d9e0e8!important}
#heroDocumentCard:not(.is-cheque) #docTypeLabel,
#heroDocumentCard:not(.is-cheque) #docSupplierVal,
#heroDocumentCard:not(.is-cheque) #docInvNoVal,
#heroDocumentCard:not(.is-cheque) #docDateVal,
#heroDocumentCard:not(.is-cheque) #docTotalVal{color:#172033!important}
#heroDocumentCard:not(.is-cheque) .field-bbox{
  border:1px dotted #aab6c5!important;
  background:#fff!important;
}
#heroDocumentCard:not(.is-cheque) #docSupplierVal,
#heroDocumentCard:not(.is-cheque) #docInvNoVal,
#heroDocumentCard:not(.is-cheque) #docDateVal,
#heroDocumentCard:not(.is-cheque) #docTotalVal{
  font-family:"Courier New",monospace!important;
  letter-spacing:.035em;
  font-weight:700!important;
  text-shadow:0 0 .25px currentColor;
}
#heroDocumentCard:not(.is-cheque) .scanner-line{opacity:.18}


/* Neon data stream: vivid multi-colour characters with a clean luminous edge. */
.matrix-token{
  color:#fff!important;
  background:rgba(9,18,38,.92)!important;
  border:1px solid currentColor!important;
  font-family:"JetBrains Mono",monospace!important;
  font-weight:900!important;
  text-shadow:0 0 5px currentColor,0 0 12px currentColor,0 0 22px currentColor!important;
  box-shadow:0 0 8px currentColor,0 0 18px rgba(255,255,255,.22)!important;
  animation-name:conficelNeonStream,pipelineMatrixShoot!important;
  animation-duration:2.8s,1.8s!important;
}
.matrix-token:nth-child(4n+1){color:#ffe66d!important;border-color:#ffe66d!important}
.matrix-token:nth-child(4n+2){color:#54ff9f!important;border-color:#54ff9f!important}
.matrix-token:nth-child(4n+3){color:#62c8ff!important;border-color:#62c8ff!important}
.matrix-token:nth-child(4n){color:#fff!important;border-color:#fff!important}
@keyframes conficelNeonStream{
  0%,100%{filter:brightness(.85);text-shadow:0 0 4px currentColor,0 0 9px currentColor}
  50%{filter:brightness(1.55);text-shadow:0 0 7px currentColor,0 0 17px currentColor,0 0 28px currentColor}
}

/* Hero extraction loop: reveal Supplier, then line item 1, then line item 2.
   Document number, date and total deliberately remain static. */
#row-supplier,#row-item-one,#row-item-two{
  opacity:.42;
  animation:conficelFieldScan 6s ease-in-out infinite;
}
#row-supplier{animation-delay:0s}
#row-item-one{animation-delay:1.7s}
#row-item-two{animation-delay:3.4s}
@keyframes conficelFieldScan{
  0%,8%{opacity:.38;transform:translateX(-5px);border-color:rgba(148,163,184,.28);box-shadow:none}
  18%,66%{opacity:1;transform:translateX(0);border-color:rgba(52,211,153,.72);box-shadow:0 0 12px rgba(52,211,153,.18)}
  78%,100%{opacity:.48;transform:translateX(0);border-color:rgba(148,163,184,.28);box-shadow:none}
}
#row-invNo,#row-date,#row-total{opacity:1!important;animation:none!important;transform:none!important}
.sample-line-item[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){
  .matrix-token,#row-supplier,#row-item-one,#row-item-two{animation:none!important;opacity:1!important;transform:none!important}
}


/* Ensure both document and extracted-data previews have room for two line items. */
#heroDocumentCard:not(.is-cheque){min-height:470px!important;justify-content:flex-start!important;gap:12px}
#extractedDataCard{min-height:470px!important;justify-content:flex-start!important;gap:14px}
#extractedDataCard>.mt-3{margin-top:auto!important}
#heroDocumentCard:not(.is-cheque) .hero-line-item{
  display:block;
  border:1px dotted #aab6c5!important;
  background:#fff!important;
  min-height:42px;
}
#heroDocumentCard:not(.is-cheque) .hero-line-item[hidden]{display:none!important}
#heroDocumentCard:not(.is-cheque) .hero-line-item div:last-child{
  color:#172033!important;
  font-family:"Courier New",monospace!important;
  font-weight:700!important;
}
#heroDocumentCard:not(.is-cheque) .hero-line-item span{color:#53647a!important}
#heroDocumentCard:not(.is-cheque) .hero-line-item span:last-child{color:#0f9f75!important}

/* Slow the travelling neon characters down substantially. */
.matrix-token{
  animation-duration:5.6s,5.6s!important;
  animation-timing-function:ease-in-out,linear!important;
}
@keyframes conficelNeonStream{
  0%,100%{filter:brightness(.9);text-shadow:0 0 3px currentColor,0 0 7px currentColor}
  50%{filter:brightness(1.25);text-shadow:0 0 5px currentColor,0 0 12px currentColor,0 0 18px currentColor}
}

/* Complete, readable 9-second reveal cycle. Supplier and both line items
   appear sequentially; document number, date and total stay static. */
#row-supplier,#row-item-one,#row-item-two{
  animation-duration:9s!important;
  animation-timing-function:ease-in-out!important;
  animation-iteration-count:infinite!important;
}
#row-supplier{animation-delay:0s!important}
#row-item-one{animation-delay:3s!important}
#row-item-two{animation-delay:6s!important}
@keyframes conficelFieldScan{
  0%,10%{opacity:.3;transform:translateX(-3px);border-color:rgba(148,163,184,.25);box-shadow:none}
  18%,52%{opacity:1;transform:translateX(0);border-color:rgba(52,211,153,.72);box-shadow:0 0 10px rgba(52,211,153,.16)}
  62%,100%{opacity:.38;transform:translateX(0);border-color:rgba(148,163,184,.28);box-shadow:none}
}
#row-invNo,#row-date,#row-total{opacity:1!important;animation:none!important;transform:none!important}


/* Scan only the right-hand extracted values. Keep row cards, number chips and
   left-hand labels continuously visible; clear/reveal each value in sequence. */
#row-supplier,#row-invNo,#row-date,#row-total,#row-item-one,#row-item-two{
  opacity:1!important;
  transform:none!important;
  border-color:rgba(30,41,59,.85)!important;
  box-shadow:none!important;
  animation:none!important;
}
#row-supplier>div:first-child,
#row-invNo>div:first-child,
#row-date>div:first-child,
#row-total>div:first-child,
#row-item-one>div:first-child,
#row-item-two>div:first-child{
  opacity:1!important;
  visibility:visible!important;
}
#tableSupplierVal,#tableInvNoVal,#tableDateVal,#tableTotalVal,
#tableItemOneVal,#tableItemTwoVal{
  opacity:0;
  visibility:hidden;
  animation:conficelValueScan 12s linear infinite;
  animation-fill-mode:both;
}
#tableSupplierVal{animation-delay:0s}
#tableInvNoVal{animation-delay:2s}
#tableDateVal{animation-delay:4s}
#tableTotalVal{animation-delay:6s}
#tableItemOneVal{animation-delay:8s}
#tableItemTwoVal{animation-delay:10s}
@keyframes conficelValueScan{
  0%,7%{opacity:0;visibility:hidden}
  12%,43%{opacity:1;visibility:visible}
  48%,100%{opacity:0;visibility:hidden}
}
@media(prefers-reduced-motion:reduce){
  #tableSupplierVal,#tableInvNoVal,#tableDateVal,#tableTotalVal,
  #tableItemOneVal,#tableItemTwoVal{
    animation:none!important;opacity:1!important;visibility:visible!important
  }
}


/* One continuous top-to-bottom scan. Each extracted value appears when the
   scan reaches its row, then remains visible until the cycle resets. */
#extractedDataCard{position:relative!important;overflow:hidden}
#extractedDataCard::after{
  content:"";
  position:absolute;
  left:18px;right:18px;top:70px;height:2px;
  z-index:5;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(74,222,255,.2),#67e8f9,#a7f3d0,rgba(74,222,255,.2),transparent);
  box-shadow:0 0 7px rgba(34,211,238,.85),0 0 16px rgba(52,211,153,.45);
  animation:conficelPanelScan 12s linear infinite;
}
@keyframes conficelPanelScan{
  0%{top:70px;opacity:0}
  3%{opacity:1}
  94%{top:calc(100% - 34px);opacity:1}
  100%{top:calc(100% - 34px);opacity:0}
}
/* Keep all labels, number chips and row outlines fixed and visible. */
#row-supplier>div:first-child,#row-invNo>div:first-child,#row-date>div:first-child,
#row-total>div:first-child,#row-item-one>div:first-child,#row-item-two>div:first-child{
  opacity:1!important;visibility:visible!important
}
/* A single shared 12-second cycle makes every value clear together at reset.
   Each one turns on just after the beam reaches its row and then stays on. */
#tableSupplierVal,#tableInvNoVal,#tableDateVal,#tableTotalVal,#tableItemOneVal,#tableItemTwoVal{
  opacity:0;visibility:hidden;animation:conficelRevealSupplier 12s linear infinite!important;
}
#tableSupplierVal{animation-name:conficelRevealSupplier!important}
#tableInvNoVal{animation-name:conficelRevealDocNo!important}
#tableDateVal{animation-name:conficelRevealDate!important}
#tableTotalVal{animation-name:conficelRevealTotal!important}
#tableItemOneVal{animation-name:conficelRevealItemOne!important}
#tableItemTwoVal{animation-name:conficelRevealItemTwo!important}
@keyframes conficelRevealSupplier{0%,4%{opacity:0;visibility:hidden}5%,99%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelRevealDocNo{0%,18%{opacity:0;visibility:hidden}19%,99%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelRevealDate{0%,32%{opacity:0;visibility:hidden}33%,99%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelRevealTotal{0%,46%{opacity:0;visibility:hidden}47%,99%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelRevealItemOne{0%,60%{opacity:0;visibility:hidden}61%,99%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelRevealItemTwo{0%,74%{opacity:0;visibility:hidden}75%,99%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){
  #extractedDataCard::after{animation:none!important;display:none}
  #tableSupplierVal,#tableInvNoVal,#tableDateVal,#tableTotalVal,#tableItemOneVal,#tableItemTwoVal{
    animation:none!important;opacity:1!important;visibility:visible!important
  }
}


/* Final alignment: the ONLY scan beam remains on the document preview.
   No beam or scanning line is drawn over the Structured Data card. */
#extractedDataCard::after{display:none!important;content:none!important}

/* Match value reveals to the document's 3.2-second top-to-bottom scanner.
   Values appear in row order, stay visible for the rest of the pass,
   then clear together as the next scan begins. */
#tableSupplierVal,#tableInvNoVal,#tableDateVal,#tableTotalVal,#tableItemOneVal,#tableItemTwoVal{
  opacity:0;
  visibility:hidden;
  animation-duration:5.5s!important;
  animation-timing-function:linear!important;
  animation-iteration-count:infinite!important;
  animation-fill-mode:both!important;
}
#tableSupplierVal{animation-name:conficelSyncSupplier!important}
#tableInvNoVal{animation-name:conficelSyncDocNo!important}
#tableDateVal{animation-name:conficelSyncDate!important}
#tableTotalVal{animation-name:conficelSyncTotal!important}
#tableItemOneVal{animation-name:conficelSyncItemOne!important}
#tableItemTwoVal{animation-name:conficelSyncItemTwo!important}
@keyframes conficelSyncSupplier{0%,7%{opacity:0;visibility:hidden}8%,96%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelSyncDocNo{0%,21%{opacity:0;visibility:hidden}22%,96%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelSyncDate{0%,36%{opacity:0;visibility:hidden}37%,96%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelSyncTotal{0%,51%{opacity:0;visibility:hidden}52%,96%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelSyncItemOne{0%,66%{opacity:0;visibility:hidden}67%,96%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes conficelSyncItemTwo{0%,81%{opacity:0;visibility:hidden}82%,96%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){
  #tableSupplierVal,#tableInvNoVal,#tableDateVal,#tableTotalVal,#tableItemOneVal,#tableItemTwoVal{
    animation:none!important;opacity:1!important;visibility:visible!important
  }
}


/* Compact workspace tiles: reduce panel height, padding and control scale. */
.workspace-section{padding:52px 0 60px!important}
.workspace-section .section-wrap{max-width:1100px}
.workspace-section .workspace-heading{margin-bottom:24px}
.workspace-section .workspace{max-width:1100px;margin:0 auto;gap:16px;align-items:start}
.workspace-section .upload-panel,
.workspace-section .results-panel{padding:18px;border-radius:12px}
.workspace-section .panel-top{padding-bottom:13px;gap:8px}
.workspace-section .panel-top>div{gap:8px;font-size:12px}
.workspace-section .step-number{width:25px;height:25px;font-size:10px}
.workspace-section .mode-tabs{margin:13px 0}
.workspace-section .mode-tab{padding:7px 10px;font-size:11px}
.workspace-section .drop-zone{min-height:160px;padding:14px}
.workspace-section .upload-symbol{width:38px;height:38px;font-size:21px;margin-bottom:9px}
.workspace-section .drop-zone strong{font-size:12px}
.workspace-section .drop-zone>span:not(.upload-symbol):not(.button){font-size:10px}
.workspace-section .browse-button{margin-top:11px;padding:7px 12px;font-size:10px}
.workspace-section .selected-file{padding:8px 10px;margin-top:9px}
.workspace-section .notice{margin:11px 0;padding:9px;font-size:11px}
.workspace-section .notice p{font-size:9px;line-height:1.5}
.workspace-section .extract-button{padding:10px 14px;font-size:12px}
.workspace-section .upload-footnote{font-size:9px;margin-top:9px}
.workspace-section .preview-toolbar{padding:11px 0}
.workspace-section .data-table{font-size:10px}
.workspace-section .data-table th,
.workspace-section .data-table td{padding:8px 9px;font-size:10px}
.workspace-section .review-note{font-size:10px;margin:10px 0 13px}
.workspace-section .button-download{padding:10px 13px;font-size:12px}
@media(max-width:850px){
  .workspace-section{padding:42px 0 50px!important}
  .workspace-section .workspace{gap:13px}
}
@media(max-width:560px){
  .workspace-section .upload-panel,
  .workspace-section .results-panel{padding:14px}
  .workspace-section .drop-zone{min-height:145px}
}


/* Final compact sizing for the upload and review workspace cards. */
.workspace-section .section-wrap{max-width:1100px!important;width:calc(100% - 40px)!important}
.workspace-section .workspace{max-width:1100px!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:14px!important}
.workspace-section .upload-panel,
.workspace-section .results-panel{min-height:0!important;padding:14px!important}
.workspace-section .panel-top{padding-bottom:10px!important}
.workspace-section .mode-tabs{margin:10px 0!important}
.workspace-section .drop-zone{min-height:125px!important;padding:10px!important}
.workspace-section .upload-symbol{width:32px!important;height:32px!important;font-size:18px!important;margin-bottom:6px!important}
.workspace-section .browse-button{margin-top:8px!important;padding:6px 10px!important}
.workspace-section .selected-file{padding:6px 9px!important;margin-top:7px!important}
.workspace-section .selected-file[hidden]{display:none!important}
.workspace-section .notice{margin:8px 0!important;padding:8px!important}
.workspace-section .preview-toolbar{padding:8px 0!important}
.workspace-section .data-table th,
.workspace-section .data-table td{padding:6px 8px!important}
.workspace-section .review-note{margin:8px 0 10px!important}
.workspace-section .extract-button,
.workspace-section .button-download{padding:8px 11px!important}
.workspace-section .upload-footnote{margin-top:7px!important}
@media(max-width:850px){
  .workspace-section .workspace{grid-template-columns:1fr!important}
}


/* Vibrant, premium workspace cards: colourful accents with clear readable text. */
.workspace-section{
  background:
    radial-gradient(ellipse at 8% 12%,rgba(59,130,246,.10),transparent 38%),
    radial-gradient(ellipse at 92% 88%,rgba(16,185,129,.10),transparent 36%),
    linear-gradient(135deg,#f3f7ff 0%,#f7faff 48%,#effbf7 100%)!important;
}
.workspace-section .upload-panel,
.workspace-section .results-panel{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(148,177,218,.45)!important;
  border-radius:18px!important;
  background:linear-gradient(150deg,#fff 0%,#f8fbff 100%)!important;
  box-shadow:0 16px 38px rgba(31,74,130,.10),0 3px 9px rgba(31,74,130,.05)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.workspace-section .upload-panel::before,
.workspace-section .results-panel::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,#2563eb 0%,#06b6d4 48%,#10b981 100%);
}
.workspace-section .upload-panel:hover,
.workspace-section .results-panel:hover{
  transform:translateY(-3px);
  border-color:rgba(59,130,246,.55)!important;
  box-shadow:0 22px 46px rgba(31,74,130,.15)!important;
}
.workspace-section .results-panel{
  background:linear-gradient(150deg,#fff 0%,#f5fffc 100%)!important;
}
.workspace-section .panel-top{
  border-bottom:1px solid #e3ebf8!important;
}
.workspace-section .panel-top b{
  color:#18345d!important;
  font-weight:800!important;
}
.workspace-section .step-number{
  background:linear-gradient(140deg,#dbeafe,#d9f4ff)!important;
  color:#1554b7!important;
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.12);
}
.workspace-section .file-limit,
.workspace-section .preview-badge{
  color:#52708f!important;
  font-weight:800!important;
}
.workspace-section .mode-tab{
  border:1px solid #d8e4f3!important;
  background:linear-gradient(180deg,#fff,#f4f8ff)!important;
  color:#48617e!important;
  border-radius:10px!important;
  font-weight:700!important;
  transition:all .18s ease;
}
.workspace-section .mode-tab:hover{
  border-color:#60a5fa!important;
  color:#1d4ed8!important;
  transform:translateY(-1px);
}
.workspace-section .mode-tab.active{
  border-color:#3b82f6!important;
  color:#124ca5!important;
  background:linear-gradient(120deg,#e7f0ff,#e4f8ff)!important;
  box-shadow:0 4px 12px rgba(37,99,235,.12);
}
.workspace-section .drop-zone{
  position:relative;
  border:1.5px dashed #7ca9ef!important;
  border-radius:15px!important;
  background:
    radial-gradient(circle at 50% 0%,rgba(96,165,250,.13),transparent 55%),
    linear-gradient(145deg,#f2f7ff,#f0fbff)!important;
  transition:all .2s ease;
}
.workspace-section .drop-zone:hover,
.workspace-section .drop-zone.dragover{
  border-color:#0d9bd7!important;
  background:linear-gradient(145deg,#e7f0ff,#e3fbff)!important;
  box-shadow:inset 0 0 0 1px rgba(14,165,233,.12),0 8px 20px rgba(14,116,214,.08);
}
.workspace-section .upload-symbol{
  color:#fff!important;
  background:linear-gradient(145deg,#2563eb,#06b6d4)!important;
  border-radius:12px!important;
  box-shadow:0 7px 16px rgba(37,99,235,.25);
}
.workspace-section .drop-zone strong{color:#173d70!important;font-weight:800!important}
.workspace-section .drop-zone>span:not(.upload-symbol):not(.button){color:#607b9a!important}
.workspace-section .browse-button{
  color:#fff!important;
  border:0!important;
  background:linear-gradient(110deg,#2563eb,#087fcb)!important;
  box-shadow:0 5px 12px rgba(37,99,235,.2);
}
.workspace-section .browse-button:hover{
  background:linear-gradient(110deg,#1d4ed8,#0369a1)!important;
  transform:translateY(-1px);
}
.workspace-section .selected-file{
  background:linear-gradient(100deg,#eff6ff,#f0fdfa)!important;
  border-color:#bfdbfe!important;
}
.workspace-section .file-icon{
  background:#dbeafe!important;
  color:#1d4ed8!important;
  border-radius:8px!important;
}
.workspace-section .selected-file-name{color:#24466e!important}
.workspace-section .notice{
  color:#81520b!important;
  border:1px solid #f4d28a!important;
  border-radius:11px!important;
  background:linear-gradient(110deg,#fff8e8,#fff4d9)!important;
}
.workspace-section .notice>span{color:#d18a12!important}
.workspace-section .notice b{color:#925b08!important}
.workspace-section .extract-button{
  color:#fff!important;
  border:0!important;
  border-radius:11px!important;
  background:linear-gradient(105deg,#2563eb 0%,#087fce 52%,#089b91 100%)!important;
  box-shadow:0 8px 18px rgba(25,105,190,.22);
  font-weight:800!important;
  transition:filter .18s ease,transform .18s ease,box-shadow .18s ease;
}
.workspace-section .extract-button:not(:disabled):hover{
  filter:brightness(1.07);
  transform:translateY(-2px);
  box-shadow:0 12px 22px rgba(25,105,190,.28);
}
.workspace-section .extract-button:disabled{
  background:linear-gradient(105deg,#9bb4d7,#8baac5)!important;
  box-shadow:none!important;
}
.workspace-section .preview-toolbar{
  border-radius:10px;
}
.workspace-section .excel-mark{
  display:grid;
  place-items:center;
  width:30px;height:30px;
  border-radius:9px;
  color:#fff!important;
  background:linear-gradient(145deg,#059669,#14b8a6)!important;
  box-shadow:0 5px 12px rgba(5,150,105,.18);
}
.workspace-section .preview-toolbar>span:nth-child(2) b{color:#1d4169!important}
.workspace-section .preview-toolbar small{color:#7187a0!important}
.workspace-section .preview-status{
  color:#16815f!important;
  background:#e7f8f0;
  border-radius:20px;
  padding:5px 8px;
}
.workspace-section .preview-status i{background:#10b981!important}
.workspace-section .table-scroll{
  border-color:#d8e5f3!important;
  border-radius:11px!important;
  box-shadow:0 4px 12px rgba(30,64,110,.04);
}
.workspace-section .data-table th{
  color:#24466e!important;
  background:linear-gradient(100deg,#eaf2ff,#e5f7ff)!important;
  border-color:#d8e5f3!important;
}
.workspace-section .data-table td{
  color:#405b7b!important;
  background:rgba(255,255,255,.88);
  border-color:#e1eaf4!important;
}
.workspace-section .data-table tr:hover td{background:#f1f8ff}
.workspace-section .data-table .total-row td{
  color:#12694f!important;
  background:linear-gradient(100deg,#e9f9f1,#e7f8f7)!important;
  font-weight:800!important;
}
.workspace-section .review-note{
  color:#56708c!important;
}
.workspace-section .review-note span{color:#0891b2!important}
.workspace-section .button-download{
  color:#08734f!important;
  border:1px solid #9bd9bf!important;
  border-radius:11px!important;
  background:linear-gradient(105deg,#e8fbf1,#e2f8f6)!important;
  box-shadow:0 5px 13px rgba(5,150,105,.08);
  font-weight:800!important;
  transition:all .18s ease;
}
.workspace-section .button-download:hover{
  border-color:#34b88b!important;
  background:linear-gradient(105deg,#d8f8e8,#d5f5f2)!important;
  transform:translateY(-1px);
}
.workspace-section .upload-footnote{color:#7186a0!important}
@media(prefers-reduced-motion:reduce){
  .workspace-section .upload-panel,
  .workspace-section .results-panel,
  .workspace-section .mode-tab,
  .workspace-section .browse-button,
  .workspace-section .extract-button,
  .workspace-section .button-download{transition:none!important;transform:none!important}
}


/* Email verification state in the account modal, adapted from LABOMER. */
.auth-verify{
  padding:20px;
  margin-top:8px;
  border:1px solid #bfdbfe;
  border-radius:14px;
  background:linear-gradient(145deg,#eff6ff 0%,#f0fdfa 100%);
  text-align:center;
}
.auth-verify[hidden]{display:none!important}
.auth-verify-icon{
  display:grid;
  place-items:center;
  width:48px;height:48px;
  margin:0 auto 12px;
  border-radius:15px;
  color:#fff;
  font-size:23px;
  background:linear-gradient(140deg,#2563eb,#06b6d4);
  box-shadow:0 8px 18px rgba(37,99,235,.2);
}
.auth-verify h3{margin:0 0 8px;color:#173d70;font:800 19px Manrope,sans-serif}
.auth-verify>p:not(.auth-message){margin:0 0 14px;color:#5c718b;font-size:12px;line-height:1.65}
.auth-verify strong{color:#1e4f86;overflow-wrap:anywhere}
.auth-verify .button{width:100%;justify-content:center}
.auth-verify .auth-forgot{display:block;margin:0 auto}
.auth-verify .auth-message{margin:8px 0 0}
.auth-verify button:disabled{opacity:.6;cursor:wait}
.auth-user{margin-top:10px}
.auth-user #auth-user-email{font-weight:800;color:#173d70}


/* Invoice review: visually group header details, line items, tax and totals. */
.workspace-section .data-table tr.invoice-section-invoice-detail td{
  background:#f1edff!important;
  border-color:#ddd3fa!important;
}
.workspace-section .data-table tr.invoice-section-line-item td{
  background:#e8f8f8!important;
  border-color:#cceced!important;
}
.workspace-section .data-table tr.invoice-section-tax-row td{
  background:#fff5e4!important;
  border-color:#f3dfb8!important;
}
.workspace-section .data-table tr.invoice-section-invoice-total td{
  background:#e9f7ee!important;
  border-color:#ccebd7!important;
  font-weight:750!important;
}
.workspace-section .data-table tr.invoice-section-invoice-detail td:first-child{border-left:4px solid #8064c7!important}
.workspace-section .data-table tr.invoice-section-line-item td:first-child{border-left:4px solid #0b9299!important}
.workspace-section .data-table tr.invoice-section-tax-row td:first-child{border-left:4px solid #d18a22!important}
.workspace-section .data-table tr.invoice-section-invoice-total td:first-child{border-left:4px solid #218653!important}
.workspace-section .data-table tr.invoice-section-invoice-detail:hover td{background:#e7e0ff!important}
.workspace-section .data-table tr.invoice-section-line-item:hover td{background:#d9f1f1!important}
.workspace-section .data-table tr.invoice-section-tax-row:hover td{background:#ffedcc!important}
.workspace-section .data-table tr.invoice-section-invoice-total:hover td{background:#d9f0e2!important}


/* Compact group labels: show each item/tax row heading once, not in every field label. */
.workspace-section .data-table tr.invoice-group-heading td{
  padding:9px 12px!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.workspace-section .data-table tr.invoice-group-line-item td{
  color:#075b63!important;
  background:#cceff0!important;
  border-top:2px solid #0b9299!important;
  border-bottom:1px solid #a9dfe1!important;
}
.workspace-section .data-table tr.invoice-group-tax td{
  color:#87530d!important;
  background:#ffebc4!important;
  border-top:2px solid #d18a22!important;
  border-bottom:1px solid #f2d69e!important;
}


/* Distinct free-token balance badge */
.workspace-section .token-balance{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  padding:10px 13px;border:1px solid #d8ccff;border-left:4px solid #7654c8;
  border-radius:10px;background:linear-gradient(100deg,#f2edff 0%,#f8f6ff 100%);
  color:#49358b;box-shadow:0 3px 10px rgba(91,66,160,.06)
}
.workspace-section .token-balance-label{
  display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:850;
  letter-spacing:.09em;text-transform:uppercase;color:#7654c8
}
.workspace-section .token-balance-value{font-size:12px;font-weight:750;color:#49358b}
.workspace-section .mode-tabs{display:flex;flex-wrap:wrap;gap:7px}
.workspace-section .mode-tab-coming{
  display:inline-flex;align-items:center;gap:6px;border-style:dashed;color:#8290a3;
  background:#f8fafc;cursor:not-allowed;opacity:.82
}
.workspace-section .mode-tab-coming span{
  padding:2px 5px;border-radius:4px;background:#edf1f6;color:#738197;
  font-size:8px;font-weight:800;letter-spacing:.02em;text-transform:uppercase
}


/* ConfiCel workspace refresh: visual document cards and premium upload surface */
.workspace-section .document-type-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 16px
}
.workspace-section .document-type-card{
  position:relative;display:flex;align-items:center;gap:11px;min-width:0;
  padding:13px 14px;text-align:left;border:1px solid #dce5f1;border-radius:12px;
  background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);color:#243b59;
  cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease
}
.workspace-section .document-type-card:hover{
  transform:translateY(-2px);border-color:#a8c4eb;box-shadow:0 9px 22px rgba(39,83,145,.10)
}
.workspace-section .document-type-card.active{
  border-color:#3978d7;background:linear-gradient(135deg,#edf5ff 0%,#f7faff 100%);
  box-shadow:0 0 0 2px rgba(57,120,215,.12),0 8px 20px rgba(39,83,145,.08)
}
.workspace-section .document-type-icon{
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  border-radius:11px;font-size:22px;font-weight:800
}
.workspace-section .invoice-icon{background:#e6efff;color:#2863bd}
.workspace-section .cheque-icon{background:#e1f7ef;color:#13845c}
.workspace-section .quotation-icon{background:#fff1dc;color:#b87517}
.workspace-section .other-icon{background:#f0eaff;color:#7651bd}
.workspace-section .document-type-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.workspace-section .document-type-copy strong{font-size:12px;font-weight:800;color:#193657}
.workspace-section .document-type-copy small{font-size:10px;line-height:1.35;color:#75869b}
.workspace-section .document-type-check{
  display:grid;place-items:center;margin-left:auto;flex:0 0 20px;width:20px;height:20px;
  border:1px solid #cbd7e6;border-radius:50%;font-size:11px;color:transparent;background:#fff
}
.workspace-section .document-type-card.active .document-type-check{
  color:#fff;background:#276bd0;border-color:#276bd0
}
.workspace-section .upload-zone-shell{
  padding:12px;border:1px solid #dce7f4;border-radius:15px;
  background:linear-gradient(145deg,#f7faff 0%,#f1f8ff 55%,#f2fbf8 100%);
  box-shadow:inset 0 1px 0 #fff,0 8px 24px rgba(33,73,124,.055)
}
.workspace-section .upload-zone-topline{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 3px 9px
}
.workspace-section .upload-zone-kicker{font-size:9px;font-weight:850;letter-spacing:.12em;color:#607b9d}
.workspace-section .upload-zone-secure{font-size:9px;font-weight:700;color:#17835f}
.workspace-section .drop-zone{
  min-height:190px;border:1.5px dashed #83afea;border-radius:12px;
  background:radial-gradient(circle at 50% 0%,rgba(219,235,255,.65),transparent 60%),#fff;
  transition:background .2s,border-color .2s,box-shadow .2s
}
.workspace-section .drop-zone:hover,.workspace-section .drop-zone.dragover{
  border-color:#2878df;background:linear-gradient(145deg,#edf5ff,#f0fbf8);
  box-shadow:inset 0 0 0 2px rgba(40,120,223,.07)
}
.workspace-section .upload-symbol{
  width:52px;height:52px;border-radius:16px;color:#fff;
  background:linear-gradient(145deg,#286de0,#06a9c4);
  box-shadow:0 9px 20px rgba(39,111,207,.22);font-size:27px
}
.workspace-section .drop-zone strong{font-size:14px;color:#193b63}
.workspace-section .browse-button{
  background:linear-gradient(100deg,#286de0,#087fcb);border:0;color:#fff;
  box-shadow:0 6px 14px rgba(38,105,202,.18)
}
@media(max-width:520px){
  .workspace-section .document-type-grid{gap:8px}
  .workspace-section .document-type-card{padding:10px;gap:8px}
  .workspace-section .document-type-icon{width:36px;height:36px;flex-basis:36px}
  .workspace-section .document-type-copy strong{font-size:11px}
  .workspace-section .document-type-copy small{font-size:9px}
  .workspace-section .document-type-check{display:none}
}


/* Dark token strip with high-contrast eligibility and page-rate labels. */
.workspace-section .token-balance{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:nowrap!important;gap:14px!important;padding:12px 16px!important;
  border:1px solid #424b5a!important;border-left:4px solid #64748b!important;
  border-radius:10px!important;background:linear-gradient(100deg,#171b22 0%,#252b35 100%)!important;
  color:#fff!important;box-shadow:0 5px 14px rgba(15,23,42,.16)!important;
}
.workspace-section .token-balance-value,
.workspace-section .token-balance-rate{
  color:#fff!important;font-size:11px!important;font-weight:850!important;
  letter-spacing:.035em!important;white-space:nowrap!important;
}
.workspace-section .token-balance-rate{margin-left:auto!important;text-align:right!important}
@media(max-width:520px){
  .workspace-section .token-balance{gap:8px!important;padding:10px 11px!important}
  .workspace-section .token-balance-value,
  .workspace-section .token-balance-rate{font-size:9px!important;letter-spacing:0!important}
}

/* Account profile panel */
.auth-profile-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.auth-avatar{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#16845b,#1c5ba8);color:#fff;font-size:20px;font-weight:800}
.auth-profile-heading h3{margin:0;color:#173d70;font:800 17px Manrope,sans-serif}
.auth-profile-subtitle{margin:3px 0 0!important;color:#718096;font-size:11px!important}
.auth-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}
.auth-profile-field{min-width:0;padding:11px;background:#fff;border:1px solid #e0e8f2;border-radius:9px}
.auth-profile-field span,.auth-profile-field strong{display:block}
.auth-profile-field span{font-size:10px;color:#718096;margin-bottom:5px}
.auth-profile-field strong{font-size:12px;color:#173d70;overflow-wrap:anywhere}
.auth-profile-form{display:grid;gap:10px;padding-top:13px;border-top:1px solid #e0e8f2}
.auth-profile-form label{display:grid;gap:6px;font-size:11px}
.auth-profile-form button{width:100%;min-height:42px}
.auth-signout-button{border-color:#e5b9b9!important;color:#a52b2b!important;background:#fff!important}
@media(max-width:430px){.auth-profile-grid{grid-template-columns:1fr}}

/* Header account dropdown */
.auth-account-wrap{position:relative;display:flex;align-items:center}
.auth-account-trigger{display:block;border:1px solid rgba(148,163,184,.35);background:rgba(15,35,60,.65);color:#e2e8f0;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.auth-account-trigger:hover{border-color:#34d399;color:#fff}
.auth-account-wrap>.auth-user{position:absolute;right:0;top:calc(100% + 12px);z-index:1200;width:min(360px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;box-shadow:0 18px 48px rgba(3,16,34,.28)}
.auth-account-wrap>.auth-user[hidden]{display:none!important}
@media(max-width:560px){.auth-account-trigger{max-width:145px;padding:9px 10px;font-size:11px}}

/* Account name trigger and anchored profile dropdown */
.auth-account-wrap{position:relative;display:flex;align-items:center}
.auth-account-trigger{border:1px solid #dce5ef;background:#fff;color:#173d70;border-radius:10px;padding:10px 15px;font:700 13px 'DM Sans',sans-serif;cursor:pointer;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-account-trigger:hover{background:#f3f8ff;border-color:#b9cfee}
.auth-account-wrap>.auth-user{margin-top:0}


/* Dedicated profile editor dialog */
.auth-edit-modal{z-index:1300}
.auth-edit-form{display:grid;gap:14px}
.auth-edit-form label{display:grid;gap:7px}
.auth-edit-form input{width:100%;min-height:45px;padding:10px 12px;border:1px solid #d7e1ed;border-radius:8px;font:400 14px 'DM Sans',sans-serif;color:#17263c}
.auth-edit-form input:focus{outline:2px solid #b5d3f7;border-color:#6c9ed8}
.auth-edit-form .auth-submit{width:100%;margin-top:4px}
.auth-field-optional{font-size:10px;font-weight:500;color:#8491a3}
.auth-edit-profile-button{width:100%;min-height:40px;margin:0 0 8px}

@media(max-width:520px){.upload-action-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}.upload-action-row .clear-document-button{min-width:92px;padding-left:10px;padding-right:10px;font-size:10px}}

/* Consistent review styling for quotation and cheque workspaces. */
.workspace-section .data-table tr.cheque-section-detail td{background:#eef4ff!important;border-color:#d4e1f5!important}
.workspace-section .data-table tr.cheque-section-bank td{background:#e8f6f4!important;border-color:#cce9e4!important}
.workspace-section .data-table tr.cheque-section-amount td{background:#eaf6ec!important;border-color:#cfe8d4!important;font-weight:750!important}
.workspace-section .data-table tr.cheque-section-detail td:first-child{border-left:4px solid #477fc3!important}
.workspace-section .data-table tr.cheque-section-bank td:first-child{border-left:4px solid #16877a!important}
.workspace-section .data-table tr.cheque-section-amount td:first-child{border-left:4px solid #218653!important}


/* Customer-facing extraction progress indicator; no vendor/model usage details. */
.workspace-section .extraction-progress{
  margin-top:15px;padding:12px 13px;border:1px solid #d8e5f3;border-radius:11px;
  background:linear-gradient(110deg,#f3f8ff,#f0fbf8);color:#24466e
}
.workspace-section .extraction-progress[hidden]{display:none!important}
.extraction-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:11px;font-weight:750}
.extraction-progress-heading strong{color:#087f75;font-size:12px;font-variant-numeric:tabular-nums}
.extraction-progress-track{height:9px;overflow:hidden;border-radius:20px;background:#dce8f4;box-shadow:inset 0 1px 2px rgba(30,64,110,.08)}
.extraction-progress-bar{height:100%;width:0;border-radius:20px;background:linear-gradient(90deg,#286de0,#06a9c4,#10a477);transition:width .35s ease;position:relative;overflow:hidden}
.extraction-progress-bar::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:conficelProgressShimmer 1.5s infinite}
.extraction-progress[data-state="complete"] .extraction-progress-bar::after,
.extraction-progress[data-state="error"] .extraction-progress-bar::after{display:none}
.extraction-progress[data-state="error"]{border-color:#f0c8c5;background:#fff6f5;color:#9f3029}
.extraction-progress[data-state="error"] .extraction-progress-heading strong{color:#b42318}
.extraction-progress[data-state="error"] .extraction-progress-bar{background:#d94b45}
@keyframes conficelProgressShimmer{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.extraction-progress-bar{transition:none}.extraction-progress-bar::after{animation:none}}


/* Requested review and token-balance refinements. */
.workspace-section .token-balance{
  background:#f1f3f5!important;
  border:1px solid #d8dde3!important;
  border-left:4px solid #aeb7c2!important;
  color:#344054!important;
  box-shadow:none!important;
}
.workspace-section .token-balance-value,
.workspace-section .token-balance-rate{color:#344054!important}
.workspace-section .invoice-remarks-wrap[hidden]{display:none!important}
.workspace-section .invoice-remarks-wrap{
  border:1px solid #8bb7ee!important;
  border-left:5px solid #2563eb!important;
  background:linear-gradient(110deg,#eaf3ff 0%,#f5f9ff 100%)!important;
  box-shadow:0 5px 16px rgba(37,99,235,.12)!important;
}
.workspace-section .invoice-remarks-wrap label{
  color:#174b8a!important;font-size:12px!important;font-weight:900!important;
}
.workspace-section .invoice-remarks-wrap textarea{
  border:1px solid #a9c7eb!important;min-height:68px!important;
}


/* High-visibility free-token balance: deep blue with a restrained cyan glow. */
.workspace-section .token-balance{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(105deg,#12334b 0%,#174b63 52%,#1d4267 100%)!important;
  border:1px solid rgba(103,232,249,.78)!important;
  border-left:5px solid #67e8f9!important;
  border-radius:11px!important;
  color:#f8fdff!important;
  box-shadow:0 0 0 1px rgba(34,211,238,.12),0 5px 18px rgba(8,47,73,.22),0 0 18px rgba(34,211,238,.2)!important;
}
.workspace-section .token-balance::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 0%,rgba(103,232,249,.10) 48%,transparent 72%);
}
.workspace-section .token-balance-value{
  color:#ffffff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.055em!important;
  text-shadow:0 0 9px rgba(103,232,249,.42)!important;
}
.workspace-section .token-balance-rate{
  color:#b9f6ff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
  text-shadow:0 0 8px rgba(103,232,249,.32)!important;
}


/* Smooth reveal for the Excel note field after extracted preview data appears. */
@keyframes conficelRemarksReveal{
  from{opacity:0;transform:translateY(14px);filter:blur(2px)}
  to{opacity:1;transform:translateY(0);filter:blur(0)}
}
.workspace-section .invoice-remarks-wrap:not([hidden]){
  animation:conficelRemarksReveal .65s cubic-bezier(.2,.75,.25,1) both;
}
@media(prefers-reduced-motion:reduce){
  .workspace-section .invoice-remarks-wrap:not([hidden]){animation:none!important}
}

/* USA landing page: five compact subscription cards */
.pricing-plans{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.pricing-plans .plan-card{padding:22px 17px}
.pricing-plans .plan-price strong{font-size:31px}
.pricing-plans .plan-features{padding-left:17px}
.pricing-plans .plan-features li{font-size:12px;line-height:1.5}
@media(max-width:1050px){.pricing-plans{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.pricing-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.pricing-plans{grid-template-columns:1fr}}


/* Europe page visual repair: restore the dark hero canvas used by its Tailwind layout. */
html { background: #070d1b; }
body {
  min-height: 100vh;
  background: #070d1b !important;
  color: #e2e8f0 !important;
}
body > main > section:first-child {
  color: #e2e8f0;
}
.site-header, .site-footer {
  background: #070d1b;
}
.site-footer { color: #9aa9bd; }
.hero-cheque-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* ConfiCel account billing dashboard */
.account-billing-modal[hidden]{display:none!important}
.account-billing-modal{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:20px}
.account-billing-backdrop{position:absolute;inset:0;background:rgba(3,10,24,.72);backdrop-filter:blur(5px)}
.account-billing-dialog{position:relative;width:min(960px,100%);max-height:90vh;overflow:auto;background:#f8fbff;color:#142b49;border-radius:22px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.account-billing-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:28px;color:#52647a;cursor:pointer}
.account-billing-kicker{font-size:11px;letter-spacing:.16em;font-weight:800;color:#0ba981}
.account-billing-dialog h2{font-size:28px;font-weight:800;margin:5px 0}
.account-billing-subtitle,.account-billing-footnote{color:#718198;font-size:13px}
.account-billing-message{margin:18px 0;padding:14px;border-radius:12px;background:#eaf2fb;color:#24476e}
.account-billing-message.error{background:#fff0f0;color:#a32929}
.account-billing-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.account-billing-stats article,.account-billing-usage-summary>div,.account-billing-subscription-grid>div{background:#fff;border:1px solid #dce7f4;border-radius:14px;padding:16px;min-width:0}
.account-billing-stats article span,.account-billing-usage-summary span,.account-billing-subscription-grid span{display:block;font-size:12px;color:#718198}
.account-billing-stats article strong{display:block;font-size:25px;color:#174d86;margin:8px 0;overflow-wrap:anywhere}
.account-billing-stats article small{font-size:11px;color:#718198}
.account-billing-progress{margin:16px 0 22px}
.account-billing-progress>div:first-child{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}
.account-billing-track{height:9px;border-radius:20px;background:#e2eaf3;overflow:hidden}
.account-billing-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#0bb98c,#16a7c7);border-radius:20px}
.account-billing-tabs{display:flex;gap:8px;border-bottom:1px solid #dce7f4;margin:20px 0 12px;flex-wrap:wrap}
.account-billing-tabs button{border:0;background:transparent;padding:11px 14px;color:#52647a;font-weight:700;cursor:pointer;border-bottom:3px solid transparent}
.account-billing-tabs button.active{color:#14569a;border-color:#0bb98c}
.account-billing-panel[hidden]{display:none}
.account-billing-table-wrap{overflow:auto;background:#fff;border:1px solid #dce7f4;border-radius:12px}
.account-billing-panel table{width:100%;border-collapse:collapse;font-size:12px}
.account-billing-panel th,.account-billing-panel td{text-align:left;padding:11px;border-bottom:1px solid #edf1f6;white-space:nowrap}
.account-billing-panel th{color:#61748d;background:#f5f8fc}
.account-billing-empty{padding:18px;color:#718198;font-size:13px}
.account-billing-usage-summary,.account-billing-subscription-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.account-billing-usage-summary strong,.account-billing-subscription-grid strong{display:block;font-size:19px;color:#174d86;margin-top:8px}
.account-billing-subscription-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.billing-status{font-weight:700;text-transform:capitalize}.billing-status.paid,.positive{color:#07865f}.billing-status.created{color:#a36a00}.negative{color:#b83a3a}
.account-billing-footnote{margin-top:18px}
@media(max-width:700px){.account-billing-dialog{padding:22px 16px;max-height:94vh}.account-billing-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.account-billing-subscription-grid,.account-billing-usage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.account-billing-dialog h2{font-size:23px}}

/* Accessible show/hide password controls in sign-in, sign-up, recovery and profile forms */
.auth-password-wrap{position:relative;display:flex;align-items:stretch;width:100%;min-width:0}.auth-password-wrap>input{flex:1 1 auto;width:100%;min-width:0;padding-right:48px!important}.auth-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:#71839a;cursor:pointer}.auth-password-toggle:hover{background:#edf3fa;color:#17477d}.auth-password-toggle:focus-visible{outline:2px solid #5b9be0;outline-offset:1px}.auth-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
