:root {
  --navy-900: #071430; --navy-800: #0A1B3D; --navy-700: #0F2650; --navy-600: #15336A;
  --blue: #0B57D0; --blue-600: #0948B0; --blue-50: #E8F0FD; --sky: #C9DBF5;
  --green: #0F8A5F; --green-50: #E3F5EE;
  --amber: #D98A0B; --amber-50: #FDF3E1; --red: #D3365A; --red-50: #FCE8EE;
  --ink: #0F172A; --ink-2: #334155; --muted: #64748B; --line: #E5E9F0;
  --bg: #F3F5F9; --card: #FFFFFF;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(7,20,48,.18);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ff-body: var(--font-roboto), system-ui, sans-serif;
  --ff-head: var(--font-poppins), system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html, body { height: 100% }
body { font-family: var(--ff-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 14px }
h1, h2, h3, h4, .ff-head { font-family: var(--ff-head); letter-spacing: -.01em }
a { text-decoration: none; color: inherit }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit }
input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px }
svg.i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none }
.hl { color: var(--blue) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; font-family: var(--ff-head); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap }
.btn:active { transform: scale(.97) }
.btn:disabled { opacity: .7; cursor: default }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(11,87,208,.28) }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px) }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); background: #fff }
.btn-outline:hover { background: var(--blue-50) }
.btn-ghost-dark { border: 1.5px solid rgba(255,255,255,.7); color: #fff }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1) }
.btn-sm { height: 32px; padding: 0 12px; font-size: 11px }
.btn-plain { height: 34px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); font-size: 13px; display: inline-flex; align-items: center; gap: 6px }
.btn-plain:hover { background: var(--bg) }

/* ---------- LOGIN ---------- */
#login { min-height: 100vh; width: 100%; display: flex }
.lg-visual { flex: 1.15; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 120%, #1b4c9a 0%, #0c2552 38%, var(--navy-900) 70%); color: #fff; display: flex; flex-direction: column; padding: 40px 56px }
.lg-net { position: absolute; inset: 0; width: 100%; height: 100% }
.globe { position: absolute; left: 50%; bottom: -62%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(90,160,255,.35), rgba(10,40,100,.2) 40%, transparent 62%); box-shadow: 0 -10px 80px rgba(80,150,255,.35) inset; border-top: 1px solid rgba(140,190,255,.35); animation: glow 6s ease-in-out infinite }
@keyframes glow { 50% { box-shadow: 0 -10px 120px rgba(80,150,255,.55) inset } }
.lg-top, .lg-mid, .lg-bottom { position: relative; z-index: 2 }
.logo { font-family: var(--ff-head); font-weight: 700; font-size: 22px; letter-spacing: -.02em }
.logo small { font-family: var(--ff-body); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-left: 8px }
.lg-mid { margin-top: auto; max-width: 560px }
.lg-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9fc3ff; margin-bottom: 14px }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0) } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0) } }
.lg-mid h1 { font-size: 40px; line-height: 1.15; font-weight: 700 }
.lg-mid p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: #c4d4ee; max-width: 480px }
.swap { transition: opacity .35s, transform .35s var(--ease) }
.swap.out { opacity: 0; transform: translateY(8px) }
.lg-stats { display: flex; gap: 28px; margin-top: 28px }
.lg-stats b { display: block; font-family: var(--ff-head); font-size: 24px }
.lg-stats span { font-size: 12px; color: #9fb3d6 }
.lg-bottom { margin-top: 36px }
.lg-bottom .lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8ea6cf; margin-bottom: 10px }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); font-size: 12.5px; color: #d6e2f5; transition: all .25s var(--ease); backdrop-filter: blur(4px) }
.chip:hover { border-color: rgba(255,255,255,.45); transform: translateY(-1px) }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(11,87,208,.45) }

.lg-form-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; position: relative }
.lg-form { width: 100%; max-width: 400px; animation: rise .7s var(--ease) both }
@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
.lg-langs { position: absolute; top: 28px; right: 32px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px }
[dir=rtl] .lg-langs { right: auto; left: 32px }
.select { height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 30px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; outline: none; transition: border-color .2s }
[dir=rtl] .select { padding: 0 12px 0 30px; background-position: left 10px center }
.select:focus { border-color: var(--blue) }
.region-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 500; margin-bottom: 18px }
.lg-form h2 { font-size: 30px; font-weight: 600 }
.lg-form .sub { color: var(--muted); margin: 8px 0 28px; line-height: 1.55 }
.field { margin-bottom: 16px }
.field label, .field .lbl { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px }
.input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,87,208,.12) }
.input:disabled, .select:disabled { background-color: #F8FAFC; color: var(--muted) }
textarea.input { height: auto; min-height: 84px; padding: 10px 14px; resize: vertical; line-height: 1.5 }
.input-ico { position: relative }
.input-ico .input { padding-left: 42px }
.input-ico > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted) }
.input-ico .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px; color: var(--muted); display: grid }
.row-between { display: flex; align-items: center; justify-content: space-between }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; cursor: pointer }
.check input { accent-color: var(--blue); width: 16px; height: 16px }
.link { color: var(--blue); font-weight: 500; font-size: 13px; cursor: pointer }
.lg-form .btn-primary { width: 100%; height: 48px; margin-top: 22px; font-size: 13px }
.secure { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 20px; color: var(--muted); font-size: 12.5px }
.demo-note { margin-top: 26px; padding: 12px 14px; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 12px; line-height: 1.5 }
[dir=rtl] .input-ico .input { padding-left: 14px; padding-right: 42px }
[dir=rtl] .input-ico > svg { left: auto; right: 14px }
[dir=rtl] .input-ico .eye { right: auto; left: 8px }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; display: inline-block }
.spin.dark { border-color: rgba(11,87,208,.3); border-top-color: var(--blue); width: 14px; height: 14px }
@keyframes sp { to { transform: rotate(360deg) } }

/* ---------- APP SHELL ---------- */
#app { min-height: 100vh; width: 100%; display: flex }
#app[hidden] { display: none }
.sidebar { width: 252px; flex: none; background: var(--navy-800); color: #c3d0e8; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 30; transition: transform .3s var(--ease) }
.sb-head { padding: 22px 22px 18px; display: flex; align-items: center; gap: 10px; color: #fff }
.sb-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #3b82f6); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; color: #fff; box-shadow: 0 6px 16px rgba(11,87,208,.5) }
.sb-head .logo { font-size: 19px }
.sb-tag { display: block; font-size: 10.5px; color: #7f93b8; letter-spacing: .12em; text-transform: uppercase; font-family: var(--ff-body); font-weight: 500 }
.sb-nav { flex: 1; overflow-y: auto; padding: 6px 12px 16px }
.sb-nav::-webkit-scrollbar { width: 0 }
.sb-group { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b80a8; padding: 16px 12px 8px }
.nav { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; color: #c3d0e8; transition: background .2s, color .2s }
.nav:hover { background: rgba(255,255,255,.06); color: #fff }
.nav.on { background: linear-gradient(90deg, rgba(11,87,208,.95), rgba(11,87,208,.75)); color: #fff; box-shadow: 0 8px 20px rgba(11,87,208,.35) }
.nav .badge { margin-left: auto; font-size: 10.5px; background: rgba(255,255,255,.14); padding: 2px 7px; border-radius: 999px }
.nav.on .badge { background: rgba(255,255,255,.25) }
.sb-foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.07) }
.me { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #22c55e, #0F8A5F); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; background: linear-gradient(135deg, #0B57D0, #4f8ef7) }
.me b { color: #fff; font-size: 13px; display: block; font-weight: 500 }
.me span { font-size: 11.5px; color: #7f93b8 }
.me button { margin-left: auto; color: #7f93b8; padding: 6px; border-radius: 8px; display: grid }
.me button:hover { color: #fff; background: rgba(255,255,255,.08) }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column }
.topbar { height: 68px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 28px; position: sticky; top: 0; z-index: 20 }
.icon-btn.burger { display: none }
.search { flex: 1; max-width: 420px; position: relative }
.search input { width: 100%; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px 0 40px; outline: none; transition: all .2s }
.search input:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,87,208,.1) }
.search > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted) }
.search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; background: #fff; font-family: inherit }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); position: relative; transition: background .2s }
.icon-btn:hover { background: var(--bg) }
.dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid #fff }
.region-select { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff }
.region-select select { border: 0; outline: none; background: transparent; font-weight: 500; height: 38px; padding-right: 4px; cursor: pointer }

.content { padding: 28px; max-width: 1440px; width: 100%; margin: 0 auto }
.page { animation: pageIn .5s var(--ease) both }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap }
.ph h1 { font-size: 26px; font-weight: 600 }
.ph p { color: var(--muted); margin-top: 4px }
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 6px }
.ph-actions { display: flex; gap: 10px; flex-wrap: wrap }

.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid rgba(229,233,240,.7) }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0 }
.card-h h3 { font-size: 15px; font-weight: 600 }
.card-h .sub { color: var(--muted); font-size: 12.5px; margin-top: 2px }
.card-b { padding: 18px 20px 20px }
.stagger > * { animation: rise .6s var(--ease) both }
.stagger > *:nth-child(2) { animation-delay: .06s } .stagger > *:nth-child(3) { animation-delay: .12s } .stagger > *:nth-child(4) { animation-delay: .18s } .stagger > *:nth-child(5) { animation-delay: .24s } .stagger > *:nth-child(6) { animation-delay: .3s }

/* Dashboard */
.hero-band { position: relative; overflow: hidden; border-radius: var(--r); background: radial-gradient(90% 140% at 85% 120%, #1b4c9a 0%, var(--navy-700) 45%, var(--navy-800) 100%); color: #fff; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px }
.hero-band h2 { font-size: 22px; font-weight: 600 }
.hero-band p { color: #b9c9e6; margin-top: 6px; max-width: 560px; line-height: 1.55 }
.hero-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55 }
.hero-band > * { position: relative }
.hero-band > canvas { position: absolute }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 22px }
.kpi { padding: 18px; transition: transform .25s var(--ease), box-shadow .25s }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg) }
.kpi-top { display: flex; align-items: center; justify-content: space-between }
.kpi-ico { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center }
.kpi-ico.g { border-color: var(--green); color: var(--green) }
.trend { font-size: 12px; font-weight: 500; color: var(--green); background: var(--green-50); padding: 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px }
.trend.down { color: var(--red); background: var(--red-50) }
.kpi b { display: block; font-family: var(--ff-head); font-size: 26px; font-weight: 700; color: var(--blue); margin-top: 14px; font-variant-numeric: tabular-nums }
.kpi > span { font-size: 12.5px; color: var(--muted) }
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px }
.grid-2 > *, .grid-3 > *, .kpis > * { min-width: 0 }
.seg { display: inline-flex; background: var(--bg); border-radius: 9px; padding: 3px }
.seg button { padding: 6px 12px; border-radius: 7px; font-size: 12px; color: var(--muted); transition: all .2s }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08) }
.chart { width: 100%; height: 260px; display: block }
.chart .area { opacity: 0; transition: opacity 1s .4s }
.chart.drawn .area { opacity: 1 }
.chart .ln { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.6s var(--ease) }
.chart.drawn .ln { stroke-dashoffset: 0 }
.chart .pt { opacity: 0; transition: opacity .3s }
.chart.drawn .pt { opacity: 1; transition-delay: 1.2s }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted) }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px }
.bars .b { margin-bottom: 14px }
.bars .b-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px }
.bars .b-top b { font-weight: 500 }
.track { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden }
.fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #4f8ef7); width: 0; transition: width 1.2s var(--ease) }
.fill.g { background: linear-gradient(90deg, var(--green), #34c38f) }
.fill.a { background: linear-gradient(90deg, #d98a0b, #f5b544) }
.donut-wrap { display: flex; align-items: center; gap: 20px }
.donut circle { transition: stroke-dasharray 1.2s var(--ease) }
.list .it { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: opacity .35s, transform .35s, max-height .4s, padding .4s; max-height: 90px }
.list .it:last-child { border-bottom: 0 }
.list .it.gone { opacity: 0; transform: translateX(30px); max-height: 0; padding: 0; overflow: hidden; border-bottom-width: 0 }
.list .empty { text-align: center; color: var(--muted); padding: 30px 0 }
.it-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none }
.it-ico.b { background: var(--blue-50); color: var(--blue) } .it-ico.g { background: var(--green-50); color: var(--green) } .it-ico.a { background: var(--amber-50); color: var(--amber) } .it-ico.r { background: var(--red-50); color: var(--red) }
.it-main { flex: 1; min-width: 0 }
.it-main b { font-weight: 500; font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.it-main span { font-size: 12px; color: var(--muted) }
.tag { font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 999px; white-space: nowrap }
.tag.b { background: var(--blue-50); color: var(--blue) } .tag.g { background: var(--green-50); color: var(--green) } .tag.a { background: var(--amber-50); color: var(--amber) } .tag.r { background: var(--red-50); color: var(--red) } .tag.n { background: var(--bg); color: var(--muted) }
.mini-btns { display: flex; gap: 6px }
.mini { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; transition: all .2s }
.mini.ok { color: var(--green); background: var(--green-50) } .mini.ok:hover { background: var(--green); color: #fff }
.mini.no { color: var(--red); background: var(--red-50) } .mini.no:hover { background: var(--red); color: #fff }
.camp { padding: 14px 0; border-bottom: 1px solid var(--line) }
.camp:last-child { border-bottom: 0 }
.camp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px }
.camp-top b { font-weight: 500 }
.camp-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.qa { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); text-align: left; transition: all .25s var(--ease) }
.qa:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow) }
.qa b { font-weight: 500; font-size: 13px }
.qa span { font-size: 11.5px; color: var(--muted) }

/* Tables */
.table-wrap { overflow-x: auto; position: relative }
table { width: 100%; border-collapse: collapse }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; text-align: left; padding: 12px 16px; background: #FAFBFD; border-bottom: 1px solid var(--line); white-space: nowrap }
td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; white-space: nowrap }
tr { transition: background .2s }
tbody tr:hover { background: #F8FAFE }
tbody tr { animation: rise .5s var(--ease) both }
td.empty { text-align: center; color: var(--muted); padding: 36px }
.toolbar { display: flex; gap: 10px; padding: 16px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line) }
.toolbar .search { max-width: 300px }
.toggle { position: relative; width: 38px; height: 22px; flex: none; display: inline-block }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #cbd5e1; transition: .25s; cursor: pointer }
.toggle span:before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2) }
.toggle input:checked + span { background: var(--blue) }
.toggle input:checked + span:before { transform: translateX(16px) }
.toggle input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px }
.flag { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--bg); font-size: 11px; font-weight: 700; color: var(--ink-2); margin-right: 4px }
.who { display: flex; align-items: center; gap: 10px }

/* Home page editor */
.ed-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 16px }
.ed-bar .grp { display: flex; align-items: center; gap: 8px }
.ed-bar label { font-size: 12px; color: var(--muted) }
.ed-url { margin-left: auto; font-size: 12px; color: var(--muted) }
.ed-url b { color: var(--ink) }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted) }
.status-dot:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber) }
.status-dot.pub:before { background: var(--green) }
.editor { display: grid; grid-template-columns: 270px minmax(0,1fr) minmax(0,1.15fr); gap: 16px; align-items: start }
.sec-list { padding: 10px }
.sec { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, opacity .2s; user-select: none }
.sec:hover { background: var(--bg) }
.sec.on { background: var(--blue-50); border-color: rgba(11,87,208,.25) }
.sec.dragging { opacity: .4 }
.sec.over { border-color: var(--blue); border-style: dashed }
.sec .grip { color: #94a3b8; cursor: grab; display: grid; place-items: center }
.sec .num { width: 24px; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 11px; display: grid; place-items: center; color: var(--muted); flex: none }
.sec .nm { flex: 1; min-width: 0 }
.sec .nm b { display: block; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.sec .nm > span { font-size: 11px; color: var(--muted) }
.sec.hidden .nm b { color: #94a3b8; text-decoration: line-through }
.sec .vis { color: var(--muted); padding: 4px; border-radius: 6px; display: grid }
.sec .vis:hover { color: var(--blue); background: #fff }
.form-panel .card-b { max-height: calc(100vh - 250px); overflow-y: auto }
.inherit-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--bg); margin-bottom: 18px }
.inherit-box b { font-weight: 500; font-size: 13px; display: block }
.inherit-box span { font-size: 12px; color: var(--muted) }
.fs-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 10px; font-weight: 500 }
.repeat { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: #FCFDFE }
.repeat .field { margin-bottom: 10px }
.repeat .field:last-child { margin-bottom: 0 }
.repeat-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px }
.repeat-h b { font-size: 12px; font-weight: 500; color: var(--muted) }
.repeat-h button { color: var(--muted); padding: 4px; border-radius: 6px; display: grid }
.repeat-h button:hover { color: var(--red); background: var(--red-50) }
.locked { opacity: .6 }
.upload { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px dashed #cbd5e1; border-radius: 10px; color: var(--muted); font-size: 12.5px }
.upload small { font-size: 11px }
.thumb { width: 56px; height: 40px; border-radius: 7px; flex: none; background-size: cover }
.ai-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: linear-gradient(90deg, #EEF4FF, #F2FBF7); margin-bottom: 16px; font-size: 12.5px; color: var(--ink-2) }
.ai-row .btn { margin-left: auto }

/* Live preview (mirrors the website design) */
.pv-card { position: sticky; top: 88px; min-width: 0; overflow: hidden }
.pv-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line) }
.pv-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0 }
.pv-url { margin-left: 10px; flex: 1; height: 26px; border-radius: 7px; background: var(--bg); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap }
.pv-scroll { height: calc(100vh - 230px); overflow-y: auto; overflow-x: hidden; background: #fff; border-radius: 0 0 var(--r) var(--r) }
.pv-stage { position: relative; overflow: hidden }
.pv { width: 1280px; transform-origin: 0 0; font-family: var(--ff-body); position: absolute; top: 0; left: 0 }
.pv section { position: relative; cursor: pointer; transition: outline-color .2s }
.pv section:hover { outline: 3px solid rgba(11,87,208,.35); outline-offset: -3px }
.pv section.sel { outline: 3px solid var(--blue); outline-offset: -3px }
.pv section.flash { animation: flash 1s }
@keyframes flash { 0% { background-color: rgba(11,87,208,.12) } }
.pv h2, .pv h3 { font-family: var(--ff-head) }
.pv-hero { color: #fff; text-align: center; padding: 0 0 120px; overflow: hidden }
.pv-nav { display: flex; align-items: center; gap: 22px; padding: 24px 64px; font-size: 13px; color: #dbe6f7; text-align: left; position: relative }
.pv-nav .logo { font-size: 22px; color: #fff; margin-right: auto }
[dir=rtl] .pv-nav .logo { margin-right: 0; margin-left: auto }
.pv-hero h2 { font-size: 42px; line-height: 1.2; max-width: 900px; margin: 70px auto 0; font-weight: 700; position: relative }
.pv-hero p { font-size: 17px; color: #c9d6ec; max-width: 820px; margin: 18px auto 0; line-height: 1.55; position: relative }
.pv-ctas { display: flex; gap: 16px; justify-content: center; margin-top: 36px; position: relative }
.pv-ctas .btn { height: 50px; padding: 0 26px; font-size: 14px }
.pv-hero .arc { position: absolute; left: 50%; bottom: -760px; width: 1700px; height: 1000px; transform: translateX(-50%); border-radius: 50%; border-top: 1px solid rgba(150,200,255,.5); box-shadow: 0 -20px 90px rgba(80,150,255,.35) inset }
.pv-stats { display: flex; justify-content: space-between; padding: 56px 100px; text-align: center }
.pv-stats .s { width: 180px }
.pv-stats .ic { width: 62px; height: 62px; border-radius: 50%; border: 2.5px solid var(--blue); color: var(--blue); display: grid; place-items: center; margin: 0 auto 14px }
.pv-stats .ic svg { width: 28px; height: 28px }
.pv-stats b { display: block; font-family: var(--ff-head); font-size: 30px; color: var(--blue) }
.pv-stats span { font-size: 14px; color: #334155; display: block; margin-top: 4px }
.pv-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 64px 60px }
.pv-badges .bd { background: #F1F2F4; border: 1px solid #e3e5e8; border-radius: 10px; padding: 24px 28px }
.pv-badges .bd .ic { color: var(--green); margin-bottom: 16px }
.pv-badges .bd .ic svg { width: 32px; height: 32px }
.pv-badges h4 { font-family: var(--ff-head); font-size: 15px; font-weight: 600; margin-bottom: 6px }
.pv-badges p { font-size: 13.5px; color: #334155; line-height: 1.45 }
.pv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 50px 64px }
.pv-split h3 { font-size: 30px; line-height: 1.3; font-weight: 600 }
.pv-split p { font-size: 14px; color: #334155; line-height: 1.55; margin-top: 14px }
.pv-img { height: 300px; border-radius: 8px; position: relative; overflow: hidden }
.pv-dark { background: var(--navy-800); color: #fff; padding: 60px 64px; text-align: center }
.pv-dark h3 { font-size: 32px; font-weight: 600; margin-bottom: 36px }
.pv-offers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: left }
.pv-offers .o { background: var(--navy-700); border-radius: 10px; padding: 24px 22px; min-height: 190px }
.pv-offers .o .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--green); display: grid; place-items: center; margin-bottom: 22px; color: #fff }
.pv-offers h4 { font-family: var(--ff-head); font-size: 15px; font-weight: 600; margin-bottom: 12px }
.pv-offers p { font-size: 13.5px; color: #aebfdc; line-height: 1.45 }
.pv-dark .pv-ctas .btn-outline { background: transparent; color: #fff; border-color: #fff }
.pv-logos { text-align: center; padding: 50px 64px 30px }
.pv-logos h3 { font-size: 30px; font-weight: 600; margin-bottom: 34px }
.pv-logos .lg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px }
.pv-logos .l { display: flex; align-items: center; justify-content: center; gap: 8px; color: #6b7280; font-family: var(--ff-head); font-weight: 700; font-size: 16px; filter: grayscale(1) }
.pv-logos .l i { width: 40px; height: 40px; border-radius: 50%; background: #9ca3af; display: inline-block }
.pv-band { background: #E3ECF8; text-align: center; padding: 48px 64px }
.pv-band h3 { font-size: 26px; font-weight: 600 }
.pv-band p { font-size: 15px; color: #334155; margin: 10px 0 26px }
.pv-list li { list-style: none; display: flex; gap: 10px; align-items: center; font-size: 14px; color: #334155; margin-top: 12px }
.pv-list li svg { color: var(--green) }
.pv-case-cta { padding-bottom: 50px; margin-top: 0 }
.pv-contact { display: grid; grid-template-columns: 1fr 1fr }
.pv-contact .l { background: #C9DBF5; padding: 56px 64px }
.pv-contact .r { background: #EEF2F7; padding: 56px 64px }
.pv-contact h3 { font-size: 28px; font-weight: 600 }
.pv-contact .intro { margin-top: 10px; font-size: 14px; color: #334155; line-height: 1.5 }
.pv-contact .ci { display: flex; gap: 12px; margin-top: 22px }
.pv-contact .ci svg { color: var(--blue); margin-top: 2px }
.pv-contact .ci span { display: block; font-size: 14px; color: #334155 }
.pv-contact .ci b { font-size: 18px; font-weight: 500; display: block; margin-top: 4px }
.pv-contact .flab { font-size: 14px }
.pv-f { height: 44px; border-radius: 6px; background: #fff; border: 1px solid #e2e8f0; margin-top: 8px; margin-bottom: 16px }
.pv-footer { background: var(--navy-900); color: #fff; padding: 56px 64px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px }
.pv-footer h4 { font-family: var(--ff-head); font-size: 16px; font-weight: 600; margin-bottom: 16px }
.pv-footer p { color: #c6d3ea; font-size: 13px; line-height: 1.5 }
.pv-footer span { display: block; color: #c6d3ea; font-size: 14px; margin-bottom: 12px }
.pv-empty { padding: 80px; text-align: center; color: var(--muted) }

/* Modules placeholder */
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px }
.mod { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; transition: all .25s var(--ease); text-align: left }
.mod:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow) }
.mod .it-ico { margin-bottom: 12px }
.mod b { font-weight: 500; display: block; margin-bottom: 4px }
.mod span { font-size: 12.5px; color: var(--muted); line-height: 1.5 }

/* Toast */
#toast { opacity: 0; position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 12px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); transition: transform .45s var(--ease), opacity .3s; z-index: 100; font-size: 13.5px; pointer-events: none }
#toast.on { transform: translate(-50%, 0); opacity: 1 }
#toast .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center }
.scrim { display: none }

@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(3, 1fr) } .editor { grid-template-columns: 260px minmax(0,1fr) } .pv-card { display: none } }
@media (max-width: 1024px) { .grid-2, .grid-3 { grid-template-columns: 1fr } .lg-visual { display: none } }
@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%) }
  .sidebar.open { transform: none }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(7,20,48,.4); z-index: 25 }
  .icon-btn.burger { display: grid } .editor { grid-template-columns: 1fr } .kpis { grid-template-columns: repeat(2, 1fr) }
  .content { padding: 18px } .hero-band { flex-direction: column; align-items: flex-start } .topbar { padding: 0 16px } .search kbd { display: none }
  .ed-url { margin-left: 0 }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr }
  .region-select { max-width: 150px }
  .lg-form-wrap { padding: 80px 16px 32px }
  .lg-langs { right: 16px }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important } }

/* ================================================================== */
/* API-backed screens                                                 */
/* ================================================================== */

/* Feedback */
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--red-50); color: #a3203f; font-size: 13px; line-height: 1.45; white-space: pre-line }
.form-ok { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--green-50); color: #0b6b4a; font-size: 13.5px; line-height: 1.5 }
.hint { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.4 }
.hint.bad { color: #b4234a }
.req { color: var(--red) }
.note { margin-top: 12px; font-size: 12.5px; color: var(--muted) }
.empty-card { padding: 40px; text-align: center; color: var(--muted); display: flex; gap: 10px; align-items: center; justify-content: center }
.boot { min-height: 100vh; display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--muted) }
.input-sm { height: 36px; font-size: 13px; padding: 0 10px }
.input[aria-invalid=true], .input-sm[aria-invalid=true] { border-color: var(--red) }
.btn-block { width: 100%; height: 46px; margin-top: 18px }
.btn-danger { background: var(--red); color: #fff }
.btn-danger:hover { background: #b92b4c }
.link.danger, .btn-plain.danger { color: var(--red) }
.btn.danger { border-color: var(--red); color: var(--red) }
.btn.danger:hover { background: var(--red-50) }
.check.small { font-size: 12px; white-space: nowrap }

/* Auth pages */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(120% 90% at 50% 120%, #1b4c9a 0%, #0c2552 38%, var(--navy-900) 70%) }
.auth-card { width: 100%; max-width: 420px; padding: 32px }
.auth-card h1 { font-size: 24px; font-weight: 600; margin-top: 18px }
.auth-card .sub { color: var(--muted); margin: 6px 0 22px; line-height: 1.5 }
.auth-brand { display: flex; align-items: center; gap: 10px }
.auth-back { display: inline-block; margin-top: 20px }

/* Account */
.me-link { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; border-radius: 8px }
.me-link:hover b { text-decoration: underline }
.account-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; align-items: start }
.account-grid form .btn { margin-top: 6px }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; font-size: 13.5px }
.kv dt { color: var(--muted) }
.kv dd { word-break: break-word }

/* Modal */
.modal { border: 0; border-radius: var(--r); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: var(--shadow-lg); color: var(--ink); margin: auto }
.modal.wide { width: min(680px, calc(100vw - 32px)) }
.modal::backdrop { background: rgba(7,20,48,.45) }
.modal-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line) }
.modal-h h3 { font-size: 16px; font-weight: 600 }
.modal-b { padding: 20px; overflow: auto }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px }
.confirm-text { line-height: 1.55; color: var(--ink-2) }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px }
fieldset.plain { border: 0; min-width: 0 }
fieldset.plain legend { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px }
.chip-check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; transition: all .2s }
.chip-check input { accent-color: var(--blue) }
.chip-check span { color: var(--muted); font-size: 11px; text-transform: uppercase }
.chip-check.on { border-color: var(--blue); background: var(--blue-50) }

/* Tables */
.row-actions { display: flex; gap: 14px }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 13px; color: var(--muted) }
.pager > div { display: flex; gap: 8px }
.flag.def { background: var(--blue-50); color: var(--blue) }

/* Editor additions */
.sec .nm b { display: flex; align-items: center; gap: 6px }
.sec-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px }
.sec-tags .tag { font-size: 10.5px; padding: 1px 7px }
.edit-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none }
.form-panel { display: flex; flex-direction: column }
.form-panel .card-h .sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.ed-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: #FAFBFD; border-radius: 0 0 var(--r) var(--r) }
.review-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--red-50); color: #8c1d3a; margin-bottom: 16px; font-size: 13px }
.review-note b { font-weight: 500 }
.info-note { padding: 10px 14px; border-radius: 10px; background: var(--blue-50); color: #0a4aa8; margin-bottom: 16px; font-size: 12.5px; line-height: 1.5 }
.field label, .field .lbl { display: flex; align-items: baseline; gap: 4px }
.counter { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 400 }
.counter.bad { color: var(--red) }
.field-group { margin-bottom: 4px }
.repeat-tools { display: flex; gap: 2px }
.repeat-tools button { min-width: 26px; height: 26px; border-radius: 6px; color: var(--muted); display: grid; place-items: center; font-size: 13px }
.repeat-tools button:hover:not(:disabled) { color: var(--blue); background: var(--blue-50) }
.repeat-tools button:disabled { opacity: .35; cursor: default }
.cta-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 8px; align-items: center }
.cta-row .cta-label, .cta-row .hint { grid-column: 1 / -1 }
.alt-input { margin-top: 8px }

/* Drag-and-drop image field */
.dropzone { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1.5px dashed #cbd5e1; border-radius: 10px; transition: border-color .2s, background .2s }
.dropzone.over { border-color: var(--blue); background: var(--blue-50) }
.dropzone.off { border-style: solid; background: #F8FAFC }
.dz-thumb { position: relative; width: 64px; height: 48px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; color: var(--muted); overflow: hidden; flex: none }
.dz-thumb img { width: 100%; height: 100%; object-fit: cover }
.dz-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.7) }
.dz-main { flex: 1; min-width: 0 }
.dz-hint { margin-top: 6px; font-size: 12px; color: var(--muted) }
.dz-hint .link { font-size: 12px }
.dz-note { color: #94a3b8 }

/* Preview additions */
.pv section { position: relative }
.pv-dirty { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--amber); color: #fff; font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 999px }
.pv-body { white-space: pre-line }
.pv-ph { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #eef2f7 0 12px, #e5eaf2 12px 24px); color: #7a8aa3; font-size: 13px; text-align: center; padding: 8px; overflow: hidden; word-break: break-all }
.pv-img { width: 100%; height: 300px; border-radius: 8px; object-fit: cover; display: block }
.pv-icon { width: 30px; height: 30px; object-fit: contain }
.pv-icon.pv-ph { background: none; padding: 0; color: inherit }
.pv-logo { max-width: 100%; max-height: 60px; object-fit: contain }
.pv-logo.pv-ph { width: 40px; height: 40px; border-radius: 50%; background: #e5e7eb; padding: 0 }
.pv-features { padding: 10px 0 60px; text-align: center }
.pv-features h3 { font-size: 30px; font-weight: 600; margin-bottom: 30px; padding: 0 64px }
.pv-features .pv-badges { text-align: left; padding-bottom: 0 }
.pv-features .pv-ctas { margin-top: 30px }
.pv-dark .pv-offers .o .ic { color: #fff }
.pv-hero p { white-space: pre-line }

@media (max-width: 900px) {
  .account-grid, .form-grid { grid-template-columns: 1fr }
  .cta-row { grid-template-columns: 1fr }
}

/* Media library */
.ml-drop { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px dashed #cbd5e1; border-radius: 12px; color: var(--muted); transition: border-color .2s, background .2s }
.ml-drop.over { border-color: var(--blue); background: var(--blue-50) }
.ml-drop > div { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 13px }
.ml-drop b { color: var(--ink); font-weight: 500 }
.ml-drop span { font-size: 12px }
.ml-tools { padding: 16px 0; border-bottom: 0 }
.ml-empty { padding: 40px 0; text-align: center; color: var(--muted); display: flex; gap: 10px; align-items: center; justify-content: center }
.ml-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px }
.ml-grid.pick { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) }
.ml-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s }
.ml-card:hover { border-color: var(--blue); box-shadow: var(--shadow) }
.ml-pick { display: block; width: 100%; aspect-ratio: 4 / 3; background: repeating-conic-gradient(#f1f4f8 0 25%, #fff 0 50%) 0 0 / 16px 16px; cursor: pointer }
.ml-thumb { width: 100%; height: 100%; object-fit: contain; display: block }
.ml-thumb.ph { display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 700 }
.ml-info { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0 }
.ml-info b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.ml-info > span { font-size: 11.5px; color: var(--muted) }
.ml-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px }
.ml-actions .link, .ml-rename .link { font-size: 12px }
.ml-rename { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.ml-rename .input { flex: 1 1 100% }

/* Preview: inner page sections (simplified) */
.pv-pagehero { background: radial-gradient(120% 140% at 80% 0%, #1e3f7a 0%, #0d2147 55%, #071430 100%); color: #fff; text-align: center; padding: 64px 64px 56px }
.pv-pagehero h2 { font-size: 36px; font-weight: 700; line-height: 1.2; max-width: 900px; margin: 0 auto }
.pv-pagehero p { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 14px }
.pv-generic { padding: 0 0 8px }
.pv-gen-text { padding: 50px 64px 10px; text-align: center }
.pv-gen-text h3 { font-size: 30px; line-height: 1.3; font-weight: 600 }
.pv-gen-text .pv-body { max-width: 760px; margin: 14px auto 0; font-size: 14px; color: #334155; line-height: 1.55 }
.pv-gen-text .pv-list { display: inline-block; text-align: left }
.pv-gen-text .pv-ctas { justify-content: center }
.pv-lead { font-weight: 600; font-style: italic; color: #1e293b; margin-top: 12px; font-size: 14px }
.pv-grid { display: grid; gap: 18px; padding: 16px 64px 50px }
.pv-split .pv-grid { padding: 16px 0 0 }
.pv-item { background: #F6F7F9; border: 1px solid #e3e5e8; border-radius: 10px; padding: 20px 22px; text-align: left; display: flex; flex-direction: column; gap: 6px }
.pv-item h4 { font-family: var(--ff-head); font-size: 16px; font-weight: 600 }
.pv-item p { font-size: 13px; color: #334155; line-height: 1.5 }
.pv-item .pv-list li { margin-top: 6px; font-size: 13px }
.pv-item .btn { align-self: flex-start; margin-top: 8px; height: 36px; padding: 0 16px; font-size: 12px }
.pv-item-img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px }
.pv-item .pv-icon { width: 40px; height: 40px }
.pv-sub { font-size: 12px; color: var(--muted); font-weight: 600 }
.pv-quote { font-style: italic; font-size: 14px !important }
.pv-stars { color: #f5a524; letter-spacing: 2px }
.pv-table { margin: 10px 64px 50px; width: calc(100% - 128px); border-collapse: collapse; font-size: 13px }
.pv-table th, .pv-table td { border: 1px solid #e3e5e8; padding: 10px 12px; text-align: left }
.pv-table th { background: #0d2147; color: #fff; font-weight: 600 }

/* Preview iframe (inner pages rendered by the website itself) */
.pv-frame { display: block; border: 0; transform-origin: 0 0; position: absolute; top: 0; left: 0; background: #fff }

/* Status dots by tone (product language tabs) */
.status-dot.g:before { background: var(--green) }
.status-dot.b:before { background: var(--blue) }
.status-dot.a:before { background: var(--amber) }
.status-dot.r:before { background: var(--red) }
.status-dot.n:before { background: #cbd5e1 }
