/* Accueil dédié et vues de travail compactes. */
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px}.text-button,.quiet-button{background:transparent;color:var(--brand);font-size:11px;font-weight:600;line-height:1.5}.recent-list>div{display:flex;align-items:center;gap:14px;padding:17px 0;border-top:1px solid #eee6e8}.recent-list>div>button:first-child{display:grid;gap:6px;flex:1;min-width:0;background:none;padding:0;text-align:left;color:#59424d}.recent-list strong{font-size:12px}.recent-list small{font-size:10px;color:#a18994}.recent-list>div>span{font-size:11px;color:#8f747e;white-space:nowrap}.recent-list .quiet-button{min-width:75px;padding:7px 8px;border-radius:5px;background:#f8eef1;font-size:10px}.upcoming-weeks>button{display:flex;width:100%;align-items:center;gap:16px;text-align:left;background:transparent;border-top:1px solid #eee6e8;padding:16px 0;color:#6e5360}.upcoming-weeks>button span{display:grid;gap:5px}.upcoming-weeks>button span:nth-child(2){margin-left:auto;text-align:right}.upcoming-weeks strong{font-size:13px}.upcoming-weeks b{font-size:11px}.upcoming-weeks small{font-size:10px;color:#a58a96}.upcoming-weeks svg{width:16px}.dashboard-attention{background:#faf6f3;border-radius:8px;padding:16px;margin-top:15px}.dashboard-attention h3{font-size:11px;color:#866676;margin:0 0 12px}.dashboard-attention>button{display:flex;justify-content:space-between;width:100%;padding:8px 0;background:transparent;color:#967b87;font-size:11px}.dashboard-attention b{color:#735060}.jobs-table.intake-table{min-width:880px}.jobs-table.planning-table{min-width:1170px}.jobs-table td:first-child{min-width:165px;max-width:195px}.jobs-table td,.jobs-table th{padding-left:8px;padding-right:8px}.jobs-table .paint-cell{min-width:115px;max-width:160px;font-size:10px}.row-link strong{font-size:11px;line-height:1.55}.row-link span{font-size:9px;color:#a28a96}.shipping-week{display:block;font-size:10px;font-weight:500}.shipping-date{display:block;font-size:9px;color:#a18994;margin-top:5px}.progress-cell{min-width:274px}.progress-checks{position:relative;min-width:260px;max-width:320px;padding:4px 2px}.progress-track{height:3px;background:#ece2e6;border-radius:5px;margin:6px 21px 0;position:absolute;top:9px;left:0;right:0}.progress-track>span{display:block;height:100%;background:#96214c;border-radius:5px;transition:width .2s}.milestones{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;z-index:1}.milestones>label{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:8px;color:#aa8d9a;cursor:pointer;white-space:nowrap}.milestones input{margin:0;width:19px;height:19px;accent-color:var(--brand);cursor:pointer;background:white;box-shadow:0 0 0 4px white}.milestones label.done{color:var(--brand);font-weight:600}.jobs-table tbody tr:hover .milestones input{box-shadow:0 0 0 4px #fcf9f8}.color-refs details>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.color-refs button{text-align:left;display:grid;gap:5px;padding:9px 12px}.color-refs button strong{font-size:10px;font-weight:600;line-height:1.5}.color-refs button small{font-size:9px;color:#a78997}.layout-switch{width:fit-content;margin-top:22px}.color-job-groups{display:grid;gap:18px}.color-job-group{border:1px solid #e7dce1;border-radius:9px;overflow:hidden}.color-job-group>header{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#faf6f4;padding:14px 17px}.color-job-group>header>span{font-size:11px;color:#927582}.color-job-group>header b{color:var(--brand)}.color-job-group .table-scroll{border:0;border-radius:0}.grouped-jobs{border-collapse:collapse;width:100%;min-width:650px;font-size:11px;text-align:left}.grouped-jobs th{font-size:9px;color:#a28b96;font-weight:500;padding:10px 16px;border-bottom:1px solid #eee5e8}.grouped-jobs td{padding:11px 16px;border-top:1px solid #f0e8eb;color:#836372}.grouped-jobs button{background:transparent;padding:0;text-align:left;color:var(--brand);display:grid;gap:5px}.grouped-jobs strong{font-size:11px}.grouped-jobs small{font-size:9px;color:#ac929d;display:block;margin-top:4px}.grouped-jobs input{width:16px;height:16px;accent-color:var(--brand)}.kanban{grid-template-columns:repeat(6,minmax(165px,1fr));gap:10px}.kanban-column{padding:8px;border:1px solid transparent;transition:background .15s;min-height:280px}.kanban-column .column-heading{margin-bottom:12px;padding:4px 3px 9px;border-bottom:1px solid #e5dadf}.kanban-column h3{margin:0 0 9px;font-size:10px;gap:6px}.column-area{font-size:9px;color:#a08994;line-height:1.5}.column-area strong{font-size:18px;color:#755363;font-weight:600}.column-cards{gap:7px}.slim-card.job-card{padding:8px 9px;border-radius:7px;cursor:grab;min-height:0;border-color:#e8dfe2}.slim-card:active{cursor:grabbing}.slim-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.slim-top .reference{font-size:8px;letter-spacing:.3px}.drag-handle{padding:0;background:transparent;color:#b297a5;font-size:20px;line-height:18px;width:23px;height:23px;cursor:grab;touch-action:none}.drag-handle:hover{background:#f6eef1;color:var(--brand);border-radius:4px}.slim-card .job-title{font-size:11px;line-height:1.4;letter-spacing:-.1px;margin:3px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.slim-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.slim-paint{display:flex;gap:5px;align-items:center;min-width:0;font-size:8px;line-height:1.5;color:#947986}.slim-paint .swatches{gap:1px}.slim-paint .swatches i{width:7px;height:12px;border-radius:2px}.slim-bottom>strong{font-size:10px;color:#70505f;white-space:nowrap}.slim-return{display:block;font-size:8px;color:#b197a4;margin-top:7px}.slim-card.dragging{opacity:.35}.kanban-column.drop-target{border:1px dashed var(--brand);background:#f1e0e7;box-shadow:inset 0 0 0 1px #830a2c15}.column-empty{padding:30px 6px;font-size:9px;border:1px dashed #dfd2d8;border-radius:6px;line-height:1.8}.work-section:has(.kanban){padding:17px}.work-section:has(.kanban) .week-rail{margin-bottom:14px}.work-section:has(.kanban) .toolbar{margin-bottom:15px}
@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr}.kanban{grid-template-columns:repeat(6,minmax(165px,1fr))}}
@media screen and (max-width:700px){.dashboard-grid{gap:14px}.recent-list>div{gap:8px;padding:14px 0}.recent-list strong{font-size:11px}.recent-list small{font-size:9px;line-height:1.6}.recent-list .quiet-button{font-size:9px;min-width:64px}.recent-list>div>span{display:none}.text-button{font-size:9px}.upcoming-weeks strong{font-size:12px}.dashboard-attention{padding:13px}.jobs-table.intake-table,.jobs-table.planning-table{min-width:0}.jobs-table td:first-child{grid-column:1/3;grid-row:1}.jobs-table td:nth-child(2){grid-column:1/3;grid-row:2}.jobs-table td:nth-child(3){display:block;grid-column:1;grid-row:3;font-size:12px}.jobs-table td:nth-child(3)::after{content:' ouvertures';font-size:10px;color:#9a8390}.jobs-table td:nth-child(4){grid-column:2;grid-row:3}.jobs-table td:nth-child(5){display:block;grid-column:1;grid-row:4;font-size:11px}.jobs-table td:nth-child(5)::before{content:'Production';display:block;font-size:9px;color:#9b8791;margin-bottom:7px}.jobs-table td:nth-child(6){grid-column:2;grid-row:4}.jobs-table td:nth-child(7){grid-column:1/3;grid-row:5}.jobs-table td:nth-child(8){grid-column:1/3;grid-row:6;text-align:left;min-width:0}.jobs-table td:nth-child(9){grid-column:1/3;grid-row:7}.jobs-table .paint-cell{max-width:none}.jobs-table .return-field input{width:175px;max-width:100%}.progress-checks{min-width:0;max-width:none;margin:10px 0 3px}.milestones label{font-size:8px}.milestones input{width:22px;height:22px}.progress-track{top:10px}.color-refs details>div{grid-template-columns:1fr}.layout-switch{width:100%}.layout-switch button{font-size:9px}.grouped-jobs{min-width:0;font-size:10px}.grouped-jobs th,.grouped-jobs td{padding:10px 8px}.grouped-jobs th:nth-child(2),.grouped-jobs td:nth-child(2),.grouped-jobs th:nth-child(4),.grouped-jobs td:nth-child(4){display:none}.grouped-jobs strong{font-size:10px}.grouped-jobs small{font-size:8px}.color-job-group>header{padding:12px 10px;gap:8px}.color-job-group>header>span{font-size:9px}.color-job-group .color-name small{font-size:8px}.kanban{grid-template-columns:repeat(6,190px);gap:8px}.slim-card .job-title{font-size:12px}.slim-card{padding:9px!important}.slim-top .reference{font-size:9px}.slim-bottom>strong{font-size:11px}.slim-paint{font-size:9px}.slim-return{font-size:9px}.drag-handle{width:27px;height:27px}.work-section:has(.kanban){padding:14px 9px}}
@media print{.color-job-groups{display:block}.color-job-group{margin:12px 0;overflow:visible;border:0}.color-job-group>header{break-after:avoid;padding:8px 0}.grouped-jobs{min-width:0!important;font-size:9pt}.grouped-jobs th,.grouped-jobs td{display:table-cell!important;padding:7px 8px}.grouped-jobs tr{break-inside:avoid}.grouped-jobs strong{font-size:9pt}.grouped-jobs small{font-size:8pt}}

.planning-view-switch{display:flex;justify-content:flex-end;margin:0 0 18px}.planning-view-switch button{display:flex;align-items:center;gap:7px}.planning-view-switch svg{width:16px;height:16px}

.planning-view-switch{gap:12px;flex-wrap:wrap}
