/* Doctor Sewa – shared styles. Plain CSS, no build step (works on shared hosting).
   Colours come from the Doctorsewa.in logo. */
:root {
  --ink: #13204A;          /* text, footer */
  --navy: #26287F;         /* headings, logo indigo */
  --primary: #0A5CB8;      /* buttons, links */
  --primary-dark: #084A94;
  --sky: #0084D8;          /* decoration only */
  --tint: #EAF3FC;
  --red: #D9161F;          /* offers, lab tests, call-back */
  --red-dark: #B51118;
  --red-ink: #A3121A;
  --red-tint: #FDECEC;
  --green: #0E7A44;
  --green-tint: #E6F5EC;
  --violet-tint: #EEEDFA;
  --amber-ink: #7A4B00;
  --amber-tint: #FFF4DC;
  --muted: #55627A;
  --body: #3E4C66;
  --ground: #F5F8FC;
  --line: #E1E7F0;
  --line-strong: #C9D3E1;
  --row: #EEF2F8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 32, 74, .10);
  --font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Poppins', 'Nunito Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--ground); font-size: 15px; line-height: 1.5; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.display { font-family: var(--display); font-weight: 700; color: var(--navy); }
/* Page width: grows with the screen up to 1600px, with side space that scales too. */
.container { max-width: 1600px; margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 56px); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hindi { font-family: 'Noto Sans Devanagari', sans-serif; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1.5px solid transparent; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--tint); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); font-weight: 700; }
.btn-ghost:hover { background: var(--ground); color: var(--ink); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--tint); }
.btn-danger { background: #fff; color: var(--red-ink); border-color: #F0B9BC; }
.btn-danger:hover { background: var(--red-tint); color: var(--red-ink); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; }
.textarea { min-height: 90px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-grid .span-all { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.check-card { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; color: var(--ink); background: #fff; }
.error { color: var(--red-ink); font-size: 13px; font-weight: 700; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
.hint { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 700; }
.alert-success { background: var(--green-tint); color: var(--green); }
.alert-error { background: var(--red-tint); color: var(--red-ink); }
.alert-info { background: var(--amber-tint); color: var(--amber-ink); }

/* Cards, chips, tables */
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card + .card { margin-top: 20px; }
.card-title { font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--primary-dark); white-space: nowrap; }
.chip-accent, .chip-red { background: var(--red-tint); color: var(--red-ink); }
.chip-muted { background: var(--row); color: var(--body); }
.chip-danger { background: var(--red-tint); color: var(--red-ink); }
.chip-info { background: var(--violet-tint); color: var(--navy); }
.chip-green { background: var(--green-tint); color: var(--green); }
.chip-amber { background: var(--amber-tint); color: var(--amber-ink); }
.chip-solid { background: var(--primary); color: #fff; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.table th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 800; padding: 10px; border-bottom: 1px solid var(--line); background: var(--ground); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--row); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.actions form { margin: 0; }
.empty { text-align: center; color: var(--muted); padding: 32px 12px; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 20px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 150px; height: 150px; font-size: 48px; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.avatar-md { width: 112px; height: 112px; font-size: 34px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.avatar-sq { width: 92px; height: 92px; border-radius: 16px; font-size: 28px; }
.avatar-sm { width: 40px; height: 40px; font-size: 14px; }

/* Pagination (Laravel bootstrap-5 markup) */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 20px 0 0; flex-wrap: wrap; }
.page-link { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; }
.page-item.active .page-link { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-item.disabled .page-link { color: #9AA6BA; }
nav .small.text-muted, nav .d-sm-none { display: none; }

/* ---------- Public site ---------- */
.site-body { min-height: 100vh; display: flex; flex-direction: column; }
.site-body > main { flex: 1; }
.topstrip { background: var(--ink); color: #D5DDEE; font-size: 13px; }
.topstrip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 8px; padding-bottom: 8px; }
.topstrip a { color: #fff; font-weight: 800; text-decoration: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--navy); }
.brand-name small { font-family: 'Noto Sans Devanagari', sans-serif; font-size: 13px; color: var(--red); font-weight: 600; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; font-weight: 800; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 8px; }
.site-nav a:hover { background: var(--ground); }
.site-nav a.active { color: var(--primary); background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions form { margin: 0; }
.header-actions .plain { padding: 10px 12px; font-weight: 800; color: var(--ink); text-decoration: none; }

/* Home hero: slider + enquiry */
.hero { background: var(--tint); }
.hero > .container { padding-top: 24px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.slider { flex: 999 1 600px; min-width: 0; position: relative; border-radius: 22px; overflow: hidden; min-height: 440px; box-shadow: 0 12px 32px rgba(19,32,74,.14); background: var(--primary); }
.slides { display: flex; height: 100%; transition: transform .6s ease; }
.slide { flex: 0 0 100%; min-height: 440px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 44px 76px 72px; color: #fff; text-decoration: none; }
.slide.theme-blue { background: var(--primary); }
.slide.theme-red { background: var(--red); }
.slide.theme-navy { background: var(--navy); }
.slide.theme-sky { background: #0569AE; }
.slide-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.slide-badge { align-self: flex-start; background: rgba(255,255,255,.16); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.slide.theme-red .slide-badge { background: #fff; color: var(--red-ink); }
.slide h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 700; }
.slide p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); }
.slide .btn { align-self: flex-start; margin-top: 6px; }
.slide.theme-red .btn-white { color: var(--red-ink); }
.slide.theme-navy .btn-white { color: var(--navy); }
.slide-art { flex: 0 1 250px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.slide-art img { width: 100%; height: 100%; object-fit: cover; }
.slide-image { padding: 0; display: block; }
.slide-image picture, .slide-image img { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.slider-btn { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s; }
.slider-dots button[aria-current="true"] { width: 30px; background: #fff; }

.enquiry { flex: 1 1 340px; min-width: 0; background: #fff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.enquiry h2 { font-family: var(--display); font-size: 21px; font-weight: 700; color: var(--navy); }
.enquiry .input, .enquiry .select { min-height: 44px; }
.enquiry .textarea { min-height: 64px; }
.enquiry .row { display: flex; gap: 10px; flex-wrap: wrap; }
.enquiry .row > * { flex: 1 1 130px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--body); }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); flex: none; }
.enquiry-done { background: var(--green-tint); color: var(--green); border-radius: 14px; padding: 18px; font-weight: 800; text-align: center; }

.search-title { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--navy); }
.searchbar { background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: stretch; overflow: hidden; }
.searchbar label { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 60px; }
.searchbar .area { flex: 1 1 200px; border-right: 1px solid var(--line); }
.searchbar .query { flex: 3 1 300px; }
.searchbar select, .searchbar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; min-height: 56px; min-width: 0; }
.searchbar select { font-weight: 800; }
.searchbar button { flex: 0 0 auto; border: 0; background: var(--primary); color: #fff; font: inherit; font-size: 16px; font-weight: 800; padding: 0 30px; min-height: 60px; cursor: pointer; }
.searchbar button:hover { background: var(--primary-dark); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.chip-link { background: #fff; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.chip-link:hover, .chip-link.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.services { margin-top: -32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--ink); display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 6px 18px rgba(19,32,74,.06); }
.service:hover { border-color: var(--primary); color: var(--ink); }
.service strong { font-size: 17px; display: block; }
.service span.d { color: var(--muted); font-size: 14px; }
.icon-box { flex: none; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.bg-blue { background: var(--tint); color: var(--primary); }
.bg-red { background: var(--red-tint); color: var(--red); }
.bg-green { background: var(--green-tint); color: var(--green); }
.bg-violet { background: var(--violet-tint); color: var(--navy); }

.section { padding-top: 56px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.section-head h2 { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--navy); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-head a { font-weight: 800; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 10px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.spec:hover { border-color: var(--primary); color: var(--ink); }
.spec .circle { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.spec strong { font-size: 14px; }
.spec small { color: var(--muted); font-size: 12px; font-weight: 700; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 18px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; gap: 18px; flex-wrap: wrap; }
.doc-card .info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.doc-name { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--primary); text-decoration: none; }
.doc-card .foot { flex: 1 1 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed var(--line); padding-top: 14px; }
.pin { display: flex; gap: 6px; align-items: center; font-size: 14px; }

.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.band h2 { font-family: var(--display); font-size: 30px; font-weight: 700; }
.band p { margin: 10px 0 24px; color: #D7DAF5; font-size: 16px; line-height: 1.6; max-width: 560px; }
.band-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.band-steps div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 16px; }
.band-steps b { display: block; font-family: var(--display); font-size: 22px; color: #FF8A8F; }
.lab-promo { background: var(--red-tint); border-radius: 24px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.lab-promo h2 { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--navy); }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; padding: 56px 0; }
.why > div { display: flex; gap: 14px; align-items: flex-start; }
.why .icon-box { width: 48px; height: 48px; border-radius: 50%; }
.why strong { font-size: 16px; }

.site-footer { background: var(--ink); color: #C5CEE2; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-top: 44px; padding-bottom: 24px; font-size: 14px; }
.footer-cols nav, .footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols strong { color: #fff; }
.footer-cols a { color: #C5CEE2; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand img { width: 48px; height: 48px; }
.footer-bottom { border-top: 1px solid #2A3966; padding-top: 16px; padding-bottom: 28px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #128C4B; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 30; }
.whatsapp-fab:hover { color: #fff; background: #0E7A44; }

/* Results page */
.search-band { background: var(--primary); }
.search-band form { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; padding-bottom: 16px; }
.search-band .select, .search-band .input { border: 0; min-height: 48px; }
.filter-bar { background: #fff; border-bottom: 1px solid var(--line); }
.filter-bar form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.pill-select { min-height: 40px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 14px; font: inherit; font-weight: 700; color: var(--ink); background: #fff; }
.pill-toggle { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 14px; font-weight: 800; color: var(--ink); background: #fff; cursor: pointer; }
.pill-toggle:has(input:checked) { border-color: var(--primary); background: var(--tint); color: var(--primary); }
.pill-toggle input { accent-color: var(--primary); }
.result { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-wrap: wrap; gap: 20px; }
.result .info { flex: 2 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.result .cta { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; justify-content: center; border-left: 1px solid var(--line); padding-left: 20px; }
.results { display: flex; flex-direction: column; gap: 16px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: 20px 0 12px; }

.two-col { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.two-col > .main { flex: 999 1 600px; min-width: 0; }
.two-col > .side { flex: 1 1 340px; min-width: 0; }
.profile-head { display: flex; flex-wrap: wrap; gap: 24px; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); font-weight: 800; margin: 18px 0; }
.tabs a { padding: 12px 16px; color: var(--muted); text-decoration: none; }
.tabs a.on { color: var(--primary); border-bottom: 3px solid var(--primary); margin-bottom: -2px; }
.clinic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.clinic-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.booking-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.booking-box .head { background: var(--primary); color: #fff; padding: 18px 22px; }
.booking-box .head h2 { font-family: var(--display); font-size: 20px; font-weight: 700; }
.booking-box .head span { font-size: 14px; color: #D6E6FA; }
.booking-box .body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }

.auth-wrap { min-height: calc(100vh - 300px); display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.auth-card h1 { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--navy); }
.otp-input { letter-spacing: .4em; font-size: 22px !important; text-align: center; font-weight: 800 !important; }

/* ---------- Staff panels ---------- */
.staff { background: var(--ground); display: flex; flex-wrap: wrap; min-height: 100vh; }
.sidebar { flex: 1 1 250px; max-width: 100%; background: var(--ink); color: #C5CEE2; padding: 18px 14px; display: flex; flex-direction: column; gap: 18px; }
.sidebar .brand { padding: 0 6px; }
.sidebar .brand img { width: 44px; height: 44px; }
.sidebar .brand span { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff; }
.sidebar .brand small { font-family: var(--font); font-size: 12px; color: #9DAACB; font-weight: 700; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-title { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #8EA0C6; padding: 0 10px 6px; }
.side-link { color: #C5CEE2; text-decoration: none; padding: 10px; border-radius: 8px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.active { background: var(--primary); color: #fff; }
.side-link.soon { opacity: .55; pointer-events: none; }
.side-badge { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.staff-main { flex: 999 1 640px; min-width: 0; padding: 24px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.page-head h1 { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--navy); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: 14px; padding: 16px; }
.stat:nth-child(5n+2) { border-top-color: var(--green); }
.stat:nth-child(5n+3) { border-top-color: var(--red); }
.stat:nth-child(5n+4) { border-top-color: var(--navy); }
.stat:nth-child(5n+5) { border-top-color: var(--sky); }
.stat .label { font-size: 13px; font-weight: 800; color: var(--muted); }
.stat .value { font-family: var(--display); font-size: 28px; font-weight: 700; margin-top: 4px; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--primary); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
.filters .input, .filters .select { min-height: 42px; width: auto; }
.status-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.status-tabs a { text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 800; font-size: 13px; background: #fff; }
.status-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.banner-thumb { width: 160px; height: 64px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 800; overflow: hidden; text-align: center; padding: 6px; }
.banner-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .site-header { position: static; }
  .site-nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .site-nav a { white-space: nowrap; }
  .header-actions { margin-left: auto; }
  .header-actions .plain { display: none; }
  .slider, .slide, .slide-image img { min-height: 380px; }
  .slide { padding: 32px 24px 64px; }
  .slide-art { display: none; }
  .slider-btn { display: none; }
  .doc-grid { grid-template-columns: 1fr; }
  .result .cta { border-left: 0; padding-left: 0; }
  .band { padding: 28px 22px; }
  .staff-main { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides { transition: none; }
}