:root{--purple:#503783;--purple-dark:#302044;--purple-pale:#f1edf8;--ink:#292535;--muted:#827b8e;--line:#eae7ee;--green:#268263;--bg:#f7f8fa;--radius:12px;font-family:Arial,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-color:#9172c0}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--purple);text-decoration:none}h1,h2,h3,p{margin-top:0}.shell{display:flex;min-height:100vh}.sidebar{width:256px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 18px 0;z-index:5}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:13px;font-weight:800;letter-spacing:.5px;padding:0 7px}.brand-symbol{width:39px;height:42px;background:var(--purple);color:white;display:grid;place-items:center;font-size:15px;border-radius:10px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:0;font-weight:400;margin-top:6px}.workspace{margin:30px 4px 27px;background:#f8f7fa;border:1px solid var(--line);border-radius:8px;padding:12px 9px;font-size:11px;display:flex;align-items:center;gap:8px}.status-dot{display:inline-block;width:6px;height:6px;background:#409b7c;border-radius:50%}.workspace-tag{margin-left:auto;font-size:9px;color:var(--muted);border:1px solid #dfdae7;padding:2px 4px;border-radius:3px}.nav-caption{font-size:9px;letter-spacing:1.4px;color:#a09aaa;padding:0 14px 12px}.nav-item{width:100%;border:0;background:white;border-radius:8px;color:#6f687b;text-align:left;padding:13px 14px;display:flex;align-items:center;gap:12px;margin:3px 0;font-weight:500;font-size:12px}.nav-item svg{width:18px;height:18px;stroke-width:1.6}.nav-item:hover{background:#faf8fc}.nav-item.active{color:var(--purple);background:var(--purple-pale);font-weight:700}.nav-item .count{margin-left:auto;background:#e4dcef;color:var(--purple);padding:2px 6px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto}.pilot{padding:18px 14px;border:1px solid #ece6f3;border-radius:10px;background:linear-gradient(140deg,#faf8fd,#f4f0fa);margin:28px 5px 20px}.pilot>span{font-size:8px;letter-spacing:1.5px;color:#8b79aa}.pilot strong{display:block;font-size:11px;margin:9px 0}.pilot p{font-size:10px;line-height:1.7;color:#8a8197;margin:0}.profile{border:0;border-top:1px solid var(--line);background:white;width:100%;padding:18px 7px;display:flex;align-items:center;gap:10px;text-align:left}.avatar{background:#e9e0f4;color:var(--purple);border-radius:50%;width:33px;height:33px;display:grid;place-items:center;font-size:11px;font-weight:bold}.profile strong{display:block;font-size:11px}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.profile>span{margin-left:auto;color:var(--muted);font-size:21px}.main{margin-left:256px;min-width:0;width:calc(100% - 256px)}.topbar{height:74px;background:white;border-bottom:1px solid var(--line);padding:0 35px;display:flex;justify-content:space-between;align-items:center;font-size:11px}.breadcrumb{color:#9992a3}.breadcrumb span{padding:0 12px;color:#c9c3d1}.breadcrumb strong{font-weight:500;color:#5d546a}.topbar-right{display:flex;align-items:center;gap:18px;color:#8c8497}.connection{font-size:10px;display:flex;align-items:center;gap:6px}.connection i{width:5px;height:5px;background:#4a9c7e;border-radius:50%}.topbar-divider{height:14px;width:1px;background:var(--line)}#content{padding:34px 35px 20px;min-height:calc(100vh - 123px)}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#90839e;font-weight:700;margin-bottom:10px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.page-head h1{font-size:27px;letter-spacing:-.8px;font-weight:600;margin-bottom:10px}.page-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.5}.actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e1dce8;background:white;border-radius:7px;padding:10px 14px;font-size:11px;font-weight:600;color:#64566f;min-height:36px;white-space:nowrap}.btn svg{width:15px;height:15px}.btn:hover{background:#f5f1fa}.btn.primary{background:var(--purple);color:white;border-color:var(--purple);box-shadow:0 3px 6px #50378315}.btn.primary:hover{background:#412a70}.btn.danger{color:#ae4047}.btn.quiet{border-color:transparent;background:transparent}.btn.small{padding:6px 9px;min-height:28px;font-size:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:19px 19px 15px;position:relative}.stat-label{font-size:11px;color:#837a90}.stat-number{font-size:30px;font-weight:500;letter-spacing:-1px;margin:12px 0 11px}.stat-foot{font-size:9px;color:#a298af}.stat-icon{position:absolute;right:17px;top:17px;width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#f4f0f9;color:#8268a9}.stat-icon svg{width:15px;height:15px}.notice{padding:13px 16px;display:flex;gap:10px;align-items:center;border:1px solid #e7def2;background:#f4effa;border-radius:8px;margin-bottom:24px;color:#78638e;font-size:11px;line-height:1.5}.notice strong{color:#554168;font-weight:600}.notice svg{width:16px;height:16px;flex-shrink:0}.notice .notice-action{margin-left:auto;color:var(--purple);white-space:nowrap;font-weight:600}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{padding:20px 21px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading h2{font-size:14px;font-weight:600;margin:0}.subtle{color:var(--muted);font-size:11px}.tabbar{display:flex;gap:22px;border-bottom:1px solid var(--line);padding:0 21px}.tab{border:0;background:white;color:#9c93a7;padding:13px 0;font-size:11px;position:relative}.tab.active{color:var(--purple);font-weight:600}.tab.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--purple)}.tab b{font-size:9px;background:#f0edf4;border-radius:4px;padding:2px 5px;margin-left:6px;font-weight:400}.toolbar{padding:16px 20px;display:flex;gap:10px;align-items:center}.search{position:relative;flex:1;max-width:340px}.search svg{position:absolute;left:12px;top:10px;width:15px;height:15px;color:#aaa0b5}.search input{padding-left:35px!important;background:#fff!important}.search kbd{position:absolute;right:9px;top:9px;font-family:inherit;font-size:9px;color:#aea5b8;border:1px solid var(--line);border-radius:3px;padding:2px 4px}input,select,textarea{border:1px solid #e3deea;background:white;border-radius:7px;color:var(--ink);padding:10px 11px;min-width:0;width:100%;font-size:12px}input::placeholder,textarea::placeholder{color:#b1a8ba}input:focus,select:focus,textarea:focus{border-color:#9c81be;box-shadow:0 0 0 3px #5037830c;outline:none}select{cursor:pointer}.toolbar select{width:150px;font-size:11px;height:36px}.toolbar input[type=date]{width:142px;height:36px;font-size:11px}.table-scroll{overflow:auto;max-height:570px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#faf9fc;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#9b91a5;font-size:9px;letter-spacing:.5px;font-weight:600;padding:13px 13px;position:sticky;top:0;z-index:1}td{padding:17px 13px;border-bottom:1px solid #f0edf4;font-size:11px;color:#72667e}tbody tr:hover{background:#fcfaff}tbody tr.selected{background:#f7f2fd}th:first-child,td:first-child{padding-left:22px;width:40px}input[type=checkbox]{width:13px;height:13px;accent-color:var(--purple);cursor:pointer}td .company{font-weight:600;font-size:11px;color:#41364d;display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis}.row-sub{font-size:9px;color:#a49aac;margin-top:6px;display:flex;gap:6px;align-items:center}.sample{color:#a48e68;background:#f9f3e9;border-radius:3px;padding:1px 4px;font-size:8px}.price{font-variant-numeric:tabular-nums;font-weight:600;color:#574267;font-size:12px}.badge{padding:5px 8px;border-radius:5px;font-size:9px;display:inline-flex;gap:5px;align-items:center;background:#f0edf4;color:#95889f}.badge.approved{background:#edf7f1;color:#3d8b69}.badge.pending{background:#fff5e3;color:#bc8c35}.badge.returned{background:#fceff0;color:#b36569}.badge.expired{background:#f1eff2;color:#968b9f}.icon-btn{border:0;background:transparent;color:#9c8fab;padding:7px;border-radius:5px}.icon-btn svg{width:16px;height:16px}.icon-btn:hover{background:#eee7f5;color:var(--purple)}.row-action{display:flex;gap:1px}.table-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:15px 21px;font-size:10px;color:#a197ac}.main-footer{padding:13px 35px;display:flex;justify-content:space-between;border-top:1px solid var(--line);color:#aaa2b3;font-size:9px}.main-footer i{padding:0 8px}.empty{text-align:center;padding:65px 30px;color:#9c90a8}.empty .empty-icon{width:52px;height:52px;display:grid;place-items:center;background:#f3eff8;border-radius:14px;margin:0 auto 17px;color:#977db6}.empty .empty-icon svg{width:25px;height:25px}.empty h3{font-size:16px;color:#5e4d70}.empty p{font-size:12px;line-height:1.8}.empty .actions{justify-content:center;margin-top:20px}dialog{border:0;border-radius:15px;width:min(1060px,94vw);padding:0;max-height:92vh;box-shadow:0 25px 120px #24123940;color:var(--ink)}dialog::backdrop{background:#21152f55;backdrop-filter:blur(3px)}.modal-head{padding:23px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:20px;margin:0 0 6px}.modal-body{padding:24px 28px}.modal-foot{padding:17px 28px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);background:#fcfbfd;position:sticky;bottom:0;z-index:2}.form-layout{display:grid;grid-template-columns:1fr 280px;gap:28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .span2{grid-column:1/-1}label{display:block;font-size:11px;font-weight:500;color:#776881}label input,label select,label textarea{display:block;margin-top:7px}label .required{color:#ae7c9e}.section-label{font-size:10px;font-weight:700;letter-spacing:1.1px;color:#95859e;margin:24px 0 14px}.section-label:first-child{margin-top:0}.attachment{padding:14px;border:1px dashed #d8cee5;border-radius:8px;background:#fcfafd;margin-bottom:12px}.attachment h4{margin:0 0 7px;font-size:11px;font-weight:500}.attachment p{font-size:9px;color:#a092ad;line-height:1.6;margin:7px 0}.attachment input{font-size:10px;border:0;padding:5px 0;background:transparent}.attachment a{font-size:10px}.attachment-aside{border-left:1px solid var(--line);padding-left:24px}.help{font-size:10px;color:#a092ab;line-height:1.7}.segments-row{display:grid;grid-template-columns:1fr 1fr 95px 25px;gap:6px;margin-bottom:8px}.segments-row input{font-size:10px;padding:8px}.error-text{color:#b14c59;font-size:12px;line-height:1.5;white-space:pre-line;margin-top:12px}.success-note{background:#ecf7f0;padding:13px;color:#377c5b;border-radius:7px;font-size:11px;line-height:1.6}.history-item{padding:16px 0;border-bottom:1px solid var(--line)}.history-item strong{font-size:12px}.history-item p{font-size:11px;color:#8d7d99;margin:8px 0 0;line-height:1.7}.export-controls{display:flex;gap:12px;padding:20px;border-bottom:1px solid var(--line);align-items:end}.export-controls label{width:180px}.split-preview{display:grid;grid-template-columns:290px 1fr;min-height:490px}.mapping{border-right:1px solid var(--line);padding:15px;max-height:600px;overflow:auto}.mapping-item{padding:12px;border:1px solid var(--line);border-radius:8px;margin:8px 0;cursor:pointer}.mapping-item.active{border-color:#bda3d9;background:#faf6ff}.mapping-item strong{font-size:11px}.mapping-item p{font-size:10px;color:#92809f;margin:8px 0 0;line-height:1.5}.pdf-frame{width:100%;height:590px;border:0;background:#efedf2}.download-bar{padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#faf8fd;border-top:1px solid var(--line)}.export-job{padding:20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.export-job h3{font-size:12px;margin:0 0 7px}.export-job p{font-size:10px;color:#9b8ba8;margin:0}.progress{height:5px;width:130px;background:#eee7f4;border-radius:5px;margin-top:9px;overflow:hidden}.progress>div{height:100%;background:var(--purple)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-card{padding:25px}.settings-card h2{font-size:15px}.settings-card label{margin:16px 0}.settings-card .btn{margin-top:8px}.role-note{font-size:11px;line-height:1.8;background:#f6f2fb;padding:16px;border-radius:8px;color:#836f95}.auth-shell{display:flex;min-height:100vh}.auth-story{width:49%;background:#37234f;color:white;padding:40px 45px;display:flex;flex-direction:column;background-image:radial-gradient(ellipse at 90% 85%,#62428670,transparent 60%)}.wordmark{font-size:10px;font-weight:bold;letter-spacing:1.8px;border-left:3px solid #b49bcf;padding-left:12px}.auth-story-content{margin:auto 0;padding:55px 0}.eyebrow.light{color:#bca8d4}.auth-story h1{font-size:46px;letter-spacing:-1px;line-height:1.25;font-weight:500;margin:22px 0}.auth-story p{font-size:13px;line-height:1.9;color:#c1b2ce;max-width:360px}.auth-line{height:1px;background:#ffffff25;width:65%;margin:35px 0}.auth-stat{display:flex;gap:18px;align-items:center;font-size:12px;line-height:1.7}.auth-stat>span{font-size:29px;font-weight:300;color:#b9a0d0}.auth-stat small{font-size:10px;color:#ad98c4}.auth-story footer{font-size:9px;letter-spacing:1px;color:#a28db7;display:flex;justify-content:space-between}.auth-panel{width:51%;display:grid;place-items:center;background:#fff;position:relative;padding:50px}.auth-card{width:100%;max-width:330px}.mini-mark{width:46px;height:46px;background:#efe9f6;color:var(--purple);border-radius:12px;display:grid;place-items:center;font-weight:700;margin-bottom:28px}.auth-card h2{font-size:28px;font-weight:500;letter-spacing:-.5px;margin:12px 0}.auth-card>p{font-size:12px;color:#9b8da7;line-height:1.7}.auth-card form{margin-top:32px}.auth-card label{margin-bottom:18px}.auth-card input{height:44px}.full{width:100%;height:44px;justify-content:space-between;margin-top:13px}.auth-note{font-size:10px!important;margin-top:20px}.local-label{font-size:9px;color:#a197ac;margin-top:35px;display:flex;align-items:center;gap:7px}.auth-bottom{position:absolute;bottom:25px;font-size:9px;color:#b0a6ba}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:620px;background:#332442;color:white;padding:14px 22px;border-radius:9px;z-index:99;box-shadow:0 6px 30px #22153335;font-size:12px;line-height:1.6}.loading{padding:80px;text-align:center;color:#9f8dae}.key-value{display:flex;justify-content:space-between;font-size:11px;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.key-value span{color:#9b8ba6}.brand-preview{max-width:220px;max-height:90px;object-fit:contain;margin:15px 0}.pill-info{padding:5px 8px;background:#f4f1f8;color:#8a799c;border-radius:5px;font-size:9px}
@media(min-width:1500px){#content{max-width:1600px;margin:auto}.page-head h1{font-size:30px}.stats{gap:20px}.stat{padding:23px}}
.preview-area{background:#eae6ee;display:flex;flex-direction:column;justify-content:center;padding:24px;min-width:0;min-height:430px}.preview-area img{width:100%;height:auto;box-shadow:0 4px 20px #30204415}.preview-area .help{text-align:center;margin:16px 0 0}.mapping{max-height:510px}.split-preview{min-height:440px}
@media(min-width:900px){th:nth-child(2),td:nth-child(2){position:sticky;left:0;background:#fff;z-index:1;max-width:300px}th:nth-child(2){background:#faf9fc;z-index:3}th:last-child,td:last-child{position:sticky;right:0;background:#fff;z-index:1}th:last-child{background:#faf9fc;z-index:3}}
@media(max-width:1100px){.sidebar{width:210px;padding-left:10px;padding-right:10px}.main{margin-left:210px;width:calc(100% - 210px)}#content{padding:25px 22px}.topbar{padding:0 22px}.page-head{flex-wrap:wrap}.stats{gap:9px}.stat{padding:15px}.stat-icon{display:none}.toolbar{flex-wrap:wrap}.search{max-width:none;min-width:200px}.settings-grid{grid-template-columns:1fr}.form-layout{grid-template-columns:1fr 240px}.auth-story h1{font-size:36px}.auth-story{padding:35px}.auth-panel{padding:35px}}
@media(max-width:760px){.sidebar{width:65px;padding:20px 7px}.brand{padding:0;justify-content:center}.brand>div:last-child,.workspace,.nav-caption,.nav-item span,.nav-item .count,.pilot,.profile>div:not(.avatar),.profile>span{display:none}.brand-symbol{width:37px;height:37px}.nav-item{padding:13px;justify-content:center}.sidebar nav{margin-top:30px}.profile{justify-content:center;padding:15px 0}.main{margin-left:65px;width:calc(100% - 65px)}.topbar{height:59px}.topbar-right{display:none}#content{padding:22px 15px}.page-head h1{font-size:23px}.stats{grid-template-columns:1fr 1fr}.stat-number{font-size:26px}.notice{align-items:flex-start}.notice-action{display:none}.toolbar{padding:13px}.toolbar select{width:calc(50% - 6px)}.search{min-width:100%;max-width:none}.main-footer{padding:15px;line-height:1.6}.main-footer>span:first-child{max-width:150px}.form-layout{grid-template-columns:1fr}.attachment-aside{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:20px}.form-grid{gap:13px}.modal-head,.modal-body,.modal-foot{padding:18px}.modal-foot{flex-wrap:wrap}.modal-foot .actions{flex-wrap:wrap}.split-preview{grid-template-columns:1fr}.mapping{max-height:200px}.pdf-frame{height:450px}.download-bar{flex-wrap:wrap}.auth-story{display:none}.auth-panel{width:100%;padding:30px}.settings-card{padding:20px}.export-controls{flex-wrap:wrap}.export-job{flex-wrap:wrap}.export-controls label{width:100%}}

.sidebar nav{overflow-y:auto;min-height:0;flex:1}.nav-item{padding-top:10px;padding-bottom:10px}.workspace{margin-top:23px;margin-bottom:20px}.pilot{padding:10px 13px;margin:12px 5px}.pilot p{display:none}.review-box{padding:18px 24px;background:white;border-top:1px solid var(--line)}.review-header{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px}.review-box textarea{margin:12px 0 8px}.review-box select{width:180px;font-size:11px}.comment-item{padding:12px 0;border-bottom:1px solid var(--line)}.comment-item p{font-size:12px;white-space:pre-wrap;line-height:1.6;margin:9px 0}.comment-item.resolved{opacity:.6}.report-pane{min-width:0}.report-pane .preview-area{min-height:300px}.report-pane .preview-area img{max-height:470px;object-fit:contain}.wrap-actions{flex-wrap:wrap}.wrap-cell{white-space:normal;max-width:320px;overflow-wrap:anywhere}.checkbox-label{display:flex;gap:12px;align-items:center;line-height:1.7}.checkbox-label input{width:16px;height:16px;margin:0}.export-job .actions{flex-wrap:wrap}.mapping .actions{flex-wrap:wrap;gap:0}.review-box .help{margin-top:10px}.sidebar-bottom{flex-shrink:0}.settings-grid .notice{margin-bottom:0}

.split-preview:has(.report-pane){min-height:0;align-items:start}.split-preview .report-pane{max-height:calc(92vh - 165px);overflow-y:auto}.split-preview:has(.report-pane) .mapping{max-height:calc(92vh - 165px)}
@media(max-width:760px){.split-preview:has(.report-pane) .mapping{max-height:180px}.split-preview .report-pane{max-height:55vh}}

.extra-fare-row{display:grid;grid-template-columns:1.3fr 80px 1fr 28px;gap:9px;align-items:end;margin-bottom:13px;padding:12px;background:#f7f4fb;border:1px solid #e7dff0;border-radius:8px}.extra-fare-row input{width:100%}@media(max-width:760px){.extra-fare-row{grid-template-columns:1fr 1fr}.extra-fare-row label:first-child{grid-column:1/-1}}
