.line-date{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 12px}.line-date label{display:flex;align-items:center;gap:12px;font-weight:600}.line-date input{padding:9px;border:1px solid #ccddee;border-radius:7px;background:white}.line-entry-table{width:100%;table-layout:fixed}.line-entry-table th:first-child{width:11%}.line-entry-table th:nth-child(3){width:30%}.line-entry-table th:last-child{width:16%}.line-entry-table input,.line-entry-table select{width:100%;min-width:0;padding:9px;border:1px solid #c9dced;border-radius:6px;background:#fff;color:#133d6c;font:inherit;min-height:40px}.line-entry-table input:focus{outline:2px solid #3982c4;outline-offset:1px}.line-entry-table small{display:block;font-size:11px;color:#58718d;line-height:1.5;margin-top:5px}.line-entry-table select{margin-bottom:6px}.line-entry-table td{padding:12px 10px;vertical-align:top}.line-entry-table .is-dirty{background:#fffbeb}.line-entry-table td .btn{margin:0 4px 6px 0}.line-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.line-totals>div{padding:16px;background:#eef5fc;border-radius:8px}.line-totals small{display:block;color:#56718f}.line-totals strong{display:block;font-size:22px;margin-top:8px;color:#143f6b}.line-receipts>summary{cursor:pointer;padding:8px 0;font-weight:700;font-size:16px}.line-receipts[open]>summary{margin-bottom:18px}.line-report-dialog.wide{max-width:1250px;width:calc(100% - 32px)}.line-report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.line-export{padding:16px 0;border-bottom:1px solid #d9e5f1}.line-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.line-chart{padding:16px;background:#f8fbff;border:1px solid #d8e5f2;border-radius:8px;margin:12px 0}.line-chart h3{font-size:14px;margin:0 0 16px}.line-bar{display:grid;grid-template-columns:58px minmax(20px,1fr) 120px;gap:10px;align-items:center;margin:11px 0;font-size:12px}.line-bar>div{background:#e6eff8;height:13px;border-radius:3px;overflow:hidden}.line-bar i{display:block;height:100%;background:#317bc1;border-radius:3px}.line-bar strong{text-align:right;font-size:12px}.line-chart svg{width:100%;height:auto;max-height:270px;font-size:11px;fill:#58718d}.line-legend{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;font-size:12px}.line-daily-panel>.actions{flex-wrap:wrap}@media(max-width:950px){.line-entry-table th:last-child{width:14%}.line-entry-table td{padding:10px 6px}.line-entry-table th{padding:10px 6px}.line-charts{grid-template-columns:1fr}.line-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.line-totals strong{font-size:19px}.line-receipts .page-heading{flex-direction:column}}@media(max-width:620px){.line-entry-table{min-width:590px}.line-totals{grid-template-columns:1fr}.line-report-filters{grid-template-columns:1fr}.line-bar{grid-template-columns:55px minmax(20px,1fr) 110px}}

@media(min-width:700px){.line-entry-table td:nth-child(3)>select,.line-entry-table td:nth-child(3)>select+input{width:calc(50% - 4px);display:inline-block}.line-entry-table td:nth-child(3)>select{margin-right:8px;padding-left:5px;padding-right:2px}.line-entry-table td:nth-child(3)>small:first-child{margin:0 0 4px}}

@media(max-width:950px){.app-shell:is(:has(.line-daily-panel),:has(#downtime-filter)) .sidebar{transform:translateX(-100%);width:232px}.app-shell:is(:has(.line-daily-panel),:has(#downtime-filter)) .sidebar.open{transform:translateX(0)}.app-shell:is(:has(.line-daily-panel),:has(#downtime-filter)) .main-shell{margin-left:0;width:100%}.app-shell:is(:has(.line-daily-panel),:has(#downtime-filter)) .mobile-menu{display:inline-grid}.app-shell:is(:has(.line-daily-panel),:has(#downtime-filter)) .page{padding:24px 18px}.line-entry-table .btn.small{min-height:36px}}

.line-entry-table th:nth-child(3){width:28%}.line-entry-table th:nth-child(4){width:28%}.line-defect-fields{display:grid;grid-template-columns:1fr;gap:8px}.line-defect-fields.rods{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.line-defect-fields label{min-width:0}.line-defect-fields label>span{display:block;font-size:11px;font-weight:600;min-height:34px;color:#58718d}.line-defect-fields label>span small{display:inline;font-weight:400}.line-defect-fields [hidden]{display:none}

.shift-overview{background:#fff;border:1px solid #E2E8F0;border-radius:10px;padding:20px 24px;margin:16px 0}.shift-overview>div{display:flex;flex-direction:column;gap:6px}.shift-overview strong{font-size:34px;color:#163A63;font-variant-numeric:tabular-nums}.shift-overview strong span{font-size:18px}.shift-overview small{letter-spacing:.06em;color:#64748B}.shift-hourly .line-bar{grid-template-columns:100px minmax(30px,1fr) 130px}

.report-time-fields{display:contents}.report-time-fields [data-time-custom]{display:contents}.report-time-fields [hidden],.line-report-filters [hidden]{display:none!important}.time-rule{grid-column:1/-1}.line-report-filters [data-time-dates]{display:contents}.shift-hourly:has(.line-bar) .line-bar{grid-template-columns:190px minmax(30px,1fr) 130px}@media(max-width:620px){.shift-hourly:has(.line-bar) .line-bar{grid-template-columns:135px minmax(20px,1fr) 85px}.shift-hourly .line-bar{font-size:11px}}
.report-lines{grid-column:1/-1;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;margin:0}.report-lines legend{color:#163a63;font-size:12px;padding:0 5px}.report-lines .actions{flex-wrap:wrap;gap:12px}.report-lines .check{margin:0}

#page.time-pending>section:not(:has(form)):not(:has([data-page-report-time])),#page.time-pending>details,#page.time-pending>.stats,#page.time-pending>.grid-equal,#page.time-pending>.shift-overview,#page.time-pending>.page-footer,#page.time-pending .page-heading a[href^='/api/export'],#page.time-pending .heading a[href^='/api/export']{display:none!important}
#page.time-pending a[href^='/api/export']{pointer-events:none;opacity:.35}

.report-date-steps{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.report-date-steps .btn{flex:1;white-space:nowrap}.line-report-filters [data-time-anchor]{min-width:0}.line-report-filters input[type="date"],.line-report-filters input[type="datetime-local"]{width:100%;min-width:0;min-height:42px;color:#1e293b;color-scheme:light}.line-report-filters [data-time-custom] .field{grid-column:span 1}.report-time-preview{grid-column:1/-1;display:block;background:#f5f7fa;border:1px solid #e2e8f0;border-radius:7px;padding:10px 12px;color:#163a63;font-size:13px}.line-report-filters [data-time-custom] .field small{line-height:1.5}.line-report-filters [data-time-anchor][hidden]{display:none!important}
