:root {
  color-scheme: light;
  --brand: #2563eb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f4f7fb;
  --side: #0b1220;
  --ok: #047857;
  --warn: #b45309;
  --bad: #b91c1c;
}
* { box-sizing: border-box; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Inter-Bold.woff2") format("woff2"); }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: var(--bg); color: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
h1 { margin: 0 0 8px; font-size: 28px; }
h2 { margin: 0; font-size: 22px; }
h3 { margin: 0 0 8px; font-size: 16px; }
.muted { color: var(--muted); }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: var(--side); color: #e2e8f0; padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; }
.side .brand { color: white; margin-bottom: 4px; }
.center-name { color: #94a3b8; font-size: 13px; margin-bottom: 12px; }
.side nav { display: grid; gap: 4px; }
.side a, .side button.link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: #cbd5e1; background: transparent; border: 0; text-align: left; text-decoration: none; cursor: pointer; }
.side a.active { background: var(--brand); color: white; }
.nav-badge { background: #ef4444; color: white; border-radius: 999px; min-width: 20px; text-align: center; font-size: 12px; padding: 1px 6px; }
.side-foot { margin-top: auto; padding-top: 16px; }
.who { display: grid; padding: 8px 12px; font-size: 14px; }
.who span { color: #94a3b8; font-size: 12px; }
.main { padding: 24px; }
.top { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.spread { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { background: white; border-radius: 16px; padding: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.kpi strong { display: block; font-size: 28px; margin: 4px 0; }
.btn { background: var(--brand); color: white; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn.ghost { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn.bad { background: #fee2e2; color: var(--bad); }
button.link { width: 100%; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: white; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
label { display: grid; gap: 6px; font-size: 14px; }
label.check { display: flex; align-items: center; gap: 8px; }
label.check input { width: 16px; }
fieldset { border: 1px solid var(--line); border-radius: 14px; margin: 0; }
legend { padding: 0 6px; font-weight: 600; }
.table-wrap { overflow-x: auto; background: white; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #eef2f7; font-size: 14px; vertical-align: top; }
tr.clickable { cursor: pointer; }
.badge { border-radius: 999px; padding: 2px 8px; background: #dbeafe; color: #1d4ed8; font-size: 12px; text-decoration: none; display: inline-block; }
.badge.ok { background: #d1fae5; color: var(--ok); }
.badge.warn { background: #fef3c7; color: var(--warn); }
.badge.bad { background: #fee2e2; color: var(--bad); }
.badge.muted { background: #e2e8f0; color: #475569; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.chips a.active { background: var(--brand); color: white; border-color: var(--brand); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs a { text-decoration: none; padding: 8px 12px; border-radius: 10px; background: white; border: 1px solid var(--line); }
.tabs a.active { background: var(--ink); color: white; }
.flash { border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }
.flash.ok { background: #ecfdf5; color: var(--ok); }
.flash.error { background: #fef2f2; color: var(--bad); }
.flash.warn { background: #fffbeb; color: var(--warn); }
.auth-body { background: #fff; }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; background: linear-gradient(165deg, #0c4cb3 0%, #1762e6 48%, #2d78ff 100%); }
.hero { color: white; padding: 42px 56px 0; display: flex; flex-direction: column; min-height: 100vh; position: relative; overflow: hidden; }
.lockup { display: flex; align-items: center; gap: 12px; }
.cap { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.cap svg { width: 26px; height: 26px; fill: white; }
.lockup strong { display: block; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.lockup small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.78); }
.hero h1 { max-width: 540px; margin: 36px 0 14px; font-size: 42px; line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.hero h1 span { color: #9ecbff; }
.lede { max-width: 440px; margin: 0 0 26px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }
.panel { position: relative; background: #fff; min-height: 100vh; display: flex; flex-direction: column; padding: 28px 72px 12px 96px; }
.panel::before { content: ""; position: absolute; left: -168px; top: 0; bottom: 0; width: 200px; background: url("/assets/media/curve.svg") center / 100% 100% no-repeat; pointer-events: none; }
.locale { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e7edf5; background: #fff; color: #334155; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.locale .ico { width: 16px; height: 16px; color: #64748b; }
.form { width: min(440px, 100%); margin: auto; }
.campus { width: min(460px, 92%); align-self: center; margin-top: 12px; display: block; }
.bare { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.public { width: min(520px, 100%); }
.preview { display: grid; gap: 8px; }
.cover { width: 100%; height: 168px; object-fit: cover; border-radius: 12px; background: #e2e8f0; display: block; }
.ico { width: 18px; height: 18px; flex: none; }
.with-ico, .meta, .media-line, .nav-label, .brand, .center-switch, .support, .tabs a { display: flex; align-items: center; gap: 8px; }
.brand { gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand small, .support small { display: block; font-weight: 500; font-size: 11px; color: #94a3b8; }
.side .brand, .hero .brand { color: white; }
.hero .brand small { color: rgba(255,255,255,.75); }
.center-switch, .support { background: #111827; border-radius: 12px; padding: 10px; color: inherit; text-decoration: none; }
.center-switch { margin: 8px 0 12px; }
.support { margin-bottom: 8px; }
.kpi { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ico-blob { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ico-blob.blue { background: #dbeafe; color: #2563eb; }
.ico-blob.violet { background: #ede9fe; color: #7c3aed; }
.ico-blob.amber { background: #ffedd5; color: #c2410c; }
.ico-blob.green { background: #d1fae5; color: #047857; }
.field { position: relative; display: block; }
.field .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.field input { padding-left: 40px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: center; }
.features .ico { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.features strong { display: block; font-size: 15px; font-weight: 700; }
.features small { display: block; margin-top: 2px; color: rgba(255,255,255,.72); font-weight: 400; font-size: 13px; }
.hero-art { width: 100%; height: auto; max-height: 390px; margin: auto 0 0; object-fit: contain; object-position: left bottom; display: block; mask-image: linear-gradient(to bottom, transparent, #000 14%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%); }
.auth-form { display: grid; gap: 14px; }
.auth-form h2 { font-size: 32px; letter-spacing: -.03em; margin: 0; }
.auth-form .muted { margin: -6px 0 4px; }
.auth-form label { color: #334155; font-weight: 600; font-size: 14px; }
.auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="text"] { height: 48px; border-radius: 12px; border-color: #e6ebf2; background: #fff; }
.auth-form .btn { width: 100%; height: 52px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.auth-form .btn.ghost { background: #fff; color: #0f172a; border: 1px solid #e6ebf2; font-weight: 600; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-row a { color: #2563eb; font-size: 14px; font-weight: 600; text-decoration: none; }
.auth-form input[type="checkbox"] { appearance: none; width: 18px; height: 18px; border: 1.5px solid #cbd5e1; border-radius: 5px; margin: 0; display: grid; place-items: center; }
.auth-form input[type="checkbox"]:checked { background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' d='M3 8.2 6.2 11.5 13 4.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat; border-color: #2563eb; }
.or { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 13px; }
.or::before, .or::after { content: ""; height: 1px; background: #e6ebf2; flex: 1; }
.field.has-end .ico:last-child { left: auto; right: 12px; color: #94a3b8; }
.field.has-end input { padding-right: 40px; }
.thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; background: #e2e8f0; }
.meta .ico { width: 14px; height: 14px; }
.brand-row { display: flex; gap: 12px; align-items: center; }
.logo-mark { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: white; box-shadow: 0 1px 4px rgba(15,23,42,.12); flex: none; }
.cover.banner { height: 140px; }
.top { align-items: center; gap: 12px; }
.bell { position: relative; color: inherit; display: inline-flex; }
.bell span { position: absolute; top: -6px; right: -8px; background: #ef4444; color: white; border-radius: 99px; font-size: 11px; min-width: 16px; text-align: center; padding: 0 4px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #dbeafe; color: #1d4ed8; display: grid; place-items: center; font-weight: 700; }
.public .brand { margin: 0; }
.panel .card { background: transparent; box-shadow: none; padding: 0; }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 24px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.bar { display: block; height: 8px; background: var(--brand); border-radius: 99px; }
.funnel { display: grid; gap: 8px; }
.funnel div { background: #dbeafe; border-radius: 10px; padding: 8px 10px; }
.check-list { display: grid; gap: 6px; }
.anchor { scroll-margin-top: 12px; }
.mt { margin-top: 16px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1000px) {
  .cards, .cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .shell, .login, .cards, .cards-3, .grid2 { grid-template-columns: 1fr; }
  .main, .hero, .panel { padding: 16px; }
  .hero, .panel { min-height: auto; }
  .panel::before, .campus { display: none; }
  .hero h1 { font-size: 30px; margin-top: 24px; }
  .hero-art { max-height: 220px; }
  .kpis, .dash-grid, .cards-3 { grid-template-columns: 1fr; }
  .quick { flex-direction: column; align-items: stretch; }
  .quick-actions { margin-left: 0; }
}
.shell { grid-template-columns: 268px 1fr; background: #f4f7fb; }
.side { background: #0b1220; padding: 18px 12px 14px; }
.side .lockup { color: #fff; text-decoration: none; padding: 4px 8px 12px; gap: 10px; }
.side .cap { width: 38px; height: 38px; border-radius: 11px; background: #2f6bff; display: grid; place-items: center; box-shadow: none; }
.side .cap svg { width: 22px; height: 22px; fill: #fff; }
.side .lockup > span { font-size: 16px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.side .lockup small { color: #8b9bb4; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.center-switch { background: #151c2c; color: #fff; border-radius: 14px; padding: 8px 10px; margin: 2px 4px 16px; gap: 10px; }
.center-switch .monogram { width: 34px; height: 34px; border-radius: 50%; background: #e8f0fe; color: #2563eb; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.center-switch .cname { flex: 1; font-size: 14px; font-weight: 600; }
.center-switch .ico { width: 16px; height: 16px; color: #8b9bb4; }
.side nav { gap: 2px; }
.side nav a, .side-foot > a { color: #a8b3c7; font-size: 14px; font-weight: 500; border-radius: 12px; padding: 10px 12px; }
.side nav a.active, .side-foot > a.active { background: #2f6bff; color: #fff; }
.nav-label .ico { width: 18px; height: 18px; }
.nav-badge { background: #3b82f6; color: #fff; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.side a.active .nav-badge { background: #fff; color: #2f6bff; }
.side-foot { display: grid; gap: 6px; }
.support { background: #151c2c; border-radius: 16px; padding: 12px; color: #fff; }
.support span { flex: 1; font-weight: 600; font-size: 14px; }
.support small { color: #8b9bb4; font-weight: 500; }
.support .ico:last-child { width: 16px; height: 16px; color: #8b9bb4; }
.main { padding: 22px 28px 28px; background: #f4f7fb; }
.appbar { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.greet { flex: 1; min-width: 0; }
.greet h1 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.greet p { margin: 6px 0 0; color: #64748b; font-size: 14px; }
.date-pill { margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid #e6edf5; border-radius: 12px; background: #fff; color: #334155; font-size: 13px; font-weight: 600; white-space: nowrap; }
.date-pill .ico { width: 16px; height: 16px; color: #64748b; }
.bell { position: relative; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: #475569; }
.bell i { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; border: 2px solid #f4f7fb; }
.account { position: relative; }
.account summary { list-style: none; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.account summary::-webkit-details-marker { display: none; }
.account .avatar { width: 36px; height: 36px; border-radius: 50%; background: #dbeafe; color: #2563eb; display: grid; place-items: center; font-weight: 700; }
.account .ico { width: 16px; height: 16px; color: #64748b; }
.account-pop { position: absolute; right: 0; top: 46px; z-index: 8; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.14); padding: 12px; min-width: 190px; display: grid; gap: 4px; }
.account-pop span { color: #64748b; font-size: 12px; }
.account-pop button { margin-top: 8px; border: 1px solid #e6edf5; background: #fff; border-radius: 8px; padding: 8px; cursor: pointer; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi-card { border-radius: 18px; padding: 16px 16px 14px; min-height: 132px; }
.kpi-card.blue { background: #eef4ff; }
.kpi-card.violet { background: #f4f0ff; }
.kpi-card.amber { background: #fff6ec; }
.kpi-card.green { background: #eaf8f0; }
.kpi-top { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 13px; font-weight: 500; }
.kpi-card .blob { width: 28px; height: 28px; border-radius: 999px; background: #fff; display: grid; place-items: center; }
.kpi-card .blob .ico { width: 16px; height: 16px; }
.kpi-card.blue .blob { color: #3b82f6; }
.kpi-card.violet .blob { color: #8b5cf6; }
.kpi-card.amber .blob { color: #f97316; }
.kpi-card.green .blob { color: #16a34a; }
.kpi-card strong { display: block; margin: 12px 0 6px; font-size: 32px; letter-spacing: -.04em; line-height: 1; }
.delta { font-size: 13px; font-weight: 600; }
.delta.up { color: #16a34a; }
.delta.down { color: #dc2626; }
.delta.flat { color: #64748b; }
.prev { margin-top: 2px; color: #94a3b8; font-size: 12px; }
.dash-grid, section.cards-3 { margin-top: 14px; }
.dash-grid { display: grid; grid-template-columns: 1.65fr .9fr; gap: 14px; }
.panel-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.panel-card h2, .card-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; }
.panel-card > h2 { margin-bottom: 8px; }
.chart-card { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.tip { position: absolute; top: 58px; transform: translateX(-50%); background: #fff; border-radius: 12px; box-shadow: 0 10px 28px rgba(15,23,42,.12); padding: 8px 10px; display: grid; min-width: 92px; }
.tip b { font-size: 12px; }
.tip span { color: #2563eb; font-size: 13px; font-weight: 700; }
.donut-wrap { position: relative; width: 168px; height: 168px; margin: 8px auto 12px; }
.donut { width: 168px; height: 168px; }
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-mid strong { font-size: 28px; letter-spacing: -.03em; }
.donut-mid span { color: #64748b; font-size: 12px; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend b { color: #64748b; font-weight: 600; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-head a { color: #2563eb; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.card-head a .ico { width: 14px; height: 14px; }
.people, .ads, .soon { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.people a, .ads a, .soon a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 7px 0; }
.who { min-width: 0; display: grid; }
.who b { font-size: 14px; font-weight: 600; }
.who small { color: #64748b; font-size: 12px; }
.when { margin-left: auto; color: #94a3b8; font-size: 12px; white-space: nowrap; }
.people .badge { margin-left: 8px; }
.ads .who { display: flex; align-items: center; gap: 8px; flex: 1; }
.ads img, .ads .ph { width: 72px; height: 48px; border-radius: 10px; object-fit: cover; background: #eef2ff; display: grid; place-items: center; flex: none; }
.metrics { margin-left: auto; color: #64748b; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.metrics .ico { width: 14px; height: 14px; }
.soon .tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.soon .tile .ico { width: 18px; height: 18px; }
.seats { margin-left: auto; color: #64748b; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.soon a > .ico:last-child { width: 16px; height: 16px; color: #94a3b8; transform: rotate(-90deg); }
.quick { margin-top: 14px; background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.quick-title { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.quick-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.quick .btn { border-radius: 12px; height: 40px; padding: 0 14px; }
.quick .btn.ghost { background: #fff; }
@media (max-width: 1100px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; }
  .kpis, .cards-3 { grid-template-columns: 1fr; }
  .appbar { flex-wrap: wrap; }
  .quick { flex-direction: column; align-items: stretch; }
  .quick-actions { margin-left: 0; }
}
.crumb { display: flex; align-items: center; gap: 8px; min-height: 40px; color: #94a3b8; font-size: 13px; font-weight: 500; }
.crumb a { color: #94a3b8; display: grid; }
.crumb .ico { width: 16px; height: 16px; }
.crumb .sep { display: grid; color: #cbd5e1; }
.crumb .sep .ico { width: 14px; height: 14px; transform: rotate(-90deg); }
.tab-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.page-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.page-top h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.page-top p { margin: 4px 0 0; color: #64748b; font-size: 14px; }
.page-actions { display: flex; gap: 10px; flex: none; }
.page-actions .btn { height: 40px; border-radius: 12px; padding: 0 14px; font-weight: 600; font-size: 14px; background: #2f6bff; }
.page-actions .btn.ghost { background: #fff; color: #334155; border: 1px solid #e6ebf2; }
.page-actions .btn .ico { width: 16px; height: 16px; }
.ctabs { display: flex; gap: 22px; border-bottom: 1px solid #e8eef5; margin: 18px 0 16px; }
.ctabs label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: #64748b; font-size: 14px; font-weight: 500; cursor: pointer; }
.ctabs .ico { width: 16px; height: 16px; }
.info-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; font-style: italic; font-family: Georgia, serif; border: 1.6px solid currentColor; line-height: 1; }
#tab-umumi:checked ~ .ctabs label[for="tab-umumi"],
#tab-elaqe:checked ~ .ctabs label[for="tab-elaqe"],
#tab-sosial:checked ~ .ctabs label[for="tab-sosial"],
#tab-sened:checked ~ .ctabs label[for="tab-sened"],
#tab-param:checked ~ .ctabs label[for="tab-param"] { color: #2563eb; border-bottom-color: #2563eb; font-weight: 600; }
#tab-umumi:checked ~ .ctabs label[for="tab-umumi"] .info-dot { background: #2563eb; border-color: #2563eb; color: #fff; }
.center-page .tab-pane { display: none; }
#tab-umumi:checked ~ .center-grid .pane-umumi,
#tab-elaqe:checked ~ .center-grid .pane-elaqe,
#tab-sosial:checked ~ .center-grid .pane-sosial,
#tab-sened:checked ~ .center-grid .pane-sened,
#tab-param:checked ~ .center-grid .pane-param { display: grid; gap: 14px; }
.center-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .78fr); gap: 16px; align-items: start; }
.center-side { display: grid; gap: 14px; }
.sheet { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.sec-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.sec-ico { width: 36px; height: 36px; border-radius: 10px; background: #e8f1ff; color: #3b82f6; display: grid; place-items: center; flex: none; }
.sec-ico .ico { width: 18px; height: 18px; }
.sec-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.sec-head p { margin: 2px 0 0; color: #94a3b8; font-size: 13px; line-height: 1.4; font-weight: 400; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.center-page .field-grid label, .about-label { font-size: 13px; font-weight: 600; color: #1e293b; }
.about-label { display: grid; gap: 8px; margin-top: 16px; }
.req { color: #ef4444; font-style: normal; }
.center-page .field-grid input, .center-page .field-grid select { height: 44px; border: 1px solid #e6ebf2; border-radius: 10px; padding: 0 12px; font-weight: 500; color: #0f172a; background-color: #fff; }
.center-page .field-grid select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m4 6 4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.editor { border: 1px solid #e6ebf2; border-radius: 12px; overflow: hidden; background: #fff; }
.toolbar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid #eef2f6; color: #475569; }
.style-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; padding: 4px 8px; margin-right: 6px; }
.style-name .ico { width: 14px; height: 14px; color: #94a3b8; }
.tool { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; font-size: 14px; }
.tool.ital { font-style: italic; font-family: Georgia, serif; }
.tool.under { text-decoration: underline; }
.tool .ico { width: 16px; height: 16px; }
.editor textarea { border: 0; border-radius: 0; min-height: 108px; resize: vertical; padding: 12px 14px; font-weight: 400; width: 100%; }
.editor .count { text-align: right; color: #94a3b8; font-size: 12px; font-weight: 500; padding: 0 12px 10px; }
.media-row { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }
.upload { display: grid; gap: 8px; }
.upload .lbl { font-size: 13px; font-weight: 600; }
.upload .lbl em { font-style: normal; color: #94a3b8; font-weight: 500; }
.upload small { color: #94a3b8; font-size: 12px; line-height: 1.45; }
.logo-slot { width: 124px; height: 124px; border-radius: 18px; background: #f3f5f8; position: relative; display: grid; place-items: center; cursor: pointer; }
.logo-slot .mark { font-size: 32px; font-weight: 800; color: #2563eb; letter-spacing: -.04em; }
.logo-slot img { width: 88px; height: 88px; object-fit: contain; }
.logo-slot .pen { position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid #e6ebf2; box-shadow: 0 2px 6px rgba(15,23,42,.08); display: grid; place-items: center; color: #64748b; }
.logo-slot .pen .ico { width: 14px; height: 14px; }
.center-page .sr-file { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.banner-slot { position: relative; height: 124px; border-radius: 16px; overflow: hidden; background: #eef2f6; }
.banner-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-empty { display: grid; place-items: center; height: 100%; color: #94a3b8; font-size: 13px; }
.banner-tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; }
.round.dark { width: 32px; height: 32px; border-radius: 50%; background: rgba(15,23,42,.55); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; padding: 0; }
.round.dark .ico { width: 15px; height: 15px; }
.profile-banner { height: 148px; border-radius: 14px; overflow: hidden; background: #e8eef6; }
.profile-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-logo { width: 78px; height: 78px; border-radius: 50%; border: 4px solid #fff; background: #fff; margin: -40px 0 6px 18px; box-shadow: 0 8px 18px rgba(15,23,42,.12); display: grid; place-items: center; object-fit: cover; position: relative; font-size: 18px; font-weight: 800; color: #2563eb; letter-spacing: -.03em; }
.profile-body { padding: 0 4px 4px; display: grid; gap: 4px; }
.profile-body strong { font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; }
.profile-body .activity { color: #64748b; font-size: 13px; }
.profile-body p { margin: 6px 0 4px; color: #64748b; font-size: 13px; line-height: 1.45; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #64748b; font-size: 12px; margin-top: 8px; }
.profile-meta span { display: inline-flex; align-items: center; gap: 5px; }
.profile-meta .ico { width: 14px; height: 14px; }
.profile-more { display: flex; justify-content: flex-end; margin-top: 12px; }
.profile-more .btn { height: 36px; border-radius: 12px; padding: 0 12px; color: #2563eb; border: 1px solid #dbe4f0; background: #fff; font-weight: 600; font-size: 13px; }
.profile-more .ico { width: 14px; height: 14px; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; background: #3b82f6; color: #fff; }
.verified .ico { width: 12px; height: 12px; stroke-width: 3; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.todo li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #334155; }
.todo .done { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.todo .done circle { fill: #22c55e; }
.todo .done path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.todo .open-box { width: 16px; height: 16px; margin-top: 2px; border: 1.5px solid #cbd5e1; border-radius: 4px; flex: none; }
.doc-empty { margin: 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.status-line { margin: 4px 0 0; }
@media (max-width: 1100px) {
  .center-grid, .field-grid, .media-row { grid-template-columns: 1fr; }
  .page-top { align-items: flex-start; flex-direction: column; }
  .ctabs { overflow-x: auto; }
}
.page-top > .btn { height: 42px; border-radius: 12px; padding: 0 16px; font-weight: 600; font-size: 14px; background: #2f6bff; }
.view-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 6px; }
.stat { display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 14px 16px; min-height: 78px; }
.stat div { display: grid; gap: 2px; }
.stat span { color: #64748b; font-size: 13px; font-weight: 500; }
.stat strong { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.stat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.stat-ico .ico { width: 22px; height: 22px; }
.stat.blue { background: #eef3ff; }
.stat.blue .stat-ico { background: #e3ebff; color: #3b82f6; }
.stat.green { background: #e8f8ee; }
.stat.green .stat-ico { background: #d9f5e4; color: #16a34a; }
.stat.amber { background: #fff6e6; }
.stat.amber .stat-ico { background: #ffedd2; color: #f59e0b; }
.stat.red { background: #fdeeee; }
.stat.red .stat-ico { background: #fcdada; color: #ef4444; }
.course-tabs { display: flex; gap: 18px; border-bottom: 1px solid #e8eef5; margin: 8px 0 14px; flex-wrap: wrap; }
.course-tabs a { text-decoration: none; color: #64748b; font-size: 14px; font-weight: 600; padding: 8px 2px 10px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.course-tabs a.on { color: #0f172a; border-bottom-color: #2563eb; }
.course-tabs b { font-weight: 600; color: #94a3b8; }
.course-tabs .ico { width: 15px; height: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.green { background: #22c55e; }
.dot.amber { background: #f59e0b; }
.dot.red { background: #ef4444; }
.course-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.course-tools .search { flex: 1; position: relative; display: flex; align-items: center; min-width: 180px; }
.course-tools .search .ico { position: absolute; left: 12px; color: #94a3b8; width: 16px; height: 16px; }
.course-tools .search input { height: 42px; border: 1px solid #e6ebf2; border-radius: 12px; padding: 0 12px 0 36px; background: #fff; }
.filter { position: relative; }
.filter summary { list-style: none; height: 42px; min-width: 168px; border: 1px solid #e6ebf2; border-radius: 12px; background: #fff; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-size: 14px; color: #334155; }
.filter summary::-webkit-details-marker { display: none; }
.filter summary .ico { width: 16px; height: 16px; color: #94a3b8; }
.filter .menu { position: absolute; z-index: 6; top: 46px; left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.12); padding: 6px; display: grid; }
.filter .menu a { text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: #0f172a; }
.view-toggle { margin-left: auto; display: flex; gap: 8px; }
.view-toggle label { width: 40px; height: 40px; border-radius: 12px; border: 1px solid #e6ebf2; background: #fff; color: #64748b; display: grid; place-items: center; cursor: pointer; }
.view-toggle .ico { width: 18px; height: 18px; }
#view-grid:checked ~ .course-tools label[for="view-grid"],
#view-list:checked ~ .course-tools label[for="view-list"] { background: #2f6bff; color: #fff; border-color: #2f6bff; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.course-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04); display: flex; flex-direction: column; }
.shot { position: relative; display: block; aspect-ratio: 3.15 / 1; background: #e8eef6; overflow: hidden; }
.shot img, .shot-empty { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.shot-empty { display: grid; place-items: center; color: #94a3b8; }
.flag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #e7f8ee; color: #16a34a; }
.flag i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.flag.warn { background: #fff3d6; color: #d97706; }
.flag.bad { background: #ffe4e8; color: #e11d48; }
.flag.muted { background: #f1f5f9; color: #64748b; }
.cat { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: #4f46e5; font-size: 11px; font-weight: 700; border-radius: 8px; padding: 4px 8px; }
.course-body { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course-body h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.course-body h3 a { text-decoration: none; }
.course-body p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.facts { display: flex; align-items: center; gap: 12px; color: #64748b; font-size: 12px; flex-wrap: wrap; }
.facts span { display: inline-flex; align-items: center; gap: 5px; }
.facts .ico { width: 14px; height: 14px; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 3px; border-radius: 1px; background: #d5dde8; display: block; }
.bars i:nth-child(1) { height: 5px; }
.bars i:nth-child(2) { height: 8px; }
.bars i:nth-child(3) { height: 12px; }
.bars i.on { background: #64748b; }
.course-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid #f1f5f9; display: flex; align-items: center; gap: 10px; color: #64748b; font-size: 12px; }
.course-foot > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.course-foot .ico { width: 14px; height: 14px; }
.card-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bax, .icon-btn, .more summary { height: 32px; border: 1px solid #e1e8f0; border-radius: 10px; background: #fff; color: #334155; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 600; }
.bax { padding: 0 10px; }
.icon-btn, .more summary { width: 32px; padding: 0; color: #64748b; cursor: pointer; }
.bax .ico, .icon-btn .ico, .more .ico { width: 14px; height: 14px; }
.more { position: relative; }
.more summary { list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more .menu { position: absolute; right: 0; top: 36px; z-index: 5; background: #fff; border-radius: 10px; box-shadow: 0 12px 28px rgba(15,23,42,.14); padding: 6px; min-width: 140px; }
.more .menu a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 500; }
#view-list:checked ~ .course-grid { grid-template-columns: 1fr; }
#view-list:checked ~ .course-grid .course-card { display: grid; grid-template-columns: 280px 1fr; }
#view-list:checked ~ .course-grid .shot { aspect-ratio: auto; height: 100%; min-height: 150px; }
@media (max-width: 1100px) {
  .stat-row { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .course-tools { flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .course-grid, .stat-row { grid-template-columns: 1fr; }
  #view-list:checked ~ .course-grid .course-card { grid-template-columns: 1fr; }
}
.steps { display: flex; justify-content: space-between; gap: 8px; position: relative; margin: 6px 0 16px; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 14px; height: 1px; background: #e2e8f0; }
.steps label { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; width: 16%; text-align: center; font-size: 12px; font-weight: 500; color: #94a3b8; cursor: pointer; }
.steps i { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid #e2e8f0; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #94a3b8; }
#w1:checked ~ .steps label[for="w1"],
#w2:checked ~ .steps label[for="w2"],
#w3:checked ~ .steps label[for="w3"],
#w4:checked ~ .steps label[for="w4"],
#w5:checked ~ .steps label[for="w5"],
#w6:checked ~ .steps label[for="w6"] { color: #2563eb; font-weight: 600; }
#w1:checked ~ .steps label[for="w1"] i,
#w2:checked ~ .steps label[for="w2"] i,
#w3:checked ~ .steps label[for="w3"] i,
#w4:checked ~ .steps label[for="w4"] i,
#w5:checked ~ .steps label[for="w5"] i,
#w6:checked ~ .steps label[for="w6"] i { background: #2f6bff; border-color: #2f6bff; color: #fff; }
.wizard .pane { display: none; }
#w1:checked ~ .wizard-grid .p1,
#w2:checked ~ .wizard-grid .p2,
#w3:checked ~ .wizard-grid .p3,
#w4:checked ~ .wizard-grid .p4,
#w5:checked ~ .wizard-grid .p5,
#w6:checked ~ .wizard-grid .p6 { display: block; }
.wizard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .78fr); gap: 16px; align-items: start; }
.wizard-side { display: grid; gap: 14px; }
.wizard .field-grid { margin-bottom: 14px; }
.wizard select, .wizard input, .wizard textarea { border: 1px solid #e6ebf2; border-radius: 10px; background: #fff; }
.wizard select, .wizard input { height: 44px; }
.wizard select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m4 6 4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.wizard textarea { min-height: 88px; padding: 12px; }
.select-ico { position: relative; display: block; }
.select-ico > .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #64748b; pointer-events: none; }
.select-ico select { padding-left: 36px; }
.bars-ico .bars { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.bars-ico select { padding-left: 40px; }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.label-row span:last-child { color: #94a3b8; font-weight: 500; }
.about-gap { margin-top: 14px; }
.goal-box { margin-top: 14px; background: #f3f8ff; border: 1px solid #dbe7ff; border-radius: 14px; padding: 12px; }
.goal-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.goal-title .ico { width: 16px; height: 16px; color: #2563eb; }
.goal-title em { font-style: normal; color: #94a3b8; font-weight: 500; }
.goal-box textarea { background: #fff; min-height: 64px; }
.wizard-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.wizard-foot .btn { height: 40px; border-radius: 12px; padding: 0 14px; font-weight: 600; font-size: 14px; }
.wizard-foot .btn.ghost { background: #fff; color: #334155; border: 1px solid #e6ebf2; }
.wizard-foot .note { margin-left: auto; color: #94a3b8; font-size: 13px; }
.wizard-foot .note i { color: #ef4444; font-style: normal; margin-right: 2px; }
.info-dot.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.mini-card { display: grid; gap: 8px; }
.mini-card img { width: 100%; height: 148px; object-fit: cover; border-radius: 12px; display: block; }
.mini-cat { justify-self: start; background: #eef2ff; color: #4f46e5; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 4px 8px; }
.mini-card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.mini-card p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.45; }
.mini-meta { display: flex; align-items: center; gap: 10px; color: #64748b; font-size: 13px; flex-wrap: wrap; }
.mini-meta .ico { width: 14px; height: 14px; }
.mini-price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.mini-price strong { font-size: 20px; letter-spacing: -.02em; }
.mini-price .btn { height: 36px; border-radius: 12px; padding: 0 12px; color: #2563eb; border: 1px solid #dbe4f0; background: #fff; font-weight: 600; font-size: 13px; }
.mini-price .ico { width: 14px; height: 14px; }
.advice { background: #e8f8ee; border-color: #d7f3e2; }
.sec-ico.green { background: #d9f5e4; color: #16a34a; }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tips li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #166534; }
.tips li::before { content: "✓"; color: #16a34a; font-weight: 700; }
.cover-pick input { padding: 8px; height: auto; }
.cover-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; margin-top: 10px; }
.hint { margin: 6px 0 0; color: #94a3b8; font-size: 12px; }
@media (max-width: 1100px) {
  .wizard-grid { grid-template-columns: 1fr; }
  .steps label { width: auto; }
}
.ad-kpis { display: grid; grid-template-columns: 1fr 1fr 1fr 1.28fr; gap: 12px; margin: 16px 0 0; }
.ad-kpi, .ad-spend > div { display: flex; align-items: center; gap: 12px; min-height: 78px; }
.ad-kpi { border-radius: 16px; padding: 14px 16px; }
.ad-kpi div, .ad-spend > div > div { display: grid; gap: 2px; min-width: 0; }
.ad-kpi > div > span, .ad-spend > div > div > span { color: #64748b; font-size: 13px; font-weight: 500; }
.ad-kpi strong, .ad-spend strong { font-size: 26px; letter-spacing: -.03em; line-height: 1.1; display: flex; align-items: baseline; gap: 8px; color: #0f172a; }
.ad-kpi .delta { font-style: normal; font-size: 13px; }
.ad-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fff; }
.ad-ico .ico { width: 20px; height: 20px; }
.ad-kpi.blue { background: #eef3ff; }
.ad-kpi.blue .ad-ico { color: #3b82f6; }
.ad-kpi.violet { background: #f3f0ff; }
.ad-kpi.violet .ad-ico { color: #7c3aed; }
.ad-kpi.green { background: #e8f8ee; }
.ad-kpi.green .ad-ico { color: #16a34a; }
.ad-spend { display: grid; grid-template-columns: 1fr 1fr; background: #fff6ea; border-radius: 16px; }
.ad-spend > div { padding: 14px 16px; }
.ad-spend > div + div { border-left: 1px solid #f3e2c8; }
.ad-spend .ad-ico { color: #d97706; }
.info { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 4px; border: 1px solid #cbd5e1; border-radius: 50%; color: #94a3b8; font-size: 10px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.ads-page .dash-grid { margin-top: 14px; }
.series { display: flex; gap: 14px; color: #64748b; font-size: 12px; font-weight: 600; }
.series span { display: inline-flex; align-items: center; gap: 6px; }
.series i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.dot.slate { background: #94a3b8; }
.ad-sheet { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.ad-tools { margin-bottom: 8px; }
.ad-tools .date-pill { height: 42px; flex: none; }
.ad-tools .filter summary { min-width: 148px; }
#ad-grid:checked ~ .ad-sheet .view-toggle label[for="ad-grid"],
#ad-list:checked ~ .ad-sheet .view-toggle label[for="ad-list"] { background: #2f6bff; color: #fff; border-color: #2f6bff; }
.ad-table-wrap { overflow-x: auto; }
.ad-cards { display: none; }
#ad-grid:checked ~ .ad-sheet .ad-table-wrap { display: none; }
#ad-grid:checked ~ .ad-sheet .ad-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.ad-table th { text-align: left; font-size: 12px; font-weight: 600; color: #94a3b8; padding: 8px 10px 10px; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.ad-table th .ico { width: 14px; height: 14px; vertical-align: -2px; }
.ad-table td { padding: 11px 8px; border-bottom: 1px solid #f3f6fb; vertical-align: middle; font-size: 13.5px; color: #334155; white-space: nowrap; }
.ad-table tr:last-child td { border-bottom: 0; }
.ad-name, .ad-course, .dur, .status-cell, .row-actions { display: flex; align-items: center; }
.ad-name { gap: 10px; }
.ad-name img, .ad-ph { width: 58px; height: 40px; border-radius: 8px; object-fit: cover; object-position: 70% center; flex: none; background: #e8eef6; }
.ad-ph { display: grid; place-items: center; color: #94a3b8; }
.ad-name b, .ad-course b { display: block; font-size: 14px; font-weight: 700; color: #0f172a; letter-spacing: -.01em; white-space: nowrap; }
.ad-name a, .ad-card h3 a { text-decoration: none; }
.ad-name small, .dur small { display: block; color: #64748b; font-size: 12px; font-weight: 500; margin-top: 2px; white-space: nowrap; }
.ad-course { gap: 8px; align-items: flex-start; }
.ad-course .tile { width: 28px; height: 28px; border-radius: 8px; background: #eef2ff; color: #4f46e5; display: grid; place-items: center; flex: none; }
.ad-course .tile.center { background: #e0f2fe; color: #0284c7; }
.ad-course .tile .ico, .dur .ico { width: 15px; height: 15px; }
.kind { display: inline-block; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 700; border-radius: 7px; padding: 2px 7px; }
.kind.course { background: #eef2ff; color: #6366f1; }
.kind.center { background: #e0f2fe; color: #0369a1; }
.dur { gap: 6px; align-items: flex-start; color: #94a3b8; }
.dur b { font-weight: 600; color: #334155; font-size: 13px; white-space: nowrap; }
.status-cell { gap: 8px; }
.status-cell form { margin: 0; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: #e7f8ee; color: #16a34a; }
.pill.warn { background: #fff4d6; color: #d97706; }
.pill.bad { background: #fee2e2; color: #dc2626; }
.pill.muted { background: #f1f5f9; color: #64748b; }
.switch { width: 36px; height: 20px; border: 0; border-radius: 999px; background: #e2e8f0; position: relative; padding: 0; cursor: pointer; flex: none; }
.switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.18); display: block; }
.switch.on { background: #22c55e; }
.switch.on i { left: 18px; }
.switch.dead { cursor: default; }
.row-actions { gap: 6px; justify-content: flex-end; }
.ad-card { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; border: 1px solid #eef2f7; border-radius: 14px; padding: 12px; }
.ad-card img { width: 120px; height: 76px; object-fit: cover; object-position: 70% center; border-radius: 10px; }
.ad-card h3 { margin: 0; font-size: 15px; }
.ad-card p { margin: 4px 0; color: #64748b; font-size: 13px; }
.ad-metrics { display: flex; gap: 10px; color: #64748b; font-size: 12px; margin-top: 8px; flex-wrap: wrap; }
.ad-metrics span { display: inline-flex; align-items: center; gap: 4px; }
.ad-metrics .ico { width: 14px; height: 14px; }
@media (max-width: 1200px) {
  .ad-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .ad-kpis, .ad-spend, #ad-grid:checked ~ .ad-sheet .ad-cards { grid-template-columns: 1fr; }
  .ad-card { grid-template-columns: 1fr; }
}
