:root{--bg:#f6f7f9;--paper:#fff;--ink:#202d3c;--muted:#697585;--line:#e4e8ed;--accent:#176652;--accent-light:#e9f3ef;--warn:#8a641a;--navy:#203448;--radius:9px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #85bfb0;outline-offset:3px}button{transition:background-color .15s,border-color .15s}.button{min-height:42px;padding:10px 15px;border:1px solid #d7dde4;border-radius:7px;background:white;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550;white-space:nowrap}.button:hover:not(:disabled){background:#f1f4f6;text-decoration:none;border-color:#bfc8d3}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover:not(:disabled){background:#105340}.button.compact{min-width:42px;padding:8px}.text-button{border:0;background:none;color:var(--accent);min-height:40px;font-weight:550}.icon-button{background:none;border:1px solid var(--line);border-radius:7px;min-width:42px;min-height:42px}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--muted);font-weight:650;margin:0 0 13px}h1{font-size:30px;font-weight:620;letter-spacing:-1px;margin:0 0 10px}h2{font-size:18px;letter-spacing:-.35px;margin:0 0 10px}p{line-height:1.6}.subtitle{color:var(--muted);margin:0;font-size:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;border-right:1px solid var(--line);background:#fff;padding:29px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:15px;font-weight:650;padding:0 9px}.brand:hover{text-decoration:none}.brand-symbol{display:flex;align-items:center;justify-content:center;background:var(--navy);color:white;width:39px;height:39px;border-radius:10px;font-size:23px;font-weight:600;letter-spacing:-2px;padding-right:3px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}.nav-caption{margin:49px 12px 13px;font-size:9px;color:#85909d;letter-spacing:1.4px;font-weight:600}.nav-item{display:flex;align-items:center;gap:12px;background:none;border:0;text-align:left;width:100%;min-height:46px;border-radius:7px;padding:10px 12px;color:var(--muted);margin:3px 0}.nav-item>span:first-child{font-size:20px;width:20px;text-align:center}.nav-item.active{color:var(--accent);background:var(--accent-light);font-weight:600}.nav-item:hover{background:#f0f4f4}.nav-count{margin-left:auto;font-size:10px;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 9px 0;font-size:11px}.sidebar-bottom small{display:block;color:var(--muted);margin:7px 0 24px 14px;font-size:10px}.sidebar-bottom a{font-size:11px;color:var(--muted)}.status-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;margin-right:5px}main{margin-left:220px}.topline{height:71px;border-bottom:1px solid var(--line);padding:0 38px;background:#fff;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.slash{color:#bcc4cc;padding:0 13px}.account{display:flex;align-items:center;gap:9px;color:var(--ink)}.avatar{display:flex;align-items:center;justify-content:center;background:#e8edf2;border:1px solid #dfe5eb;width:29px;height:29px;border-radius:50%;font-size:11px;font-weight:600}.view{padding:35px 38px 25px;max-width:1700px;margin:auto}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:1fr 1fr 1fr 1.1fr;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px 0;margin-bottom:23px}.stats>div{padding:0 26px;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats>div>span{font-size:11px;color:var(--muted);display:block;margin-bottom:11px}.stats strong{font-size:28px;letter-spacing:-.8px;font-weight:580;font-variant-numeric:tabular-nums}.stats strong small{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0}.stats span small{font-size:9px;margin-left:5px;color:#85909d}.notice{display:flex;align-items:center;gap:14px;padding:15px 18px;background:#f8f3e8;border:1px solid #e9dfc7;border-radius:var(--radius);margin-bottom:31px;font-size:12px}.notice-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;border:1px solid #b89c65;border-radius:50%;font-family:Georgia,serif;color:var(--warn)}.notice strong{font-size:12px;font-weight:600;color:#755b27}.notice p{margin:4px 0 0;font-size:11px;color:#897754}.notice .text-button{margin-left:auto;font-size:11px;color:#755b27;white-space:nowrap}.table-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 18px}.table-heading h2{font-size:17px;margin-bottom:6px}.table-heading p{font-size:11px;color:var(--muted);margin:0}.count{font-size:11px;color:var(--muted);background:#e9edf1;border-radius:4px;padding:3px 6px;margin-left:7px;font-weight:500}.filters{display:flex;align-items:center;gap:10px;margin-bottom:16px}.search{position:relative;display:flex;align-items:center;max-width:410px;flex:1}.search span{position:absolute;left:13px;color:var(--muted);font-size:25px;top:5px}.search input{padding-left:40px;width:100%}input:not([type=checkbox]),select,textarea{background:white;color:var(--ink);border:1px solid #d9dfe6;border-radius:6px;padding:11px 12px;min-height:42px}input::placeholder{color:#8793a1;font-size:12px}select{padding-right:28px;font-size:12px}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;cursor:pointer}#optimize-selected{margin-left:auto;font-size:12px}.table-scroll{border:1px solid var(--line);border-radius:8px;overflow:auto;background:white}table{border-collapse:collapse;width:100%;text-align:left;table-layout:fixed}th{font-size:9px;letter-spacing:.8px;color:#7d8996;font-weight:600;background:#fafbfc;padding:14px 12px;border-bottom:1px solid var(--line)}th:nth-child(2){width:33%}th:nth-child(3){width:29%}th:nth-child(4){width:10%}th:nth-child(5){width:15%}th:last-child{width:40px}.check-col{width:43px}td{padding:13px 12px;border-bottom:1px solid #edf0f3;font-size:11px;height:78px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbfc}.product-name{font-size:12px;font-weight:550;line-height:1.5;margin:0;color:#2f3e4f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-ref{display:block;color:#8993a0;font-size:10px;margin-top:5px}.row-open{background:none;border:0;padding:0;text-align:left;width:100%;min-height:44px}.row-arrow{border:0;background:none;font-size:18px;color:#8994a2;min-height:44px;width:26px}.optimized-text{color:#547363;font-size:11px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.original-text{color:#8a95a2;font-size:11px}.pill{display:inline-block;padding:5px 8px;border-radius:5px;font-size:10px;white-space:nowrap;background:#f0f2f5;color:#77828e}.pill.optimized,.pill.approved{background:#edf5f0;color:#3b7659}.pill.stale,.pill.rejected{background:#faf0dc;color:#9b7738}.field-count{font-variant-numeric:tabular-nums;color:#738091}.pagination{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;margin-top:15px}.pagination>div{display:flex;gap:13px;align-items:center}.catalog-footnote{font-size:10px;color:#8b96a3;margin:22px 0 0}.empty{text-align:center;padding:50px;border:1px solid var(--line);background:white;border-radius:7px}.panel,.published-url,.job-card,.export-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:24px;margin-bottom:18px}.panel p,.panel li,.published-url p{font-size:13px;color:var(--muted);line-height:1.8}.panel ul{padding-left:20px}.panel li{margin:8px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel{margin:0}.field-label{display:block;font-size:12px;font-weight:600;margin:20px 0 8px}.panel select{width:100%}.model-prices{font-size:12px;color:var(--muted);margin-top:13px}.published-url>span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.published-url a{font-size:14px;overflow-wrap:anywhere}.job-card header,.export-card header{display:flex;justify-content:space-between;align-items:center;gap:15px}.job-card p,.export-card p{color:var(--muted);font-size:12px}.job-card progress{width:100%;height:6px;accent-color:var(--accent);margin:12px 0}.export-card .actions{margin-top:15px}.job-banner{background:var(--accent-light);padding:15px 20px;margin-bottom:24px;border-radius:8px;font-size:12px;display:flex;align-items:center;justify-content:space-between}.login{max-width:580px;padding:85px 26px;margin:auto;text-align:center}.login .brand-symbol{margin:0 auto 30px;width:54px;height:54px;font-size:32px}.login p{color:var(--muted);margin-bottom:27px}.login .button{margin:5px}.login h1{font-size:32px}.drawer,.modal{border:0;padding:0;background:var(--bg);color:var(--ink);box-shadow:0 12px 70px #18293925}.drawer::backdrop,.modal::backdrop{background:#18293965}.drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:710px;max-width:100%;border-left:1px solid var(--line)}.drawer-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:17px 28px;background:#fff;border-bottom:1px solid var(--line)}.drawer-top .eyebrow{margin:0}#product-detail{padding:26px 28px}.product-heading h2{font-size:23px;line-height:1.4;letter-spacing:-.5px}.product-heading p{color:var(--muted);font-size:12px}.field-editor{padding:20px;background:#fff;border:1px solid var(--line);border-radius:8px;margin:17px 0}.field-editor header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.field-editor h3{font-size:14px;margin:0}.field-editor textarea{width:100%;resize:vertical;min-height:85px;line-height:1.6;font-size:13px}.field-editor textarea.description{min-height:180px}.field-editor details{font-size:12px;color:var(--muted);margin-bottom:15px}.field-editor summary{cursor:pointer;min-height:30px}.source-text{white-space:pre-wrap;max-height:200px;overflow:auto;background:#f8fafb;padding:12px;border-radius:5px;font-size:12px;line-height:1.7}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.editor-actions .button{font-size:11px}.checkbox-line{display:flex;align-items:center;gap:9px;font-size:12px;min-height:35px}.field-editor .checkbox-line{color:var(--muted);font-size:11px}.field-status{font-size:11px;color:var(--warn);margin:0 0 10px}.history{font-size:11px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.history summary{cursor:pointer;min-height:40px;font-weight:600}.history article{padding:10px 0;border-bottom:1px solid var(--line)}.history pre{white-space:pre-wrap;word-break:break-word;max-height:180px;overflow:auto;font-size:11px;color:var(--muted)}.modal{width:570px;max-width:calc(100% - 24px);border-radius:14px;padding:28px;max-height:calc(100dvh - 28px);background:#fff}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.modal h2{font-size:24px}.modal>p{color:var(--muted);font-size:13px}.modal select,.modal input[type=number]{width:100%}.modal-footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.modal-footer .button{font-size:12px}.modal fieldset{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px 18px}.modal legend{font-size:12px;font-weight:600;margin-bottom:8px}.plan-summary{padding:16px;background:#f1f6f3;border-radius:8px;font-size:12px;line-height:1.8}.plan-summary strong{color:var(--accent)}.error{color:#aa3f34!important;font-size:12px}.toast{position:fixed;right:24px;bottom:24px;z-index:20;background:var(--navy);color:#fff;padding:16px 22px;max-width:min(500px,calc(100% - 32px));border-radius:8px;box-shadow:0 5px 25px #152b3430;font-size:13px;line-height:1.6}.export-numbers{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.export-numbers span{display:block;color:var(--muted);font-size:12px}.export-numbers strong{font-size:25px;display:block;margin-top:7px}.status-note{font-size:11px;line-height:1.6;color:var(--muted)}
@media(min-width:1600px){.view{padding:42px 55px}.topline{padding:0 55px}td{height:85px}.product-name{font-size:13px}}@media(max-width:1150px){.sidebar{width:185px;padding:26px 12px}main{margin-left:185px}.view{padding:28px 24px}.topline{padding:0 24px}.page-header{align-items:flex-start;flex-direction:column}.page-header .actions{align-self:flex-end;margin-top:-4px}.stats>div{padding:0 18px}.stats strong{font-size:25px}.stats span small{display:block;margin:3px 0 0}.title-column,td.title-cell{display:none}th:nth-child(2){width:52%}th:nth-child(4){width:15%}th:nth-child(5){width:25%}.filters{flex-wrap:wrap}.search{min-width:220px}.notice{align-items:flex-start}.notice .text-button{align-self:center}.table-heading p{max-width:330px}}@media(max-width:720px){.sidebar{position:static;width:100%;height:auto;padding:15px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0}.brand-symbol{width:32px;height:32px;font-size:20px}.brand small{font-size:10px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;margin-top:15px;overflow:auto}.nav-item{justify-content:center;gap:5px;padding:8px 9px;font-size:11px;min-height:41px;white-space:nowrap}.nav-item>span:first-child{font-size:15px;width:auto}.nav-count{display:none}main{margin:0}.topline{height:48px;padding:0 20px;font-size:10px}.view{padding:25px 18px}.page-header{gap:18px;margin-bottom:23px}.page-header .actions{align-self:stretch;margin:0}.actions .button{flex:1;font-size:12px}h1{font-size:27px}.eyebrow{font-size:9px}.subtitle{font-size:12px;line-height:1.8}.stats{grid-template-columns:1fr 1fr;padding:0;margin-bottom:20px}.stats>div{padding:17px 18px;border-bottom:1px solid var(--line)}.stats>div:nth-child(2){border-right:0}.stats>div:nth-child(3){border-bottom:0}.stats>div>span{font-size:10px;margin-bottom:8px}.stats span small{display:inline;font-size:8px}.stats strong{font-size:25px}.stats strong small{font-size:12px}.notice{padding:13px;gap:10px;margin-bottom:26px;flex-wrap:wrap}.notice>div{flex:1}.notice .text-button{margin:0 0 0 29px;min-height:26px;padding:0}.notice p{font-size:10px}.notice strong{font-size:11px}.table-heading{align-items:flex-start;gap:10px}.table-heading h2{font-size:16px}.table-heading p{display:none}.table-heading .button{font-size:11px;padding:9px 10px;min-height:39px}.filters{gap:8px}.search{max-width:none;min-width:100%;flex-basis:100%}.filters select{flex:1;width:40%}.filters .button{flex:1;font-size:11px}th{padding:12px 8px;font-size:8px;letter-spacing:.5px}td{padding:11px 8px;height:89px}.check-col{width:29px}th:nth-child(2){width:auto}th:nth-child(4),td.field-count{display:none}th:nth-child(5){width:94px}th:last-child{width:24px}.row-arrow{width:20px}.product-name{font-size:11px;-webkit-line-clamp:3}.product-ref{font-size:9px}.pill{font-size:9px;padding:5px 6px}.pagination{font-size:10px}.pagination>div{gap:8px}.catalog-footnote{font-size:9px}.settings-grid{grid-template-columns:1fr}.panel{padding:20px}.drawer-top{padding:14px 18px}#product-detail{padding:22px 18px}.product-heading h2{font-size:20px}.field-editor{padding:16px}.field-editor header .button{font-size:10px;padding:9px}.editor-actions{align-items:stretch}.modal{padding:22px}.modal h2{font-size:22px}.modal-footer{flex-wrap:wrap}.modal-footer .button{flex:1}.published-url a{font-size:12px}.job-card,.export-card{padding:18px}.job-card header,.export-card header{align-items:flex-start;flex-direction:column}.toast{right:16px;bottom:16px}.login{padding-top:60px}.login h1{font-size:27px}}

.filters .search input{padding-left:40px}

@media(max-width:720px){.sidebar nav{overflow:visible;gap:3px}.nav-item{flex:1;width:0;min-width:0;font-size:10px;padding:8px 4px;gap:0}.nav-item>span:first-child{display:none}.notice .text-button{flex-basis:100%;text-align:left;margin-left:29px}}

#login-form{max-width:350px;margin:28px auto;text-align:left}#login-form label{display:block;font-size:12px;font-weight:600;margin:17px 0 8px}#login-form input{display:block;width:100%}#login-form .button{width:100%;margin:24px 0 0}.account #logout{font-size:11px;padding:0 6px}.account{flex-wrap:wrap}.login #login-message{font-size:12px}

/* Flux principal : comparaison source / résultat et données exactes. */
.quality-strip{display:flex;justify-content:space-between;gap:12px;margin:0 0 24px;padding:13px 17px;border:1px solid #d6e5df;background:#eff6f3;border-radius:8px;color:#376755;font-size:12px}.drawer{width:960px;max-width:100%;}.product-hero{display:flex;gap:22px;align-items:center}.product-hero img{width:120px;height:120px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:white}.hero-price{font-size:22px;font-weight:600;color:var(--accent)}.hero-price .pill{margin-left:8px;vertical-align:middle}.detail-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 10px}.detail-section-title h2{margin:0}.quality-issues{background:#faf3e7;border:1px solid #e9dfc7;padding:16px;border-radius:8px;font-size:12px;line-height:1.7}.quality-issues summary{cursor:pointer;font-weight:600}.field-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:18px 0}.comparison-label{display:block;font-size:9px;font-weight:650;letter-spacing:1px;color:var(--muted);margin-bottom:10px}.field-comparison .source-text{background:#f6f8f9;min-height:86px;max-height:250px;overflow:auto;padding:12px;border-radius:7px;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.field-comparison textarea{width:100%;min-height:86px;margin:0;font-size:12px;line-height:1.7}.field-comparison textarea.description{min-height:220px}.field-comparison textarea.product_details{min-height:220px}.field-comparison select{width:100%;font-size:12px}.facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:9px;overflow:hidden}.facts-grid article{background:white;padding:17px;min-width:0}.facts-grid article div{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.xml-preview{margin:24px 0;border:1px solid var(--line);padding:18px;border-radius:8px}.xml-preview summary{cursor:pointer;font-weight:600}.xml-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7;max-height:500px;overflow:auto;color:var(--accent)}.field-count strong{font-size:12px;font-weight:600;color:var(--ink)}.field-count{line-height:1.8}.product-ref{display:block}.export-card h2{font-size:16px}
@media(max-width:720px){.quality-strip{font-size:10px;flex-direction:column;gap:6px}.product-hero{gap:12px;align-items:flex-start}.product-hero img{width:65px;height:65px}.product-hero h2{font-size:18px}.hero-price{font-size:18px}.hero-price .pill{display:inline-block;margin:7px 0}.field-comparison,.facts-grid{grid-template-columns:1fr}.field-comparison{gap:16px}.detail-section-title{align-items:flex-start;flex-direction:column}.field-editor header{gap:8px}.field-editor h3{font-size:13px}.field-editor h3 .pill{display:inline-block;margin-top:6px}.editor-actions{flex-wrap:wrap}.editor-actions .checkbox-line{font-size:10px}.quality-issues{font-size:11px}.facts-grid article{padding:14px}.product-heading h2{overflow-wrap:anywhere}}
