@font-face { font-family: Plex; font-weight: 300; font-display: swap; src: url(/vendor/font/ibm-plex-sans-arabic-arabic-300-normal.woff2) format('woff2'); }
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(/vendor/font/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2'); }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(/vendor/font/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2'); }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(/vendor/font/ibm-plex-sans-arabic-arabic-700-normal.woff2) format('woff2'); }

/* ===== هوية نيوم: ليل + رمل + ذهب، وألوان الشعار الخمسة للمؤشرات ===== */
:root {
  --night: #111314; --night2: #1d1f22; --night3: #2a2d31;
  --sand: #f4f1ea; --sand2: #ebe5d8; --card: #fff;
  --ink: #1d1f22; --muted: #6b6e74; --line: #e4ded1; --line2: #d6cfbf;
  --gold: #b89535; --gold2: #d6bc73; --gold3: #f3ead2;
  --coral: #e2553f; --navy: #1c2b52; --leaf: #2f7d4f; --sea: #1f6fa8; --sun: #e0a526;
  --brand: var(--night); --brand2: var(--gold); --accent: var(--gold);
  --ok: #1e8a55; --okbg: #e4f4ea; --warn: #9a6400; --warnbg: #fbf0d9; --bad: #c8382a; --badbg: #fbe6e3; --info: #1f6fa8; --infobg: #e3eef8;
  --r: 18px; --r2: 12px;
  --sh: 0 1px 2px #1113140d, 0 6px 22px -8px #11131424;
  --sh2: 0 2px 6px #11131414, 0 18px 40px -14px #11131440;
  font-size: 18px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--sand); color: var(--ink); font-family: Plex, "Geeza Pro", Tahoma, sans-serif; line-height: 1.65; -webkit-text-size-adjust: 100%; }
body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); min-height: 100vh;
  background: radial-gradient(1200px 500px at 100% -10%, #e9e1cc 0%, transparent 60%), var(--sand); background-attachment: fixed; }
a { color: var(--sea); }
h1 { font-size: 1.5rem; margin: .3rem 0 .9rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 1.5rem 0 .7rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
h2::before { content: ''; width: 4px; height: 1.05em; border-radius: 4px; background: linear-gradient(var(--gold2), var(--gold)); }
.card > h2:first-child::before, dialog h2::before, .login h2::before { display: none; }
h3 { font-size: 1.02rem; margin: .8rem 0 .4rem; }
small, .muted { color: var(--muted); }
.hidden { display: none !important; }
::selection { background: var(--gold3); }

/* ----- الشريط العلوي ----- */
.top { position: sticky; top: 0; z-index: 1100; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .6rem 1.1rem; padding-top: calc(.6rem + env(safe-area-inset-top));
  background: linear-gradient(180deg, #16181a, var(--night)); box-shadow: 0 8px 24px -12px #000a; }
.top::after { content: ''; position: absolute; inset-inline: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, var(--coral) 0 20%, var(--navy) 20% 40%, var(--leaf) 40% 60%, var(--sea) 60% 80%, var(--sun) 80%); }
.brand { display: flex; gap: .75rem; align-items: center; min-width: 0; text-decoration: none; color: #fff; }
.brand img { width: 42px; height: 42px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 6px #0008); }
.brand b { display: block; font-size: 1.05rem; line-height: 1.25; font-weight: 700; }
.brand small { display: block; color: var(--gold2); font-size: .72rem; letter-spacing: .02em; }
.logo { display: none; }
#who { font-size: .82rem; display: flex; align-items: center; gap: .5rem; color: #e9e4d8; }
#who .me { text-align: left; line-height: 1.3; }
#who .me b { display: block; color: #fff; font-size: .88rem; }
#who .me span { color: var(--gold2); font-size: .74rem; }
#who .av { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--night); flex: none; }
#who select { min-height: 40px !important; width: auto; background: var(--night3); color: #fff; border: 1px solid #ffffff2a; border-radius: 99px; padding: 0 .9rem !important; font-size: .88rem !important; }
#who label { color: var(--gold2) !important; }
#who button { background: transparent; color: #fff; border: 1px solid #ffffff40; min-height: 40px; padding: 0 .8rem; font-size: .85rem; }

main { max-width: 1180px; margin: 0 auto; padding: 1.1rem 1rem 1.5rem; animation: rise .35s ease both; }
@keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
.loading { padding: 4rem 1rem; text-align: center; color: var(--muted); }
.loading::before { content: ''; display: block; width: 34px; height: 34px; margin: 0 auto .8rem; border-radius: 99px; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- الشريط السفلي ----- */
.bottom { position: fixed; bottom: 0; inset-inline: 0; z-index: 1100; display: flex; gap: .2rem;
  padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
  background: #ffffffe8; backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px #1113144d; }
.bottom a { flex: 1; text-align: center; text-decoration: none; color: var(--muted); padding: .35rem 0 .3rem; font-size: .74rem; font-weight: 600; position: relative; border-radius: 14px; transition: color .2s, background .2s; }
.bottom a .ic { display: grid; place-items: center; height: 30px; margin: 0 auto 1px; width: 52px; border-radius: 99px; transition: background .2s; }
.bottom a .ic svg { width: 23px; height: 23px; }
.bottom a.on { color: var(--night); }
.bottom a.on .ic { background: var(--night); color: var(--gold2); }
.bottom a.on::before { display: none; }
.bottom .badge { position: absolute; top: 0; inset-inline-start: calc(50% + 8px); background: var(--coral); color: #fff; border-radius: 99px; font-size: .68rem; padding: 0 .4rem; min-width: 1.3rem; border: 2px solid #fff; }

/* ----- البطاقات ----- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.05rem 1.1rem; margin-bottom: .85rem; box-shadow: var(--sh); }
.card.tap { cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card.tap:hover { box-shadow: var(--sh2); border-color: var(--line2); transform: translateY(-1px); }
.card.tap:active { transform: scale(.99); background: #fcfbf8; }
.list-item { position: relative; overflow: hidden; }
.list-item::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--line2); }
.list-item.s-ok::before { background: var(--ok); } .list-item.s-warn::before { background: var(--sun); }
.list-item.s-bad::before { background: var(--coral); } .list-item.s-info::before { background: var(--sea); }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ----- المؤشرات ----- */
.kpis { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); margin-bottom: 1.1rem; }
.kpi { --c: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem .85rem; position: relative; overflow: hidden; box-shadow: var(--sh); }
.kpi::after { content: ''; position: absolute; inset-inline-end: -26px; top: -26px; width: 84px; height: 84px; border-radius: 99px; background: var(--c); opacity: .09; }
.kpi::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c); }
.kpi b { display: block; font-size: 2.1rem; line-height: 1.1; font-weight: 700; color: var(--night); font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .86rem; font-weight: 600; }
.kpi.bad { --c: var(--coral); } .kpi.warn { --c: var(--sun); } .kpi.ok { --c: var(--leaf); } .kpi.info { --c: var(--sea); }
.kpis .kpi:nth-child(5n+1):not(.bad):not(.warn):not(.ok) { --c: var(--navy); }
.kpis .kpi:nth-child(5n+4):not(.bad):not(.warn):not(.ok) { --c: var(--sea); }
.kpi[data-go] { cursor: pointer; } .kpi[data-go]:hover { box-shadow: var(--sh2); }

/* ----- الواجهة الترحيبية ----- */
.hero { position: relative; overflow: hidden; border-radius: 24px; padding: 1.3rem 1.3rem 1.2rem; margin-bottom: 1.1rem; color: #fff;
  background: radial-gradient(500px 260px at 0% 0%, #2b2414 0%, transparent 70%), linear-gradient(135deg, #1b1d20, var(--night)); box-shadow: var(--sh2); }
.hero::after { content: ''; position: absolute; inset-inline-start: -60px; bottom: -80px; width: 260px; height: 260px; background: url(/brand/neom-mark.png) center/contain no-repeat; opacity: .14; pointer-events: none; }
.hero .hi { font-size: .85rem; color: var(--gold2); font-weight: 600; letter-spacing: .02em; }
.hero h1 { color: #fff; font-size: 1.6rem; margin: .1rem 0 .2rem; }
.hero .date { color: #cfc9bb; font-size: .85rem; }
.hero .actions { position: relative; z-index: 1; margin-bottom: 0; }
.hero button { background: #ffffff12; color: #fff; border-color: #ffffff2e; }
.hero button:hover { background: #ffffff1f; }
.hero button.pri { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--night); border-color: transparent; }
.hero .chipline { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.hero .chipline span { background: #ffffff14; border: 1px solid #ffffff22; border-radius: 99px; padding: .1rem .7rem; font-size: .78rem; color: #eee6d4; }

/* ----- الأزرار ----- */
button, .btn { font: inherit; font-weight: 600; min-height: 52px; padding: 0 1.2rem; border-radius: 14px; border: 1px solid var(--line2); background: #fff; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s, border-color .15s; }
button:hover, .btn:hover { border-color: #c3b99f; }
button:active, .btn:active { transform: scale(.98); }
button.pri, .btn.pri { background: var(--night); color: #fff; border-color: var(--night); box-shadow: 0 6px 16px -8px #111314aa; }
button.pri:hover, .btn.pri:hover { background: #26292d; }
button.gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--night); border-color: transparent; }
button.ok { background: var(--ok); color: #fff; border-color: var(--ok); box-shadow: 0 6px 16px -8px #1e8a55aa; }
button.bad { background: #fff; color: var(--bad); border-color: #e9b3ab; }
button.bad:hover { background: var(--badbg); }
button.big { width: 100%; min-height: 60px; font-size: 1.08rem; border-radius: 16px; }
button.sm { min-height: 40px; padding: 0 .85rem; font-size: .88rem; border-radius: 11px; }
button:disabled { opacity: .45; cursor: not-allowed; }
.actions { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; margin: .9rem 0; }
.actions.one { grid-template-columns: 1fr; }
:focus-visible { outline: 3px solid var(--gold2); outline-offset: 2px; }

/* ----- النماذج ----- */
label { display: block; font-weight: 600; margin: .85rem 0 .3rem; font-size: .92rem; color: #3b3e43; }
input, select, textarea { font: inherit; width: 100%; min-height: 52px; padding: .5rem .9rem; border: 1.5px solid var(--line2); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; accent-color: var(--night); transform: scale(1.3); margin-inline-end: .4rem; }
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px #b8953529; }
input::placeholder, textarea::placeholder { color: #a7a397; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button { min-height: 46px; border-radius: 99px; font-weight: 600; padding: 0 1.05rem; }
.chips button.on { background: var(--night); color: #fff; border-color: var(--night); }
.chips.bad button.on { background: var(--bad); border-color: var(--bad); }
.chips.ok button.on { background: var(--ok); border-color: var(--ok); }

.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .08rem .7rem; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #efebe2; color: #5b5e63; white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 99px; background: currentColor; opacity: .8; }
.tag.ok { background: var(--okbg); color: var(--ok); } .tag.warn { background: var(--warnbg); color: var(--warn); }
.tag.bad { background: var(--badbg); color: var(--bad); } .tag.info { background: var(--infobg); color: var(--info); }

.tabs { display: flex; gap: .4rem; overflow-x: auto; margin-bottom: .9rem; padding: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 99px; scrollbar-width: none; box-shadow: var(--sh); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { min-height: 42px; white-space: nowrap; border-radius: 99px; border-color: transparent; background: transparent; font-size: .9rem; }
.tabs button.on { background: var(--night); color: #fff; }

.list-item b { font-size: 1.03rem; }
.meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--muted); font-size: .84rem; margin-top: .3rem; }
.meta span + span::before { content: '·'; margin-inline-end: .9rem; color: #c4bdab; margin-inline-start: -.45rem; }

.step { border-inline-start: 0; position: relative; }
.step > h2 { margin-top: 0; display: flex; align-items: center; gap: .6rem; }
.step > h2::before { display: none; }
.step > h2 .n { background: var(--night); color: var(--gold2); width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; font-size: .95rem; flex: none; }
.gps { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.gps .val { font-family: ui-monospace, monospace; direction: ltr; font-size: .92rem; background: var(--sand); padding: .2rem .6rem; border-radius: 8px; }

.vio { border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; margin: .55rem 0; background: #fcfbf8; }
.vio.major { border-inline-start: 4px solid var(--coral); }
.vio .txt { font-weight: 600; }
.cat-list { max-height: 55vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cat-list div { padding: .75rem .9rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.cat-list div:last-child { border-bottom: 0; }
.cat-list div:active, .cat-list div:hover { background: var(--gold3); }

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .55rem; margin-top: .5rem; }
.photos figure { margin: 0; position: relative; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.photos figure button { position: absolute; top: 5px; inset-inline-end: 5px; min-height: 32px; width: 32px; padding: 0; border-radius: 99px; background: #111314c0; color: #fff; border: 0; }
.photos figcaption { font-size: .72rem; color: var(--muted); }
.camera-btn { position: relative; overflow: hidden; }
.camera-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ----- الجداول ----- */
table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; font-size: .92rem; }
th, td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
th { background: var(--night); color: #f1ead9; position: sticky; top: 0; font-weight: 600; font-size: .84rem; }
tbody tr:nth-child(even) td { background: #fbfaf6; }
tbody tr:hover td { background: var(--gold3); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); background: #fff; }
.bars div { display: grid; grid-template-columns: 9rem 1fr 3rem; align-items: center; gap: .6rem; margin: .4rem 0; font-size: .9rem; }
.bars i { display: block; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.bars div:nth-child(5n+2) i { background: var(--sea); } .bars div:nth-child(5n+3) i { background: var(--leaf); }
.bars div:nth-child(5n+4) i { background: var(--coral); } .bars div:nth-child(5n+5) i { background: var(--navy); }
.bars span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.map { height: 62vh; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 1rem; box-shadow: var(--sh); }
.mini-map { height: 220px; border-radius: 14px; margin-top: .5rem; }
.leaflet-container { font-family: Plex, Tahoma, sans-serif; }
.leaflet-popup-content-wrapper { border-radius: 14px; }

#toast { position: fixed; bottom: calc(104px + env(safe-area-inset-bottom)); inset-inline: 1rem; z-index: 2000; text-align: center; pointer-events: none; }
#toast div { display: inline-block; background: var(--night); color: #fff; padding: .8rem 1.3rem; border-radius: 14px; font-weight: 600; box-shadow: 0 14px 34px -10px #000a; border-inline-start: 4px solid var(--gold); animation: rise .25s ease both; }
#toast div.err { background: var(--bad); border-inline-start-color: #fff8; }
dialog { border: 0; border-radius: 22px; padding: 0; width: min(660px, 94vw); max-height: 90vh; box-shadow: 0 30px 80px -20px #000c; }
dialog::backdrop { background: #111314a6; backdrop-filter: blur(3px); }
#dlgBody { padding: 1.2rem 1.25rem; }

/* ----- الدخول ----- */
body.auth { background: var(--night); padding-bottom: 0; }
body.auth .top { display: none; }
body.auth main { max-width: none; padding: 0; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem calc(2rem + env(safe-area-inset-bottom));
  background: radial-gradient(700px 420px at 85% 0%, #3a2f15 0%, transparent 65%), radial-gradient(600px 500px at 0% 100%, #16253f 0%, transparent 60%), var(--night); }
.login .wrap { width: min(440px, 100%); }
.login .mark { text-align: center; margin-bottom: 1.2rem; color: #fff; }
.login .mark img { width: 112px; height: auto; filter: drop-shadow(0 12px 30px #0009); }
.login .mark h1 { color: #fff; margin: .6rem 0 .1rem; font-size: 1.45rem; }
.login .mark p { margin: 0; color: var(--gold2); font-size: .88rem; }
.login .card { padding: 1.5rem; border-radius: 24px; border: 1px solid #ffffff14; box-shadow: 0 30px 70px -24px #000; }
.login .card h1 { font-size: 1.2rem; margin-top: 0; }
.login .demo { background: #ffffff0d; border: 1px solid #ffffff1f; color: #fff; box-shadow: none; }
.login .demo h2 { color: #fff; margin-top: 0; } .login .demo .muted { color: #c9c3b5; }
.login .demo button { background: #ffffff12; color: #fff; border-color: #ffffff2a; }
.login .demo button:hover { background: #ffffff22; }
.login .foot { text-align: center; color: #8d897f; font-size: .76rem; margin-top: 1rem; }

.notice { padding: .8rem 1rem; border-radius: 14px; background: var(--warnbg); color: var(--warn); font-weight: 600; margin-bottom: .85rem; border: 1px solid #efd9a7; }
.notice.bad { background: var(--badbg); color: var(--bad); border-color: #f0c2bb; }
.notice.ok { background: var(--okbg); color: var(--ok); border-color: #bfe3cd; }
.notice.info { background: var(--infobg); color: var(--info); border-color: #bcd5ec; }
.kv { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem .8rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }

/* ----- شريط تقدّم الزيارة ----- */
.progress { height: 8px; border-radius: 99px; background: var(--sand2); overflow: hidden; margin: .4rem 0 .2rem; }
.progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold2)); transition: width .4s; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
.empty svg { width: 44px; height: 44px; color: var(--gold); display: block; margin: 0 auto .5rem; }
.searchbar { position: relative; margin-bottom: .8rem; }
.searchbar input { padding-inline-start: 2.6rem; border-radius: 99px; background: #fff; box-shadow: var(--sh); }
.searchbar svg { position: absolute; inset-inline-start: .95rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.offline { position: fixed; top: calc(70px + env(safe-area-inset-top)); inset-inline: 0; z-index: 1200; text-align: center; pointer-events: none; }
.offline span { display: inline-block; background: var(--coral); color: #fff; font-weight: 700; font-size: .85rem; padding: .3rem 1rem; border-radius: 99px; box-shadow: var(--sh2); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottom { position: sticky; top: 66px; bottom: auto; max-width: 1180px; margin: .7rem auto 0; border: 1px solid var(--line); border-radius: 99px; padding: .35rem; box-shadow: var(--sh); }
  .bottom a { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: .9rem; padding: .25rem .4rem; }
  .bottom a .ic { margin: 0; width: 38px; height: 34px; }
  .bottom a.on { background: var(--night); color: #fff; border-radius: 99px; }
  .bottom a.on .ic { background: transparent; }
  .bottom .badge { top: 2px; inset-inline-start: auto; inset-inline-end: 12px; }
  #toast { bottom: 2rem; }
  .hero { padding: 1.7rem 1.8rem 1.5rem; }
  .hero .actions { max-width: 640px; }
}
/* المحضر للطباعة */
.print { background: #fff; padding: 1.5rem; max-width: 900px; margin: 0 auto; }
.print h1 { text-align: center; }
.print .head { display: flex; justify-content: space-between; border-bottom: 3px solid var(--brand); padding-bottom: .6rem; margin-bottom: 1rem; }
.print .photos { grid-template-columns: repeat(3, 1fr); }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.sign div { border-top: 1px solid var(--ink); padding-top: .4rem; text-align: center; }
.stamp { display: inline-block; border: 4px solid var(--ok); color: var(--ok); font-size: 1.6rem; font-weight: 700; padding: .1rem 1.4rem; border-radius: 12px; transform: rotate(-6deg); letter-spacing: 2px; }
.stamp.void { border-color: var(--bad); color: var(--bad); }
table.inv td, table.inv th { font-size: 1rem; }
table.inv tr.tot td { font-weight: 700; font-size: 1.1rem; background: var(--gold3); }
@media print {
  .top, .bottom, .noprint, #toast { display: none !important; }
  body { background: #fff; padding: 0; } main { padding: 0; max-width: none; }
  :root { font-size: 14px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .brand b { white-space: nowrap; font-size: 1rem; }
  .brand img { width: 36px; height: 36px; }
  #who label, #who .me { display: none; }
  .hero h1 { font-size: 1.4rem; }
  .hero .date { font-size: .78rem; }
  .kpi b { font-size: 1.8rem; }
}
details.filters { padding: 0; }
details.filters > summary { list-style: none; cursor: pointer; padding: .85rem 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
details.filters > summary::-webkit-details-marker { display: none; }
details.filters > summary::after { content: '⌄'; color: var(--gold); font-size: 1.2rem; transition: transform .2s; }
details.filters[open] > summary::after { transform: rotate(180deg); }
details.filters > :not(summary) { padding-inline: 1.1rem; }
details.filters[open] { padding-bottom: .4rem; }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
/* شريط جاهزية المحضر */
.ready { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 900; background: #fffffff2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .9rem .6rem; margin-bottom: .85rem; box-shadow: var(--sh2); }
.ready.full { border-color: #9fd6b6; }
.ready.full .progress i { background: linear-gradient(90deg, var(--ok), #3fb57a); }
.chips.mini { gap: .35rem; margin-top: .35rem; }
.chips.mini button { min-height: 32px; padding: 0 .7rem; font-size: .78rem; border-radius: 99px; background: var(--badbg); color: var(--bad); border-color: transparent; }
.chips.mini button.done { background: var(--okbg); color: var(--ok); }
@media (min-width: 900px) { .ready { top: 130px; } }
@media (max-width: 520px) { .kv { grid-template-columns: minmax(6.5rem, 38%) 1fr; font-size: .95rem; } }
.meta .tag::before { display: inline-block; }
button svg, .btn svg { width: 22px; height: 22px; flex: none; }
button.big svg { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .bottom { position: fixed; top: calc(76px + env(safe-area-inset-top)); bottom: auto; inset-inline: 0; margin: 0 auto; width: min(1180px, calc(100% - 2rem)); }
  main { padding-top: 5.2rem; }
  body.auth main { padding-top: 0; }
  .ready { top: 142px; }
}
/* بلاطات «المزيد» */
.tiles { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-bottom: 1rem; }
.tile { display: flex; flex-direction: column; gap: .15rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); text-decoration: none; color: var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--sh2); }
.tile .ti { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--night); color: var(--gold2); margin-bottom: .45rem; }
.tile .ti svg { width: 23px; height: 23px; }
.tiles .tile:nth-child(5n+2) .ti { background: var(--navy); color: #fff; } .tiles .tile:nth-child(5n+3) .ti { background: var(--leaf); color: #fff; }
.tiles .tile:nth-child(5n+4) .ti { background: var(--sea); color: #fff; } .tiles .tile:nth-child(5n+5) .ti { background: var(--coral); color: #fff; }
.tile b { font-size: .98rem; } .tile small { font-size: .78rem; }
/* لوحة القيادة */
.kpis.big { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.kpi.gauge b { font-size: 2.4rem; }
.meter { height: 8px; border-radius: 99px; background: var(--sand2); overflow: hidden; margin: .45rem 0 .1rem; flex: 1; min-width: 60px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.meter.ok i { background: var(--ok); } .meter.info i { background: var(--sea); } .meter.bad i { background: var(--coral); }
.donut { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.donut .ring { width: 150px; height: 150px; border-radius: 99px; display: grid; place-items: center; flex: none; }
.donut .ring span { width: 96px; height: 96px; border-radius: 99px; background: #fff; display: grid; place-content: center; text-align: center; font-size: .8rem; color: var(--muted); }
.donut .ring b { font-size: 1.5rem; color: var(--night); }
.donut ul { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 170px; }
.donut li { display: flex; align-items: center; gap: .5rem; padding: .2rem 0; font-size: .9rem; }
.donut li i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.donut li b { margin-inline-start: auto; }
.qlist a { display: grid; grid-template-columns: 9rem 1fr 3rem; gap: .6rem; align-items: center; padding: .35rem 0; cursor: pointer; color: var(--ink); text-decoration: none; font-size: .9rem; }
.qlist a:hover { color: var(--sea); }
.qlist b { text-align: left; color: var(--bad); }
.kpi[data-vs] { cursor: pointer; }
/* محضر إثبات الحالة */
.checks { display: grid; gap: .4rem; }
label.chk { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; margin: 0; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 12px; background: #fcfbf8; cursor: pointer; }
label.chk input { margin-top: .35rem; }
canvas.sig { width: 100%; height: 150px; border: 1.5px dashed var(--line2); border-radius: 14px; background: #fff; touch-action: none; display: block; margin-bottom: .4rem; }
.chips.lk button.off { opacity: .45; text-decoration: line-through; }
.print.sr ul { margin: .3rem 0 1rem; } .print.sr li { margin: .25rem 0; }
.print.sr .sign img { max-height: 90px; max-width: 100%; display: block; margin: .3rem auto; }
/* بنود التفتيش حسب النشاط */
details.sec { border: 1px solid var(--line); border-radius: 14px; margin: .55rem 0; background: #fff; }
details.sec > summary { cursor: pointer; padding: .75rem .9rem; display: flex; justify-content: space-between; gap: .6rem; align-items: center; list-style: none; }
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
details.sec > summary em { color: var(--bad); font-style: normal; font-weight: 700; }
details.sec[open] > summary { border-bottom: 1px solid var(--line); }
details.sec > .vio { margin: .55rem .6rem; }
.chk-item .code { display: inline-block; background: var(--night); color: var(--gold2); border-radius: 7px; padding: 0 .45rem; font-size: .8rem; direction: ltr; margin-inline-end: .3rem; }
details.fine { margin-top: .5rem; font-size: .88rem; }
details.fine > summary { cursor: pointer; color: var(--sea); font-weight: 600; }
details.fine .kv { margin-top: .4rem; background: var(--sand); padding: .6rem .7rem; border-radius: 10px; }
.tier { display: inline-block; margin: .1rem 0 .1rem .35rem; padding: 0 .45rem; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: .8rem; }
.tier.on { background: var(--night); color: var(--gold2); border-color: var(--night); }
.ncbox { margin-top: .6rem; padding: .7rem; border-radius: 12px; background: var(--badbg); border: 1px solid #f0c2bb; }
.ncbox label.btn.need { border-color: var(--bad); color: var(--bad); background: #fff; font-weight: 700; }
/* بدون إنترنت والمنشآت بلا موقع */
.offline.sync span { background: var(--gold); }
figure.local { outline: 2px dashed var(--gold); outline-offset: -2px; }
.findhelp { background: var(--gold3, #f7f0dc); border: 1px solid #e6d7a8; border-radius: var(--r); padding: .75rem .9rem; margin-top: .6rem; }
.findhelp .row.wrap { flex-wrap: wrap; gap: .4rem; }
.findhelp small { display: block; margin-top: .45rem; }
/* محضر المخالفة (A4 / PDF) */
.doc .dochead { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; border-bottom: 3px solid var(--gold); padding-bottom: .7rem; margin-bottom: .6rem; }
.doc .dochead img { height: 52px; width: auto; max-width: none; }
.doc .dochead b { display: block; font-size: 1.1rem; }
.doc .dochead small { color: #666; }
.doc .docno { text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: .35rem .7rem; line-height: 1.35; }
.doc .docno b { font-size: 1.05rem; letter-spacing: .5px; }
.doc h1 { margin: .4rem 0 .2rem; }
.doc h3 { margin: 1rem 0 .4rem; border-inline-start: 4px solid var(--gold); padding-inline-start: .5rem; }
.doc .stampwrap { text-align: center; margin: .2rem 0 .6rem; }
.doc table { width: 100%; border-collapse: collapse; }
.doc .nowrap { white-space: nowrap; }
.doc table.docinfo th, .doc table.docinfo td { border: 1px solid var(--line); padding: .35rem .5rem; font-size: .92rem; text-align: start; vertical-align: top; }
.doc table.docinfo th { background: #f4f1ea; width: 16%; white-space: nowrap; }
.doc table.doctable th, .doc table.doctable td { border: 1px solid var(--line); padding: .35rem .45rem; font-size: .88rem; vertical-align: top; text-align: start; }
.doc table.doctable thead th { background: #111314; color: #e9d9a6; }
.doc table.doctable tr.tot td { font-weight: 700; background: #f4ead0; }
.doc .docph { margin-bottom: .6rem; break-inside: avoid; }
.doc .docph .photos { grid-template-columns: repeat(3, 1fr); }
.doc .docfoot { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: .4rem; text-align: center; font-size: .78rem; color: #777; }
@media (max-width: 600px) { .doc .dochead { grid-template-columns: 1fr auto; } .doc .dochead img { display: none; } .doc { padding: .8rem; } .doc table.doctable th, .doc table.doctable td { font-size: .78rem; padding: .25rem; } }
@media print {
  @page { size: A4; margin: 12mm 10mm; }
  .doc { padding: 0; max-width: none; }
  .doc tr { break-inside: avoid; }
  .doc thead { display: table-header-group; }
  .doc figure button { display: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.doc table.docinfo th { color: #111314; font-weight: 700; }
@media (max-width: 600px) {
  .doc table.docinfo, .doc table.docinfo tbody { display: block; }
  .doc table.docinfo tr { display: grid; grid-template-columns: 34% 1fr; }
  .doc table.docinfo th { width: auto; white-space: normal; }
}

/* ===================== التصميم ٢ (٢٧ نوفمبر): أقوى وأنظف ===================== */
:root { --r: 22px; --r2: 14px;
  --sh: 0 1px 1px #1113140a, 0 2px 4px #1113140a, 0 12px 28px -14px #11131433;
  --sh2: 0 2px 4px #1113140f, 0 24px 48px -20px #11131459; }
body { background: radial-gradient(900px 420px at 110% -8%, #e6dcc2 0%, transparent 62%), radial-gradient(700px 380px at -20% 110%, #e9e3d4 0%, transparent 60%), var(--sand); }
svg.bi { width: 1.25em; height: 1.25em; flex: none; }
button .bi, .btn .bi { margin-inline-end: .1rem; }

/* الشريط العلوي: زجاجي داكن */
.top { background: linear-gradient(180deg, #121416f2, #111314e6); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.top::after { height: 2px; bottom: -2px; opacity: .95; }

/* البطاقات */
.card { border: 1px solid #ebe5d6; box-shadow: var(--sh); border-radius: var(--r); }
.card.tap:hover { transform: translateY(-2px); }
.list-item { padding-inline-start: 1.35rem; }
.list-item::before { width: 5px; inset-block: 14px; border-radius: 0 6px 6px 0; }
.meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.meta span { background: #f6f3ec; border: 1px solid #ece6d8; border-radius: 99px; padding: .05rem .65rem; font-size: .8rem; color: #555a60; }

/* المؤشرات: بلا دوائر، رقم كبير وشريط لوني */
.kpi { border: 1px solid #ebe5d6; padding: 1rem 1.05rem .9rem; background: linear-gradient(180deg, #fff 55%, color-mix(in srgb, var(--c) 7%, #fff)); transition: transform .15s, box-shadow .15s; }
.kpi::after { display: none; }
.kpi::before { inset: 16px 0 16px auto; width: 4px; height: auto; border-radius: 4px 0 0 4px; }
.kpi b { font-size: 2.3rem; letter-spacing: -.02em; color: var(--c); }
.kpi span { color: #4c5157; }
.kpi[data-go]:hover, .kpi[data-st]:hover { transform: translateY(-2px); box-shadow: var(--sh2); }

/* الواجهة الترحيبية */
.hero { border-radius: 28px; padding: 1.4rem 1.35rem 1.3rem; background: radial-gradient(420px 240px at 100% 0%, #3a2f15 0%, transparent 70%), radial-gradient(380px 260px at 0% 100%, #16233f 0%, transparent 70%), linear-gradient(150deg, #1a1c1f, #0e0f10); }
.hero::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--coral) 0 20%, var(--navy) 20% 40%, var(--leaf) 40% 60%, var(--sea) 60% 80%, var(--sun) 80%); }
.hero h1 { font-size: 1.85rem; letter-spacing: -.02em; }
.hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.hero .actions button { min-height: 58px; border-radius: 16px; font-size: .95rem; line-height: 1.3; padding: 0 .8rem; }

/* مهمتك التالية */
.next { position: relative; cursor: pointer; border-radius: var(--r); padding: 1rem 1.1rem; margin-bottom: 1rem; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #b89535, #8a6d1f); box-shadow: 0 18px 36px -18px #8a6d1fcc; transition: transform .15s; }
.next:active { transform: scale(.99); }
.next::after { content: ''; position: absolute; inset-inline-start: -40px; bottom: -60px; width: 180px; height: 180px; background: url(/brand/neom-mark.png) center/contain no-repeat; opacity: .12; filter: grayscale(1) brightness(3); }
.next-k { font-size: .8rem; font-weight: 700; opacity: .9; letter-spacing: .02em; }
.next-b { display: flex; align-items: center; gap: .8rem; margin-top: .2rem; position: relative; z-index: 1; }
.next-b b { font-size: 1.25rem; display: block; line-height: 1.35; }
.next-m { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .3rem; font-size: .85rem; opacity: .95; }
.next-m span { display: inline-flex; align-items: center; gap: .25rem; } .next-m svg { width: 16px; height: 16px; }
.next-go { width: 54px; height: 54px; border-radius: 99px; display: grid; place-items: center; background: #111314; color: var(--gold2); flex: none; box-shadow: 0 8px 18px -6px #0008; }
.next-go svg { width: 24px; height: 24px; }
.next-f { margin-top: .6rem; font-size: .8rem; opacity: .85; position: relative; z-index: 1; }

/* الأزرار */
button, .btn { border-radius: 16px; border-color: #ddd5c3; }
button.pri, .btn.pri { background: linear-gradient(180deg, #2a2d31, #111314); border-color: #111314; box-shadow: 0 10px 20px -10px #111314cc, inset 0 1px 0 #ffffff1a; }
button.big, .btn.big { min-height: 58px; font-size: 1.02rem; }
.camera-btn { border-style: dashed; border-width: 1.5px; background: #fbfaf6; }
.camera-btn.need { border-color: var(--coral); color: var(--bad); background: #fff6f4; }

/* الشريط السفلي: عائم */
.bottom { inset-inline: .7rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); padding: .4rem .4rem; border-radius: 26px; border: 1px solid #ffffffb3;
  background: #fffffff0; box-shadow: 0 18px 40px -16px #11131466, 0 0 0 1px #11131410; }
.bottom a { border-radius: 20px; padding: .3rem 0; }
.bottom a.on { color: var(--night); }
.bottom a.on .ic { background: linear-gradient(180deg, #2a2d31, #111314); box-shadow: 0 6px 14px -6px #111314aa; }
body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* بنود التفتيش: أزرار مقسّمة كبيرة */
.chk-item { border-radius: 16px; }
.chk-item .chips { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; background: #f3efe5; border-radius: 14px; padding: 4px; }
.chk-item .chips button { min-height: 48px; border: 0; border-radius: 11px; background: transparent; color: #4c5157; font-size: .95rem; }
.chk-item .chips button.on { color: #fff; box-shadow: 0 6px 14px -8px #0008; }
.chk-item .chips button[data-r="مطابق"].on { background: linear-gradient(180deg, #27a066, var(--ok)); }
.chk-item .chips button[data-r="غير مطابق"].on { background: linear-gradient(180deg, #e2553f, var(--bad)); }
.chk-item .chips button[data-r="لا ينطبق"].on { background: #6b6e74; }
.chk-item .code { background: var(--night); color: var(--gold2); border-radius: 8px; padding: .05rem .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .3px; }
details.sec { border-radius: 18px; }
.ncbox { border-radius: 16px; }

/* شريط الجاهزية: أصغر في الجوال */
.ready { padding: .55rem .8rem .5rem; border-radius: 18px; }
@media (max-width: 600px) {
  .ready .chips.mini { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ready .chips.mini::-webkit-scrollbar { display: none; }
  .ready .chips.mini button { flex: none; }
}

/* أرقام الخطوات */
.step h2 .n { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--night); box-shadow: 0 4px 10px -4px #b8953599; }

/* التنبيهات والوسوم */
.notice { border-radius: 14px; }
.tag { border-radius: 99px; font-weight: 700; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
.empty svg { width: 40px; height: 40px; display: block; margin: 0 auto .5rem; opacity: .5; }

/* الحوارات */
dialog { border-radius: 26px; box-shadow: 0 40px 80px -30px #000a; }
dialog::backdrop { background: #111314a6; backdrop-filter: blur(3px); }

/* زر الوضع الداكن/الفاتح */
.topr { display: flex; align-items: center; gap: .5rem; }
.themebtn { width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 99px; background: #ffffff12; border: 1px solid #ffffff30; color: #f2efe8; flex: none; }
.themebtn:hover { background: #ffffff22; }
.themebtn svg { width: 21px; height: 21px; }
body.auth .themebtn { position: fixed; top: calc(.7rem + env(safe-area-inset-top)); inset-inline-end: .8rem; z-index: 1300; }

/* سجل التكرار */
.rep { display: flex; gap: .55rem; align-items: flex-start; margin-top: .5rem; padding: .55rem .7rem; border-radius: 12px; background: #fbe6e3; border: 1px solid #f1b9b0; color: #8f2318; }
.rep svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.rep b { display: block; font-size: .9rem; } .rep small { display: block; color: inherit; opacity: .85; font-size: .78rem; }
.vh { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.vh:last-child { border-bottom: 0; }
.vh small { display: block; color: var(--muted); font-size: .78rem; }
.vh .code { background: var(--night); color: var(--gold2); border-radius: 8px; padding: .05rem .5rem; font-size: .78rem; font-weight: 700; flex: none; }
.vh b { white-space: nowrap; font-size: .88rem; }

/* الشاشة الكبيرة: الشريط فوق المحتوى لا يمتد على الصفحة */
@media (min-width: 900px) {
  .bottom { bottom: auto !important; height: auto; inset-inline: 0; border-radius: 99px; padding: .35rem; }
  .bottom a { border-radius: 99px; padding: .25rem .4rem; }
  body { padding-bottom: 1.5rem; }
}

/* اقتراحات أنشطة ISIC */
.isic-sug { display: flex; flex-direction: column; gap: .35rem; margin: .4rem 0 .6rem; }
.isic-sug button { text-align: start; justify-content: flex-start; min-height: 44px; padding: .45rem .8rem; font-weight: 500; font-size: .92rem; line-height: 1.4; white-space: normal; }
.isic-sug button b { color: var(--gold, #b08a3e); margin-inline-end: .35rem; font-variant-numeric: tabular-nums; }
.isic-sug button.on { outline: 2px solid var(--gold, #b08a3e); }

/* البحث الذكي في البنود */
.smartbox { margin-top: .8rem; padding: .9rem; border-radius: 16px; border: 1.5px solid var(--gold, #b08a3e); background: linear-gradient(180deg, #fffaf0, #fff); }
.smartbox .smart-l { margin: 0 0 .4rem; font-weight: 800; color: var(--gold, #b08a3e); }
.smartbox textarea { min-height: 64px; }
.smartbox #smgo { margin-top: .5rem; width: 100%; }
.smart-hit { margin-top: .6rem; padding: .7rem .8rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.smart-hit.best { border: 2px solid var(--gold, #b08a3e); box-shadow: 0 8px 20px -12px #b08a3e88; }
.smart-hit .code { display: inline-block; background: var(--night); color: var(--gold2); border-radius: 7px; padding: 0 .45rem; font-size: .8rem; font-weight: 700; }
.smart-hit .why { margin-top: .35rem; font-size: .9rem; color: #6b5a2e; }
.chk-item.flash { animation: flashk 2s ease; }
@keyframes flashk { 0%, 60% { box-shadow: 0 0 0 4px var(--gold, #b08a3e); } 100% { box-shadow: none; } }
.sr-att { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border-radius: 10px; background: #eaf6ee; color: #1d6b43; font-weight: 700; font-size: .88rem; text-decoration: none; border: 1px solid #b9dfc8; }
/* مخالفة محفوظة: سطر أحمر مقفول */
.ncdone { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .55rem; padding: .55rem .7rem; border-radius: 12px; background: #fdecea; border: 1px solid #f3b8af; font-size: .9rem; }
.ncdone [data-ncedit] { margin-inline-start: auto; }
.chk-item.major { border-inline-start: 5px solid var(--bad); }
/* حكم المساعد الذكي */
.smart-verdict { margin-top: .6rem; padding: .7rem .85rem; border-radius: 14px; border: 1.5px solid; display: grid; gap: .3rem; }
.smart-verdict.ok { background: #eaf6ee; border-color: #9fd3b4; color: #17583a; }
.smart-verdict.warn { background: #fff6e3; border-color: #ecc97a; color: #6b4b0c; }
.smart-verdict.bad { background: #fdecea; border-color: #f0b0a6; color: #7c2318; }
/* بطاقة تثبيت التطبيق */
.inst-card { display: flex; align-items: center; gap: .7rem; margin: .8rem 0; padding: .75rem .85rem; border-radius: 18px; background: #fff; border: 1.5px solid var(--gold, #b08a3e); box-shadow: 0 10px 24px -16px #b08a3e99; }
.inst-card img { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.inst-card b { display: block; font-size: .98rem; } .inst-card small { color: var(--muted); font-size: .8rem; }
.inst-card .grow { flex: 1; min-width: 0; }
.inst-steps { display: grid; gap: .6rem; margin: .4rem 0 .8rem; }
.inst-steps > div { display: flex; gap: .6rem; align-items: center; padding: .6rem .7rem; border-radius: 12px; background: #f6f2e8; }
.inst-steps span { width: 30px; height: 30px; border-radius: 15px; flex: none; display: grid; place-items: center; background: var(--gold, #b08a3e); color: #fff; font-weight: 800; }
/* معالم نيوم: خلفية لافتة الرئيسية وشاشة الدخول */
.hero.has-art { isolation: isolate; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; background: #0d1018 !important; }
.hero.has-art::after { display: none; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg, .login-art svg { width: 100%; height: 100%; display: block; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.3) 0%, rgba(8,9,12,0) 28%, rgba(8,9,12,.25) 60%, rgba(8,9,12,.82) 100%); }
.lm-tag { position: absolute; top: .9rem; inset-inline-end: 1rem; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: .25rem .65rem; border-radius: 99px; background: rgba(0,0,0,.45); color: #f4e3bd; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.login { position: relative; }
.login-art { position: fixed; inset: 0 0 auto 0; height: 52vh; z-index: 0; pointer-events: none; }
.login-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.15) 0%, rgba(8,9,12,.3) 55%, var(--night) 100%); }
.login .wrap { position: relative; z-index: 1; }
.login .mark h1, .login .mark p { text-shadow: 0 2px 12px rgba(0,0,0,.55); }
/* معالم نيوم: حركة هادئة في الخلفية */
.hero-art svg, .login-art svg { animation: lm-drift 28s ease-in-out infinite alternate; transform-origin: 50% 70%; }
@keyframes lm-drift { from { transform: scale(1) translateX(0); } to { transform: scale(1.07) translateX(-1.5%); } }
.hero-art .tw, .login-art .tw { animation: lm-tw 3.6s ease-in-out infinite; }
@keyframes lm-tw { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hero-art .sun, .login-art .sun { animation: lm-sun 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lm-sun { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #ffd79a); } 50% { transform: scale(1.06); filter: drop-shadow(0 0 16px #ffd79a); } }
.hero-art .shine, .login-art .shine { animation: lm-shine 5.5s ease-in-out infinite; }
@keyframes lm-shine { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(1150px); } }
.hero-art .waves, .login-art .waves { animation: lm-waves 7s ease-in-out infinite alternate; }
@keyframes lm-waves { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
.hero-art .sway, .login-art .sway { animation: lm-sway 4.5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes lm-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.hero-art .bob, .login-art .bob { animation: lm-bob 3.2s ease-in-out infinite alternate; }
@keyframes lm-bob { from { transform: translateY(-2px) rotate(-.6deg); } to { transform: translateY(3px) rotate(.6deg); } }
.hero-art .swim, .login-art .swim { animation: lm-swim 12s linear infinite; }
@keyframes lm-swim { from { transform: translateX(-60px); } to { transform: translateX(160px); } }
.hero-art .blink, .login-art .blink { animation: lm-tw 2.4s ease-in-out infinite; }
.hero-art .coral, .login-art .coral { animation: lm-coral 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes lm-coral { from { transform: skewX(-2deg); } to { transform: skewX(2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art *, .login-art *, .hero-art svg, .login-art svg { animation: none !important; } }
.hero-art { transition: opacity .7s ease; } .hero-art.fade { opacity: 0; }

.nowrap { white-space: nowrap; }
.icon-del { min-width: 40px; padding-inline: .5rem; }
