:root {
    --bg: #f3efe7;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --text: #1f1a16;
    --muted: #6f665d;
    --accent: #9a3412;
    --accent-strong: #7c2d12;
    --border: #e6ddd2;
    --success: #166534;
    --danger: #b42318;
    --shadow: 0 18px 45px rgba(40, 26, 13, 0.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(154, 52, 18, 0.12), transparent 22%),
        linear-gradient(180deg, #f7f2ea 0%, #efe7da 100%);
}

body.landing-root-shell {
    font-family: "Comic Relief", "Segoe UI", Tahoma, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.app-base-shell,
body.admin-panel-shell,
body.webmaster-panel-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.landing-root-shell,
body.app-base-shell,
body.admin-panel-shell,
body.webmaster-panel-shell {
    background-image: url("landing-back.png");
    background-repeat: repeat;
    background-position: left top;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.topbar {
    padding: 22px 0;
}

body.landing-root-shell > main.container {
    flex: 1 0 auto;
}

body.app-base-shell > main.container,
body.admin-panel-shell > main.container,
body.webmaster-panel-shell > main.container {
    flex: 1 0 auto;
}

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

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-session {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
}

.topbar-session-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 200, 221, 0.34);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(233, 255, 250, 0.94) 100%);
    color: #4f6777;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 10px 22px rgba(0, 200, 221, 0.08);
}

.topbar-session-label {
    color: #5b7080;
}

.topbar-session-username {
    color: #8c4fff;
    font-weight: 700;
}

.brand {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand span {
    color: var(--accent);
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.project-footer {
    margin-top: 34px;
    color: #fff;
}

.project-footer-strip {
    height: 30px;
    background: linear-gradient(180deg, #a1c6ff 0%, #0c8cfd 100%);
    background-repeat: no-repeat;
}

.project-footer-inner {
    background: linear-gradient(180deg, #006780 0%, #003a3d 100%);
    background-repeat: no-repeat;
    text-align: center;
    padding: 14px 16px 18px;
}

.project-footer-copy {
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.2;
}

.project-footer-meta {
    margin-top: 4px;
    display: grid;
    gap: 2px;
    justify-items: center;
}

.project-footer-line {
    display: block;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.35;
}

.project-footer-clock {
    font-variant-numeric: tabular-nums;
}

.muted {
    color: var(--muted);
}

.hero,
.card,
.panel {
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero {
    padding: 38px;
    margin: 18px 0 30px;
}

.hero h1,
.page-title {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.hero p {
    margin: 0;
    max-width: 760px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-actions {
    margin-top: 22px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 24px;
    align-items: stretch;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.landing-hero-copy {
    display: grid;
    align-content: start;
}

.home-hero-copy {
    display: grid;
    align-content: start;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(154, 52, 18, 0.1);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-hero-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 244, 236, 0.96) 100%);
}

.home-range-head {
    display: grid;
    gap: 4px;
}

.home-range-note {
    margin: 0;
}

.home-range-meta {
    display: grid;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

.public-toplist-panel {
    display: grid;
    gap: 22px;
}

.public-toplist-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px 24px;
}

.public-toplist-copy {
    display: grid;
    gap: 8px;
}

.public-toplist-copy h1 {
    margin: 0;
}

.public-toplist-copy p {
    max-width: 760px;
    margin: 0;
}

.public-toplist-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 24px;
    padding-top: 4px;
    border-top: 1px solid rgba(230, 221, 210, 0.78);
}

.public-toplist-range {
    display: grid;
    gap: 12px;
}

.public-toplist-meta {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.public-toplist-note {
    margin: 0;
}

.public-toplist-pagination {
    margin-top: 18px;
}

.public-toplist-table th:nth-child(n + 3),
.public-toplist-table td:nth-child(n + 3) {
    text-align: center;
}

.public-toplist-table td strong {
    font-size: 16px;
    color: #274313;
}

.public-toplist-site {
    display: grid;
    gap: 4px;
    min-width: 0;
    width: min(100%, 280px);
}

.public-toplist-site-title {
    font-weight: 700;
    line-height: 1.35;
    color: #336dff;
    text-decoration: none;
}

.public-toplist-site-title:hover {
    color: #e14545;
    text-decoration: none;
}

.public-toplist-site-url {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.home-summary-grid {
    margin-bottom: 20px;
}

.public-global-notice {
    margin: 18px 0 22px;
    padding: 18px 22px;
    border-color: rgba(180, 94, 28, 0.28);
    background: linear-gradient(180deg, rgba(255, 249, 234, 0.97) 0%, rgba(255, 241, 213, 0.95) 100%);
}

.public-global-notice-copy {
    font-size: 16px;
    line-height: 1.65;
    color: #5d3a10;
}

.legacy-links-panel {
    margin: 0 0 22px;
}

.legacy-links-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.legacy-links-head h2 {
    margin-bottom: 8px;
}

.legacy-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.legacy-link-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(63, 176, 255, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.66);
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.legacy-link-card strong {
    color: #2360ff;
    font-size: 15px;
    line-height: 1.4;
}

.legacy-link-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

.legacy-link-card:hover {
    border-color: rgba(183, 68, 20, 0.38);
    box-shadow: 0 16px 28px rgba(20, 42, 90, 0.08);
    transform: translateY(-1px);
}

.legacy-link-card:hover strong {
    color: var(--accent-strong);
}

.toplist-panel h2 {
    margin-bottom: 8px;
}

.toplist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 16px;
}

.landing-hero-shell {
    position: relative;
    overflow: hidden;
    background: rgba(255, 253, 248, 0.64);
    border-color: rgba(230, 221, 210, 0.82);
}

.landing-hero-shell::after {
    display: none;
}

.landing-hero-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.landing-hero-pill {
    display: inline-grid;
    gap: 4px;
    min-width: 132px;
    padding: 12px 14px;
    border: 1px solid rgba(154, 52, 18, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
}

.landing-hero-pill strong {
    font-size: 22px;
    line-height: 1;
    color: var(--accent-strong);
}

.landing-hero-pill span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.landing-hero-side {
    display: grid;
    gap: 16px;
    align-content: start;
}

.landing-summary-card,
.landing-feature-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.landing-summary-head,
.landing-feature-head {
    display: grid;
    gap: 4px;
}

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

.landing-summary-stat {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.landing-summary-stat span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.landing-summary-stat strong {
    font-size: 26px;
    line-height: 1;
}

.landing-feature-list {
    display: grid;
    gap: 10px;
}

.landing-feature-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.landing-feature-item:hover {
    text-decoration: none;
    border-color: rgba(154, 52, 18, 0.25);
    transform: translateY(-1px);
}

.landing-feature-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 52px;
    border-radius: 14px;
    background: #f0d2bc;
    color: var(--accent-strong);
    font-weight: 800;
}

.landing-feature-copy,
.landing-feature-score {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.landing-feature-copy strong,
.landing-feature-copy small {
    overflow-wrap: anywhere;
}

.landing-feature-copy strong {
    color: var(--text);
    line-height: 1.35;
}

.landing-feature-copy small,
.landing-feature-score span {
    color: var(--muted);
    font-size: 12px;
}

.landing-feature-score {
    justify-items: end;
    text-align: right;
}

.landing-feature-score strong {
    color: var(--accent-strong);
    font-size: 18px;
}

.landing-section {
    display: grid;
    gap: 20px;
}

.landing-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
}

.landing-section-head h2 {
    margin-bottom: 8px;
}

.landing-section-head p {
    margin: 0;
    max-width: 720px;
}

.landing-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.landing-banner-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(112, 198, 76, 0.36);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(246, 255, 236, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
    box-shadow: 0 18px 45px rgba(117, 189, 84, 0.10);
}

.landing-banner-card:hover {
    border-color: rgba(86, 183, 74, 0.62);
    box-shadow: 0 20px 46px rgba(112, 198, 76, 0.16);
}

.landing-banner-link {
    display: block;
    text-decoration: none;
}

.landing-banner-link:hover {
    text-decoration: none;
}

.landing-banner-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 1px solid rgba(189, 225, 163, 0.44);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 252, 244, 0.94) 0%, rgba(244, 255, 235, 0.88) 100%);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.landing-banner-link:hover .landing-banner-media,
.landing-banner-link:focus-visible .landing-banner-media {
    border-color: rgba(73, 175, 78, 0.58);
    background: linear-gradient(180deg, rgba(255, 255, 248, 0.98) 0%, rgba(238, 255, 226, 0.94) 100%);
    box-shadow: 0 0 0 4px rgba(112, 198, 76, 0.16);
}

.landing-banner-card img {
    display: block;
    max-width: 100%;
    max-height: 104px;
    object-fit: contain;
}

.landing-banner-meta {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
}

.landing-banner-meta strong,
.landing-banner-meta span {
    overflow-wrap: anywhere;
}

.landing-banner-meta strong {
    color: #274313;
    line-height: 1.35;
}

.landing-banner-meta span {
    color: #5f7c47;
    font-size: 13px;
}

.landing-ranking-shell {
    overflow-x: auto;
}

.landing-ranking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.landing-ranking-table thead th {
    padding: 0 14px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.landing-ranking-table tbody tr {
    background: rgba(255, 255, 255, 0.62);
}

.landing-ranking-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid rgba(230, 221, 210, 0.78);
}

.landing-ranking-table td {
    padding: 16px 14px;
    vertical-align: middle;
}

.landing-ranking-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px;
    border-radius: 14px;
    background: #f0d2bc;
    color: var(--accent-strong);
    font-weight: 800;
    line-height: 1;
}

.landing-ranking-site {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 240px;
}

.landing-ranking-favicon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.landing-ranking-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.landing-ranking-copy a,
.landing-ranking-copy span {
    overflow-wrap: anywhere;
}

.landing-ranking-copy a {
    font-weight: 700;
    line-height: 1.35;
}

.landing-ranking-copy span {
    color: var(--muted);
    font-size: 13px;
}

.landing-ranking-action {
    white-space: nowrap;
}

.landing-compact-toplist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(92, 187, 132, 0.92);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.52);
}

.landing-compact-toplist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 14px 16px;
    color: #6d2cff;
    background: rgba(255, 255, 255, 0.34);
    border-right: 1px solid rgba(92, 187, 132, 0.82);
    border-bottom: 1px solid rgba(92, 187, 132, 0.82);
}

.landing-compact-toplist-item:nth-child(3n) {
    border-right: 0;
}

.landing-compact-toplist-item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.landing-compact-toplist-item:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(236, 248, 255, 0.88) 100%);
}

.landing-compact-toplist-position {
    flex: 0 0 auto;
    font-weight: 700;
    color: #7d7165;
}

.landing-compact-toplist-favicon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.landing-compact-toplist-title {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
    color: #6d2cff;
    text-decoration: none;
}

.landing-compact-toplist-title:hover {
    color: #ff00c8;
    text-decoration: none;
}

.landing-compact-toplist-item:hover .landing-compact-toplist-title {
    color: #ff00c8;
}

.toplist-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 247, 240, 0.96) 100%);
}

.toplist-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.toplist-card-rank {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-width: 0;
}

.toplist-card-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    padding: 10px;
    border-radius: 16px;
    background: #f0d2bc;
    color: var(--accent-strong);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.toplist-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.15;
}

.toplist-card-rank a {
    overflow-wrap: anywhere;
}

.toplist-card-description {
    margin: 0;
    line-height: 1.6;
}

.toplist-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.toplist-meta {
    display: flex;
    gap: 12px 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.card,
.panel {
    padding: 22px;
}

body.landing-root-shell .panel {
    background: linear-gradient(#e5fffd, #e9ffe3);
    background-repeat: no-repeat;
    border: 1px solid rgb(158, 225, 184);
    background-clip: padding-box;
}

body.app-base-shell .panel,
body.app-base-shell .card,
body.admin-panel-shell .panel,
body.admin-panel-shell .card,
body.webmaster-panel-shell .panel,
body.webmaster-panel-shell .card {
    background: linear-gradient(#e5fffd, #e9ffe3);
    background-repeat: no-repeat;
    border: 1px solid rgb(158, 225, 184);
    background-clip: padding-box;
}

.panel + .panel {
    margin-top: 20px;
}

body.app-base-shell .settings-field-card,
body.app-base-shell .submission-card,
body.app-base-shell .settings-guide-card,
body.app-base-shell .activity-chart-card,
body.app-base-shell .activity-row,
body.app-base-shell .history-row,
body.app-base-shell .history-note,
body.app-base-shell .site-stat,
body.app-base-shell .site-tool-card,
body.app-base-shell .detail-info-card,
body.app-base-shell .homepage-upload-preview-card,
body.admin-panel-shell .settings-field-card,
body.admin-panel-shell .submission-card,
body.admin-panel-shell .settings-guide-card,
body.admin-panel-shell .activity-chart-card,
body.admin-panel-shell .activity-row,
body.admin-panel-shell .history-row,
body.admin-panel-shell .history-note,
body.admin-panel-shell .site-stat,
body.admin-panel-shell .site-tool-card,
body.admin-panel-shell .detail-info-card,
body.admin-panel-shell .homepage-upload-preview-card,
body.webmaster-panel-shell .settings-field-card,
body.webmaster-panel-shell .submission-card,
body.webmaster-panel-shell .settings-guide-card,
body.webmaster-panel-shell .activity-chart-card,
body.webmaster-panel-shell .activity-row,
body.webmaster-panel-shell .history-row,
body.webmaster-panel-shell .history-note,
body.webmaster-panel-shell .site-stat,
body.webmaster-panel-shell .site-tool-card,
body.webmaster-panel-shell .detail-info-card,
body.webmaster-panel-shell .homepage-upload-preview-card {
    background: linear-gradient(180deg, rgba(236, 255, 246, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(158, 225, 184, 0.96);
    box-shadow: 0 16px 36px rgba(108, 177, 125, 0.12);
}

body.app-base-shell .activity-row.is-active,
body.admin-panel-shell .activity-row.is-active,
body.webmaster-panel-shell .activity-row.is-active {
    background: linear-gradient(180deg, rgba(226, 255, 236, 0.98) 0%, rgba(252, 255, 249, 0.96) 100%);
    border-color: rgba(121, 203, 146, 0.96);
}

body.app-base-shell .detail-value-code,
body.app-base-shell .detail-code-input,
body.app-base-shell .detail-code-textarea,
body.admin-panel-shell .detail-value-code,
body.admin-panel-shell .detail-code-input,
body.admin-panel-shell .detail-code-textarea,
body.webmaster-panel-shell .detail-value-code,
body.webmaster-panel-shell .detail-code-input,
body.webmaster-panel-shell .detail-code-textarea {
    background: linear-gradient(180deg, rgba(252, 255, 251, 0.98) 0%, rgba(239, 255, 245, 0.94) 100%);
    border-color: rgba(158, 225, 184, 0.96);
}

body.app-base-shell .homepage-upload-dropzone,
body.admin-panel-shell .homepage-upload-dropzone,
body.webmaster-panel-shell .homepage-upload-dropzone {
    border-color: rgba(78, 198, 173, 0.72);
    background: linear-gradient(180deg, rgba(244, 255, 252, 0.96) 0%, rgba(230, 255, 240, 0.92) 100%);
    box-shadow: 0 14px 28px rgba(89, 183, 188, 0.10);
}

body.app-base-shell .homepage-upload-dropzone:hover,
body.app-base-shell .homepage-upload-dropzone:focus-visible,
body.app-base-shell .homepage-upload-dropzone.is-dragging,
body.admin-panel-shell .homepage-upload-dropzone:hover,
body.admin-panel-shell .homepage-upload-dropzone:focus-visible,
body.admin-panel-shell .homepage-upload-dropzone.is-dragging,
body.webmaster-panel-shell .homepage-upload-dropzone:hover,
body.webmaster-panel-shell .homepage-upload-dropzone:focus-visible,
body.webmaster-panel-shell .homepage-upload-dropzone.is-dragging {
    border-color: #00c8dd;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(214, 248, 255, 0.94) 100%);
    box-shadow: 0 18px 32px rgba(0, 200, 221, 0.14);
}

.card h3,
.panel h2,
.panel h3 {
    margin-top: 0;
}

.kpi {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 4px;
}

.kpi-small {
    font-size: 22px;
    line-height: 1.2;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.settings-form {
    gap: 24px;
}

.settings-section {
    display: grid;
    gap: 16px;
}

.settings-section-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.settings-section-head h2 {
    margin-bottom: 6px;
}

.settings-section-head p {
    margin: 0;
}

.settings-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.settings-fields-grid-single {
    grid-template-columns: 1fr;
}

.settings-deployment-grid {
    display: grid;
    gap: 16px;
}

.settings-field-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
}

.settings-banner-preview-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(158, 225, 184, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.settings-banner-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.settings-banner-preview-item {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 14px;
    border: 1px solid rgba(158, 225, 184, 0.88);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(244, 255, 251, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.settings-banner-preview-copy {
    display: grid;
    gap: 4px;
}

.settings-banner-preview-copy strong,
.settings-banner-preview-copy .help-text {
    overflow-wrap: anywhere;
}

.settings-banner-preview-image {
    max-width: 100%;
    width: auto;
}

.settings-brand-assets-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.settings-brand-preview-item .form-field {
    margin: 0;
}

.settings-brand-preview-image {
    display: block;
    max-width: min(100%, 360px);
    max-height: 120px;
    object-fit: contain;
}

.settings-brand-preview-image-favicon {
    width: 64px;
    max-width: 64px;
    max-height: 64px;
}

.settings-runtime-note-card .row {
    gap: 14px;
}

.settings-runtime-note-card .row span {
    overflow-wrap: anywhere;
    text-align: right;
}

.install-container {
    max-width: 980px;
}

.install-panel {
    display: grid;
    gap: 18px;
}

.install-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.install-progress-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 188, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.install-progress-chip.is-active {
    background: linear-gradient(180deg, #dca9ff 0%, #8a53ff 100%);
    color: #fff;
    border-color: rgba(138, 83, 255, 0.85);
}

.install-progress-chip.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.install-progress-chip-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 188, 255, 0.12);
}

.install-progress-chip.is-active .install-progress-chip-index {
    background: rgba(255, 255, 255, 0.2);
}

.install-check-ok {
    color: #1c8d33;
    font-weight: 700;
}

.install-check-error {
    color: #c44722;
    font-weight: 700;
}

.install-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 16px;
    align-items: start;
}

.install-summary-grid .settings-field-card {
    min-width: 0;
}

.install-summary-grid .settings-field-card:first-child {
    grid-column: 1 / -1;
}

.install-summary-grid .compact-table {
    gap: 0;
}

.install-summary-grid .row {
    display: grid;
    grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.install-summary-grid .row strong,
.install-summary-grid .row span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.install-summary-grid .row span {
    text-align: left;
}

.install-summary-grid .settings-field-card:first-child .row {
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
}

.install-locked-card,
.install-complete-card {
    display: grid;
    gap: 14px;
}

@media (max-width: 720px) {
    .install-progress {
        flex-direction: column;
    }

    .install-progress-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .install-summary-grid {
        grid-template-columns: 1fr;
    }

    .install-summary-grid .settings-field-card:first-child {
        grid-column: auto;
    }

    .install-summary-grid .row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.settings-import-card {
    display: grid;
    gap: 14px;
}

.settings-import-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.settings-import-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(63, 176, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
}

.settings-import-stats strong {
    color: var(--text);
}

.settings-import-stats span.is-success {
    border-color: rgba(22, 101, 52, 0.18);
    background: rgba(22, 101, 52, 0.08);
    color: var(--success);
}

.settings-import-stats span.is-info {
    border-color: rgba(29, 78, 216, 0.18);
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
}

.settings-import-stats span.is-warning {
    border-color: rgba(217, 119, 6, 0.2);
    background: rgba(217, 119, 6, 0.08);
    color: #9a3412;
}

.settings-import-stats span.is-domain {
    border-color: rgba(154, 133, 18, 0.22);
    background: rgba(154, 133, 18, 0.08);
    color: #9a8512;
}

.settings-import-stats span.is-danger {
    border-color: rgba(180, 35, 24, 0.18);
    background: rgba(180, 35, 24, 0.08);
    color: var(--danger);
}

.settings-import-form {
    display: grid;
    gap: 14px;
}

.settings-legacy-check-list {
    display: grid;
    gap: 12px;
}

.settings-legacy-check-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
}

.settings-legacy-check-main {
    display: grid;
    gap: 6px;
}

.settings-legacy-check-main a {
    color: #b34717;
    overflow-wrap: anywhere;
}

.settings-legacy-check-side {
    display: grid;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

@media (max-width: 860px) {
    .settings-legacy-check-row {
        grid-template-columns: 1fr;
    }

    .settings-legacy-check-side {
        justify-items: start;
        text-align: left;
    }
}

.submit-banner-preview-panel {
    display: grid;
    gap: 14px;
}

.submit-summary-placement {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.submit-summary-inbound-card {
    margin-top: 16px;
}

.settings-inline-actions {
    gap: 10px;
    margin-bottom: 2px;
}

.two-column-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-field {
    display: grid;
    gap: 8px;
}

.password-toggle-field {
    position: relative;
}

.password-toggle-field input {
    padding-right: 48px;
}

.password-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3980ee;
    cursor: pointer;
    transition: color 0.15s ease;
}

.password-toggle-button:hover,
.password-toggle-button:focus-visible {
    color: #ff6bfc;
    outline: none;
}

.password-toggle-button-inline {
    justify-self: start;
    margin-top: -2px;
}

.password-toggle-button-in-field {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.password-toggle-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.password-toggle-icon-eye-off {
    display: none;
}

.password-toggle-button.is-visible .password-toggle-icon-eye {
    display: none;
}

.password-toggle-button.is-visible .password-toggle-icon-eye-off {
    display: block;
}

label {
    font-weight: 600;
}

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

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfbfae;
    border-radius: 12px;
    background: #fff;
    color: var(--text);
}

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

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(154, 52, 18, 0.18);
    border-color: var(--accent);
}

.help-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.stats-inline {
    margin-top: 6px;
    font-size: 14px;
}

.checkbox-line {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.74);
}

.checkbox-line label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.checkbox-card {
    padding: 0;
    overflow: hidden;
}

.checkbox-card-label {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start !important;
    gap: 14px !important;
    padding: 18px 20px;
    cursor: pointer;
}

.checkbox-card-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.checkbox-card-box {
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid #cdb8a2;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffefd 0%, #f5ece2 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.checkbox-card-box::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 7px;
    height: 11px;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(45deg);
    transition: border-color 0.15s ease;
}

.checkbox-card-input:checked + .checkbox-card-box {
    border-color: #b94e17;
    background: linear-gradient(180deg, #ffd8bf 0%, #f2b692 100%);
    box-shadow: 0 0 0 3px rgba(185, 78, 23, 0.12);
}

.checkbox-card-input:checked + .checkbox-card-box::after {
    border-color: #fff;
}

.checkbox-card-input:focus-visible + .checkbox-card-box {
    outline: 2px solid rgba(154, 52, 18, 0.18);
    outline-offset: 2px;
}

.checkbox-card-copy {
    display: grid;
    gap: 6px;
}

.checkbox-card-copy strong {
    line-height: 1.3;
}

.checkbox-card-link {
    font-weight: 700;
    white-space: nowrap;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.actions.spread {
    justify-content: space-between;
}

.inline-form {
    display: inline-flex;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #00c8dd;
    border-radius: 999px;
    background: linear-gradient(#fff, #d9f8ff);
    box-shadow: var(--shadow);
}

.range-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #00c8dd;
    border-radius: 999px;
    background: linear-gradient(#fff, #d9f8ff);
    box-shadow: var(--shadow);
}

.range-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #3980ee;
    font-weight: 700;
    text-decoration: none;
}

.range-switch a.active {
    background: linear-gradient(#d2b2f9, #9a54ff);
    color: #fff;
}

.range-switch a:hover {
    color: #ff6bfc;
    text-decoration: none;
}

.range-switch a.active:hover {
    color: #fffb00;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #3980ee;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.lang-switch a.active {
    background: linear-gradient(#d2b2f9, #9a54ff);
    color: #fff;
}

.lang-switch a:hover {
    color: #ff6bfc;
    text-decoration: none;
}

.lang-switch a.active:hover {
    color: #fffb00;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-strong);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(#fff, #d9f8ff);
    color: #3980ee;
    border: 1px solid #00c8dd;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: linear-gradient(#ffffff, #c6f4ff);
    color: #ff6bfc;
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(180deg, #d44a24 0%, #94210c 100%);
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(180deg, #e85d31 0%, #ac2a13 100%);
    color: #fff4ef;
    text-decoration: none;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 600;
}

.alert-success {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
    border: 1px solid rgba(22, 101, 52, 0.16);
}

.alert-error {
    background: rgba(180, 35, 24, 0.09);
    color: var(--danger);
    border: 1px solid rgba(180, 35, 24, 0.16);
}

.admin-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 12px;
    align-items: start;
    padding-bottom: 32px;
    min-width: 0;
}

.admin-shell > * {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 20px;
}

.nav {
    display: grid;
    gap: 10px;
}

.nav a,
.nav button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(#fff, #d9f8ff);
    color: #3980ee;
    text-align: left;
    border: 1px solid #00c8dd;
    box-shadow: var(--shadow);
    text-decoration: none;
}

.nav a.active {
    background: linear-gradient(#d2b2f9, #9a54ff);
    border-color: #7c3aed;
    color: #fff;
    font-weight: 700;
}

.nav button {
    cursor: pointer;
}

.nav-label {
    min-width: 0;
}

.nav-count {
    flex: 0 0 auto;
    font-size: 12px;
    opacity: 0.9;
}

.nav-count-attention {
    color: var(--success);
    font-weight: 700;
}

.nav a:hover,
.nav button:hover {
    background: linear-gradient(#ffffff, #c6f4ff);
    color: #ff6bfc;
    text-decoration: none;
}

.stack {
    display: grid;
    gap: 0;
    min-width: 0;
}

.stack > * {
    min-width: 0;
}

.stack > * + .panel {
    margin-top: 12px;
}

.submission-list {
    display: grid;
    gap: 18px;
}

.admin-queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.admin-queue-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
}

.admin-queue-card .btn {
    width: fit-content;
}

.admin-sites-queues-panel,
.admin-sites-table-panel {
    display: grid;
    gap: 16px;
}

.admin-submissions-help-panel,
.admin-submissions-table-panel {
    display: grid;
    gap: 16px;
}

.admin-submissions-help-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.admin-sites-queues-head h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.admin-sites-queue-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-sites-queue-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(0, 200, 221, 0.78);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(227, 251, 255, 0.88) 100%);
    color: #244a78;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.admin-sites-queue-link:hover {
    border-color: rgba(154, 84, 255, 0.62);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 232, 255, 0.92) 100%);
    box-shadow: 0 12px 24px rgba(130, 120, 224, 0.12);
    text-decoration: none;
}

.admin-sites-queue-link-label {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
}

.admin-sites-queue-link-count {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d2b2f9 0%, #9a54ff 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.admin-sites-enforcement-note {
    margin: 0;
}

.admin-sites-table-panel > h2 {
    margin: 0;
}

.admin-sites-filter-form {
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(220px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 8px;
}

.admin-webmasters-filter-form {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 8px;
}

.admin-sites-filter-form .form-field {
    gap: 6px;
}

.admin-webmasters-filter-form .form-field {
    gap: 6px;
}

.admin-sites-filter-form label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-sites-filter-form input,
.admin-sites-filter-form select {
    min-height: 48px;
    padding: 11px 14px;
}

.admin-webmasters-filter-form label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-webmasters-filter-form input,
.admin-webmasters-filter-form select {
    min-height: 48px;
    padding: 11px 14px;
}

.admin-sites-filter-actions {
    justify-content: flex-end;
    gap: 10px;
    min-height: 48px;
}

.admin-webmasters-filter-form .admin-sites-filter-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.webmaster-cleanup-toolbar {
    margin: 10px 0 16px;
}

body.has-confirm-modal {
    overflow: hidden;
}

.confirm-modal[hidden] {
    display: none;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
}

.confirm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 21, 33, 0.48);
    backdrop-filter: blur(2px);
}

.confirm-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(135, 224, 169, 0.55);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(246, 255, 250, 0.98), rgba(231, 248, 236, 0.98));
    box-shadow: 0 28px 80px rgba(31, 58, 42, 0.24);
}

.confirm-modal__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.confirm-modal__message {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.confirm-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-sites-filter-actions .btn {
    min-height: 48px;
    padding: 11px 18px;
}

.admin-sites-table-panel .admin-overview-table-shell {
    margin-top: 6px;
}

.submission-card {
    padding: 18px;
}

.submission-card h3 {
    margin: 0 0 6px;
}

.homepage-banner-card {
    display: grid;
    gap: 18px;
}

.homepage-banner-title {
    display: grid;
    gap: 10px;
}

.homepage-banner-preview-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}

.homepage-banner-preview {
    display: block;
    max-width: min(100%, 420px);
    max-height: 220px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

.homepage-upload-preview-card {
    align-content: start;
}

.homepage-upload-preview-shell {
    display: grid;
    gap: 12px;
}

.homepage-upload-dropzone {
    display: grid;
    gap: 8px;
    min-height: 136px;
    padding: 18px;
    border: 2px dashed #d7ad8b;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.homepage-upload-dropzone:hover,
.homepage-upload-dropzone:focus-visible,
.homepage-upload-dropzone.is-dragging {
    border-color: var(--accent);
    background: rgba(255, 248, 241, 0.94);
    transform: translateY(-1px);
    outline: none;
}

.homepage-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.homepage-upload-dropzone-copy {
    display: grid;
    gap: 6px;
    align-content: center;
    min-height: 96px;
    text-align: center;
}

.homepage-upload-dropzone-copy strong {
    font-size: 18px;
    color: var(--accent-strong);
}

.homepage-upload-dropzone-copy span {
    color: var(--muted);
    line-height: 1.5;
}

.submission-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 14px;
}

.table-like {
    display: grid;
    gap: 10px;
}

.compact-table .row {
    padding: 8px 0;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.row:last-child {
    border-bottom: 0;
}

details {
    margin-top: 14px;
}

summary {
    cursor: pointer;
    font-weight: 700;
}

.settings-guide-spoiler {
    padding: 0;
    overflow: hidden;
}

.settings-guide-spoiler summary {
    list-style: none;
}

.settings-guide-spoiler summary::-webkit-details-marker {
    display: none;
}

.settings-guide-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
}

.settings-guide-summary-copy {
    display: grid;
    gap: 4px;
}

.settings-guide-summary-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.settings-guide-spoiler[open] .settings-guide-summary-icon {
    transform: rotate(225deg);
}

.settings-guide-content {
    display: grid;
    gap: 18px;
    padding: 0 22px 22px;
    border-top: 1px solid var(--border);
}

.settings-guide-grid {
    gap: 14px;
}

.settings-guide-card {
    padding: 18px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.72);
}

.settings-command-grid {
    display: grid;
    gap: 12px;
}

.settings-command-block {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid rgba(230, 221, 210, 0.9);
    border-radius: 14px;
    background: rgba(251, 247, 241, 0.92);
}

.settings-command-block strong {
    color: var(--accent-strong);
}

.settings-command-block pre {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
}

.settings-guide-note {
    margin: 0;
}

textarea[readonly] {
    background: #fbf7f1;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.is-hidden {
    display: none;
}

.dashboard-toolbar {
    display: grid;
    gap: 12px;
}

.dashboard-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dashboard-section-copy {
    display: grid;
    gap: 6px;
}

.dashboard-section-copy p,
.dashboard-section-note {
    margin: 0;
}

.dashboard-section-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

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

.dashboard-summary-grid {
    margin-top: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dashboard-overview-shell {
    display: grid;
    gap: 14px;
}

.dashboard-queue-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-queue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #00c8dd;
    border-radius: 999px;
    background: linear-gradient(#fff, #d9f8ff);
    color: #3980ee;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.dashboard-queue-link:hover {
    color: #ff6bfc;
    text-decoration: none;
}

.dashboard-mini-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-mini-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(158, 225, 184, 0.92);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(236, 255, 246, 0.94) 0%, rgba(255, 255, 255, 0.92) 100%);
    white-space: nowrap;
}

.dashboard-mini-stat strong {
    font-size: 18px;
    line-height: 1;
}

.dashboard-mini-stat .muted {
    font-size: 13px;
}

.dashboard-cron-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(158, 225, 184, 0.96);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(236, 255, 246, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.dashboard-cron-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px solid rgba(158, 225, 184, 0.96);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(236, 255, 246, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.dashboard-cron-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(158, 225, 184, 0.8);
}

.dashboard-cron-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

.dashboard-cron-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(158, 225, 184, 0.72);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 255, 247, 0.9) 100%);
}

.dashboard-cron-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-cron-description {
    margin: 0;
}

.dashboard-cron-detail-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.dashboard-cron-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.dashboard-cron-meta > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dashboard-cron-meta strong,
.dashboard-cron-countdown {
    color: var(--foreground);
    font-weight: 700;
}

.dashboard-cron-message {
    margin: 0;
    padding-top: 4px;
}

.dashboard-cron-actions {
    display: flex;
    justify-content: flex-start;
}

.dashboard-cron-summary {
    margin: -2px 0 0;
}

.admin-cron-table {
    min-width: 1340px;
}

.dashboard-scope-switch {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dashboard-period-note {
    margin: 0;
}

.dashboard-chart-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 0;
}

.dashboard-overview-shell .dashboard-section-head,
.dashboard-chart-head {
    margin-bottom: 0;
}

.dashboard-chart-shell,
.dashboard-sites-shell {
    display: grid;
    gap: 14px;
}

.dashboard-chart-head {
    display: grid;
    gap: 12px;
}

.dashboard-chart-toolbar {
    display: grid;
    gap: 12px;
}

.dashboard-bulk-form {
    display: grid;
    gap: 14px;
}

.dashboard-bulk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.dashboard-bulk-copy {
    display: grid;
    gap: 4px;
}

.dashboard-bulk-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-scope-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #00c8dd;
    border-radius: 999px;
    background: linear-gradient(#fff, #d9f8ff);
    color: #3980ee;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 200, 221, 0.1);
}

.dashboard-scope-chip strong {
    font-size: 12px;
}

.dashboard-scope-chip-counts {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.scope-count-attention {
    color: var(--success);
    font-weight: 700;
}

.dashboard-scope-chip.is-active .scope-count-attention {
    color: #eaffea;
}

.dashboard-scope-chip.is-active {
    background: linear-gradient(#d2b2f9, #9a54ff);
    border-color: #7c3aed;
    color: #fff;
}

.dashboard-scope-chip:hover {
    color: #ff6bfc;
    text-decoration: none;
}

.dashboard-scope-chip.is-active:hover {
    color: #fffb00;
}

.admin-overview-table-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(158, 225, 184, 0.96);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 255, 247, 0.92) 100%);
}

.admin-overview-table {
    width: 100%;
    min-width: 1080px;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-dashboard-table {
    min-width: 2200px;
}

.admin-sites-index-table {
    min-width: 1880px;
}

.admin-webmasters-index-table {
    min-width: 1500px;
}

.admin-webmasters-sites-table {
    min-width: 1320px;
}

.admin-recheck-requests-table {
    min-width: 1460px;
}

.admin-submissions-index-table {
    min-width: 1320px;
}

.webmaster-site-daily-table {
    min-width: 980px;
}


.admin-overview-table th,
.admin-overview-table td {
    padding: 9px 12px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(158, 225, 184, 0.56);
}

.admin-overview-table th:not(:last-child),
.admin-overview-table td:not(:last-child) {
    border-right: 1px solid rgba(158, 225, 184, 0.56);
}

.admin-overview-table thead th {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(229, 255, 253, 0.98) 0%, rgba(233, 255, 227, 0.98) 100%);
    color: #40653d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 1;
    white-space: nowrap;
}

.admin-overview-table tbody tr:nth-child(even) {
    background: rgba(230, 255, 241, 0.42);
}

.admin-overview-table tbody tr:hover {
    background: rgba(214, 248, 255, 0.34);
}

.admin-overview-table tbody tr.is-selected {
    background: rgba(229, 238, 255, 0.74);
}

.admin-overview-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-overview-col-checkbox-width {
    width: 44px;
}

.admin-overview-col-index-width {
    width: 52px;
}

.admin-overview-col-site-width {
    width: 540px;
}

.webmaster-overview-col-site-width {
    width: 540px;
}

.webmaster-sites-overview-table {
    min-width: 1760px;
}

.admin-overview-col-owner-width {
    width: 280px;
}

.admin-overview-col-status-width {
    width: 140px;
}

.admin-overview-col-number-width {
    width: 110px;
}

.admin-overview-col-rank-width {
    width: 120px;
}

.admin-overview-col-activity-width {
    width: 140px;
}

.admin-overview-col-check-width {
    width: 180px;
}

.admin-overview-col-updated-width {
    width: 132px;
}

.admin-overview-col-actions-width {
    width: 190px;
}

.webmaster-overview-col-note-width {
    width: 320px;
}

.admin-overview-col-index {
    width: 52px;
    color: var(--muted);
    font-weight: 700;
}

.admin-overview-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.admin-overview-site {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-overview-site strong,
.admin-overview-site span,
.admin-overview-col-owner span {
    overflow-wrap: break-word;
    word-break: normal;
}

.admin-overview-site strong a {
    color: #3980ee;
    text-decoration: none;
}

.admin-overview-site strong a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.admin-owner-link {
    color: #3980ee;
    text-decoration: none;
}

.admin-owner-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.admin-overview-site span,
.admin-overview-site > a,
.admin-overview-check small {
    color: var(--muted);
    font-size: 12px;
}

.admin-overview-site > a {
    overflow-wrap: break-word;
    word-break: normal;
}

.admin-overview-site > a:hover {
    color: var(--accent);
}

.admin-overview-col-owner {
    min-width: 240px;
}

.admin-overview-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.admin-overview-sort:hover {
    text-decoration: none;
    color: #6a3fe9;
}

.admin-overview-check {
    display: grid;
    gap: 4px;
}

.admin-webmasters-index-table th:nth-child(4),
.admin-webmasters-index-table td:nth-child(4) {
    width: 266px;
    min-width: 266px;
    max-width: 266px;
}

.admin-webmasters-index-table th:nth-child(8),
.admin-webmasters-index-table td:nth-child(8) {
    min-width: 210px;
}

.admin-webmasters-index-table td:nth-child(4) .admin-overview-check small {
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-overview-rank {
    display: grid;
    gap: 6px;
    min-width: 110px;
}

.admin-overview-rank-bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(158, 225, 184, 0.48);
}

.admin-overview-rank-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #64b46d 0%, #6a3fe9 100%);
}

.admin-overview-col-activity {
    min-width: 110px;
}

.admin-overview-activity {
    display: grid;
    gap: 4px;
    min-width: 100px;
}

.admin-overview-activity-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
}

.admin-overview-activity-row small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.admin-overview-activity-bar {
    display: block;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(158, 225, 184, 0.42);
}

.admin-overview-activity-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.admin-overview-activity-bar-in span {
    background: linear-gradient(90deg, #c75b21 0%, #f49752 100%);
}

.admin-overview-activity-bar-out span {
    background: linear-gradient(90deg, #258e4c 0%, #74d58e 100%);
}

.admin-overview-activity-bar-rank span {
    background: linear-gradient(90deg, #8b5cf6 0%, #c084fc 100%);
}

.admin-overview-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.admin-overview-actions .btn {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
}

.webmaster-overview-cell-note {
    min-width: 240px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.admin-recheck-site-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.admin-recheck-note-block {
    display: grid;
    gap: 8px;
}

.admin-recheck-note-input {
    width: 100%;
    min-height: 84px;
    resize: vertical;
}

.admin-metric-link {
    color: #598fe3;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.admin-overview-check > .admin-metric-link {
    justify-self: start;
}

.admin-metric-link:hover {
    color: #6a3fe9;
    text-decoration: underline;
}

.admin-events-table td code {
    display: inline-block;
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.45;
}

.admin-events-table-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.admin-events-table {
    min-width: 1760px;
}

.admin-events-col-time-width {
    width: 132px;
}

.admin-events-col-direction-width {
    width: 118px;
}

.admin-events-col-unique-width {
    width: 126px;
}

.admin-events-col-host-width {
    width: 180px;
}

.admin-events-col-referer-width {
    width: 300px;
}

.admin-events-col-ip-width {
    width: 190px;
}

.admin-events-col-client-width {
    width: 240px;
}

.admin-events-col-user-agent-width {
    width: 360px;
}

.admin-events-col-ip code {
    white-space: nowrap;
    overflow-wrap: normal;
}

.admin-events-col-referer {
    min-width: 0;
}

.admin-events-col-referer a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.events-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px 18px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(158, 225, 184, 0.68);
}

.events-pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.events-pagination-page {
    font-weight: 700;
    color: #4f6254;
}

.activity-chart-shell {
    display: grid;
    gap: 16px;
}

.activity-chart-legend {
    display: flex;
    gap: 12px 18px;
    flex-wrap: wrap;
}

.activity-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.activity-chart-swatch {
    display: inline-flex;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.activity-chart-card {
    position: relative;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(249, 244, 236, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow-x: auto;
}

.activity-chart-svg {
    display: block;
    width: 100%;
    min-width: 760px;
    height: auto;
}

.activity-chart-grid-line {
    stroke: rgba(207, 191, 174, 0.8);
    stroke-width: 1;
    stroke-dasharray: 4 6;
}

.activity-chart-grid-label,
.activity-chart-axis-label {
    fill: #8b735f;
    font-size: 12px;
    font-weight: 700;
}

.activity-chart-point {
    cursor: pointer;
    transition: opacity 0.12s ease, filter 0.12s ease;
}

.activity-chart-point:hover,
.activity-chart-point.is-active,
.activity-chart-point:focus-visible {
    opacity: 0.98;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95));
    outline: none;
}

.activity-chart-series.is-hidden {
    display: none;
}

.activity-chart-tooltip {
    position: absolute;
    z-index: 3;
    max-width: 240px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(22, 20, 18, 0.94);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.activity-metric-switches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.activity-metric-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #00c8dd;
    border-radius: 999px;
    background: linear-gradient(#fff, #d9f8ff);
    color: #3980ee;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease, opacity 0.12s ease;
}

.activity-metric-toggle.is-active {
    border-color: #7c3aed;
    background: linear-gradient(#d2b2f9, #9a54ff);
    color: #fff;
}

.activity-metric-toggle.is-off {
    background: linear-gradient(#f9fdff, #edf8fb);
    color: var(--muted);
    opacity: 0.78;
}

.activity-metric-toggle:hover {
    background: linear-gradient(#ff6fcd, #380066);
    color: #fff;
}

.activity-metric-toggle.is-active:hover {
    color: #fffb00;
}

.activity-list {
    display: grid;
    gap: 14px;
}

.activity-row {
    display: grid;
    grid-template-columns: minmax(120px, 160px) repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
}

.activity-row.is-active {
    border-color: #d8b493;
    background: rgba(255, 250, 244, 0.96);
}

.activity-date {
    display: grid;
    gap: 6px;
    align-content: start;
}

.activity-metric {
    display: grid;
    gap: 10px;
}

.activity-metric-compact {
    gap: 8px;
}

.activity-metric-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.activity-bar {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #eadfd2;
}

.activity-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #9a3412 0%, #d97706 100%);
}

.activity-bar-secondary span {
    background: linear-gradient(90deg, #166534 0%, #65a30d 100%);
}

.activity-bar-muted span {
    background: linear-gradient(90deg, #5b4635 0%, #b08968 100%);
}

.site-dashboard-card {
    display: grid;
    gap: 18px;
}

.site-dashboard-head {
    margin-bottom: 0;
}

.site-daily-view-switch-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.range-switch-compact {
    gap: 6px;
    padding: 4px;
}

.range-switch-compact a {
    min-width: 0;
    padding: 6px 10px;
    font-size: 14px;
}

.site-dashboard-title {
    display: grid;
    gap: 10px;
}

.site-dashboard-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.site-dashboard-title a {
    justify-self: start;
    width: fit-content;
    overflow-wrap: anywhere;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.status-approved {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
}

.status-ok {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
}

.status-completed {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
}

.status-success {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
}

.status-pending {
    background: rgba(217, 119, 6, 0.12);
    color: #9a3412;
}

.status-open {
    background: rgba(217, 119, 6, 0.12);
    color: #9a3412;
}

.status-answered {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.status-closed {
    background: rgba(91, 70, 53, 0.1);
    color: #5b4635;
}

.status-missing {
    background: rgba(217, 119, 6, 0.12);
    color: #9a3412;
}

.status-domain {
    background: rgba(154, 133, 18, 0.12);
    color: #9a8512;
}

.status-disabled,
.status-rejected {
    background: rgba(180, 35, 24, 0.09);
    color: var(--danger);
}

.status-error {
    background: rgba(180, 35, 24, 0.09);
    color: var(--danger);
}

.status-running {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.status-never {
    background: rgba(91, 70, 53, 0.1);
    color: #5b4635;
}

.status-unknown {
    background: rgba(91, 70, 53, 0.1);
    color: #5b4635;
}

.status-in {
    background: rgba(199, 91, 33, 0.10);
    color: #b34717;
}

.status-out {
    background: rgba(37, 142, 76, 0.10);
    color: #1c7a40;
}

.site-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.site-stat,
.site-tool-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
}

.site-stat strong {
    font-size: 20px;
}

.site-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.detail-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.detail-info-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
}

.detail-info-card h3 {
    margin: 0;
    font-size: 20px;
}

.detail-kv-list {
    display: grid;
    gap: 14px;
}

.detail-kv-item {
    display: grid;
    gap: 6px;
}

.detail-kv-item + .detail-kv-item {
    padding-top: 12px;
    border-top: 1px solid rgba(230, 221, 210, 0.88);
}

.detail-value {
    display: block;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.detail-value-number {
    font-size: 30px;
    line-height: 1;
}

.detail-value-code,
.detail-code-input,
.detail-code-textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.45;
}

.detail-value-code {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbf7f1;
}

.detail-break {
    overflow-wrap: anywhere;
}

.detail-description,
.detail-description-preview {
    white-space: pre-line;
}

.detail-description {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

.detail-description-preview {
    margin: 0;
}

.ticket-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
    gap: 12px;
    align-items: stretch;
}

.ticket-summary-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(158, 225, 184, 0.88);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 22px rgba(108, 177, 125, 0.08);
}

.ticket-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ticket-summary-label {
    display: inline-block;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(88, 80, 72, 0.78);
}

.ticket-summary-label::after {
    content: ':';
}

.ticket-summary-subject,
.ticket-summary-primary,
.ticket-summary-title-link,
.ticket-summary-metric strong {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ticket-summary-subject {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ticket-summary-title-link {
    color: inherit;
    text-decoration: none;
}

.ticket-summary-title-link:hover {
    color: #d13c12;
    text-decoration: underline;
}

.ticket-summary-secondary {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #8e583d;
    overflow-wrap: anywhere;
}

.ticket-summary-block {
    display: grid;
    gap: 6px;
}

.ticket-summary-block + .ticket-summary-block,
.ticket-summary-metric + .ticket-summary-metric {
    padding-top: 10px;
    border-top: 1px solid rgba(230, 221, 210, 0.82);
}

.ticket-summary-card--timeline {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    padding: 0;
}

.ticket-summary-card--timeline .ticket-summary-metric {
    min-width: 0;
    padding: 14px 16px;
}

.ticket-summary-card--timeline .ticket-summary-metric + .ticket-summary-metric {
    padding-top: 14px;
    padding-left: 16px;
    border-top: 0;
    border-left: 1px solid rgba(230, 221, 210, 0.82);
}

.ticket-summary-metric {
    display: grid;
    gap: 4px;
}

.ticket-summary-stack {
    display: grid;
    gap: 12px;
}

.ticket-meta-bar {
    display: grid;
    gap: 0;
    padding: 0;
}

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

.ticket-meta-bar--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ticket-meta-item {
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
    padding: 14px 16px;
}

.ticket-meta-item strong,
.ticket-meta-item .ticket-summary-title-link {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ticket-meta-item .ticket-summary-secondary {
    margin-top: -1px;
}

.ticket-meta-item + .ticket-meta-item {
    border-left: 1px solid rgba(230, 221, 210, 0.82);
}

.detail-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.detail-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.detail-tool-card-wide {
    grid-column: 1 / -1;
}

.detail-code-input {
    background: #fbf7f1;
}

.detail-code-textarea {
    min-height: 170px;
}

.detail-banner-preview-link {
    justify-content: flex-start;
}

.detail-banner-preview-image {
    max-width: min(100%, 420px);
    width: auto;
    max-height: 220px;
}

.detail-tool-warning {
    margin-top: 16px;
    margin-bottom: 16px;
}

.submission-status-banner-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(158, 225, 184, 0.62);
}

.submission-status-section-title {
    margin: 0;
    font-size: 22px;
}

.submission-status-section-intro {
    margin: 8px 0 0;
}

.submission-status-banner-grid {
    margin-top: 16px;
}

.detail-tool-actions {
    margin-bottom: 16px;
}

.btn-small {
    padding: 10px 14px;
    font-size: 14px;
}

.btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.btn:disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.code-textarea {
    min-height: 140px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.45;
}

.history-list {
    display: grid;
    gap: 12px;
}

.history-row {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.history-row-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.history-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.history-meta span {
    overflow-wrap: anywhere;
}

.history-note {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
}

.history-note p {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.ticket-table-subject strong {
    overflow-wrap: anywhere;
}

.admin-overview-table tbody tr.ticket-table-row--unread td {
    background: rgba(220, 255, 228, 0.88);
}

.admin-overview-table tbody tr.ticket-table-row--unread:hover td {
    background: rgba(206, 250, 216, 0.96);
}

.ticket-unread-id {
    color: var(--success);
    font-weight: 800;
}

.ticket-table-subject a {
    color: #3980ee;
    text-decoration: none;
}

.ticket-table-subject a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.ticket-thread {
    gap: 14px;
}

.ticket-thread-pagination--top {
    margin-bottom: 18px;
}

.ticket-message {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
}

.ticket-message--admin {
    border-color: rgba(59, 130, 246, 0.22);
    background: rgba(239, 246, 255, 0.78);
}

.ticket-message--webmaster {
    border-color: rgba(217, 119, 6, 0.18);
    background: rgba(255, 251, 235, 0.78);
}

.ticket-thread-note {
    border-style: dashed;
}

.ticket-status-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.submission-history-list {
    display: grid;
    gap: 10px;
}

.submission-history-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.submission-history-title {
    margin: 0;
}

.submission-history-count {
    font-size: 13px;
}

.submission-history-card {
    gap: 10px;
}

.submission-history-items {
    display: grid;
    gap: 10px;
}

.submission-history-items > :first-child {
    margin-top: 6px;
}

.submission-history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.submission-history-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.submission-history-empty {
    margin: 0;
}

.submission-history-spoiler {
    padding: 0;
    overflow: hidden;
}

.submission-history-spoiler summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
}

.submission-history-spoiler summary::-webkit-details-marker {
    display: none;
}

.submission-history-summary-hint {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.submission-history-spoiler [data-submission-history-content] {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
    border-top: 1px solid rgba(158, 225, 184, 0.56);
}

.submission-history-spoiler.is-loading [data-submission-history-content] {
    min-height: 74px;
}

.submission-history-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.submission-history-pagination-summary,
.submission-history-page-label {
    color: var(--muted);
    font-size: 13px;
}

.submission-history-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

body.app-base-shell .settings-field-card,
body.app-base-shell .submission-card,
body.app-base-shell .settings-guide-card,
body.app-base-shell .activity-chart-card,
body.app-base-shell .activity-row,
body.app-base-shell .history-row,
body.app-base-shell .history-note,
body.app-base-shell .site-stat,
body.app-base-shell .site-tool-card,
body.app-base-shell .detail-info-card,
body.app-base-shell .homepage-upload-preview-card,
body.admin-panel-shell .settings-field-card,
body.admin-panel-shell .submission-card,
body.admin-panel-shell .settings-guide-card,
body.admin-panel-shell .activity-chart-card,
body.admin-panel-shell .activity-row,
body.admin-panel-shell .history-row,
body.admin-panel-shell .history-note,
body.admin-panel-shell .site-stat,
body.admin-panel-shell .site-tool-card,
body.admin-panel-shell .detail-info-card,
body.admin-panel-shell .homepage-upload-preview-card,
body.webmaster-panel-shell .settings-field-card,
body.webmaster-panel-shell .submission-card,
body.webmaster-panel-shell .settings-guide-card,
body.webmaster-panel-shell .activity-chart-card,
body.webmaster-panel-shell .activity-row,
body.webmaster-panel-shell .history-row,
body.webmaster-panel-shell .history-note,
body.webmaster-panel-shell .site-stat,
body.webmaster-panel-shell .site-tool-card,
body.webmaster-panel-shell .detail-info-card,
body.webmaster-panel-shell .homepage-upload-preview-card {
    background: linear-gradient(180deg, rgba(236, 255, 246, 0.96) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(158, 225, 184, 0.96);
    box-shadow: 0 16px 36px rgba(108, 177, 125, 0.12);
}

body.app-base-shell .activity-row.is-active,
body.admin-panel-shell .activity-row.is-active,
body.webmaster-panel-shell .activity-row.is-active {
    background: linear-gradient(180deg, rgba(226, 255, 236, 0.98) 0%, rgba(252, 255, 249, 0.96) 100%);
    border-color: rgba(121, 203, 146, 0.96);
}

body.app-base-shell .detail-value-code,
body.app-base-shell .detail-code-input,
body.app-base-shell .detail-code-textarea,
body.admin-panel-shell .detail-value-code,
body.admin-panel-shell .detail-code-input,
body.admin-panel-shell .detail-code-textarea,
body.webmaster-panel-shell .detail-value-code,
body.webmaster-panel-shell .detail-code-input,
body.webmaster-panel-shell .detail-code-textarea {
    background: linear-gradient(180deg, rgba(252, 255, 251, 0.98) 0%, rgba(239, 255, 245, 0.94) 100%);
    border-color: rgba(158, 225, 184, 0.96);
}

body.app-base-shell .homepage-upload-dropzone,
body.admin-panel-shell .homepage-upload-dropzone,
body.webmaster-panel-shell .homepage-upload-dropzone {
    border-color: rgba(78, 198, 173, 0.72);
    background: linear-gradient(180deg, rgba(244, 255, 252, 0.96) 0%, rgba(230, 255, 240, 0.92) 100%);
    box-shadow: 0 14px 28px rgba(89, 183, 188, 0.10);
}

body.app-base-shell .homepage-upload-dropzone:hover,
body.app-base-shell .homepage-upload-dropzone:focus-visible,
body.app-base-shell .homepage-upload-dropzone.is-dragging,
body.admin-panel-shell .homepage-upload-dropzone:hover,
body.admin-panel-shell .homepage-upload-dropzone:focus-visible,
body.admin-panel-shell .homepage-upload-dropzone.is-dragging,
body.webmaster-panel-shell .homepage-upload-dropzone:hover,
body.webmaster-panel-shell .homepage-upload-dropzone:focus-visible,
body.webmaster-panel-shell .homepage-upload-dropzone.is-dragging {
    border-color: #00c8dd;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(214, 248, 255, 0.94) 100%);
    box-shadow: 0 18px 32px rgba(0, 200, 221, 0.14);
}

@media (max-width: 880px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .topbar-inner {
        align-items: flex-start;
    }

    .topbar-controls {
        width: 100%;
        justify-content: space-between;
    }

    body.landing-root-shell .topbar,
    body.app-base-shell .topbar,
    body.admin-panel-shell .topbar,
    body.webmaster-panel-shell .topbar {
        padding-bottom: 12px;
    }

    body.landing-root-shell .topbar-inner,
    body.app-base-shell .topbar-inner,
    body.admin-panel-shell .topbar-inner,
    body.webmaster-panel-shell .topbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.landing-root-shell .brand,
    body.app-base-shell .brand,
    body.admin-panel-shell .brand,
    body.webmaster-panel-shell .brand {
        width: 100%;
        justify-content: center;
    }

    body.landing-root-shell .topbar-controls,
    body.app-base-shell .topbar-controls,
    body.admin-panel-shell .topbar-controls,
    body.webmaster-panel-shell .topbar-controls {
        display: grid;
        gap: 10px;
        justify-content: stretch;
    }

    body.landing-root-shell .lang-switch,
    body.app-base-shell .lang-switch,
    body.admin-panel-shell .lang-switch,
    body.webmaster-panel-shell .lang-switch {
        margin: 0 auto;
    }

    body.landing-root-shell .topbar-controls .actions,
    body.app-base-shell .topbar-controls .actions,
    body.admin-panel-shell .topbar-controls .actions,
    body.webmaster-panel-shell .topbar-controls .actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.landing-root-shell .topbar-controls .actions .btn,
    body.app-base-shell .topbar-controls .actions .btn,
    body.admin-panel-shell .topbar-controls .actions .btn,
    body.webmaster-panel-shell .topbar-controls .actions .btn {
        width: 100%;
    }

    body.app-base-shell .topbar-controls .muted,
    body.admin-panel-shell .topbar-controls .muted,
    body.webmaster-panel-shell .topbar-controls .muted {
        text-align: center;
    }

    .topbar-session {
        justify-content: center;
    }

    body.submit-page-shell .topbar {
        padding-bottom: 12px;
    }

    body.submit-page-shell .topbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.submit-page-shell .brand {
        width: 100%;
        justify-content: center;
    }

    body.submit-page-shell .topbar-controls {
        display: grid;
        gap: 10px;
        justify-content: stretch;
    }

    body.submit-page-shell .lang-switch {
        margin: 0 auto;
    }

    body.submit-page-shell .topbar-controls .actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.submit-page-shell .topbar-controls .actions .btn {
        width: 100%;
    }

    .home-hero {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        grid-template-columns: 1fr;
    }

    .landing-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .landing-feature-item,
    .dashboard-section-head,
    .landing-section-head,
    .submission-card-head,
    .detail-toolbar,
    .row,
    .activity-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-daily-view-switch-row {
        justify-content: flex-start;
    }

    .landing-feature-item {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .landing-feature-score {
        justify-items: start;
        text-align: left;
        grid-column: 2;
    }

    .activity-row {
        grid-template-columns: 1fr;
    }

    .detail-tool-grid {
        grid-template-columns: 1fr;
    }

    .detail-tool-card-wide {
        grid-column: auto;
    }

    .toplist-card-head,
    .toplist-card-rank {
        flex-direction: column;
    }

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

    .landing-compact-toplist-item:nth-child(3n) {
        border-right: 1px solid rgba(92, 187, 132, 0.82);
    }

    .landing-compact-toplist-item:nth-child(2n) {
        border-right: 0;
    }

    .landing-compact-toplist-item:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(92, 187, 132, 0.82);
    }

    .landing-compact-toplist-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .public-toplist-head,
    .public-toplist-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .public-toplist-meta {
        justify-items: start;
        text-align: left;
    }

    .landing-ranking-table,
    .landing-ranking-table tbody,
    .landing-ranking-table tr,
    .landing-ranking-table td {
        display: block;
        width: 100%;
    }

    .landing-ranking-table thead {
        display: none;
    }

    .landing-ranking-table tr {
        display: grid;
        gap: 0;
        margin-bottom: 14px;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.76);
    }

    .landing-ranking-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(230, 221, 210, 0.64);
    }

    .landing-ranking-table tbody tr:not(:last-child) td {
        border-bottom: 1px solid rgba(230, 221, 210, 0.64);
    }

    .landing-ranking-table td:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .landing-ranking-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .landing-ranking-site {
        min-width: 0;
        width: min(100%, 280px);
    }

    .landing-ranking-action {
        justify-content: flex-start;
    }

    .landing-ranking-action .btn {
        width: 100%;
    }

    .dashboard-section-actions {
        width: 100%;
        margin-left: 0;
    }

    .activity-chart-svg {
        min-width: 620px;
    }
}

@media (max-width: 1000px) {
    .admin-sites-filter-form {
        grid-template-columns: 1fr;
    }

    .admin-webmasters-filter-form {
        grid-template-columns: 1fr;
    }

    .admin-sites-filter-actions {
        justify-content: stretch;
    }

    .admin-sites-filter-actions .btn {
        flex: 1 1 auto;
    }

    .landing-banner-grid {
        grid-template-columns: 1fr;
    }

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

    .ticket-meta-bar--4,
    .ticket-meta-bar--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ticket-meta-item {
        border-left: 0;
        border-top: 1px solid rgba(230, 221, 210, 0.82);
    }

    .ticket-meta-item + .ticket-meta-item {
        border-left: 0;
    }

    .ticket-meta-item:nth-child(-n + 2) {
        border-top: 0;
    }

    .ticket-meta-item:nth-child(even) {
        border-left: 1px solid rgba(230, 221, 210, 0.82);
    }

    .ticket-meta-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .landing-summary-grid {
        grid-template-columns: 1fr;
    }

    .landing-compact-toplist-grid {
        grid-template-columns: 1fr;
    }

    .landing-compact-toplist-item {
        border-right: 0;
    }

    .landing-compact-toplist-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(92, 187, 132, 0.82);
    }

    .landing-compact-toplist-item:last-child {
        border-bottom: 0;
    }

    .ticket-summary-card {
        padding: 13px 14px;
    }

    .ticket-summary-grid {
        grid-template-columns: 1fr;
    }

    .ticket-summary-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticket-summary-subject {
        -webkit-line-clamp: 4;
    }

    .ticket-summary-card--timeline {
        grid-template-columns: 1fr;
    }

    .ticket-summary-card--timeline .ticket-summary-metric {
        padding: 12px 14px;
    }

    .ticket-summary-card--timeline .ticket-summary-metric + .ticket-summary-metric {
        padding-top: 12px;
        padding-left: 14px;
        border-left: 0;
        border-top: 1px solid rgba(230, 221, 210, 0.82);
    }

    .ticket-meta-bar--4,
    .ticket-meta-bar--5 {
        grid-template-columns: 1fr;
    }

    .ticket-meta-item {
        padding: 12px 14px;
        border-left: 0;
        border-top: 1px solid rgba(230, 221, 210, 0.82);
    }

    .ticket-meta-item + .ticket-meta-item {
        border-left: 0;
    }

    .ticket-meta-item:nth-child(-n + 2) {
        border-top: 1px solid rgba(230, 221, 210, 0.82);
    }

    .ticket-meta-item:first-child {
        border-top: 0;
    }

    body.landing-root-shell .topbar-controls .actions,
    body.app-base-shell .topbar-controls .actions,
    body.admin-panel-shell .topbar-controls .actions,
    body.webmaster-panel-shell .topbar-controls .actions {
        grid-template-columns: 1fr;
    }

    .landing-hero-pill {
        min-width: calc(50% - 6px);
    }

    .activity-chart-card {
        padding: 14px;
    }

    .activity-chart-svg {
        min-width: 560px;
    }
}
