/* ============================================================
   Arab Templates — library experience layer
   Multi-facet filter · saved bag drawer · community request board
   Identity: #0F172A (navy) + #C5A059 (gold)
   ============================================================ */

:root{
  --atf-navy:#0F172A; --atf-navy-2:#132038; --atf-panel:rgba(20,31,53,.92);
  --atf-gold:#C5A059; --atf-gold-2:#E8CB8F; --atf-gold-soft:rgba(197,160,89,.14);
  --atf-line:rgba(197,160,89,.26); --atf-line-2:rgba(255,255,255,.10);
  --atf-text:#E9EEF7; --atf-muted:#9AA9C0;
}

/* ---------------- 1. multi-facet filter ---------------- */
.atf{
  margin:4px 0 20px;padding:16px 16px 12px;border-radius:18px;
  background:linear-gradient(180deg,rgba(20,31,53,.92),rgba(15,23,42,.72));
  border:1px solid var(--atf-line);
  box-shadow:0 24px 60px -46px #000;
  font-family:"Tajawal","Segoe UI",Tahoma,system-ui,Arial,sans-serif;
}
.atf__head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.atf__title{display:flex;align-items:center;gap:8px;margin:0;font-size:13.5px;font-weight:900;color:var(--atf-gold-2);letter-spacing:.3px}
.atf__title svg{width:16px;height:16px;flex:none}
.atf__hint{margin:0;font-size:11.5px;color:var(--atf-muted)}
.atf__reset{
  margin-inline-start:auto;border:1px solid var(--atf-line-2);background:transparent;color:var(--atf-muted);
  border-radius:999px;padding:7px 13px;font:inherit;font-size:11.5px;font-weight:800;cursor:pointer;
  min-height:34px;transition:.16s;
}
.atf__reset:hover{color:#fff;border-color:var(--atf-line);background:rgba(255,255,255,.05)}
.atf__reset[hidden]{display:none}

.atf__group{display:grid;grid-template-columns:112px 1fr;gap:10px 12px;align-items:start;padding:10px 0;border-top:1px dashed rgba(255,255,255,.07)}
.atf__group:first-of-type{border-top:0;padding-top:2px}
.atf__label{font-size:11.5px;font-weight:900;letter-spacing:.4px;color:#C5A059;padding-top:7px;text-transform:uppercase}
.atf__chips{display:flex;flex-wrap:wrap;gap:7px}
.atf__chip{
  display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);color:#D6E0EE;
  border-radius:999px;padding:8px 13px;font-size:12px;font-weight:800;line-height:1;min-height:36px;transition:.16s;
}
.atf__chip:hover{border-color:var(--atf-line);background:rgba(197,160,89,.08);color:#fff}
.atf__chip[aria-pressed="true"]{
  border-color:rgba(197,160,89,.75);background:linear-gradient(150deg,rgba(197,160,89,.30),rgba(197,160,89,.14));
  color:#FFF4DC;box-shadow:0 0 0 1px rgba(197,160,89,.35) inset;
}
.atf__chip b{font-size:10.5px;font-weight:900;color:#0F172A;background:var(--atf-gold-2);border-radius:999px;padding:1px 6px;min-width:18px;text-align:center}
.atf__chip[aria-pressed="true"] b{background:#fff;color:#7a5c17}
.atf__chip[data-empty="1"]{opacity:.62}

.atf__foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:11px;margin-top:4px;border-top:1px dashed rgba(255,255,255,.07)}
.atf__count{margin:0;font-size:12px;font-weight:800;color:var(--atf-gold-2)}
.atf__count b{font-size:15px;color:#fff}
.atf__saved{margin:0 0 0 auto;font-size:11.5px;color:var(--atf-muted)}
.atf__empty{
  margin:0 0 18px;padding:18px;border-radius:14px;text-align:center;
  border:1px dashed rgba(197,160,89,.45);background:rgba(197,160,89,.07);color:#E7D9BC;font-size:13px;
}
.atf__empty a{color:var(--atf-gold-2);font-weight:800;text-decoration:none;border-bottom:1px solid rgba(232,203,143,.5)}
.atf__empty[hidden]{display:none}
.at-card.is-facet-hidden{display:none !important}

/* licence mode only changes emphasis, never hides a system */
.at-ios__grid.lic-free .at-card__lic{opacity:.42;filter:grayscale(.4)}
.at-ios__grid.lic-free .at-card__cta{box-shadow:0 0 0 2px rgba(95,214,168,.55)}
.at-ios__grid.lic-enterprise .at-card__cta{opacity:.62}
.at-ios__grid.lic-enterprise .at-card__lic{border-color:rgba(197,160,89,.75);background:rgba(197,160,89,.18);color:#FFE8B8}

/* ---------------- 2. save button + bag ---------------- */
.at-card{position:relative}
.at-save{
  position:absolute;top:10px;inset-inline-start:10px;z-index:3;
  display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;
  border:1px solid rgba(255,255,255,.22);background:rgba(11,18,32,.78);color:#E9EEF7;
  border-radius:999px;padding:7px 11px;font-size:11.5px;font-weight:800;line-height:1;
  min-height:34px;backdrop-filter:blur(6px);transition:.16s;
}
.at-save:hover{border-color:var(--atf-gold);color:#fff;background:rgba(197,160,89,.22)}
.at-save i{font-style:normal;font-size:14px;line-height:1;color:var(--atf-gold-2)}
.at-save[aria-pressed="true"]{border-color:rgba(197,160,89,.9);background:linear-gradient(150deg,rgba(197,160,89,.34),rgba(197,160,89,.16));color:#FFF3DA}
.at-save[aria-pressed="true"] i{color:#FFE7B0}

.atbag-fab{
  position:fixed;inset-inline-end:18px;bottom:18px;z-index:60;cursor:pointer;font:inherit;
  display:inline-flex;align-items:center;gap:9px;padding:13px 17px;border-radius:999px;
  border:1px solid rgba(197,160,89,.55);color:#FFF3DA;font-weight:900;font-size:13px;
  background:linear-gradient(150deg,rgba(197,160,89,.32),rgba(20,31,53,.96));
  box-shadow:0 22px 48px -22px rgba(0,0,0,.85),0 0 0 1px rgba(197,160,89,.18) inset;
  min-height:48px;transition:.18s;
}
.atbag-fab:hover{transform:translateY(-2px);border-color:var(--atf-gold-2)}
.atbag-fab svg{width:17px;height:17px}
.atbag-fab .atbag-fab__n{
  min-width:22px;height:22px;display:grid;place-items:center;border-radius:999px;
  background:var(--atf-gold-2);color:#231A08;font-size:12px;font-weight:900;padding:0 5px;
}
.atbag-fab[data-count="0"]{opacity:.62}

.atbag{
  position:fixed;inset-block:0;inset-inline-end:0;z-index:70;width:min(400px,100%);
  display:flex;flex-direction:column;
  background:linear-gradient(180deg,#132038,#0F172A 60%);
  border-inline-start:1px solid var(--atf-line);
  box-shadow:-30px 0 80px -40px #000;
  transform:translateX(110%);transition:transform .28s cubic-bezier(.2,.8,.2,1);
  font-family:"Tajawal","Segoe UI",Tahoma,system-ui,Arial,sans-serif;
}
html[dir="rtl"] .atbag{transform:translateX(-110%)}
.atbag.is-open{transform:translateX(0)}
.atbag__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px;border-bottom:1px solid var(--atf-line-2)}
.atbag__head h3{margin:0;font-size:15px;color:#fff}
.atbag__head h3 small{display:block;font-size:11px;color:var(--atf-gold);font-weight:800;letter-spacing:.4px}
.atbag__close{border:1px solid var(--atf-line-2);background:transparent;color:#C7D3E4;border-radius:10px;width:36px;height:36px;cursor:pointer;font-size:17px;line-height:1}
.atbag__body{flex:1;overflow:auto;padding:12px 14px}
.atbag__item{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center;padding:11px 12px;border:1px solid var(--atf-line-2);border-radius:13px;margin-bottom:9px;background:rgba(255,255,255,.03)}
.atbag__item b{display:block;font-size:13px;color:#EAF0FA;line-height:1.5}
.atbag__item span{font-size:11px;color:var(--atf-muted)}
.atbag__item a{color:var(--atf-gold-2);font-size:11.5px;font-weight:800;text-decoration:none}
.atbag__rm{border:1px solid rgba(224,82,82,.4);background:rgba(224,82,82,.12);color:#FFB9B9;border-radius:9px;width:34px;height:34px;cursor:pointer;font-size:15px;line-height:1}
.atbag__empty{margin:26px 10px;text-align:center;color:var(--atf-muted);font-size:13px;line-height:1.9}
.atbag__foot{display:grid;gap:8px;padding:14px 16px 18px;border-top:1px solid var(--atf-line-2)}
.atbag__act{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font:inherit;
  border-radius:12px;padding:12px 14px;font-size:13px;font-weight:900;min-height:44px;text-decoration:none;
  border:1px solid var(--atf-line-2);background:rgba(255,255,255,.05);color:#EAF0FA;
}
.atbag__act--gold{border-color:rgba(197,160,89,.7);background:linear-gradient(150deg,rgba(197,160,89,.34),rgba(197,160,89,.16));color:#FFF3DA}
.atbag__act:hover{border-color:var(--atf-gold)}
.atbag__note{margin:0;font-size:11px;color:var(--atf-muted);text-align:center}
.atbag-scrim{position:fixed;inset:0;z-index:65;background:rgba(5,9,17,.62);opacity:0;pointer-events:none;transition:opacity .22s}
.atbag-scrim.is-open{opacity:1;pointer-events:auto}

/* ---------------- 3. community request board ---------------- */
.atreq{padding:64px 0;border-top:1px solid rgba(197,160,89,.16);background:radial-gradient(720px 420px at 84% 0%,rgba(197,160,89,.10),transparent 60%)}
.atreq__head{max-width:720px;margin:0 auto 26px;text-align:center}
.atreq__eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;font-size:11.5px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;color:var(--atf-gold-2)}
.atreq__head h2{margin:0 0 10px;font-size:clamp(22px,3.4vw,32px);line-height:1.35}
.atreq__head p{margin:0;color:#A9B8CD;font-size:13.5px;line-height:1.9}
.atreq__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;align-items:start}
@media (max-width:900px){.atreq__grid{grid-template-columns:1fr}}

.atreq__form{border:1px solid var(--atf-line);border-radius:18px;padding:18px;background:linear-gradient(180deg,rgba(20,31,53,.94),rgba(15,23,42,.78));box-shadow:0 26px 60px -46px #000}
.atreq__form h3{margin:0 0 4px;font-size:15px}
.atreq__form p.atn{margin:0 0 14px;font-size:11.5px;color:var(--atf-muted)}
.atreq__row{display:grid;gap:6px;margin-bottom:11px}
.atreq__row--2{grid-template-columns:1fr 1fr;gap:10px}
.atreq__row--2 > div{display:grid;gap:6px}
.atreq label{font-size:11.5px;font-weight:800;color:#C8D4E4}
.atreq input,.atreq select,.atreq textarea{
  width:100%;font:inherit;font-size:13px;color:#EAF0FA;background:rgba(11,18,32,.75);
  border:1px solid rgba(255,255,255,.14);border-radius:11px;padding:11px 12px;min-height:44px;
}
.atreq textarea{min-height:96px;resize:vertical;line-height:1.7}
.atreq input:focus,.atreq select:focus,.atreq textarea:focus{outline:none;border-color:rgba(197,160,89,.75);box-shadow:0 0 0 3px rgba(197,160,89,.16)}
.atreq__submit{width:100%;margin-top:6px;border:1px solid rgba(197,160,89,.7);border-radius:12px;padding:13px 16px;font:inherit;font-weight:900;font-size:13.5px;cursor:pointer;color:#231A08;background:linear-gradient(150deg,#E4C989,#C5A059 70%,#8f7239);min-height:46px}
.atreq__submit:hover{filter:brightness(1.06)}
.atreq__status{margin:10px 0 0;font-size:12px;min-height:18px;color:#8FE3D4}
.atreq__status.is-err{color:#FFB3B3}

.atreq__list{display:grid;gap:10px}
.atreq__card{
  display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;
  border:1px solid var(--atf-line-2);border-radius:15px;padding:13px 14px;background:rgba(255,255,255,.032);
}
.atreq__card:hover{border-color:rgba(197,160,89,.4);background:rgba(197,160,89,.06)}
.atreq__rank{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(197,160,89,.16);color:var(--atf-gold-2);font-size:12px;font-weight:900;border:1px solid rgba(197,160,89,.35)}
.atreq__idea{margin:0;font-size:13.5px;font-weight:700;color:#EAF0FA;line-height:1.6}
.atreq__meta{margin:3px 0 0;font-size:11px;color:var(--atf-muted)}
.atreq__vote{
  display:inline-flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;font:inherit;
  border:1px solid rgba(197,160,89,.45);border-radius:12px;background:rgba(197,160,89,.1);
  color:#FFE8B8;padding:7px 11px;min-width:52px;min-height:44px;font-weight:900;transition:.16s;
}
.atreq__vote:hover{background:rgba(197,160,89,.22)}
.atreq__vote[data-voted="1"]{background:rgba(95,214,168,.16);border-color:rgba(95,214,168,.6);color:#9DF2BE}
.atreq__vote em{font-style:normal;font-size:10px;font-weight:800;opacity:.8}
.atreq__vote b{font-size:14px;line-height:1}
.atreq__demo{margin:14px 0 0;font-size:11px;color:#C5A059;text-align:center}
.atreq__demo[hidden]{display:none}

@media (max-width:640px){
  .atf{padding:13px 12px 10px}
  .atf__group{grid-template-columns:1fr;gap:6px}
  .atf__label{padding-top:0}
  /* one swipeable row per facet keeps the filter compact on a phone */
  .atf__chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:4px;margin-inline:-2px;scroll-snap-type:x proximity}
  .atf__chips::-webkit-scrollbar{display:none}
  .atf__chips{scrollbar-width:none}
  .atf__chip{flex:0 0 auto;font-size:11.5px;padding:9px 12px;min-height:40px;scroll-snap-align:start}
  .atf__hint{display:none}
  .atbag-fab{inset-inline-end:12px;bottom:12px;padding:11px 14px;font-size:12px}
  .at-save{padding:6px 9px;font-size:11px}
  .atreq__row--2{grid-template-columns:1fr}
}

/* ============================================================
   4. digital products hub — instant search, tabs, cards
   ============================================================ */
.dph{padding:56px 0 44px;border-top:1px solid rgba(197,160,89,.18);
  background:radial-gradient(760px 420px at 12% 0%,rgba(197,160,89,.10),transparent 62%)}
.dph__head{max-width:760px;margin:0 0 22px}
.dph__head h2{font-size:clamp(23px,3.4vw,34px);margin:8px 0 10px;line-height:1.35}
.dph__head p{color:#A9B8CD;font-size:13.5px;line-height:1.95;margin:0}
.dph__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:900;letter-spacing:.9px;
  text-transform:uppercase;color:#E8CB8F}

.dph__search{position:relative;display:flex;align-items:center;gap:10px;margin:18px 0 14px;padding:6px 8px 6px 14px;
  border:1px solid rgba(197,160,89,.42);border-radius:16px;background:linear-gradient(180deg,rgba(20,31,53,.96),rgba(15,23,42,.82));
  box-shadow:0 26px 60px -44px #000,0 0 0 1px rgba(197,160,89,.10) inset;transition:.18s}
.dph__search:focus-within{border-color:rgba(232,203,143,.85);box-shadow:0 26px 60px -40px #000,0 0 0 4px rgba(197,160,89,.14)}
.dph__search svg{width:19px;height:19px;flex:none;color:#C5A059}
.dph__search input{flex:1;min-width:0;font:inherit;font-size:14.5px;font-weight:600;color:#EAF0FA;background:transparent;border:0;outline:none;padding:11px 2px;min-height:46px}
.dph__search input::placeholder{color:#8493A9;font-weight:600}
.dph__search kbd{flex:none;font-family:inherit;font-size:11px;font-weight:900;color:#9AA9C0;border:1px solid rgba(255,255,255,.18);
  border-bottom-width:2px;border-radius:7px;padding:2px 7px;background:rgba(255,255,255,.05)}
.dph__search button{flex:none;width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);color:#D6E0EE;font-size:17px;line-height:1;cursor:pointer}
.dph__search button:hover{border-color:rgba(197,160,89,.6);color:#fff}

.dph__tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.dph__tabs::-webkit-scrollbar{display:none}
.dph__tabs button{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;cursor:pointer;font:inherit;
  font-size:12.5px;font-weight:800;color:#D2DEEE;border:1px solid rgba(255,255,255,.13);border-radius:999px;
  background:rgba(255,255,255,.04);padding:10px 14px;min-height:42px;transition:.16s}
.dph__tabs button:hover{border-color:rgba(197,160,89,.5);color:#fff}
.dph__tabs button[aria-selected="true"]{color:#241A06;border-color:transparent;
  background:linear-gradient(150deg,#E4C989,#C5A059 72%,#9a7c3c);box-shadow:0 12px 26px -18px rgba(197,160,89,.9)}
.dph__tabs button b{font-size:10.5px;font-weight:900;background:rgba(15,23,42,.22);border-radius:999px;padding:1px 6px;color:inherit}
.dph__tabs button[aria-selected="true"] b{background:rgba(15,23,42,.18)}

.dph__meta{margin:2px 0 14px;font-size:12px;font-weight:800;color:#C5A059}
.dph__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,268px),1fr));gap:13px}

.dpc{position:relative;display:flex;flex-direction:column;gap:9px;border:1px solid rgba(255,255,255,.10);
  border-radius:16px;padding:15px;background:linear-gradient(180deg,rgba(20,31,53,.92),rgba(15,23,42,.72));transition:.18s}
.dpc:hover{border-color:rgba(197,160,89,.55);transform:translateY(-2px);box-shadow:0 28px 50px -40px #000}
.dpc__badges{display:flex;gap:6px;flex-wrap:wrap;min-height:22px}
.dpb{font-style:normal;font-size:10px;font-weight:900;border-radius:999px;padding:3px 9px;border:1px solid;white-space:nowrap}
.dpb--popular{color:#FFD9C2;border-color:rgba(240,120,60,.5);background:rgba(240,120,60,.14)}
.dpb--students{color:#BFE9FF;border-color:rgba(80,170,240,.5);background:rgba(80,170,240,.14)}
.dpb--automation{color:#FFE9B5;border-color:rgba(197,160,89,.55);background:rgba(197,160,89,.16)}
.dpb--legal{color:#C7F0DF;border-color:rgba(95,214,168,.45);background:rgba(95,214,168,.13)}
.dpc__title{font-size:14.5px;font-weight:900;color:#fff;text-decoration:none;line-height:1.55}
.dpc__title:hover{color:#E8CB8F}
.dpc__prob{margin:0;font-size:12px;line-height:1.85;color:#A5B4C9;flex:1}
.dpc__meta{display:flex;gap:6px;flex-wrap:wrap;font-size:10.5px;font-weight:800;color:#8493A9}
.dpc__actions{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:auto;padding-top:10px;border-top:1px dashed rgba(255,255,255,.09)}
.dpc__live{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11.5px;font-weight:900;
  text-decoration:none;color:#241A06;border-radius:10px;padding:10px 11px;min-height:40px;
  background:linear-gradient(150deg,#E4C989,#C5A059 72%,#9a7c3c)}
.dpc__live i{width:7px;height:7px;border-radius:50%;background:#1B1405;animation:dpb 2.4s infinite}
@keyframes dpb{0%,100%{opacity:1}50%{opacity:.35}}
.dpc__live:hover{filter:brightness(1.07)}
.dpc__save{display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;font:inherit;
  font-size:11px;font-weight:800;color:#D6E0EE;border:1px solid rgba(255,255,255,.16);border-radius:10px;
  background:rgba(255,255,255,.04);padding:9px 10px;min-height:40px;white-space:nowrap}
.dpc__save:hover{border-color:rgba(197,160,89,.6);color:#fff}
.dpc__save[aria-pressed="true"]{color:#FFE8B8;border-color:rgba(197,160,89,.75);background:rgba(197,160,89,.18)}
.dph__empty{margin:18px 0 0;padding:20px;text-align:center;border:1px dashed rgba(197,160,89,.45);border-radius:14px;
  background:rgba(197,160,89,.07);color:#E7D9BC;font-size:13px}
.dph__empty a{color:#E8CB8F;font-weight:900;text-decoration:none;border-bottom:1px solid rgba(232,203,143,.5)}

@media (max-width:640px){
  .dph{padding:40px 0 32px}
  .dph__search input{font-size:13.5px}
  .dph__search kbd{display:none}
  .dpc{padding:13px}
  .dpc__actions{grid-template-columns:1fr}
}

/* keep wide code/long words inside their column (mobile grid blow-out guard) */
.grid--2 > *, .card{min-width:0}
.paper{word-break:break-word;overflow-wrap:anywhere}
.dpc__title{overflow-wrap:anywhere}

/* ============================================================
   instant command search (header trigger + ⌘K palette)
   ============================================================ */
.cmdbtn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 10px 0 12px;border-radius:10px;
  border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#E9EEF7;font:inherit;
  font-weight:800;font-size:12.5px;cursor:pointer;transition:.16s}
.cmdbtn:hover{border-color:rgba(197,160,89,.7);color:#F3DCA8}
.cmdbtn svg{width:15px;height:15px;color:#C5A059}
.cmdbtn kbd{font-family:inherit;font-size:10.5px;font-weight:900;color:#9AA9C0;border:1px solid rgba(255,255,255,.18);
  border-radius:6px;padding:1px 5px;line-height:1.6}
@media (max-width:760px){.cmdbtn span,.cmdbtn kbd{display:none}.cmdbtn{padding:0;width:38px;justify-content:center}}

.dp-cmd{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-start;justify-content:center;
  padding:12vh 16px 16px;background:rgba(6,11,20,.72);backdrop-filter:blur(6px)}
.dp-cmd[hidden]{display:none}
.dp-cmd__box{width:min(680px,100%);max-height:76vh;display:flex;flex-direction:column;overflow:hidden;
  border-radius:16px;border:1px solid rgba(197,160,89,.42);background:linear-gradient(180deg,#111C2F,#0C1526);
  box-shadow:0 40px 90px -40px #000,inset 0 1px 0 rgba(255,255,255,.06)}
.dp-cmd__bar{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.dp-cmd__bar svg{width:19px;height:19px;flex:none;color:#C5A059}
.dp-cmd__bar input{flex:1;min-width:0;background:transparent;border:0;outline:none;color:#EAF0FA;font:inherit;
  font-size:15px;font-weight:700;padding:10px 2px}
.dp-cmd__bar input::placeholder{color:#8493A9;font-weight:600}
.dp-cmd__bar kbd{flex:none;font-family:inherit;font-size:10.5px;font-weight:900;color:#9AA9C0;
  border:1px solid rgba(255,255,255,.18);border-radius:6px;padding:2px 6px}
.dp-cmd__list{overflow:auto;padding:6px;display:grid;gap:4px;scrollbar-width:thin}
.dp-cmd__row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;text-align:start;
  font:inherit;cursor:pointer;border:1px solid transparent;border-radius:11px;padding:10px 12px;background:transparent;color:#D8E2F0}
.dp-cmd__row b{font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dp-cmd__row em{font-style:normal;font-size:11.5px;font-weight:900;color:#E8CB8F;white-space:nowrap}
.dp-cmd__cat{font-size:10px;font-weight:900;color:#9FB6D4;background:rgba(255,255,255,.06);border-radius:999px;
  padding:2px 8px;white-space:nowrap;max-width:170px;overflow:hidden;text-overflow:ellipsis}
.dp-cmd__row.is-on,.dp-cmd__row:hover{border-color:rgba(197,160,89,.55);background:rgba(197,160,89,.12);color:#FFF}
.dp-cmd__row.is-on em,.dp-cmd__row:hover em{color:#F3DCA8}
.dp-cmd__none{margin:0;padding:22px 14px;text-align:center;color:#9AA9C0;font-size:12.5px;font-weight:700}
.dp-cmd__foot{display:flex;justify-content:space-between;gap:10px;padding:9px 14px;border-top:1px solid rgba(255,255,255,.08);
  font-size:10.5px;font-weight:800;color:#8FA0B8;letter-spacing:.2px}
.dp-cmd__foot b{color:#C5A059}
html[dir="ltr"] .dp-cmd__row{text-align:left}

/* header on tablets & phones: promo pill + search + language + nav never push the page sideways */
@media (max-width:960px){
  .top__in{flex-wrap:wrap;row-gap:8px;padding-block:8px}
  .top__in .nav{order:3;flex:1 1 100%;margin-inline-start:0;flex-wrap:nowrap;overflow-x:auto;
    scrollbar-width:none;-ms-overflow-style:none;padding-bottom:2px}
  .top__in .nav::-webkit-scrollbar{display:none}
  .top__in .nav a{flex:0 0 auto}
  .top__in .ats-btn{order:4}
}
@media (max-width:640px){
  .top__in .brand{flex:1 1 100%}
  .top__in .top__end{margin-inline-start:auto}
}

/* the digital hub lives inside the light "paper" library wrapper —
   give it its own dark surface so the light text stays readable */
.dph{
  background:linear-gradient(180deg,#0F1B2E,#0B1220 72%);
  border:1px solid rgba(197,160,89,.24);
  border-radius:20px;
  padding:clamp(18px,3.2vw,36px);
  margin:18px 0 26px;
  box-shadow:0 34px 80px -60px #000,inset 0 1px 0 rgba(255,255,255,.05);
}
.dph .wrap{padding-inline:0;max-width:none}
.dph__head h2{color:#F2F6FC}
.dph__head p{color:#B4C2D6}

/* card actions: keep both labels on one line inside 268px cards */
.dpc__live{white-space:nowrap;font-size:10.8px;padding-inline:8px}
.dpc__save{font-size:10.5px;padding-inline:8px}
.dpc__actions{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)}
@media (max-width:520px){.dpc__actions{grid-template-columns:1fr}.dpc__live,.dpc__save{font-size:11.5px}}

/* hub headings read start-aligned on the dark panel (the paper wrapper centres text) */
.dph__head,.dph__head h2,.dph__head p,.dph__eyebrow{text-align:start}
