:root {
    --bg: #f7faff;
    --surface: #ffffff;
    --surface-alt: #f0f5fb;
    --border: #e5edf6;
    --border-strong: #cddced;
    --text: #1e2a3e;
    --muted: #5f7391;
    --primary: #1e88e5;
    --primary-dark: #0a5c9e;
    --success: #2b6e3c;
    --success-bg: #e8f5ec;
    --warning: #b8680e;
    --warning-bg: #fff4dd;
    --danger: #b91c1c;
    --danger-bg: #feeaea;
    --shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
    --shadow-soft: 0 8px 24px rgba(16, 42, 67, 0.05);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

#companyResultsSection,
#numbersSection,
#resultPanel {
    scroll-margin-top: 96px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.page-home {
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 237, 246, 0.95);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.brand__logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.domain-badge,
.status-badge,
.chip,
.small-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

.domain-badge {
    color: var(--muted);
    background: var(--surface-alt);
}

.status-badge {
    color: var(--success);
    background: var(--success-bg);
}

.small-badge {
    background: var(--surface-alt);
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.homepage-number-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.number-card--simple {
    gap: 10px;
    min-height: 100%;
    padding: 22px;
}

.number-card--simple .number-card__top {
    align-items: flex-start;
    gap: 12px;
}

.number-card--simple .number-card__title {
    font-size: 16px;
    margin-bottom: 2px;
}

.number-card--simple .number-card__desc,
.number-card__meta {
    font-size: 13px;
    color: var(--muted);
}

.number-card--simple .number-card__number {
    font-size: 24px;
    line-height: 1.15;
    word-break: break-word;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    color: #2c3e50;
    font-weight: 600;
    transition: 0.2s ease;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: #eef6ff;
    color: var(--primary);
}

.btn,
.btn-outline,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 12px 24px rgba(30, 136, 229, 0.18);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: #eef6ff;
}

.btn-ghost {
    background: #eef3f8;
    color: #2c3e50;
}

.btn-ghost:hover {
    background: #e0e8f1;
}

.hero {
    padding: 72px 0 52px;
}

.hero--home {
    background: linear-gradient(135deg, #f5faff 0%, #ffffff 55%, #eef6ff 100%);
    border-bottom: 1px solid var(--border);
}

.hero--home .search-shell {
    max-width: 1080px;
}

.search-shell--home {
    padding: 22px;
    border-radius: 36px;
}

.search-row--home {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
}

.input-shell--home {
    min-height: 62px;
}

.hero--compact {
    padding: 48px 0 36px;
}

.hero__content {
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #edf5ff;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.hero p {
    max-width: 780px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.search-shell {
    margin: 34px auto 22px;
    max-width: 980px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 32px;
    padding: 18px;
}

.search-tabs {
    display: inline-flex;
    gap: 6px;
    background: #f2f6fb;
    border-radius: 999px;
    padding: 6px;
    margin-bottom: 14px;
}

.search-tab {
    border: none;
    background: transparent;
    color: #47627c;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.search-tab.is-active {
    background: var(--primary);
    color: white;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 0 18px;
    min-height: 58px;
    background: white;
}

.input-shell i {
    color: #8aa0bc;
}

.input-shell input,
.input-shell select,
.field input,
.field select,
.field textarea {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
}

.quick-links,
.inline-actions,
.filter-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-link,
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fbff;
    border: 1px solid var(--border);
    color: #24445f;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s ease;
}

.quick-link:hover,
.filter-pill:hover,
.filter-pill.is-active {
    background: #edf5ff;
    border-color: #cfe2fb;
    color: var(--primary-dark);
}

.section {
    padding: 56px 0;
}

.section--muted {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.section--compact {
    padding: 32px 0 56px;
}

.section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.section__title {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section__desc {
    max-width: 720px;
    color: var(--muted);
}

.stats-grid,
.cards-grid,
.company-grid,
.support-grid,
.detail-grid,
.form-layout,
.dual-grid,
.numbers-grid {
    display: grid;
    gap: 22px;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.panel,
.info-card,
.number-card,
.company-card,
.sidebar-card,
.support-card,
.detail-panel,
.form-card,
.success-card,
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 28px 24px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 34px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 600;
}

.dual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.detail-panel,
.form-card,
.result-card,
.sidebar-card,
.support-card,
.success-card,
.company-card,
.info-card,
.number-card {
    padding: 28px;
}

.panel__header,
.card-title,
.sidebar-card h3,
.support-card h3,
.form-card h2,
.result-card h2,
.company-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 21px;
}

.list,
.meta-list,
.contact-list,
.timeline,
.link-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item,
.timeline-item,
.contact-row,
.number-row,
.link-list a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.link-list a {
    padding: 12px 14px;
    border-radius: 16px;
    transition: 0.2s ease;
}

.link-list a:hover {
    background: #f4f8fc;
}

.rank-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.rank-item:last-child,
.company-meta:last-child,
.contact-row:last-child,
.timeline-item:last-child {
    border-bottom: none;
}

.rank-index {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #edf5ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.rank-main strong,
.company-row__title,
.number-card__title,
.contact-title {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.rank-main span,
.number-card__desc,
.company-row__meta,
.muted,
.text-muted {
    color: var(--muted);
}

.rank-tag,
.update-pill,
.vote-pill,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: #315476;
    font-size: 12px;
    font-weight: 700;
}

.pill-grid,
.feature-list,
.tag-list,
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-card,
.feature-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid var(--border);
    font-weight: 700;
    color: #24445f;
    transition: 0.2s ease;
}

.pill-card:hover,
.feature-chip:hover {
    background: #edf5ff;
    border-color: #cfe2fb;
    color: var(--primary-dark);
}

.cards-grid,
.company-grid,
.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.number-card,
.company-card,
.support-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.number-card__top,
.company-row,
.result-header,
.detail-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.number-card__number,
.contact-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-dark);
}

.contact-value.is-email {
    font-size: 22px;
    word-break: break-all;
}

.vote-row,
.contact-actions,
.action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.vote-btn {
    border: none;
    border-radius: 999px;
    padding: 9px 14px;
    background: #eef3f8;
    color: #37506a;
    font-weight: 700;
}

.vote-btn:hover {
    background: #e1ebf4;
}

.vote-btn.is-positive:hover {
    background: #e4f4e8;
    color: var(--success);
}

.vote-btn.is-negative:hover {
    background: #fdecec;
    color: var(--danger);
}

.info-pair {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.info-pair:last-child {
    border-bottom: none;
}

.info-pair__label {
    color: var(--muted);
    font-weight: 700;
}

.breadcrumb {
    padding-top: 26px;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text);
    font-weight: 600;
}

.page-title {
    margin: 18px 0 28px;
}

.page-title h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 10px;
}

.page-title p {
    color: var(--muted);
    max-width: 760px;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.message--info {
    background: #edf5ff;
    color: #184d84;
    border-color: #d4e6fa;
}

.message--success {
    background: var(--success-bg);
    color: var(--success);
    border-color: #cae6d2;
}

.message--warning {
    background: var(--warning-bg);
    color: var(--warning);
    border-color: #ffe3aa;
}

.message--danger {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: #f8cbcb;
}

.form-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
    align-items: start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 700;
}

.field label span {
    color: var(--danger);
}

.field input,
.field select,
.field textarea {
    min-height: 52px;
    border-radius: 18px;
    border: 1.5px solid var(--border);
    padding: 14px 16px;
    background: #fff;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.upload-box.is-active {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.upload-box.is-invalid {
    border-color: #ef7a7a;
    background: #fff9f9;
}

.field-error {
    color: var(--danger);
    font-size: 13px;
    min-height: 18px;
}

.help-text {
    color: var(--muted);
    font-size: 13px;
}

.upload-box {
    border: 2px dashed var(--border-strong);
    border-radius: 22px;
    padding: 24px 18px;
    text-align: center;
    background: #fbfdff;
    transition: 0.2s ease;
}

.upload-box:hover {
    border-color: var(--primary);
    background: #f2f8ff;
}

.plan-grid {
    display: grid;
    gap: 14px;
}

.plan-card {
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 18px;
    cursor: pointer;
    transition: 0.2s ease;
}

.plan-card.is-selected {
    border-color: var(--primary);
    background: #f3f8ff;
    box-shadow: 0 10px 24px rgba(30, 136, 229, 0.12);
}

.plan-card strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.success-card {
    margin-top: 18px;
}

.timeline-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.timeline-index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #edf5ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 34px;
}

.timeline-body strong {
    display: block;
    margin-bottom: 4px;
}

.detail-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
    align-items: start;
}

.classroom-toolbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.article-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    align-items: start;
}

.article-panel,
.article-sidebar {
    min-width: 0;
}

.article-cover {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.article-meta-tags {
    margin-bottom: 18px;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    word-break: break-word;
}

.article-body p,
.article-body br {
    max-width: 100%;
}

.detail-hero {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 26px;
}

.detail-logo {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: #edf5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 38px;
}

.detail-head h1 {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
    margin-bottom: 10px;
}

.contact-list {
    gap: 18px;
}

.contact-row {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fbfdff;
}

.contact-meta,
.meta-row,
.meta-list {
    color: var(--muted);
    font-size: 14px;
}

.result-card .meta-row,
.result-card .tag-list {
    margin-top: 10px;
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
}

.risk-safe {
    background: var(--success-bg);
    color: var(--success);
}

.risk-warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.risk-danger {
    background: var(--danger-bg);
    color: var(--danger);
}

.empty-state {
    text-align: center;
    padding: 42px 24px;
    border: 1px dashed var(--border-strong);
    border-radius: 28px;
    color: var(--muted);
    background: #fbfdff;
}

.empty-state i {
    font-size: 44px;
    color: #8da6c4;
    margin-bottom: 14px;
}

.support-card p,
.info-card p,
.sidebar-card p {
    color: var(--muted);
}

.support-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #edf5ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.footer {
    margin-top: 56px;
    background: #0f1a2a;
    color: #d7e4f7;
    padding: 48px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 26px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: #c2d2e8;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(215, 228, 247, 0.12);
    font-size: 13px;
    color: #9fb3cf;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 160px;
    color: var(--primary);
    font-weight: 700;
}

.center {
    text-align: center;
}

.admin-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-login-card {
    max-width: 760px;
    margin: 0 auto;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-tab {
    border: none;
    border-radius: 999px;
    background: #eef3f8;
    color: #36516f;
    padding: 10px 16px;
    font-weight: 700;
}

.admin-tab.is-active {
    background: var(--primary);
    color: #fff;
}

.admin-section {
    display: none;
}

.admin-section.is-active {
    display: block;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    gap: 22px;
}

.admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-filter-bar input,
.admin-filter-bar select {
    min-height: 46px;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    padding: 12px 14px;
    background: #fff;
}

.admin-table-wrap {
    overflow: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    padding: 14px 12px;
    font-size: 14px;
}

.admin-table th {
    color: var(--muted);
    font-size: 13px;
    background: #f8fbff;
    position: sticky;
    top: 0;
}

.admin-action-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

.admin-action-stack select,
.admin-action-stack input {
    min-height: 42px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: 10px 12px;
}

.admin-inline-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 160px;
}

.admin-inline-actions .btn-ghost,
.admin-inline-actions .btn-outline {
    min-height: 38px;
    padding: 0 14px;
    white-space: nowrap;
}

.admin-category-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 88px;
    margin-top: 8px;
    margin-right: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #27557f;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.admin-cell-compact {
    display: block;
    margin-top: 6px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .stats-grid,
    .cards-grid,
    .company-grid,
    .support-grid,
    .numbers-grid,
    .dual-grid,
    .form-layout,
    .detail-grid,
    .article-layout,
    .admin-grid-2,
    .homepage-number-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-layout,
    .detail-grid,
    .article-layout,
    .admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header__inner,
    .detail-hero,
    .number-card__top,
    .company-row,
    .contact-row,
    .result-header,
    .section__heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header__inner {
        padding: 12px 0;
    }

    .brand,
    .brand__meta {
        flex-wrap: wrap;
        white-space: normal;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 10px;
    }

    .site-nav a {
        width: auto;
        justify-content: flex-start;
        padding: 10px 14px;
    }

    .site-nav .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .search-row,
    .search-row--home,
    .stats-grid,
    .cards-grid,
    .company-grid,
    .support-grid,
    .numbers-grid,
    .dual-grid,
    .article-layout,
    .form-grid,
    .footer-grid,
    .admin-filter-bar,
    .homepage-number-grid {
        grid-template-columns: 1fr;
    }

    .search-shell {
        border-radius: 28px;
        padding: 16px;
    }

    .search-tabs {
        width: 100%;
        justify-content: center;
    }

    .input-shell {
        min-height: 54px;
    }

    .hero {
        padding-top: 54px;
    }

    .hero p {
        font-size: 16px;
    }

    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .panel,
    .detail-panel,
    .form-card,
    .result-card,
    .sidebar-card,
    .support-card,
    .success-card,
    .company-card,
    .info-card,
    .number-card {
        padding: 22px;
    }

    .action-row,
    .contact-actions,
    .vote-row {
        width: 100%;
    }

    .action-row > *,
    .contact-actions > *,
    .vote-row > * {
        width: 100%;
        justify-content: center;
    }

    .list-item,
    .timeline-item,
    .link-list a {
        flex-direction: column;
        gap: 8px;
    }

    .info-pair {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .number-card__number,
    .contact-value {
        font-size: 24px;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 42px 0;
    }

    .section--compact {
        padding: 24px 0 42px;
    }

    .hero {
        padding: 40px 0 32px;
    }

    .hero h1,
    .page-title h1,
    .detail-head h1 {
        line-height: 1.2;
    }

    .search-shell,
    .search-shell--home {
        padding: 14px;
        border-radius: 24px;
    }

    .brand__logo {
        font-size: 26px;
    }

    .domain-badge,
    .status-badge,
    .chip,
    .small-badge,
    .filter-pill,
    .quick-link,
    .tag,
    .update-pill,
    .rank-tag {
        font-size: 11px;
        padding: 6px 10px;
    }

    .panel,
    .detail-panel,
    .form-card,
    .result-card,
    .sidebar-card,
    .support-card,
    .success-card,
    .company-card,
    .info-card,
    .number-card,
    .number-card--simple {
        padding: 18px;
        border-radius: 22px;
    }

    .footer {
        padding: 38px 0 22px;
    }

    .footer-bottom {
        line-height: 1.7;
    }
}

.btn-danger-outline {
    background: transparent;
    color: #e74c3c;
    border: 1.5px solid #e74c3c;
    border-radius: 999px;
    padding: 0 14px;
    min-height: 38px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-danger-outline:hover {
    background: #e74c3c;
    color: #fff;
}

.admin-pager {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0 4px;
    flex-wrap: wrap;
}
.admin-pager-info {
    font-size: 13px;
    color: #6b7280;
    margin-right: auto;
}

.admin-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.admin-link:hover { text-decoration: underline; color: var(--primary-dark); }

