/* Fabrication components using the pinned Field palette and typography. */
.field-page-header{margin-bottom:22px}.field-shell .field-wordmark{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#747b85}.field-workspace-footer span{font-size:10px}
.field-shell .dashboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}.dashboard-summary a{padding:20px;background:white;border:1px solid #d8dee3;border-radius:8px}.dashboard-summary strong{display:block;font-size:28px;line-height:1.2}.dashboard-summary span{display:block;color:#68717d;font-size:12px;margin-top:7px}.dashboard-title{display:flex;align-items:center;justify-content:space-between;margin:24px 0 14px}.field-shell .dashboard-title h2{font-size:18px}.field-shell .project-card-link{display:block;color:inherit;transition:border-color .15s,box-shadow .15s;border:1px solid #d8dee3;border-radius:8px;padding:22px;background:#fff}.project-card-link:hover{border-color:var(--company-accent);box-shadow:0 4px 16px #0000000a}.project-card-link:focus-visible{outline:3px solid var(--company-accent);outline-offset:3px}.field-shell .project-card-link h3{font-size:19px;margin:14px 0 8px}.project-card-link .field-work-type{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.project-card-link .field-card-meta{margin:16px 0;color:#5f6670;font-size:12px;line-height:1.7}.project-card-hours{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #edf0f3;padding-top:16px}.project-card-hours span{font-size:11px;color:#747b85}.project-card-hours strong{display:block;font-size:19px;color:#1c1e22;margin-bottom:4px}.attention-row{display:flex;gap:12px;flex-direction:column;padding:16px;background:white;border-bottom:1px solid #edf0f3;font-size:12px}.attention-row span{color:#906425}
.field-shell .station-empty{display:block;padding:24px;font-size:13px;line-height:1.7;border:1px solid #e3e6eb;border-radius:8px;background:#fff}.station-empty p{margin:8px 0 14px}.station-dot{display:inline-block;width:10px;height:10px;border-radius:3px;flex-shrink:0;margin-right:8px}.full-width,.employee-options,.equipment-options{grid-column:1/-1}.form-grid textarea{width:100%;min-height:90px;resize:vertical;border:1px solid #d8dee3;border-radius:5px;padding:10px;font:inherit}.employee-options,.equipment-options{border:1px solid #e3e6eb;padding:16px;border-radius:6px;font-size:12px}.employee-options label{flex-direction:row;align-items:center;display:inline-flex;margin:8px 16px 8px 0}.equipment-options p{color:#68717d;font-size:12px;line-height:1.5;margin-top:12px}.equipment-row{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;margin-bottom:14px;align-items:end}.management-form input[type=color]{max-width:80px}.management-panel>details>summary{padding:12px 0;font-size:13px}.field-shell button{cursor:pointer}.field-shell button:disabled{cursor:not-allowed;opacity:.5}.management-panel button:not(.field-create-button):not(.field-text-action):not(.field-action){padding:9px 12px;border:1px solid #d8dee3;border-radius:5px;background:white;color:#343941;font-size:12px}.project-tracker{background:#fff;border:1px solid #d8dee3}.project-tracker th{padding:15px 12px}.project-tracker>tbody>tr>td{padding:18px 12px}.project-tracker tr[data-project-detail]>td{background:#f7f9fb;padding:20px}.project-tracker h3{margin:16px 0 10px}.project-tracker tr[hidden]{display:none}
.timeline-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}.timeline-period,.timeline-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timeline-period strong{font-size:15px;margin:0 6px}.field-shell .timeline-toolbar button,.field-shell .timeline-footer button{padding:9px 12px;min-height:40px;background:white;border:1px solid #d8dee3;border-radius:5px;font-size:12px;color:#343941}.timeline-options input[type=date]{width:144px;min-width:0;height:40px;border:1px solid #d8dee3;border-radius:5px;padding:6px;background:white;font-size:13px;color:#343941}.weekend-toggle{display:flex;align-items:center;gap:6px;font-size:12px;color:#5f6670}.field-shell .calendar-instructions{font-size:12px;color:#68717d;margin:10px 0 16px}.timeline-scroll{overflow:auto;max-height:70vh;background:white;border:1px solid #d8dee3;border-radius:8px;overscroll-behavior-x:contain}.timeline-grid{display:grid;grid-template-columns:180px repeat(var(--day-count),minmax(520px,1fr));min-width:100%;width:max-content}.timeline-label{position:sticky;left:0;background:white;z-index:3;padding:18px 14px;display:flex;align-items:center;border-right:1px solid #d8dee3;border-bottom:1px solid #e3e6eb;font-size:12px;font-weight:600;width:180px;line-height:1.5}.timeline-corner{z-index:5;background:#f6f8fa;top:0}.timeline-date{position:sticky;top:0;z-index:4;background:#f6f8fa;border-right:1px solid #d8dee3;border-bottom:1px solid #d8dee3;min-height:75px;padding-top:13px;overflow:hidden}.timeline-date>strong{font-size:12px;padding-left:10px}.timeline-date.is-today>strong{color:var(--company-accent)}.hour-scale{position:relative;height:30px;margin-top:9px}.hour-scale span{position:absolute;font-size:10px;color:#747b85;padding-left:6px;border-left:1px solid #d8dee3;height:30px}.timeline-lane{height:100px;position:relative;border-right:1px solid #cfd6df;border-bottom:1px solid #e3e6eb;background:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--tick) - 1px),#edf0f3 calc(var(--tick) - 1px),#edf0f3 var(--tick))}.timeline-break{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(135deg,#e6e9ee90 0,#e6e9ee90 2px,#f4f5f7 2px,#f4f5f7 6px);pointer-events:none}.field-shell .gantt-bar{position:absolute;top:21px;height:58px;border:3px solid white;border-radius:7px;background:var(--station-color,#3866a6);color:white;padding:8px 7px;overflow:hidden;display:block;font-size:10px;white-space:nowrap;cursor:grab;text-decoration:none;min-width:4px;box-shadow:0 1px 3px #0001}.gantt-bar strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis}.gantt-bar span{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.gantt-bar.is-held{background-image:repeating-linear-gradient(135deg,transparent 0,transparent 6px,#ffffff20 6px,#ffffff20 10px)}.gantt-bar:focus-visible{outline:3px solid #1c1e22;z-index:3}.timeline-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 20px;font-size:11px;color:#68717d}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.move-dialog{width:min(660px,calc(100vw - 28px));max-height:85vh;border:1px solid #d8dee3;border-radius:10px;padding:24px;color:#1c1e22;font:14px Arial,sans-serif;overflow:auto;margin:auto}.move-dialog::backdrop{background:#1c1e2280}.move-dialog h2{margin:0 0 12px;font-size:21px}.move-dialog p{font-size:13px;line-height:1.6}.move-dialog button{padding:10px 14px;background:white;border:1px solid #cfd6df;border-radius:5px;cursor:pointer}.move-dialog [data-confirm-move]{background:var(--company-accent);color:white;border-color:var(--company-accent)}.move-preview article{border-top:1px solid #d8dee3;padding:12px 0}.move-preview{margin:16px 0}.move-dialog [hidden]{display:none}
@media(max-width:800px){.field-page-header{margin-bottom:18px}.field-card-grid{grid-template-columns:1fr}.dashboard-summary a{padding:14px 10px}.dashboard-summary strong{font-size:22px}.dashboard-summary span{font-size:10px}.field-shell .dashboard-summary{gap:8px;margin-bottom:22px}.field-shell .project-card-link{padding:18px}.timeline-toolbar{gap:12px}.timeline-period{width:100%;justify-content:space-between;flex-wrap:nowrap;gap:3px}.timeline-period strong{font-size:13px;margin:0}.timeline-options{gap:8px;width:100%}.timeline-options input[type=date]{font-size:16px;width:145px}.timeline-grid{grid-template-columns:116px repeat(var(--day-count),minmax(500px,1fr))}.timeline-label{width:116px;padding:12px 8px;font-size:11px}.timeline-footer{align-items:flex-start}.timeline-footer>span{max-width:210px;line-height:1.6}.equipment-row{grid-template-columns:1fr}.move-dialog{padding:18px}.project-tabs{margin-bottom:18px}.management-card-heading{flex-wrap:wrap}.field-shell .station-empty a{white-space:normal}}
@media print{.timeline-toolbar,.timeline-footer,.calendar-instructions,.dashboard-summary,.dashboard-title>a{display:none!important}.timeline-scroll{max-height:none;overflow:visible}.timeline-grid{width:100%;grid-template-columns:110px repeat(var(--day-count),minmax(0,1fr))}.timeline-label{width:110px;position:static}.timeline-date{position:static}.gantt-bar{print-color-adjust:exact;-webkit-print-color-adjust:exact}.gantt-bar:after{content:none!important}.field-shell .assignment-table .field-text-action{display:inline!important;border:0;padding:0;background:none;color:inherit;font-size:inherit;text-align:left}.assignment-table a:after{content:none}.assignment-table .write-space{height:70px}.project-card-link:after{content:none!important}}

/* Recovery remains in the editing context. */
.save-recovery-dialog{box-sizing:border-box;width:min(570px,calc(100vw - 32px));padding:28px;border:1px solid #d8dee3;border-radius:12px;margin:auto;font:14px/1.6 Arial,sans-serif;color:#242930;max-height:85vh;overflow:auto}
.save-recovery-dialog h2{font-size:22px;margin:0 0 12px}.save-recovery-dialog p{margin:0 0 20px}.save-recovery-dialog::backdrop{background:#15212c88}
.save-recovery-dialog .cloud-status-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.save-recovery-dialog button{margin:0;min-height:44px;width:100%;padding:10px;border:1px solid #d8dee3;border-radius:5px;font:inherit}.save-recovery-dialog button:first-child{grid-column:1/-1;background:var(--company-accent);color:white}.save-recovery-dialog button:not(:first-child){background:#f6f8fa;color:#242930}
.monthly-production>p{font-size:12px;line-height:1.6;margin:12px 0}.month-scroll{overflow:auto;border:1px solid #d8dee3;border-radius:8px;background:white;max-height:75vh}.month-grid{min-width:100%;width:max-content}.month-row{display:grid;grid-template-columns:230px repeat(var(--month-days),minmax(32px,1fr));min-height:48px}.month-row>span,.month-row>a{border-right:1px solid #edf0f3;border-bottom:1px solid #d8dee3}.month-label{position:sticky;left:0;z-index:2;background:white;padding:10px 12px;font-size:12px;white-space:normal;width:230px;box-sizing:border-box;line-height:1.4}.month-label small{display:block;font-size:10px;color:#66717d;margin-top:4px}.month-cell{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:32px;font-size:11px;color:#8a929b}.month-cell.has-work{background:#f7e1ec;color:#82003a;font-weight:700}.month-cell.is-held{background:repeating-linear-gradient(135deg,#f6e6d0 0,#f6e6d0 5px,#fff4e5 5px,#fff4e5 10px);color:#70480f}.month-cell.is-due{box-shadow:inset 0 -3px var(--company-accent)}.month-cell small{font-size:9px;margin-bottom:4px}.month-head{position:sticky;top:0;z-index:4;background:#f6f8fa;font-weight:700}.month-head .month-label{background:#f6f8fa}.month-project>summary,.month-operation>summary{cursor:pointer;list-style:none}.month-project>summary .month-label:before,.month-operation>summary .month-label:before{content:'▸ ';color:var(--company-accent)}.month-project[open]>summary .month-label:before,.month-operation[open]>summary .month-label:before{content:'▾ '}.month-operation .month-label{padding-left:24px}.month-operation>.month-row:not(summary) .month-label{padding-left:36px;background:#fafbfc}.month-open{display:block;padding:10px 12px;font-size:12px}.month-empty{padding:20px}.shop-print{display:none}
@media(max-width:600px){.save-recovery-dialog{padding:20px}.month-row{grid-template-columns:160px repeat(var(--month-days),32px)}.month-label{width:160px}}
@media print{
 @page{size:landscape;margin:12mm}
 body:has(.shop-print) .field-page-header,body:has(.shop-print) .assignment-screen,body:has(.shop-print) .mobile-header,body:has(.shop-print) .field-sidebar,body:has(.shop-print) #message,body:has(.shop-print) iframe{display:none!important}
 .shop-print{display:block!important;font:10pt/1.35 Arial,sans-serif;color:#000}.shop-print>header{margin-bottom:5mm}.shop-print h1{font-size:17pt!important;margin:0}.shop-print h2{font-size:14pt!important;margin:4mm 0}.shop-print h3{font-size:12pt!important;margin:0}.traveler-station{break-before:page}.traveler-station:first-of-type{break-before:auto}.traveler{border:1px solid #777;padding:5mm;margin:0 0 5mm;break-inside:avoid}.traveler header{display:flex;justify-content:space-between;gap:12px}.traveler dl{display:grid;grid-template-columns:1fr 1fr;gap:2mm 8mm;margin:3mm 0}.traveler dl>div{display:grid;grid-template-columns:36mm 1fr}.traveler dt{font-weight:bold}.traveler dd{margin:0}.traveler p{margin:3mm 0!important;font-size:10pt!important}.traveler-hold{border:2px solid #000;padding:2mm;font-weight:bold}.traveler-log th{font-size:9pt;color:#000}.traveler-log td{height:10mm;min-width:0;border:1px solid #999}.write-line{height:7mm;border-bottom:1px solid #aaa}.traveler footer{font-size:7pt;color:#555;overflow-wrap:anywhere}.shop-print a[href]:after{content:none!important}
}

/* Gantt spans preserve the exact daily capacity bookings. */
.month-cell{position:relative;isolation:isolate}.month-cell.gantt-span:before{content:"";position:absolute;left:0;right:0;height:22px;background:#efd2df;z-index:-1}.month-cell.has-work{background:transparent}.month-cell.has-work:before{background:#a60049}.month-cell.has-work .month-hours{color:white;font-weight:700}.month-cell.span-start:before{border-radius:5px 0 0 5px;left:2px}.month-cell.span-end:before{border-radius:0 5px 5px 0;right:2px}.month-cell.is-held{background:transparent}.month-cell.is-held:before{background:repeating-linear-gradient(135deg,#885700 0,#885700 5px,#af780f 5px,#af780f 10px)}.month-cell.is-due b{position:absolute;bottom:1px;color:#a60049}.month-project>summary .gantt-span:before{height:8px;background:#394b5e}.month-project>summary .month-hours{visibility:hidden}.month-milestone .month-label{padding-left:24px}.project-archive-note{padding:12px;background:#fff4dc}.project-create-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
