/* Approved Rafid glass system. Geometry stays LTR; text direction is local. */
.rf-root .ops-login-toggle{display:flex;align-items:center;justify-content:flex-start;gap:6px;grid-column:1/-1;direction:ltr!important}.rf-root .ops-login-toggle>label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;direction:ltr!important;cursor:pointer}.rf-root .ops-login-toggle input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;margin:0}.rf-root .ops-login-toggle .rf-help{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;flex:none}
.rf-root .ops-employee-sections{display:block}.ops-employee-section{margin:22px 0 28px}.ops-employee-section hr{border:0;border-top:1px solid var(--rf-border);margin:0 0 12px}.rf-root .ops-employee-section h3{font-size:17px;margin:0 0 16px}.ops-employee-section [hidden]{display:none!important}
.rf-root .ops-calendar{padding:24px}.ops-calendar-toolbar,.ops-agenda-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;direction:ltr}.ops-calendar-toolbar h3{font-size:24px;margin:0}.ops-calendar-toolbar small{color:var(--rf-muted)}.ops-weekdays,.ops-month-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));direction:ltr!important;gap:6px}.ops-weekdays{margin-top:24px;margin-bottom:8px;text-align:center;font-size:12px;color:var(--rf-muted)}.rf-root .ops-day{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:74px;padding:10px 8px;background:var(--rf-field)!important;color:var(--rf-text)!important;border:1px solid var(--rf-border);border-radius:12px;text-align:center}.rf-root .ops-day:hover{border-color:var(--rf-accent);background:var(--rf-hover)!important}.ops-day.outside{opacity:.45}.rf-root .ops-day.selected{background:var(--rf-selection)!important;border:2px solid var(--rf-accent)}.ops-day-number{display:grid;place-items:center;align-self:center;width:28px;height:28px;border-radius:50%;font-weight:600}.ops-day.today .ops-day-number{background:var(--rf-accent);color:var(--rf-on-accent)}.ops-day-events{display:grid;gap:3px;font-size:10px;text-align:start}.ops-day-events>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ops-day-count{font-size:10px;color:var(--rf-accent);font-weight:700}.ops-agenda{border-top:1px solid var(--rf-border);margin-top:24px;padding-top:20px}.ops-agenda-head h3{margin:0;font-size:18px}.ops-agenda-list{display:grid;gap:10px;margin-top:14px}.rf-root .ops-event{display:grid;gap:5px;text-align:start;background:var(--rf-field)!important;color:var(--rf-text)!important;border:1px solid var(--rf-border);border-left:3px solid var(--rf-accent);padding:15px;min-width:0;overflow-wrap:anywhere}.ops-event span,.ops-event small{color:var(--rf-muted);font-weight:400}.rf-root .ops-calendar-dialog{width:min(650px,calc(100vw - 32px));padding:24px}.rf-root .ops-calendar-dialog form{margin:0;padding:0;background:transparent;border:0}.rf-root .ops-calendar-dialog h2{font-size:22px}.rf-root .ops-calendar-dialog form h3{display:none}.ops-calendar-dialog [role=alert],.ops-days-error{color:var(--rf-danger)}.ops-workdays{grid-column:1/-1;border:0;padding:0;margin:0;min-width:0}.ops-workdays>div{display:flex;gap:8px;flex-wrap:wrap;direction:ltr!important}.ops-workdays legend{font-size:13px;margin-bottom:8px}.rf-root .ops-workdays label{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--rf-border);border-radius:10px;background:var(--rf-field);cursor:pointer;margin:0}.rf-root .ops-workdays label:has(input:checked){background:var(--rf-selection);border-color:var(--rf-accent)}.rf-root .ops-workdays input{width:16px;min-height:16px;height:16px;accent-color:var(--rf-accent)}.rf-root .ops-workdays label:focus-within{outline:2px solid var(--rf-focus);outline-offset:2px}.ops-days-error:empty{display:none}@media(max-width:850px){.rf-root .ops-calendar{padding:8px}.ops-weekdays,.ops-month-days{gap:2px}.ops-weekdays{font-size:10px}.rf-root .ops-day{min-height:54px;padding:5px 1px;border-radius:8px}.ops-day-number{width:24px;height:24px}.ops-day-events{display:none}.ops-calendar-toolbar h3{font-size:20px}.ops-calendar-toolbar .actions{gap:5px}.ops-calendar-toolbar .actions button{font-size:11px;padding:8px}.rf-root .ops-workdays label{flex:1 0 calc(33.333% - 8px);justify-content:center;padding:8px 5px}.rf-root .ops-calendar-dialog{padding:18px}}
.rf-root{--lime:var(--rf-accent);--lime-soft:color-mix(in srgb,var(--rf-accent) 12%,transparent);--rf-selection:color-mix(in srgb,var(--rf-accent) 10%,transparent);--rf-hover:color-mix(in srgb,var(--rf-accent) 6%,transparent)}.rf-root tbody tr.selected,.rf-root tbody tr.selected:hover{background:var(--rf-selection)!important;box-shadow:inset -2px 0 var(--rf-accent)}.rf-root .pill.lime{color:var(--rf-accent);background:var(--lime-soft);border-color:color-mix(in srgb,var(--rf-accent) 35%,transparent)}
.rf-inventory-list{display:grid;gap:14px;padding:18px}.rf-inventory-item{border:1px solid var(--rf-border);border-radius:14px;padding:18px;min-width:0}.rf-inventory-summary{display:flex;justify-content:space-between;gap:16px;align-items:start;direction:ltr}.rf-inventory-summary h3{margin:0;font-size:16px}.rf-inventory-summary>div{min-width:0;overflow-wrap:anywhere}.rf-inventory-tags{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.rf-inventory-evidence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0;direction:ltr}.rf-inventory-evidence>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.rf-inventory-item summary{cursor:pointer;color:var(--rf-accent);padding:8px 0}.rf-inventory-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid var(--rf-border);padding-top:16px;direction:ltr}.rf-inventory-details dt{color:var(--rf-muted);font-size:12px}.rf-inventory-details dd{margin:4px 0 0;overflow-wrap:anywhere;min-width:0}.rf-inventory-details [translate=no]{direction:ltr;unicode-bidi:isolate}.rf-root #view-inventory .table-wrap{max-height:none;overflow:visible}.rf-root #view-inventory table{min-width:0;width:100%;table-layout:fixed}.rf-root #view-inventory td,.rf-root #view-inventory th{overflow-wrap:anywhere}.rf-inventory-field{min-width:0}@media(max-width:850px){.rf-inventory-list{padding:12px}.rf-inventory-item{padding:14px}.rf-inventory-summary{flex-wrap:wrap}.rf-inventory-evidence{grid-template-columns:repeat(2,minmax(0,1fr))}.rf-inventory-details{grid-template-columns:1fr}.rf-root #view-inventory td,.rf-root #view-inventory th{padding:8px;font-size:11px}}
.rf-root .grid-business>*{min-width:0}.rf-root .panel-head{flex-wrap:wrap;gap:12px}.rf-root .grid-business .panel-head .toolbar{min-width:0;max-width:100%}
.rf-root .rf-sidebar .nav{display:flex;flex-direction:column;overflow:visible}.rf-root .rf-sidebar .nav .label,.rf-root .rf-sidebar .rail-foot,.rf-root .rf-sidebar .status-line span{display:block}.rf-root .rf-sidebar .nav button{justify-content:flex-start;gap:12px;padding:11px 13px;min-width:0;flex:0 0 auto}
:root{--rf-page:#f5f2ed;--rf-surface:#fffdfa;--rf-glass:rgba(255,253,250,.78);--rf-text:#192823;--rf-muted:#52645d;--rf-accent:#216f69;--rf-on-accent:#fff;--rf-border:rgba(77,110,97,.2);--rf-field:rgba(255,253,250,.92);--rf-shadow:0 8px 30px rgba(35,48,42,.055);--rf-sidebar:linear-gradient(150deg,rgba(139,184,174,.26),rgba(94,154,145,.12) 48%,rgba(92,151,143,.3));--rf-danger:#a52b36;--rf-focus:#175f9b}
:root[data-theme=dark]{color-scheme:dark;--rf-page:#171b1a;--rf-surface:#242d29;--rf-glass:rgba(36,45,41,.84);--rf-text:#f0f5f1;--rf-muted:#b8c9bf;--rf-accent:#8fd4c9;--rf-on-accent:#102b25;--rf-border:rgba(164,196,182,.22);--rf-field:rgba(25,32,29,.94);--rf-shadow:0 10px 30px rgba(0,0,0,.15);--rf-sidebar:linear-gradient(145deg,rgba(60,112,105,.55),rgba(35,57,54,.78) 55%,rgba(51,94,87,.58));--rf-danger:#ffadb6;--rf-focus:#a8d5ff}
.rf-root{--ink:var(--rf-text);--text:var(--rf-text);--muted:var(--rf-muted);--paper:var(--rf-page);--paper2:var(--rf-surface);--panel:var(--rf-surface);--panel2:var(--rf-field);--line:var(--rf-border);--green:var(--rf-accent);--mint:var(--rf-accent);--aqua:var(--rf-accent);--radius:20px;--shadow:var(--rf-shadow);margin:0;background:var(--rf-page)!important;color:var(--rf-text);font:14px/1.6 system-ui,'Segoe UI','Noto Sans Arabic',Tahoma,Arial,sans-serif;direction:ltr;min-height:100vh}
.rf-root:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(125deg,transparent 20%,rgba(137,130,116,.035) 20.1%,transparent 20.5%,transparent 70%,rgba(137,130,116,.035) 70.2%,transparent 71%),radial-gradient(ellipse at 20% 5%,rgba(255,255,255,.25),transparent 60%)}
.rf-root *{box-sizing:border-box}.rf-root .shell{max-width:1700px;margin:0 auto;padding:28px 304px 90px 32px;direction:ltr}.rf-root .rf-sidebar{position:fixed;right:18px;left:auto;top:18px;bottom:18px;width:248px;height:calc(100dvh - 36px);padding:28px 16px;overflow:auto;z-index:40;border:1px solid var(--rf-border);border-radius:22px;background:var(--rf-sidebar);box-shadow:var(--rf-shadow);backdrop-filter:blur(22px);direction:ltr;color:var(--rf-text)}
.rf-brand{padding:0 12px 28px;display:grid;gap:3px;text-align:center;direction:ltr;unicode-bidi:isolate}.rf-brand strong{font-size:27px;line-height:1.2;letter-spacing:-.7px;color:var(--rf-accent);overflow-wrap:anywhere}.rf-brand small{font-size:11px;letter-spacing:.4px;color:var(--rf-muted)}
.rf-root .rf-sidebar .nav,.rf-root .rf-sidebar nav{position:static;display:flex;flex-direction:column;gap:7px;padding:0;margin:0;width:100%;border:0;background:transparent;overflow:visible;backdrop-filter:none}.rf-root .rf-sidebar button[data-view],.rf-root .rf-sidebar button[data-tab]{display:flex;align-items:center;gap:11px;flex-direction:row-reverse;justify-content:flex-start;text-align:right;white-space:normal;font-size:13px;font-weight:500;min-height:44px;padding:10px 13px;border-radius:10px;border:1px solid transparent;color:var(--rf-text);background:transparent;box-shadow:none;transform:none;transition:background 180ms,border-color 180ms}
.rf-root .rf-sidebar button.active{background:rgba(106,167,155,.18);border-color:var(--rf-border);box-shadow:inset -2px 0 var(--rf-accent)}.rf-root .rf-sidebar button:hover{background:rgba(106,167,155,.12)}.rf-root svg.rf-icon{width:20px;height:20px;flex:0 0 20px;stroke-width:1.5}.rf-root .rf-sidebar .rf-nav-group{font-size:10px;color:var(--rf-muted);padding:15px 12px 3px;text-align:right}
.rf-root .topbar{min-height:68px;padding:0 0 20px;margin:0 0 24px;border:0;border-bottom:1px solid var(--rf-border);border-radius:0;background:transparent!important;box-shadow:none!important;backdrop-filter:none;direction:ltr}.rf-root .topbar .brand h1{font-size:25px;font-weight:650}.rf-root .topbar .brand small{font-size:13px}.rf-root h2{font-size:23px;font-weight:650;line-height:1.35}.rf-root h3{font-size:17px;font-weight:600}.rf-root .card,.rf-root .panel,.rf-root .stat{background:var(--rf-glass)!important;border:1px solid var(--rf-border);border-radius:20px;box-shadow:var(--rf-shadow);backdrop-filter:blur(12px)}
.rf-root .stat:after{display:none}.rf-root .stat{padding:20px}.rf-root .stat b,.rf-root .stat strong{font-size:28px;font-weight:550;color:var(--rf-text)}.rf-root .stat span{font-size:12px;letter-spacing:0;text-transform:none;font-weight:400}.rf-root .panel-title{padding:20px 22px}.rf-root .panel-title h2{font-size:18px}.rf-root .muted{color:var(--rf-muted);font-size:12px}.rf-root .btn,.rf-root button{font-family:inherit;font-weight:550;border:1px solid transparent;border-radius:10px;background:var(--rf-accent);color:var(--rf-on-accent);padding:10px 15px;line-height:1.45;transition:transform 160ms,background 160ms}.rf-root .btn:not(.secondary):not(.ghost):not(.danger){background:var(--rf-accent)!important;color:var(--rf-on-accent)!important}.rf-root .btn.secondary,.rf-root .btn.ghost{background:var(--rf-glass)!important;border-color:var(--rf-border);color:var(--rf-text)!important;box-shadow:none}.rf-root .btn.danger{background:transparent!important;color:var(--rf-danger)!important;border-color:var(--rf-border)}.rf-root a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.rf-root button:disabled{opacity:.5;cursor:not-allowed;transform:none}.rf-root button:hover{box-shadow:none}.rf-root :focus-visible{outline:2px solid var(--rf-focus);outline-offset:3px}
.rf-root input,.rf-root select,.rf-root textarea{font:inherit;color:var(--rf-text)!important;background:var(--rf-field)!important;border:1px solid var(--rf-border)!important;border-radius:10px;padding:10px 12px;min-height:42px;min-width:0;max-width:100%}.rf-root input[type=checkbox]{min-height:auto;width:auto;accent-color:var(--rf-accent)}.rf-root .field label{font-size:12px;letter-spacing:0;text-transform:none;font-weight:550;color:var(--rf-muted)!important}.rf-root .detail-box,.rf-root .list-item,.rf-root .section-box,.rf-root .field-row{background:var(--rf-field)!important;border-color:var(--rf-border);border-radius:14px}.rf-root th{background:var(--rf-surface)!important;color:var(--rf-muted)!important;font-size:11px;letter-spacing:0;text-transform:none;font-weight:500}.rf-root td{font-size:13px}.rf-root th,.rf-root td{border-color:var(--rf-border);padding:15px 16px}.rf-root tbody tr:hover{background:var(--rf-hover)!important}.rf-root .table-wrap,.rf-root .table{overflow:auto;max-width:100%}.rf-root .pill{font-size:11px;font-weight:500}.rf-root .drawer{z-index:70;background:rgba(20,28,25,.3);backdrop-filter:blur(7px)}.rf-root .drawer-panel,.rf-root dialog{background:var(--rf-glass)!important;border:1px solid var(--rf-border);backdrop-filter:blur(28px);box-shadow:0 24px 70px rgba(0,0,0,.2);border-radius:24px;max-height:calc(100dvh - 40px);overflow:auto;color:var(--rf-text)}.rf-root dialog::backdrop{background:rgba(20,28,25,.3);backdrop-filter:blur(7px)}
.rf-root .utility-controls{left:32px;bottom:20px;direction:ltr}.rf-root .utility-controls button{box-shadow:none;min-width:80px}.rf-root .login{padding:40px}.rf-root .login-logo{display:none}.rf-root .login h1{font-size:30px;margin:10px 0}.rf-root .login .rf-brand{padding:0 0 25px}.rf-root .view.active{animation:rf-reveal 180ms ease}.rf-root .calendar-day,.rf-root .calendar-weekdays{background:var(--rf-field)!important;color:var(--rf-text)!important}.rf-root .calendar-day.selected{box-shadow:inset 0 0 0 2px var(--rf-accent)}
.rf-root .rf-workspaces .grid2{display:block}.rf-root .rf-workspaces .grid2>.card{background:transparent!important;border:0;box-shadow:none;backdrop-filter:none}.rf-root .rf-workspace-cards{display:grid;gap:14px}.rf-root .rf-workspace-card{padding:22px;border:1px solid var(--rf-border);border-radius:18px;background:var(--rf-glass);box-shadow:var(--rf-shadow);transition:transform 160ms}.rf-root .rf-workspace-card:hover{transform:translateY(-3px);border-color:var(--rf-accent)}.rf-root .rf-workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.rf-root .rf-workspace-head h3{margin:0}.rf-root .rf-workspace-card .actions{margin-top:14px}.rf-root .rf-workspace-card details{margin-top:16px}.rf-root .rf-workspace-card summary{cursor:pointer;color:var(--rf-muted)}.rf-root .rf-workspace-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px}.rf-root .rf-workspaces .panel-title{padding:0 0 24px}.rf-root #rf-create-workspace{width:min(760px,calc(100vw - 32px));padding:26px}.rf-root #rf-create-workspace .sidebar{padding:0;background:none!important;border:0;box-shadow:none}
.rf-root .rf-menu{display:none}.rf-shade{display:none}.rf-root .rf-help{display:inline-grid;place-items:center;padding:0;width:22px;height:22px;min-height:22px;border-radius:50%;background:transparent;color:var(--rf-muted);border:1px solid var(--rf-border)}
.rf-root .app{display:block;direction:ltr}.rf-root .app>main{padding:30px 304px 85px 32px}.rf-root .app>main>header{padding-bottom:18px;border-bottom:1px solid var(--rf-border);margin-bottom:20px}.rf-root .app>main>header h2{margin:0}.rf-root .app form{background:var(--rf-glass);border-color:var(--rf-border);border-radius:20px;padding:24px}.rf-root .app .fields{direction:ltr}.rf-root .app .stats{gap:14px}.rf-root .app .stat{margin:0}.rf-root .app aside>button{margin-top:12px}.rf-root #notice.error{color:var(--rf-danger);background:var(--rf-surface)}
html[data-language=ar] .rf-root :is(h1,h2,h3,h4,p,label,th,td,.muted,.notice,.empty,summary){direction:rtl;text-align:right}html[data-language=en] .rf-root :is(h1,h2,h3,h4,p,label,th,td,.muted,.notice,.empty,summary){direction:ltr;text-align:left}.rf-root :is(.form-grid,.fields,.detail-grid,.grid2,.stats,.actions,.toolbar,.panel-title,.drawer-head,.calendar-layout,.calendar-grid,.calendar-weekdays,.field-row,.option){direction:ltr}.rf-root input,.rf-root textarea{unicode-bidi:plaintext}.rf-root [translate=no]{unicode-bidi:isolate}.rf-root .rf-brand,.rf-root .rf-brand *{direction:ltr!important;text-align:center!important}
@keyframes rf-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.rf-root .shell,.rf-root .app>main{padding-right:282px;padding-left:22px}.rf-root .grid2,.rf-root .calendar-layout{grid-template-columns:1fr}}
@media(max-width:850px){.rf-root .shell,.rf-root .app>main{padding:80px 16px 85px}.rf-root .rf-sidebar{transform:translateX(290px);transition:transform 180ms;right:10px;top:10px;bottom:10px;height:calc(100dvh - 20px);z-index:90}.rf-nav-open .rf-root .rf-sidebar{transform:none}.rf-root .rf-menu{display:grid;place-items:center;position:fixed;right:18px;top:18px;z-index:60;width:44px;height:44px;padding:10px}.rf-nav-open .rf-shade{display:block;position:fixed;inset:0;background:rgba(15,26,21,.45);backdrop-filter:blur(4px);z-index:80}.rf-root .topbar{flex-wrap:wrap}.rf-root .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rf-root .fields,.rf-root .form-grid,.rf-root .detail-grid{grid-template-columns:1fr}.rf-root .span2{grid-column:auto}.rf-root .app nav{grid-template-columns:none}.rf-root .rf-workspace-head{align-items:flex-start;flex-wrap:wrap}.rf-root .utility-controls{left:16px;bottom:16px}.rf-root .field-row{grid-template-columns:1fr 1fr}.rf-root .toolbar input{min-width:0}.rf-root dialog,.rf-root .drawer-panel{max-height:calc(100dvh - 24px)}.rf-root .app .option{grid-template-columns:1fr}.rf-root .brand h1{font-size:22px}.rf-root .login{padding:28px}}
@media(prefers-reduced-motion:reduce){.rf-root *,.rf-root *:before,.rf-root *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rf-root .rf-workspace-card:hover{transform:none}}
@media(prefers-reduced-transparency:reduce){.rf-root .card,.rf-root .panel,.rf-root dialog,.rf-root .drawer-panel,.rf-root .rf-workspace-card,.rf-root .rf-sidebar{background:var(--rf-surface)!important;backdrop-filter:none!important}}
@supports not(backdrop-filter:blur(1px)){.rf-root .card,.rf-root dialog,.rf-root .rf-sidebar{background:var(--rf-surface)!important}}
.rf-root .rf-sidebar .nav button.btn,.rf-root .rf-sidebar .subnav button.btn{background:transparent!important;color:var(--rf-text)!important;border-color:transparent;box-shadow:none;font-weight:500}.rf-root .rf-sidebar .nav button.btn.active,.rf-root .rf-sidebar .subnav button.btn.active{background:rgba(106,167,155,.18)!important;border-color:var(--rf-border);box-shadow:inset -2px 0 var(--rf-accent)}
:root[data-theme=dark] .rf-root:before{background:linear-gradient(125deg,transparent 20%,rgba(155,169,161,.018) 20.1%,transparent 20.5%,transparent 70%,rgba(155,169,161,.018) 70.2%,transparent 71%)}
.rf-root .rf-workspace-card{padding:17px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px}.rf-root .rf-workspace-head{grid-column:1;grid-row:1}.rf-root .rf-workspace-meta{grid-column:1;margin:0}.rf-root .rf-workspace-card>.actions{grid-column:2;grid-row:1/3;align-self:center;margin:0}.rf-root .rf-workspace-card>details{grid-column:1/-1;margin:0;font-size:12px}.rf-root .rf-workspace-card>details .actions{margin-top:12px}.rf-root .rf-workspace-card .muted{margin:4px 0}
.rf-root .rafid-support-launcher{background:var(--rf-surface)!important;color:var(--rf-text)!important;border-color:var(--rf-border);box-shadow:var(--rf-shadow);border-radius:14px}.rf-root .rafid-support-launcher .rafid-mark{width:30px;height:30px;filter:grayscale(1);opacity:.8}.rf-root .rafid-support-dot{background:var(--rf-accent);box-shadow:none}.rf-root .rafid-support{left:32px;right:auto;bottom:32px;max-width:calc(100% - 64px)}.rf-root .rafid-support-panel{max-width:100%}.rf-root .utility-controls{position:static;display:flex;justify-content:flex-start;margin:0;padding:12px 0;gap:8px}.rf-root .rf-sidebar>.utility-controls{position:static;margin-top:18px;padding:15px 4px;border-top:1px solid var(--rf-border)}.rf-root>.utility-controls{position:fixed;left:20px;bottom:16px}.rf-root .rf-help-popover{position:fixed;inset:auto;margin:0;width:min(310px,calc(100vw - 24px));padding:16px;border:1px solid var(--rf-border);border-radius:15px;background:var(--rf-glass);backdrop-filter:blur(24px);color:var(--rf-text);box-shadow:0 10px 30px rgba(0,0,0,.16);font:13px/1.7 system-ui,Tahoma,sans-serif}.rf-root .rf-confirm{width:min(460px,calc(100vw - 24px));padding:26px}.rf-root .ops-delete-dialog>form{background:transparent;border:0}.rf-root .rf-help{margin:3px 0;justify-self:end}.rf-root .rf-sidebar .subnav{display:flex;flex-direction:column;width:100%;border:0;background:transparent;position:static}.rf-root .rf-sidebar [data-subview]{display:flex;align-items:center;gap:10px;flex-direction:row-reverse;justify-content:flex-start;min-height:44px}.rf-root .language-utility{left:20px;right:auto;inset-inline-start:auto;direction:ltr}.rf-root .rail-foot{position:static;margin-top:24px}.rf-root .rail .key{display:none}.rf-root .app .main{margin:0;max-width:none}.rf-root .app .top{background:transparent;border-bottom:1px solid var(--rf-border)}.rf-root .dialog{background:var(--rf-glass);border-color:var(--rf-border);color:var(--rf-text);backdrop-filter:blur(24px)}.rf-root .layout{direction:ltr}.rf-root .error,.rf-root .alert{color:var(--rf-danger);background:var(--rf-surface)}
@media(max-width:850px){.rf-root .rf-workspace-card{grid-template-columns:1fr}.rf-root .rf-workspace-card>.actions{grid-column:1;grid-row:auto;justify-content:flex-start}.rf-root .rafid-support{left:16px;right:auto;bottom:16px;max-width:calc(100% - 32px)}.rf-root .rafid-support-panel{height:min(620px,calc(100dvh - 96px))}.rf-root .rf-sidebar>.utility-controls{position:static}.rf-root .layout{grid-template-columns:1fr}.rf-root .rf-sidebar .subnav{position:static}}
.rf-root .rf-sidebar .nav button.btn.active,.rf-root .rf-sidebar .subnav button.btn.active{color:var(--rf-text)!important}.rf-root #rf-create-workspace>.sidebar{background:transparent!important;border:0;box-shadow:none;backdrop-filter:none}.rf-root #rf-create-workspace>.sidebar>h2{display:none}.rf-root #rf-create-workspace>.sidebar{padding:0}.rf-root .rf-sidebar>.language-utility{position:static;inset:auto}.rf-root{--bg:var(--rf-page);--surface:var(--rf-surface);--surface-2:var(--rf-field);--surface-3:var(--rf-glass);--accent:var(--rf-accent);--accent-2:var(--rf-accent);--border:var(--rf-border)}.rf-root .rail{width:248px}.rf-root .app .eyebrow{color:var(--rf-muted);letter-spacing:.04em}.rf-root .panel-head,.rf-root .dialog-head{border-color:var(--rf-border)}.rf-root .app .stat strong{color:var(--rf-text)}.rf-root .app .panel-head h3{color:var(--rf-text)}.rf-root .table-wrap table{min-width:580px}.rf-root .dialog-body{min-width:0;overflow:auto}.rf-root .rf-sidebar [data-subview]{font-weight:500}.rf-root .rf-sidebar nav button{color:var(--rf-text)!important}.rf-root .rf-workspace-card{padding:14px 18px;gap:5px 24px}.rf-root .rf-workspace-card h3{font-size:16px}.rf-root .rf-workspace-card .rf-workspace-meta{font-size:12px}.rf-root .rf-workspace-card details{font-size:11px}.rf-root .rf-workspace-card .muted{font-size:11px}.rf-root .rf-sidebar .nav .rf-nav-group{font-size:10px}.rf-label-help{display:flex;align-items:center;justify-content:space-between;gap:8px;direction:ltr}.rf-label-help label{margin:0}.rf-root .rf-label-help .rf-help{flex:0 0 28px;width:28px;height:28px;font-size:14px;margin:0}.rf-root .rf-template-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rf-root .rf-template-tile{display:grid;grid-template-columns:auto 1fr;gap:8px;border:1px solid var(--rf-border);border-radius:13px;padding:14px;background:var(--rf-field);cursor:pointer}.rf-root .rf-template-tile:has(input:checked){border-color:var(--rf-accent);background:rgba(106,167,155,.13)}.rf-root .rf-template-tile input{min-height:auto;align-self:center;width:16px;accent-color:var(--rf-accent)}.rf-root .rf-template-tile strong{font-size:17px}.rf-root .rf-template-tile span{grid-column:1/-1;font-size:12px;font-weight:400}.rf-root .rf-advanced{margin-top:20px;padding-top:16px;border-top:1px solid var(--rf-border)}.rf-root .rf-advanced summary{cursor:pointer;color:var(--rf-accent);margin-bottom:12px}.rf-root #rf-create-workspace .drawer-head{align-items:center;margin-bottom:18px;gap:8px;flex-wrap:wrap}.rf-root #rf-create-workspace .drawer-head h2{margin:0;flex:1}.rf-root #rf-create-workspace .drawer-head button{padding:8px 12px}.rf-root #rf-create-workspace form>.actions{padding:16px 0 0;position:sticky;bottom:-26px;background:var(--rf-surface);margin-bottom:0}.rf-root #rf-create-workspace .sidebar>p{margin:0 0 18px}.rf-root #rf-create-workspace [hidden]{display:none!important}
.rf-root .field{align-content:start}.rf-root .rf-template-tile{direction:ltr!important}.rf-root .rf-template-tile span{unicode-bidi:plaintext}.rf-root .rf-workspace-card .rf-workspace-head{min-width:0}.rf-root .rf-workspace-head>div{min-width:0;overflow-wrap:anywhere}.rf-root .rf-advanced>.form-grid{padding-top:12px}.rf-root .rf-sidebar .status-dot,.rf-root .rf-sidebar .dot{background:var(--rf-accent);box-shadow:none}
.rf-root .rf-label-help{justify-content:flex-start;gap:6px}.rf-root .rf-label-help label{flex:none}.rf-root .field select:not([multiple]),.rf-root .field input:not([type=checkbox]){height:44px}.rf-root #rf-create-workspace form>.actions{position:static;background:transparent}.rf-root .rf-template-tile{align-content:start}
.rf-root .rf-sidebar>button{background:var(--rf-field)!important;color:var(--rf-text)!important;border:1px solid var(--rf-border)}.rf-root .app .stats>.stat{min-height:110px}.rf-root .app .stat p{margin:8px 0 0}.rf-root .rf-sidebar .rf-brand{padding-top:4px}.rf-root .rf-label-help>span{direction:inherit}.rf-root .rf-workspace-meta b{font-weight:500}
.rf-root .app #notice:not(:empty){background:rgba(106,167,155,.14);border:1px solid var(--rf-border);color:var(--rf-text)}.rf-root .app #notice.error{background:var(--rf-surface);color:var(--rf-danger)}.rf-root .app button[data-action=clear],.rf-root .app button[data-action=reject]{background:var(--rf-field);color:var(--rf-text);border-color:var(--rf-border)}
.rf-root.rf-staff main.login{width:min(500px,calc(100vw - 32px));margin:10vh auto;padding:0}.rf-root.rf-staff main.login>.card{padding:32px}.rf-root.rf-staff .shell{padding-right:32px}.rf-root.rf-staff .login{display:block;min-height:0}.rf-root .rf-sidebar .rf-brand strong{font-size:25px}.rf-root .rf-help-popover{z-index:100}
.rf-root #rf-create-workspace .drawer-head{position:sticky;top:-26px;z-index:5;background:var(--rf-glass);backdrop-filter:blur(16px);padding:14px 0}.rf-root #rf-create-workspace .drawer-head h2{min-width:150px}
.rf-root .subview:not(.active){display:none!important}.rf-root .rf-sidebar .subnav{margin:0}.rf-root .rf-sidebar .subnav button{width:100%}

.ops-weekday-short{display:none}@media(max-width:850px){.ops-weekday-full{display:none}.ops-weekday-short{display:inline}}

/* Approved charcoal / teal reference, shared OPS and Central shell. */
:root[data-theme=dark]{--rf-page:#101719;--rf-surface:#192125;--rf-glass:rgba(24,33,37,.88);--rf-text:#eef2f4;--rf-muted:#9aafbb;--rf-accent:#00a7b2;--rf-on-accent:#f5ffff;--rf-border:#34454e;--rf-field:rgba(20,29,33,.86);--rf-sidebar:linear-gradient(120deg,#11252b,#082027);--rf-shadow:0 8px 24px #0003;--rf-focus:#56d2db}
.rf-root .rf-sidebar{right:0;top:0;bottom:0;width:220px;height:100dvh;border-radius:10px 0 0 10px;padding:16px 12px;border:1px solid var(--rf-border);box-shadow:none}.rf-root .rf-brand{padding:8px 6px 22px;border-bottom:1px solid var(--rf-border);text-align:start}.rf-root .rf-brand strong{font-size:21px;line-height:1.4;color:var(--rf-text)}.rf-root .rf-brand small{font-size:12px;color:var(--rf-muted)}.rf-root .rf-sidebar nav{margin:16px 0;gap:3px}.rf-root .rf-sidebar nav button,.rf-root .rf-sidebar .nav button{min-height:44px;padding:9px 12px;font-size:14px;font-weight:500;border-radius:7px}.rf-root .rf-sidebar nav button.active{background:linear-gradient(105deg,#005b64,#06414b)!important;color:#e5fcff!important;border:1px solid #00aab7;box-shadow:inset 0 0 18px #00a9be15}.rf-root .app>main,.rf-root .shell{padding:90px 242px 28px 14px}.rf-root .app>main>header{justify-content:flex-end;border:0;margin:0 0 14px;padding:0;gap:20px}.rf-root .app>main>header h2{font-size:25px;order:2}.rf-root .app form,.rf-root .panel,.rf-root .card{border-radius:10px}.rf-root .app form{padding:20px}.rf-root th,.rf-root td{padding:12px 16px}.rf-root button,.rf-root .btn{border-radius:7px}.rf-globalbar{position:fixed;top:0;left:0;right:220px;z-index:45;height:67px;padding:10px 24px;display:flex;align-items:center;gap:16px;background:var(--rf-glass);border:1px solid var(--rf-border);border-radius:0 10px 10px 10px;backdrop-filter:blur(18px);direction:ltr}.rf-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:#344b58;color:#f4f7fa}.rf-greeting{min-width:175px;display:grid;gap:3px}.rf-greeting small{font-size:12px;color:var(--rf-muted)}.rf-global-search{position:relative;width:min(445px,40vw)}.rf-root .rf-global-search input{height:42px;min-height:42px;padding:8px 14px;background:var(--rf-field);border:1px solid var(--rf-border);border-radius:8px}.rf-search-results{position:absolute;top:46px;left:0;right:0;display:grid;max-height:300px;overflow:auto;background:var(--rf-surface);border:1px solid var(--rf-border);border-radius:8px}.rf-search-results:empty{display:none}.rf-root .rf-search-results button{text-align:start;background:transparent;color:var(--rf-text);border:0}.rf-root .rf-sidebar .rf-user{margin-top:16px;border-top:1px solid var(--rf-border);padding:15px 5px;overflow-wrap:anywhere;color:var(--rf-muted);font-size:13px}
@media(max-width:850px){.rf-root .rf-sidebar{width:220px;right:0;top:0;bottom:0;height:100dvh;transform:translateX(230px)}.rf-nav-open .rf-root .rf-sidebar{transform:none}.rf-globalbar{right:0;padding:10px 12px;padding-right:70px}.rf-greeting{min-width:0}.rf-global-search{display:none}.rf-root .app>main,.rf-root .shell{padding:84px 12px 32px}.rf-root .app>main>header h2{font-size:21px}.rf-root .rf-menu{top:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.rf-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.rf-root .wf-library{margin:0 0 10px;text-align:right;color:var(--rf-muted);font-size:13px}.wf-library summary{cursor:pointer}.rf-root .wf-form{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:0}.wf-recipe-toolbar{margin-left:380px;display:flex;justify-content:space-between;gap:20px;align-items:center;direction:rtl}.wf-recipe-toolbar>label{max-width:360px;margin:0}.rf-root .wf-recipe-toolbar input{font-size:24px;font-weight:600;background:transparent;border:0;padding:4px;box-shadow:none}.wf-recipe-toolbar .actions{margin:0;direction:ltr}.wf-editor{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px;margin-top:16px;direction:ltr!important}.rf-root .wf-inspector{position:relative;top:auto;height:auto;align-self:start;background:var(--rf-glass);border:1px solid var(--rf-border);border-radius:10px;padding:20px;grid-column:1;color:var(--rf-text);min-width:0;overflow:visible;margin-top:-110px}.wf-inspector>header{border-bottom:1px solid var(--rf-border);padding-bottom:16px;flex-direction:row-reverse}.wf-inspector h3{font-size:21px;margin:0}.wf-inspector label{margin:16px 0;font-size:14px}.wf-inspector hr{border:0;border-top:1px solid var(--rf-border);margin:24px 0}.wf-selected-title{display:flex;gap:14px;align-items:center;margin:20px 0}.wf-selected-title>svg{width:48px;height:48px;padding:10px;border:1px solid var(--rf-border);border-radius:8px}.wf-selected-title small{display:block;color:var(--rf-muted);font-size:12px;margin-top:6px}.rf-root .wf-inspector select[multiple]{min-height:66px;max-height:100px}.wf-inspector .wf-check{display:flex;align-items:center;gap:10px;flex-direction:row-reverse}.wf-inspector input[type=checkbox]{width:20px;height:20px;min-height:20px}.rf-root .wf-delete{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;border:1px solid #d44951;color:#ed7076;background:transparent;margin-top:20px}.wf-canvas{grid-column:2;position:relative;min-width:0;height:calc(100dvh - 210px);min-height:550px;border:1px solid var(--rf-border);border-radius:10px;background:radial-gradient(circle,#5a737b55 .65px,transparent .9px) 0 0/16px 16px,var(--rf-page);overflow:hidden}.wf-canvas>header{position:absolute;right:22px;top:18px;z-index:2;display:grid;gap:4px;text-align:right;pointer-events:none}.wf-canvas>header small{color:var(--rf-muted);font-size:12px}.wf-viewport{width:100%;height:100%;overflow:auto;direction:ltr!important}.wf-scroll-size{position:relative}.wf-plane{position:absolute;left:0;top:0;transform-origin:0 0}.wf-lines{position:absolute;inset:0;pointer-events:none;overflow:visible}.wf-lines>path{fill:none;stroke:#c5d5dd;stroke-width:1.5}.wf-lines marker path{fill:#c5d5dd}.wf-node{position:absolute;width:320px;min-height:170px;border:1px solid var(--rf-border);border-radius:12px;padding:32px 18px 16px;background:linear-gradient(125deg,var(--rf-glass),var(--rf-surface));box-shadow:0 5px 16px #0002;direction:rtl;color:var(--rf-text)}.wf-node.selected{border-color:var(--rf-accent);box-shadow:0 0 0 2px #00a7b214}.wf-number{position:absolute;left:14px;top:12px;font-size:12px;padding:3px 6px;border-radius:7px;background:var(--rf-field);color:var(--rf-muted)}.rf-root .wf-node-title{display:flex;align-items:center;justify-content:center;gap:12px;background:transparent;color:var(--rf-text);border:0;width:100%;font-size:18px;padding:0;touch-action:none;cursor:grab}.wf-node-title svg{width:44px;height:44px;min-width:44px;padding:10px;background:#6d818315;border:1px solid #71889422;border-radius:50%}.wf-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:12px 0}.wf-tags>span{background:#81939f15;border:1px solid #7e9ca122;border-radius:20px;padding:4px 10px;font-size:12px}.wf-node-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--rf-muted);flex-wrap:wrap}.wf-node-foot span{display:flex;align-items:center;gap:5px}.wf-node-foot svg{width:16px;height:16px}.wf-node-foot .wf-wait{background:#baa14420;border-radius:16px;padding:5px 8px;color:var(--rf-text)}.rf-root .wf-port{position:absolute;top:78px;width:15px;height:15px;min-height:15px;min-width:15px;padding:0;border-radius:50%;background:#334752;border:1.5px solid #d6e1e6}.wf-port:before{content:'';position:absolute;inset:-10px}.wf-port-left{left:-8px}.wf-port-right{right:-8px}.wf-canvas>footer{position:absolute;bottom:14px;left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;font-size:12px;pointer-events:none}.wf-canvas>footer>div{display:flex;align-items:center;gap:6px;background:var(--rf-surface);border:1px solid var(--rf-border);border-radius:8px;pointer-events:auto}.rf-root .wf-canvas>footer button{background:transparent;color:var(--rf-text);border:0;font-size:12px;padding:8px}.wf-status{color:var(--rf-muted)}
@media(max-width:1150px){.wf-editor{grid-template-columns:290px minmax(0,1fr);gap:14px}.wf-recipe-toolbar{margin-left:304px}.rf-root .wf-inspector{padding:16px}}
@media(max-width:850px){.wf-editor{display:flex;flex-direction:column-reverse}.wf-recipe-toolbar{margin:0;flex-wrap:wrap}.rf-root .wf-inspector{margin:0;width:100%}.wf-canvas{height:480px;min-height:480px}.wf-node{touch-action:none}.wf-status{max-width:40%}.wf-recipe-toolbar>label{max-width:100%}}
/* Reference proportions and accessible feedback shared by OPS and Central. */
.rf-root .rf-sidebar .rf-brand strong{font-size:20px}.rf-root .rf-sidebar nav button svg.rf-icon{width:22px;height:22px;flex-basis:22px}.rf-root .rf-sidebar{display:flex;flex-direction:column}.rf-root .rf-sidebar nav{flex:0 0 auto}.rf-root .rf-sidebar .rf-user{margin-top:auto}.rf-root .rf-sidebar>button{align-self:stretch;margin-top:6px}.rf-root .rf-globalbar .rf-avatar{flex:0 0 40px}.rf-root .rf-global-search input{direction:inherit}.rf-root:has(.wf-form) .app>main{padding-top:88px;padding-right:236px}.rf-root.rf-recipe-view .app>main>header{height:34px;margin-bottom:8px}.rf-root.rf-recipe-view .app>main>header h2{margin:0;font-size:24px}.rf-root.rf-recipe-view #notice:empty{display:none}.rf-root.rf-recipe-view .wf-library{position:relative;margin:0;height:0;z-index:4;text-align:left;margin-left:382px}.wf-library[open]{height:auto}.wf-library summary{position:absolute;top:-32px;left:0}.wf-library .table{position:absolute;top:0;left:0;right:0;max-height:360px;overflow:auto;box-shadow:var(--rf-shadow)}.wf-recipe-toolbar{min-height:62px;gap:12px}.wf-recipe-toolbar>label{width:320px}.rf-root .wf-recipe-toolbar input{min-height:36px;height:36px}.wf-editor{margin-top:8px}.rf-root .wf-inspector{margin-top:-112px;padding:18px 20px;max-height:calc(100dvh - 108px);overflow:auto;scrollbar-width:thin}.wf-inspector>header{padding-bottom:12px}.rf-root .wf-inspector>header button{background:transparent;border:0;color:var(--rf-muted);padding:4px;font-size:12px}.wf-selected-title{margin:14px 0}.rf-root .wf-selected-title>svg.rf-icon{width:48px;height:48px;flex:0 0 48px;padding:10px}.wf-inspector label{margin:10px 0;font-size:14px}.rf-root .wf-inspector input,.rf-root .wf-inspector select{min-height:40px;padding:7px 10px}.rf-root .wf-inspector select[multiple]{min-height:54px;height:54px;padding:4px 8px}.wf-inspector hr{margin:14px 0}.wf-inspector p{font-size:12px;margin:8px 0}.rf-root .wf-inspector input[type=checkbox]{min-height:20px;padding:0}.rf-root .wf-node-title svg.rf-icon{width:48px;height:48px;flex:0 0 48px;padding:10px}.rf-root .wf-node-foot svg.rf-icon{width:16px;height:16px;flex:0 0 16px;padding:0}.rf-root .wf-delete{background:transparent!important;color:#ed7076!important;border-color:#d44951!important;margin-top:12px}.wf-canvas{height:calc(100dvh - 222px);min-height:480px}.rf-root [aria-invalid=true]{border-color:#db5360!important;outline:1px solid #db5360;outline-offset:1px}.ops-field-error{color:#b32539;font-size:12px;line-height:1.5;margin-top:5px;white-space:normal}.rf-root[data-theme=dark] .ops-field-error,:root[data-theme=dark] .ops-field-error{color:#ff9fa9}.wf-node[data-invalid=true]{border-color:#db5360}.rf-root .wf-node-title strong{overflow-wrap:anywhere;min-width:0}.wf-node-foot span{max-width:100%;overflow-wrap:anywhere}.wf-canvas .wf-status{background:var(--rf-page);border-radius:6px;padding:4px 6px}.rf-root .wf-inspector .wf-check{justify-content:space-between}.rf-root .wf-selected-title{direction:ltr}.rf-root .wf-inspector label:has([data-wf-field=visualType]){display:grid;grid-template-columns:1fr 150px;align-items:center;font-size:12px}.rf-root .wf-inspector select[data-wf-field=visualType]{min-height:32px;height:32px;font-size:12px}
@media(max-width:1150px){.rf-root.rf-recipe-view .wf-library{margin-left:304px}.rf-root .wf-inspector{padding:16px}.rf-root .wf-inspector label:has([data-wf-field=visualType]){grid-template-columns:1fr}.wf-recipe-toolbar>label{width:250px}}
@media(max-width:850px){.rf-root:has(.wf-form) .app>main{padding:84px 12px 24px}.rf-root.rf-recipe-view .wf-library{height:auto;margin:12px 0}.wf-library summary{position:static}.wf-library .table{position:static}.rf-root .wf-inspector{margin:0;max-height:none}.wf-recipe-toolbar{margin:0;min-height:0}.wf-canvas{height:480px}.wf-recipe-toolbar>label{width:100%}.rf-root .wf-sidebar{overflow:auto}}
.rf-root .wf-picker{position:relative;border:1px solid var(--rf-border);border-radius:6px;background:var(--rf-field);padding:7px 10px;min-height:42px}.wf-picker summary{display:flex;align-items:center;gap:5px;cursor:pointer;list-style:none;flex-wrap:wrap}.wf-picker summary:after{content:'⌄';margin-inline-start:auto;color:var(--rf-muted)}.wf-picker summary>span{border:1px solid var(--rf-border);padding:3px 8px;border-radius:6px;font-size:12px}.rf-root .wf-picker select[multiple]{height:125px;max-height:160px;margin-top:8px;border:0}.wf-minimap{position:absolute;right:14px;bottom:66px;width:142px;height:96px;background:var(--rf-glass);border:1px solid var(--rf-border);border-radius:8px;overflow:hidden}.rf-root .wf-minimap button{position:absolute;min-height:5px;min-width:5px;padding:0;border:1px solid var(--rf-border);border-radius:2px;background:#48616c}.rf-root .wf-minimap button.selected{border-color:var(--rf-accent);background:#126975}.rf-root .wf-canvas footer button[data-wf=in],.rf-root .wf-canvas footer button[data-wf=out]{font-size:21px;min-width:32px;padding:3px}.rf-root .rf-globalbar{background:linear-gradient(110deg,var(--rf-surface),var(--rf-glass))}.rf-root .wf-node{background:linear-gradient(125deg,var(--rf-surface),var(--rf-glass));backdrop-filter:blur(12px)}
@media(max-width:850px){.wf-minimap{width:110px;height:75px}.wf-picker summary{min-height:30px}}
@media(min-width:851px){body.rf-recipe-view{overflow:hidden}.rf-root.rf-recipe-view .app>main{height:100dvh;overflow:hidden}.rf-root.rf-recipe-view .wf-editor{margin-top:14px}.rf-root.rf-recipe-view #notice:not(:empty){position:fixed;top:70px;left:398px;right:236px;z-index:20;padding:10px;margin:0;box-shadow:var(--rf-shadow)}.rf-root.rf-recipe-view #notice:not(.error):not(:empty){pointer-events:none;top:auto;bottom:24px;left:414px;right:auto;max-width:45%}}

/* Meeting participant selectors retain native form values and keyboard controls. */
.ops-attendees{min-width:0;border:1px solid var(--rf-border,#6b8a8a55);border-radius:10px;padding:12px;margin:8px 0}.ops-attendees legend{padding:0 5px}.ops-attendees summary{cursor:pointer;min-height:36px;padding:6px}.ops-attendee-options{max-height:190px;overflow:auto;display:grid;gap:4px}.ops-attendee-options label{display:flex!important;align-items:center;gap:8px;padding:6px;margin:0!important}.ops-attendee-options input{width:auto!important}.ops-attendee-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;margin:3px;border:1px solid #258e8e66;border-radius:7px}.ops-attendee-chip button{padding:1px 5px!important;min-width:24px;min-height:24px}.ops-attendees [hidden]{display:none!important}.ops-calendar-dialog .fields{grid-template-columns:1fr}.ops-attendees:focus-visible{outline:2px solid #2da9ab;outline-offset:2px}

/* Shared confirmation forms must follow the surrounding glass theme. */
.rf-root .rf-confirm>form{margin:0;background:transparent!important;border:0!important;color:var(--rf-text)!important}.rf-root .rf-confirm>form>p{color:var(--rf-text)!important}
/* Shared identity for Central, CRM and OPS. Product navigation and data stay in their renderers. */
.rf-page-title,.rf-overview-refresh{display:none}
.rf-root{--rf-modal:rgba(231,236,232,.88);--rf-overlay:#06131655}
:root[data-theme=dark] .rf-root{--rf-modal:rgba(34,53,62,.84)}
.rf-root dialog,.rf-root .card.drawer-panel,.rf-root .dialog{background:var(--rf-modal)!important}
.rf-root #rf-create-workspace[open]{display:flex;flex-direction:column;overflow:hidden}
.rf-root #rf-create-workspace .drawer-head{position:static;flex-shrink:0;background:transparent!important;backdrop-filter:none;padding-top:0;border-bottom:1px solid var(--rf-border)}
.rf-root #rf-create-workspace>.sidebar{order:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding-top:14px;scroll-padding:16px}
@media(max-width:600px){.rf-root #rf-create-workspace{padding:16px}.rf-root #rf-create-workspace .drawer-head{display:grid;grid-template-columns:1fr auto auto;gap:10px}.rf-root #rf-create-workspace .drawer-head h2{grid-column:1/-1;margin:0;font-size:22px}.rf-root #rf-create-workspace .drawer-head button{margin:0}.rf-root #rf-create-workspace .drawer-head .language-toggle{justify-self:start}}
body:has(dialog[open]),body:has(.drawer.show){overflow:hidden}
.rf-root{--rf-glass:rgba(249,248,243,.65);--rf-field:rgba(250,250,246,.44);--rf-border:rgba(90,115,112,.28);--rf-sidebar:var(--rf-glass);isolation:isolate;background:#eeeae2!important}.rf-root:before{content:"";display:block;position:fixed;inset:-16px;z-index:-1;pointer-events:none;background:linear-gradient(rgba(243,240,233,.48),rgba(243,240,233,.48)),url('/assets/ops-marble-light-v1.png') center/cover;filter:blur(9px) saturate(.65)}
:root[data-theme=dark] .rf-root{--rf-glass:rgba(18,39,45,.61);--rf-field:rgba(49,73,83,.37);--rf-border:rgba(160,190,200,.28);--rf-muted:#b5c8d1;--rf-sidebar:var(--rf-glass);background:#102126!important}
.rf-root .rf-sidebar,.rf-root .rf-globalbar,.rf-root .panel,.rf-root .card,.rf-root .stat{background:var(--rf-glass)!important;backdrop-filter:blur(26px) saturate(.75);border-color:var(--rf-border);border-radius:14px}.rf-root .rf-sidebar .rf-brand{padding-top:28px}.rf-root .rf-sidebar nav button.active,.rf-root .rf-sidebar .nav button.active,.rf-root .rf-sidebar .subnav button.active{background:var(--rf-selection)!important;color:var(--rf-text)!important;border:1px solid color-mix(in srgb,var(--rf-accent) 60%,var(--rf-border));box-shadow:inset -2px 0 var(--rf-accent)}
.rf-root .rf-collapse{position:fixed;right:14px;top:8px;z-index:48;display:grid;place-items:center;width:44px;height:44px;padding:6px;background:var(--rf-field)!important;color:var(--rf-text)!important;border:1px solid var(--rf-border);border-radius:10px;font-size:24px}.rf-root .rf-sidebar,.rf-root .rf-globalbar,.rf-root .app>main,.rf-root .shell{transition:transform 200ms ease,padding 200ms ease,right 200ms ease}.rf-root.rf-sidebar-collapsed .rf-sidebar{transform:translateX(280px);visibility:hidden}.rf-root.rf-sidebar-collapsed .app>main,.rf-root.rf-sidebar-collapsed .shell{padding-right:14px!important}.rf-root.rf-sidebar-collapsed .rf-globalbar{right:8px!important;padding-right:60px}.rf-root .ot-nav-toggle{display:none!important}
.rf-root dialog{background:var(--rf-modal)!important;border:1px solid var(--rf-border);border-radius:14px;backdrop-filter:blur(26px);overscroll-behavior:contain;max-height:calc(100dvh - 24px)}.rf-root dialog::backdrop{background:var(--rf-overlay);backdrop-filter:blur(1px)}.rf-root button{touch-action:manipulation}.rf-root .rf-help{min-width:32px;min-height:32px}.rf-root button:focus-visible,.rf-root summary:focus-visible{outline:2px solid var(--rf-focus);outline-offset:3px}
@media(max-width:850px){.rf-root .rf-collapse{display:none}.rf-root.rf-sidebar-collapsed .rf-sidebar{visibility:visible;transform:translateX(280px)}.rf-nav-open .rf-root.rf-sidebar-collapsed .rf-sidebar{transform:none}.rf-root .rf-sidebar button,.rf-root .utility-controls button,.rf-root .language-utility button{min-height:44px}.rf-root .rf-sidebar .rf-brand{padding-top:8px}.rf-root .rf-help,.rf-root .rf-label-help .rf-help{width:44px;min-width:44px;height:44px}.rf-root input:not([type=checkbox]):not([type=radio]),.rf-root select,.rf-root textarea{font-size:16px}.rf-root .actions button,.rf-root .toolbar button,.rf-root dialog button{min-height:44px}.rf-root dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.rf-root.rf-sidebar-collapsed .app>main,.rf-root.rf-sidebar-collapsed .shell{padding-right:12px!important}}
@media(prefers-reduced-motion:reduce){.rf-root .rf-sidebar,.rf-root .rf-globalbar,.rf-root .app>main,.rf-root .shell{transition:none}}
@media(prefers-reduced-transparency:reduce){.rf-root{--rf-glass:#f4f2ed;--rf-field:#f9f8f5}:root[data-theme=dark] .rf-root{--rf-glass:#1c3038;--rf-field:#263b44}.rf-root .rf-sidebar,.rf-root .rf-globalbar,.rf-root .panel,.rf-root .card,.rf-root .stat,.rf-root dialog{background:var(--rf-glass)!important;backdrop-filter:none}}

:root[data-theme=dark] .rf-root:before{background:linear-gradient(rgba(16,34,40,.36),rgba(16,34,40,.36)),url('/assets/ops-marble-dark-v1.png') center/cover}
@media(prefers-reduced-transparency:reduce){.rf-root:before{display:none}}

.rf-root .drawer{background:var(--rf-overlay);backdrop-filter:blur(1px)}
@media(prefers-reduced-transparency:reduce){.rf-root{--rf-modal:#f4f2ed}:root[data-theme=dark] .rf-root{--rf-modal:#1c3038}}

/* Native menus cannot composite translucent glass: use paired opaque colors. */
:root{--rf-native-option-bg:#edf1ec;--rf-native-option-text:#18322e;color-scheme:light}
:root[data-theme=dark]{--rf-native-option-bg:#223940;--rf-native-option-text:#f1f6f5;color-scheme:dark}
.rf-root select option,.rf-root select optgroup{background-color:var(--rf-native-option-bg);color:var(--rf-native-option-text)}

.rf-avatar{overflow:hidden}.rf-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}

:root:not([data-theme=dark]) .rf-root .rf-sidebar nav button.active,:root:not([data-theme=dark]) .rf-root .rf-sidebar .nav button.active,:root:not([data-theme=dark]) .rf-root .rf-sidebar .subnav button.active{background:color-mix(in srgb,var(--rf-accent) 15%,transparent)!important;color:var(--rf-text)!important;border-color:color-mix(in srgb,var(--rf-accent) 45%,transparent);box-shadow:inset -2px 0 var(--rf-accent)}
.rf-root th{background:var(--rf-selection)!important;color:var(--rf-text)!important;font-size:13px}.rf-root td{font-size:14px}.rf-root .muted{font-size:12px}
.rf-root #rf-create-workspace #branchForm>.actions{position:sticky;bottom:0;margin-bottom:0;padding:14px 0;background:var(--rf-modal);backdrop-filter:blur(24px);border-top:1px solid var(--rf-border);z-index:3}.rf-root #rf-create-workspace #branchForm>.actions button{min-height:44px}
.rf-root .ccal{margin-bottom:24px;padding:20px}.ccal h3{margin:0 0 12px}.ccal-help{font-size:14px;line-height:1.65;color:var(--rf-muted)}.ccal-week{display:grid;grid-template-columns:1fr;gap:12px}.ccal fieldset{min-width:0;margin:0;padding:12px;border:1px solid var(--rf-border);border-radius:10px;background:transparent}.ccal legend{font-size:14px;font-weight:600;padding:0 6px}.ccal-day-fields{display:grid;grid-template-columns:minmax(180px,1fr) 1fr 1fr;gap:12px;align-items:end}.ccal-toggle{display:flex;gap:12px}.rf-root .ccal label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;min-width:0}.rf-root .ccal-toggle label{flex-direction:row;align-items:center;gap:8px;min-height:44px;flex:1;font-size:14px}.rf-root .ccal input[type=radio]{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0}.rf-root .ccal input:not([type=radio]),.rf-root .ccal select{min-height:44px;width:100%;min-width:0}.ccal-holiday{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:12px;align-items:end;padding:14px 0;border-bottom:1px solid var(--rf-border)}.rf-root .ccal button{min-height:44px}.rf-root .ccal button[type=button]{background:var(--rf-field);color:var(--rf-text);border:1px solid var(--rf-border)}.ccal [data-ccal-add]{margin-top:12px}.ccal-actions{position:sticky;bottom:0;display:flex;gap:10px;flex-wrap:wrap;background:var(--rf-modal);padding:12px 0;border-top:1px solid var(--rf-border);z-index:2}.ccal-status{min-height:24px;font-size:14px}.ccal-status[role=alert]{color:var(--rf-danger)}.ccal [aria-invalid=true]{border:2px solid var(--rf-danger)}@media(max-width:1100px){.ccal-week{grid-template-columns:1fr}.ccal-holiday{grid-template-columns:1fr 1fr}}@media(max-width:600px){.rf-root .ccal{padding:12px}.ccal-holiday{grid-template-columns:1fr}.rf-root .ccal input:not([type=radio]),.rf-root .ccal select{font-size:16px}.ccal-actions button{flex:1}}

@media(max-width:600px){.ccal-day-fields{grid-template-columns:1fr 1fr}.ccal-toggle{grid-column:1/-1}}
.rf-root .ccal form{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:0}
