/* Rounded production timeline — reference approved on 2026-10-05. */
.rt-page .rt-hour-card{border:0;background:none;box-shadow:none;overflow:visible;display:grid;gap:14px;min-width:0}
.rt-page .rt-hour-legend{padding:12px 18px;gap:20px;border:1px solid #164663;border-radius:8px;background:linear-gradient(110deg,#082438,#061b2b);color:#badcf4;font-size:12px;box-shadow:inset 0 1px #5bb9f407;min-width:0}
.rt-page .rt-hour-legend>span{gap:8px;white-space:nowrap}
.rt-page .rt-hour-legend i{width:13px;height:13px;border-radius:4px;border:0;box-shadow:0 0 7px #0004}
.rt-page .rt-hour-legend .running i{background:#4da3e3}.rt-page .rt-hour-legend .slow i{background:#ffe92c}.rt-page .rt-hour-legend .stop i{background:#ff293f}.rt-page .rt-hour-legend .pending i{background:#7798ae;border:0}.rt-page .rt-hour-legend .planned.operational i{background:#28a8ff;border:0}.rt-page .rt-hour-legend .planned.technical i{background:#3879b9;border:0}
.rt-page .rt-hour-legend .finished [data-app-icon]{width:17px;height:17px;color:#e8f5ff}
.rt-page .rt-hour-legend .finished svg{fill:currentColor}
.rt-page .rt-timeline-frame{overflow:hidden;min-width:0;border:1px solid #17516f;border-radius:10px;background:linear-gradient(110deg,#071e30,#061725);box-shadow:0 10px 30px #00000012}
.rt-page .rt-timeline-frame>.card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border-bottom:1px solid #285069;background:linear-gradient(110deg,#082236,#061a2a)}
.rt-page .rt-timeline-frame>.card-head h2{margin:0;font-size:18px;line-height:1.3;color:#eff7ff;letter-spacing:-.2px}
.rt-page .rt-timeline-frame>.card-head small{font-size:11px;color:#98c9e8;line-height:1.5;text-align:right}
.rt-page .rt-timeline-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;min-width:0}
.rt-page .rt-counter-status{display:inline-flex;align-items:center;gap:7px;flex:none;max-width:100%;padding:6px 10px;border:1px solid #446379;border-radius:20px;background:#183043;color:#c5d9e7;font-size:11px;font-weight:700;line-height:1.4}
.rt-page .rt-counter-status i{width:8px;height:8px;flex:none;border-radius:50%;background:#a0b7c8}
.rt-page .rt-counter-status.online{border-color:#178968;background:#063c33;color:#63f5be}
.rt-page .rt-counter-status.online i{background:#24ec9b;box-shadow:0 0 0 3px #23e69519}
.rt-page .rt-hour-scroll{width:100%;min-width:0;overflow:hidden;max-height:none}
.rt-page .rt-hour-table{width:100%;min-width:0;background:none}
.rt-page .rt-hour-card .rt-hour-axis,.rt-page .rt-hour-card .rt-hour-row{display:grid;grid-template-columns:72px minmax(0,1fr) 112px 76px;gap:0;padding:0;background:none;box-shadow:none}
.rt-page .rt-hour-card .rt-hour-axis{height:36px;border:0;color:#d6eaff;background:#0b2234;font-size:12px}
.rt-page .rt-hour-axis>span{display:flex;align-items:center;justify-content:center;height:100%;padding:0 5px;font-size:12px;color:#d6eaff}
.rt-page .rt-hour-axis>span:nth-last-child(-n+2){border-left:1px solid #22455e}
.rt-page .rt-hour-axis>div>span{top:10px;font-size:12px;color:#e7f4ff}
.rt-page .rt-hour-card .rt-hour-row,.rt-page .rt-hour-card .rt-hour-row:hover{height:51px;border-top:1px solid #143348;background:#071e2d}
.rt-page .rt-hour-card .rt-hour-row:nth-child(odd){background:#0b2538}
.rt-page .rt-hour-card .rt-hour-row:last-child{border-bottom:0}
.rt-page .rt-hour-card .rt-hour-row>time{display:flex;align-items:center;justify-content:center;justify-self:center;width:42px;height:33px;border:1px solid #173c54;border-radius:6px;background:#082133;color:#ecf4ff;font-size:16px;font-weight:750;line-height:1}
.rt-page .rt-hour-card .rt-hour-row[data-current-hour]>time{color:#75d8ff;border-color:#2c789a;box-shadow:0 0 12px #07b8e21c}
.rt-page .rt-hour-card .rt-hour-track{height:39px;min-width:0;margin-right:9px;border-radius:6px;overflow:visible;background:#2d4456;isolation:isolate}
.rt-page .rt-time-slots{gap:0;border-radius:6px;overflow:hidden;box-shadow:inset 0 1px 1px #ffffff10}
.rt-page .rt-time-slot{min-height:0;height:100%;border:0;border-radius:0;box-shadow:none;background:#2d4456}
.rt-page .rt-time-slot.group-start{border-top-left-radius:4px;border-bottom-left-radius:4px}
.rt-page .rt-time-slot.group-end{border-top-right-radius:4px;border-bottom-right-radius:4px}
.rt-page .rt-time-slot.running{background:#4da3e3}
.rt-page .rt-time-slot.slow{background:linear-gradient(180deg,#fff13a,#ffde1a)}
.rt-page .rt-time-slot.slow.registered{background:linear-gradient(180deg,#e6b721,#ca9409)}
.rt-page .rt-time-slot.stop{background:linear-gradient(180deg,#ff293c,#ff2037)}
.rt-page .rt-time-slot.stop.registered{background:linear-gradient(180deg,#b80f27,#a71429)}
.rt-page .rt-time-slot.planned.operational{background:linear-gradient(180deg,#36b7ff,#1697ec)}
.rt-page .rt-time-slot.planned.technical{background:linear-gradient(180deg,#458bcc,#326caa)}
.rt-page .rt-time-slot.pending{background:linear-gradient(180deg,#344a5b,#2a4051)}
.rt-page .rt-time-slot.future{background:linear-gradient(180deg,#293f51,#25394a)}
.rt-page .rt-time-slot.finished{background:linear-gradient(180deg,#3e5669,#33495d)}
.rt-page .rt-time-slot:nth-child(5n+1):before{display:none}
.rt-page .rt-pulse-dot{display:none}
.rt-page .rt-reference-grid{z-index:3;background:repeating-linear-gradient(90deg,#a8d4ed13 0,#a8d4ed13 1px,transparent 1px,transparent 8.333333%)}
.rt-page .rt-reference-grid i{top:-19px;bottom:-7px;border-left:1px dashed #afd9f055}
.rt-page .rt-hour-card .rt-hour-event-label{top:0;bottom:0;padding:0 11px;gap:10px;font-size:12px;font-weight:700;background:none;color:#fff;z-index:4;border-radius:4px;line-height:1.4}
.rt-page .rt-hour-card .registered-label{justify-content:flex-start}
.rt-page .rt-event-flag{position:static;flex:0 0 14px;width:14px;height:15px;filter:none}
.rt-page .rt-event-flag svg{width:14px;height:15px;fill:currentColor}
.rt-page .rt-event-reason{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:inherit}
.rt-page .rt-hour-card .unclassified-label{padding:0;justify-content:center}
.rt-page .rt-event-question{width:19px;height:19px;border:1.5px solid #fff;font-size:13px;background:#ff71861a;flex:none;font-weight:750;box-shadow:0 0 9px #ff829329}
.rt-page .rt-time-slot:hover,.rt-page .rt-time-slot:focus-visible{outline:2px solid #fff;outline-offset:-2px;z-index:6;filter:brightness(1.08)}
.rt-page .rt-time-slot.selected{outline:2px solid #fff;outline-offset:-2px;box-shadow:inset 0 0 0 4px #09263b7d;z-index:5}
.rt-page .rt-hour-card .rt-now{top:-4px;bottom:-4px;background:#9ce7ff;width:1px;z-index:5;box-shadow:0 0 6px #3bd5ff70}
.rt-page .rt-hour-card .rt-hour-total{height:100%;justify-content:center;gap:3px;padding:0 6px;font-size:14px;flex-wrap:nowrap;color:#e9f5ff;border-left:1px solid #22455e;line-height:1.2}
.rt-page .rt-hour-total b,.rt-page .rt-hour-total>span{flex-basis:auto;text-align:center}
.rt-page .rt-hour-total b{font-weight:800}.rt-page .rt-hour-total>span{font-weight:400}
.rt-page .rt-hour-total.good b{color:#4da3e3}.rt-page .rt-hour-total.warning b{color:#fff035}.rt-page .rt-hour-total.critical b{color:#ff3448}
.rt-page .rt-hour-state{height:100%;display:flex;align-items:center;justify-content:center;border-left:1px solid #22455e}
.rt-page .rt-state-ring{position:relative;display:block;width:32px;height:32px;flex:none;border-radius:50%;background:var(--rt-state-gradient,#304b60);box-shadow:0 2px 5px #0003}
.rt-page .rt-state-ring:after{content:'';position:absolute;inset:7px;border-radius:50%;background:#081e2d;box-shadow:inset 0 1px 2px #0006}
.rt-page .rt-events-section{gap:12px;padding:16px 18px 12px;border:1px solid #17516f;border-radius:10px;background:linear-gradient(110deg,#082336,#061a2a);color:#e8f5ff}
.rt-page .rt-section-head .eyebrow{font-size:10px;letter-spacing:1.3px;color:#9bceef}
.rt-page .rt-section-head h2{margin-top:5px;font-size:20px;color:#eef8ff}
.rt-page .rt-history-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.rt-page .rt-history-actions button{min-height:37px;border:1px solid #2c6a91;border-radius:8px;background:linear-gradient(#0b2c44,#072136);font-size:12px;color:#87d0fc;gap:8px;padding:7px 12px}
.rt-page .rt-history-actions button:first-child{color:#e6f4ff}
.rt-page .rt-history-actions button [data-app-icon]{width:15px;height:15px;margin:0}
.rt-page .rt-record-count{border-color:#26516b;color:#a6d0ec;background:#0a263b;font-size:11px;border-radius:9px;padding:9px 11px}
.rt-page .rt-event-grid{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.rt-page .rt-event-card{min-width:0;padding:11px 14px;border:1px solid #195679!important;border-radius:12px;background:linear-gradient(115deg,#0a293e,#082134);box-shadow:inset 0 1px #58a9d708}
.rt-page .rt-event-card header{align-items:center;gap:9px;font-size:14px;min-height:28px;line-height:1.4}
.rt-page .rt-event-card header>b{flex:1;min-width:0;overflow-wrap:anywhere}
.rt-page .rt-history-alert{flex:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(#ff4659,#fa1830);font-size:21px;line-height:1;font-weight:800;box-shadow:0 0 12px #ff233730;color:white}
.rt-page .rt-event-card.slow .rt-history-alert{background:linear-gradient(#ffdf38,#d59b09);color:#fff9e5}
.rt-page .rt-event-card.planned .rt-history-alert{background:linear-gradient(#3db4ff,#1e78c4)}
.rt-page .rt-event-card .badge{flex:none;background:linear-gradient(#e43243,#b51b2c);color:#fff;border:1px solid #f65a6559;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:650;line-height:1.4}
.rt-page .rt-event-card.slow .badge{background:#8b6712;border-color:#c6912e80}.rt-page .rt-event-card.planned .badge{background:#1c679e;border-color:#3da2e780}
.rt-page .rt-event-card time,.rt-page .rt-event-card p{font-size:12px;color:#a8d5f0;line-height:1.55;margin:7px 0 0}
.rt-page .rt-event-card time,.rt-page .rt-event-card .rt-history-machine{display:flex;align-items:flex-start;gap:8px}
.rt-page .rt-event-card time>[data-app-icon],.rt-page .rt-history-machine>[data-app-icon]{width:16px;height:16px;flex:none;margin-top:1px;color:#8ad1fc}
.rt-page .rt-event-card footer{display:flex;align-items:flex-end;gap:8px;justify-content:space-between}
.rt-page .rt-event-card footer>p{flex:1;min-width:0;font-size:11px}
.rt-page .rt-history-details{flex:none;min-height:34px;border:1px solid #039fed;background:linear-gradient(#093351,#042439);color:#76ccff;padding:6px 11px;border-radius:20px;font-size:11px;gap:7px}
.rt-page .rt-history-details>[data-app-icon]{width:13px;height:13px;margin:0}
.rt-page .rt-history-filters{display:flex;gap:10px;min-width:0}.rt-page .rt-history-filters[hidden]{display:none}
.rt-page .rt-history-filters input{flex:1;min-width:0}.rt-page .rt-history-filters select{width:210px}
.rt-page .rt-history-filters input,.rt-page .rt-history-filters select{background:#09263b;color:#d8eeff;border:1px solid #2c5875;border-radius:7px;padding:10px 12px;font-size:13px}
.rt-page .rt-no-events{grid-column:1/-1;border-color:#20516d;color:#bdddf3;background:none}
.rt-timeline-tooltip{border-color:#296185;background:linear-gradient(115deg,#0b293d,#071d2e);border-radius:10px;box-shadow:0 8px 30px #0006}
.rt-minute-choice.running{background:#4da3e3}.rt-minute-choice.slow{background:#ffe92c;color:#332900}.rt-minute-choice.slow.registered{background:#ca9409;color:#fff}.rt-minute-choice.stop{background:#ff293f}.rt-minute-choice.stop.registered{background:#a71429}.rt-minute-choice.pending{background:#344a5b}.rt-minute-choice.planned.operational{background:#28a8ff;color:white}.rt-minute-choice.planned.technical{background:#3879b9;color:white}
.rt-timeline-detail.running .rt-detail-kind i{background:#4da3e3}
@media(max-width:1100px){.rt-page .rt-hour-legend{gap:12px 18px;font-size:11px}.rt-page .rt-hour-card .rt-hour-axis,.rt-page .rt-hour-card .rt-hour-row{grid-template-columns:56px minmax(0,1fr) 94px 58px}.rt-page .rt-hour-card .rt-hour-event-label{font-size:11px;gap:6px;padding:0 7px}.rt-page .rt-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rt-page .rt-section-head{align-items:flex-start;flex-wrap:wrap}.rt-page .rt-history-actions{gap:7px}}
@media(max-width:700px){.rt-page .rt-hour-card{width:100%;gap:10px}.rt-page .rt-hour-legend{padding:10px;gap:9px 12px;font-size:10px}.rt-page .rt-hour-legend>span{gap:5px}.rt-page .rt-hour-legend i{width:10px;height:10px}.rt-page .rt-hour-legend .finished [data-app-icon]{width:13px;height:13px}.rt-page .rt-timeline-frame>.card-head{display:block;padding:12px 10px}.rt-page .rt-timeline-frame>.card-head h2{font-size:16px}.rt-page .rt-timeline-frame>.card-head small{display:block;text-align:left;margin-top:5px;font-size:10px}.rt-page .rt-hour-card .rt-hour-axis,.rt-page .rt-hour-card .rt-hour-row{grid-template-columns:36px minmax(0,1fr) 57px 36px}.rt-page .rt-hour-card .rt-hour-axis{height:30px}.rt-page .rt-hour-axis>span,.rt-page .rt-hour-axis>div>span{font-size:9px}.rt-page .rt-hour-axis>div>span{top:9px}.rt-page .rt-hour-card .rt-hour-row,.rt-page .rt-hour-card .rt-hour-row:hover{height:48px}.rt-page .rt-hour-card .rt-hour-row>time{width:27px;height:28px;font-size:12px}.rt-page .rt-hour-card .rt-hour-track{height:34px;margin-right:4px}.rt-page .rt-hour-card .rt-hour-total{flex-wrap:wrap;padding:0 2px;gap:0;font-size:10px;align-content:center}.rt-page .rt-hour-total b,.rt-page .rt-hour-total>span{flex-basis:100%;text-align:center}.rt-page .rt-state-ring{width:23px;height:23px}.rt-page .rt-state-ring:after{inset:5px}.rt-page .rt-hour-card .rt-hour-event-label{padding:0 2px;gap:2px;font-size:9px;overflow:hidden}.rt-page .rt-event-reason{display:none}.rt-page .rt-event-flag,.rt-page .rt-event-flag svg{width:9px;height:10px;flex-basis:9px}.rt-page .rt-event-question{width:12px;height:12px;max-width:100%;font-size:9px;border-width:1px}.rt-page .rt-reference-grid i{top:-15px;bottom:-7px}.rt-page .rt-events-section{padding:12px 10px}.rt-page .rt-section-head h2{font-size:18px}.rt-page .rt-history-actions{width:100%;justify-content:flex-start}.rt-page .rt-history-actions button{font-size:10px;padding:6px 8px;min-height:34px;gap:5px}.rt-page .rt-record-count{font-size:10px;padding:7px}.rt-page .rt-event-grid{grid-template-columns:1fr}.rt-page .rt-event-card{padding:11px}.rt-page .rt-event-card header{font-size:13px}.rt-page .rt-history-filters{flex-wrap:wrap}.rt-page .rt-history-filters input,.rt-page .rt-history-filters select{flex-basis:100%;width:100%}.rt-page .rt-selection-bar{padding:10px}.rt-page .rt-selection-bar span{font-size:11px}}
/* Mobile timeline emphasis: use the state column's space for production bands. */
@media(max-width:700px){
  .rt-page .rt-hour-card{width:calc(100% + 16px);margin-inline:-8px;gap:10px}
  .rt-page .rt-timeline-frame{border-color:#2788b4;box-shadow:0 0 0 1px #24bded12,0 10px 28px #0003}
  .rt-page .rt-timeline-frame>.card-head{border-top:3px solid #18c1ef;padding:14px 10px;background:linear-gradient(110deg,#0b3651,#082539)}
  .rt-page .rt-timeline-frame>.card-head h2{font-size:18px;line-height:1.4}
  .rt-page .rt-timeline-frame>.card-head small{font-size:11px;line-height:1.5;margin-top:8px;color:#b5d9ef}
  .rt-page .rt-timeline-heading{gap:8px}
  .rt-page .rt-counter-status{font-size:12px;padding:6px 10px}
  .rt-page .rt-hour-card .rt-hour-axis,.rt-page .rt-hour-card .rt-hour-row{grid-template-columns:36px minmax(0,1fr) 57px}
  .rt-page .rt-hour-card .rt-hour-state,.rt-page .rt-hour-axis>.rt-hour-state-heading{display:none}
  .rt-page .rt-hour-card .rt-hour-row,.rt-page .rt-hour-card .rt-hour-row:hover{height:58px}
  .rt-page .rt-hour-card .rt-hour-track{height:44px}
  .rt-page .rt-hour-card .rt-hour-row>time{height:31px;font-size:14px}
  .rt-page .rt-hour-axis>span,.rt-page .rt-hour-axis>div>span{font-size:10px}
  .rt-page .rt-hour-card .rt-hour-total{font-size:11px}
}
