:root{--ink:#172b3e;--green:#0d2d4f;--muted:#66737d;--line:#e0e3e7;--bg:#f4f2ec;--gold:#ee6a3a;--amber:#8b6827}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.7 "Segoe UI","Microsoft YaHei",sans-serif}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.sidebar{position:fixed;width:236px;inset:0 auto 0 0;background:#ffffff;color:#172b3e;padding:34px 24px;z-index:10}.brand{display:flex;gap:12px;align-items:center;color:#fff;font-size:21px;font-weight:600;letter-spacing:2px}.brand small{display:block;font-size:14px;letter-spacing:1.8px;color:#66737d;margin-top:1px}.brand-icon{border:1px solid #b9c8b578;width:43px;height:45px;display:grid;place-items:center;font-family:serif;font-size:25px;font-weight:400}.workspace-label{margin:51px 10px 20px;color:#66737d;font-size:14px;letter-spacing:1px}.workspace-label span{border:1px solid #76918460;border-radius:4px;padding:1px 5px;margin-left:7px;font-size:14px}nav{display:grid;gap:8px}.nav{width:100%;background:none;border:0;color:#405465;text-align:left;padding:12px 13px;border-radius:6px;font-size:14px}.nav>span{display:inline-block;width:26px;font-size:19px;vertical-align:middle}.nav.active{background:#ffffff13;color:#fff}.nav:hover{background:#ffffff0c}.sidebar-bottom{position:absolute;bottom:32px;font-size:14px;color:#adc2b4}.sidebar-bottom p{font-size:16px;line-height:1.9;color:#d3dfd4;margin:23px 0}.sidebar-bottom small{font-size:14px;color:#799c88}.live-dot{display:inline-block;width:6px;height:6px;background:#ee6a3a;border-radius:50%;margin-right:7px}.shell{margin-left:236px}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px;background:#ffffff;font-size:14px;color:var(--muted)}.topbar strong{font-weight:500;color:var(--ink)}.topbar span:not(.avatar,.version){margin:0 8px}.account{display:flex;align-items:center;gap:5px}.avatar{background:#edf1f6;color:#143b61;border-radius:50%;height:27px;width:27px;display:grid;place-items:center;font-size:14px}.version{margin-left:14px;padding-left:18px;border-left:1px solid var(--line);font-size:14px;color:#8a958b}main{max-width:1440px;margin:auto;padding:43px 48px 20px}.eyebrow{color:#66737d;font-size:14px;letter-spacing:2.3px;font-weight:600}.page-heading h1{font-size:29px;letter-spacing:.5px;font-weight:600;margin:9px 0}.title-dot{color:var(--gold);font-size:35px}.page-heading p{color:var(--muted);font-size:14px;margin:6px 0 24px}.retention{background:#f1eee3;border:1px solid #e6e0cf;border-radius:6px;display:flex;gap:13px;padding:12px 17px;color:#7d6d43;margin:25px 0 30px;font-size:14px;align-items:center}.retention .clock{font-size:22px}.retention strong{font-weight:500;display:block;font-size:14px}.retention div>span{display:block;margin-top:2px;color:#998a65}.stepbar{display:flex;align-items:center;gap:22px;margin:29px 0}.step{display:flex;align-items:center;gap:13px;color:#66737d;font-size:14px}.step b{background:#edf1f6;color:#66737d;border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-size:14px;font-weight:500}.step.active{color:#0d2d4f}.step.active b{background:var(--green);color:#fff}.step small{display:block;font-size:14px;color:#66737d;margin-top:2px}.step-line{width:70px;height:1px;background:#d8dfd2}.rate-pill{margin-left:auto;background:#edf1f6;color:#143b61;font-size:14px;border-radius:20px;padding:5px 11px}.card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:25px;margin-bottom:21px;box-shadow:0 3px 12px #25392903}.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px}.card-title h2,.section-heading h2{font-size:15px;font-weight:600;margin:0}.card-title>span,.section-heading>span{font-size:14px;color:#66737d}.dropzone{background:#faf9f5;border:1.5px dashed #b8c4d1;border-radius:7px;text-align:center;padding:27px 20px 25px;transition:.2s;cursor:pointer}.dropzone:hover,.dropzone.dragover{background:#f0f4f8;border-color:#526f8e}.upload-icon{color:#143b61;background:#e8eef5;border-radius:12px;width:47px;height:47px;margin:auto;font-size:31px;line-height:42px}.dropzone h3{font-size:15px;font-weight:500;margin:15px 0 5px}.dropzone h3 span{color:#143b61;margin-left:5px;border-bottom:1px solid #829bb5}.dropzone p{font-size:14px;color:#66737d;margin:5px 0}.dropzone small{color:#66737d;font-size:14px}.naming{display:flex;gap:13px;align-items:center;background:#f6f7f9;border-radius:5px;padding:11px 14px;margin:15px 0 19px;font-size:14px;color:#66737d}.naming>span{font-size:14px;color:#66737d}.naming code{font-family:inherit;color:#143b61;font-size:14px}.naming small{margin-left:auto;color:#66737d;font-size:14px}.upload-footer{display:flex;justify-content:space-between;align-items:center;gap:15px}.templates{display:flex;gap:13px;align-items:center;font-size:14px;color:#66737d;flex-wrap:wrap}.templates>span{background:#f2f4ee;border-radius:3px;padding:1px 4px;color:#66737d;font-size:14px}.templates a{font-size:14px;color:#143b61}.primary{border:1px solid var(--green);border-radius:5px;background:var(--green);color:#fff;padding:10px 18px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-size:14px;font-weight:500}.primary:hover{background:#143b61}.secondary{background:white;border:1px solid #c6d0dc;color:#143b61;border-radius:5px;padding:8px 14px;font-size:14px}.text-button{border:0;background:none;font-size:14px;color:#405465;padding:5px}.danger{color:#aa6356}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);margin:27px 0 36px}.feature-row>div{padding:2px 20px;border-left:1px solid var(--line)}.feature-row>div:first-child{padding-left:0;border:0}.feature-row b{font-size:14px;font-weight:500;color:#405465}.feature-row p{font-size:14px;color:#66737d;margin:8px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:33px 0 17px}.file-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0e9;padding:9px 0;font-size:14px}.file-item>small{color:#66737d;margin-left:auto}.file-item>button{border:0;background:none;color:#a58176}.file-list{margin-bottom:18px}.file-badge{background:#edf1f6;padding:3px 5px;font-size:14px;color:#405465;border-radius:3px}.progress-card{display:flex;gap:18px;align-items:center}.progress-card strong{font-size:14px;font-weight:500}.progress-card p{margin:5px 0 0;font-size:14px;color:#66737d}.spinner{width:24px;height:24px;border:2px solid #dde5ee;border-top-color:#143b61;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.result-banner{display:flex;justify-content:space-between;align-items:center;padding:4px 0 15px;gap:20px}.tag{display:inline-block;background:#e8eef5;color:#143b61;font-size:14px;padding:3px 9px;border-radius:3px}.tag.warning{background:#f3ead4;color:#97752a}.result-banner h2{font-size:21px;font-weight:500;margin:9px 0 4px}.result-banner p{font-size:14px;color:#66737d;margin:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);background:white;border:1px solid var(--line);border-radius:7px;padding:19px 0;margin:10px 0 22px}.metric{padding:0 22px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric strong{display:block;font-size:25px;font-weight:500;line-height:1.3;color:#0d2d4f}.metric span{font-size:14px;color:#66737d}.notice{background:#fbf5e9;border:1px solid #efe2c6;color:#8d7444;padding:12px 15px;border-radius:6px;font-size:14px;margin:16px 0;white-space:pre-line}.result-tabs{display:flex;gap:25px;margin-top:23px;border-bottom:1px solid var(--line);overflow:auto}.result-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:11px 2px;font-size:14px;white-space:nowrap;color:#66737d}.result-tabs button.active{border-color:#ee6a3a;color:#0d2d4f}.result-tabs+.card{border-top-left-radius:0;margin-top:0;min-height:130px}.download-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.download-item{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:6px}.download-item .file-badge{font-size:14px;padding:8px}.download-item b{font-size:14px;font-weight:500;display:block}.download-item small{font-size:14px;color:#66737d}.download-item>span:last-child{margin-left:auto}.table-wrap{overflow:auto;max-height:460px}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th{text-align:left;background:#edf1f6;color:#405465;font-size:14px;font-weight:500;padding:11px 12px;position:sticky;top:0}td{padding:10px 12px;border-bottom:1px solid #eef1e9;color:#405465}tr:last-child td{border-bottom:0}.muted{color:#66737d;font-size:14px}.empty{text-align:center;padding:32px;color:#66737d;font-size:14px}.batch-actions{display:flex;gap:12px;align-items:center;margin:18px 0}.batch-actions>span{margin-left:auto;color:#66737d;font-size:14px}.batch-item{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;gap:20px}.batch-item:last-child{border:0}.batch-item b{font-size:14px;font-weight:500}.batch-item small{display:block;color:#66737d;font-size:14px}.form-row{display:flex;gap:15px;align-items:end;flex-wrap:wrap;margin:10px 0 20px}label{font-size:14px;color:#405465}input,select{border:1px solid #c6d0dc;border-radius:4px;background:white;color:#172b3e;padding:9px 10px;outline:none;max-width:100%}input:focus,select:focus{border-color:#143b61;box-shadow:0 0 0 2px #143b6114}label>input{display:block;margin-top:5px}.demo-entry{border-top:1px solid var(--line);padding-top:18px;display:flex;gap:15px;align-items:center}.demo-entry small{color:#66737d;font-size:14px}.prose h2{font-size:20px;margin:5px 0 24px}.prose h3{font-size:14px;margin-top:28px}.prose p{color:#405465;font-size:14px;max-width:850px;line-height:1.9}.binding-form{display:flex;align-items:center;gap:10px;font-size:14px;margin:12px 0;flex-wrap:wrap}.binding-form select{min-width:180px}.exception-summary{display:flex;gap:12px;align-items:center;justify-content:space-between}.exception-summary h3{font-size:14px;margin:0 0 5px}.exception-summary p{margin:0;color:#958361;font-size:14px}.exceptions-list{margin:12px 0 0;color:#9a7451;font-size:14px;padding-left:20px;max-height:140px;overflow:auto}dialog{border:1px solid #e1e6d7;border-radius:12px;width:780px;max-width:94vw;max-height:88vh;padding:28px;box-shadow:0 22px 100px #203f3125;color:var(--ink)}dialog::backdrop{background:#122d2480;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:start;justify-content:space-between}.dialog-heading h2{font-size:21px;font-weight:500;margin:7px 0 0}.close{background:none;border:0;font-size:25px;color:#66737d}.dialog-heading+p{font-size:14px;color:#66737d;margin-bottom:20px}.rule-edit{border:1px solid var(--line);border-radius:6px;margin:12px 0;padding:15px;background:#faf9f5}.rule-context{font-size:14px;color:#66737d;margin-bottom:10px}.rule-context strong{color:#143b61;font-weight:500}.rule-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}.rule-fields input,.rule-fields select{width:100%;font-size:14px;margin-top:5px}.rule-fields>label:first-child{grid-column:1/-1}.rule-footer{font-size:14px;color:#66737d;margin-top:10px}.checkbox{display:flex;align-items:center;gap:6px;font-size:14px;margin:16px 0}.checkbox input{margin:0}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:19px}.dialog-footer small{font-size:14px;color:#66737d}#toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,20px);padding:12px 22px;background:#0d2d4f;color:white;border-radius:6px;box-shadow:0 4px 30px #173f3020;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:14px;max-width:85vw}#toast.show{opacity:1;transform:translate(-50%,0)}footer{border-top:1px solid var(--line);font-size:14px;color:#66737d;display:flex;justify-content:space-between;margin-top:45px;padding:20px 0}.view>.card:first-child{margin-top:25px}button:focus-visible,a:focus-visible,.dropzone:focus-visible{outline:2px solid #ee6a3a;outline-offset:3px}@media(min-width:1600px){main{padding-top:55px}.dropzone{padding:40px 20px}.page-heading h1{font-size:33px}}@media(max-width:1050px){.sidebar{width:195px;padding:28px 18px}.shell{margin-left:195px}main{padding:30px 26px}.topbar{padding:0 26px}.naming{flex-wrap:wrap}.naming small{margin:0}.upload-footer{align-items:end}.templates{gap:8px}.feature-row p{line-height:1.9}.step-line{width:35px}.version{display:none}}@media(max-width:760px){.sidebar{position:relative;width:auto;padding:17px 20px}.brand{font-size:17px}.brand-icon{width:32px;height:35px;font-size:20px}.brand small{font-size:14px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;gap:5px;margin-top:17px}.nav{padding:7px;font-size:14px;width:auto}.nav>span{display:none}.shell{margin-left:0}.topbar{height:53px;padding:0 20px}main{padding:24px 18px}.page-heading h1{font-size:23px}.page-heading p{font-size:14px;line-height:1.9}.retention{margin:20px 0;padding:10px}.card{padding:17px}.stepbar{gap:12px}.step small{display:none}.step{font-size:14px;gap:7px}.step-line{width:20px}.rate-pill{font-size:14px;padding:4px 8px}.step b{width:28px;height:28px;font-size:14px}.dropzone h3{font-size:14px}.naming{font-size:14px;gap:6px}.naming small{display:block;width:100%}.upload-footer{display:block}.upload-footer>.primary{margin-top:17px;width:100%}.feature-row{gap:12px}.feature-row>div{padding:0 10px}.feature-row b{font-size:14px}.feature-row p{font-size:14px}.download-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr);row-gap:20px}.metric:nth-child(2){border:0}.result-banner{display:block}.result-banner>.primary{margin-top:17px}.result-tabs{gap:19px}.batch-actions{flex-wrap:wrap}.batch-actions>span{width:100%;margin:0}.rule-fields{grid-template-columns:1fr}.rule-fields>label:first-child{grid-column:auto}.dialog-footer{display:block}.dialog-footer .primary{margin-top:12px;width:100%}.demo-entry{flex-wrap:wrap}.form-row{display:block}.form-row label{display:block;margin-bottom:13px}.form-row input{width:100%}footer{display:block}footer span{display:block;margin-top:5px}.exception-summary{display:block}.exception-summary button{margin-top:12px}}

/* 官网品牌：navy #0d2d4f / orange #ee6a3a / paper #f4f2ec */
.sidebar{width:256px;background:#fff;border-right:1px solid var(--line);color:var(--ink)}
.shell{margin-left:256px}.brand{color:#0d2d4f;gap:10px;letter-spacing:1px;font-size:22px}
.brand-logo{display:block;width:68px;height:68px;object-fit:contain;flex:none}.brand small{font-size:11px;letter-spacing:1px;color:#66737d}
.workspace-label{margin:34px 10px 20px;color:#66737d;font-size:14px}.workspace-label span{border-color:#c6d0dc;font-size:13px}
.nav{color:#405465;font-size:16px;padding:13px 12px}.nav.active{background:#e9eef4;color:#0d2d4f}.nav:hover{background:#f0f3f7}
.topbar{font-size:15px}.text-button{font-size:15px}.account .avatar{font-size:14px}
.page-heading h1{font-size:34px;margin:0 0 12px;font-weight:650;color:#0d2d4f}.page-heading p{font-size:16px;color:#66737d;line-height:1.8}
.card-title h2,.section-heading h2{font-size:19px}.card-title>span,.section-heading>span{font-size:14px}
.primary{font-size:16px;background:#ee6a3a;border-color:#ee6a3a;padding:12px 22px;min-height:48px}.primary:hover{background:#d95528;border-color:#d95528}
.secondary{font-size:15px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;min-height:43px}
.dropzone{padding:34px 20px}.dropzone h3{font-size:19px}.dropzone p{font-size:15px}.dropzone small{font-size:14px;color:#66737d}
.retention{font-size:14px}.retention strong{font-size:16px}.retention div>span{font-size:14px;line-height:1.8}
.step{font-size:17px}.step b{font-size:14px;width:39px;height:39px}.rate-pill{font-size:14px}.stepbar{margin:28px 0}
.naming{font-size:15px;flex-wrap:wrap}.naming code{font-size:15px}.naming small,.naming>span{font-size:14px}.templates,.templates a{font-size:14px}.templates>span{font-size:13px}
.feature-row b{font-size:15px}.feature-row p{font-size:14px;line-height:1.8}.feature-row{gap:12px}
.result-tabs button{font-size:16px}.download-item b{font-size:16px}.download-item small{font-size:14px}.download-item .file-badge{font-size:13px}
table{font-size:14px}th{font-size:14px}.prose p{font-size:16px}.prose h3{font-size:18px}.muted{font-size:15px}
.file-item{font-size:15px}.exception-summary h3{font-size:17px}.exception-summary p,.exceptions-list,.notice{font-size:15px}.exceptions-list{line-height:1.9}
input,select{font-size:16px}label{font-size:15px}.rule-fields input,.rule-fields select{font-size:16px}.rule-context,.rule-footer,.dialog-heading+p,.dialog-footer small{font-size:14px}
.batch-item b{font-size:16px}.batch-item small{font-size:14px}.batch-actions>span{font-size:14px}.card-tools{display:flex;gap:10px;flex-wrap:wrap}.optional-files{border-top:1px solid var(--line);margin-top:22px;padding-top:16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:#66737d}.optional-files a{color:#143b61;text-decoration:underline;text-underline-offset:4px}footer{font-size:14px}
@media(max-width:1050px){.sidebar{width:230px;padding:28px 16px}.shell{margin-left:230px}.brand-logo{width:54px;height:58px}.brand{font-size:20px}.brand small{font-size:10px}.nav{font-size:15px}.upload-footer{flex-wrap:wrap}.upload-footer>.primary{margin-left:auto}}
@media(max-width:760px){.sidebar{position:relative;width:auto;padding:16px 18px}.shell{margin-left:0}.brand-logo{width:54px;height:48px}.brand{font-size:21px}.brand small{font-size:11px}.nav{font-size:14px;padding:9px}.topbar{font-size:14px}.page-heading h1{font-size:28px}.page-heading p{font-size:15px}.feature-row{grid-template-columns:1fr;gap:18px}.feature-row>div{border:0;padding:0}.templates{gap:12px}.step{font-size:15px}.rate-pill{font-size:13px}.card-title{align-items:flex-start;flex-wrap:wrap}.card-tools{width:100%}.dropzone h3{font-size:17px}.naming small{width:100%}.upload-footer>.primary{width:100%;margin-top:18px}.retention strong{font-size:15px}.retention div>span{font-size:14px}.card-title h2,.section-heading h2{font-size:18px}}

details.optional-files{display:block}details.optional-files summary{cursor:pointer;font-size:15px}details.optional-files a{display:inline-block;margin:14px 20px 0 0}

/* 上传文件列表：每页固定5条，仅分页展示，提交使用全部已选文件。 */
.file-list{margin-bottom:0}.file-item .file-name{min-width:0;overflow-wrap:anywhere}.file-item .file-badge,.file-item>small,.file-item>button{flex-shrink:0}
nav.file-pagination{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;margin:14px 0 22px;padding:10px 0 0;font-size:14px;color:#405465}
.pagination-count{margin-right:4px;white-space:nowrap}.pagination-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.file-page{background:#fff;border:1px solid transparent;border-radius:5px;min-width:34px;height:34px;padding:0 9px;color:#0d2d4f;font-size:15px;display:inline-flex;align-items:center;justify-content:center}
.file-page:hover:not(:disabled){background:#edf1f6;border-color:#c6d0dc}.file-page.selected{border-color:#0d2d4f;background:#edf1f6;color:#0d2d4f;font-weight:600}.file-page:disabled{color:#aeb8c3;background:transparent;opacity:.6;cursor:default}
.page-arrow{font-size:25px;color:#66737d}.page-gap{padding:0 3px;color:#66737d}.page-size{border:1px solid #d6dee6;border-radius:5px;padding:4px 12px;margin-left:8px;background:#fff;white-space:nowrap}
.file-page:focus-visible{outline:2px solid #ee6a3a;outline-offset:2px}
@media(max-width:760px){nav.file-pagination{justify-content:space-between;gap:10px}.pagination-count{font-size:14px}.pagination-controls{gap:3px}.file-page{min-width:30px;padding:0 7px}.page-size{padding:4px 8px;margin-left:4px}.file-item{gap:8px;font-size:14px}.file-item>small{font-size:13px}}

/* 独立白色功能卡片：上传、结果、异常和历史记录各自分区。 */
.stage-panel{background:#fff;border:1px solid #e4e8ee;border-radius:18px;padding:28px;margin:28px 0 32px;box-shadow:0 7px 26px rgba(13,45,79,.055)}
.stage-heading{display:flex;align-items:center;gap:15px;padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #e7ecf2}.stage-number{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#0d2d4f;color:#fff;font-size:17px;font-weight:600}
.stage-heading h2{margin:0;color:#0d2d4f;font-size:22px;font-weight:650}.stage-heading p{margin:5px 0 0;color:#66737d;font-size:14px}.stage-time{margin-left:auto;color:#66737d;font-size:14px;white-space:nowrap}.stage-heading .rate-pill{margin-left:auto;white-space:nowrap}
.stage-upload .upload-card{border:0;background:transparent;box-shadow:none;padding:0;margin:0}.template-import-bar{padding:17px 18px;margin-bottom:22px;border:1px solid #e1e8f1;border-radius:11px;background:#f6f8fc}.template-import-bar .templates{color:#0d2d4f;font-size:15px;gap:17px}.template-import-bar .templates a{font-size:15px}.stage-upload .upload-footer{justify-content:flex-end;padding-top:8px}
.stage-history>.section-heading{margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid #e7ecf2}.stage-history #today-jobs{box-shadow:none;border:0;margin:0;padding:0}.stage-results #result-content{box-shadow:none}.stage-results .metrics{background:#f7f9fc}
.exception-panel{margin:26px 0;padding:23px;border:1px solid #e8d7b3;border-radius:14px;background:#fffbf2}.exception-summary h3{font-size:19px;color:#79561d;display:flex;align-items:center;gap:10px}.exception-icon{display:inline-grid;place-items:center;background:#f4e6c8;border-radius:50%;width:25px;height:25px;font-size:16px;font-weight:600}.exception-summary p{margin-top:7px;font-size:14px;line-height:1.8}.exception-panel .exceptions-list{max-height:220px;margin-top:16px;line-height:1.95;color:#87662f;font-size:15px}
.duplicate-examples{border-top:1px solid #eadbbd;padding-top:18px;margin-top:20px}.duplicate-examples summary{cursor:pointer;color:#0d2d4f;font-weight:600;font-size:16px}.duplicate-examples>p{font-size:14px;color:#7a6c53;line-height:1.85;margin:12px 0}.duplicate-example{border:1px solid #e3e6eb;border-radius:11px;background:#fff;padding:17px;margin-top:15px}.duplicate-example h4{font-size:15px;color:#0d2d4f;margin:0 0 14px}.duplicate-example dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 20px;margin:0}.duplicate-example dt{color:#84909a;font-size:14px}.duplicate-example dd{margin:3px 0 0;color:#172b3e;font-size:14px;overflow-wrap:anywhere}.duplicate-description{font-size:14px;color:#66737d;margin:13px 0;padding-bottom:12px;border-bottom:1px solid #edf0f4;overflow-wrap:anywhere}.source-ref{font-size:14px;margin:6px 0 0;color:#66737d;overflow-wrap:anywhere}.source-ref b{font-weight:500;color:#405465}
.filename-alert{padding:17px 18px;background:#fff4f1;border:2px solid #d86b51;border-radius:10px;margin:17px 0;color:#963c2e;font-size:14px}.filename-alert strong{display:block;font-size:16px}.filename-alert p{margin:7px 0;line-height:1.8}.filename-alert ul{padding-left:20px;margin:10px 0 14px}.filename-alert li{margin:9px 0;overflow-wrap:anywhere}.filename-alert li b{display:block;font-weight:500}.filename-alert li span{display:block;margin-top:3px}.filename-alert.checking{background:#f4f7fb;color:#405465;border:1px solid #d3dfeb}
.file-item .file-copy{min-width:0;flex:1}.file-copy .file-name{display:block;overflow-wrap:anywhere}.file-error{display:block;font-size:14px;color:#b34e39;margin-top:5px;line-height:1.7}.file-item.invalid-file{background:#fff7f4;border-left:3px solid #d86b51;padding:12px 10px;margin-top:5px;border-radius:5px}.file-item.invalid-file .file-badge{color:#a54d37;background:#f8e6df}
@media(max-width:900px){.stage-heading{flex-wrap:wrap}.stage-heading .rate-pill{margin-left:59px}.template-import-bar .templates{gap:13px}.duplicate-example dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.stage-panel{padding:20px 16px;border-radius:15px;margin:22px 0 28px}.stage-heading{gap:12px;padding-bottom:18px;margin-bottom:18px}.stage-heading h2{font-size:20px}.stage-heading p{font-size:14px}.stage-number{width:39px;height:39px;font-size:15px}.stage-heading .rate-pill{margin-left:51px}.stage-time{margin-left:51px}.template-import-bar{padding:14px}.template-import-bar .templates{font-size:15px;gap:12px;align-items:center}.exception-panel{padding:18px 14px}.exception-summary h3{font-size:18px}.duplicate-example{padding:14px}.duplicate-example dl{gap:12px}.filename-alert{padding:15px 13px}.stage-upload .upload-footer>.primary{margin-top:4px}}

.muted-step{background:#edf1f6!important;color:#66737d!important}.empty-results{text-align:center;padding:22px 18px 32px;color:#66737d}.empty-results>span{display:grid;place-items:center;margin:0 auto 12px;background:#f1f5fa;color:#7a91ab;width:65px;height:65px;border-radius:50%;font-size:30px}.empty-results strong{font-size:17px;font-weight:500;display:block;color:#405465}.empty-results p{font-size:14px;margin:8px 0 0;line-height:1.8}

.dialog-notice{position:sticky;top:0;z-index:5;background:#fff1eb;color:#963c2e;border:1px solid #d86b51;border-radius:8px;padding:14px 18px;margin:0 0 18px;font-size:16px;box-shadow:0 4px 14px #172b3e14}.dialog-notice[hidden]{display:none}

#team-rules-table td:last-child{white-space:nowrap}#team-rules-table td button,#accounts-table td button{font-size:14px;padding:4px 10px;min-height:30px;border-radius:4px;margin:2px}.account-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:680px;padding:18px;margin:18px 0;background:#f5f7fa;border-radius:8px}.account-form input,.account-form select{display:block;width:100%;font-size:15px}.account-form>div{grid-column:1/-1}#account-notice{color:#963c2e;margin:10px 0}@media(max-width:760px){.account-form{grid-template-columns:1fr}}

#team-rules-table:not(.editing) th:last-child,#team-rules-table:not(.editing) td:last-child{display:none}.rule-grid{table-layout:fixed!important;border-collapse:collapse!important;min-width:0!important}.rule-grid th,.rule-grid td{border:1px solid #cbd5df!important;padding:10px 12px!important;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.rule-grid th{position:relative;padding-right:18px!important}.rule-grid th .column-resizer{position:absolute;right:0;top:0;width:9px;height:100%;cursor:col-resize;touch-action:none;user-select:none;border-right:2px solid #a9bacb}.column-resizer:hover,.column-resizer:focus{background:#bfd7ed;outline:none}#team-rules-table .table-wrap,#accounts-table .table-wrap{border:1px solid #cbd5df;border-radius:5px;overflow:auto}.rule-grid td:last-child button{padding:3px 7px!important;min-height:26px!important;font-size:13px!important}

.settings-nav{display:grid;gap:4px;margin:0 0 10px 27px;border-left:1px solid #d5dfe9;padding-left:12px}.settings-nav button{text-align:left;background:none;border:0;color:#405465;font-size:14px;padding:8px 10px;border-radius:5px}.settings-nav button:hover,.settings-nav button.selected{background:#eaf0f7;color:#0d2d4f}

.nav .settings-chevron{float:right;width:auto;font-size:22px;line-height:1.2;transition:transform .15s}.nav[aria-expanded="true"] .settings-chevron{transform:rotate(90deg)}#admin-nav.active:after{display:none}

.walmart-picker{display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;cursor:pointer}
.walmart-picker .upload-icon{display:grid;place-items:center}
.walmart-picker input{max-width:100%;font:inherit}
.walmart-picker:focus-within{outline:2px solid currentColor;outline-offset:3px}
#walmart-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px;margin-top:16px}

.history-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:12px 0 20px}.history-filters label{display:grid;gap:6px;font-size:14px}.history-filters select{min-width:150px}.history-filters>.muted{margin-bottom:12px;font-size:13px}.history-record{display:flex;align-items:center;gap:24px;padding:22px 0;border-top:1px solid #e2e8ef}.history-copy{flex:1;min-width:0}.history-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.history-heading h3{margin:0;font-size:18px}.history-counts{display:flex;flex-wrap:wrap;gap:18px;margin:12px 0 8px;font-size:14px;color:#536c81}.history-copy>small{display:block;color:#7c8b96}.history-open{flex:none;white-space:nowrap;min-width:122px}.history-companies{margin-top:12px;font-size:14px}.history-companies summary{cursor:pointer;color:#345774}.history-companies ul{padding-left:20px;line-height:1.8;overflow-wrap:anywhere}.history-pages{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;padding-top:12px}.history-pages span{font-size:14px;color:#7c8b96}.aux-panel{padding:22px;margin:20px 0;border:1px solid #cedbe7;border-radius:12px;background:#f6f9fc}.aux-panel h3{margin-top:0}.aux-panel [role=alert]{color:#b3432c}.aux-panel a{color:#17466e}@media(max-width:600px){.history-record{align-items:flex-start;gap:12px}.history-open{min-width:0;padding:10px;font-size:13px}.history-heading h3{font-size:16px}.history-filters>.muted{margin:0}}

#rule-dialog .project-only-option{display:flex;align-items:center;gap:12px;font-size:16px;line-height:1.7;font-weight:500;color:#0d2d4f;border:2px solid #ee6a3a;border-radius:8px;padding:14px 16px;margin:18px 0 12px;background:#fff6ed;cursor:pointer;overflow-wrap:anywhere}#rule-dialog .project-only-option input{width:20px;height:20px;min-width:20px;accent-color:#ee6a3a;flex:none}#rule-dialog .project-only-option:has(input:checked){background:#eaf3fc;border-color:#0d2d4f}#rule-dialog .project-only-option:focus-within{outline:3px solid #8cb7e0;outline-offset:3px}.rule-context .classification-required{display:block;color:#a34224;font-weight:600;margin-top:6px}

.project-only-copy>span{display:inline}

.history-heading h3{overflow-wrap:anywhere}.history-source-files{font-size:15px;line-height:1.8;color:#345774}.history-source-files ul{margin:8px 0;padding-left:20px;overflow-wrap:anywhere}.history-source-files summary{cursor:pointer;margin-top:8px}.history-source-files details>ul{max-height:320px;overflow:auto;padding-right:12px}

.account-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:16px 0}.account-filters label{display:grid;gap:5px}.account-filters input{min-width:240px}.account-filters .muted{margin-bottom:12px}#account-list td:last-child{min-width:230px}#account-list .text-button{padding:5px 8px;white-space:nowrap}#account-edit-dialog{width:min(620px,calc(100vw - 32px));padding:26px;border:0;border-radius:14px;max-height:90vh;overflow:auto}#account-edit-dialog h2{font-size:21px;margin:0}#account-edit-dialog .dialog-heading{margin-bottom:16px}.account-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.account-edit-fields label{display:grid;gap:6px}.account-edit-fields input,.account-edit-fields select{width:100%;min-width:0}#account-edit-notice{color:#a5412b}#account-edit-notice:empty{display:none}#account-edit-dialog .dialog-footer{justify-content:flex-end;gap:12px;margin-top:18px}#account-edit-dialog .muted{font-size:14px;line-height:1.8}@media(max-width:600px){.account-edit-fields{grid-template-columns:1fr}.account-filters input{min-width:0;width:100%}.account-filters label{width:100%}}
