*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:system-ui,-apple-system,Segoe UI,Tahoma,Noto Sans Arabic,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}html{scroll-behavior:smooth}body{font-family:system-ui,-apple-system,Segoe UI,Tahoma,Noto Sans Arabic,sans-serif}code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.card{border-radius:1rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1));background-color:rgba(15,23,42,.7);--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);--tw-shadow-color:rgba(0,0,0,.2);--tw-shadow:var(--tw-shadow-colored)}.btn{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;gap:.5rem;white-space:nowrap;border-radius:.75rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem;font-weight:600;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn:focus{outline:2px solid transparent;outline-offset:2px}.btn:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);--tw-ring-color:rgba(45,212,191,.6)}.btn:disabled{cursor:not-allowed;opacity:.5}.btn-primary{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity,1));--tw-text-opacity:1;color:rgb(2 6 23/var(--tw-text-opacity,1));--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);--tw-shadow-color:rgba(20,184,166,.2);--tw-shadow:var(--tw-shadow-colored)}.btn-primary:hover{--tw-bg-opacity:1;background-color:rgb(45 212 191/var(--tw-bg-opacity,1))}.btn-primary:active{--tw-bg-opacity:1;background-color:rgb(13 148 136/var(--tw-bg-opacity,1))}.btn-outline{border-width:1px;--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1));--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.btn-outline:hover{border-color:rgba(20,184,166,.5);background-color:rgba(20,184,166,.05);--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity,1))}.btn-ghost{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.btn-ghost:hover{background-color:rgba(30,41,59,.7);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.btn-danger{border-width:1px;border-color:rgba(244,63,94,.4);background-color:rgba(244,63,94,.15);--tw-text-opacity:1;color:rgb(253 164 175/var(--tw-text-opacity,1))}.btn-danger:hover{background-color:rgba(244,63,94,.25);--tw-text-opacity:1;color:rgb(254 205 211/var(--tw-text-opacity,1))}.input{width:100%;border-radius:.75rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1));padding:.625rem .875rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.input::-moz-placeholder{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.input::placeholder{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.input:focus{border-color:rgba(20,184,166,.7);outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);--tw-ring-color:rgba(20,184,166,.2)}.label{margin-bottom:.375rem;display:block;font-size:.75rem;line-height:1rem;font-weight:600;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.hint{margin-top:.375rem;font-size:11px;line-height:1.625;--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.badge{display:inline-flex;align-items:center;border-radius:9999px;border-width:1px;padding:.125rem .625rem;font-size:11px;font-weight:600;line-height:1.25rem}.badge-slate{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1));background-color:rgba(30,41,59,.8);--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.badge-teal{border-color:rgba(20,184,166,.4);background-color:rgba(20,184,166,.1);--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity,1))}.badge-emerald{border-color:rgba(16,185,129,.4);background-color:rgba(16,185,129,.1);--tw-text-opacity:1;color:rgb(110 231 183/var(--tw-text-opacity,1))}.badge-amber{border-color:rgba(245,158,11,.4);background-color:rgba(245,158,11,.1);--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.badge-rose{border-color:rgba(244,63,94,.4);background-color:rgba(244,63,94,.1);--tw-text-opacity:1;color:rgb(253 164 175/var(--tw-text-opacity,1))}.table{width:100%;text-align:start;font-size:.875rem;line-height:1.25rem}.table thead th{position:sticky;top:0;border-bottom-width:1px;--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1));background-color:rgba(15,23,42,.5);padding:.75rem 1rem;text-align:start;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1));--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.table tbody td{border-bottom-width:1px;border-color:rgba(30,41,59,.6);padding:.625rem 1rem}.nav-link{display:flex;align-items:center;gap:.625rem;border-radius:.75rem;padding:.5rem .75rem;--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nav-link:hover{background-color:rgba(30,41,59,.6);--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.nav-link-accent{--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity,1))}.nav-link-accent:hover{background-color:rgba(20,184,166,.1);--tw-text-opacity:1;color:rgb(153 246 228/var(--tw-text-opacity,1))}.checkbox{border-radius:.25rem}.checkbox,.radio{height:1rem;width:1rem;cursor:pointer;accent-color:#14b8a6}.legend{margin-inline-start:-.5rem;padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity,1))}.opt{display:flex;cursor:pointer;align-items:center;gap:.75rem;border-radius:.75rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1));background-color:rgba(2,6,23,.6);padding:.75rem 1rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.opt:hover{border-color:rgba(20,184,166,.4);background-color:rgba(20,184,166,.05)}.opt:has(:checked){border-color:rgba(20,184,166,.6);background-color:rgba(20,184,166,.1)}.stepper{margin-bottom:.5rem;display:flex;align-items:center;gap:0}.step-dot{height:.875rem;width:.875rem;flex-shrink:0;border-radius:9999px;border-width:2px;--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.step-dot.active{--tw-border-opacity:1;border-color:rgb(45 212 191/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(45 212 191/var(--tw-bg-opacity,1));--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);--tw-shadow-color:rgba(20,184,166,.5);--tw-shadow:var(--tw-shadow-colored)}.step-dot.done{--tw-border-opacity:1;border-color:rgb(16 185 129/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(16 185 129/var(--tw-bg-opacity,1))}.step-line{height:.125rem;flex:1 1 0%;--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.thin-scroll::-webkit-scrollbar{width:8px;height:8px}.thin-scroll::-webkit-scrollbar-track{background:#020617;border-radius:8px}.thin-scroll::-webkit-scrollbar-thumb{background:#334155;border-radius:8px}.thin-scroll::-webkit-scrollbar-thumb:hover{background:#475569}.pb-safe{padding-bottom:max(.75rem,env(safe-area-inset-bottom))}.log-line{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-x-0{left:0;right:0}.inset-x-4{left:1rem;right:1rem}.inset-y-0{top:0;bottom:0}.bottom-4{bottom:1rem}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.top-0{top:0}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[70\]{z-index:70}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ms-auto{margin-inline-start:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-9{height:2.25rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\[60vh\]{max-height:60vh}.max-h-\[65vh\]{max-height:65vh}.max-h-\[70vh\]{max-height:70vh}.min-h-screen{min-height:100vh}.\!w-44{width:11rem!important}.\!w-64{width:16rem!important}.\!w-auto{width:auto!important}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-9{width:2.25rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.\!justify-start{justify-content:flex-start!important}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-e{border-inline-end-width:1px}.border-t{border-top-width:1px}.border-amber-500\/30{border-color:rgba(245,158,11,.3)}.border-amber-500\/40{border-color:rgba(245,158,11,.4)}.border-emerald-500\/30{border-color:rgba(16,185,129,.3)}.border-rose-500\/30{border-color:rgba(244,63,94,.3)}.border-rose-500\/40{border-color:rgba(244,63,94,.4)}.border-slate-700{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.border-slate-800{--tw-border-opacity:1;border-color:rgb(30 41 59/var(--tw-border-opacity,1))}.border-teal-500\/30{border-color:rgba(20,184,166,.3)}.border-teal-500\/40{border-color:rgba(20,184,166,.4)}.bg-amber-500\/10{background-color:rgba(245,158,11,.1)}.bg-amber-500\/5{background-color:rgba(245,158,11,.05)}.bg-emerald-500\/10{background-color:rgba(16,185,129,.1)}.bg-rose-500\/10{background-color:rgba(244,63,94,.1)}.bg-rose-500\/5{background-color:rgba(244,63,94,.05)}.bg-slate-800{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.bg-slate-800\/70{background-color:rgba(30,41,59,.7)}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-slate-900\/80{background-color:rgba(15,23,42,.8)}.bg-slate-950{--tw-bg-opacity:1;background-color:rgb(2 6 23/var(--tw-bg-opacity,1))}.bg-slate-950\/70{background-color:rgba(2,6,23,.7)}.bg-teal-400{--tw-bg-opacity:1;background-color:rgb(45 212 191/var(--tw-bg-opacity,1))}.bg-teal-500{--tw-bg-opacity:1;background-color:rgb(20 184 166/var(--tw-bg-opacity,1))}.bg-teal-500\/10{background-color:rgba(20,184,166,.1)}.bg-teal-500\/15{background-color:rgba(20,184,166,.15)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-teal-500{--tw-gradient-from:#14b8a6 var(--tw-gradient-from-position);--tw-gradient-to:rgba(20,184,166,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-teal-500\/10{--tw-gradient-from:rgba(20,184,166,.1) var(--tw-gradient-from-position);--tw-gradient-to:rgba(20,184,166,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-emerald-400{--tw-gradient-to:#34d399 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to:transparent var(--tw-gradient-to-position)}.\!p-2{padding:.5rem!important}.p-10{padding:2.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.\!px-1\.5{padding-left:.375rem!important;padding-right:.375rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!px-4{padding-left:1rem!important;padding-right:1rem!important}.\!px-8{padding-left:2rem!important;padding-right:2rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.\!py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.\!py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.text-center{text-align:center}.align-top{vertical-align:top}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.font-sans{font-family:system-ui,-apple-system,Segoe UI,Tahoma,Noto Sans Arabic,sans-serif}.\!text-\[10px\]{font-size:10px!important}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[11px\]{font-size:11px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-relaxed{line-height:1.625}.text-amber-200{--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.text-amber-300{--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.text-emerald-300{--tw-text-opacity:1;color:rgb(110 231 183/var(--tw-text-opacity,1))}.text-emerald-400{--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity,1))}.text-rose-200{--tw-text-opacity:1;color:rgb(254 205 211/var(--tw-text-opacity,1))}.text-rose-300{--tw-text-opacity:1;color:rgb(253 164 175/var(--tw-text-opacity,1))}.text-rose-400{--tw-text-opacity:1;color:rgb(251 113 133/var(--tw-text-opacity,1))}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-950{--tw-text-opacity:1;color:rgb(2 6 23/var(--tw-text-opacity,1))}.text-teal-200{--tw-text-opacity:1;color:rgb(153 246 228/var(--tw-text-opacity,1))}.text-teal-300{--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity,1))}.text-teal-300\/90{color:rgba(94,234,212,.9)}.text-teal-400{--tw-text-opacity:1;color:rgb(45 212 191/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-40{opacity:.4}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-500{transition-duration:.5s}.hover\:bg-rose-500\/10:hover{background-color:rgba(244,63,94,.1)}.hover\:bg-slate-800\/40:hover{background-color:rgba(30,41,59,.4)}.hover\:bg-teal-400:hover{--tw-bg-opacity:1;background-color:rgb(45 212 191/var(--tw-bg-opacity,1))}.hover\:text-rose-200:hover{--tw-text-opacity:1;color:rgb(254 205 211/var(--tw-text-opacity,1))}.hover\:text-teal-200:hover{--tw-text-opacity:1;color:rgb(153 246 228/var(--tw-text-opacity,1))}.hover\:text-teal-300:hover{--tw-text-opacity:1;color:rgb(94 234 212/var(--tw-text-opacity,1))}@media (min-width:640px){.sm\:inset-x-auto{left:auto;right:auto}.sm\:end-6{inset-inline-end:1.5rem}.sm\:inline-flex{display:inline-flex}.sm\:p-6{padding:1.5rem}.sm\:p-8{padding:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:ms-64{margin-inline-start:16rem}.lg\:hidden{display:none}.lg\:translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1280px){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.rtl\:translate-x-full:where([dir=rtl],[dir=rtl] *){--tw-translate-x:100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:1024px){.rtl\:lg\:translate-x-0:where([dir=rtl],[dir=rtl] *){--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}
/* ================================================================
   BPA Migrator v1.1.0 — new components + LIGHT THEME
   Default = dark (unchanged). html.light = modern light design.
   ================================================================ */

/* ---------- Theme toggle icons ---------- */
.theme-icon-light{display:none}
html.light .theme-icon-dark{display:none}
html.light .theme-icon-light{display:block}

/* ---------- Modal ---------- */
.modal-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(2,6,23,.65);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:bpaFade .18s ease-out}
@keyframes bpaFade{from{opacity:0}to{opacity:1}}
.modal-panel{border-radius:1.25rem;border:1px solid rgb(30 41 59);background-color:#0f172a;padding:1.25rem;--tw-shadow:0 25px 50px -12px rgba(0,0,0,.5);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);animation:bpaPop .2s ease-out;max-height:90vh;overflow-y:auto}
@keyframes bpaPop{from{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
.modal-panel .btn-ghost{border-radius:.6rem}
/* v1.7.9: THE STOP-MODAL ROW FIX — .btn carries white-space:nowrap, so the
   pause / final-stop rows (title + long hint inside one button) overflowed
   the modal body on every language. Inside modals the rows wrap and never
   exceed the panel width. */
.modal-panel .btn{white-space:normal;max-width:100%;overflow-wrap:anywhere}
.modal-panel .btn .text-start{min-width:0}

/* ---------- Token chip ---------- */
.token-chip{display:inline-block;min-width:0;max-width:100%;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.6;padding:.55rem .75rem;border-radius:.75rem;border:1px solid rgba(45,212,191,.35);background-color:rgba(20,184,166,.08);color:#5eead4;word-break:break-all;direction:ltr;text-align:left}

/* ---------- Backup versions list ---------- */
.version-item{border-radius:.9rem;border:1px solid rgb(30 41 59);background-color:rgba(15,23,42,.55);padding:.75rem .85rem;transition:border-color .15s ease,background-color .15s ease}
.version-item:hover{border-color:rgba(20,184,166,.4)}
.v-link{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.55rem;padding:.3rem .4rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;color:#5eead4;transition:background-color .15s ease,color .15s ease}
.v-link:hover{background-color:rgba(20,184,166,.08);color:#99f6e8}
.v-size{font-size:10px;color:#64748b;flex-shrink:0}
.v-btn{display:inline-flex;align-items:center;gap:.3rem;border-radius:.6rem;border:1px solid rgb(51 65 85);padding:.28rem .55rem;font-size:10px;font-weight:600;color:#cbd5e1;transition:all .15s ease;white-space:nowrap}
.v-btn:hover{border-color:rgba(20,184,166,.5);color:#5eead4}
.v-restore:hover{border-color:rgba(16,185,129,.5);background-color:rgba(16,185,129,.08);color:#6ee7b7}
.v-del:hover{border-color:rgba(244,63,94,.5);background-color:rgba(244,63,94,.08);color:#fda4af}
.v-btn:disabled{opacity:.45;cursor:not-allowed}

/* ---------- Toasts ---------- */
.bpa-toast-ok{background-color:rgba(20,184,166,.12);border-color:rgba(20,184,166,.45);color:#99f6e8}
.bpa-toast-error{background-color:rgba(244,63,94,.12);border-color:rgba(244,63,94,.45);color:#fecdd3}

/* ---------- Log timestamps ---------- */
.log-time{color:#64748b}

/* ================================================================
   LIGHT THEME — modern gradients & soft floors
   ================================================================ */
html.light body{
  color:#0f172a;
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(13,148,136,.16), transparent 60%),
    radial-gradient(900px 420px at -12% 8%, rgba(5,150,105,.10), transparent 55%),
    radial-gradient(700px 380px at 50% 115%, rgba(13,148,136,.07), transparent 60%),
    linear-gradient(180deg,#f7fcfb 0%,#f4f8fa 45%,#eef2f6 100%);
  background-attachment:fixed;
}
/* soft top glow (layout decorative gradient) */
html.light .from-teal-500\/10{--tw-gradient-from:rgba(13,148,136,.07) var(--tw-gradient-from-position)}

/* surfaces */
html.light .card{border-color:#e2e8f0;background-color:#ffffff;--tw-shadow:0 1px 2px rgba(15,23,42,.05),0 10px 28px -14px rgba(15,23,42,.10);--tw-shadow-colored:0 1px 2px rgba(15,23,42,.05),0 10px 28px -14px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}
html.light .bg-slate-900\/80{background-color:rgba(255,255,255,.86)}
html.light .bg-slate-950\/70{background-color:rgba(255,255,255,.82)}
html.light .bg-slate-800\/70{background-color:#f1f5f9}
html.light .bg-slate-800{background-color:#e2e8f0}
html.light .hover\:bg-slate-800\/40:hover{background-color:rgba(15,23,42,.035)}
html.light .border-slate-800{border-color:#e2e8f0}
html.light .border-slate-700{border-color:#cbd5e1}
html.light .border-e{border-inline-end-color:#e2e8f0}

/* text */
html.light .text-slate-100{color:#0f172a}
html.light .text-slate-200{color:#1e293b}
html.light .text-slate-300{color:#334155}
html.light .text-slate-400{color:#475569}
html.light .text-slate-500{color:#64748b}
html.light .text-slate-600{color:#94a3b8}
html.light .text-teal-300{color:#0d9488}
html.light .text-teal-300\/90{color:#0f766e}
html.light .text-teal-400{color:#0d9488}
html.light .text-emerald-300{color:#047857}
html.light .text-emerald-400{color:#059669}
html.light .text-rose-300{color:#be123c}
html.light .text-rose-400{color:#e11d48}
html.light .text-rose-200{color:#9f1239}
html.light .text-amber-200{color:#92400e}
html.light .text-amber-300{color:#b45309}
html.light .text-amber-300\/90{color:#92400e}
html.light .hover\:text-teal-200:hover{color:#0f766e}
html.light .hover\:text-teal-300:hover{color:#0f766e}
html.light .hover\:text-rose-200:hover{color:#9f1239}

/* buttons */
html.light .btn-primary{background-color:#0d9488;color:#ffffff}
html.light .btn-primary:hover{background-color:#0f766e}
html.light .btn-primary:active{background-color:#115e59}
html.light .btn-outline{border-color:#cbd5e1;color:#334155}
html.light .btn-outline:hover{border-color:rgba(13,148,136,.55);background-color:rgba(13,148,136,.05);color:#0f766e}
html.light .btn-ghost{color:#475569}
html.light .btn-ghost:hover{background-color:#f1f5f9;color:#0f172a}
html.light .btn-danger{border-color:#fecdd3;background-color:#fff1f2;color:#be123c}
html.light .btn-danger:hover{background-color:#ffe4e6;color:#9f1239}
html.light .btn:focus-visible{--tw-ring-color:rgba(13,148,136,.55)}

/* inputs */
html.light .input{border-color:#cbd5e1;background-color:#ffffff;color:#0f172a}
html.light .input::placeholder{color:#94a3b8}
html.light .input:focus{border-color:rgba(13,148,136,.7);--tw-ring-color:rgba(13,148,136,.18)}
html.light .label{color:#475569}
html.light .hint{color:#64748b}
html.light .legend{color:#0d9488}

/* badges */
html.light .badge-slate{border-color:#e2e8f0;background-color:#f1f5f9;color:#475569}
html.light .badge-teal{border-color:#99f6e4;background-color:#f0fdfa;color:#0f766e}
html.light .badge-emerald{border-color:#a7f3d0;background-color:#ecfdf5;color:#047857}
html.light .badge-amber{border-color:#fde68a;background-color:#fffbeb;color:#92400e}
html.light .badge-rose{border-color:#fecdd3;background-color:#fff1f2;color:#be123c}

/* table */
html.light .table thead th{border-color:#e2e8f0;background-color:rgba(248,250,252,.9);color:#64748b}
html.light .table tbody td{border-color:rgba(226,232,240,.9)}

/* sidebar nav */
html.light .nav-link{color:#64748b}
html.light .nav-link:hover{background-color:#f1f5f9;color:#0f172a}
html.light .nav-link-accent{color:#0d9488}
html.light .nav-link-accent:hover{background-color:rgba(13,148,136,.08);color:#0f766e}

/* options (wizard) */
html.light .opt{border-color:#e2e8f0;background-color:#f8fafc}
html.light .opt:hover{border-color:rgba(13,148,136,.4);background-color:rgba(13,148,136,.04)}
html.light .opt:has(:checked){border-color:rgba(13,148,136,.65);background-color:#f0fdfa}
html.light .checkbox,html.light .radio{accent-color:#0d9488}

/* stepper */
html.light .step-dot{border-color:#cbd5e1;background-color:#cbd5e1}
html.light .step-dot.active{border-color:#0d9488;background-color:#0d9488;--tw-shadow-color:rgba(13,148,136,.4);--tw-shadow:var(--tw-shadow-colored)}
html.light .step-dot.done{border-color:#059669;background-color:#059669}
html.light .step-line{background-color:#e2e8f0}

/* scrollbars */
html.light .thin-scroll::-webkit-scrollbar-track{background:#f1f5f9}
html.light .thin-scroll::-webkit-scrollbar-thumb{background:#cbd5e1}
html.light .thin-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}

/* log console stays dark (terminal look) in both themes */
html.light .log-line{color:#cbd5e1}

/* light-theme versions list + modal + chips */
html.light .version-item{border-color:#e2e8f0;background-color:#f8fafc}
html.light .version-item:hover{border-color:rgba(13,148,136,.45)}
html.light .v-link{color:#0d9488}
html.light .v-link:hover{background-color:rgba(13,148,136,.06);color:#0f766e}
html.light .v-size{color:#94a3b8}
html.light .v-btn{border-color:#cbd5e1;color:#475569}
html.light .v-btn:hover{border-color:rgba(13,148,136,.5);color:#0f766e}
html.light .v-restore:hover{border-color:rgba(5,150,105,.55);background-color:#ecfdf5;color:#047857}
html.light .v-del:hover{border-color:rgba(225,29,72,.5);background-color:#fff1f2;color:#be123c}
html.light .modal-overlay{background:rgba(15,23,42,.4)}
html.light .modal-panel{border-color:#e2e8f0;background-color:#ffffff;--tw-shadow:0 25px 60px -12px rgba(15,23,42,.25);--tw-shadow-colored:0 25px 60px -12px var(--tw-shadow-color)}
html.light .token-chip{border-color:#99f6e4;background-color:#f0fdfa;color:#0f766e}
/* v1.2.10: token chip is a full-width block - can never overflow its card */
.token-chip.block{display:block}


/* light toasts */
html.light .bpa-toast-ok{background-color:#ecfdf5;border-color:#a7f3d0;color:#065f46}
html.light .bpa-toast-error{background-color:#fff1f2;border-color:#fecdd3;color:#9f1239}

/* must-change-password floating banner */
html.light .bg-amber-500\/10{background-color:#fffbeb}

/* fix: .modal-overlay (display:flex) is defined after Tailwind .hidden — equal specificity, later order wins, so the hidden modal covered the whole page. Higher-specificity rule restores toggling. */
.modal-overlay.hidden{display:none}

/* ==================== v1.2.3 ==================== */

/* ROOT-CAUSE FIX: .v-ico had NO size rule at all — SVGs without width/height
   rendered at the browser default (300x150), which made the version-row action
   buttons look icon-less and the file icons in the details modal HUGE.
   Buttons get slightly larger icons (user request), file rows smaller ones. */
.v-ico{width:17px;height:17px;flex:0 0 auto;display:inline-block;vertical-align:middle}
.v-link .v-ico,.v-ico-sm{width:13px;height:13px}
.v-btn .v-ico{width:17px;height:17px}
html.light .v-btn{border-color:#cbd5e1}

/* v1.2.3: live-console STATUS LINE — 3 animated dots ("operation in progress") */
.console-dots{display:inline-flex;align-items:flex-end;gap:3px;height:12px}
.console-dots i{width:4px;height:4px;border-radius:9999px;background:currentColor;display:inline-block;opacity:.45;animation:bpaDot 1.2s ease-in-out infinite}
.console-dots i:nth-child(2){animation-delay:.15s}
.console-dots i:nth-child(3){animation-delay:.3s}
@keyframes bpaDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}

/* v1.2.3: agent-update countdown bar (auto close after 10s) */
[data-agent-countdown-bar]{will-change:width}

/* ===================== v1.2.4 ===================== */
/* labeled action buttons under each version line */
.version-item{padding:.65rem .7rem;border-radius:.8rem;border:1px solid rgba(51,65,85,.6);background:rgba(15,23,42,.35)}
html.light .version-item{border-color:#e2e8f0;background:#f8fafc}
.version-item .btn{border-radius:.6rem}
/* action guard: disabled buttons while an operation is live */
button:disabled{cursor:not-allowed;opacity:.5}
button:disabled:hover{filter:none}
/* db-fix + migration wizard busy line */
#dbFixBusy,#migBusy{align-items:center}

/* ===================== v1.2.7 ===================== */
/* Notifications bell + dropdown panel (server-driven alerts on every page) */
#notifBell{position:relative}
#notifBadge{top:-4px}
html[dir="rtl"] #notifBadge{right:auto;left:-4px}
#notifPanel{box-shadow:0 25px 60px -12px rgba(0,0,0,.6)}
html.light #notifPanel{background:#ffffff;border-color:#e2e8f0}
.notif-list{scrollbar-width:thin;scrollbar-color:rgba(45,212,191,.35) transparent}
.notif-list::-webkit-scrollbar{width:8px}
.notif-list::-webkit-scrollbar-thumb{background:rgba(45,212,191,.3);border-radius:8px}
.notif-item{display:flex;gap:.65rem;align-items:flex-start;padding:.7rem 1rem;border-bottom:1px solid rgba(30,41,59,.7);cursor:pointer;transition:background .15s ease}
.notif-item:last-child{border-bottom:none}
.notif-item:hover{background:rgba(20,184,166,.08)}
.notif-item.unread{background:rgba(20,184,166,.06)}
.notif-item.unread:hover{background:rgba(20,184,166,.12)}
html.light .notif-item{border-color:#e2e8f0}
html.light .notif-item.unread{background:#f0fdfa}
.notif-ico{width:1.9rem;height:1.9rem;border-radius:.65rem;display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin-top:2px}
.notif-ico-ok{background:rgba(16,185,129,.14);color:#34d399;border:1px solid rgba(16,185,129,.3)}
.notif-ico-warn{background:rgba(244,63,94,.12);color:#fb7185;border:1px solid rgba(244,63,94,.3)}
.notif-ico-info{background:rgba(20,184,166,.12);color:#2dd4bf;border:1px solid rgba(20,184,166,.3)}
.notif-title{font-size:12px;font-weight:700;color:#e2e8f0;line-height:1.4}
.notif-body{font-size:11px;color:#94a3b8;line-height:1.6;margin-top:2px;word-break:break-word}
html.light .notif-title{color:#0f172a}
html.light .notif-body{color:#475569}
.notif-time{font-size:10px;color:#64748b;margin-top:3px}
.notif-dot{width:7px;height:7px;border-radius:9999px;background:#2dd4bf;flex:0 0 auto;margin-top:6px}

/* v1.2.10: dashboard column order — wide column in the middle, narrow column on
   the side OPPOSITE the sidebar (inline-end), following the site direction.
   These utilities were missing from the precompiled Tailwind build. */
@media (min-width:1024px){.lg\:order-1{order:1}.lg\:order-2{order:2}}

/* v1.2.10: utilities the dashboard needs that the old build never emitted —
   min-w-0 fixes the token chip overflow AND the mobile horizontal scroll
   (flex/grid min-content chain), col-span-1 is now referenced explicitly */
.min-w-0{min-width:0}
.lg\:col-span-1{grid-column:span 1/span 1}

/* v1.2.11: the FULL notifications page (the bell opens it instead of a dropdown).
   Reuses .notif-item/.notif-ico/.notif-title/.notif-body/.notif-time/.notif-dot
   plus a few page-specific touches: bigger rows, focus rings, honest badge. */
.notif-item-page{padding:.95rem 1.15rem}
.notif-item-page .notif-title{font-size:13px}
.notif-item-page .notif-body{font-size:12px}
.notif-item-page:focus-visible{outline:2px solid rgba(45,212,191,.6);outline-offset:-2px}
html.light .notif-item-page:focus-visible{outline-color:#0d9488}
#notifPageMarkAll:disabled{opacity:.45;cursor:not-allowed}
/* v1.2.11: the push status card "checking" row uses the console dots */
[data-push-checking-box] .console-dots{color:#64748b}

/* v1.2.13: honest per-browser push diagnostic line (rendered by app.js into
   [data-push-diag] after every REAL test push — "fcm.googleapis.com — 201 ✓").
   Hand-written like the other v1.2.x additions: these utilities were never in
   the precompiled Tailwind build, and a missing class must never hide the
   diagnostic. Dark + light theme aware. */
.push-diag{margin-top:.625rem;border-radius:.5rem;border:1px solid rgba(51,65,85,.65);background:rgba(15,23,42,.6);padding:.4rem .65rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;line-height:1.7;color:rgb(148 163 184);word-break:break-all;overflow-wrap:anywhere;direction:ltr;text-align:left}
html.light .push-diag{border-color:rgba(203,213,225,1);background:rgba(248,250,252,.92);color:rgb(71 85 105)}

/* ===================== v1.3.0 ===================== */

/* settings section: sub-links under the sidebar heading */
.nav-link-sub{padding:.4rem .75rem;padding-inline-start:2.15rem;font-size:12.5px;border-radius:.6rem;color:rgb(148 163 184)}
.nav-link-sub:hover{background-color:rgba(30,41,59,.6);color:#fff}
html.light .nav-link-sub{color:#64748b}
html.light .nav-link-sub:hover{background-color:#f1f5f9;color:#0f172a}

/* settings tab pills */
.settings-tab{display:inline-flex;align-items:center;border-radius:9999px;border:1px solid rgba(51,65,85,.8);background:rgba(15,23,42,.6);padding:.4rem .95rem;font-size:12px;font-weight:600;color:rgb(148 163 184);transition:all .15s ease}
.settings-tab:hover{border-color:rgba(20,184,166,.5);color:rgb(153 246 228)}
.settings-tab.active{border-color:rgba(20,184,166,.7);background:rgba(20,184,166,.12);color:rgb(153 246 228)}
html.light .settings-tab{border-color:#cbd5e1;background:#f8fafc;color:#475569}
html.light .settings-tab:hover{border-color:rgba(13,148,136,.5);color:#0f766e}
html.light .settings-tab.active{border-color:#0d9488;background:#f0fdfa;color:#0f766e}

/* roles permission groups + users/profile tables */
.perm-group{border-radius:.9rem}
html.light .perm-group{border-color:#e2e8f0}
html.light .divide-slate-800 > :not([hidden]) ~ :not([hidden]){border-color:#e2e8f0}
/*===================== v1.3.1 =====================
   Utilities the v1.3.1 views need that the 1.3.0 sheet never emitted.
   Appended (not merged) so every hand-authored 1.x rule stays intact.*/
.visible{visibility:visible}
.-top-1{top:-.25rem}
.order-2{order:2}
.mb-0\.5{margin-bottom:.125rem}
.ms-1\.5{margin-inline-start:.375rem}
.mt-2\.5{margin-top:.625rem}
.block{display:block}
.inline{display:inline}
.h-14{height:3.5rem}
.h-8{height:2rem}
.max-h-64{max-height:16rem}
.max-h-\[430px\]{max-height:430px}
.max-h-full{max-height:100%}
.w-14{width:3.5rem}
.w-8{width:2rem}
.min-w-\[18px\]{min-width:18px}
.\!max-w-sm{max-width:24rem!important}
.max-w-full{max-width:100%}
.cursor-not-allowed{cursor:not-allowed}
.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gap-3\.5{gap:.875rem}
.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}
.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem*var(--tw-space-y-reverse))}
.divide-slate-800>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(30 41 59/var(--tw-divide-opacity,1))}
.break-all{word-break:break-all}
.border-2{border-width:2px}
.\!border-rose-500\/40{border-color:rgba(244,63,94,.4)!important}
.border-emerald-500\/40{border-color:rgba(16,185,129,.4)}
.bg-amber-500\/15{background-color:rgba(245,158,11,.15)}
.bg-rose-500{--tw-bg-opacity:1;background-color:rgb(244 63 94/var(--tw-bg-opacity,1))}
.bg-slate-800\/60{background-color:rgba(30,41,59,.6)}
.bg-slate-900\/60{background-color:rgba(15,23,42,.6)}
.object-contain{-o-object-fit:contain;object-fit:contain}
.\!p-1\.5{padding:.375rem!important}
.p-1\.5{padding:.375rem}
.p-3\.5{padding:.875rem}
.px-1{padding-left:.25rem;padding-right:.25rem}
.pb-1{padding-bottom:.25rem}
.ps-16{padding-inline-start:4rem}
.pt-1{padding-top:.25rem}
.align-middle{vertical-align:middle}
.text-\[10px\]{font-size:10px}
.uppercase{text-transform:uppercase}
.tracking-wider{letter-spacing:.05em}
.\!text-rose-300{--tw-text-opacity:1!important;color:rgb(253 164 175/var(--tw-text-opacity,1))!important}
.text-amber-200\/80{color:hsla(48,97%,77%,.8)}
.text-amber-400{--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}
.text-teal-300\/80{color:rgba(94,234,212,.8)}
.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}
.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}
.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}
.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}
.hover\:border-teal-500\/40:hover{border-color:rgba(20,184,166,.4)}
.hover\:\!bg-rose-500\/10:hover{background-color:rgba(244,63,94,.1)!important}
.hover\:text-slate-200:hover{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}
.group:hover .group-hover\:text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}
@media (min-width:640px){.sm\:w-auto{width:auto}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.lg\:sticky{position:sticky}.lg\:top-4{top:1rem}.lg\:col-span-1{grid-column:span 1/span 1}.lg\:col-span-3{grid-column:span 3/span 3}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1280px){.xl\:col-span-2{grid-column:span 2/span 2}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* v1.3.1: roles permission-group headers (semantic, dark + light) */
.perm-group-head{background:rgba(15,23,42,.6)}
html.light .perm-group-head{background:#f1f5f9;border-bottom-color:#e2e8f0}


/* v1.3.2: sidebar ACTIVE state (settings tabs moved to the sidebar) */
.nav-link-active{background-color:rgba(20,184,166,.12);color:#5eead4;font-weight:600}
html.light .nav-link-active{background-color:rgba(13,148,136,.08);color:#0f766e}
/* v1.3.2: missing Tailwind utilities used by the new views */
.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1280px){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}

/* ===================== v1.3.3 =====================
   THE ROLES-PAGE GAP BUG + every utility the current views use that the
   1.3.0-era Tailwind scan never emitted (gap-6 / xl:gap-8 were literally
   absent from the sheet, which is why the roles columns and the badges sat
   glued together). Standard Tailwind v3 values, dark + light overrides. */
.gap-1\.5{gap:.375rem}
.gap-2\.5{gap:.625rem}
.gap-5{gap:1.25rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
@media (min-width:1280px){.xl\:gap-8{gap:2rem}}
.xl\:sticky{position:sticky}
@media (min-width:1280px){.xl\:sticky{position:sticky}}
.xl\:top-4{top:1rem}
@media (min-width:1280px){.xl\:top-4{top:1rem}}
.mt-5{margin-top:1.25rem}
.-mt-2{margin-top:-.5rem}
.ms-5{margin-inline-start:1.25rem}
.mb-1\.5{margin-bottom:.375rem}
.-end-1{inset-inline-end:-.25rem}
.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem*var(--tw-space-y-reverse))}
.\!px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}
.\!min-w-\[2rem\]{min-width:2rem!important}
.\!max-w-\[12rem\]{max-width:12rem!important}
.\!max-w-md{max-width:28rem!important}
.\!text-teal-300{color:rgb(94 234 212/var(--tw-text-opacity,1))!important}
.\!text-emerald-300{color:rgb(110 231 183/var(--tw-text-opacity,1))!important}
.\!border-teal-500\/40{border-color:rgba(20,184,166,.4)!important}
.\!border-emerald-500\/40{border-color:rgba(16,185,129,.4)!important}
.h-3\.5{height:.875rem}
.w-3\.5{width:.875rem}
.h-20{height:5rem}
.w-20{width:5rem}
.h-1\.5{height:.375rem}
.h-\[18px\]{height:18px}
.rounded-lg{border-radius:.5rem}
.object-cover{object-fit:cover}
.p-12{padding:3rem}
.ps-3{padding-inline-start:.75rem}
.pe-0\.5{padding-inline-end:.125rem}
.text-end{text-align:end}
.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}
.text-teal-500\/70{color:rgba(20,184,166,.7)}
.bg-slate-900\/40{background-color:rgba(15,23,42,.4)}
.bg-slate-800\/50{background-color:rgba(30,41,59,.5)}
.bg-slate-950\/60{background-color:rgba(2,6,23,.6)}
.bg-emerald-500\/15{background-color:rgba(16,185,129,.15)}
.hover\:bg-slate-800\/30:hover{background-color:rgba(30,41,59,.3)}
.hover\:bg-teal-500\/10:hover{background-color:rgba(20,184,166,.1)}
.hover\:border-teal-500\/50:hover{border-color:rgba(20,184,166,.5)}
.disabled\:opacity-40:disabled{opacity:.4}
.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px*var(--tw-divide-y-reverse))}
.divide-slate-800\/70>:not([hidden])~:not([hidden]){border-color:rgba(30,41,59,.7)}
.last\:mb-0:last-child{margin-bottom:0}
.max-h-\[420px\]{max-height:420px}
.max-h-\[75vh\]{max-height:75vh}
.max-w-5xl{max-width:64rem}
.max-w-\[240px\]{max-width:240px}
.max-w-lg{max-width:32rem}
.list-decimal{list-style-type:decimal}
.tabular-nums{font-variant-numeric:tabular-nums}
.duration-1000{transition-duration:1s}
.ease-linear{transition-timing-function:linear}
.min-h-\[1\.25rem\]{min-height:1.25rem}
/* v1.3.3 light-mode overrides for the newly-added alpha surfaces (consistent
   with the existing html.light palette) */
html.light .bg-slate-900\/40{background-color:#f8fafc}
html.light .bg-slate-800\/50{background-color:#f1f5f9}
html.light .bg-slate-950\/60{background-color:#eef2f7}
html.light .bg-emerald-500\/15{background-color:rgba(16,185,129,.1)}
html.light .hover\:bg-slate-800\/30:hover{background-color:rgba(15,23,42,.035)}
html.light .hover\:bg-teal-500\/10:hover{background-color:rgba(13,148,136,.07)}
html.light .divide-slate-800\/70>:not([hidden])~:not([hidden]){border-color:#e2e8f0}
html.light .text-teal-500\/70{color:#0f766e}
html.light .text-slate-700{color:#475569}

/* ============================================================================
   v1.3.4 — PROFILE SETTINGS / PUBLIC PROFILE / SIDEBAR IDENTITY
   (1) profile-settings vertical tabs + theme segmented control;
   (2) the sidebar identity DROPUP (opens upward);
   (3) the public profile presence dot;
   (4) the Tailwind utilities the new markup needs that were never in the
       compiled sheet (the same class of bug as the v1.3.3 roles-page gap).
   ========================================================================== */

/* ---- v1.3.4 utilities (dark defaults; light overrides at the end) ---- */
.text-base{font-size:1rem;line-height:1.5rem}
.h-24{height:6rem}
.w-24{width:6rem}
.w-7{width:1.75rem}
.rounded-3xl{border-radius:1.5rem}
.max-w-xs{max-width:20rem}
.mb-5{margin-bottom:1.25rem}
.pt-1\.5{padding-top:.375rem}
.pb-1\.5{padding-bottom:.375rem}
.gap-x-4{column-gap:1rem}
.gap-y-1{row-gap:.25rem}
@media (min-width:1024px){
  .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lg\:top-20{top:5rem}
}
@media (min-width:640px){
  .sm\:col-span-2{grid-column:span 2 / span 2}
}
.hover\:bg-slate-800\/60:hover{background-color:rgba(30,41,59,.6)}
.hover\:border-teal-500\/30:hover{border-color:rgba(20,184,166,.3)}

/* ---- v1.3.4: profile-settings VERTICAL TABS (stacked, direction-aware) ---- */
.pstab{display:flex;align-items:center;gap:.625rem;width:100%;padding:.65rem .875rem;border-radius:.75rem;font-size:.8125rem;font-weight:600;color:#94a3b8;text-align:start;transition:background .15s,color .15s,border-color .15s;cursor:pointer;border:1px solid transparent;background:transparent;white-space:nowrap}
.pstab:hover{background:rgba(30,41,59,.5);color:#e2e8f0}
.pstab-active{background:rgba(20,184,166,.12);border-color:rgba(20,184,166,.35);color:#5eead4}
.pstab svg{flex:0 0 auto}

/* ---- v1.3.4: the light/dark SEGMENTED control (under the language select) ---- */
.theme-seg{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.theme-seg-btn{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:.875rem .5rem;border-radius:.9rem;border:1px solid #334155;color:#94a3b8;cursor:pointer;transition:border-color .15s,color .15s,background .15s;background:transparent;font-size:.75rem;font-weight:700}
.theme-seg-btn:hover{border-color:rgba(20,184,166,.4);color:#e2e8f0}
.theme-seg-active{border-color:rgba(20,184,166,.55);background:rgba(20,184,166,.1);color:#5eead4}

/* ---- v1.3.4: sidebar identity DROPUP (opens UPWARD from the bottom bar) ---- */
.usermenu{position:absolute;bottom:calc(100% + .5rem);inset-inline-start:.75rem;inset-inline-end:.75rem;z-index:50;border-radius:.9rem;border:1px solid #1e293b;background:#0f172a;box-shadow:0 20px 45px -12px rgba(0,0,0,.6);overflow:hidden;animation:bpaDropUp .16s ease-out}
@keyframes bpaDropUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.usermenu-item{display:flex;align-items:center;gap:.625rem;width:100%;padding:.65rem .9rem;font-size:.8125rem;font-weight:600;color:#cbd5e1;text-align:start;transition:background .12s,color .12s;cursor:pointer;border:0;background:transparent;text-decoration:none}
.usermenu-item:hover{background:rgba(30,41,59,.55);color:#fff}
.usermenu-item-danger{color:#fda4af}
.usermenu-item-danger:hover{background:rgba(244,63,94,.1);color:#fecdd3}
.usermenu-sep{height:1px;background:#1e293b}

/* ---- v1.3.4: public-profile presence dot (honest online/offline) ---- */
.presence-dot{width:.5rem;height:.5rem;border-radius:9999px;display:inline-block;flex:0 0 auto}
.presence-dot-on{background:#34d399;box-shadow:0 0 0 3px rgba(52,211,153,.18);animation:presencePulse 2s ease-in-out infinite}
.presence-dot-off{background:#64748b}
@keyframes presencePulse{0%,100%{box-shadow:0 0 0 3px rgba(52,211,153,.18)}50%{box-shadow:0 0 0 6px rgba(52,211,153,.06)}}

/* ---- v1.3.4 light-mode overrides (same palette as the existing html.light block) ---- */
html.light .pstab{color:#64748b}
html.light .pstab:hover{background:#f1f5f9;color:#0f172a}
html.light .pstab-active{background:rgba(13,148,136,.08);border-color:rgba(13,148,136,.35);color:#0f766e}
html.light .theme-seg-btn{border-color:#cbd5e1;color:#64748b}
html.light .theme-seg-btn:hover{border-color:rgba(13,148,136,.4);color:#0f172a}
html.light .theme-seg-active{border-color:rgba(13,148,136,.55);background:rgba(13,148,136,.07);color:#0f766e}
html.light .usermenu{background:#ffffff;border-color:#e2e8f0;box-shadow:0 20px 45px -12px rgba(15,23,42,.18)}
html.light .usermenu-item{color:#334155}
html.light .usermenu-item:hover{background:#f1f5f9;color:#0f172a}
html.light .usermenu-item-danger{color:#e11d48}
html.light .usermenu-item-danger:hover{background:#fff1f2;color:#be123c}
html.light .usermenu-sep{background:#e2e8f0}
html.light .hover\:bg-slate-800\/60:hover{background-color:rgba(15,23,42,.045)}
html.light .presence-dot-off{background:#94a3b8}

/* v1.3.4: the topbar identity chip — the old `hidden sm:inline-flex` pair was
   dead weight (inline critical `.hidden{display:none!important}` always beat
   the responsive class). One dedicated class, desktop-only, no !important war. */
.me-chip{display:none}
@media (min-width:640px){ .me-chip{display:inline-flex} }

/* ===================== v1.3.5 =====================
   (1) .p-2 was NEVER compiled — the profile-settings vertical-tabs card
       had ZERO padding (the "elements stuck to the edges" complaint).
   (2) the live personal sidebar sections (آخر الوظائف / آخر التشغيلات).
   (3) the presence badge variants for the LIVE online/offline pill. */
.p-2{padding:.5rem}

/* ---- live sidebar sections ---- */
.sb-sec{padding-top:.875rem;margin-top:.5rem;border-top:1px solid #1e293b}
.sb-sec-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:0 .5rem .375rem}
.sb-sec-title{display:inline-flex;align-items:center;gap:.4rem;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#64748b}
.sb-sec-title svg{width:.85rem;height:.85rem;color:#2dd4bf;flex:0 0 auto}
.sb-all{font-size:10px;font-weight:700;color:#2dd4bf;padding:.125rem .4rem;border-radius:.5rem;transition:background .15s,color .15s}
.sb-all:hover{color:#5eead4;background:rgba(45,212,191,.12)}
.sb-all-active{background:rgba(45,212,191,.15);color:#5eead4}
.sb-list{display:flex;flex-direction:column;gap:.125rem}
.sb-item{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.375rem .5rem;border-radius:.6rem;color:#cbd5e1;text-decoration:none;transition:background .15s,color .15s,border-color .15s;border:1px solid transparent;min-width:0}
.sb-item:hover{background:rgba(45,212,191,.08);border-color:rgba(45,212,191,.25);color:#f1f5f9}
.sb-main{min-width:0;display:flex;flex-direction:column;gap:.05rem}
.sb-host{font-size:11.5px;font-weight:600;color:#cbd5e1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-item:hover .sb-host{color:#5eead4}
.sb-sub{font-size:9.5px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-state{display:inline-flex;align-items:center;gap:.3rem;flex:0 0 auto}
.sb-chip{display:inline-flex;align-items:center;font-size:9px;font-weight:700;line-height:1;padding:.2rem .4rem;border-radius:9999px;border:1px solid transparent;white-space:nowrap}
.sb-chip-run{color:#5eead4;background:rgba(45,212,191,.12);border-color:rgba(45,212,191,.35)}
.sb-chip-ok{color:#34d399;background:rgba(52,211,153,.1);border-color:rgba(52,211,153,.3)}
.sb-chip-fail{color:#fb7185;background:rgba(251,113,133,.1);border-color:rgba(251,113,133,.3)}
.sb-chip-idle{color:#94a3b8;background:rgba(148,163,184,.1);border-color:rgba(148,163,184,.25)}
.sb-prog{font-size:9.5px;font-weight:800;color:#2dd4bf;font-variant-numeric:tabular-nums;white-space:nowrap}
.sb-empty{padding:.5rem .5rem .25rem;font-size:10.5px;color:#475569}

/* ---- live presence badge (pill + compact) ---- */
.presence-badge{transition:background .2s,color .2s,border-color .2s}
.presence-badge-on{background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.35);color:#6ee7b7}
.presence-badge-off{background:rgba(30,41,59,.6);border-color:#334155;color:#94a3b8}

/* ---- light theme ---- */
html.light .sb-sec{border-top-color:#e2e8f0}
html.light .sb-sec-title{color:#64748b}
html.light .sb-item{color:#334155}
html.light .sb-item:hover{background:rgba(13,148,136,.07);border-color:rgba(13,148,136,.3);color:#0f172a}
html.light .sb-host{color:#334155}
html.light .sb-item:hover .sb-host{color:#0d9488}
html.light .sb-sub{color:#94a3b8}
html.light .sb-chip-run{color:#0d9488;background:rgba(20,184,166,.1);border-color:rgba(20,184,166,.35)}
html.light .sb-chip-ok{color:#059669;background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.35)}
html.light .sb-chip-fail{color:#e11d48;background:rgba(244,63,94,.08);border-color:rgba(244,63,94,.35)}
html.light .sb-chip-idle{color:#64748b;background:rgba(100,116,139,.08);border-color:rgba(100,116,139,.25)}
html.light .sb-prog{color:#0d9488}
html.light .sb-empty{color:#94a3b8}
html.light .sb-all:hover{background:rgba(13,148,136,.1);color:#0d9488}
html.light .presence-badge-on{background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.4);color:#047857}
html.light .presence-badge-off{background:#f1f5f9;border-color:#cbd5e1;color:#64748b}
/* ============ v1.3.9: HEADERLESS LAYOUT ============
   The global topbar is gone: theme + language moved into the sidebar identity
   menu, the bell sits beside the identity block, and the ONLY page with a
   header is the JOB page (its own identity/actions/progress bar). */

/* theme menu item — the icon mirrors the CURRENT mode, the LABEL always names
   the mode you will SWITCH TO (dark shows "light mode", light shows "dark") */
.theme-ico{width:18px;height:18px;display:none;flex:0 0 auto}
html:not(.light) .theme-ico-moon{display:inline-block}
html.light .theme-ico-sun{display:inline-block}
.theme-to-dark{display:none}
html.light .theme-to-dark{display:inline}
html.light .theme-to-light{display:none}

/* the language <select> inside the identity menu (compact, both themes) */
.lang-mini{margin-inline-start:auto;font-size:11px;font-weight:700;padding:.3rem .5rem;border-radius:.55rem;border:1px solid #334155;background:#0f172a;color:#e2e8f0;max-width:8.5rem;cursor:pointer}
.lang-mini option{background:#0f172a;color:#e2e8f0}
html.light .lang-mini{border-color:#cbd5e1;background:#ffffff;color:#0f172a}
html.light .lang-mini option{background:#ffffff;color:#0f172a}

/* the JOB page 3-dot actions menu — opens DOWNWARD, anchored to the physical
   right edge (the actions cluster is right-anchored in BOTH directions) */
.jmenu{position:absolute;top:calc(100% + .5rem);right:.25rem;left:auto;z-index:50;min-width:13.5rem;border-radius:.9rem;border:1px solid #1e293b;background:#0f172a;box-shadow:0 20px 45px -12px rgba(0,0,0,.6);overflow:hidden;animation:bpaDrop9 .16s ease-out}
@keyframes bpaDrop9{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
html.light .jmenu{background:#ffffff;border-color:#e2e8f0;box-shadow:0 20px 45px -12px rgba(15,23,42,.18)}
.jmenu .usermenu-item{white-space:nowrap}

/* ---- v1.3.9: utility top-ups used by the new headerless layout + the job
   header (the compiled app.css predates these; hand-added so no rebuild is
   needed on the live host) ---- */
.flex-row-reverse{flex-direction:row-reverse}
.flex-nowrap{flex-wrap:nowrap}
[dir="rtl"] .rtl\:flex-row-reverse{flex-direction:row-reverse}
.order-3{order:3}
@media (min-width:1024px){
  .lg\:order-2{order:2}
  .lg\:order-3{order:3}
  .lg\:flex-nowrap{flex-wrap:nowrap}
  .lg\:ps-6{padding-inline-start:1.5rem}
}
.gap-x-3{column-gap:.75rem}
.gap-y-1\.5{row-gap:.375rem}
.min-w-\[160px\]{min-width:160px}
.max-w-\[14rem\]{max-width:14rem}
@media (min-width:640px){ .sm\:max-w-none{max-width:none} }
.bg-slate-950\/85{background-color:rgba(2,6,23,.85)}
html.light .bg-slate-950\/85{background-color:rgba(255,255,255,.88)}
.start-3{inset-inline-start:.75rem}
.top-3{top:.75rem}
/* ================= v1.3.11: THE JOB-PAGE HEADER — rebuilt on the retired
   global header's skin (h-16 glassy slate-950/70 + backdrop-blur, full-bleed
   width) and ONE physical row at ALL widths. v1.3.9's version relied on
   min-w-[160px]/lg:flex-nowrap/max-w-[14rem] utilities the compiled CSS never
   shipped, so real desktops folded it into 2–3 lines. These dedicated .jh-*
   rules carry the layout instead — no missing utilities, no wrapping. */
.bpa-jheader{height:4rem;display:flex;align-items:center}
.bpa-jheader .jh-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.625rem;width:100%;min-width:0}
[dir="rtl"] .bpa-jheader .jh-row{flex-direction:row-reverse}
.bpa-jheader .jh-id{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.5rem;min-width:0}
[dir="rtl"] .bpa-jheader .jh-id{flex-direction:row-reverse}
.bpa-jheader .jh-num{display:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:#64748b;flex-shrink:0}
@media (min-width:640px){.bpa-jheader .jh-num{display:inline}}
.bpa-jheader .jh-host{font-weight:600;color:#5eead4;text-decoration:none;min-width:0;max-width:9.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1}
@media (min-width:640px){.bpa-jheader .jh-host{max-width:14rem}}
.bpa-jheader .jh-host:hover{color:#99f6e4}
html.light .bpa-jheader .jh-host{color:#0d9488}
html.light .bpa-jheader .jh-host:hover{color:#0f766e}
.bpa-jheader .badge{flex-shrink:0;white-space:nowrap}
.bpa-jheader .jh-badge{display:none}
@media (min-width:768px){.bpa-jheader .jh-badge{display:inline-flex}}
.bpa-jheader .jh-lastrun{display:none}
@media (min-width:1280px){.bpa-jheader .jh-lastrun{display:inline-flex}}
.bpa-jheader .jh-prog{flex:1 1 0%;min-width:64px;min-width:max(64px,4rem)}
@media (min-width:640px){.bpa-jheader .jh-prog{min-width:110px}}
@media (min-width:1024px){.bpa-jheader .jh-prog{padding-inline:.5rem}}
.bpa-jheader .jh-track{height:.375rem;border-radius:999px;background:#1e293b;overflow:hidden}
html.light .bpa-jheader .jh-track{background:#e2e8f0}
.bpa-jheader .jh-track>div{height:100%;border-radius:999px}
.bpa-jheader .jh-meta{margin-top:2px;display:flex;justify-content:space-between;gap:.5rem;font-size:10px;line-height:1.15;color:#64748b}
.bpa-jheader .jh-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:639.98px){.bpa-jheader .jh-meta{display:none}}
.bpa-jheader .jh-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.5rem;position:relative;flex-shrink:0;margin-inline-start:auto}
[dir="rtl"] .bpa-jheader .jh-actions{flex-direction:row-reverse}
@media (max-width:639.98px){.bpa-jheader .jh-actions{gap:.375rem}}

/* ==================================================================
   v1.3.12 — the job header is now FULL-BLEED + pinned at the very TOP
   of the site (from the sidebar edge to the window edge, sticky top-0),
   with EVERY element on ONE row vertically centered (the progress bar
   itself rides the same centerline — track + % label inline).
   ================================================================== */
.bpa-jheader{margin:-1rem -1rem 1rem}
@media(min-width:640px){.bpa-jheader{margin:-1.5rem -1.5rem 1.5rem}}
/* ==================================================================
   v1.7.19 — TWO-SIDED GRADIENT v2: the sides must be EXACTLY the site's
   dark floor AT THE TOP (the user: "بنفس لون أرضية الموقع الغامقة فوق
   بالظبط بدون اى اختلاف او فواصل كأنها منبثقة من الأرضية نفسها").
   ROOT CAUSE of the visible difference: the page paints a FIXED teal
   overlay over the first 256px (layout.php: bg-gradient-to-b from-
   teal-500/10), so the floor around the bar is #020617 + teal tint —
   while the bar's own dark stop was PURE #020617 and COVERED the overlay
   (z-30 paints above it). The bar now REPLICATES that overlay layer on
   top of its own background: same base, same tint, same fade — the bar's
   sides composite to the very same pixels as the floor behind them, so
   there is NO color step and NO edge anywhere. The white core stays
   INSIDE (the center, where the progress bar rides), reached through a
   LONGER, softer melt (15% → 50%) so no "separator" band appears. The
   floor layer stays OPAQUE: scrolled content never bleeds through the
   sticky bar. Symmetric left/right = RTL-safe by construction.
   ================================================================== */
.bpa-jheader{
  background-color:#020617;
  background-image:
    linear-gradient(to bottom, rgba(20,184,166,.10), rgba(20,184,166,.075)),
    linear-gradient(90deg,
      rgba(255,255,255,0) 15%,
      rgba(255,255,255,.55) 33%,
      #ffffff 50%,
      rgba(255,255,255,.55) 67%,
      rgba(255,255,255,0) 85%);
}
html.light .bpa-jheader{
  background-color:#f7fcfb;
  background-image:
    linear-gradient(to bottom, rgba(13,148,136,.07), rgba(13,148,136,.0525)),
    linear-gradient(90deg,
      rgba(255,255,255,0) 15%,
      rgba(255,255,255,.7) 33%,
      #ffffff 50%,
      rgba(255,255,255,.7) 67%,
      rgba(255,255,255,0) 85%);
}
/* the single-line progress: the track flexes, the % + stage labels sit
   INLINE on the same centerline — nothing stacked below anymore */
.bpa-jheader .jh-prog{display:flex;flex-direction:row;align-items:center;gap:.625rem;flex:1 1 0%;min-width:96px}
.bpa-jheader .jh-track{flex:1 1 0%;min-width:48px}
.bpa-jheader .jh-meta{margin-top:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:.5rem;font-size:10px;line-height:1.2;color:#64748b;flex-shrink:0;max-width:46%}
.bpa-jheader .jh-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.light .bpa-jheader .jh-meta{color:#64748b}

/* ==================================================================
   v1.3.12 — the USERS-PAGE ACTIONS dropdown (.umenu): mirrors .jmenu
   (a drop-DOWN anchored to its button) reusing .usermenu-item rows.
   ================================================================== */
.umenu{position:absolute;top:calc(100% + .4rem);inset-inline-end:0;z-index:50;min-width:12.5rem;border-radius:.9rem;border:1px solid #1e293b;background:#0f172a;box-shadow:0 20px 45px -12px rgba(0,0,0,.6);overflow:hidden;animation:bpaDrop9 .16s ease-out}
.umenu .usermenu-item{white-space:nowrap}
html.light .umenu{background:#ffffff;border-color:#e2e8f0;box-shadow:0 20px 45px -12px rgba(15,23,42,.18)}

/* ==================================================================
   v1.3.12 — the CODE boxes (email /verify + the WhatsApp modal):
   six square inputs, auto-advance handled in app-1.3.12.js.
   ================================================================== */
.wa-code-box{width:2.6rem;height:3rem;text-align:center;font-size:1.35rem;font-weight:800;color:#5eead4;background:#0b1120;border:1px solid #1e293b;border-radius:.75rem;outline:none;transition:border-color .12s,box-shadow .12s}
.wa-code-box:focus{border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.18)}
html.light .wa-code-box{background:#f8fafc;border-color:#e2e8f0;color:#0f766e}
html.light .wa-code-box:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.15)}
@media(max-width:380px){.wa-code-box{width:2.2rem;height:2.7rem;font-size:1.15rem}}

/* ==================================================================
   v1.3.12 — the WhatsApp modal uses its OWN overlay class (wa-overlay):
   the legacy modal manager in layout.php watches EVERY .modal-overlay and
   closes any open one on outside clicks (inline display:none) — that fight
   closed the WhatsApp modal the instant it opened. A dedicated class with
   the same skin keeps the two systems independent.
   ================================================================== */
.wa-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(2,6,23,.65);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:bpaFade .18s ease-out}
.wa-overlay.hidden{display:none}
html.light .wa-overlay{background:rgba(15,23,42,.4)}

/* ==================================================================
   v1.3.12 — PRE-EXISTING mobile fix (found during the v1.3.12 browser
   pass, NOT caused by the header): on ≤767px the job console card forced
   the page wider than the viewport (grid items default min-width:auto and
   the console screen never scrolls). min-width:0 on the grid children +
   an inner scroll on the console screen keep the page exactly 100vw.
   ================================================================== */
.bpa-jheader ~ .max-w-5xl .grid > *{min-width:0}
.bpa-jheader ~ .max-w-5xl .card > .rounded-xl{overflow-x:auto}

/* ==================================================================
   v1.7.1 — THE RUN BUTTON IS ONE BUTTON (.runctl): exactly ONE face is
   visible per data-state. State-driven CSS, NOT the `hidden` attribute:
   a display-setting class on the button (.btn) overrides the UA's
   [hidden]{display:none} in the cascade — that cascade quirk is what
   made the old three separate buttons show up together. data-state is
   swapped by app.js the moment a run starts/pauses/ends without reload.
     run    → «تشغيل»     stop  → stop icon (while live)
     resume → «استئناف»  (while user-paused)
   ================================================================== */
.runctl .runctl-face{display:none}
.runctl[data-state="run"] .runctl-face[data-face="run"]{display:inline-flex;align-items:center;gap:.375rem}
.runctl[data-state="stop"] .runctl-face[data-face="stop"]{display:inline-flex;align-items:center;gap:.375rem}
.runctl[data-state="resume"] .runctl-face[data-face="resume"]{display:inline-flex;align-items:center;gap:.375rem}
.runctl[data-state="stop"]{color:#fda4af !important;border-color:rgba(244,63,94,.4) !important;background:transparent !important}

/* ================================================================
   v1.7.10 — STANDALONE LIVE CONSOLE + modal option rows
   (the user's four requests; nothing else is touched)
   ================================================================ */

/* ---------- the standalone console shell (replaces the white card) ----------
   v1.7.11: the GRADIENT lives on the SHELL — header, body and footer are all
   transparent and share one continuous console floor (no white head/foot
   strips), separated by FAINT hairlines. */
.console-shell{display:flex;flex-direction:column;border-radius:1rem;border:1px solid rgb(30 41 59);background:linear-gradient(180deg,#111d31 0%,#0d1727 45%,#0a1220 100%);--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden}
.console-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1.1rem;border-bottom:1px solid rgba(100,116,139,.22);flex:0 0 auto;min-height:46px}
.console-op{display:inline-flex;align-items:center;gap:.5rem;font-size:11px;font-weight:500;color:#5eead4;min-width:0;text-align:start}
.console-op[hidden]{display:none}
.console-op-detail{color:#0d9488;white-space:nowrap}
.console-body{height:clamp(280px,44vh,460px);overflow-y:auto;padding:1rem 1.1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.45rem;background:transparent;flex:0 0 auto}
.log-empty{color:#475569}
/* log levels — visible distinction in BOTH themes (before: none at all) */
.log-warn{color:#fbbf24}
.log-error{color:#fda4af}
.log-ok{color:#6ee7b7}
.console-foot{display:flex;align-items:center;gap:.75rem;padding:.55rem 1.1rem;border-top:1px solid rgba(100,116,139,.22);font-size:10.5px;color:#94a3b8;flex:0 0 auto;background:transparent}
.console-foot-item{display:inline-flex;align-items:baseline;gap:.4rem;min-width:0}
.console-foot-label{color:#64748b}
.console-foot-val{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:600;font-size:10.5px;color:#cbd5e1;font-variant-numeric:tabular-nums;white-space:nowrap}
.console-foot-sep{width:1px;height:14px;background:rgba(100,116,139,.30);flex:0 0 auto}

/* ---------- light theme: the console floor follows the PAGE gradient ----------
   (no black terminal in daylight — the same gradient family as the page floor,
   gray timestamps, medium-black operations, elevated with a soft shadow.
   v1.7.11: the gradient covers the WHOLE shell — head/foot are transparent
   with faint separators, never a white strip) */
html.light .console-shell{border-color:#e2e8f0;background:radial-gradient(700px 300px at 90% -20%,rgba(13,148,136,.10),transparent 60%),radial-gradient(520px 260px at -10% 12%,rgba(5,150,105,.08),transparent 55%),linear-gradient(180deg,#f7fcfb 0%,#f4f8fa 45%,#eef2f6 100%);--tw-shadow:0 1px 2px rgba(15,23,42,.06),0 10px 30px -14px rgba(15,23,42,.18);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}
html.light .console-head{border-bottom-color:rgba(15,23,42,.10)}
html.light .console-op{color:#0d9488}
html.light .console-op-detail{color:#0f766e}
html.light .console-body{background:transparent}
html.light .log-line{color:#1e293b}
html.light .log-time{color:#94a3b8}
html.light .log-empty{color:#94a3b8}
html.light .log-warn{color:#b45309}
html.light .log-error{color:#be123c}
html.light .log-ok{color:#047857}
html.light .console-foot{border-top-color:rgba(15,23,42,.10);background:transparent;color:#64748b}
html.light .console-foot-label{color:#94a3b8}
html.light .console-foot-val{color:#334155}
html.light .console-foot-sep{background:rgba(15,23,42,.14)}

/* ---------- modal option rows: the text hugs the icon, in the language direction ----------
   ROOT CAUSE: the old CSS carried `.text-start{min-width:0}` (a custom rule), while
   Tailwind pre-3.3 never generated text-align:start — so every <button> kept the
   UA's centered text and the labels drifted away from their icons in BOTH
   directions. This pins the rows to the language direction. */
.opt-row-btn{text-align:start}
.opt-row-btn > span{text-align:start}

/* ---------- RTL back-arrow flip (rtl:rotate-180 was never compiled) ---------- */
[dir="rtl"] .rtl-rotate{transform:scaleX(-1)}

/* v1.7.10: on narrow screens the live operation line shrinks with an
   ellipsis instead of wrapping the console header tall */
.console-op{flex:1 1 auto;overflow:hidden}
.console-op [data-console-op-text],.console-op [data-console-op-detail]{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}

/* ============================================================
   v1.7.17: THE USER RAIL — narrow floating icon sidebar
   Transparent (no floor/background), circular floating buttons,
   RTL-safe SIDE hints on hover/focus. Admin keeps the full sidebar.
   ============================================================ */
.rail{background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}
.rail-btn{position:relative;width:2.75rem;height:2.75rem;border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;background:transparent;border:0;text-decoration:none;transition:background .15s ease,color .15s ease,transform .15s ease;outline:none}
.rail-btn:hover{background:rgba(20,184,166,.14);color:#5eead4;transform:translateY(-1px)}
.rail-btn:focus-visible{box-shadow:0 0 0 2px rgba(45,212,191,.55)}
.rail-btn.rail-active{background:rgba(20,184,166,.16);color:#5eead4}
.rail-btn.rail-accent{color:#2dd4bf}
.rail-btn.rail-accent:hover{background:rgba(20,184,166,.2)}
html.light .rail-btn{color:#64748b}
html.light .rail-btn:hover{background:rgba(13,148,136,.1);color:#0d9488}
html.light .rail-btn.rail-active{background:rgba(13,148,136,.12);color:#0d9488}
/* the SIDE hint — floats next to the button (inset-inline = RTL-safe) */
.rail [data-tip]::after{content:attr(data-tip);position:absolute;top:50%;inset-inline-start:calc(100% + .75rem);transform:translateY(-50%) scale(.97);background:#0f172a;color:#e2e8f0;border:1px solid #334155;border-radius:.65rem;padding:.4rem .65rem;font-size:11px;font-weight:700;line-height:1.4;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .12s ease;z-index:70;box-shadow:0 10px 28px -8px rgba(0,0,0,.55)}
.rail [data-tip]:hover::after,.rail [data-tip]:focus-visible::after{opacity:1;transform:translateY(-50%) scale(1)}
html.light .rail [data-tip]::after{background:#ffffff;color:#0f172a;border-color:#e2e8f0;box-shadow:0 10px 24px -10px rgba(15,23,42,.25)}
/* the live 3-dot pulse inside the runs button */
.rail .rail-dots{height:14px}
.rail .rail-dots i{width:4px;height:4px}
/* rail identity dropup opens BESIDE the photo (the rail is too narrow for the
   classic upward menu) — same ids/markup, just repositioned */
.rail-usermenu{bottom:.25rem;inset-inline-start:calc(100% + .75rem);inset-inline-end:auto;width:15rem;animation:bpaDropUp .16s ease-out}
@media (max-width:380px){.rail-usermenu{width:13.5rem}}
/* v1.7.17 FIX: the hidden attribute must always win over the dots' display —
   JS toggles the .hidden class, the server renders [hidden]; both must hide */
.rail .rail-dots[hidden],.rail .rail-dots.hidden{display:none!important}
/* v1.7.17 FIX: the ms-16 utility is not in the compiled Tailwind build (it was
   never used before the rail) — ship it explicitly (margin-inline-start = RTL safe) */
.ms-16{margin-inline-start:4rem}
