/* OCEAN STUDIO — دخول المؤسس V2 (منقول حرفيًا من الحزمة المعتمدة OCEAN_FOUNDER_LOGIN_V2، مع بادئة fl- فقط) */
.fl-stage{--navy:#020914;--navy2:#061622;--aqua:#33dfe7;--blue:#178fd8;--muted:#a5b7c6;--ink:#ecfaff;--time:1150ms;color-scheme:dark;color:var(--ink);font-family:'Noto Kufi Arabic','Noto Sans Arabic',Tahoma,sans-serif}
.fl-stage *{box-sizing:border-box}.fl-stage button,.fl-stage input{font:inherit}.fl-stage button{cursor:pointer}.fl-stage button:focus-visible,.fl-stage input:focus-visible{outline:2px solid #a8ffff;outline-offset:4px}
.fl-stage[hidden]{display:none!important}
.fl-stage h1,.fl-stage h2{font-family:inherit;letter-spacing:normal}
.fl-msg{margin:12px 0 0;font-size:12px;line-height:1.8;color:#ffb4b4;background:rgba(120,20,30,.25);border:1px solid rgba(255,120,120,.35);border-radius:10px;padding:8px 12px}
.fl-submit:disabled{opacity:.7;cursor:progress}

.fl-stage{min-height:100svh;position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;background:radial-gradient(ellipse 45% 72% at 40% 42%,rgba(15,73,90,.23),transparent 67%),radial-gradient(ellipse 35% 34% at 95% 0%,rgba(17,102,109,.20),transparent 72%),radial-gradient(ellipse 30% 47% at 51% 102%,rgba(5,87,110,.22),transparent 72%),linear-gradient(113deg,#030a15 2%,#04111e 44%,#020914 84%)}
.fl-stage:before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:.34;background-image:radial-gradient(circle,#157f95 .8px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(to bottom,transparent 3%,#000 16%,#000 87%,transparent 100%)}
.fl-stage:after{content:'';position:absolute;z-index:-1;pointer-events:none;top:0;bottom:0;right:50%;width:1px;background:linear-gradient(to bottom,transparent,rgba(47,114,130,.16) 10%,rgba(29,198,215,.23) 52%,rgba(45,125,148,.18) 90%,transparent)}
.fl-haze{pointer-events:none;position:absolute;z-index:-1;width:42vw;height:42vw;min-width:350px;min-height:350px;border-radius:100%;will-change:transform;contain:strict;animation:fl-haze 12s ease-in-out infinite alternate}.fl-haze.fl-top{top:-39vw;right:-16vw;background:radial-gradient(closest-side,rgba(0,190,198,.16),rgba(0,190,198,.06) 55%,transparent)}.fl-haze.fl-lower{bottom:-38vw;left:-8vw;background:radial-gradient(closest-side,rgba(0,121,162,.14),rgba(0,121,162,.05) 55%,transparent);animation-delay:-4s}@keyframes fl-haze{to{transform:translate(30px,20px) scale(1.13);opacity:.62}}
.fl-halo{position:absolute;z-index:-1;bottom:-365px;right:calc(50% - 272px);width:545px;height:545px;border:1px solid rgba(77,170,189,.18);border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(24,210,210,.25) 0,rgba(6,116,144,.07) 17%,transparent 38%)}.fl-halo:before,.fl-halo:after{content:'';position:absolute;border-radius:50%;inset:44px;border:1px dashed rgba(55,181,194,.17)}.fl-halo:after{inset:97px;border-style:solid;border-color:rgba(64,193,202,.18)}
.fl-topbar{width:min(1500px,calc(100% - 96px));margin:0 auto;display:flex;justify-content:flex-start;align-items:center;padding:34px 0 0;z-index:5}
.fl-brand{display:flex;align-items:center;gap:13px}.fl-brand .fl-mark{width:46px;height:46px;border:1.4px solid #32d3df;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 20px rgba(25,206,230,.10)}.fl-brand svg{width:30px;height:30px}.fl-brand strong{display:block;direction:ltr;line-height:1.15;font:900 21px/1.2 system-ui,sans-serif;letter-spacing:.3px;white-space:nowrap;text-align:right}.fl-brand small{display:block;color:#92aebc;font-size:11px;margin-top:7px;text-align:right}
.fl-stage-main{flex:1;width:min(1550px,calc(100% - 96px));margin:0 auto;display:grid;grid-template-columns:1fr 1fr;direction:rtl;align-items:center;gap:clamp(44px,5.4vw,102px);padding:12px 0 38px}
.fl-copy{grid-column:1;align-self:end;padding-bottom:clamp(35px,7vh,105px);max-width:650px;justify-self:end;text-align:right;animation:fl-arrive 1.2s ease both}.fl-verse{font-family:'Amiri Quran','Noto Naskh Arabic',serif;font-size:clamp(24px,2.25vw,40px);line-height:2.2;white-space:nowrap;color:#69e6e2;margin:0 0 22px;text-shadow:0 0 24px rgba(37,224,221,.19)}.fl-glimmer{width:100px;height:2px;margin:-8px 80px 21px 0;background:radial-gradient(ellipse,#66faff,transparent 70%);filter:drop-shadow(0 0 7px #2ceff3)}.fl-copy h1{margin:0;color:#f5fbff;font-weight:900;letter-spacing:-1px;font-size:clamp(29px,2.65vw,43px);line-height:1.7}.fl-copy p.fl-desc{margin:7px 0 0;color:#95aeba;font-size:clamp(11px,.94vw,14px);line-height:2.4;max-width:650px}
.fl-form-area{grid-column:2;justify-self:center;align-self:center;position:relative;width:min(100%,495px);perspective:1200px}
.fl-card-glow{position:absolute;inset:16% 0 -9%;background:rgba(16,137,187,.14);filter:blur(62px);border-radius:50%;pointer-events:none}
.fl-glass{height:432px;position:relative;transition:transform .75s cubic-bezier(.15,.8,.3,1),filter .75s;transform-style:preserve-3d;filter:drop-shadow(0 35px 35px rgba(0,0,0,.40))}
.fl-glass:before{content:'';position:absolute;inset:0;clip-path:polygon(0 39px,39px 0,calc(100% - 39px) 0,100% 39px,100% calc(100% - 39px),calc(100% - 39px) 100%,39px 100%,0 calc(100% - 39px));background:linear-gradient(135deg,rgba(151,229,255,.82),rgba(68,135,170,.22) 26%,rgba(69,120,155,.14) 66%,rgba(45,186,237,.72));box-shadow:0 0 40px rgba(8,169,229,.11)}
.fl-glass:after{content:'';position:absolute;inset:1px;clip-path:polygon(0 39px,39px 0,calc(100% - 39px) 0,100% 39px,100% calc(100% - 39px),calc(100% - 39px) 100%,39px 100%,0 calc(100% - 39px));background:linear-gradient(143deg,rgba(23,61,88,.77),rgba(4,22,39,.94) 38%,rgba(4,17,30,.96) 71%,rgba(18,59,78,.84));backdrop-filter:blur(16px)}
.fl-card-shine{position:absolute;z-index:1;pointer-events:none;inset:1px;clip-path:polygon(0 39px,39px 0,calc(100% - 39px) 0,100% 39px,100% calc(100% - 39px),calc(100% - 39px) 100%,39px 100%,0 calc(100% - 39px));background:radial-gradient(ellipse at 56% 4%,rgba(37,160,213,.20),transparent 57%),linear-gradient(125deg,rgba(139,215,237,.07),transparent 44%)}
.fl-corner{position:absolute;z-index:4;pointer-events:none;width:54px;height:54px;filter:drop-shadow(0 0 11px #1691d5);transition:transform .85s cubic-bezier(.17,.74,.25,1)}.fl-corner.fl-tr{right:0;top:0;clip-path:polygon(0 0,100% 0,100% 100%);background:linear-gradient(50deg,#021c39,#158dd0 65%,#55d6ff);border-radius:3px 0 0}.fl-corner.fl-bl{bottom:0;left:0;clip-path:polygon(0 0,0 100%,100% 100%);background:linear-gradient(225deg,#002846,#168ad1 65%,#52d6fa)}
.fl-card-inner{position:relative;z-index:2;height:100%;padding:44px 51px 36px;display:flex;flex-direction:column;align-items:stretch;justify-content:center}
.fl-overline{font:700 10px system-ui,sans-serif;direction:ltr;letter-spacing:3px;color:#5fcbe3;margin:0 0 11px;text-align:right}.fl-card-title{font-size:23px;margin:0 0 7px;font-weight:900;letter-spacing:-.5px}.fl-card-hint{font-size:11px;margin:0 0 31px;line-height:2;color:#8caaba}.fl-field-label{display:block;font-size:12px;font-weight:700;margin:0 0 10px;color:#d6eaf1}.fl-pass-row{display:flex;align-items:center;direction:rtl;background:rgba(0,7,16,.46);border:1.3px solid #1887ad;border-radius:12px;min-height:51px;box-shadow:inset 0 0 12px rgba(12,125,165,.09),0 0 16px rgba(7,159,186,.05);transition:border-color .25s,box-shadow .25s}.fl-pass-row:focus-within{border-color:#4bdfef;box-shadow:0 0 20px rgba(18,181,207,.24)}.fl-pass-row input{flex:1;min-width:0;border:0;background:transparent;outline:0;padding:13px 15px;color:#f7fdff;direction:rtl;font-family:inherit;font-size:13px}.fl-pass-row input::placeholder{color:#577a8b}.fl-eye{width:45px;height:45px;display:grid;place-items:center;background:transparent;color:#78aebe;border:0}.fl-eye svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none}.fl-eye:hover{color:#b9f3ff}.fl-submit{margin-top:15px;height:49px;width:100%;border:0;border-radius:11px;background:linear-gradient(180deg,#48dff2,#20b9d9);color:#001b2a;font-weight:900;font-size:14px;box-shadow:0 9px 24px rgba(0,187,210,.22),inset 0 1px 0 rgba(240,255,255,.46);transition:filter .2s,transform .2s}.fl-submit:hover{filter:brightness(1.12);transform:translateY(-2px)}.fl-submit:active{transform:translateY(0)}.fl-card-foot{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#6e99a9;font-size:9px}.fl-replay{color:#95d9e9;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;padding:5px;white-space:nowrap}.fl-replay:hover{color:white}.fl-solo{display:inline-flex;gap:6px;align-items:center}.fl-solo:before{content:'';height:6px;width:6px;border-radius:50%;background:#43e1c5;box-shadow:0 0 8px #33d1be}
/* The video-inspired camera-free glass transition: panel fades, blue shards converge, ring blooms, form returns. */
.fl-visual-fx{position:absolute;inset:0;z-index:6;pointer-events:none;display:grid;place-items:center;opacity:0}.fl-pulse-ring{position:absolute;width:75px;height:75px;border-radius:50%;border:2px solid rgba(58,178,255,.88);box-shadow:inset 0 0 20px rgba(27,133,231,.45),0 0 45px rgba(30,157,227,.28)}.fl-pulse-ring:after{content:'';position:absolute;inset:13px;border-radius:50%;box-shadow:0 0 29px rgba(31,151,239,.50);border:1px solid rgba(99,184,255,.2)}.fl-diamond{position:relative;width:51px;height:51px;transform:rotate(0deg);filter:drop-shadow(0 0 15px rgba(11,154,238,.8))}.fl-diamond:before,.fl-diamond:after{content:'';position:absolute;width:38px;height:28px;border-radius:6px;background:linear-gradient(135deg,#197ed4,#051b38 66%);border:1px solid #3ac0fb;box-shadow:inset 0 0 10px rgba(26,178,245,.4)}.fl-diamond:before{top:0;right:10px;clip-path:polygon(0 0,100% 0,0 100%)}.fl-diamond:after{bottom:0;left:10px;background:linear-gradient(320deg,#238de7,#05213d 80%);clip-path:polygon(100% 0,100% 100%,0 100%)}
.fl-glass.fl-is-animating{animation:fl-panel-morph var(--time) both cubic-bezier(.2,.8,.2,1)}.fl-glass.fl-is-animating .fl-card-inner{animation:fl-content-morph var(--time) both}.fl-glass.fl-is-animating .fl-visual-fx{animation:fl-fx-cover var(--time) both}.fl-glass.fl-is-animating .fl-pulse-ring{animation:fl-ring-scale var(--time) both}.fl-glass.fl-is-animating .fl-diamond{animation:fl-diamond-spin var(--time) both}.fl-glass.fl-is-animating .fl-corner.fl-tr{animation:fl-shard-tr var(--time) both}.fl-glass.fl-is-animating .fl-corner.fl-bl{animation:fl-shard-bl var(--time) both}
@keyframes fl-panel-morph{0%{transform:scale(1);filter:brightness(1)}25%{transform:scale(.98) rotateY(-4deg);filter:brightness(.84)}50%{transform:scale(.98) rotateY(0);filter:brightness(.84)}78%{transform:scale(1.008);filter:brightness(1.08)}100%{transform:scale(1);filter:brightness(1)}}
@keyframes fl-content-morph{0%{opacity:1;transform:none;filter:blur(0)}19%{opacity:0;transform:translateY(-8px) scale(.96);filter:blur(8px)}70%{opacity:0;transform:translateY(10px);filter:blur(7px)}100%{opacity:1;transform:none;filter:blur(0)}}
@keyframes fl-fx-cover{0%,16%{opacity:0}28%,67%{opacity:1}91%,100%{opacity:0}}
@keyframes fl-ring-scale{0%,16%{transform:scale(.18);opacity:0}35%{transform:scale(.8);opacity:.6}51%{transform:scale(2.95);opacity:.9}63%{transform:scale(3.6);opacity:.24}78%,100%{transform:scale(4.5);opacity:0}}
@keyframes fl-diamond-spin{0%,18%{transform:rotate(-30deg) scale(.3);opacity:0}34%{transform:rotate(0) scale(1.05);opacity:1}50%{transform:rotate(17deg) scale(1.14);opacity:1}66%{transform:rotate(180deg) scale(.9);opacity:1}82%,100%{transform:rotate(260deg) scale(.25);opacity:0}}
@keyframes fl-shard-tr{0%{transform:translate(0,0)}30%,66%{transform:translate(-16px,15px) rotate(8deg)}100%{transform:translate(0,0)}}
@keyframes fl-shard-bl{0%{transform:translate(0,0)}30%,66%{transform:translate(16px,-14px) rotate(-8deg)}100%{transform:translate(0,0)}}
@keyframes fl-arrive{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
.fl-bottom{position:relative;z-index:2;width:min(1500px,calc(100% - 96px));margin:0 auto;padding:12px 0 25px;display:flex;justify-content:space-between;color:#577586;font:10px system-ui,sans-serif;direction:ltr}.fl-bottom span:nth-child(2){direction:rtl;font-family:'Noto Sans Arabic',Tahoma,sans-serif}
@media(max-width:970px){.fl-topbar,.fl-stage-main,.fl-bottom{width:calc(100% - 44px)}.fl-stage-main{grid-template-columns:1fr;gap:34px;padding:40px 0;justify-items:center}.fl-copy{grid-column:1;grid-row:1;align-self:center;justify-self:center;padding:0;max-width:100%;text-align:center}.fl-copy h1{font-size:clamp(31px,5.6vw,48px)}.fl-verse{font-size:clamp(25px,3.8vw,38px);margin-bottom:12px}.fl-glimmer{margin:0 auto 16px}.fl-form-area{grid-column:1;grid-row:2;width:min(100%,490px)}.fl-halo{bottom:26%;opacity:.6}.fl-stage:after{opacity:.3}.fl-bottom{padding-bottom:18px}}
@media(max-width:600px){.fl-topbar{padding-top:23px}.fl-brand .fl-mark{width:38px;height:38px}.fl-brand svg{width:27px;height:27px}.fl-brand strong{font-size:17px}.fl-brand small{font-size:10px}.fl-stage-main{padding:47px 0 26px;gap:30px}.fl-copy h1{font-size:clamp(27px,7.2vw,38px)}.fl-copy p.fl-desc{font-size:11px}.fl-verse{font-size:clamp(21px,5.5vw,30px);white-space:normal;line-height:1.95}.fl-glass{height:406px}.fl-card-inner{padding:36px 30px 25px}.fl-card-title{font-size:21px}.fl-card-hint{margin-bottom:26px}.fl-bottom span:nth-child(2){display:none}.fl-bottom{justify-content:center}.fl-corner{width:51px;height:51px}}
@media(max-width:380px){.fl-stage-main{padding-top:30px;gap:24px}.fl-copy h1{font-size:25px}.fl-glass{height:398px}.fl-card-inner{padding:32px 24px 22px}.fl-verse{font-size:21px}}
@media(prefers-reduced-motion:reduce){.fl-stage *,.fl-stage *:before,.fl-stage *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ═════════ لوحة المؤسس — التصميم المعتمد APPROVED_DESIGN (1672×941) ═════════ */
:root:not([data-theme="light"]) .fd, :root:not([data-theme="light"]) .modal {
  --bg: #07101a; --fg: #eef6fb; --muted: #93a8ba; --faint: #7d93a6;
  --line: #1c3442; --line-2: #24414f; --glow: #19d3c4; --brand: #19d3c4;
  --surface: #0b1825; --surface-solid: #0b1825; --field: #0a1622;
}
.fd { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; background: #060e18; color: var(--fg); font-family: var(--font-body); }
:root[data-theme="light"] .fd { background: #eef3f6; }
.fd svg { flex: 0 0 auto; }
/* ── القائمة اليمنى ── */
.fd-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #07111b; border-inline-start: 0; border-inline-end: 1px solid #16303d; padding: 14px 10px 18px 12px; display: flex; flex-direction: column; z-index: 50; scrollbar-width: thin; }
:root[data-theme="light"] .fd-side { background: #f7fafc; border-color: #d6e2e9; }
.fd-brand { display: flex; align-items: center; gap: 12px; padding: 0 6px 14px; color: var(--fg); }
.fd-brand b { display: block; font: 800 19px/1.15 var(--font-body); letter-spacing: .2px; direction: ltr; text-align: right; }
.fd-brand small { display: block; font-size: 11px; color: #9fb4c4; margin-top: 4px; }
.fd-brand-mark { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #19d3c4; color: #19d3c4; display: grid; place-items: center; box-shadow: 0 0 18px rgba(25, 211, 196, .18); }
.fd-hero { display: flex; align-items: center; gap: 14px; padding: 8px 16px; margin: 2px 0 8px; border-radius: 12px; border: 1px solid #0f6f6c; background: linear-gradient(100deg, #0a3f43, #0a1f2a 85%); box-shadow: inset -3px 0 0 #19d3c4, 0 0 22px rgba(25, 211, 196, .08); color: #fff; }
.fd-hero b { display: block; font-size: 16px; font-weight: 700; }
.fd-hero small { display: block; font-size: 11.5px; color: #a8c4cf; margin-top: 2px; }
.fd-hero-ic { color: #f2c14e; display: grid; }
.fd-hero.active { border-color: #19d3c4; }
.fd-group { margin: 0 0 6px; }
.fd-gtitle { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #7f97a8; margin: 10px 8px 4px; }
.fd-gtitle::after { content: ""; flex: 1; height: 1px; background: #1b3542; }
.fd-link { display: flex; align-items: center; gap: 14px; padding: 3px 16px; min-height: 36px; border-radius: 11px; color: #e9f3f8; font-size: 16px; font-weight: 600; border: 1px solid transparent; position: relative; }
.fd-link svg { color: #b9ccd8; }
.fd-link:hover { background: #0e2230; }
.fd-link.active { background: linear-gradient(100deg, #0b3a3e, #0b1f29); border-color: #18b5aa; color: #fff; box-shadow: 0 0 16px rgba(25, 211, 196, .10); }
.fd-link.active svg { color: #19d3c4; }
.fd-link .count { margin-inline-start: auto; font-size: 11px; background: #d9445a; color: #fff; border-radius: 99px; padding: 0 7px; }
:root[data-theme="light"] .fd-link, :root[data-theme="light"] .fd-hero { color: #12303e; }
:root[data-theme="light"] .fd-link:hover { background: #e8f1f5; }
:root[data-theme="light"] .fd-hero { background: linear-gradient(100deg, #d9f3f1, #f3f9fb); }
/* ── الشريط العلوي ── */
.fd-work { min-width: 0; display: flex; flex-direction: column; }
.fd-top { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 22px 0 28px; border-bottom: 1px solid #142c39; background: rgba(6, 16, 26, .82); position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px); }
:root[data-theme="light"] .fd-top { background: rgba(247, 250, 252, .92); border-color: #d6e2e9; }
.fd-search { flex: 0 1 498px; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid #27495a; border-radius: 12px; background: #081520; color: #19d3c4; margin-inline-start: 18px; }
.fd-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font-size: 14px; }
.fd-search input::placeholder { color: #7f98a8; }
:root[data-theme="light"] .fd-search { background: #fff; border-color: #c8d9e2; }
.fd-top-end { display: flex; align-items: center; gap: 14px; }
.fd-day { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 12px; border: 1px solid #22404f; background: #0a1824; color: #e3eef4; font-size: 13px; cursor: pointer; }
.fd-ibtn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #22404f; background: #0a1824; color: #dbe9f1; position: relative; cursor: pointer; }
.fd-top .fd-bell { border-color: transparent; background: transparent; }
.fd-dot { position: absolute; top: 7px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #ff4d63; box-shadow: 0 0 0 2px #06101a; }
:root[data-theme="light"] .fd-day, :root[data-theme="light"] .fd-ibtn { background: #fff; color: #12303e; border-color: #c8d9e2; }
.fd-sep { width: 1px; height: 34px; background: #21404f; }
.fd-user-wrap { position: relative; }
.fd-user { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--fg); cursor: pointer; padding: 4px 0; }
.fd-user-txt { display: grid; text-align: right; line-height: 1.25; }
.fd-user-txt small { font-size: 11px; color: #9bb1c1; }
.fd-user-txt b { font-size: 15px; }
.fd-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #0a5e57; color: #9ff3ea; border: 2px solid #19d3c4; }
.fd-umenu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; background: #0d1f2d; border: 1px solid #2a4a5c; border-radius: 12px; padding: 6px; z-index: 60; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: grid; gap: 2px; }
.fd-umenu button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #e6f2f8; padding: 9px 10px; border-radius: 8px; text-align: right; cursor: pointer; font-size: 13px; }
.fd-umenu button:hover { background: #17303f; }
.fd-umenu .conn { padding: 6px 10px 8px; font-size: 12px; color: #9bb1c1; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1f3a49; margin-bottom: 4px; }
.fd-umenu .conn i { width: 8px; height: 8px; border-radius: 50%; background: #e35d6a; }
.fd-umenu .conn.on i { background: #3fd68c; }
:root[data-theme="light"] .fd-umenu { background: #fff; border-color: #c8d9e2; }
:root[data-theme="light"] .fd-umenu button { color: #12303e; }
.fd .menu-toggle { display: none; }
/* ── جسم الصفحة: المحتوى + شريط المنتجات (يسار) ── */
.fd-body { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 14px; padding: 16px 14px 16px 14px; align-items: start; }
.fd-main { min-width: 0; min-height: calc(100vh - 100px); background: linear-gradient(160deg, #0a1724, #07121d); border: 1px solid #1a3846; border-radius: 18px; padding: 22px 20px; }
:root[data-theme="light"] .fd-main { background: #fff; border-color: #d6e2e9; }
.fd-rail { position: sticky; top: 84px; background: #071420; border: 1px solid #1a3846; border-radius: 18px; padding: 18px 12px 12px; }
.fd-rail h2 { font: 700 20px var(--font-body); margin: 6px 10px 18px; }
.fd-pcard { --pc: #19d3c4; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px; margin-bottom: 11px; border-radius: 12px; color: #fff;
  background: linear-gradient(100deg, #0b1d2b, #0c2230); border: 1px solid #24404e; box-shadow: inset -3px 0 0 var(--pc); }
.fd-pcard:hover { border-color: color-mix(in oklab, var(--pc) 60%, #24404e); }
.fd-pcard.active { border-color: var(--pc); background: linear-gradient(100deg, color-mix(in oklab, var(--pc) 16%, #0b1d2b), #0b1d2b 80%); box-shadow: inset -4px 0 0 var(--pc), 0 0 18px color-mix(in oklab, var(--pc) 22%, transparent); }
.fd-pc-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; color: var(--pc); background: color-mix(in oklab, var(--pc) 12%, #0b1a26); border: 1px solid color-mix(in oklab, var(--pc) 35%, transparent); }
.fd-pc-txt { display: grid; text-align: right; }
.fd-pc-txt b { font: 800 14px/1.2 var(--font-body); direction: ltr; text-align: right; }
.fd-pc-txt small { font-size: 12px; color: #a9bfcd; margin-top: 4px; text-align: right; }
.fd-pcard.active .fd-pc-txt small { color: color-mix(in oklab, var(--pc) 70%, #fff); }
:root[data-theme="light"] .fd-rail { background: #fff; border-color: #d6e2e9; }
:root[data-theme="light"] .fd-pcard { background: #f6fafc; color: #12303e; border-color: #d6e2e9; }
:root[data-theme="light"] .fd-pc-txt small { color: #4e6b7b; }
/* ── رأس شاشة الطلبات ── */
.fd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 4px 4px 22px; }
.fd-head-t { display: flex; align-items: center; gap: 16px; }
.fd-head-ic { width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid #19d3c4; color: #19d3c4; display: grid; place-items: center; box-shadow: 0 0 16px rgba(25, 211, 196, .14); }
.fd-head h1 { font: 800 27px/1.3 var(--font-body); margin: 0 0 6px; }
.fd-head p { margin: 0; color: #a5b9c8; font-size: 14px; }
.fd-pick { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border: 1.5px solid #19b9ad; border-radius: 12px; background: #081722; color: #fff; min-width: 232px; position: relative; }
.fd-pick-ic { color: #dfe9ef; display: grid; }
.fd-pick select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; color: #fff; font: 800 16px var(--font-body); direction: ltr; text-align: right; flex: 1; cursor: pointer; padding: 0 0 0 4px; }
.fd-pick select option { background: #0b1d2b; color: #fff; }
:root[data-theme="light"] .fd-pick, :root[data-theme="light"] .fd-pick select { background: #fff; color: #12303e; }
/* ── التبويبات والأزرار ── */
.fd-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.fd-tabs, .fd-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fd-tab { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 11px; border: 1px solid #2a4757; background: #0a1926; color: #e4eff5; font-size: 15px; font-weight: 600; }
.fd-tab svg { color: #c4d6e1; }
.fd-tab.on { border-color: #19d3c4; background: linear-gradient(130deg, #0b3c40, #0a2029); box-shadow: 0 0 16px rgba(25, 211, 196, .18); color: #fff; }
.fd-tab.on svg { color: #19d3c4; }
.fd-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 11px; border: 1px solid #2a4757; background: #0a1926; color: #e9f3f8; font: 700 14px var(--font-body); cursor: pointer; }
.fd-btn:hover { border-color: #19b9ad; }
.fd-btn:disabled { opacity: .5; cursor: progress; }
.fd-bright { background: linear-gradient(100deg, #1fe0cd, #14c1c4); border-color: #1fe0cd; color: #02262b; box-shadow: 0 0 18px rgba(31, 224, 205, .3); }
.fd-outline { border-color: #19a89f; }
:root[data-theme="light"] .fd-tab, :root[data-theme="light"] .fd-btn:not(.fd-bright) { background: #f4f8fa; color: #12303e; border-color: #c8d9e2; }
/* ── صندوق التصفية ── */
.fd-filter { background: #0a1825; border: 1px solid #22404f; border-radius: 16px; padding: 12px; margin-bottom: 20px; }
.fd-fsearch { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid #2c4b5c; border-radius: 11px; background: #071420; color: #19d3c4; }
.fd-fsearch input { order: -1; flex: 1; border: 0; outline: 0; background: transparent; color: var(--fg); font-size: 14px; }
.fd-fsearch svg { order: -2; }
.fd-frow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.fd-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.fd-chip { display: inline-flex; align-items: center; gap: 14px; height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid #2c4656; background: #0d1f2d; color: #e3eef4; font: 600 14px var(--font-body); cursor: pointer; }
.fd-chip .n { font-size: 13px; color: #a7bccb; }
.fd-chip.on { background: linear-gradient(100deg, #22e2cf, #16c6c2); border-color: #22e2cf; color: #02292d; box-shadow: 0 0 16px rgba(34, 226, 207, .3); }
.fd-chip.on .n { color: #04363a; }
.fd-adv { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; border-top: 1px solid #1f3a49; margin-top: 12px; padding-top: 12px; }
.fd-adv .field { min-width: 180px; }
:root[data-theme="light"] .fd-filter, :root[data-theme="light"] .fd-fsearch, :root[data-theme="light"] .fd-chip:not(.on) { background: #f4f8fa; border-color: #c8d9e2; color: #12303e; }
/* ── بطاقات الطلبات ── */
.fd-list { display: grid; gap: 16px; }
.fd-order:focus-within, .fd-order:has(.fd-mmenu:not([hidden])) { z-index: 10; }
.fd-order { position: relative; border: 1px solid #24404f; border-radius: 16px; background: linear-gradient(130deg, #0d1e2d, #091723); padding: 18px 20px 14px; animation: fdIn .35s ease both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes fdIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fd-o-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fd-ref { font: 800 15px var(--font-body); color: #19d3c4; direction: ltr; letter-spacing: .3px; }
.fd-intent { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 99px; background: #2c2758; color: #d5c8ff; font-size: 13px; border: 1px solid #4a3f8a; }
.fd-st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 99px; font-size: 13px; background: #233140; color: #dbe6ee; }
.fd-st[data-s="new"] { background: #0e4a52; color: #7ff0ea; }
.fd-st[data-s="contacted"] { background: #2e2b5a; color: #c8b9ff; }
.fd-st[data-s="approved"] { background: #11483a; color: #86eac4; }
.fd-st[data-s="rejected"] { background: #4f2333; color: #ffa0ae; }
.fd-o-date { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; color: #b9cad6; font-size: 14px; }
.fd-o-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 14px 0 12px; flex-wrap: wrap; }
.fd-o-who h3 { font: 800 17px var(--font-body); margin: 0; }
.fd-o-biz { display: block; color: #b4c6d3; font-size: 14px; margin-top: 2px; }
.fd-o-prod { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 700; color: #e5eff5; }
.fd-o-prod svg { color: #c2d4df; }
.fd-o-contact { display: grid; justify-items: center; gap: 4px; margin-inline-end: 22%; }
.fd-o-contact small { color: #a9bcc9; font-size: 13px; }
.fd-o-ct { display: inline-flex; align-items: center; gap: 8px; }
.fd-o-ct a { color: #19d3c4; font: 700 15px var(--font-body); }
.fd-o-ct svg { color: #e6f0f5; }
.fd-o-ed { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.fd-sel { appearance: none; -webkit-appearance: none; width: 206px; height: 42px; border-radius: 10px; border: 1px solid #2f4b5c; background: #0c1b28; color: #fff; font: 700 15px var(--font-body); padding: 0 14px 0 34px; cursor: pointer; }
.fd-selw { position: relative; display: inline-flex; }
.fd-selw::after { content: ""; position: absolute; left: 15px; top: 50%; width: 8px; height: 8px; border: solid #e6f0f5; border-width: 0 2.2px 2.2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.fd-notes { flex: 1; min-width: 180px; height: 42px; border-radius: 10px; border: 1px solid #2f4b5c; background: #0c1b28; color: var(--fg); padding: 0 16px; font-size: 14px; outline: 0; }
.fd-notes::placeholder { color: #8ea4b4; }
.fd-notes:focus, .fd-sel:focus { border-color: #19d3c4; }
.fd-save { height: 42px; padding: 0 22px; border-radius: 10px; border: 0; background: linear-gradient(100deg, #22e2cf, #14c2c3); color: #02292d; font: 800 15px var(--font-body); cursor: pointer; box-shadow: 0 0 14px rgba(34, 226, 207, .25); }
.fd-save:disabled { opacity: .55; cursor: progress; }
.fd-more-wrap { position: relative; }
.fd-more { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid #2f4b5c; background: #0c1b28; color: #fff; cursor: pointer; }
.fd-mmenu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 170px; background: #0d1f2d; border: 1px solid #2f4d60; border-radius: 10px; padding: 6px; z-index: 30; box-shadow: 0 16px 34px rgba(0, 0, 0, .45); display: grid; }
.fd-mmenu button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: #e7f2f8; text-align: right; padding: 9px 12px; border-radius: 8px; font: 600 13.5px var(--font-body); cursor: pointer; }
.fd-mmenu button:hover { background: #1a3445; }
.fd-mmenu button.danger { color: #ff7a88; }
.fd-o-foot { display: grid; gap: 8px; margin-top: 12px; color: #b3c4d0; font-size: 14px; }
.fd-o-upd { display: inline-flex; align-items: center; gap: 8px; }
.fd-journey summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.fd-journey summary::-webkit-details-marker { display: none; }
.fd-journey .hist-body { margin-top: 8px; }
.fd-trashed { opacity: .92; border-style: dashed; }
.fd-morewrap { display: flex; justify-content: center; margin-top: 16px; }
.fd-empty { padding: 48px 16px; text-align: center; border: 1px dashed #2c4a5b; border-radius: 14px; color: #a9bdcb; background: #0a1825; }
:root[data-theme="light"] .fd-order { background: #fafcfd; border-color: #d6e2e9; color: #12303e; }
:root[data-theme="light"] .fd-sel, :root[data-theme="light"] .fd-notes, :root[data-theme="light"] .fd-more { background-color: #fff; color: #12303e; border-color: #c8d9e2; }
:root[data-theme="light"] .fd-o-biz, :root[data-theme="light"] .fd-o-date, :root[data-theme="light"] .fd-o-foot { color: #4e6b7b; }
.fd-dl { display: grid; gap: 8px; margin: 0; }
.fd-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.fd-dl dt { color: var(--muted); } .fd-dl dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fd-form .full, .fd-form .alert { grid-column: 1 / -1; }
.fd-quick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.fd-panel > .grid, .fd-panel > div > .grid { gap: 12px; }
.btn.danger { background: #5a2430; color: #ffd1d6; border-color: #b84e5d; }
/* الصفحات الأخرى داخل الإطار الجديد */
.fd-main .page-head { margin-bottom: 18px; }
/* ── التجاوب ── */
@media (max-width: 1380px) { .fd { grid-template-columns: 240px minmax(0, 1fr); } .fd-body { grid-template-columns: minmax(0, 1fr) 220px; } .fd-link { font-size: 15px; } .fd-o-contact { margin-inline-end: 6%; } }
@media (max-width: 1100px) { .fd-body { grid-template-columns: 1fr; } .fd-rail { position: static; order: -1; display: flex; gap: 10px; overflow-x: auto; padding: 10px; } .fd-rail h2 { display: none; } .fd-pcard { flex: 0 0 220px; margin: 0; } }
@media (max-width: 900px) {
  .fd { grid-template-columns: 1fr; }
  .fd-side { position: fixed; inset-block: 0; right: 0; width: 280px; transform: translateX(105%); transition: transform .22s ease; box-shadow: -20px 0 40px rgba(0, 0, 0, .4); }
  [dir="ltr"] .fd-side { right: auto; left: 0; transform: translateX(-105%); }
  .fd-side.open { transform: none; }
  .fd .menu-toggle { display: grid; }
  .fd-top { padding: 0 12px; }
  .fd-search { flex: 1 1 auto; margin: 0; }
  .fd-day span, .fd-user-txt { display: none; }
}
@media (max-width: 600px) {
  .fd-selw { width: 100%; }
  .fd-search, .fd-day, .fd-top a.fd-ibtn:not(.fd-bell), .fd-sep { display: none; }
  .fd-body { padding: 10px; } .fd-main { padding: 16px 12px; }
  .fd-head { flex-direction: column; } .fd-pick { width: 100%; }
  .fd-bar { flex-direction: column; align-items: stretch; } .fd-tabs { display: grid; grid-template-columns: repeat(3, 1fr); } .fd-tab { justify-content: center; padding: 0 8px; font-size: 13px; }
  .fd-acts { display: grid; grid-template-columns: 1fr 1fr 1fr; } .fd-acts .fd-btn { justify-content: center; padding: 0 8px; font-size: 12.5px; }
  .fd-o-contact { margin: 0; justify-items: start; } .fd-sel { width: 100%; } .fd-notes { flex-basis: 100%; }
  .fd-form { grid-template-columns: 1fr; } .fd-chip { padding: 0 12px; gap: 8px; }
}

/* v7.6: احترام تقليل الحركة */@media (prefers-reduced-motion:reduce){.fl-haze,.fl-copy,.fl-glass,.fl-glass *{animation:none!important;transition:none!important}}
.fl-forgot{display:block;margin:12px auto 0;background:none;border:0;color:#7fe7f0;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.fl-forgot:focus-visible{outline:2px solid #4bdfef;outline-offset:3px}#recForm .fl-pass-row{margin-bottom:10px}
.fl-glass:has(#recForm:not([hidden])){height:auto!important;min-height:432px}.fl-glass:has(#recForm:not([hidden])) .fl-card-inner{height:auto;padding-top:30px;padding-bottom:26px}#recForm .fl-field-label{margin-top:2px}#recForm input{height:44px}

/* v8.2 — مجموعة «المزيد» ثانوية: أصغر وأهدأ (الفواتير والعروض والسجل والسلة والإعدادات) */
.fd-group.fd-minor .fd-link { font-size: 13px; padding-block: 7px; opacity: .78; }
.fd-group.fd-minor .fd-link svg { width: 16px; height: 16px; }
.fd-group.fd-minor .fd-link:hover, .fd-group.fd-minor .fd-link.active { opacity: 1; }
.fd-ib-list{display:grid;gap:6px;max-height:320px;overflow:auto;margin-bottom:8px}
.fd-ib-m{padding:8px 10px;border-radius:12px;border:1px solid var(--line,#1b3542);max-width:85%}
.fd-ib-m p{margin:0 0 4px;white-space:pre-wrap;line-height:1.7}
.fd-ib-m small{color:#7f97a8;font-size:11.5px}
.fd-ib-owner{justify-self:start;background:rgba(47,214,198,.08);border-color:rgba(47,214,198,.3)}
.fd-ib-customer{justify-self:end;background:rgba(255,255,255,.03)}
/* v8.3 — عنوان قسم نظام النداء في الرئيسية */
.fd-sech { display: flex; align-items: center; gap: 8px; margin: 4px 2px 10px; font-weight: 800; font-size: 15px; color: var(--ink, #e8f1f5); text-decoration: none; }
.fd-sech svg { color: #2fd6c6; }
.fd-sech small { margin-inline-start: auto; font-weight: 600; font-size: 12.5px; color: var(--faint, #8aa0ad); }
.fd-sech:hover small { color: #2fd6c6; }

.fd-rail-hint{display:block;margin:0 10px 14px;color:#91aebb;font-size:11px}
@media(max-width:1100px){.fd-rail-hint{display:none}}

/* v8.3: خيار «المنتجات» + القائمة الجانبية المنبثقة */
.fd-swbtn { width: 100%; background: transparent; font-family: inherit; cursor: pointer; text-align: start; }
.fd-swbtn[aria-expanded="true"] { background: #0e2230; border-color: #18b5aa; }
.fd-swbtn > svg:last-child { margin-inline-start: auto; transform: rotate(90deg); }
.fd-swpanel { position: fixed; z-index: 60; width: 330px; background: #0a1b26; border: 1px solid #1b3542; border-radius: 14px; padding: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.fd-sw-h { font-size: 12px; color: #7f97a8; margin: 4px 8px 6px; }
.fd-sw-item { display: flex; align-items: stretch; gap: 4px; border-radius: 11px; border: 1px solid transparent; }
.fd-sw-item:hover { background: #0e2230; border-color: var(--pc, #18b5aa); }
.fd-sw-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px; color: #e9f3f8; }
.fd-sw-main .fd-pc-ic { color: var(--pc, #19d3c4); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #0b2331; flex: none; }
.fd-sw-txt { min-width: 0; display: grid; gap: 2px; }
.fd-sw-t { display: flex; align-items: center; gap: 8px; }
.fd-sw-t b { font-size: 14px; }
.fd-sw-st { color: #7f97a8; font-size: 11px; line-height: 1.5; }
.fd-sw-bd { font-size: 10px; padding: 0 7px; border-radius: 99px; border: 1px solid #1b3542; color: #7f97a8; }
.fd-sw-bd.up { color: #19d3c4; border-color: #136f69; }
.fd-sw-ctl { display: grid; place-items: center; width: 36px; color: #b9ccd8; border-radius: 10px; }
.fd-sw-ctl:hover { background: #0b2331; color: #19d3c4; }

/* Keep the flyout reachable on narrow screens and short windows. */
.fd-swpanel{box-sizing:border-box;width:min(330px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain}

/* Product navigation drawer: the existing dark/cyan identity, without billing metrics. */
.fd-swpanel{position:fixed;inset:auto;margin:0;width:min(360px,calc(100vw - 24px));padding:0;color:#e9f3f8;font-family:var(--font-body);border:1px solid #347080;border-radius:14px;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;box-shadow:0 18px 50px #0009}
.fd-swpanel::backdrop{background:#020b1380}
.fd-sw-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:#0a1b26;border-bottom:1px solid #294755}
.fd-sw-head h2{margin:0;color:#effcff;font-size:18px;line-height:1.5}.fd-sw-head p{margin:4px 0 0;color:#aec6d4;font-size:12px;line-height:1.6}
.fd-sw-close,.fd-sw-expand{display:grid;place-items:center;flex:none;width:40px;min-height:42px;padding:6px;border:1px solid #294755;background:#0b2431;color:#d6eef4;border-radius:9px;font:inherit;cursor:pointer}
.fd-sw-close{font-size:26px;line-height:1}
.fd-sw-item{display:block;min-width:0;margin:7px;border:1px solid #213e4d;border-radius:10px;overflow:hidden;background:#0a1b26}
.fd-sw-item:hover{background:#0e2230}.fd-sw-row{display:flex;align-items:center;gap:4px;padding:3px}
.fd-sw-main{padding:7px;min-height:48px;gap:10px;overflow-wrap:anywhere;border-radius:8px;text-decoration:none}
.fd-sw-name{font-size:14px;line-height:1.5}.fd-sw-main .fd-pc-ic{width:34px;height:34px;flex:0 0 34px}
.fd-sw-expand{border-color:transparent;background:transparent;color:var(--pc);margin-inline-end:3px}
.fd-sw-expand svg{width:18px;height:18px;transition:transform .15s}.fd-sw-expand[aria-expanded=true]{background:#123240;border-color:var(--pc)}
.fd-sw-expand[aria-expanded=true] svg{transform:rotate(180deg)}
.fd-sw-item:has(.fd-sw-expand[aria-expanded=true]){border-color:var(--pc)}
.fd-sw-links{display:grid;gap:3px;margin:0 9px 9px;padding:7px 5px 0;border-top:1px solid #294755}
.fd-sw-links[hidden]{display:none!important}
.fd-sw-section{display:flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:7px;color:#cee4ec;font-size:13px;line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.fd-sw-section:hover,.fd-sw-main:hover{background:#123440;color:#affcf2}
.fd-swpanel :is(a,button):focus-visible{outline:2px solid #65f3e3;outline-offset:-2px}
:root[data-theme=light] .fd-swpanel,:root[data-theme=light] .fd-sw-item,:root[data-theme=light] .fd-sw-head{background:#f7fcff;color:#173441;border-color:#a9c5d2}
:root[data-theme=light] .fd-sw-head h2,:root[data-theme=light] .fd-sw-main{color:#153a49}
:root[data-theme=light] .fd-sw-head p,:root[data-theme=light] .fd-sw-section{color:#365c6d}
:root[data-theme=light] .fd-sw-close,:root[data-theme=light] .fd-sw-expand[aria-expanded=true]{background:#dceef3;color:#164c59}
:root[data-theme=light] .fd-sw-expand,:root[data-theme=light] .fd-sw-main .fd-pc-ic{color:color-mix(in srgb,var(--pc) 55%,#143546)}
:root[data-theme=light] .fd-sw-section:hover,:root[data-theme=light] .fd-sw-main:hover{background:#d8eef1;color:#074b49}
:root[data-theme=light] .fd-swpanel :is(a,button):focus-visible{outline-color:#087b77}
@media(prefers-reduced-motion:reduce){.fd-sw-expand svg{transition:none}}

/* Founder sign-in: balanced sizing and a short entrance without hiding the form. */
.fl-stage{--time:900ms}
.fl-topbar,.fl-bottom{width:min(1180px,calc(100% - 64px))}
.fl-topbar{padding-top:24px}
.fl-stage-main{width:min(1180px,calc(100% - 64px));grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,5vw,76px);padding:30px 0;align-items:center}
.fl-copy{align-self:center;justify-self:end;padding-bottom:0;max-width:570px;animation:fl-arrive .24s ease-out both}
.fl-verse{font-size:clamp(25px,2.2vw,34px);line-height:2;white-space:normal;margin-bottom:16px}
.fl-copy h1{font-size:clamp(28px,2.6vw,38px);line-height:1.65;letter-spacing:0}
.fl-copy p.fl-desc{font-size:14px;line-height:2;color:#b3c9d5;margin-top:10px}
.fl-form-area{width:min(100%,460px);perspective:none}
.fl-glass{height:auto;min-height:430px;transition:transform .18s ease-out;transform-style:flat;filter:drop-shadow(0 16px 24px #0005)}
.fl-glass:after{backdrop-filter:none}
.fl-card-inner{height:auto;min-height:430px;padding:36px 38px;justify-content:center}
.fl-card-title{font-size:25px;line-height:1.5}.fl-card-hint{font-size:13px;line-height:1.9;margin-bottom:24px;color:#b0c8d5}
.fl-field-label{font-size:14px;line-height:1.7;margin-bottom:8px}.fl-pass-row{min-height:50px}
.fl-pass-row input{font-size:16px;padding:12px 14px}.fl-pass-row input::placeholder{color:#9cb9c8}
.fl-submit{min-height:48px;height:auto;padding:12px;font-size:15px;transition:filter .12s,transform .12s}
.fl-forgot{min-height:40px;font-size:14px;margin-top:10px}.fl-card-foot{font-size:12px;line-height:1.6;margin-top:16px;color:#a0bdca}
.fl-overline{font-size:11px;letter-spacing:2px}.fl-bottom{font-size:12px;color:#91acbd;padding-bottom:18px}
.fl-haze{will-change:transform}.fl-corner{transition:transform .18s ease-out}
/* The two existing glass corners meet in the centre, then return, as in the reference video. */
.fl-glass.fl-is-animating{animation:fl-panel-morph var(--time) both cubic-bezier(.2,.8,.2,1)}
.fl-glass.fl-is-animating .fl-card-inner{animation:fl-content-morph var(--time) both}
.fl-visual-fx{display:grid}.fl-diamond{display:none}
.fl-glass.fl-is-animating .fl-visual-fx{animation:fl-fx-cover var(--time) both}
.fl-glass.fl-is-animating .fl-pulse-ring{animation:fl-ring-scale var(--time) both}
.fl-glass.fl-is-animating .fl-corner.fl-tr{animation:fl-corner-meet-tr var(--time) both cubic-bezier(.4,0,.2,1)}
.fl-glass.fl-is-animating .fl-corner.fl-bl{animation:fl-corner-meet-bl var(--time) both cubic-bezier(.4,0,.2,1)}
@keyframes fl-corner-meet-tr{0%,12%{transform:none}38%,57%{transform:translate(calc(-1 * var(--fl-meet-x)),var(--fl-meet-y))}87%,100%{transform:none}}
@keyframes fl-corner-meet-bl{0%,12%{transform:none}38%,57%{transform:translate(var(--fl-meet-x),calc(-1 * var(--fl-meet-y)))}87%,100%{transform:none}}
.fl-glass:has(#recForm:not([hidden])) .fl-card-inner{padding-top:30px;padding-bottom:28px}
@media(max-width:900px){
 .fl-topbar,.fl-bottom,.fl-stage-main{width:min(560px,calc(100% - 40px))}
 .fl-stage-main{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px 0 28px}
 .fl-copy{grid-column:1;grid-row:1;justify-self:center;text-align:center;max-width:100%}
 .fl-copy h1{font-size:30px}.fl-verse{font-size:27px;margin-bottom:8px}.fl-copy p.fl-desc{font-size:13px;line-height:1.9;margin-top:5px}
 .fl-form-area{grid-column:1;grid-row:2;width:min(100%,460px)}
 .fl-glimmer{margin:0 auto 12px}.fl-halo{opacity:.35}
}
@media(max-width:600px){
 .fl-topbar{padding-top:18px}.fl-stage-main{padding-top:16px;gap:18px}
 .fl-copy h1{font-size:26px;line-height:1.6}.fl-verse{font-size:23px;line-height:1.9}
 .fl-card-inner{padding:30px 25px;min-height:410px}.fl-glass{min-height:410px}
 .fl-card-title{font-size:23px}.fl-card-hint{margin-bottom:20px}
 .fl-card-glow{filter:none;opacity:.3}.fl-glass{filter:none}
 .fl-brand strong{font-size:18px}.fl-bottom{padding-bottom:16px}
}
@media(prefers-reduced-motion:reduce){.fl-glass.fl-is-animating,.fl-copy{animation:none!important;transform:none!important}}

/* v9.5: مجموعات القائمة القابلة للطي */
.fd-ngrp { margin: 0 0 4px; }
.fd-ngrp > summary { list-style: none; cursor: pointer; user-select: none; color: #a8c4cf; font-size: 14px; }
.fd-ngrp > summary::-webkit-details-marker { display: none; }
.fd-ngrp > summary svg { margin-inline-start: auto; width: 16px; height: 16px; transition: transform .2s; color: #7f97a8; transform: rotate(90deg); }
.fd-ngrp[open] > summary { color: #e9f3f8; }
.fd-ngrp[open] > summary svg { transform: none; }
.fd-nsub { display: grid; gap: 2px; padding-inline-start: 12px; margin: 2px 0 6px; border-inline-start: 1px solid #1b3542; margin-inline-start: 18px; }
.fd-nsub .fd-link { font-size: 15px; min-height: 34px; }
:root[data-theme="light"] .fd-ngrp > summary { color: #48606c; }
:root[data-theme="light"] .fd-nsub { border-color: #d4e3ea; }

/* v9.5: صندوق التجارب والاشتراكات الموحّد */
.ux-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.ux-tab { border: 1px solid #1d3946; border-radius: 12px; padding: 8px 14px; font-weight: 700; font-size: 14px; color: #cfe0e8; background: #0b1a24; display: flex; gap: 8px; align-items: center; }
.ux-tab b { background: #123241; border-radius: 99px; padding: 0 8px; font-size: 12px; }
.ux-tab.on { border-color: #19d3c4; background: linear-gradient(100deg, #0b3a3e, #0b1f29); color: #fff; }
.ux-tab.warn b { background: #5a3a12; color: #ffcf7a; }
.ux-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ux-chip { border: 1px solid #1d3946; border-radius: 99px; padding: 4px 12px; font-size: 12.5px; color: #a8c4cf; display: flex; gap: 6px; align-items: center; }
.ux-chip i { width: 8px; height: 8px; border-radius: 9px; background: var(--c, #19d3c4); }
.ux-chip.on { border-color: #19d3c4; color: #fff; }
.ux-list { display: grid; gap: 10px; }
.ux-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid #1b3542; border-inline-start: 4px solid var(--c); border-radius: 14px; background: #0a1922; padding: 14px 16px; }
.ux-ic { width: 44px; height: 44px; border-radius: 12px; background: #0b2331; display: grid; place-items: center; color: var(--c); }
.ux-main { min-width: 0; }
.ux-t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ux-t b { font-size: 16px; }
.ux-prod { font-size: 11px; color: #7f97a8; font-weight: 700; }
.ux-kind { font-size: 12px; font-weight: 700; border-radius: 99px; padding: 2px 10px; border: 1px solid; }
.ux-kind.k-trial { color: #7fd8ff; border-color: #1d5a78; background: #0b2636; }
.ux-kind.k-sub { color: #b9f5c8; border-color: #1f6b3d; background: #0c2a1b; }
.ux-kind.k-cus { color: #e6c8ff; border-color: #5b3a7a; background: #21142e; }
.ux-kind.k-off { color: #a8b8c2; border-color: #33454f; background: #121e25; }
.ux-m { color: #9fb6c2; font-size: 13px; margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ux-a { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 460px; }
.ux-left { font-size: 13px; font-weight: 700; margin-top: 6px; }
.ux-left.w { color: #ffcf7a; }
.ux-bar { height: 8px; border-radius: 9px; background: #132c38; overflow: hidden; margin-top: 6px; max-width: 420px; display: flex; }
.ux-bar i { display: block; height: 100%; background: var(--c); }
.ux-bar.w i { background: #ffb35c; }
@media (max-width: 900px) { .ux-card { grid-template-columns: auto minmax(0, 1fr); } .ux-a { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } }
:root[data-theme="light"] .ux-card, :root[data-theme="light"] .ux-tab { background: #fff; border-color: #d4e3ea; color: #12303e; }

/* v9.5 — المنشآت لكل منتج */
.page-head .tx-kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.tx-kpis div { background: #0a1720; border: 1px solid #17313d; border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 86px; }
.tx-kpis b { display: block; font-size: 20px; }
.tx-kpis small { color: #8ea5b2; font-size: 11.5px; }
.tx-kpis .w b { color: #ffc35c; }
.tx-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); overflow-x: auto; gap: 6px; background: #0a1720; border: 1px solid #17313d; border-radius: 16px; padding: 6px; margin: 4px 0 16px; }
.tx-p { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 6px 8px; padding-top: 12px; padding-inline: 10px; border: 0; border-radius: 12px; padding: 10px 12px; background: transparent; color: #c9dbe4; cursor: pointer; font: inherit; text-align: start; min-width: 0; }
.tx-p:hover { background: #0e202b; }
.tx-p .ic { grid-row: 2; grid-column: 1; width: 24px; height: 24px; border-radius: 7px !important; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.tx-pn { display: contents; }
.tx-pn b { grid-row: 1; grid-column: 1 / -1; font-size: 12px; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tx-pn em { grid-row: 2; grid-column: 2; font-style: normal; font-size: 20px; font-weight: 800; color: var(--c); line-height: 1.1; }
.tx-p .wr { position: absolute; top: -7px; inset-inline-end: 8px; background: #3a2709; color: #ffc35c; border: 1px solid #6b4a1a; border-radius: 99px; font-size: 10.5px; padding: 0 7px; font-weight: 700; }
.tx-p.on { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, #0b1f29), #0b1f29); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); color: #fff; }
.tx-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.tx-f { border-radius: 99px; padding: 6px 13px; font: inherit; font-size: 12.5px; color: #a9c3ce; background: #0a1720; border: 1px solid #17313d; cursor: pointer; }
.tx-f b { color: #fff; margin-inline-start: 6px; }
.tx-f.on { background: #e8f2f7; color: #06202a; border-color: #e8f2f7; }
.tx-f.on b { color: #06202a; }
.tx-bar .tx-q { margin-inline-start: auto; width: 220px; }
.tx-bar .tx-sort { width: 160px; }
.tx-list { display: grid; gap: 10px; }
.tx-c { display: grid; grid-template-columns: 52px minmax(0, 1.3fr) minmax(220px, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(180deg, #0d1e29, #0a1720); border: 1px solid #17313d; border-radius: 16px; padding: 14px 18px; }
.tx-av { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 30%, #0b1f29)); }
.tx-av.dim { opacity: .55; }
.tx-main { min-width: 0; }
.tx-n { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tx-n b { font-size: 16.5px; }
.tx-pill { font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 2px 9px; display: inline-flex; gap: 5px; align-items: center; }
.tx-pill i { width: 6px; height: 6px; border-radius: 9px; background: currentColor; }
.p-active { color: #5ee6a3; background: #0d2a1d; } .p-trial { color: #76d2ff; background: #0b2636; }
.p-suspended { color: #ffc35c; background: #2c1f0a; } .p-ended { color: #a8b8c2; background: #121e25; }
.tx-meta { color: #8ea5b2; font-size: 12.5px; margin-top: 5px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tx-meta .o { display: inline-flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.tx-meta .o em { font-style: normal; border: 1px solid #17313d; border-radius: 6px; padding: 0 6px; font-size: 11px; color: #bcd2dc; }
.tx-tm { display: grid; gap: 6px; }
.tx-tm .l { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: #8ea5b2; }
.tx-tm .l b { color: #e8f2f7; font-size: 14px; white-space: nowrap; } .tx-tm .l span { white-space: nowrap; } .tx-tm .l b.w { color: #ffc35c; }
.tx-tr { height: 6px; border-radius: 9px; background: #132a35; overflow: hidden; display: flex; }
.tx-tr i { display: block; height: 100%; border-radius: 9px; background: var(--c); }
.tx-tr.w i { background: #ffb35c; }
.tx-a { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.tx-more { padding-inline: 12px; }
.tx-menu { display: grid; gap: 8px; min-width: 260px; }
.tx-mt { font-size: 12px; color: #8ea5b2; font-weight: 700; margin-top: 4px; }
.tx-dwm { position: fixed; inset: 0; background: rgba(2, 8, 12, .6); backdrop-filter: blur(2px); z-index: 60; }
.tx-dw { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: #0b1821; border-inline-start: 1px solid #17313d; padding: 22px; display: grid; gap: 14px; align-content: start; overflow: auto; }
.tx-dh { display: flex; gap: 12px; align-items: center; }
.tx-dh b { font-size: 19px; display: block; } .tx-dh small { color: #8ea5b2; }
.tx-x { margin-inline-start: auto; background: none; border: 0; color: #8ea5b2; font-size: 20px; cursor: pointer; }
.tx-db { display: grid; gap: 14px; }
.tx-ds { background: #0d1e29; border: 1px solid #17313d; border-radius: 14px; padding: 14px; }
.tx-ds h4 { margin: 0 0 10px; font-size: 13px; color: #8ea5b2; font-weight: 700; }
.tx-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 5px 0; }
.tx-kv span { color: #8ea5b2; } .tx-kv b { font-weight: 600; overflow-wrap: anywhere; }
.tx-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.tx-k div { background: #0a1720; border-radius: 10px; padding: 10px; text-align: center; }
.tx-k b { font-size: 20px; display: block; } .tx-k small { color: #8ea5b2; font-size: 11.5px; }
.tx-dp { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; padding: 8px 0; border-top: 1px solid #142a35; font-size: 13.5px; }
.tx-dp:first-of-type { border-top: 0; }
.tx-dp > i { width: 8px; height: 8px; border-radius: 9px; background: var(--c); }
.tx-dp em { font-style: normal; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 2px 9px; }
.tx-dp select { grid-column: 2 / -1; height: 32px; font-size: 12.5px; }
.tx-sup { justify-content: center; }
.tx-note { color: #8ea5b2; font-size: 12px; text-align: center; }
@media (max-width: 1100px) { .tx-c { grid-template-columns: 52px minmax(0, 1fr); } .tx-tm, .tx-a { grid-column: 1 / -1; } .tx-a { justify-content: flex-start; } }
@media (max-width: 640px) { .page-head .tx-kpis div { min-width: 70px; padding: 6px 10px; } .tx-bar .tx-q { max-width: none; flex: 1 1 100%; } }
:root[data-theme="light"] .tx-c, :root[data-theme="light"] .tx-strip, :root[data-theme="light"] .tx-kpis div, :root[data-theme="light"] .tx-f, :root[data-theme="light"] .tx-ds, :root[data-theme="light"] .tx-dw { background: #fff; border-color: #d4e3ea; color: #12303e; }
:root[data-theme="light"] .tx-p { color: #12303e; } :root[data-theme="light"] .tx-p.on { color: #04232a; } :root[data-theme="light"] .tx-k div { background: #f2f7f9; }
:root[data-theme="light"] .tx-f.on { background: #12303e; color: #fff; } :root[data-theme="light"] .tx-tm .l b { color: #12303e; } :root[data-theme="light"] .tx-f b { color: inherit; }

/* v9.5 — صندوق الطلبات والعملاء */
.page-head .tx-kpis .n b { color: #19d3c4; }
.ld-tb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ld-seg { display: flex; flex-wrap: wrap; background: #0a1720; border: 1px solid #17313d; border-radius: 12px; padding: 4px; gap: 2px; }
.ld-seg button { border: 0; background: none; font: inherit; padding: 6px 12px; border-radius: 9px; font-size: 13px; color: #a9c3ce; display: flex; gap: 6px; cursor: pointer; }
.ld-seg button b { color: #fff; font-size: 12px; }
.ld-seg button.on { background: #e8f2f7; color: #06202a; } .ld-seg button.on b { color: #06202a; }
.ld-ch { display: flex; gap: 6px; flex-wrap: wrap; }
.ld-ch button { font: inherit; background: none; border: 1px solid #17313d; border-radius: 99px; padding: 5px 11px; font-size: 12px; color: #a9c3ce; display: flex; gap: 6px; align-items: center; cursor: pointer; }
.ld-ch button i { width: 7px; height: 7px; border-radius: 9px; background: var(--c); }
.ld-ch button.on { border-color: #19d3c4; color: #fff; }
.ld-tb .ld-q { margin-inline-start: auto; width: 260px; }
.ld-sp { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 14px; align-items: start; }
.ld-list { background: #0a1720; border: 1px solid #17313d; border-radius: 16px; overflow: hidden; }
.ld-r { width: 100%; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid #12262f; text-align: start; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; position: relative; }
.ld-r:hover { background: #0d1f29; }
.ld-r .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.ld-rm { min-width: 0; display: grid; }
.ld-rm b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-rm small { color: #8ea5b2; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-rm .tg { display: flex; gap: 6px; margin-top: 4px; }
.ld-pl { font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 8px; }
.it-t { color: #76d2ff; background: #0b2636; } .it-s { color: #5ee6a3; background: #0d2a1d; } .it-q { color: #e6c8ff; background: #21142e; } .it-c { color: #ffb7c0; background: #2a0f15; }
.ld-r .tm { text-align: end; font-size: 11.5px; color: #8ea5b2; display: grid; gap: 6px; justify-items: end; }
.ld-dot { width: 9px; height: 9px; border-radius: 9px; background: #19d3c4; }
.ld-dot[data-s="contacted"] { background: #ffc35c; } .ld-dot[data-s="approved"] { background: #5ee6a3; } .ld-dot[data-s="rejected"] { background: #ff7b8a; } .ld-dot[data-s="closed"] { background: #5b6b75; }
.ld-msg { background: #19d3c4; color: #03232a; border-radius: 99px; font-size: 10.5px; font-weight: 800; padding: 0 7px; }
.ld-r.on { background: linear-gradient(90deg, #0b2a30, #0a1a22); }
.ld-r.on::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #19d3c4; }
.ld-d { background: linear-gradient(180deg, #0d1e29, #0a1720); border: 1px solid #17313d; border-radius: 16px; padding: 18px; display: grid; gap: 14px; min-width: 0; position: sticky; top: 12px; }
.ld-back { display: none; justify-self: start; }
.ld-dh { display: flex; gap: 12px; align-items: center; }
.ld-dh .ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 30%, #0b1f29)); }
.ld-dh h2 { margin: 0; font-size: 20px; } .ld-dh small { color: #8ea5b2; }
.ld-ref { margin-inline-start: auto; color: #19d3c4; font-weight: 800; letter-spacing: .5px; font-size: 13px; }
.ld-ct { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ld-ct .ld-wa { border-color: #1f6b3d; color: #7ff0b0; }
.ld-ctv { margin-inline-start: auto; color: #8ea5b2; font-size: 13px; }
.ld-step { display: flex; gap: 6px; flex-wrap: wrap; }
.ld-step button { font: inherit; border: 1px solid #17313d; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 700; color: #a9c3ce; background: #0a1720; cursor: pointer; }
.ld-step button.cur { background: #19d3c4; color: #03232a; border-color: #19d3c4; }
.ld-step button.x { color: #ffb7c0; border-color: #6b2a35; } .ld-step button.x.cur { background: #6b2a35; color: #fff; }
.ld-go { display: flex; align-items: center; gap: 12px; border: 1px solid #1d5a78; background: #0b2636; border-radius: 12px; padding: 12px 14px; flex-wrap: wrap; }
.ld-go p { margin: 0; font-size: 13.5px; color: #cfe8f5; flex: 1; }
.ld-box { background: #0a1720; border: 1px solid #17313d; border-radius: 12px; padding: 12px 14px; }
.ld-box h4 { margin: 0 0 8px; font-size: 12.5px; color: #8ea5b2; }
.ld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px 16px; font-size: 13.5px; }
.ld-grid span { color: #8ea5b2; display: block; font-size: 12px; }
.ld-txt { margin: 10px 0 0; font-size: 13.5px; color: #cfe0e8; white-space: pre-wrap; overflow-wrap: anywhere; }
.ld-ntw { display: flex; gap: 8px; align-items: stretch; }
.ld-ntw .ld-nt { flex: 1; min-height: 44px; resize: vertical; }
.ld-tabs { display: flex; gap: 16px; border-bottom: 1px solid #17313d; }
.ld-tabs button { font: inherit; background: none; border: 0; padding: 8px 2px; font-weight: 700; font-size: 13.5px; color: #8ea5b2; cursor: pointer; }
.ld-tabs button.on { color: #fff; box-shadow: inset 0 -2px #19d3c4; }
.ld-tbody { display: grid; gap: 8px; min-height: 60px; }
.ld-send { display: flex; gap: 8px; align-items: stretch; }
.ld-send textarea { flex: 1; }
.ld-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
@media (max-width: 1000px) {
  .ld-sp { grid-template-columns: 1fr; }
  .ld-sp .ld-d { display: none; position: static; }
  .ld-sp.show-d .ld-list, .ld-sp.show-d ~ * { display: none; }
  .ld-sp.show-d .ld-d { display: grid; }
  .ld-back { display: inline-flex; }
  .ld-tb .ld-q { width: 100%; margin: 0; }
  .ld-ctv { margin: 0; flex-basis: 100%; }
}
:root[data-theme="light"] .ld-list, :root[data-theme="light"] .ld-d, :root[data-theme="light"] .ld-box, :root[data-theme="light"] .ld-seg, :root[data-theme="light"] .ld-step button { background: #fff; border-color: #d4e3ea; color: #12303e; }
:root[data-theme="light"] .ld-r.on { background: #e9f6f7; } :root[data-theme="light"] .ld-r:hover { background: #f2f8fa; } :root[data-theme="light"] .ld-seg button.on { background: #12303e; color: #fff; } :root[data-theme="light"] .ld-seg button.on b, :root[data-theme="light"] .ld-seg button b { color: inherit; }
:root[data-theme="light"] .ld-tabs button.on { color: #12303e; } :root[data-theme="light"] .ld-go { background: #e8f4fa; border-color: #b9d9e8; } :root[data-theme="light"] .ld-go p, :root[data-theme="light"] .ld-txt { color: #12303e; } :root[data-theme="light"] .ld-ch button.on { color: #12303e; }
.ld-back svg { transform: rotate(-90deg); } [dir="ltr"] .ld-back svg { transform: rotate(90deg); }
.ld-ref { white-space: nowrap; }
@media (max-width: 640px) { .ld-dh { flex-wrap: wrap; } .ld-ref { margin-inline-start: 0; flex-basis: 100%; } }

/* v9.5 — مركز التنبيهات */
.al-k { font: inherit; color: inherit; cursor: pointer; background: #0a1720; border: 1px solid #17313d; border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 86px; }
.al-k b { display: block; font-size: 20px; } .al-k small { color: #8ea5b2; font-size: 11.5px; }
.al-k.w b { color: #ff8b98; } .al-k.on { border-color: #19d3c4; box-shadow: inset 0 0 0 1px #19d3c4; }
.ld-ch .al-n { color: #8ea5b2; font-size: 11px; margin-inline-start: 2px; }
.al-list { display: grid; gap: 8px; }
.al-r { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; background: linear-gradient(180deg, #0d1e29, #0a1720); border: 1px solid #17313d; border-inline-start: 4px solid #2a4a58; border-radius: 14px; padding: 12px 16px; }
.al-r.al-high { border-inline-start-color: #ff6b7d; } .al-r.al-mid { border-inline-start-color: #ffc35c; } .al-r.al-info { border-inline-start-color: #3fa9f5; }
.al-r .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.al-m { min-width: 0; display: grid; gap: 3px; }
.al-t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .al-t b { font-size: 14.5px; }
.al-sev { font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 8px; }
.al-high .al-sev { color: #ffb7c0; background: #2a0f15; } .al-mid .al-sev { color: #ffcf7a; background: #2c1f0a; } .al-info .al-sev { color: #76d2ff; background: #0b2636; }
.al-m small { color: #8ea5b2; font-size: 12.5px; overflow-wrap: anywhere; } .al-p { color: var(--c); font-weight: 700; }
.al-w { display: grid; justify-items: end; gap: 2px; font-size: 13px; white-space: nowrap; } .al-w b.w { color: #ffc35c; } .al-w small { color: #8ea5b2; font-size: 11.5px; }
@media (max-width: 760px) { .al-r { grid-template-columns: 40px minmax(0, 1fr); } .al-w { grid-column: 2; justify-items: start; } .al-r > .btn { grid-column: 1 / -1; justify-self: start; } }
:root[data-theme="light"] .al-r, :root[data-theme="light"] .al-k { background: #fff; border-color: #d4e3ea; color: #12303e; }
.al-a { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .al-a { grid-column: 1 / -1; justify-content: flex-start; } }

/* v9.9.21: بدل style= المضمّن (تمنعه سياسة CSP الخاصة باللوحة) */
.fl-hint-gap{margin-top:10px}
.fl-hint-link{color:#7fe7f0}
