@import url("/assets/fonts/prompt.css");
:root {
  --ink: #142033;
  --muted: #5c6b80;
  --line: #e4e9f1;
  --paper: #f4f7fb;
  --card: #ffffff;
  --brand: #0b3a82;
  --brand-2: #c8a24a;
  --danger: #9f2d2d;
  --ok: #0f6b4c;
  --shadow: 0 12px 40px rgba(20, 32, 51, .08);
  --font: "Prompt", "Leelawadee UI", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; }
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: #0e2248; color: white; padding: 24px 16px; }
.brand { color: white; font-weight: 700; text-decoration: none; font-size: 1.15rem; }
.brand-sub { color: #c9d5ea; margin-top: 4px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.side-nav a { color: #e7eefb; text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.side-nav a:hover { background: rgba(255,255,255,.08); }
.workspace { min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: var(--card); border-bottom: 1px solid var(--line); }
.content { padding: 28px; }
.page-head, .filters, .split { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.stat-grid, .split { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 16px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.card span { color: var(--muted); display: block; }
.card strong { font-size: 1.6rem; }
.data { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; }
.data th, .data td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.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; line-height: 1; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.stack { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd7e6; border-radius: 10px; background: white; font-weight: 400; }
.choice { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.choice input { width: auto; }
.muted { color: var(--muted); }
.toast { background: #e8f6ef; color: var(--ok); padding: 12px 14px; border-radius: 12px; }
.toast-error { background: #fdecec; color: var(--danger); }
.auth-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, #0e2248, #1d4f91 55%, #f4f7fb); }
.auth-card { width: min(440px, calc(100% - 32px)); background: white; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); font-size: .75rem; margin: 0; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.steps li { padding: 6px 10px; border-radius: 999px; background: white; border: 1px solid var(--line); }
.steps .is-current { background: var(--brand); color: white; }
.public-body { background: #f7f5ef; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.gov-tools { background: #f3e6c4; color: #1d2430; font-size: .92rem; }
.tools-row, .site-header-inner, .nav-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.tools-row { padding: 8px 0; }
.tools-row p { margin: 0; }
.tools-actions, .a11y { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tools-actions a { color: #1d2430; }
.site-header { background: var(--primary, #0b3a82); color: white; }
.site-header-inner { padding: 18px 0; align-items: flex-end; }
.brand-lockup { display: flex; gap: 12px; align-items: center; color: white; text-decoration: none; }
.emblem { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: white; color: var(--primary, #0b3a82); font-weight: 700; font-size: 1.4rem; flex: none; }
.org-type, .site-name, .site-name-en { display: block; }
.org-type { color: #f3e6c4; font-size: .85rem; }
.site-name { font-size: 1.45rem; font-weight: 700; line-height: 1.3; }
.site-name-en { font-size: .9rem; opacity: .9; }
.site-search { min-width: min(100%, 280px); }
.site-search label { font-size: .85rem; font-weight: 600; }
.search-row { display: flex; gap: 8px; align-items: end; }
.search-row input { margin: 0; }
.public-nav { background: #08275d; }
.nav-row { padding: 0; }
.public-nav a { color: white; text-decoration: none; display: inline-block; padding: 12px 12px; }
.public-nav a[aria-current="page"], .public-nav a:hover { background: rgba(255,255,255,.14); }
.public-main { padding: 22px 0 48px; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; color: var(--muted); }
.site-footer { background: #10284f; color: #d9e3f5; padding: 28px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.site-footer h2 { font-size: 1rem; margin: 0 0 8px; color: white; }
.site-footer a { color: #f3e6c4; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer p { margin: 4px 0; }
.footer-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }
.link-list, .people-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.link-list li, .service-link { background: white; border-radius: 12px; padding: 12px 14px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.service-link { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.skip { position: absolute; left: 12px; top: 0; transform: translateY(-120%); background: white; color: black; padding: 8px 12px; z-index: 5; }
.skip:focus { transform: none; }
.a11y button, .gov-tools button { background: white; color: #142033; border: 1px solid #c8b27a; border-radius: 8px; padding: 4px 8px; }
.a11y button[aria-pressed="true"] { background: #0b3a82; color: white; }
:focus-visible { outline: 3px solid #c8a24a; outline-offset: 2px; }
body.contrast { background: #000; color: #fff; }
body.contrast .gov-tools, body.contrast .site-header, body.contrast .public-nav, body.contrast .site-footer { background: #000; color: #fff; }
body.contrast .card, body.contrast .link-list li, body.contrast .service-link, body.contrast .emblem { background: #111; color: #fff; }
body.contrast a, body.contrast .site-footer a, body.contrast .tools-actions a { color: #ffe14a; }
body.font-lg { font-size: 1.2rem; }
body.font-sm { font-size: .9rem; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 2; }
  .side-nav { display: flex; flex-direction: row; overflow: auto; }
  .site-name { font-size: 1.2rem; }
}
@media print {
  .gov-tools, .public-nav, .site-search, .a11y { display: none; }
}
body.layout-civic { background: #f4f7fb; }
body.layout-civic .gov-tools { background: #f7f8fb; color: #3f4d63; font-size: .8rem; border-bottom: 1px solid #e6ebf2; }
body.layout-civic .tools-actions a { color: #0b4ea2; }
body.layout-civic .site-header { background: #fff; color: #0b4ea2; border-bottom: 0; box-shadow: 0 8px 24px rgba(16, 40, 80, .06); }
body.layout-civic .org-type { display: none; }
body.layout-civic .brand-lockup, body.layout-civic .site-name { color: #0b4ea2; }
body.layout-civic .site-name { font-size: 1.65rem; letter-spacing: 0; }
body.layout-civic .site-name-en { color: #1f7a8a; font-size: 1rem; font-weight: 700; }
body.layout-civic .emblem { width: 72px; height: 72px; background: radial-gradient(circle at 35% 30%, #fff6d0, #f4d35e 28%, #1f7a43 62%, #0e4d32); color: #fff; border: 3px solid #e7c15a; box-shadow: 0 6px 16px rgba(14, 77, 50, .25); }
body.layout-civic .site-search label { color: #3f4d63; font-size: .78rem; }
body.layout-civic .site-search input { border-radius: 999px; border: 1px solid #d5deea; }
body.layout-civic .site-search .btn { border-radius: 999px; background: linear-gradient(#f6a04a, #e07a2f); }
body.layout-civic .public-nav { background: #fff; border-top: 4px solid #0b4ea2; border-bottom: 1px solid #e6ebf2; }
body.layout-civic .public-nav a { color: #16324f; font-weight: 700; }
body.layout-civic .public-nav a[aria-current="page"], body.layout-civic .public-nav a:hover { background: #f3f7ff; color: #0b4ea2; box-shadow: inset 0 -3px 0 #e07a2f; }
body.layout-civic .nav-row { justify-content: flex-start; }
body.layout-civic .public-main { width: 100%; max-width: none; padding: 0 0 40px; }
body.layout-civic .breadcrumb, body.layout-civic .page-canvas, body.layout-civic .toast { width: min(1100px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
body.layout-civic .breadcrumb { padding-top: 18px; }
body.layout-civic .site-footer { background: #0e3d2a; }
.showcase { background: #fff; }
.hero-photo { position: relative; min-height: 520px; background: #14532d url("/assets/pakphayun/hero.jpg") center/cover no-repeat; display: grid; align-items: end; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(4, 24, 48, .62)); }
.hero-copy { position: relative; z-index: 1; width: min(1100px, calc(100% - 32px)); margin: 0 auto 48px; color: white; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.hero-copy p { margin: 0; font-weight: 700; }
.hero-copy h1 { margin: 4px 0; font-size: clamp(2rem, 5vw, 3.4rem); color: white; }
.hello-band { width: min(1100px, calc(100% - 32px)); margin: -42px auto 0; background: linear-gradient(180deg, #e8f6ff, #fff); border-radius: 24px; box-shadow: 0 16px 40px rgba(16, 40, 80, .12); display: grid; grid-template-columns: 120px 1fr; gap: 8px 18px; align-items: center; padding: 18px 22px 20px; position: relative; }
.hello-band img { grid-row: span 2; }
.hello-band h2 { margin: 0; color: #0b4ea2; font-size: 1.55rem; }
.hello-band p { margin: 2px 0 0; color: #3f4d63; }
.hello-search { grid-column: 1 / -1; display: flex; margin-top: 8px; }
.hello-search input { flex: 1; border: 1px solid #d5deea; border-right: 0; border-radius: 12px 0 0 12px; padding: 14px 16px; font-size: 1.05rem; }
.hello-search button { border: 0; border-radius: 0 12px 12px 0; padding: 0 28px; background: linear-gradient(#f6a04a, #e07a2f); color: white; font-weight: 800; cursor: pointer; }
.svc-row { width: min(1100px, calc(100% - 32px)); margin: 22px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.svc-row a { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; color: #16324f; font-weight: 700; background: #fff; border-radius: 18px; padding: 16px 8px; box-shadow: 0 8px 24px rgba(16, 40, 80, .06); }
.svc-row a:hover { transform: translateY(-2px); color: #0b4ea2; }
.svc-ico { width: 64px; height: 64px; border-radius: 50%; background: #eef6ff; display: grid; place-items: center; }
.svc-ico svg { width: 36px; height: 36px; }
.feature-row { width: min(1100px, calc(100% - 32px)); margin: 26px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-row a { text-decoration: none; color: #142033; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(16, 40, 80, .08); }
.feature-row strong, .feature-row small { display: block; padding: 0 16px; }
.feature-row strong { padding-top: 12px; }
.feature-row small { color: #5c6b80; padding-bottom: 14px; }
.feature-visual { display: block; height: 210px; background-position: center; background-size: cover; }
.feature-visual.lake { background-image: url("/assets/pakphayun/lake.jpg"); }
.feature-visual.work { background-image: url("/assets/pakphayun/community.jpg"); }
.feature-visual.culture { background-image: url("/assets/pakphayun/culture.jpg"); }
.page-canvas .fp-panels, .fp-panels { width: min(1100px, calc(100% - 32px)); margin: 22px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fp-panels .block { background: #fff; border-radius: 18px; padding: 8px 18px 16px; box-shadow: 0 10px 28px rgba(16, 40, 80, .08); border-top: 4px solid #0b4ea2; }
.fp-panels .block h2 { margin-bottom: 8px; }
.fp-panels .link-list { gap: 0; }
.fp-panels .link-list li { background: transparent; border-radius: 0; border-bottom: 1px solid #e8eef6; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.fp-panels .link-list time { color: #6b7c93; font-size: .85rem; white-space: nowrap; }
.fp-note { width: min(1100px, calc(100% - 32px)); margin: 0 auto 10px; color: #3f4d63; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.contrast.layout-civic, body.contrast.layout-civic .site-header, body.contrast.layout-civic .public-nav, body.contrast.layout-civic .hello-band, body.contrast.layout-civic .svc-row a, body.contrast.layout-civic .feature-row a, body.contrast .fp-panels .block { background: #000; color: #fff; }
body.contrast.layout-civic .site-name, body.contrast.layout-civic .brand-lockup, body.contrast.layout-civic .site-name-en, body.contrast.layout-civic .public-nav a, body.contrast.layout-civic .hello-band h2 { color: #ffe14a; }
@media (max-width: 860px) {
  .svc-row, .feature-row, .fp-panels, .hello-band { grid-template-columns: 1fr 1fr; }
  .hello-band img { display: none; }
  .hello-search { grid-column: 1 / -1; }
  .hero-photo { min-height: 280px; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; z-index: 2; }
  .side-nav { display: flex; flex-direction: row; overflow: auto; }
  .site-name { font-size: 1.2rem; }
}
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: radial-gradient(900px 420px at 12% -8%, rgba(255,255,255,.16), transparent 58%), radial-gradient(640px 360px at 110% 108%, rgba(232,196,106,.34), transparent 55%), linear-gradient(165deg, #042844 0%, #0b4ea2 52%, #147a9a 100%); }
.auth-card { width: min(420px, calc(100vw - 32px)); margin: 0; background: #fff; border-radius: 24px; padding: 32px 28px 24px; text-align: center; box-shadow: 0 24px 60px rgba(4, 24, 48, .28); }
.auth-seal { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #e7c15a; box-shadow: 0 8px 18px rgba(7, 57, 95, .18); }
.auth-site { margin: 14px 0 0; color: #07395f; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.auth-site-en { margin: 2px 0 0; color: #5d7386; font-size: .84rem; }
.auth-card h1 { margin: 18px 0 0; color: #10284f; font-size: 1.35rem; }
.auth-card form { text-align: left; margin-top: 18px; }
.auth-card label { color: #163951; font-size: .92rem; }
.auth-card input { background: #f7fafc; border: 1px solid #d5e2ea; border-radius: 12px; padding: 12px 14px; }
.auth-card input:focus { border-color: #0b4ea2; box-shadow: 0 0 0 3px rgba(11, 78, 162, .16); outline: none; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 4px; border: 0; border-radius: 12px; padding: 12px 14px; font-weight: 700; background: linear-gradient(180deg, #1560b8, #0b4ea2); }
.auth-card .btn:hover { background: linear-gradient(180deg, #1b6cc8, #0a438c); }
.auth-back { margin: 16px 0 0; }
.auth-back a { color: #0b4ea2; font-weight: 600; text-decoration: none; }
.auth-back a:hover { text-decoration: underline; }
body.admin-app { background: #eef2f7; color: #16233a; }
body.admin-app .shell { grid-template-columns: 220px minmax(0, 1fr); }
body.admin-app .sidebar { display: flex; flex-direction: column; gap: 8px; height: 100vh; position: sticky; top: 0; overflow: auto; padding: 16px 10px 22px; background: linear-gradient(180deg, #082044 0%, #06152c 100%); border-right: 1px solid rgba(255,255,255,.05); }
body.admin-app .brand { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 2px 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; text-decoration: none; }
body.admin-app .brand-seal { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; border: 2px solid #e7c15a; }
body.admin-app .brand-mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #12386f; color: #f4d35e; font-weight: 700; border: 2px solid #e7c15a; }
body.admin-app .brand-copy { min-width: 0; }
body.admin-app .brand-name { display: block; font-size: .8rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
body.admin-app .brand-sub { display: block; margin: 2px 0 0; color: #b7c6dc; font-size: .75rem; font-weight: 500; }
body.admin-app .side-nav { gap: 2px; margin: 0; }
body.admin-app .nav-group { margin: 14px 6px 4px; color: #d5e2f2; font-size: .84rem; font-weight: 700; letter-spacing: 0; }
body.admin-app .side-nav a { position: relative; color: #c5d4e8; margin-left: 12px; padding: 4px 8px 4px 12px; border-radius: 8px; font-size: .75rem; font-weight: 500; line-height: 1.35; border: 0; }
body.admin-app .side-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
body.admin-app .side-nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
body.admin-app .side-nav a[aria-current="page"]::before { content: ""; position: absolute; left: 4px; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; background: #e7c15a; }
body.admin-app .workspace { background: #eef2f7; }
body.admin-app .topbar { height: 68px; padding: 0 28px; background: #fff; border-bottom: 1px solid #e5ebf3; box-shadow: 0 1px 0 rgba(16, 40, 80, .03); }
body.admin-app .top-title { display: grid; gap: 1px; }
body.admin-app .top-title strong { color: #10284f; font-size: .98rem; }
body.admin-app .top-title span, body.admin-app .who span { color: #6a7c92; font-size: .78rem; }
body.admin-app .top-actions { display: flex; align-items: center; gap: 10px; }
body.admin-app .who { margin: 0; display: grid; justify-items: end; line-height: 1.25; }
body.admin-app .who strong { color: #16324f; font-size: .88rem; }
body.admin-app .topbar .btn { padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
body.admin-app .btn-quiet { background: transparent; color: #5d7386; border: 1px solid transparent; }
body.admin-app .btn-quiet:hover { background: #f4f7fb; color: #0b4ea2; }
body.admin-app .content { padding: 28px 32px 48px; }
body.admin-app .content h1 { margin: 0; color: #10233f; font-size: 1.7rem; font-weight: 700; letter-spacing: 0; }
body.admin-app .dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
body.admin-app .dash-lead { margin: 6px 0 0; color: #6a7c92; font-size: .95rem; }
body.admin-app .dash-period { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 8px; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; box-shadow: 0 8px 20px rgba(16, 40, 80, .04); }
body.admin-app .dash-period form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
body.admin-app .dash-period a, body.admin-app .dash-period button { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid #d7e1ec; border-radius: 999px; background: #f7fafc; color: #16324f; font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; }
body.admin-app .dash-period a.is-on, body.admin-app .dash-period button.is-on { background: #0b4ea2; border-color: #0b4ea2; color: #fff; }
body.admin-app .dash-period label { display: flex; align-items: center; gap: 6px; margin: 0; color: #5d7386; font-size: .75rem; font-weight: 700; }
body.admin-app .dash-period input[type="date"] { width: 148px; height: 36px; padding: 0 8px; }
body.admin-app .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
body.admin-app .kpi { position: relative; border: 0; border-radius: 18px; padding: 18px 18px 16px; box-shadow: none; }
body.admin-app .kpi-news { background: #eef4ff; }
body.admin-app .kpi-draft { background: #eefbf3; }
body.admin-app .kpi-alert { background: #fff6ee; }
body.admin-app .kpi-views { background: #f4f0ff; }
body.admin-app .kpi-ico { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.72); }
body.admin-app .kpi-ico svg { width: 20px; height: 20px; }
body.admin-app .kpi-news .kpi-ico { color: #3b6fd8; }
body.admin-app .kpi-draft .kpi-ico { color: #1f9d55; }
body.admin-app .kpi-alert .kpi-ico { color: #e07a2f; }
body.admin-app .kpi-views .kpi-ico { color: #7c5cbf; }
body.admin-app .kpi span { color: #5d7386; font-size: .86rem; font-weight: 600; }
body.admin-app .kpi strong { display: block; margin-top: 10px; color: #10233f; font-size: 1.85rem; line-height: 1; font-weight: 700; }
body.admin-app .kpi small { display: block; margin-top: 10px; font-size: .8rem; font-weight: 700; }
body.admin-app .trend.up { color: #1f9d55; }
body.admin-app .trend.down { color: #c2412d; }
body.admin-app .trend.flat { color: #6a7c92; font-weight: 600; }
body.admin-app .dash-board { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: 16px; }
body.admin-app .dash-wide { grid-column: 1 / -1; }
body.admin-app .rank-list { list-style: none; margin: 0; padding: 0; }
body.admin-app .rank-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 2px; border-bottom: 1px solid #f2f6fa; }
body.admin-app .rank-list li:last-child { border-bottom: 0; }
body.admin-app .rank-no { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #eef4ff; color: #0b4ea2; font-weight: 600; font-size: .72rem; }
body.admin-app .rank-list li:nth-child(-n+3) .rank-no { background: #0b4ea2; color: #fff; }
body.admin-app .rank-list a { color: #16324f; font-weight: 500; font-size: .82rem; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.admin-app .rank-list a:hover { color: #0b4ea2; }
body.admin-app .rank-views { color: #5d7386; font-size: .75rem; font-weight: 500; white-space: nowrap; }
body.admin-app .panel { background: #fff; border: 1px solid #e6edf5; border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 10px 24px rgba(16, 40, 80, .04); min-width: 0; }
body.admin-app .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
body.admin-app .panel h2 { margin: 0; color: #10233f; font-size: .92rem; font-weight: 600; }
body.admin-app .panel-chip { padding: 4px 8px; border: 1px solid #e6edf5; border-radius: 10px; color: #4d6578; font-size: .72rem; font-weight: 500; background: #fff; }
body.admin-app .panel-more { color: #3b6fd8; font-weight: 500; font-size: .75rem; text-decoration: none; }
body.admin-app .dash-chart { width: 100%; height: auto; display: block; }
body.admin-app .visit-map { display: block; width: 100%; height: 280px; border: 0; border-radius: 12px; background: #e7eef6; }
body.admin-app .place-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
body.admin-app .place-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
body.admin-app .place-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.admin-app .place-list i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 999px; background: #0b4ea2; }
body.admin-app .visit-table td:last-child { white-space: nowrap; }
body.admin-app .visit-path { color: #6a7c92; font-size: .78rem; }
body.admin-app .visit-bar { display: inline-block; height: 8px; margin-right: 8px; border-radius: 999px; background: #3b82f6; vertical-align: middle; }
body.admin-app .donut-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 8px; align-items: center; }
body.admin-app .donut { width: 180px; height: 180px; }
body.admin-app .donut-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.admin-app .donut-legend li { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; color: #3e5166; font-size: .9rem; }
body.admin-app .donut-legend i { width: 10px; height: 10px; border-radius: 50%; }
body.admin-app .dash-table { width: 100%; border-collapse: collapse; }
body.admin-app .dash-table th { text-align: left; color: #6a7c92; font-size: .72rem; font-weight: 500; padding: 8px 8px 10px; border-bottom: 1px solid #eef2f7; }
body.admin-app .dash-table td { padding: 8px; border-bottom: 1px solid #f2f6fa; vertical-align: middle; font-size: .82rem; font-weight: 400; }
body.admin-app .dash-table td:nth-child(2) { max-width: 320px; }
body.admin-app .dash-table a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #16324f; text-decoration: none; font-weight: 500; font-size: .82rem; }
body.admin-app .dash-table a:hover { color: #0b4ea2; }
body.admin-app .badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; font-size: .68rem; font-weight: 500; }
body.admin-app .badge-ok { background: #e8f8ee; color: #178746; }
body.admin-app .badge-wait { background: #eef4ff; color: #3b6fd8; }
body.admin-app .badge-info { background: #fff6e8; color: #b86a12; }
body.admin-app .badge-bad { background: #fdecec; color: #c2412d; }
body.admin-app .menu-tree { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
body.admin-app .menu-tree .menu-tree { margin: 8px 0 0 16px; padding: 0 0 0 12px; border-left: 2px solid #e6edf5; gap: 6px; }
body.admin-app .menu-node { background: #fff; border: 1px solid #e6edf5; border-radius: 12px; padding: 10px 14px; }
body.admin-app .menu-tree .menu-tree .menu-node { background: #f7fafc; }
body.admin-app .menu-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.admin-app .menu-label { color: #16324f; font-weight: 700; }
body.admin-app .menu-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6a7c92; font-size: .82rem; }
body.admin-app .menu-link { margin-left: auto; display: flex; align-items: center; gap: 6px; min-width: 280px; flex: 1; max-width: 560px; }
body.admin-app .menu-link select { width: 46%; flex: none; height: 34px; padding: 0 10px; font-size: .82rem; }
body.admin-app .menu-link input { width: auto; flex: 1; min-width: 0; height: 34px; padding: 0 10px; font-size: .82rem; }
body.admin-app .menu-actions { display: flex; align-items: center; gap: 6px; flex: none; }
body.admin-app .menu-actions form { margin: 0; }
body.admin-app .menu-actions button { height: 30px; padding: 0 10px; border: 1px solid #d7e1ec; border-radius: 999px; background: #fff; color: #0b4ea2; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
body.admin-app .menu-actions button:disabled { color: #b7c3d1; border-color: #eef2f6; cursor: default; }
body.admin-app .menu-actions .menu-delete { color: #9f2d2d; border-color: #f0d5d5; }
body.admin-app .page-head { margin-bottom: 16px; }
body.admin-app .page-head h1 { font-size: 1.45rem; }
body.admin-app .page-head-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
body.admin-app .page-search { display: flex; gap: 8px; align-items: center; }
body.admin-app .page-search label { display: flex; align-items: center; gap: 8px; margin: 0; color: #5d7386; font-size: .78rem; font-weight: 600; }
body.admin-app .page-search input { width: min(320px, 42vw); height: 42px; border: 1px solid #d7e1ec; border-radius: 12px; background: #fff; padding: 0 14px; color: #16324f; font-weight: 500; }
body.admin-app .page-search input:focus { border-color: #0b4ea2; outline: none; box-shadow: 0 0 0 3px rgba(11, 78, 162, .12); }
body.admin-app .page-search .btn, body.admin-app .page-head-tools > .btn { height: 42px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; }
body.admin-app .page-search-clear { color: #0b4ea2; font-weight: 600; white-space: nowrap; }
body.admin-app .news-nav { align-items: flex-end; }
body.admin-app .crumb, body.auth-body .crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; color: #6a7c92; font-size: .84rem; }
body.admin-app .admin-crumb { margin: 0 0 14px; }
body.auth-body .crumb { justify-content: center; margin: 0 0 12px; }
body.admin-app .crumb a, body.auth-body .crumb a { color: #0b4ea2; font-weight: 600; text-decoration: none; }
body.admin-app .crumb a:hover, body.auth-body .crumb a:hover { text-decoration: underline; }
body.admin-app .crumb [aria-current="page"], body.auth-body .crumb [aria-current="page"] { color: #16324f; font-weight: 700; }
body.admin-app .back-link { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid #d7e1ec; border-radius: 999px; background: #fff; color: #0b4ea2; font-weight: 700; font-size: .88rem; text-decoration: none; box-shadow: 0 8px 20px rgba(16, 40, 80, .04); }
body.admin-app .back-link::before { content: "←"; margin-right: 6px; }
body.admin-app .back-link:hover { border-color: #0b4ea2; background: #f4f8ff; }
body.admin-app .data { background: #fff; border: 1px solid #e6edf5; border-radius: 14px; box-shadow: 0 8px 22px rgba(16, 40, 80, .04); }
body.admin-app .data th { background: #f7fafc; color: #4d6578; font-size: .82rem; font-weight: 700; }
body.admin-app .content > .card, body.admin-app .content form.card { box-shadow: 0 10px 24px rgba(16, 40, 80, .05); }
body.admin-app #views-chart { display: block; width: 100%; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; box-shadow: 0 10px 24px rgba(16, 40, 80, .05); }
body.admin-app #views-chart[hidden] { display: none; }
body.admin-app .filters.card { align-items: end; margin-bottom: 12px; }
body.admin-app .filters.card label { flex: 1; min-width: 180px; }
body.admin-app .news-filters { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .9fr) auto; gap: 12px; align-items: end; margin: 0 0 14px; padding: 14px 16px; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; box-shadow: 0 10px 24px rgba(16, 40, 80, .05); }
body.admin-app .news-filters label { min-width: 0; gap: 6px; color: #5d7386; font-size: .75rem; font-weight: 600; }
body.admin-app .news-filters input, body.admin-app .news-filters select { height: 42px; border: 1px solid #d7e1ec; border-radius: 12px; background: #f7fafc; color: #16324f; font-weight: 500; }
body.admin-app .news-filters input:focus, body.admin-app .news-filters select:focus { background: #fff; border-color: #0b4ea2; outline: none; box-shadow: 0 0 0 3px rgba(11, 78, 162, .12); }
body.admin-app .news-filters .btn { height: 42px; padding: 0 22px; border-radius: 12px; align-self: end; align-items: center; justify-content: center; line-height: 1; white-space: nowrap; }
body.admin-app .news-count { margin: 0 0 8px; }
body.admin-app .pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; }
body.admin-app .pager a, body.admin-app .pager span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e1e8f0; border-radius: 10px; background: #fff; color: #16324f; text-decoration: none; font-size: .82rem; font-weight: 600; }
body.admin-app .pager a:hover { border-color: #0b4ea2; color: #0b4ea2; }
body.admin-app .pager .is-on { background: #0b4ea2; border-color: #0b4ea2; color: #fff; }
body.admin-app .pages-table + .pager { margin-top: 14px; }
body.admin-app .news-thumb { display: block; width: 84px; height: 52px; object-fit: cover; border-radius: 8px; background: #eef3f8; }
body.admin-app .news-table { font-size: .82rem; }
body.admin-app .news-table th { font-size: .72rem; font-weight: 600; }
body.admin-app .news-table td { padding: 8px 10px; }
body.admin-app .news-table a { font-weight: 500; text-decoration: none; }
body.admin-app .news-table a:hover { text-decoration: none; }
body.admin-app td.news-actions { white-space: nowrap; vertical-align: middle; text-align: right; }
body.admin-app .news-actions form { display: inline-flex; margin: 0 0 0 6px; vertical-align: middle; }
body.admin-app .news-actions a,
body.admin-app .news-actions button { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid #d5e3f4; border-radius: 999px; background: #f3f7ff; color: #0b4ea2; font: inherit; font-size: .75rem; font-weight: 700; text-decoration: none; cursor: pointer; vertical-align: middle; }
body.admin-app .news-actions a:hover { background: #0b4ea2; border-color: #0b4ea2; color: #fff; }
body.admin-app .news-actions .link-delete { background: #fff5f5; border-color: #f0d0d0; color: #9f2d2d; }
body.admin-app .news-actions .link-delete:hover { background: #9f2d2d; border-color: #9f2d2d; color: #fff; }
body.admin-app .news-edit { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
body.admin-app .news-side { display: grid; gap: 16px; }
body.admin-app .news-side h2 { margin: 0; font-size: .95rem; font-weight: 700; }
body.admin-app .news-editor { display: grid; gap: 8px; }
body.admin-app .news-editor-caption { color: #5d7386; font-size: .75rem; font-weight: 700; }
body.admin-app .news-body { min-height: 420px; }
body.admin-app .tox-tinymce { border: 1px solid #d5e0ea !important; border-radius: 14px; overflow: hidden; }
body.admin-app .editor-status { margin: 0; color: #8a3040; font-size: .8rem; }
body.admin-app .editor-status:empty { display: none; }
body.admin-app .pages-table td { vertical-align: top; }
body.admin-app .page-menus { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
body.admin-app .page-menus li { color: #16324f; font-size: .82rem; font-weight: 500; line-height: 1.4; }
body.admin-app .page-files h2 { margin: 0; font-size: 1.05rem; }
body.admin-app .page-file-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
body.admin-app .page-file-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e6edf5; border-radius: 12px; background: #f7fafc; }
body.admin-app .page-file-list span { min-width: 0; flex: 1; font-weight: 500; }
body.admin-app .page-file-list a { color: #0b4ea2; font-weight: 700; text-decoration: none; white-space: nowrap; }
body.admin-app .page-file-list form { margin: 0; }
body.admin-app .page-file-list button { height: 30px; padding: 0 12px; border: 1px solid #f0d0d0; border-radius: 999px; background: #fff5f5; color: #9f2d2d; font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
body.admin-app .cover-preview { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; background: #eef3f8; }
body.admin-app .cover-preview[hidden] { display: none; }
body.admin-app .slide-head { flex-direction: column; align-items: flex-start; gap: 4px; }
body.admin-app .slide-head p { margin: 0; }
body.admin-app .slide-composer { display: grid; gap: 14px; }
body.admin-app .slide-composer h2 { margin: 0; font-size: 1.05rem; }
body.admin-app .slide-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); gap: 12px 14px; align-items: end; }
body.admin-app .slide-fields .wide { grid-column: 1 / -1; }
body.admin-app .slide-show { align-self: center; }
body.admin-app .slide-board { display: grid; gap: 12px; margin-top: 16px; }
body.admin-app .slide-card { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; gap: 16px; align-items: start; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; padding: 14px; box-shadow: 0 10px 24px rgba(16, 40, 80, .05); }
body.admin-app .slide-card figure { position: relative; margin: 0; }
body.admin-app .slide-card img { display: block; width: 100%; height: 132px; object-fit: cover; border-radius: 12px; background: #eef3f8; }
body.admin-app .slide-card figure span { position: absolute; top: 8px; left: 8px; min-width: 26px; height: 26px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: #0b4ea2; color: #fff; font-size: .78rem; font-weight: 700; }
body.admin-app .slide-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
body.admin-app .slide-edit label:first-of-type,
body.admin-app .slide-toolbar { grid-column: 1 / -1; }
body.admin-app .slide-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.admin-app .slide-toolbar .choice { margin: 0; }
body.admin-app .slide-tools { display: flex; flex-direction: column; gap: 6px; }
body.admin-app .slide-tools form { margin: 0; }
body.admin-app .slide-tools button { width: 64px; height: 32px; border: 1px solid #d7e1ec; border-radius: 999px; background: #fff; color: #0b4ea2; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
body.admin-app .slide-tools button:disabled { color: #b7c3d1; border-color: #eef2f6; cursor: default; }
body.admin-app .slide-tools .slide-delete { background: #fff5f5; border-color: #f0d0d0; color: #9f2d2d; }
body.admin-app .eservice-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; padding: 14px; }
body.admin-app .eservice-edit { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr) auto auto; gap: 10px; align-items: end; }
body.admin-app .eservice-edit .icon-field,
body.admin-app .link-field { grid-column: 1 / -1; }
body.admin-app .link-field { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); gap: 10px; }
body.admin-app .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
body.admin-app .icon-pick-label { display: block; margin-bottom: 6px; font-weight: 600; }
body.admin-app .icon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
body.admin-app .icon-choice { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #d7e1ec; border-radius: 12px; background: #f4f0ff; color: #5a468f; cursor: pointer; }
body.admin-app .icon-choice input { position: absolute; opacity: 0; }
body.admin-app .icon-choice .icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.9; fill: none; }
body.admin-app .icon-choice:has(input:checked) { background: #0b4ea2; border-color: #0b4ea2; color: #fff; }
body.admin-app .icon-custom { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; border: 1px solid #d7e1ec; background: #fff; }
body.admin-app .eservice-edit .choice { margin: 0 0 8px; }
body.admin-app .eservice-requests { margin-top: 22px; }
body.admin-app .leader-admin { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; padding: 14px; }
body.admin-app .leader-admin img, body.admin-app .leader-admin-empty { width: 180px; height: 220px; object-fit: cover; object-position: center top; border-radius: 12px; background: #1f6fbe; }
body.admin-app .leader-admin-empty { display: grid; place-items: center; color: #fff; font-weight: 700; }
body.admin-app .leader-admin-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
body.admin-app .leader-admin-fields .btn { justify-self: start; height: 42px; padding: 0 22px; }
body.admin-app .btn-muted { background: #f4f7fb; color: #8a3040; }
@media (max-width: 1100px) {
  body.admin-app .stat-grid, body.admin-app .dash-board { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body.admin-app .shell { grid-template-columns: 1fr; }
  body.admin-app .sidebar { position: sticky; top: 0; z-index: 3; height: auto; max-height: 48vh; }
  body.admin-app .side-nav { flex-direction: column; overflow: visible; }
  body.admin-app .topbar { height: auto; padding: 12px 16px; align-items: flex-start; gap: 10px; }
  body.admin-app .top-actions { flex-wrap: wrap; justify-content: flex-end; }
  body.admin-app .who { display: none; }
  body.admin-app .content { padding: 18px 16px 32px; }
  body.admin-app .stat-grid, body.admin-app .dash-board, body.admin-app .donut-wrap, body.admin-app .slide-card, body.admin-app .slide-fields, body.admin-app .slide-edit, body.admin-app .news-edit { grid-template-columns: 1fr; }
  body.admin-app .slide-card img { height: 180px; }
  body.admin-app .slide-tools { flex-direction: row; }
  body.admin-app .eservice-row, body.admin-app .eservice-edit, body.admin-app .link-field, body.admin-app .leader-admin, body.admin-app .leader-admin-fields { grid-template-columns: 1fr; }
  body.admin-app .leader-admin img, body.admin-app .leader-admin-empty { width: 100%; height: 240px; }
  body.admin-app .dash-head { align-items: flex-start; flex-direction: column; }
  body.admin-app .news-filters { grid-template-columns: 1fr 1fr; }
  body.admin-app .news-filters .filter-q, body.admin-app .news-filters .btn { grid-column: 1 / -1; }
  body.admin-app .page-head-tools, body.admin-app .page-search { width: 100%; }
  body.admin-app .page-search { flex-wrap: wrap; }
  body.admin-app .page-search input { width: 100%; }
}
body.admin-app .ita-head { display: block; }
body.admin-app .ita-head p { margin: 4px 0 0; }
body.admin-app .ita-create { display: flex; align-items: end; gap: 10px; margin: 0 0 14px; padding: 14px; border: 1px solid #e4e9f1; border-radius: 14px; background: #fff; }
body.admin-app .ita-create label { flex: 1; display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #3d5870; }
body.admin-app .ita-create .btn { height: 42px; padding: 0 18px; }
body.admin-app .ita-tree { display: grid; gap: 10px; }
body.admin-app .ita-node, body.admin-app .ita-add { border: 1px solid #e4e9f1; border-radius: 14px; background: #fff; }
body.admin-app .ita-node.indicator { border-left: 4px solid #0b4ea2; }
body.admin-app .ita-node.sub { border-left: 4px solid #5b8fd4; }
body.admin-app .ita-node > summary, body.admin-app .ita-add > summary { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none; }
body.admin-app .ita-node > summary::-webkit-details-marker, body.admin-app .ita-add > summary::-webkit-details-marker { display: none; }
body.admin-app .ita-node > summary::before, body.admin-app .ita-add > summary::before { content: ""; width: 7px; height: 7px; margin-right: 2px; border-right: 2px solid #6b7c90; border-bottom: 2px solid #6b7c90; transform: rotate(-45deg); flex: none; }
body.admin-app .ita-node[open] > summary::before, body.admin-app .ita-add[open] > summary::before { transform: rotate(45deg) translateY(-2px); }
body.admin-app .ita-badge { flex: none; padding: 2px 8px; border-radius: 999px; background: #e8f1fb; color: #0b4ea2; font-size: 11px; font-weight: 700; }
body.admin-app .ita-node.sub .ita-badge { background: #eef6ff; color: #2d6399; }
body.admin-app .ita-node.topic .ita-badge, body.admin-app .ita-node.item .ita-badge { background: #f3f6f9; color: #4d6578; }
body.admin-app .ita-name { flex: 1; min-width: 0; color: #16324f; font-weight: 700; line-height: 1.4; }
body.admin-app .ita-chip, body.admin-app .ita-count { flex: none; padding: 2px 8px; border-radius: 999px; background: #f4f7fb; color: #5d7386; font-size: 11px; font-weight: 700; }
body.admin-app .ita-tools { display: inline-flex; gap: 6px; margin-left: auto; }
body.admin-app .ita-tools form { display: inline-flex; margin: 0; }
body.admin-app .ita-tools button { height: 28px; padding: 0 10px; border: 1px solid #d5e3f4; border-radius: 999px; background: #f3f7ff; color: #0b4ea2; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
body.admin-app .ita-tools button:disabled { opacity: .4; cursor: default; }
body.admin-app .ita-tools .link-delete { background: #fff5f5; border-color: #f0d0d0; color: #9f2d2d; }
body.admin-app .ita-body { display: grid; gap: 10px; padding: 0 12px 12px 28px; }
body.admin-app .ita-kids { display: grid; gap: 8px; }
body.admin-app .ita-edit { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: #f7fafc; }
body.admin-app .ita-edit label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #3d5870; }
body.admin-app .ita-edit .btn { justify-self: start; height: 36px; padding: 0 16px; }
body.admin-app .ita-edit a { font-size: 13px; }
body.admin-app .ita-add { background: #fbfcfe; border-style: dashed; }
body.admin-app .ita-add > summary { color: #0b4ea2; font-weight: 700; }
body.admin-app .ita-add .ita-edit { margin: 0 12px 12px 28px; }
body.admin-app .ita-photos { display: flex; flex-wrap: wrap; gap: 10px; }
body.admin-app .ita-photos span { display: grid; gap: 6px; width: 96px; }
body.admin-app .ita-photos img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
body.admin-app .ita-photos .link-delete { height: 28px; border: 1px solid #f0d0d0; border-radius: 999px; background: #fff5f5; color: #9f2d2d; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
@media (max-width: 720px) {
  body.admin-app .ita-create { flex-direction: column; align-items: stretch; }
  body.admin-app .ita-node > summary { flex-wrap: wrap; }
  body.admin-app .ita-tools { width: 100%; margin-left: 0; }
}
