* {
    box-sizing: border-box;
}

:root {
    --topbar-height: 76px;
    --bg: #eef7ff;
    --bg-soft: #d9efff;
    --paper: rgba(247, 252, 255, 0.92);
    --paper-strong: #ffffff;
    --ink: #00152a;
    --muted: #4c6174;
    --line: rgba(0, 61, 112, 0.16);
    --accent: #139ff2;
    --accent-strong: #0069b8;
    --accent-soft: #d8efff;
    --navy: #00152a;
    --navy-soft: #062543;
    --danger: #9f4f43;
    --danger-soft: #f8e0da;
    --ok: #0f83c6;
    --ok-soft: #d8efff;
    --shadow: 0 24px 60px rgba(0, 21, 42, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    background:
        radial-gradient(circle at top left, rgba(19, 159, 242, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 21, 42, 0.08), transparent 24%),
        linear-gradient(180deg, #f7fbff 0%, #eef7ff 44%, #e1f0fb 100%);
}

body.modal-open {
    overflow: hidden;
}

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

.shell {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--topbar-height) + 14px) 0 28px;
}

@media (min-width: 2000px) {
    .shell {
        width: 80vw;
        max-width: 1800px;
    }
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(0, 61, 112, 0.08);
    background: rgba(247, 252, 255, 0.88);
    box-shadow: 0 10px 28px rgba(0, 21, 42, 0.08);
    backdrop-filter: blur(14px);
    transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topbar.is-solid {
    background: rgba(247, 252, 255, 0.96);
    border-color: var(--line);
    box-shadow: 0 14px 32px rgba(0, 21, 42, 0.12);
}

.topbar-inner {
    width: calc(100% - 48px);
    max-width: 1200px;
    min-height: var(--topbar-height);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

@media (min-width: 2000px) {
    .topbar-inner {
        width: 80vw;
        max-width: 1800px;
    }
}

.brand {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.brand-mark {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-fallback {
    display: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: 184px;
    object-fit: contain;
}

.brand-text {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 0;
    border: 1px solid rgba(0, 61, 112, 0.16);
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    border-radius: 0;
}

.nav a,
.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 0;
    border: 1px solid transparent;
    font: inherit;
    cursor: pointer;
    transition: 180ms ease;
}

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

.nav a:hover,
.nav a.is-active {
    color: var(--ink);
    background: rgba(19, 159, 242, 0.11);
}

.btn,
button {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn:hover,
button:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.btn.alt {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn.alt:hover {
    background: rgba(19, 159, 242, 0.09);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    padding: 24px 0 12px;
    align-items: stretch;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.panel.soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(226, 243, 255, 0.92));
}

.page-home .panel {
    border-color: rgba(0, 61, 112, 0.18);
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 0;
    background: rgba(19, 159, 242, 0.12);
    color: var(--accent-strong);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0 0 10px;
    line-height: 1.08;
    font-weight: 700;
}

h1 {
    font-size: clamp(38px, 4.5vw, 64px);
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 19px;
}

p {
    margin: 0 0 10px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-copy p {
    font-size: 17px;
    max-width: 56ch;
}

.hero-copy {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(19, 159, 242, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 243, 255, 0.92));
}

.hero-sales {
    align-items: center;
}

.hero-copy-sales {
    min-height: 540px;
}

.hero-card-sales {
    min-height: 540px;
    overflow: hidden;
}

.reader-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 12px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.96), rgba(213, 239, 255, 0.6) 50%, transparent 68%),
        linear-gradient(180deg, rgba(244, 250, 255, 0.92), rgba(220, 240, 255, 0.84));
    border-radius: 0;
}

.reader {
    position: relative;
    border-radius: 0;
    background: linear-gradient(180deg, #3c3c3c, #1d1d1d);
    box-shadow:
        0 34px 70px rgba(0, 21, 42, 0.28),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -2px 8px rgba(0, 0, 0, 0.28);
}

.reader::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.reader-large {
    width: 340px;
    height: 470px;
}

.reader-small {
    width: 210px;
    height: 290px;
    margin: 0 auto 18px;
}

.reader-light {
    position: absolute;
    top: 78px;
    left: 50%;
    width: 11px;
    height: 11px;
    margin-left: -5.5px;
    border-radius: 0;
    box-shadow: 0 0 16px currentColor;
}

.reader-light.blue {
    color: #52b8ff;
    background: #52b8ff;
}

.reader-light.ok {
    color: #16a7ff;
    background: #16a7ff;
}

.reader-light.red {
    color: #ff7a68;
    background: #ff7a68;
}

.reader-screen {
    position: absolute;
    left: 50%;
    top: 118px;
    width: 210px;
    height: 250px;
    margin-left: -105px;
    border-radius: 0;
    background: radial-gradient(circle at 50% 20%, rgba(22, 36, 48, 0.75), #071018 72%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    box-shadow:
        inset 0 0 0 4px rgba(24, 24, 24, 0.92),
        0 0 0 4px rgba(0, 0, 0, 0.16);
}

.reader-large .reader-screen {
    width: 220px;
    height: 270px;
    margin-left: -110px;
}

.reader-screen::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 0;
    border: 4px solid rgba(82, 184, 255, 0.9);
    box-shadow: 0 0 18px rgba(82, 184, 255, 0.55);
}

.reader-screen.success::before {
    border-color: rgba(129, 242, 122, 0.95);
    box-shadow: 0 0 18px rgba(129, 242, 122, 0.5);
}

.reader-screen.danger::before {
    border-color: rgba(255, 122, 104, 0.95);
    box-shadow: 0 0 18px rgba(255, 122, 104, 0.48);
}

.reader-face {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 16px;
}

.reader-state-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 150px;
}

.reader-state-note {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.reader-logo {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.reader-logo span {
    color: #47baff;
}

.reader-sub {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.86);
}

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

.state-card {
    text-align: center;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.field-head label {
    margin-bottom: 0;
}

.icon-help {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(19, 159, 242, 0.1);
    color: var(--accent-strong);
    font-weight: 700;
}

.icon-help:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.call-url-box {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.62);
}

.call-url-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.call-url-list {
    display: grid;
    gap: 10px;
}

.call-url-row {
    display: grid;
    gap: 6px;
}

.call-url-code {
    margin: 0;
    white-space: normal;
    word-break: break-all;
}

.admin-hero-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    min-width: 320px;
}

.stat-stack,
.grid-3,
.grid-2,
.dashboard-grid,
.cards-grid {
    display: grid;
    gap: 14px;
}

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

.stat {
    padding: 18px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 61, 112, 0.14);
}

.stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 30px;
    color: var(--accent-strong);
}

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

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

.dashboard-grid {
    align-items: start;
}

.section {
    margin-top: 16px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
}

.dashboard-state {
    display: none;
}

.dashboard-poll-indicator {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 700;
    width: 220px;
    padding: 10px 12px 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.dashboard-poll-indicator span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.dashboard-poll-bar {
    width: 0;
    height: 3px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--accent), #7fd0ff);
    transition: width 180ms ease;
}

.dashboard-poll-indicator.is-active .dashboard-poll-bar {
    width: 100%;
}

.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 710;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 36px));
}

.toast-item {
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    color: var(--ink);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.toast-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-item.is-prichod {
    border-left: 4px solid #189b5a;
}

.toast-item.is-odchod {
    border-left: 4px solid var(--accent);
}

.refresh-flash {
    animation: refreshFlash 420ms ease;
}

@keyframes refreshFlash {
    0% {
        background: rgba(19, 159, 242, 0.18);
    }
    100% {
        background: transparent;
    }
}

.modal-shell.is-visible {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 21, 42, 0.46);
    backdrop-filter: blur(10px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 36px);
    margin: 18px auto;
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(249, 253, 255, 0.98);
    box-shadow: 0 30px 80px rgba(0, 21, 42, 0.24);
    display: none;
}

.modal-card.is-visible {
    display: block;
}

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

.modal-close {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.modal-close:hover {
    background: rgba(19, 159, 242, 0.09);
    border-color: var(--accent);
    color: var(--accent-strong);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.modal-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.icon-button {
    min-width: 52px;
    padding: 0 16px;
    font-size: 15px;
}

.icon-button strong {
    font-size: 20px;
}

.details-panel summary {
    list-style: none;
    cursor: pointer;
}

.details-panel summary::-webkit-details-marker {
    display: none;
}

.summary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.65);
}

.summary-button strong {
    font-size: 18px;
}

.details-content {
    margin-top: 14px;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.list-item,
.reader-card,
.person-card,
.price-card {
    padding: 16px 18px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.76);
}

.price-card.featured {
    background: linear-gradient(180deg, rgba(19, 159, 242, 0.14), rgba(255, 255, 255, 0.92));
    border-color: rgba(19, 159, 242, 0.32);
}

.page-home .price-card,
.page-home .list-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 245, 255, 0.82));
}

.price-tag {
    margin: 8px 0 12px;
    font-size: 30px;
    color: var(--accent-strong);
}

.price-tag span {
    font-size: 15px;
    color: var(--muted);
}

.hero-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(247, 252, 255, 0.94);
}

.page-home .eyebrow {
    background: linear-gradient(90deg, rgba(19, 159, 242, 0.18), rgba(19, 159, 242, 0.06));
}

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

.signup-note {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.mini-stat {
    padding: 14px;
    border-radius: 0;
    background: rgba(19, 159, 242, 0.11);
}

.mini-stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 24px;
    color: var(--accent-strong);
}

.section-title {
    margin-bottom: 16px;
    text-align: center;
}

.page-home .section-title h2 {
    text-wrap: balance;
}

.section-title p {
    margin: 0;
}

.reader-card strong,
.person-card strong {
    display: block;
    margin-bottom: 4px;
}

.reader-meta,
.person-meta,
.micro {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.badge.off {
    background: rgba(133, 108, 80, 0.14);
    color: #7d6550;
}

.badge.warn {
    background: var(--danger-soft);
    color: var(--danger);
}

.notice,
.error {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 0;
    border: 1px solid transparent;
}

.notice {
    background: var(--ok-soft);
    border-color: rgba(19, 159, 242, 0.28);
    color: #004d83;
}

.promo-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.promo-inline a {
    color: var(--accent-strong);
    font-weight: 600;
    white-space: nowrap;
}

.promo-inline a:hover {
    text-decoration: underline;
}

.error {
    background: var(--danger-soft);
    border-color: rgba(159, 79, 67, 0.22);
    color: var(--danger);
}

.form-grid,
.auth-grid {
    display: grid;
    gap: 14px;
}

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

.field {
    display: grid;
    gap: 7px;
}

label {
    font-size: 13px;
    color: var(--accent-strong);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 0;
    border: 1px solid rgba(0, 61, 112, 0.22);
    background: rgba(255, 255, 255, 0.74);
    color: var(--ink);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(19, 159, 242, 0.62);
    box-shadow: 0 0 0 4px rgba(19, 159, 242, 0.13);
}

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

.field.inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.field.inline label {
    margin: 0;
}

.field.inline input[type="checkbox"] {
    width: 18px;
    min-height: 18px;
    padding: 0;
}

.table-wrap {
    overflow: auto;
    border-radius: 0;
    border: 1px solid var(--line);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.78);
}

th,
td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(0, 61, 112, 0.12);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--accent-strong);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.code {
    display: block;
    padding: 14px 16px;
    border-radius: 0;
    background: rgba(0, 21, 42, 0.94);
    color: #eef7ff;
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
    overflow: auto;
}

.footer {
    margin-top: 22px;
    padding: 0 0 2px;
    color: var(--muted);
    font-size: 12px;
}

.footer-line {
    height: 1px;
    background: rgba(0, 61, 112, 0.2);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr) auto;
    gap: 18px;
    align-items: center;
    padding-top: 12px;
}

.footer-owner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
}

.footer-owner strong {
    color: var(--ink);
}

.footer-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: center;
}

.footer-services a,
.footer-made a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
}

.footer-service-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    border: 1px solid rgba(0, 61, 112, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(222, 239, 255, 0.82));
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    overflow: hidden;
}

.footer-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-service-icon.is-dupip {
    background: #ffffff;
}

.footer-service-icon.is-duxee {
    background: linear-gradient(180deg, #f6fbff, #dceeff);
    color: #0b6ba8;
}

.footer-service-icon.is-faktino {
    background: linear-gradient(180deg, #7f3f9f, #5b2d75);
    color: #fff;
}

.footer-service-icon.is-duxnet {
    background: linear-gradient(180deg, #0d2239, #081527);
    color: #9fd4ff;
}

.footer-service-icon.is-internet {
    background: linear-gradient(180deg, #125f9d, #0d416d);
    color: #fff;
}

.footer-service-icon.is-parkoviste {
    background: linear-gradient(180deg, #eef3f8, #d5dee8);
    color: #35516e;
}

.footer-made {
    white-space: nowrap;
    text-align: right;
}

.footer a:hover {
    color: var(--ink);
}

@media (max-width: 980px) {
    .admin-hero-head {
        flex-direction: column;
    }

    .admin-hero-actions {
        justify-content: flex-start;
        min-width: 0;
    }

    .hero,
    .grid-3,
    .grid-2,
    .pricing-grid,
    .state-grid,
    .dashboard-grid,
    .form-grid.cols-2,
    .auth-grid,
    .stat-stack,
    .mini-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .shell {
        width: calc(100% - 18px);
        padding-top: calc(var(--topbar-height) + 12px);
    }

    .topbar {
        padding: 0;
    }

    .topbar-inner {
        width: calc(100% - 18px);
        min-height: 68px;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .panel {
        padding: 16px;
        border-radius: 0;
    }

    .admin-hero-actions {
        width: 100%;
    }

    .admin-hero-actions .btn,
    .admin-hero-actions button {
        width: 100%;
    }

    .modal-card {
        width: calc(100vw - 18px);
        max-height: calc(100vh - 18px);
        margin: 9px auto;
        padding: 18px;
    }

    .modal-head {
        align-items: center;
    }

    h1 {
        font-size: 36px;
    }

    .brand-logo {
        height: 34px;
        max-width: 156px;
    }

    .nav-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .nav {
        display: none;
        width: 100%;
        padding-top: 8px;
        flex-direction: column;
    }

    .nav.is-open {
        display: flex;
    }

    .reader-large {
        width: 280px;
        height: 390px;
    }

    .reader-large .reader-screen {
        width: 190px;
        height: 230px;
        top: 102px;
        margin-left: -95px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-services {
        justify-content: flex-start;
    }

    .footer-made {
        text-align: left;
    }
}
