:root {
    color-scheme: dark;
    --bg: #030a10;
    --bg-strong: #07141d;
    --bg-elevated: #0a1822;
    --surface: rgba(9, 21, 30, 0.84);
    --surface-strong: rgba(8, 18, 26, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.03);
    --surface-softer: rgba(255, 255, 255, 0.05);
    --line: rgba(118, 235, 225, 0.14);
    --line-strong: rgba(118, 235, 225, 0.28);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f3fbff;
    --text-soft: #bfd3da;
    --text-muted: #7f96a1;
    --primary: #28d6c6;
    --primary-strong: #0fa8ba;
    --primary-bright: #8efef1;
    --primary-soft: rgba(40, 214, 198, 0.14);
    --success: #4fe2b1;
    --success-soft: rgba(79, 226, 177, 0.14);
    --warning: #f0bc77;
    --warning-soft: rgba(240, 188, 119, 0.12);
    --danger: #ff929f;
    --danger-soft: rgba(255, 146, 159, 0.12);
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.44);
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 0 1px rgba(118, 235, 225, 0.08), 0 24px 50px rgba(3, 10, 16, 0.6), 0 0 40px rgba(40, 214, 198, 0.08);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 16px;
    --radius-xs: 12px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(40, 214, 198, 0.16), transparent 18%),
        radial-gradient(circle at 88% 12%, rgba(39, 124, 255, 0.14), transparent 18%),
        radial-gradient(circle at 52% 120%, rgba(16, 168, 186, 0.18), transparent 24%),
        linear-gradient(180deg, #02070c 0%, #06131c 44%, #081822 100%);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.9;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 78%);
    opacity: 0.34;
}

body::after {
    background: radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.38) 100%);
}

::selection {
    background: rgba(142, 254, 241, 0.28);
    color: #021117;
}

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

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

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

button {
    cursor: pointer;
}

.app-frame {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.app-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.app-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(26px);
    opacity: 0.72;
}

.app-glow-one {
    top: -120px;
    inset-inline-start: -90px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(55, 228, 214, 0.38) 0%, rgba(55, 228, 214, 0.16) 34%, transparent 72%);
}

.app-glow-two {
    top: 14%;
    inset-inline-end: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(40, 136, 255, 0.28) 0%, rgba(40, 136, 255, 0.12) 34%, transparent 72%);
}

.app-glow-three {
    bottom: -180px;
    left: 50%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(16, 168, 186, 0.24) 0%, rgba(16, 168, 186, 0.08) 35%, transparent 75%);
    transform: translateX(-50%);
}

.app-grid {
    position: absolute;
    inset: -10%;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.28;
    mask-image: radial-gradient(circle at 50% 28%, rgba(0, 0, 0, 0.7), transparent 72%);
}

.public-body,
.admin-body {
    direction: rtl;
    text-align: right;
}

.public-shell {
    position: relative;
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: 40px 0 84px;
}

.public-home {
    display: grid;
    gap: 28px;
}

.public-shell-success,
.admin-login-shell {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.surface-card,
.hero-card,
.info-card,
.form-card,
.success-card,
.login-card,
.admin-panel,
.stat-card,
.submission-card,
.detail-item,
.detail-note,
.admin-user-box {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(12, 24, 35, 0.9), rgba(4, 10, 16, 0.96));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.surface-card::before,
.hero-card::before,
.info-card::before,
.form-card::before,
.success-card::before,
.login-card::before,
.admin-panel::before,
.stat-card::before,
.submission-card::before,
.detail-item::before,
.detail-note::before,
.admin-user-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(142, 254, 241, 0.1) 0%, transparent 38%, transparent 72%, rgba(52, 124, 255, 0.08) 100%);
    opacity: 0.78;
    pointer-events: none;
}

.surface-card::after,
.hero-card::after,
.info-card::after,
.form-card::after,
.success-card::after,
.login-card::after,
.admin-panel::after,
.stat-card::after,
.submission-card::after {
    content: "";
    position: absolute;
    inset-inline: 20px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    pointer-events: none;
}

.hero-card,
.info-card,
.form-card,
.success-card,
.login-card {
    padding: 32px;
}

.hero-card {
    min-height: 260px;
    display: grid;
    align-content: end;
    gap: 14px;
    padding: clamp(28px, 4vw, 48px);
}

.home-hero {
    width: min(100%, 1080px);
    margin-inline: auto;
}

.home-info {
    width: min(100%, 960px);
    margin-inline: auto;
}

.home-form-card {
    width: min(100%, 900px);
    margin-inline: auto;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(142, 254, 241, 0.2);
    background: linear-gradient(180deg, rgba(13, 35, 41, 0.88), rgba(10, 24, 31, 0.92));
    color: var(--primary-bright);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 30px rgba(7, 25, 32, 0.28);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.hero-title {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero-text {
    margin: 0;
    max-width: 60ch;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 2.05;
}

.section-head {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.section-head.compact {
    margin-bottom: 18px;
}

.section-head h2,
.success-card h1,
.login-card h1 {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    line-height: 1.5;
    letter-spacing: -0.015em;
}

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

.info-item,
.info-note {
    position: relative;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
    color: var(--text-soft);
    line-height: 2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.info-item::before,
.info-note::before {
    content: "";
    position: absolute;
    inset-block: 16px;
    inset-inline-start: auto;
    inset-inline-end: 10px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(142, 254, 241, 0), rgba(142, 254, 241, 0.76), rgba(142, 254, 241, 0));
}

.info-note {
    color: var(--text);
    background: linear-gradient(180deg, rgba(79, 226, 177, 0.12), rgba(79, 226, 177, 0.04));
    border-color: rgba(79, 226, 177, 0.18);
}

.public-form {
    display: grid;
    gap: 26px;
}

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

.form-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.form-field label,
.filter-field label {
    color: rgba(243, 251, 255, 0.95);
    font-size: 0.99rem;
    line-height: 1.8;
}

.form-field input,
.form-field select,
.form-field textarea,
.filter-field input,
.filter-field select {
    width: 100%;
    min-height: 58px;
    padding: 15px 18px;
    border: 1px solid rgba(118, 235, 225, 0.16);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(5, 16, 23, 0.92);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 24px rgba(2, 10, 16, 0.24);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder,
.filter-field input::placeholder {
    color: rgba(191, 211, 218, 0.42);
}

.form-field input[type="date"] {
    text-align: right;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.2) saturate(0);
    opacity: 0.74;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.filter-field input:focus,
.filter-field select:focus {
    outline: none;
    border-color: rgba(142, 254, 241, 0.62);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
        rgba(7, 18, 26, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 4px rgba(40, 214, 198, 0.14),
        0 18px 36px rgba(5, 20, 29, 0.35);
    transform: translateY(-1px);
}

.field-error input,
.field-error select,
.field-error textarea {
    border-color: rgba(255, 146, 159, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 4px rgba(255, 146, 159, 0.08);
}

.field-error-text,
.field-hint,
.form-hint {
    line-height: 1.75;
    font-size: 0.92rem;
}

.field-error-text {
    color: var(--danger);
}

.field-hint,
.form-hint {
    color: var(--text-muted);
}

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

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

.choice-card {
    position: relative;
    display: block;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid rgba(118, 235, 225, 0.14);
    border-radius: var(--radius-sm);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(5, 16, 23, 0.92);
    color: var(--text-soft);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 24px rgba(2, 10, 16, 0.18);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease;
}

.choice-card span::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(142, 254, 241, 0.32);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.choice-card:not(.choice-card-checkbox) span::before {
    border-radius: 50%;
}

.choice-card-checkbox span {
    justify-content: flex-start;
}

.choice-card-checkbox span::before {
    border-radius: 6px;
}

.choice-card:hover span {
    transform: translateY(-1px);
    border-color: rgba(142, 254, 241, 0.22);
    color: var(--text);
}

.choice-card input:checked + span {
    color: var(--text);
    border-color: rgba(142, 254, 241, 0.48);
    background:
        linear-gradient(180deg, rgba(40, 214, 198, 0.16), rgba(255, 255, 255, 0.04)),
        rgba(6, 20, 28, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(142, 254, 241, 0.08),
        0 18px 32px rgba(1, 8, 13, 0.35),
        0 0 30px rgba(40, 214, 198, 0.12);
}

.choice-card input:checked + span::before {
    border-color: rgba(142, 254, 241, 0.96);
    background: linear-gradient(135deg, rgba(142, 254, 241, 0.96), rgba(40, 214, 198, 0.94));
    box-shadow: inset 0 0 0 4px rgba(2, 11, 17, 0.9), 0 0 0 5px rgba(40, 214, 198, 0.08);
    transform: scale(1.02);
}

.choice-card input:focus-visible + span {
    outline: none;
    border-color: rgba(142, 254, 241, 0.52);
    box-shadow: 0 0 0 4px rgba(40, 214, 198, 0.12);
}

.form-field[data-experience-details] {
    min-height: 0;
    overflow: hidden;
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 0.28s ease,
        opacity 0.28s ease,
        transform 0.28s ease,
        margin 0.28s ease;
}

.form-field[data-experience-details].is-collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(-12px);
    margin: 0;
    pointer-events: none;
}

.form-actions,
.success-actions,
.detail-actions,
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(40, 214, 198, 0.14);
}

.button-primary {
    color: #021117;
    border-color: rgba(142, 254, 241, 0.28);
    background: linear-gradient(135deg, var(--primary-bright), var(--primary), var(--primary-strong));
    box-shadow: 0 20px 36px rgba(10, 168, 186, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button-primary:hover {
    box-shadow: 0 24px 42px rgba(10, 168, 186, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button-ghost {
    color: var(--text);
    border-color: rgba(118, 235, 225, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(8, 18, 26, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 30px rgba(0, 0, 0, 0.18);
}

.button-ghost:hover {
    border-color: rgba(142, 254, 241, 0.28);
    color: var(--primary-bright);
}

.button-danger {
    color: #fff4f5;
    border-color: rgba(255, 146, 159, 0.26);
    background: linear-gradient(135deg, rgba(255, 146, 159, 0.88), rgba(190, 71, 88, 0.94));
    box-shadow: 0 18px 32px rgba(125, 24, 41, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-full {
    width: 100%;
}

.button-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-bright);
    font-size: 0.96rem;
    line-height: 1.5;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.button-link:hover {
    color: var(--text);
}

.button-link.danger {
    color: var(--danger);
}

.alert {
    position: relative;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    line-height: 1.85;
    margin-bottom: 18px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.alert-success {
    color: var(--success);
    background: linear-gradient(180deg, rgba(79, 226, 177, 0.12), rgba(79, 226, 177, 0.06));
    border-color: rgba(79, 226, 177, 0.18);
}

.alert-error {
    color: var(--danger);
    background: linear-gradient(180deg, rgba(255, 146, 159, 0.12), rgba(255, 146, 159, 0.05));
    border-color: rgba(255, 146, 159, 0.18);
}

.alert-warning {
    color: var(--warning);
    background: linear-gradient(180deg, rgba(240, 188, 119, 0.12), rgba(240, 188, 119, 0.05));
    border-color: rgba(240, 188, 119, 0.18);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.86rem;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.status-new {
    color: var(--primary-bright);
    background: rgba(40, 214, 198, 0.12);
    border-color: rgba(40, 214, 198, 0.18);
}

.status-review {
    color: #a6c7ff;
    background: rgba(74, 132, 255, 0.14);
    border-color: rgba(74, 132, 255, 0.18);
}

.status-accepted {
    color: var(--success);
    background: rgba(79, 226, 177, 0.12);
    border-color: rgba(79, 226, 177, 0.18);
}

.status-rejected {
    color: var(--danger);
    background: rgba(255, 146, 159, 0.12);
    border-color: rgba(255, 146, 159, 0.18);
}

.success-card,
.login-card {
    width: min(100%, 760px);
    margin: 0 auto;
}

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

.success-card p,
.login-card p,
.telegram-card p {
    color: var(--text-soft);
    line-height: 2;
}

.success-mark {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 226, 177, 0.28), rgba(40, 214, 198, 0.12));
    border: 1px solid rgba(79, 226, 177, 0.22);
    color: var(--success);
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 0 0 10px rgba(79, 226, 177, 0.05), 0 22px 40px rgba(7, 25, 32, 0.32);
}

.code-card,
.telegram-card {
    position: relative;
    margin-top: 24px;
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(7, 17, 24, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.18);
}

.code-label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.code-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.code-box strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    min-width: min(100%, 300px);
    padding: 0 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(142, 254, 241, 0.26);
    background:
        linear-gradient(135deg, rgba(142, 254, 241, 0.14), rgba(52, 124, 255, 0.08)),
        rgba(6, 18, 26, 0.96);
    color: var(--primary-bright);
    font-size: clamp(1.14rem, 4vw, 1.72rem);
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(2, 10, 16, 0.28);
}

.copy-button.is-copied {
    color: #041116;
    border-color: rgba(79, 226, 177, 0.22);
    background: linear-gradient(135deg, rgba(79, 226, 177, 0.96), rgba(42, 204, 164, 0.92));
}

.login-card {
    width: min(100%, 560px);
}

.login-form,
.admin-form {
    gap: 18px;
}

.table-scroll {
    overflow-x: auto;
    padding-bottom: 4px;
}

.table-scroll::-webkit-scrollbar {
    height: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: rgba(118, 235, 225, 0.2);
    border-radius: 999px;
}

.empty-state {
    margin: 0;
    padding: 12px 0 4px;
    color: var(--text-muted);
}

.admin-backdrop {
    display: none;
}

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

@media (max-width: 1080px) {
    .public-shell {
        width: min(100% - 28px, var(--container));
    }
}

@media (max-width: 860px) {
    .public-shell {
        padding: 28px 0 60px;
    }

    .hero-card,
    .info-card,
    .form-card,
    .success-card,
    .login-card {
        padding: 24px;
        border-radius: 28px;
    }

    .hero-title {
        max-width: 100%;
    }

    .form-grid,
    .choice-grid,
    .choice-grid.three-col {
        grid-template-columns: 1fr;
    }

    .form-actions,
    .success-actions,
    .detail-actions {
        align-items: stretch;
    }

    .button,
    .form-actions .button,
    .success-actions .button,
    .detail-actions .button,
    .table-actions .button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .public-shell {
        width: calc(100% - 20px);
    }

    .hero-card,
    .info-card,
    .form-card,
    .success-card,
    .login-card {
        padding: 20px;
        border-radius: 24px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-text,
    .info-item,
    .info-note,
    .form-hint,
    .field-hint,
    .success-card p,
    .telegram-card p {
        font-size: 0.97rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea,
    .filter-field input,
    .filter-field select,
    .choice-card span,
    .button {
        min-height: 54px;
    }

    .code-box {
        flex-direction: column;
    }

    .code-box strong {
        width: 100%;
        min-width: 0;
    }
}
