/* Atelier v2 : listes compactes et pilotage hebdomadaire. */
.content{max-width:none;padding:28px 24px 16px}.topbar{padding:0 24px}.subtitle{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1px}.page-heading{margin-bottom:24px}h1{font-size:28px}.sidebar{width:225px;padding-left:15px;padding-right:15px}main{margin-left:225px}.sidebar nav button{font-size:11px;min-height:46px}.sidebar nav button span{line-height:1.5}.sidebar-note{padding-top:35px;margin-bottom:30px}.sidebar-note strong{font-size:17px}.sidebar-note p{font-size:11px}.stats{gap:12px;margin-bottom:24px}.stat{display:flex;align-items:flex-start;gap:12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px 14px;color:#766b73}.stat>span:last-child{font-size:11px;line-height:1.5}.stat strong{margin-top:5px}.stat small{font-size:10px}.stat:hover{border-color:#c6a3ae}.work-section{padding:20px;background:#fff;border-radius:12px}.section-heading h2{font-size:16px}.section-heading p{font-size:11px;line-height:1.7}.section-heading>span{font-size:10px}.toolbar{margin-bottom:10px}.search input{font-size:12px}.search{min-height:42px}select{font-size:11px}.table-scroll{overflow:auto;max-width:100%;border:1px solid #e8e2e2;border-radius:8px}.jobs-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1110px;font-size:11px;text-align:left}.jobs-table th{background:#f7f4f2;color:#86727d;font-size:10px;letter-spacing:.1px;font-weight:600;padding:13px 10px;white-space:nowrap;border-bottom:1px solid #e6dddd}.jobs-table td{padding:11px 10px;border-bottom:1px solid #eee9e8;vertical-align:middle}.jobs-table tr:last-child td{border-bottom:0}.jobs-table tbody tr:hover{background:#fcf9f8}.jobs-table td:first-child{min-width:190px;max-width:235px}.row-link{text-align:left;background:transparent;padding:0;display:grid;gap:5px;color:#494047;width:100%}.row-link strong{color:var(--brand);font-size:12px;letter-spacing:.2px}.row-link span{font-size:10px;line-height:1.5}.row-link:hover strong{text-decoration:underline}.comment-mark{display:inline-block;font-size:8px;color:#99868e;margin-top:5px;margin-left:4px}.sav-badge{display:inline-block;margin-top:4px;padding:3px 5px;font-size:8px}.paint-cell{display:flex;gap:8px;align-items:center;min-width:155px;max-width:220px;font-size:11px}.paint-cell>span:last-child{display:grid;gap:4px;line-height:1.5}.paint-cell small{display:block;color:#8b7882;font-size:9px}.swatches{display:flex;flex-shrink:0;gap:2px}.swatches i{width:13px;height:20px;border:1px solid #00000012;border-radius:3px;display:inline-block}.swatches .unknown{font-size:10px;text-align:center;line-height:18px;background:#f2e9e4;color:#977167;font-style:normal}.num{text-align:right;font-variant-numeric:tabular-nums}.surface{font-weight:700}.center{text-align:center}.nowrap{white-space:nowrap}.return-field{display:grid;gap:4px}.return-field input{width:130px;min-height:33px;border:1px solid #d7c2ca;border-radius:5px;background:white;padding:4px 6px;font-family:inherit;font-size:11px;color:#674553}.return-field input.not-set{background:#fff8ee;border-color:#e7cfaa}.return-field small{font-size:8px;color:#9a8490;min-height:10px}.return-field input.date-warning{border-color:#c18342}.return-field small.warning-text{color:#9b571b}.status-select{font-size:10px;min-height:31px;width:112px;padding:0 5px;border:0;font-weight:600}.stage-0{background:#f2eeee;color:#776b74}.order-check{width:17px;height:17px;accent-color:var(--brand);cursor:pointer}.jobs-table th.return-head{color:var(--brand)}.pagination{display:flex;gap:15px;align-items:center;justify-content:space-between;color:#8e7d85;font-size:10px;padding:10px 0 13px}.pagination label{margin-left:auto;display:flex;align-items:center;gap:7px}.pagination select{min-height:28px;padding:0 7px;font-size:10px}.pagination>div{display:flex;align-items:center;gap:10px}.pagination button{width:29px;height:29px;background:#f5f0f1;border-radius:5px;color:#7b5464;font-size:15px}button:disabled{opacity:.4;cursor:not-allowed}.table-note{font-size:10px;color:#97858f;margin-top:12px}.week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.week-toolbar strong{display:block;font-size:13px}.week-toolbar span{display:block;margin-top:5px;font-size:10px;color:#8a7b83}.week-toolbar label{display:flex;align-items:center;gap:10px;font-size:10px;color:#8a7b83}.week-toolbar input{font:inherit;font-size:11px;border:1px solid #e0d3d8;padding:9px;border-radius:6px;color:#68515d;max-width:170px}.week-rail{display:flex;gap:9px;overflow-x:auto;padding-bottom:12px;margin-bottom:22px;scroll-snap-type:x proximity}.week-rail>button{min-width:145px;flex:1;text-align:left;padding:12px 13px;border:1px solid #e8e1df;border-radius:8px;background:#fcfaf8;color:#65565f;scroll-snap-align:start}.week-rail>button small{display:block;font-size:9px;color:#a08b95}.week-rail>button strong{display:block;font-size:14px;margin:8px 0}.week-rail>button span{font-size:9px}.week-rail>button.selected{border-color:var(--brand);background:#f8edf1;color:var(--brand);box-shadow:inset 0 2px 0 var(--brand)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:11px 14px;font-size:11px;font-weight:600;min-height:39px;line-height:1.5}.primary{background:var(--brand);color:white}.secondary{border:1px solid #dfd3d8;background:white;color:#765461}.primary svg,.secondary svg{width:15px}.order-summary{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e9e0df;background:#fcf9f7;border-radius:9px;padding:19px 0;margin:20px 0}.order-summary>div{padding:0 22px;border-right:1px solid #e6dddf}.order-summary>div:last-child{border-right:0}.order-summary strong{display:block;font-size:26px;font-weight:600;color:#614351}.order-summary strong small{font-size:15px;color:#a28994}.order-summary span{display:block;margin-top:6px;font-size:10px;color:#96838d}.order-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.segmented{display:flex;background:#f5f1f0;padding:4px;border-radius:7px}.segmented button{border-radius:5px;background:transparent;padding:9px 12px;color:#947e89;font-size:10px}.segmented button[aria-pressed=true]{background:white;color:var(--brand);box-shadow:0 1px 4px #572b3a10}.scope-note{font-size:11px;color:#94818b;margin:16px 0}.color-table{width:100%;border-collapse:collapse;min-width:620px;font-size:12px;text-align:left}.color-table th{background:#f7f4f2;font-size:10px;color:#8b7681;font-weight:600;padding:14px 18px}.color-table td{padding:13px 18px;vertical-align:middle;border-top:1px solid #f0e8eb}.color-table .num{white-space:nowrap}.color-name{display:flex;align-items:center;gap:12px}.color-name>i{display:block;width:29px;height:29px;flex-shrink:0;border-radius:6px;border:1px solid #00000015}.color-name strong{font-size:12px}.color-name small{display:block;margin-top:4px;font-size:10px;color:#a08a95}.color-table .color-refs td{padding:0 18px 13px;border-top:0;color:#9c8993;font-size:10px}.color-refs summary{cursor:pointer;font-size:9px}.color-refs details>div{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px}.color-refs button{background:#f5eff1;color:#856674;padding:5px 8px;border-radius:4px;font-size:10px}.wood-label{color:#8a6534;font-size:10px}.notice{border-left:3px solid #d2b7a7;background:#faf6f1;padding:14px 17px;margin-top:19px;font-size:11px;line-height:1.8;color:#937b6a;border-radius:0 6px 6px 0}.notice strong{font-size:11px;color:#765848}.notice p{margin:4px 0 0}.notice.warning{border-color:#c98c38;background:#fff7e9;color:#9a6730;margin-bottom:15px}.notice button{padding:0;background:transparent;text-decoration:underline;color:inherit;font-size:11px}.undo-bar{display:flex;align-items:center;justify-content:space-between;background:#eaf5ed;color:#427255;padding:12px 15px;font-size:11px;border-radius:6px;gap:10px}.undo-bar button{background:transparent;color:inherit;font-size:11px;text-decoration:underline}.batch-refs{display:grid;gap:6px;max-height:250px;overflow:auto;padding:12px;background:#f8f4f2;border-radius:6px;font-size:11px;color:#806571}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.dialog-body>p{font-size:12px;line-height:1.8}.dialog-body .return-field input{width:180px;min-height:40px;font-size:13px}.dialog-body .return-field small{font-size:10px}.dialog-body .schedule{padding-bottom:0}.dialog-body .paint-info small{font-size:9px}.dialog-body .helper{font-size:11px}.mini-paint{font-size:10px;line-height:1.6;display:flex;gap:8px;align-items:center;color:#876d78}.mini-metrics{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9b8792;margin:14px 0}.mini-metrics b{font-size:14px;color:#664652}.mini-date{font-size:9px;color:#9a8590}.compact .order{border-top:1px solid #eee5e8;margin-top:13px;padding-top:10px}.compact .advance{font-size:10px}.compact .job-title{font-size:12px}.kanban-column{min-height:300px}.column-cards{align-content:start}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#print-report{display:none}
@media(max-width:1150px){.sidebar{width:205px}main{margin-left:205px}.content{padding:25px 18px}.stats{grid-template-columns:repeat(2,1fr)}.order-actions{flex-wrap:wrap}.week-toolbar{align-items:flex-start}}
@media(max-width:700px){.sidebar{width:100%;position:static;padding:13px 12px 10px}.brand{padding:0 0 13px}.brand img{width:130px;height:36px}.sidebar nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:3px}.sidebar nav button{min-width:105px;flex-shrink:0;font-size:9px;padding:9px 8px;min-height:39px}.sidebar nav svg{width:14px}.sidebar nav button span{white-space:nowrap}.workspace-label{top:26px;font-size:8px}.content{padding:23px 12px 12px}main{margin:0}.topbar{padding:0 13px;height:42px;font-size:9px}.topbar .demo-dot{font-size:8px}.page-heading{margin-bottom:20px}h1{font-size:25px}.subtitle{font-size:11px;line-height:1.8}.eyebrow{font-size:8px}.stats{gap:8px}.stat{padding:12px 9px;gap:8px}.stat>span:last-child{font-size:9px}.stat strong{font-size:23px}.stat small{font-size:8px}.work-section{padding:15px 10px}.section-heading{align-items:flex-start}.section-heading h2{font-size:14px}.section-heading p{font-size:10px}.section-heading>span{font-size:8px;padding:6px}.toolbar{gap:7px}.toolbar select{font-size:9px}.search input{font-size:11px}.pagination{font-size:9px;gap:6px;flex-wrap:wrap}.pagination label{margin-left:0}.pagination>div{gap:7px}.table-note{font-size:9px;line-height:1.6}.week-toolbar{flex-direction:column;gap:12px}.week-toolbar label{font-size:9px;width:100%;justify-content:space-between}.week-rail>button{min-width:142px}.week-toolbar input{font-size:11px}.order-summary{padding:14px 0;gap:0}.order-summary>div{padding:0 10px}.order-summary strong{font-size:23px}.order-summary strong small{font-size:11px}.order-summary span{font-size:9px;line-height:1.6}.order-actions{display:grid}.order-actions>.primary{width:100%}.segmented button{flex:1;font-size:10px}.section-heading .secondary{font-size:9px;padding:8px;min-width:100px}.notice{font-size:10px;padding:12px;line-height:1.8}.notice strong{font-size:10px}.scope-note{font-size:10px;line-height:1.7}.undo-bar{font-size:10px;align-items:flex-start}.undo-bar button{font-size:10px;flex-shrink:0}.dialog-actions{flex-direction:column}.dialog-body{padding:18px}.color-table{min-width:570px}.kanban{grid-template-columns:repeat(6,245px)}}
@media print{@page{size:A4 portrait;margin:14mm}body{background:white!important;color:#222!important;font-family:Arial,sans-serif!important;font-size:10pt}#app,#detail,#notification{display:none!important}#print-report{display:block!important}#print-report h1{font-size:19pt}#print-report h2{font-size:12pt}#print-report>p{font-size:9pt;line-height:1.5}#print-report .table-scroll{overflow:visible;border:0}#print-report table{min-width:0;width:100%;font-size:9pt}#print-report th{font-size:8pt}#print-report th,#print-report td{padding:7px 8px}#print-report tr{break-inside:avoid}#print-report thead{display:table-header-group}#print-report .color-refs td{font-size:8pt;line-height:1.5;overflow-wrap:anywhere}#print-report i{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
@media(max-width:700px){
 .jobs-table,.jobs-table tbody{display:block;min-width:0;width:100%}.jobs-table thead{display:none}.jobs-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;padding:15px 12px;border-bottom:1px solid #eee3e7}.jobs-table tbody tr:last-child{border-bottom:0}.jobs-table td{padding:0!important;min-width:0!important;max-width:none!important;border:0!important;white-space:normal;text-align:left}.jobs-table td:first-child{grid-column:1;grid-row:1}.jobs-table .row-link span{font-size:10px}.jobs-table .row-link strong{font-size:12px}.jobs-table td:nth-child(2){grid-column:1/3;grid-row:2}.jobs-table td:nth-child(3),.jobs-table td:nth-child(5){display:none}.jobs-table td:nth-child(4){grid-column:1;grid-row:4;font-size:13px;align-self:center}.jobs-table td:nth-child(4)::after{content:' m²';font-size:10px;font-weight:400;color:#9a8390}.jobs-table td:nth-child(6){grid-column:1;grid-row:3;font-size:11px}.jobs-table td:nth-child(6)::before{content:'Expédition usine';display:block;font-size:9px;color:#9b8791;margin-bottom:7px}.jobs-table td:nth-child(7){grid-column:2;grid-row:3}.jobs-table td:nth-child(7)::before{content:'Retour peinture';display:block;font-size:9px;color:var(--brand);margin-bottom:5px}.jobs-table td:nth-child(8){grid-column:2;grid-row:1;text-align:right}.jobs-table td:nth-child(9){grid-column:2;grid-row:4;display:flex;align-items:center;gap:6px}.jobs-table td:nth-child(9)::after{content:'Commandée';font-size:10px;color:#8d7481}.jobs-table .return-field input{width:100%;max-width:155px;min-height:36px}.jobs-table .paint-cell{max-width:none;min-width:0;font-size:12px}.jobs-table .paint-cell small{font-size:10px}.jobs-table .status-select{width:110px;max-width:100%;min-height:34px;font-size:9px}.pagination>span{flex-basis:100%}.pagination>div{margin-left:auto}.comment-mark{display:none}
 .color-table{min-width:0;font-size:10px}.color-table th,.color-table td{padding:11px 8px}.color-table th:nth-child(2),.color-table td:nth-child(2),.color-table th:nth-child(3),.color-table td:nth-child(3){display:none}.color-table th{font-size:8px}.color-name{gap:7px}.color-name>i{width:22px;height:22px}.color-name strong{font-size:10px}.color-name small{font-size:8px}.color-table .color-refs td{padding:0 8px 11px}.color-table .num{font-size:10px}
}
