@media (min-width:1024px) and (orientation:landscape),(min-width:1024px) and (pointer:fine),(min-width:1024px) and (pointer:none){
 .shell-desktop .rpt-param{gap:8px}.shell-desktop .rpt-param>span:first-child{font-size:14px;flex:none}.shell-desktop .rpt-param>span:last-child{font-size:13px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--shell-muted)}
 .rpt-workspace{width:100%;min-width:0}.rpt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;flex-wrap:wrap}.rpt-tabs{display:flex;gap:20px}.rpt-tabs>button{min-height:40px;background:none!important;box-shadow:none!important;border:0;border-bottom:2px solid transparent;border-radius:0;padding:6px 0;font-size:16px;font-weight:400;white-space:nowrap;margin:0}.rpt-tabs>button[aria-selected=true]{border-bottom-color:#7d9aff;color:var(--shell-text)}
 .rpt-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rpt-actions>button{min-height:36px;margin:0;font-size:14px;padding:6px 10px;width:auto;font-weight:400}.rpt-actions>button[data-rpt-refresh]{width:36px;padding:7px}.rpt-actions svg{width:21px;height:21px}
 .rpt-context{font-size:14px;line-height:1.4;color:var(--shell-muted);margin:4px 0 10px}.rpt-note{font-size:12px;line-height:1.5;color:var(--shell-muted);margin:10px 0}.rpt-table{width:100%;overflow:auto;max-height:none}.rpt-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.4}.rpt-table th,.rpt-table td{padding:10px 12px;border-bottom:1px solid var(--shell-line);text-align:right;vertical-align:top}.rpt-table th{font-weight:400;color:var(--shell-muted)}.rpt-table th:first-child,.rpt-table td:first-child{text-align:left}.rpt-table td b{font-weight:400}.rpt-table .link{min-height:28px;margin:0;padding:0;font-size:14px;text-align:left}
 .rpt-chart-tools{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.rpt-chart-tools label{min-width:160px;flex:1;max-width:380px;font-size:13px}.rpt-chart-tools select{margin:4px 0 0;min-height:36px;font-size:14px}.rpt-chart{display:block;width:100%;height:auto;min-height:160px;max-height:300px;color:var(--shell-muted)}.rpt-chart text{fill:currentColor;font-size:12px;font-family:inherit}.rpt-chart g[role=button]{cursor:pointer;outline:none}.rpt-chart g:focus-visible>circle:last-child{stroke:var(--shell-text);stroke-width:2}.rpt-chart-legend{display:flex;gap:20px;font-size:12px;color:var(--shell-muted)}
 .rpt-filter-form{width:100%;max-width:520px;margin:0 auto;display:grid;gap:12px}.rpt-filter-form label{margin:0;font-size:14px}.rpt-filter-form input,.rpt-filter-form select,.rpt-filter-form textarea{margin-top:6px}.rpt-filter-form>.primary{margin-top:6px;min-height:40px}.rpt-record{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
}
@media (min-width:1024px) and (orientation:landscape),(min-width:1024px) and (pointer:fine),(min-width:1024px) and (pointer:none){.rpt-chart{stroke:none;fill:none;filter:none}.rpt-method{margin:10px 0;color:var(--shell-muted);font-size:12px}.rpt-method>summary{cursor:pointer;min-height:28px;line-height:28px}}

@media (min-width:1024px) and (orientation:landscape),(min-width:1024px) and (pointer:fine),(min-width:1024px) and (pointer:none){
 .shell-desktop .rpt-param{margin:0}
 .shell-desktop .rpt-param>select{flex:1;min-width:0;width:0;height:28px;min-height:28px;margin:0;padding:2px 0 2px 6px;border:0!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;color:var(--shell-muted);font-family:inherit;font-size:13px;text-overflow:ellipsis;cursor:pointer}
 .shell-desktop .rpt-param>select option{background:var(--shell-panel);color:var(--shell-text)}
}

@media (min-width:1024px) and (orientation:landscape),(min-width:1024px) and (pointer:fine),(min-width:1024px) and (pointer:none){
 .shell-desktop .rpt-param{gap:10px;padding:5px 6px 5px 12px;justify-content:flex-start}
 .shell-desktop .rpt-param>.rpt-param-label{font-size:13px;color:var(--shell-muted);padding:0;margin:0;border:0;line-height:24px}
 .shell-desktop .rpt-param>select,.shell-desktop .rpt-param>.rpt-param-control{height:32px;min-height:32px;box-sizing:border-box;background-color:var(--shell-surface)!important;border:1px solid var(--shell-line)!important;border-radius:7px;color:var(--shell-text);font-size:14px;padding:4px 8px;font-weight:400;flex:1;min-width:0}
 .shell-desktop .rpt-param>.rpt-param-control{display:flex;align-items:center;gap:6px;overflow:hidden}.shell-desktop .rpt-param-value{color:var(--shell-text);font-size:14px;flex:1;min-width:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
 .rpt-chevron{font-size:16px;color:var(--shell-muted);margin:0;flex:none}
 .rpt-popover{position:fixed;z-index:150;background:var(--shell-panel);color:var(--shell-text);border:1px solid var(--shell-line);border-radius:12px;padding:16px;box-shadow:0 12px 36px #0005;overflow:auto;box-sizing:border-box;text-align:left}
 .rpt-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:16px}
 .rpt-popover-heading>button{width:28px;min-height:28px;margin:0;padding:0;border:0;background:none!important;box-shadow:none!important;font-size:26px;font-weight:400;line-height:28px;color:var(--shell-muted)}
 .rpt-popover .rpt-filter-form{gap:10px}.rpt-popover input,.rpt-popover select{width:100%;min-width:0;box-sizing:border-box;font:inherit;color:var(--shell-text)}
 .rpt-popover .rpt-note{margin:0}.rpt-popover .primary{width:100%}
}

@media (min-width:1024px) and (orientation:landscape),(min-width:1024px) and (pointer:fine),(min-width:1024px) and (pointer:none){.rpt-work-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.rpt-work-actions>button{margin:0;min-height:36px;font:inherit;padding:6px 10px}.rpt-work-actions>.link{color:var(--shell-text);width:auto}}

/* Report preview stays readable on every screen; no fixed-height or one-page clamp. */
.rpt-narrative{width:100%;min-width:0}.rpt-narrative h1{font-size:24px;font-weight:400;margin:12px 0 18px}.rpt-narrative h2{font-size:20px;font-weight:400;margin:25px 0 12px}.rpt-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rpt-kpis>div{padding:14px;border:1px solid var(--line,#465264);border-radius:10px;min-width:0}.rpt-kpis span,.rpt-kpis small{display:block;font-size:13px;color:var(--muted)}.rpt-kpis strong{display:block;font-size:28px;font-weight:400;margin:8px 0}.rpt-bar-scroll{overflow-x:auto}.rpt-bars{display:block;width:100%;height:auto;min-width:580px;fill:none;stroke:none;color:var(--muted);filter:none}.rpt-bars text{font:13px Arial,sans-serif;fill:currentColor;stroke:none}.rpt-bars rect{stroke:none}.rpt-bar-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.rpt-bar-legend span{display:flex;gap:6px;align-items:center}.rpt-bar-legend i{width:11px;height:11px;background:#a8b5c8;border-radius:2px}.rpt-bar-legend span+span i{background:#658add}.rpt-evidence{padding:18px 0;border-top:1px solid var(--line,#465264);margin-top:24px;min-width:0}.rpt-evidence-heading{display:flex;align-items:start;justify-content:space-between;gap:14px}.rpt-evidence-heading h2{margin:0!important}.rpt-evidence-heading button{flex:none;min-height:30px;padding:0}.rpt-evidence-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.rpt-photo{border:0;background:none!important;box-shadow:none!important;padding:0;min-width:0}.rpt-photo img{width:100%;height:220px;object-fit:contain;border-radius:7px;background:#0002}.rpt-photo small{display:block;text-align:center;font-size:12px;margin-top:5px}.rpt-evidence-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.rpt-evidence-actions{padding:13px 16px;background:var(--panel,#2c323c);border-radius:8px}.rpt-evidence-actions p{margin:6px 0;font-size:14px}.rpt-evidence-actions small{display:block;color:var(--muted);margin-top:4px}.rpt-photo-missing{background:var(--panel,#2c323c);color:var(--muted);padding:18px;border-radius:8px}.rpt-decisions{display:grid;gap:8px}.rpt-decisions button{text-align:left;font-weight:400}.rpt-decisions small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.rpt-sensor-case{padding:14px 0;border-bottom:1px solid var(--line,#465264)}.rpt-sensor-case h3{font-weight:400}.rpt-workspace .rpt-table{overflow-x:auto}.rpt-workspace .rpt-table table{width:100%;border-collapse:collapse;font-size:14px}.rpt-workspace .rpt-table td,.rpt-workspace .rpt-table th{padding:11px 8px;vertical-align:top;border-bottom:1px solid var(--line,#465264);font-weight:400}.rpt-workspace .rpt-table th{text-align:left;color:var(--muted)}
@media(max-width:1023px),(pointer:coarse) and (orientation:portrait){.rpt-params{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rpt-param{display:grid;text-align:left;min-width:0;padding:10px;gap:5px}.rpt-param select{width:100%;min-width:0;font-size:14px}.rpt-param-label{font-size:12px;color:var(--muted)}.rpt-param-control{display:flex;justify-content:space-between;font-size:13px;gap:4px}.rpt-param-value{min-width:0;overflow:hidden;text-overflow:ellipsis}.rpt-workspace{padding-top:12px;min-width:0}.rpt-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.rpt-tabs button{font-weight:400;background:none;border:0;padding:6px 0}.rpt-actions{display:flex;flex-wrap:wrap;gap:8px}.rpt-actions button{font-size:13px;min-height:38px;padding:6px 9px;font-weight:400}.rpt-context,.rpt-note{font-size:12px;color:var(--muted);line-height:1.45}.rpt-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rpt-kpis>div{padding:11px}.rpt-kpis strong{font-size:25px}.rpt-evidence-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.rpt-photo img{height:160px}.rpt-narrative h2{font-size:18px}.rpt-evidence-heading{flex-wrap:wrap}.rpt-popover{position:fixed;z-index:150;border:1px solid var(--line);border-radius:12px;background:var(--panel,#292f39);padding:16px;box-shadow:0 12px 30px #0006;overflow:auto}.rpt-popover-heading{display:flex;justify-content:space-between;align-items:center}.rpt-popover-heading button{border:0;background:none!important;box-shadow:none!important;min-height:30px;padding:0 5px;font-size:24px}.rpt-filter-form{display:grid;gap:12px}.rpt-filter-form label{min-width:0;margin:0}.rpt-filter-form input{min-width:0}.rpt-record{display:flex;align-items:center;justify-content:space-between;width:100%}}

.rpt-decisions summary{padding:11px 0;cursor:pointer;font-size:15px}.rpt-decisions details button{display:block;width:100%;margin:6px 0}

.rpt-tabs>button{background:none!important;box-shadow:none!important;border:0!important;border-radius:0;padding:4px 0;min-height:30px;font-size:18px;font-weight:400}.rpt-param{align-content:start}.rpt-param>select{margin:0!important}.rpt-param button{max-width:100%}@media(max-width:1023px),(pointer:coarse) and (orientation:portrait){.rpt-params>.rpt-param{height:84px;min-height:84px;box-sizing:border-box}.rpt-param>select,.rpt-param>.rpt-param-control{min-height:38px;height:38px}.rpt-param>.rpt-param-control{align-items:center}}

@media(max-width:1023px),(pointer:coarse) and (orientation:portrait){.ws-tabs-four>button{white-space:normal!important;overflow-wrap:anywhere;min-width:0;line-height:1.3}.ws-tabs-four>button .yekton-split-count{max-width:100%;font-size:11px;margin-left:2px}.rpt-workspace,.rpt-narrative,.rpt-bar-scroll,.rpt-workspace .rpt-table{max-width:100%;min-width:0}}

/* Native select text must fit its content box in both Safari and Chromium. */
@media(max-width:1023px),(pointer:coarse) and (orientation:portrait){
 .rpt-param>select{box-sizing:border-box;height:38px;min-height:38px;max-width:100%;padding:4px 28px 4px 10px!important;line-height:20px;font-family:inherit;font-size:14px;color:var(--text,#f1f2f5);-webkit-text-fill-color:var(--text,#f1f2f5);-webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 14px) 16px,calc(100% - 10px) 16px;background-size:4px 4px;background-repeat:no-repeat}
}
