
:root{font-family:Arial,system-ui,sans-serif;font-size:13px;color:#243e4d;background:#edf2f5;color-scheme:light}*{box-sizing:border-box}body{margin:0}header{height:64px;background:#79aabd;color:#fff;border-bottom:3px solid #4c91ad;display:flex;align-items:center;justify-content:space-between;padding:10px 22px;gap:20px}header>div:first-child{display:flex;align-items:center;gap:20px}small{font-size:12px;font-weight:700;letter-spacing:1px;color:#e3f3fa}h1{font-size:21px;font-weight:500;margin:0;padding-left:20px;border-left:1px solid #aed0dd}.access{display:flex;gap:16px;align-items:center}.access p{color:#fff;font-size:12px}main{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;max-width:1900px;margin:auto;padding:14px}main> :not(.tabs){grid-column:2}.tabs{grid-column:1;grid-row:1/20;display:flex;flex-direction:column;gap:4px;padding:8px;background:#fff;border:1px solid #bdced8;align-self:start;position:sticky;top:14px;min-height:230px}.tabs:before{content:'УПРАВЛЕНИЕ';padding:12px 10px;font-size:11px;color:#7b919e;letter-spacing:1px}.tabs button{text-align:left;background:#fff;color:#436171;border:0;border-radius:0;padding:14px 10px;font-size:14px}.tabs button[aria-pressed=true]{background:#e4f1f7;color:#00658a;border-left:3px solid #08799e;padding-left:7px}.tabs button:hover{background:#edf5f8}[hidden]{display:none!important}#notice{margin:0;padding:9px 13px;background:#e0edf4;border:1px solid #c4dbe7;color:#466a7d;font-size:12px;min-height:33px}.stats{display:flex;gap:12px}.stats article{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:12px 16px;border:1px solid #c5d4dc;background:#fff;min-width:170px}.stats span{color:#6b838f;font-size:12px}.stats strong{font-size:23px;font-weight:500;color:#147a9a}section{padding:16px;background:#fff;border:1px solid #bfd0da;min-width:0}h2{font-size:17px;color:#315d72;font-weight:500;margin:0 0 12px}h3{font-size:14px;font-weight:600;margin:16px 0 8px}p{line-height:1.55;color:#748894;margin:8px 0 12px;font-size:12px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}.section-head h2{margin-bottom:6px}.section-head p{margin:0}.inline{display:flex;gap:10px;align-items:end;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#57717f}input,select{font:inherit;color:#244656;padding:7px 9px;background:#fff;border:1px solid #b9c8d0;border-radius:2px;max-width:100%;height:32px}input:focus,select:focus,button:focus-visible,tr:focus-visible{outline:2px solid #77b8d2;outline-offset:1px}input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#087b9c}.check{display:flex;flex-direction:row;align-items:center;gap:8px;padding:6px 0}button{font:inherit;border:1px solid #087291;background:#087b9c;color:#fff;border-radius:2px;padding:7px 12px;min-height:32px;cursor:pointer;white-space:nowrap}button.secondary{background:#edf3f6;color:#38637a;border-color:#c5d7df}button:hover{filter:brightness(.96)}button:disabled,input:disabled,select:disabled{opacity:.55;cursor:not-allowed}.receiver-filters{display:flex;gap:12px;justify-content:flex-end;padding:9px 0;border-top:1px solid #dce6ec}.receiver-filters label{flex-direction:row;align-items:center}.receiver-filters input{width:260px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;padding:10px;border:1px solid #d4dfe6;overflow-wrap:anywhere;max-width:420px}th{background:#edf4f7;color:#688391;font-weight:500;white-space:nowrap}tbody tr:nth-child(even){background:#f7f9fb}tbody tr:hover{background:#eaf3f8}.receiver-table{min-width:1080px}.receiver-table h3{font-size:13px;margin:0 0 8px;color:#264f65}.receiver-table td{vertical-align:middle}.receiver-table td:nth-child(5){min-width:120px}.receiver-table .objects{min-width:150px}.row-actions{white-space:nowrap;min-width:280px}.row-actions button{padding:6px 9px;font-size:12px;margin:2px}.badge{display:inline-block;font-size:11px;border-radius:12px;padding:4px 8px;line-height:1.4}.running{background:#e5f4e8;color:#3c8653}.paused{background:#fff1d8;color:#9a742f}details{margin-top:16px}summary{cursor:pointer;color:#39758f;padding:7px 0}.pagination{margin:12px 0}.hint{font-size:11px;color:#758d9a}dialog{width:min(1440px,96vw);max-height:94vh;overflow:auto;border:1px solid #087b9c;border-radius:0;padding:0;color:#244656;background:#fff;box-shadow:0 10px 40px #153f5c40}dialog::backdrop{background:#12384b50}dialog form>.section-head{background:#086885;color:#fff;margin:0;padding:8px 14px;min-height:42px}dialog .section-head h2{color:#fff;font-size:15px;margin:0}dialog .section-head button{background:transparent;border:0;color:#dceff7;min-height:24px;padding:2px 8px}dialog form>p,dialog form>.check{margin:10px 18px}dialog form>.check{padding:4px 0}.fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px;padding:8px 18px}.fields label:not(.check){display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:8px}.fields input,.fields select{width:100%}.object-transfer{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:0;margin:14px 14px 8px}.object-pane{border:1px solid #70a9c1;min-width:0;background:#fff}.pane-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px;background:#edf5f8;border-bottom:1px solid #b9d0dc}.pane-head strong{font-size:12px;color:#355c70;white-space:nowrap}.pane-head input{width:190px;height:28px;min-width:80px;font-size:12px}.object-table{height:340px;margin:0}.object-table th{position:sticky;top:0;z-index:1;background:#edf5f8}.object-table th,.object-table td{padding:9px 8px}.object-table td:first-child{width:32px}.object-table td:nth-child(3),.object-table td:nth-child(4){white-space:nowrap;font-family:Consolas,monospace}.object-table .picker-row{cursor:pointer}.picker-row[aria-selected=true]{background:#d4eaf6!important}.transfer-buttons{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px}.transfer-buttons button{font-size:22px;font-weight:700;line-height:20px;width:28px;min-height:28px;padding:2px;background:#157b9b}.empty{color:#8a9ea9;padding:24px!important}.dialog-footer{display:flex;gap:8px;justify-content:flex-end;padding:10px 16px;background:#edf5f8;border-top:1px solid #b9d0dc;position:sticky;bottom:0}#packet-trace td:last-child{font-family:Consolas,monospace;white-space:pre-wrap;min-width:320px;max-width:680px}#job-content{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f6f8;padding:14px}#device-search{max-width:350px}#devices{margin-top:14px}#queue-actions{margin-bottom:18px}#diagnostics{margin-bottom:20px}@media(max-width:1100px){.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pane-head{align-items:start;flex-direction:column}.pane-head input{width:100%}.stats article{min-width:0;flex:1}.object-table{height:300px}}@media(max-width:700px){header{height:auto;min-height:60px;padding:10px 12px}header>div:first-child{gap:8px}small{display:none}h1{font-size:18px;padding-left:0;border:0}.access p{display:none}main{display:block;padding:8px}main>*{margin-bottom:10px}.tabs{position:static;min-height:0;flex-direction:row;padding:3px;gap:2px}.tabs:before{display:none}.tabs button{font-size:12px;padding:9px!important;border:0!important}.stats{gap:6px}.stats article{padding:9px;gap:8px}.stats strong{font-size:20px}.stats span{font-size:10px}section{padding:10px}.fields{grid-template-columns:1fr;padding:8px 12px}.fields label:not(.check){grid-template-columns:115px 1fr}.object-transfer{grid-template-columns:1fr;margin:10px}.transfer-buttons{flex-direction:row;padding:8px}.object-table{height:220px}.pane-head{flex-direction:row;align-items:center}.pane-head input{width:150px}.receiver-filters{justify-content:start;flex-wrap:wrap}.receiver-filters input{width:190px}dialog{width:98vw}.object-table table{min-width:500px}}

.fields input[type=checkbox]{width:16px;flex:0 0 16px}.fields label.check{justify-content:flex-start;line-height:1.5}.object-pane .empty{height:50px}

#destination input:disabled,#destination select:disabled{opacity:1;color:#244656;-webkit-text-fill-color:#244656;background:#f1f5f7}#destination input[readonly]{color:#244656;background:#f1f5f7}#server-summary{display:grid;grid-template-columns:2fr 1fr 2fr 2fr;gap:16px;margin:12px 18px;padding:14px;background:#edf5f8;border:1px solid #bad3df}#server-summary dt{font-size:11px;color:#6a8492;margin-bottom:6px}#server-summary dd{margin:0;font-size:14px;font-weight:600;color:#244656;overflow-wrap:anywhere}@media(max-width:700px){#server-summary{grid-template-columns:1fr 1fr}}

.workflow-box{background:#f1f7fa;border:1px solid #c8dce6;padding:14px;margin:18px 0}.workflow-box h3{margin-top:0}.empty-state{padding:20px;background:#f4f8fa;border:1px dashed #bfD2dd;color:#607d8c}.danger-zone{border:1px solid #e3cfb0;background:#fffcf5;padding:6px 14px}.diagnostic-actions{margin:14px 0}.diagnostic-card{border:1px solid #bfd6e2;padding:16px;margin:14px 0;background:#fafdff}.diagnostic-card h3{margin-top:0}.diagnosis-title{display:block;font-size:16px;color:#315f76;margin:12px 0 4px}.delivery-flow{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;margin:16px 0;padding:0;gap:8px;counter-reset:steps}.delivery-flow li{padding:12px;background:#edf1f4;border-bottom:3px solid #b4c4ce;color:#778f9c;font-size:12px}.delivery-flow li:before{counter-increment:steps;content:counter(steps) '. ';font-weight:bold}.delivery-flow .done{background:#e5f4eb;color:#32704e;border-color:#75b28d}.error-message{color:#ac4938;background:#fff0eb;padding:10px}.attempt-entry{border:1px solid #d3e0e7;padding:6px 12px;margin:10px 0}.attempt-entry h4{margin:12px 0 6px;color:#42697d}.attempt-entry pre,#job-detail{font-family:Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f6f8;padding:12px;max-height:350px;overflow:auto}.attempt-entry>button{margin-bottom:10px}#job-dialog{width:min(900px,94vw);padding:18px}#job-dialog .section-head{margin-bottom:12px}#queue-overview button,#jobs button{margin:3px}#connection-result:empty{display:none}#queue-context{font-weight:600;color:#40697e}#jobs td{vertical-align:top}#trace-source{min-width:230px}@media(max-width:700px){.delivery-flow{grid-template-columns:1fr 1fr}.workflow-box{padding:10px}.diagnostic-card{padding:12px}}
.report-save{margin:18px 0}#schedule-grid textarea{width:100%;min-width:260px;min-height:75px;font:inherit;line-height:1.6;color:#244656;border:1px solid #b9c8d0;padding:8px;resize:vertical}#schedule-grid td:first-child input,#assignment-grid input[type=number]{width:72px}#terminal-settings{margin:14px 0}#terminal-settings input{max-width:250px}#report-sources{height:100px;min-width:230px}#timetable-settings>div,#assignment-settings>div{margin:12px 0}#report-results th{white-space:normal;min-width:130px}#report-results td{min-width:120px;vertical-align:top}#report-results{margin:16px 0}#timetable-notice,#report-notice{color:#315d72;font-weight:600}#assignment-grid select{max-width:340px}#report-coverage{margin:12px 0}
#report-coverage table{min-width:780px}#report-coverage td:first-child,#report-coverage td:nth-child(2){white-space:nowrap}#report-results td:first-child,#report-results td:nth-child(4){white-space:nowrap}
.customer-cabinet #customer-login{width:min(460px,94vw);margin:50px auto;padding:28px}.customer-cabinet #customer-login-form{display:grid;gap:16px}.customer-cabinet main[hidden],.customer-cabinet section[hidden]{display:none}.customer-cabinet #customer-name{font-size:13px;margin-right:12px}.customer-cabinet .tabs{min-height:100px}

/* Reporting workspace: daily operation first, timetable maintenance separately. */
/* Customer-facing visual hierarchy. All overrides stay out of the gateway admin UI. */
.customer-cabinet{font-family:'Segoe UI',Arial,sans-serif;background:#f3f5f9;color:#26364d}.customer-cabinet header{height:82px!important;background:linear-gradient(110deg,#12253f,#203d60)!important;padding:18px max(24px,calc((100vw - 1200px)/2))!important;border-bottom:1px solid #ffffff12;box-shadow:0 4px 20px #1328440d}.customer-cabinet header>div:first-child:before{content:'К';display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#ffffff16;border:1px solid #ffffff30;color:#fff;font-size:21px;font-weight:700}.customer-cabinet header small{display:none}.customer-cabinet header h1{border:0;padding:0;font-size:20px;letter-spacing:-.4px}.customer-cabinet #customer-logout{background:#ffffff0d;border-color:#ffffff30;color:#e2ecf9;border-radius:8px;padding:8px 16px}.customer-cabinet main:not([hidden]){display:block!important;max-width:1248px!important;padding:32px 24px!important}.customer-cabinet main>.tabs{display:none!important}.customer-cabinet [data-view=reports]{background:transparent;padding:0;border-radius:0}.customer-cabinet .report-heading{margin-bottom:22px;align-items:center}.customer-cabinet .report-heading h2{font-size:32px;font-weight:700;letter-spacing:-1px;color:#1a2e4a}.customer-cabinet .report-heading p{color:#7c899c;font-size:14px}.customer-cabinet .eyebrow{font-size:10px;color:#8291a7;letter-spacing:2px}.customer-cabinet .report-nav{border:0;background:#e8ecf3;width:fit-content;border-radius:11px;padding:5px;gap:4px;margin-bottom:20px}.customer-cabinet .report-nav button{min-height:39px;border:0;color:#79889d;border-radius:8px;padding:10px 22px}.customer-cabinet .report-nav button[aria-pressed=true]{background:#fff;color:#2b568e;box-shadow:0 2px 6px #243c5f0b}.customer-cabinet .report-context{font-size:12px;margin:18px 0 24px}.customer-cabinet .report-context strong{color:#5b6f89;font-weight:600}.customer-cabinet .workflow-progress{background:#e9eff9;border:1px solid #dde6f5;color:#496d9f;font-size:12px;padding:12px 16px}.customer-cabinet .report-card{border:1px solid #e5eaf1;border-radius:15px;padding:26px 28px;box-shadow:0 4px 18px #1c385903;margin:18px 0}.customer-cabinet .step-title{gap:14px;margin-bottom:22px}.customer-cabinet .step-title>span{border-radius:50%;background:#eaf0fa;color:#3c6397;width:34px;height:34px;font-size:14px}.customer-cabinet .report-card h3{font-size:18px;letter-spacing:-.3px}.customer-cabinet .report-card p{font-size:12px;color:#8591a2}.customer-cabinet .machine-choice{border-color:#e1e7f0;border-radius:10px;transition:border-color .15s,background .15s;padding:17px}.customer-cabinet .machine-choice:has(input:checked){background:#f3f7ff;border-color:#7b9ac8;box-shadow:inset 0 0 0 1px #7b9ac822}.customer-cabinet input:focus,.customer-cabinet select:focus{outline:3px solid #3e75c31a;border-color:#789bcb;outline-offset:0}.customer-cabinet input,.customer-cabinet select{border-radius:8px!important;border-color:#dde4ee!important}.customer-cabinet #report-duty-grid th{background:#f7f9fc;color:#8a98aa;font-size:11px;border-bottom-color:#e5eaf1;padding:13px 16px}.customer-cabinet #report-duty-grid td{padding:14px 16px}.customer-cabinet #report-duty-grid td:nth-child(2){font-weight:600;color:#354c69}.customer-cabinet #run-report{background:#315f9e;border-color:#315f9e;border-radius:9px;padding:13px 26px;box-shadow:0 4px 10px #315f9e18;transition:background .15s,box-shadow .15s}.customer-cabinet #run-report:hover:enabled{background:#264f88;box-shadow:0 6px 16px #315f9e2b}.customer-cabinet #run-report:disabled{opacity:1;background:#dbe2ec;color:#8e9db1;border-color:#dbe2ec;box-shadow:none}.customer-cabinet .report-submit{border:1px solid #e3e8f0!important;background:#ffffffed!important;border-radius:12px;padding:18px 22px!important;box-shadow:0 -4px 25px #1e3c5c05}.customer-cabinet .report-kpis article{background:#f7f9fd;border-radius:12px;border-color:#e8edf4;padding:18px 20px}.customer-cabinet .report-kpis strong{font-size:30px;font-weight:600;color:#274c7c}.customer-cabinet #report-results table{font-size:12px}.customer-cabinet #report-results th{background:#f2f5fa;color:#7b8ca3;border:0;border-bottom:1px solid #e0e7f0;padding:14px 12px}.customer-cabinet #report-results td{border:0;border-bottom:1px solid #edf1f6;padding:14px 12px;line-height:1.7}.customer-cabinet #report-results tr:nth-child(even){background:#fafbfd}.customer-cabinet .result-badge{display:inline-block;border-radius:6px;padding:5px 9px;line-height:1.5;font-size:11px;font-weight:600;background:#edf1f6;color:#718298}.customer-cabinet .result-badge.compared{background:#e9f3ee;color:#43765c}.customer-cabinet .result-badge.checkpoint{background:#edf2fc;color:#5275af}.customer-cabinet .result-badge.review{background:#fff5e5;color:#99763d}.customer-cabinet .report-output{border-top:3px solid #7597c6}.customer-cabinet .report-explanation{background:#f6f8fc;border-left-color:#a9bfdf}.customer-cabinet #download-report{background:#f0f5fb;border-color:#ccdaed;color:#436997;font-weight:600}.customer-cabinet #customer-login{margin-top:70px;box-shadow:0 14px 55px #1d375a09}.customer-cabinet #customer-signin{background:#315f9e;border-color:#315f9e;border-radius:8px}.customer-cabinet .period-shortcuts button{border-radius:20px;border-color:#dce4ef;background:#f7f9fc;color:#637c9c}.customer-cabinet button:focus-visible,.customer-cabinet a:focus-visible{outline:3px solid #8ba9d6;outline-offset:3px}@media(max-width:700px){.customer-cabinet header{padding:14px 18px!important;height:72px!important}.customer-cabinet header>div:first-child:before{width:30px;height:30px;font-size:17px}.customer-cabinet header h1{font-size:16px}.customer-cabinet main{padding:20px 12px!important}.customer-cabinet .report-heading h2{font-size:26px}.customer-cabinet .report-card{padding:20px 16px}.customer-cabinet .report-nav{width:100%;display:flex}.customer-cabinet .report-nav button{flex:1;padding:10px 8px;font-size:12px}.customer-cabinet .report-heading>button{padding:6px;font-size:10px}.customer-cabinet .report-context{font-size:11px}.customer-cabinet .report-kpis{grid-template-columns:1fr 1fr}}
.workflow-progress{padding:13px 18px;color:#315fa2;background:#e9f0fb;border-radius:9px;font-size:13px;font-weight:600;margin:18px 0}.period-shortcuts{display:flex;gap:8px;margin:0 0 18px}.period-shortcuts button{min-height:32px!important;font-size:12px}.machine-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 12px}.machine-actions strong{margin-right:auto;color:#445b76;font-size:13px}.machine-actions button{min-height:30px!important;padding:5px 9px;font-size:11px}.day-options{margin:0 0 16px!important;color:#687d96}#report-duty-grid small{display:block;font-size:11px;color:#7b8ba0;letter-spacing:0;font-weight:400;margin:6px 0}#report-duty-grid table{min-width:520px!important}.report-submit{position:sticky;bottom:0;background:#f5f7fbf5;backdrop-filter:blur(12px);z-index:3;border-top:1px solid #dce4ef;padding:18px 8px!important}.report-submit p{font-size:11px;max-width:540px}.report-submit strong{display:block;max-width:650px}#report-results td,#report-results th{min-width:105px!important}#report-results th:last-child,#report-results td:last-child{min-width:170px!important}.technical-settings{margin:18px 0;border:1px solid #e3e9f2;border-radius:8px;padding:4px 14px}.report-output{scroll-margin-top:20px}@media(max-width:600px){.period-shortcuts{flex-wrap:wrap}.report-submit{padding:12px!important;gap:10px}.report-submit p{display:none}.report-submit strong{font-size:12px}.report-heading p{font-size:12px}.machine-actions strong{width:100%}}
.user-guide main{display:block;max-width:960px;padding:32px 20px}.user-guide article{background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:36px}.user-guide h1{border:0;padding:0;font-size:30px;margin:14px 0}.user-guide h2{margin-top:30px;font-weight:700}.user-guide p,.user-guide li{font-size:14px;line-height:1.75;color:#465b71}.user-guide li{margin:9px 0}.user-guide td{vertical-align:top;font-size:13px}.user-guide a{color:#315fa2}@media print{.user-guide{background:#fff}.user-guide main{padding:0;max-width:none}.user-guide article{border:0;padding:0}.user-guide h2{break-after:avoid}.user-guide tr{break-inside:avoid}}@media(max-width:600px){.user-guide article{padding:20px}.user-guide main{padding:10px}}
.report-context{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:14px 0;color:#405c7e}.report-context a{color:#315fa2;text-decoration:none}.report-context a:hover{text-decoration:underline}.result-context{font-size:13px!important;font-weight:600;color:#405c7e!important}.report-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:18px 0}.report-kpis:empty{display:none}.report-kpis article{padding:16px;background:#f5f8fd;border:1px solid #e3e9f2;border-radius:9px}.report-kpis span{display:block;font-size:11px;color:#728199}.report-kpis strong{display:block;font-size:26px;color:#294a75;margin-top:8px}.result-options{margin:16px 0}#report-results table{font-variant-numeric:tabular-nums}#report-results th{position:sticky;top:0}#report-results{max-height:650px}#report-result-tools .hint{margin-top:12px}
[data-view=reports]{background:#f5f7fb;border:0;padding:24px;border-radius:12px}
.report-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#64748b}
.report-heading h2{font-size:28px;letter-spacing:-.7px;font-weight:700;color:#172b46;margin:8px 0}
.report-heading p{font-size:14px;max-width:700px;color:#64748b}
.report-nav{display:flex;gap:8px;border-bottom:1px solid #dce3ed;margin-bottom:22px;padding-bottom:12px}
.report-nav button{border-radius:7px;padding:10px 18px;background:transparent;border-color:transparent;color:#64748b;font-weight:600}
.report-nav button[aria-pressed=true]{background:#e5edf9;color:#2457a0}
.report-card{padding:24px;background:#fff;border:1px solid #e1e7ef;border-radius:12px;margin:16px 0;box-shadow:0 2px 5px #19345204}
.step-title{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}
.step-title>span{display:grid;place-items:center;background:#edf2fc;color:#345fad;border-radius:10px;width:36px;height:36px;font-size:16px;font-weight:700;flex-shrink:0}
.report-card h3{margin:2px 0 6px;font-size:17px;color:#20344e}.report-card p{color:#68788d;font-size:13px;margin:4px 0;line-height:1.6}
.report-period{display:flex;gap:16px;margin-bottom:20px}.report-period label{min-width:185px}
[data-view=reports] input,[data-view=reports] select{height:40px;border-color:#d6deea;border-radius:7px}
[data-view=reports] button{border-radius:7px;min-height:40px}
.machine-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;max-width:900px}
.machine-choice{display:flex;flex-direction:row;align-items:center;gap:12px;padding:15px;border:1px solid #dce3ed;border-radius:9px;cursor:pointer;background:#fff}
.machine-choice:has(input:checked){border-color:#638bc8;background:#f0f5ff}.machine-choice input{width:18px;height:18px!important;accent-color:#3569b2}
.machine-choice strong{display:block;color:#223954;font-size:15px}.machine-choice small{display:block;color:#7a889b;font-size:11px;letter-spacing:0;font-weight:400;margin-top:5px}
#report-duty-grid table{min-width:700px}#report-duty-grid th{background:#f7f9fc;font-size:11px;color:#728199;border:0;border-bottom:1px solid #e2e8f0;padding:12px}
#report-duty-grid td{padding:12px;border:0;border-bottom:1px solid #edf0f5;font-size:13px}#report-duty-grid select{min-width:150px;width:100%}
#report-duty-grid tr:nth-child(even){background:#fff}#report-duty-grid tr.duty-conflict{background:#fff1ee}
#report-duty-notice{padding-top:14px}.duty-ready{color:#287651!important}.duty-pending{color:#8a672b!important}
.report-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0 24px}.report-submit strong{color:#253c59;font-size:14px}.report-submit p{margin:5px 0;color:#738196}
#run-report{background:#315fa2;border-color:#315fa2;font-size:14px;font-weight:600;padding:12px 24px;min-height:46px}
.report-output{margin-top:8px}.report-explanation{background:#f4f7fc;border-left:3px solid #9eb6da;padding:13px 16px;border-radius:0 7px 7px 0;margin:14px 0}.report-explanation strong{color:#49617f;font-size:12px}
#report-settings-view summary{font-weight:600}#timetable-notice:empty{display:none}
.customer-cabinet{background:#f5f7fb}.customer-cabinet header{background:#172b46;border:0;height:76px;padding:16px 32px}.customer-cabinet h1{font-size:19px;font-weight:600;border-color:#526179}.customer-cabinet main{max-width:1640px;padding:24px;grid-template-columns:175px minmax(0,1fr);gap:10px}.customer-cabinet .tabs{background:transparent;border:0;top:24px}.customer-cabinet .tabs:before{content:'КАБИНЕТ';color:#8b98aa}.customer-cabinet .tabs button{border-radius:7px;background:#e5edf9;color:#315fa2;border:0;font-size:13px}
.customer-cabinet #customer-login{border-radius:12px;border-color:#e1e7ef;box-shadow:0 12px 45px #20344e0a}.customer-cabinet #customer-login input{height:42px;border-radius:6px}
@media(max-width:800px){.customer-cabinet main{display:block;padding:12px}.customer-cabinet .tabs{display:none}[data-view=reports]{padding:8px}.report-heading{align-items:start}.report-heading h2{font-size:24px}.report-heading>button{font-size:11px}.report-card{padding:16px}.report-submit{flex-direction:column;align-items:stretch}.report-period{gap:10px}.report-period label{min-width:0;flex:1}.machine-picker{grid-template-columns:1fr}.report-nav button{padding:8px 12px;font-size:12px}.customer-cabinet header{padding:14px}.customer-cabinet #customer-name{font-size:11px}}

.customer-cabinet .report-card p,.customer-cabinet .report-heading p,.customer-cabinet #report-duty-grid small{color:#64748b}.customer-cabinet .report-kpis span{color:#64748b}

/* Authentication visibility outranks every layout rule, including mobile. */
.customer-cabinet #customer-workspace[hidden],.customer-cabinet [data-auth-panel][hidden],.customer-cabinet:not([data-auth-state="ready"]) #customer-workspace{display:none!important}
#customer-session-check{width:min(460px,94vw);margin:70px auto;padding:28px;border-radius:12px;text-align:center}

.customer-cabinet #customer-monitor{font-size:12px;color:#e2ecf9;text-decoration:none;padding:9px 13px;border:1px solid #ffffff30;border-radius:8px}.customer-cabinet #customer-monitor:hover{background:#ffffff12}.customer-cabinet #customer-monitor[hidden]{display:none!important}
