.content:has(>.boatday-page){padding-top:18px}
.boatday-page .page-head{align-items:center;margin-bottom:14px;gap:12px}
.boatday-page .eyebrow{display:none}.boatday-page h1{font-size:25px;line-height:1.3}
.boatday-page .subtitle{font-size:12px;margin-top:3px}
.boatday-page button{font-size:12px;padding:6px 10px}
.boatday-local-tabs{display:flex;align-items:center;gap:8px;margin:0 0 12px;border-bottom:1px solid var(--line);padding-bottom:8px}.boatday-local-tabs>span{font-weight:600;font-size:12px;padding:6px 10px;color:#37632c}.boatday-local-tabs>button{background:#fff}
.boatday-filters{display:grid;grid-template-columns:155px minmax(280px,1.5fr) minmax(180px,1fr);gap:10px;margin-bottom:10px;align-items:end}
.boatday-filters label{font-size:12px;min-width:0}.boatday-filters input,.boatday-filters select{padding:7px 9px;font-size:13px}
.boatday-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.boatday-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}
.boatday-summary>div{display:flex;gap:9px;align-items:baseline;padding:9px 12px;border-right:1px solid var(--line)}
.boatday-summary>div:last-child{border-right:0}.boatday-summary strong{font-size:24px;line-height:1.3}.boatday-summary span{font-size:12px}
.boatday-summary .boatday-done{background:#edf4e6}.boatday-summary .boatday-failed{background:#fff0ec}.boatday-summary .boatday-waiting{background:#fff7e7}
.boatday-hint{font-size:12px;color:var(--muted);margin:7px 0 12px}.boatday-page .notice{margin:9px 0;padding:9px 12px}
.boatday-groups{display:grid;gap:12px}.boatday-group{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}
.boatday-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#f0f4e9}
.boatday-group>header>div{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap}.boatday-group h2{font-size:15px;line-height:1.3}.boatday-group h2 small{font-size:11px;font-weight:400}
.boatday-group>header small{font-size:12px}.boatday-group>header p{font-size:11px;color:#53665d;text-align:right}
.boatday-table-wrap{overflow:auto}.boatday-group table{font-size:12px;min-width:820px;table-layout:fixed}
.boatday-group th{font-size:10px;padding:6px 10px;background:#fafbf7;white-space:normal;line-height:1.3}
.boatday-group th:nth-child(1){width:22%}.boatday-group th:nth-child(2){width:13%}.boatday-group th:nth-child(3){width:13%}.boatday-group th:nth-child(4){width:14%}.boatday-group th:nth-child(5){width:24%}.boatday-group th:nth-child(6){width:14%}
.boatday-group td{padding:8px 10px;min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.boatday-group td small,.boatday-group td>span{display:block}.boatday-group td small{font-size:11px;margin-top:2px}.boatday-status{font-weight:600}
.boatday-row.boatday-done .boatday-status{color:#37632c}.boatday-row.boatday-failed .boatday-status{color:var(--red)}.boatday-row.boatday-waiting .boatday-status,.boatday-row.boatday-transfer .boatday-status{color:#8b5f20}
.boatday-actions{display:flex;gap:5px;align-items:flex-start;flex-wrap:wrap}.boatday-actions button{padding:3px 7px;font-size:11px;white-space:normal}
.boatday-local.warn{color:#8b5f20}.boatday-local.bad{color:var(--red);font-weight:600}
.boatday-details{font-size:11px;margin-top:4px}.boatday-details summary{margin:0;color:var(--muted)}.boatday-details p{margin:5px 0}.boatday-details[open]{background:#f5f7f0;padding:5px 7px;border-radius:4px}
.boatday-empty{padding:12px;color:var(--muted);font-size:12px}.boatday-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.boatday-print-group{margin-top:7mm}.boatday-print-group h2{break-after:avoid}.boatday-print-group>p{font-size:9pt}
.boatday-print-table table{table-layout:fixed;width:100%}.paper .boatday-print-table th,.paper .boatday-print-table td{white-space:pre-line;word-break:normal;overflow-wrap:break-word}
.boatday-print-table th:nth-child(1){width:18%}.boatday-print-table th:nth-child(2){width:15%}.boatday-print-table th:nth-child(3){width:16%}.boatday-print-table th:nth-child(4){width:14%}.boatday-print-table th:nth-child(5){width:13%}.boatday-print-table th:nth-child(6){width:24%}
@media(max-width:1100px){.boatday-filters{grid-template-columns:145px minmax(250px,1fr)}.boatday-filters>label:last-child{grid-column:1/-1;max-width:370px}.boatday-group>header{align-items:flex-start}.boatday-group>header p{max-width:50%}}
@media(max-width:700px){.boatday-page .page-head{align-items:flex-start}.boatday-filters{grid-template-columns:1fr 1fr}.boatday-filters .boatday-day-filter{grid-column:1/-1;grid-row:2}.boatday-filters>label:last-child{grid-column:2;grid-row:1;max-width:none}.boatday-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.boatday-summary>div{border-bottom:1px solid var(--line)}.boatday-summary>div:nth-child(2){border-right:0}.boatday-summary>div:nth-child(n+3){border-bottom:0}.boatday-group>header{display:block}.boatday-group>header p{max-width:none;text-align:left;margin-top:4px}.boatday-toolbar .actions{gap:5px}.boatday-toolbar button{font-size:11px;padding:6px 7px}}

/* Direct entry keeps weight, time and unloading in separate columns. */
.boatday-group table{min-width:1080px}.boatday-group th:nth-child(1){width:19%}.boatday-group th:nth-child(2){width:13%}.boatday-group th:nth-child(3){width:11%}.boatday-group th:nth-child(4){width:8%}.boatday-group th:nth-child(5){width:8%}.boatday-group th:nth-child(6){width:12%}.boatday-group th:nth-child(7){width:14%}.boatday-group th:nth-child(8){width:15%}
.boatquick-row td{padding:7px 6px}.boatquick-field{font-size:10px;gap:2px;margin-bottom:5px;min-width:0}.boatquick-field input,.boatquick-field select{width:100%;min-width:0;padding:5px;font-size:12px;height:31px}.boatquick-field input[name=removed],.boatquick-field input[name=installed]{font-weight:700;font-size:14px}.boatquick-field input[name=removed]{border-left:3px solid #b56339}.boatquick-field input[name=installed]{border-left:3px solid #628d40}.boatquick-row input[type=time]{font-size:11px;padding:3px}.boatquick-row .boatday-status{font-size:11px;margin-bottom:5px}.boatquick-form{display:grid;gap:4px;margin-bottom:6px}.boatquick-form button{font-size:11px;padding:5px}.boatquick-dirty{font-size:11px;color:#8b5f20}.boatquick-error{font-size:11px;margin:0;white-space:normal}.boatquick-form [hidden]{display:none}
.boatquick-field select[name=operation]{font-weight:700}.boatday-page #boatquick-pending[hidden]{display:none}
.boatquick-field textarea{min-height:43px;max-height:120px;height:43px;padding:5px;font-size:12px;line-height:1.3}

.boatday-summary .boatday-review{background:#eef1fb}.boatday-row.boatday-review .boatday-status{color:#4b5485;font-weight:700}
