*{box-sizing:border-box} :root{--ink:#17182c;--muted:#85879b;--purple:#6558e8;--line:#ececf3;--bg:#f7f7fb}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}.app-shell{min-height:100vh}.sidebar{width:248px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:30px 20px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font:800 18px Manrope,sans-serif;letter-spacing:-.7px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#7669ff,#5142d6);color:#fff;display:grid;place-items:center;font:800 13px Manrope;box-shadow:0 7px 16px #6558e833}.brand-light{color:var(--purple)}.brand small{display:block;font:700 8px 'DM Sans';letter-spacing:1.4px;color:#a2a2b2;margin-top:2px}.side-label,.section-kicker,.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.45px;color:#a0a1b2}.side-label{margin:53px 0 14px 10px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 13px;margin:3px 0;border-radius:10px;color:#77798d;text-decoration:none;font-weight:600}.nav-item.active{background:#f0efff;color:#5d50dc}.nav-icon{font-size:18px}.nav-count{margin-left:auto;font-size:10px;background:#fff;padding:3px 7px;border-radius:6px}.side-bottom{margin-top:auto}.help-card{padding:17px;background:#f6f5ff;border:1px solid #eeecff;border-radius:14px;margin-bottom:22px}.help-orb{width:28px;height:28px;border-radius:9px;background:#e6e3ff;color:#6659e6;display:grid;place-items:center;margin-bottom:12px}.help-card strong{font:700 13px Manrope}.help-card p{font-size:11px;line-height:1.6;color:#85859b;margin:6px 0 0}.profile{border-top:1px solid var(--line);padding:17px 2px 0;display:flex;align-items:center;gap:10px}.avatar{width:32px;height:32px;border-radius:50%;background:#e9e7ff;color:#5e52dc;display:grid;place-items:center;font-weight:700}.profile strong,.profile small{display:block;font-size:11px}.profile small{color:var(--muted);margin-top:3px}.profile-dots{margin-left:auto;color:#aaa}.main-content{margin-left:248px;max-width:1600px;padding:39px 48px 25px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{margin-bottom:11px}.topbar h1{font:800 29px Manrope;margin:0;letter-spacing:-1.1px}.topbar h1 span{color:var(--purple)}.subheading{margin:7px 0 0;color:var(--muted);font-size:12px}.button{border:0;border-radius:9px;padding:12px 16px;font:700 11px 'DM Sans';text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;transition:.2s}.button:hover{transform:translateY(-1px);filter:brightness(1.04)}.button-primary{background:var(--purple);color:#fff;box-shadow:0 6px 15px #6558e82b}.button-primary span{font-size:17px}.button-dark{background:#20213a;color:white}.button-soft{background:#f0efff;color:#5c50d6}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:19px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 19px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#85869a;font-size:11px;font-weight:600}.stat-icon{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;font-size:15px}.purple{background:#f0efff;color:#6558e8}.green{background:#eaf8f1;color:#2ba875}.orange{background:#fff3e8;color:#e99a48}.stat-number{font:800 25px Manrope;letter-spacing:-.7px;margin:8px 0 4px}.stat-foot{font-size:10px;color:#9a9bad}.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6558e8;margin-right:5px}.green-dot{background:#2ba875}.search-panel{background:linear-gradient(115deg,#24213f,#39316d 75%,#5143a0);border-radius:16px;padding:25px 27px;color:#fff;margin-bottom:19px;position:relative;overflow:hidden}.search-panel:after{content:"";position:absolute;width:240px;height:240px;border:1px solid #ffffff12;border-radius:50%;right:8%;top:-150px;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff05}.search-heading{display:flex;justify-content:space-between;position:relative;z-index:1}.search-heading .section-kicker{color:#b7b0ff}.search-heading h2,.upload-top h2,.process-card h2,.library-heading h2,.card-heading h2{font:800 19px Manrope;letter-spacing:-.5px;margin:6px 0}.search-heading p{color:#c3c0d8;font-size:11px;margin:0}.sparkle{font-size:32px;color:#b8afff;margin-right:8px}.search-form{height:49px;background:#fff;border-radius:9px;display:flex;align-items:center;padding:5px 6px 5px 14px;margin-top:20px;position:relative;z-index:1}.search-symbol{font-size:25px;color:#77758e;margin-right:10px}.search-form input{border:0;outline:0;flex:1;min-width:0;font:12px 'DM Sans';color:var(--ink)}.search-form input::placeholder{color:#b0afbd}.search-form .button{height:38px}.clear-search{font-size:11px;color:#777;margin:0 8px;text-decoration:none}.search-hints{display:flex;align-items:center;gap:7px;margin-top:12px;position:relative;z-index:1}.search-hints span{font-size:8px;letter-spacing:1px;color:#aaa5d2;margin-right:3px}.search-hints button{border:1px solid #ffffff24;background:#ffffff0c;color:#d4d0ef;border-radius:5px;padding:4px 8px;font:10px 'DM Sans';cursor:pointer}.content-grid{display:grid;grid-template-columns:1.3fr .85fr;gap:17px}.upload-card,.process-card,.document-card,.text-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px}.upload-top{display:flex;justify-content:space-between}.upload-top h2,.process-card h2{font-size:17px}.upload-top p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.upload-icon{width:34px;height:34px;border-radius:10px;background:#f0efff;color:var(--purple);display:grid;place-items:center;font-size:20px}.dropzone{margin-top:17px;min-height:139px;border:1.5px dashed #d9d6f5;background:#fafaff;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.dragging{border-color:var(--purple);background:#f4f2ff}.upload-cloud{width:30px;height:30px;border-radius:9px;background:#eeecff;color:#6558e8;display:grid;place-items:center;font-size:19px;margin-bottom:8px}.dropzone strong{font-size:12px}.dropzone>span:not(.upload-cloud){font-size:10px;color:#89899d;margin-top:4px}.dropzone u{color:#6558e8;font-weight:700}.dropzone small{font-size:9px;color:#aaa9b8;margin-top:9px}.selected-file{font-size:10px;color:#5b50d6;margin-top:7px}.upload-submit{width:100%;margin-top:12px}.secure-note{font-size:9px;color:#9b9bac;margin-top:13px;text-align:center}.secure-note span{color:#6e62dd}.process-card{padding:21px 22px}.process-card h2{margin-bottom:19px}.process-step{display:flex;align-items:center;gap:12px}.step-number{width:30px;height:30px;border-radius:9px;background:#f2f0ff;color:#6659df;display:grid;place-items:center;font:800 10px Manrope}.process-step strong{font-size:11px}.process-step p{margin:3px 0 0;font-size:10px;color:#9999a9}.process-line{height:13px;border-left:1px dashed #d7d3f3;margin:2px 0 2px 15px}.process-footer{border-top:1px solid var(--line);padding-top:13px;margin-top:14px;font-size:10px;color:#77768f}.process-footer span{color:#6659df;margin-right:5px}.library-section{margin-top:28px}.library-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.library-heading h2{font-size:18px;margin:5px 0 0}.result-count{font:600 10px 'DM Sans';color:#85849b;background:#eeedf5;border-radius:6px;padding:3px 7px;vertical-align:middle}.muted-label{font-size:10px;color:#aaa}.invoice-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.invoice-row{display:flex;align-items:center;gap:13px;padding:13px 15px;border-bottom:1px solid #f0f0f5;text-decoration:none;color:inherit;min-width:0}.invoice-row:last-child{border:0}.invoice-row:hover{background:#fbfaff}.file-thumb{width:36px;height:39px;flex:none;border-radius:8px;background:#f0efff;color:#6659dc;display:grid;place-items:center;font:800 9px Manrope}.pdf-thumb{background:#fff0ed;color:#df705b}.invoice-info{width:190px;min-width:110px}.invoice-info strong,.invoice-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-info strong{font-size:11px}.invoice-info span{font-size:9px;color:#a1a1b0;margin-top:5px}.invoice-excerpt{flex:1;min-width:0;font-size:10px;color:#9292a2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-pill{font-size:9px;font-weight:700;padding:6px 8px;border-radius:6px;white-space:nowrap}.status-pill.done{background:#eaf8f1;color:#29996d}.status-pill.pending{background:#fff5e8;color:#c58a38}.row-arrow{color:#aaa;font-size:15px}.empty-state{text-align:center;padding:37px 15px;background:#fff;border:1px dashed #dedde9;border-radius:12px}.empty-icon{font-size:25px;color:#aaa4e8}.empty-state h3{font:700 14px Manrope;margin:9px 0 5px}.empty-state p{font-size:11px;color:#999;margin:0 0 10px}.text-link{color:#6558e8;text-decoration:none;font-size:10px;font-weight:700}.footer{margin-top:29px;color:#aaa9b7;font-size:9px;letter-spacing:.5px}.footer span{color:#6558e8;margin:0 4px}.alert{padding:11px 14px;border-radius:8px;margin:0 0 15px;font-size:11px}.alert.success{background:#eaf8f1;color:#23845e}.alert.warning{background:#fff5e8;color:#a56e21}.alert.error{background:#fff0ef;color:#bf5148}.detail-top{align-items:flex-end}.back-link{display:inline-block;color:#77768e;text-decoration:none;font-size:10px;margin-bottom:15px}.detail-title{font-size:23px!important;max-width:650px;overflow-wrap:anywhere}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:17px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.card-heading h2{font-size:16px}.preview-area{height:540px;background:#f2f2f7;border-radius:9px;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview-area img{max-width:100%;max-height:100%;object-fit:contain}.preview-area iframe{width:100%;height:100%;border:0}.document-actions{display:flex;gap:18px;padding-top:14px}.content-search{height:38px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;padding:0 10px;gap:8px;color:#777}.content-search input{border:0;outline:0;flex:1;min-width:0;font:11px 'DM Sans'}.match-count{font-size:9px;color:#6558e8;white-space:nowrap}.ocr-content{height:470px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#fafaff;border:1px solid #f0eff7;border-radius:8px;padding:16px;margin-top:12px;font:11px/1.8 'DM Sans';color:#4c4d61}.ocr-content mark{background:#fff0a8;color:#332b00;border-radius:2px}.text-actions{display:flex;gap:8px;margin-top:12px}.detail-bottom{display:flex;align-items:center;justify-content:space-between;background:#f0efff;border:1px solid #e8e5ff;border-radius:12px;padding:16px 19px;margin-top:17px}.detail-bottom strong{font:700 12px Manrope}.detail-bottom p{margin:4px 0 0;color:#88869e;font-size:10px}.delete-form{margin-top:13px;text-align:right}.delete-button{border:0;background:none;color:#c16c6c;font:600 10px 'DM Sans';cursor:pointer}.back-link:hover,.text-link:hover{ text-decoration:underline}
@media(max-width:1100px){.main-content{padding:32px 28px}.sidebar{width:220px}.main-content{margin-left:220px}.content-grid{grid-template-columns:1fr}.process-card{display:none}.invoice-excerpt{display:none}}
@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:13px 17px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{font-size:16px}.brand-mark{width:34px;height:34px}.side-label,.side-bottom,.sidebar .nav-item{display:none}.main-content{margin:0;padding:24px 16px}.topbar{align-items:flex-start;gap:12px}.topbar h1{font-size:23px}.topbar>.button{font-size:0;padding:11px}.topbar>.button span{font-size:18px}.stats-grid{gap:8px}.stat-card{padding:12px 10px}.stat-number{font-size:20px}.stat-top{font-size:9px}.stat-foot{font-size:8px}.search-panel{padding:19px 16px}.search-heading h2{font-size:16px}.search-heading p{line-height:1.5}.search-form{height:auto;flex-wrap:wrap;padding:9px}.search-form input{height:31px}.search-form .button{width:100%;margin-top:6px}.search-hints{flex-wrap:wrap}.upload-card{padding:17px}.library-heading h2{font-size:16px}.muted-label{display:none}.invoice-row{gap:9px;padding:11px 9px}.invoice-info{flex:1;width:auto;min-width:0}.status-pill{font-size:8px;padding:5px 6px}.row-arrow{display:none}.detail-top{display:block}.detail-top>.button{margin-top:15px}.detail-title{font-size:19px!important}.detail-layout{grid-template-columns:1fr}.preview-area{height:380px}.ocr-content{height:360px}.detail-bottom{align-items:flex-start;gap:12px;flex-direction:column}.footer{padding-bottom:15px}}
