/* Rapid ORBIT v2.4.9 — notification centre, tooltip-first pages and Weld v0.3.0 integration. */

/* Notifications are persistent in the top-right bell; legacy popup toasts are disabled. */
.toast-stack{display:none!important}
.notification-menu-wrap{position:relative;display:flex;align-items:center}
.notification-button{position:relative;display:grid!important;place-items:center}
.notification-button.has-unread{border-color:rgba(64,174,255,.55);box-shadow:0 0 0 1px rgba(36,152,255,.13),0 0 18px rgba(36,152,255,.18)}
.notification-dot{position:absolute;top:4px;right:4px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid var(--shell);border-radius:999px;background:#f24e45;color:#fff;font-size:10px;font-weight:900;line-height:1}
.notification-dot[hidden]{display:none!important}
.notification-popover{right:0;left:auto;width:min(430px,calc(100vw - 22px));max-height:min(620px,78vh);padding:0;overflow:hidden}
.notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid var(--line);background:rgba(36,152,255,.045)}
.notification-head>div{display:grid;gap:3px}.notification-head b{font-size:16px}
.notification-clear{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:rgba(255,255,255,.035);color:var(--muted);font-size:11px;font-weight:850;cursor:pointer}
.notification-list{display:grid;max-height:min(540px,68vh);overflow:auto;scrollbar-width:thin;scrollbar-color:#31526c transparent}
.notification-empty{padding:28px 16px;color:var(--muted);font-size:14px;text-align:center}
.notification-item{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.012)}
.notification-item:last-child{border-bottom:0}.notification-item.unread{background:rgba(36,152,255,.065)}
.notification-marker{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(111,194,255,.3);border-radius:50%;background:rgba(36,152,255,.09);color:var(--blue-2);font-weight:900}
.notification-item.good .notification-marker{border-color:rgba(112,227,91,.32);background:rgba(112,227,91,.08);color:var(--green-2)}
.notification-item.warning .notification-marker{border-color:rgba(255,189,66,.36);background:rgba(255,189,66,.09);color:#ffd47d}
.notification-item.danger .notification-marker{border-color:rgba(242,78,69,.4);background:rgba(242,78,69,.1);color:#ff8c86}
.notification-content{min-width:0}.notification-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.notification-title-row b{font-size:13.5px}.notification-title-row time{color:var(--subtle);font-size:10.5px;white-space:nowrap}.notification-content p{margin:4px 0 0;color:var(--muted);font-size:12.5px;line-height:1.42}.notification-content small{display:block;margin-top:6px;color:var(--subtle);font-size:10.5px}

/* Top row visual parity and stronger speed awareness. */
.mode-pill b,.state-pill b,.compact-status b,.status-pill b,.top-prompt-chip b,.top-prompt-chip{font-size:var(--top-label-size)!important;font-weight:850!important;letter-spacing:.025em}
.global-speed-card{outline:1px solid rgba(104,207,255,.16);outline-offset:2px}
.global-speed-card:hover,.global-speed-card:focus-visible{box-shadow:0 0 0 2px rgba(88,194,255,.24),0 0 34px rgba(36,152,255,.32),inset 0 0 28px rgba(36,152,255,.18)!important}
.mode-manual .global-speed-card:hover,.mode-manual .global-speed-card:focus-visible{box-shadow:0 0 0 2px rgba(255,189,66,.25),0 0 34px rgba(255,189,66,.32),inset 0 0 28px rgba(255,189,66,.17)!important}

/* Tooltip-first ORBIT and Manual composition. */
.orbit-title-with-tip{display:flex;align-items:flex-start;gap:8px;min-width:0}.orbit-title-with-tip>div{min-width:0}.orbit-title-with-tip .info-tip{margin-top:1px}
.orbit-toolbar-info{display:flex;align-items:center;justify-content:center;min-width:28px}
.orbit-context-subtitle[hidden],.orbit-inspector-summary[hidden]{display:none!important}
.orbit-graph-help{position:absolute;right:12px;bottom:12px;z-index:8}
.orbit-section-title{align-items:center}.orbit-section-title .info-tip{width:22px;height:22px;font-size:11px}
.orbit-context-panel,.orbit-inspector-panel{font-size:14px}.orbit-context-list b,.orbit-pinned-list b,.orbit-inspector-rows b,.orbit-inspector-rows span{font-size:13px!important}
.orbit-graph-node b{font-size:clamp(12px,.82vw,15px)!important}.orbit-graph-node small{font-size:clamp(10px,.68vw,12px)!important}
.orbit-inspector-heading h2,.orbit-context-heading h2{font-size:20px!important}

.panel-title-tools{display:flex;align-items:center;gap:8px}.selected-axis-value{display:flex;align-items:center;justify-content:flex-end;gap:8px}.selected-axis-value b{font-size:21px}
.manual-empty-state{gap:8px}.manual-empty-state .info-tip{margin-inline:auto}.preview-result{display:flex;align-items:center;justify-content:space-between;gap:8px}.preview-result .info-tip{width:24px;height:24px}
.simulation-status{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.simulation-status h3{margin:0}
.saved-point{grid-template-columns:auto minmax(0,1fr) auto!important}.saved-point b{font-size:14px!important}.saved-point .saved-point-info{grid-column:3;grid-row:1/3;align-self:center}.saved-point small[hidden]{display:none!important}
.teach-history p,.teach-frame-row b,.manual-step-field span,.jog-direction span,.manual-safety-state b{font-size:13px!important}.manual-safety-state small{font-size:12px!important;line-height:1.4}

/* Settings readability, especially the left category tree on 13-inch screens. */
.rr1515-settings-module .settings-group-button b,.rr1515-settings-module .settings-subsection-button b,.rr1515-settings-module [data-settings-group] b,.rr1515-settings-module [data-settings-section] b{font-size:14px!important;line-height:1.25}
.rr1515-settings-module .settings-group-button,.rr1515-settings-module .settings-subsection-button,.rr1515-settings-module [data-settings-group],.rr1515-settings-module [data-settings-section]{min-height:46px!important;padding-block:9px!important}
.rr1515-settings-module .settings-group-button small,.rr1515-settings-module .settings-subsection-button small{font-size:11.5px!important}
.rr1515-settings-module .field span,.rr1515-settings-module dt,.rr1515-settings-module dd,.rr1515-settings-module td{font-size:12.5px!important}

/* CAM application selector owns the application frame; the module's duplicate toolbar is hidden. */
.cam-module-host .orbit-weld-toolbar{display:none!important}
.cam-module-host .orbit-weld-module{grid-template-rows:minmax(0,1fr)!important;height:100%;font-size:15px}
.page-cam .cam-workspace-header{min-height:58px}.page-cam .cam-workspace-tabs>button b{font-size:13px!important}.page-cam .cam-workspace-heading strong{font-size:18px!important}
.orbit-weld-module .weld-workflow button{grid-template-columns:34px minmax(0,1fr) 25px!important;min-height:50px!important;padding:8px 9px!important}.orbit-weld-module .weld-workflow button b{font-size:13.5px!important}.orbit-weld-module .weld-workflow button>i:first-child{font-size:11px!important}.orbit-weld-module .weld-workflow button small[hidden]{display:none!important}.orbit-weld-module .weld-workflow .info-tip{grid-column:3;grid-row:1;align-self:center;width:23px;height:23px}
.orbit-weld-module .panel-title-row h2{font-size:19px!important}.orbit-weld-module .panel-title-row h3{font-size:17px!important}.orbit-weld-module .field>span,.orbit-weld-module .field span{font-size:12.5px!important}.orbit-weld-module .field input,.orbit-weld-module .field select,.orbit-weld-module .field textarea{font-size:14px!important;min-height:42px!important}.orbit-weld-module .status-list dt,.orbit-weld-module .status-list dd{font-size:12.5px!important}
.orbit-weld-module .weld-seam-frame-panel{border-color:rgba(60,181,255,.58)!important;background:linear-gradient(180deg,rgba(13,39,58,.98),rgba(5,21,33,.98))!important;box-shadow:0 0 0 1px rgba(36,152,255,.12),0 0 28px rgba(36,152,255,.16),inset 0 0 34px rgba(36,152,255,.055)!important}
.orbit-weld-module .weld-seam-frame-panel .eyebrow{color:#7ed8ff!important;font-size:12px!important}.orbit-weld-module .weld-frame-diagram{min-height:220px!important;border-color:rgba(80,190,255,.4)!important;box-shadow:inset 0 0 25px rgba(36,152,255,.08)}.orbit-weld-module .weld-frame-diagram text{font-size:12px!important}.orbit-weld-module .weld-frame-data dt{font-size:11.5px!important}.orbit-weld-module .weld-frame-data dd{font-size:14px!important}.orbit-weld-module .weld-frame-poses span{font-size:11px!important}.orbit-weld-module .weld-frame-poses code{font-size:12.5px!important}
.orbit-weld-module .weld-preview-head>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:8px}.orbit-weld-module .weld-preview-head .eyebrow,.orbit-weld-module .weld-preview-head h2{grid-column:1}.orbit-weld-module .weld-frame-info{grid-column:2;grid-row:1/3;align-self:center}
.orbit-weld-module .weld-process-family-grid button{grid-template-columns:minmax(0,1fr) auto auto!important}.orbit-weld-module .weld-process-family-grid button small[hidden]{display:none!important}.orbit-weld-module .weld-process-family-grid .info-tip{grid-column:2;grid-row:1/3;align-self:center}.orbit-weld-module .weld-process-family-grid em{grid-column:3!important}

body.pendant-layout .notification-popover{position:fixed;top:calc(var(--topbar) - 2px);right:8px;left:auto;width:min(430px,calc(100vw - 16px));max-height:calc(100vh - var(--topbar) - var(--telemetry) - var(--pendant-nav) - 12px)}
body.pendant-layout .notification-button{display:grid!important}
body.pendant-layout .orbit-navigator-layout{grid-template-columns:minmax(225px,.8fr) minmax(520px,2.3fr) minmax(245px,.9fr)!important}
body.pendant-layout .orbit-context-list b,body.pendant-layout .orbit-pinned-list b,body.pendant-layout .orbit-inspector-rows b,body.pendant-layout .orbit-inspector-rows span{font-size:13.5px!important}
body.pendant-layout .pendant-nav button span{font-size:11.5px!important}.pendant-nav button svg{width:26px!important;height:26px!important}
body.pendant-layout .orbit-weld-module .weld-layout{grid-template-columns:236px minmax(560px,2.35fr) 315px!important}.orbit-weld-module .weld-center-stack{grid-template-rows:minmax(360px,1.35fr) minmax(250px,.9fr)!important}

body.theme-industrial-white .notification-popover,body.theme-industrial-white .notification-item{background:#fff;color:#152a37}body.theme-industrial-white .notification-item.unread{background:#eaf5fc}body.theme-industrial-white .notification-content p{color:#536b7b}body.theme-industrial-white .notification-marker{border-color:rgba(25,118,183,.35);background:rgba(25,118,183,.08)}
body.theme-industrial-white .orbit-weld-module .weld-seam-frame-panel{color:#eaf6ff!important}

@media(max-width:1380px){
  .notification-popover{width:min(390px,calc(100vw - 18px))}
  body.pendant-layout .orbit-navigator-layout{grid-template-columns:minmax(210px,.78fr) minmax(485px,2.2fr) minmax(230px,.84fr)!important}
  body.pendant-layout .orbit-weld-module .weld-layout{grid-template-columns:220px minmax(510px,2.25fr) 292px!important}
  body.pendant-layout .orbit-weld-module .weld-center-stack{grid-template-rows:minmax(330px,1.3fr) minmax(225px,.85fr)!important}
}
@media(max-width:1120px){
  .orbit-weld-module .weld-frame-workspace{grid-template-columns:1fr!important}.orbit-weld-module .weld-frame-diagram{min-height:190px!important}
}
