html, body, #root { margin: 0; min-height: 100%; }
.ad { --r: 18px; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: Tahoma, 'Segoe UI', 'Noto Sans Arabic', Arial, sans-serif; }
.ad * { box-sizing: border-box; } .ad button { font-family: inherit; cursor: pointer; } .ad input, .ad select, .ad textarea { font-family: inherit; }
.ad, .ad button, .ad p { line-height: 1.5; }
.ad-rail { background: var(--rail); color: var(--on-rail); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ad-brand { font-family: 'Arial Black', Impact, sans-serif; letter-spacing: .25em; display: flex; align-items: center; gap: 10px; direction: ltr; justify-content: flex-end; }
.ad-brand small { font-size: 9px; letter-spacing: .3em; color: var(--sig); border: 1px solid var(--sig); padding: 2px 6px; border-radius: 4px; }
.ad-dot { flex: none; width: 12px; height: 12px; background: var(--sig); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sig) 30%, transparent); }
.ad-rail nav { display: flex; gap: 6px; overflow-x: auto; }
.ad-rail nav button { flex: none; min-height: 44px; border: 1px solid color-mix(in srgb, var(--on-rail) 30%, transparent); background: none; color: var(--on-rail); border-radius: 10px; padding: 8px 14px; white-space: nowrap; font-size: 14px; }
.ad-rail nav button.on { background: var(--sig); border-color: var(--sig); color: var(--on-sig); font-weight: 800; }
.ad-side-note { font-size: 11px; opacity: .7; line-height: 1.6; }
.ad-main { padding: 18px 14px 50px; display: flex; flex-direction: column; gap: 14px; flex: 1; max-width: 1180px; width: 100%; min-width: 0; }
.ad-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.ad-top h1 { margin: 0; font-size: clamp(26px, 6vw, 42px); letter-spacing: -.02em; }
.ad-top-r { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.ad a { color: var(--ink); font-weight: 700; }
.ad-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ad { flex-direction: row-reverse; } .ad[data-nav='top'] { flex-direction: column; } .ad-rail { width: 210px; flex: none; padding: 24px 18px; align-self: stretch; } .ad-rail nav { flex-direction: column; } .ad-brand { justify-content: flex-start; } .ad-main { padding: 28px 32px; } .ad-g3 { grid-template-columns: 1.1fr 1fr 1fr; } .ad-g2 { grid-template-columns: 1fr 1fr; }
  .ad[data-nav='top'] .ad-rail { width: auto; flex-direction: row; align-items: center; padding: 12px 32px; } .ad[data-nav='top'] .ad-rail nav { flex-direction: row; flex: 1; } .ad[data-nav='top'] .ad-side-note { display: none; } .ad[data-nav='top'] .ad-main { margin-inline: auto; } }
.ad-panel { background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 18px; box-shadow: 5px 5px 0 var(--ink); position: relative; min-width: 0; }
.ad[data-card='soft'] .ad-panel { border: 0; box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 14%, transparent); --r: 24px; }
.ad[data-card='flat'] .ad-panel { border: 1px solid var(--line); box-shadow: none; --r: 8px; }
.ad[data-card='glass'] .ad-panel { background: color-mix(in srgb, var(--card) 55%, transparent); backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); box-shadow: 0 6px 24px color-mix(in srgb, var(--ink) 10%, transparent); }
.ad[data-dense='1'] .ad-panel { padding: 12px; } .ad[data-dense='1'] .ad-main { gap: 8px; }
.ad-panel h2 { margin: 0 0 14px; font-size: 13px; letter-spacing: .04em; color: var(--mut); }
.ad-ring { display: flex; flex-direction: column; align-items: center; } .ad-ring h2 { align-self: flex-start; }
.ad-ring svg { width: 180px; height: 180px; } .ad-ring-bg { fill: none; stroke: var(--line); stroke-width: 16; } .ad-ring-fg { fill: none; stroke: var(--sig); stroke-width: 16; stroke-linecap: round; transition: stroke-dasharray .6s; } .ad-ring-in { fill: var(--rail); }
.ad-ringw { position: relative; width: 180px; height: 180px; } .ad-ring-t { position: absolute; inset: 0; justify-content: center; text-align: center; color: var(--on-rail); pointer-events: none; display: flex; flex-direction: column; } .ad-ring-t b { font-size: 34px; }
.ad-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .ad-kpis div { display: flex; flex-direction: column; gap: 2px; } .ad-kpis b { font-size: 24px; } .ad-kpis span { font-size: 12px; color: var(--mut); }
.ad-alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; } .ad-alerts i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); margin-inline-end: 10px; } .ad-alerts i.out { background: var(--bad); }
.ad-hint { font-size: 12px; color: var(--mut); margin: 6px 0 0; }
.ad-cities { display: flex; flex-direction: column; gap: 10px; } .ad-cities > div { display: grid; grid-template-columns: 96px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; } .ad-cities div div { height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; } .ad-cities i { display: block; height: 100%; background: var(--sig); border-radius: 99px; }
.ad-bar-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ad-search, .ad-f input, .ad-f select, .ad-f textarea { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; min-height: 46px; font-size: 16px; width: 100%; }
.ad-search { flex: 1; min-width: 160px; width: auto; }
.ad-f input[type=color] { padding: 4px; height: 46px; } .ad-f input:focus, .ad-f select:focus, .ad-f textarea:focus, .ad-search:focus { outline: 2px solid var(--sig); }
.ad-main-btn { min-height: 46px; border: 0; background: var(--sig); color: var(--on-sig); border-radius: 12px; padding: 0 20px; font-weight: 800; font-size: 15px; }
.ad-ghost, .ad-btns button, .ad-sure button { min-height: 44px; border: 1.5px solid var(--line); background: none; color: var(--ink); border-radius: 10px; padding: 0 14px; font-size: 13px; font-weight: 700; } .ad-sure button.bad { background: var(--bad); color: #fff; border-color: var(--bad); }
.ad-form { display: flex; flex-direction: column; gap: 12px; }
.ad-f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mut); } .ad-f em { color: var(--bad); font-style: normal; font-size: 12px; }
.ad-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .ad-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .ad-sizes .ad-f input { padding: 8px 4px; text-align: center; }
.ad-chk { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.ad-orders { display: grid; gap: 12px; } @media (min-width: 900px) { .ad-orders { grid-template-columns: 1fr 1fr; } }
.ad-order { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: color-mix(in srgb, var(--card) 80%, var(--paper)); min-width: 0; }
.ad-o-h, .ad-o-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; } .ad-o-h span { color: var(--mut); font-size: 12px; }
.ad-o-b { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.ad-track { display: flex; gap: 4px; } .ad-track i { flex: 1; height: 6px; background: var(--line); border-radius: 99px; } .ad-track i.on { background: var(--sig); }
.ad-o-f em, .ad-row em { font-style: normal; font-weight: 800; font-size: 12px; background: var(--rail); color: var(--on-rail); border-radius: 99px; padding: 4px 12px; }
.ad-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .ad-sure { display: inline-flex; gap: 6px; }
.ad-sw { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line); }
.ad-chips { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; } .ad-chips button { flex: none; min-height: 44px; border: 1.5px solid var(--ink); background: none; color: var(--ink); border-radius: 99px; padding: 0 16px; white-space: nowrap; } .ad-chips button.on { background: var(--ink); color: var(--paper); }
.ad-list { display: flex; flex-direction: column; gap: 10px; } .ad-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; flex-wrap: wrap; font-size: 14px; } .ad-row small { color: var(--mut); } .ad-col { flex-direction: column; align-items: flex-start; }
.ad-opts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0; font-size: 13px; } .ad-opts button { min-height: 44px; border: 1.5px solid var(--line); background: none; color: var(--ink); border-radius: 99px; padding: 0 14px; } .ad-opts button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ad-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 10px 0; }
.ad-themes button { border: 2px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 6px; font-size: 11px; display: flex; flex-direction: column; gap: 6px; align-items: center; min-height: 64px; } .ad-themes button.on { border-color: var(--sig); box-shadow: 0 0 0 2px var(--sig); }
.ad-themes i { display: block; width: 100%; height: 26px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.ad-toast { position: sticky; top: 8px; align-self: center; z-index: 10; background: var(--rail); color: var(--on-rail); padding: 12px 20px; border-radius: 12px; font-size: 14px; max-width: 90vw; }
.ad-gate-w { align-items: center; justify-content: center; padding: 24px 14px; }
.ad-gate { width: 100%; max-width: 420px; background: var(--card); border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; } .ad-gate h1 { margin: 0; font-size: 26px; } .ad-gate .ad-brand { justify-content: flex-start; color: var(--ink); }
.ad-warn { margin: 0; background: color-mix(in srgb, var(--warn) 16%, transparent); border: 1px dashed var(--warn); border-radius: 12px; padding: 10px 12px; font-size: 12px; }
.ad-code { letter-spacing: .6em; text-align: center; font-size: 24px !important; }
.ad-err{display:block;color:#ff8080;font-style:normal;font-size:13px;margin-top:8px}

.ad-h3 { font-size: 15px; margin: 18px 0 8px; }
.ad-cust { align-items: stretch; } .ad-cust-h { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 3px; width: 100%; min-height: 44px; } .ad-cust-h:focus-visible { outline: 2px solid var(--sig); }
.ad-cust-b { display: flex; flex-direction: column; gap: 8px; font-size: 14px; border-top: 1px dashed var(--line); padding-top: 10px; width: 100%; }
.ad-compose { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; background: var(--paper); }
.ad-soc { display: grid; grid-template-columns: 90px 1fr auto; gap: 8px; align-items: center; margin-bottom: 8px; } .ad-soc input { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; min-height: 46px; font-size: 16px; width: 100%; min-width: 0; }
.ad-soc button { min-height: 44px; border: 1.5px solid var(--line); background: none; color: var(--ink); border-radius: 99px; padding: 0 14px; font-weight: 700; } .ad-soc button.on { background: var(--sig); color: var(--on-sig); border-color: var(--sig); } .ad-soc button:disabled { opacity: .45; }
.ad-opts button.on { background: var(--sig); color: var(--on-sig); border-color: var(--sig); }
@media (max-width: 520px) { .ad-soc { grid-template-columns: 1fr auto; } .ad-soc b { grid-column: 1 / -1; } }
.mt-ad .ad{min-height:100vh}.mt-ad .ad-main{margin-inline:0}.mt-ad .ad-cust-h{text-align:start}.mt-ad .sz-toast{z-index:50}
.mt-ad .ad-order a,.mt-ad .ad-cust a{color:inherit}
