:root {
    --carbon: #0b0b0e;
    --carbon-light: #121318;
    --yellow: #f5c400;
    --yellow-glow: #ffd84a;
    --steel: #e9e9ec;
    --muted: #8b8e9c;
    --danger: #ff3b3b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    color: var(--steel);
    background: var(--carbon);
    min-height: 100vh;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 216, 74, 0.15), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(255, 216, 74, 0.12), transparent 40%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 50%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 6px);
    z-index: -2;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 6vw 12px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-mark {
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    letter-spacing: 4px;
    color: var(--yellow);
}

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

.site-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--carbon);
    background: var(--yellow);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 196, 0, 0.25);
}

.btn.primary {
    background: linear-gradient(120deg, var(--yellow), var(--yellow-glow));
}

.btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--steel);
}

main {
    padding: 20px 6vw 60px;
}

.hero {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    min-height: 70vh;
}

.hero-media {
    position: relative;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.2), rgba(11, 11, 14, 0.85));
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: var(--yellow);
}

.hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.95;
    margin: 0;
}

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

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    padding-top: 12px;
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
}

.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--yellow);
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
}

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

.card {
    padding: 22px;
    background: var(--carbon-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
    margin-top: 0;
    color: var(--yellow);
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.cta-strip {
    margin-top: 46px;
    padding: 24px 28px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(120deg, rgba(255, 216, 74, 0.18), rgba(18, 19, 24, 0.9));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: 26px;
}

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

.auth {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-panel {
    background: var(--carbon-light);
    border-radius: 22px;
    padding: 32px;
    width: min(460px, 92vw);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.auth-panel h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 36px;
    margin-top: 0;
}

.auth-panel p {
    color: var(--muted);
}

.auth-form p {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.auth-form input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.demo-users {
    margin-top: 24px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.demo-users h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--yellow);
}

.demo-users ul {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--steel);
}

.demo-users li {
    margin-bottom: 6px;
}

.demo-users span {
    color: var(--yellow-glow);
    font-weight: 600;
}

.demo-note {
    color: var(--muted);
    font-size: 14px;
}

.hub {
    margin-top: 24px;
}

.hub h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 44px;
    margin-bottom: 8px;
}

.hub-sub {
    color: var(--muted);
    margin-bottom: 24px;
}

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

.hub-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: var(--steel);
    transition: transform 0.2s ease, border 0.2s ease;
}

.hub-card span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--yellow);
}

.hub-card em {
    color: var(--muted);
    font-style: normal;
}

.hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 216, 74, 0.5);
}

.cabinet {
    margin-top: 24px;
}

.cabinet h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 42px;
}

.cabinet-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.cabinet-lead {
    color: var(--muted);
    max-width: 520px;
}

.cabinet-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--yellow);
    margin-bottom: 12px;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.cabinet-card {
    padding: 22px;
    border-radius: 18px;
    background: var(--carbon-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cabinet-card.cabinet-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.cabinet-card h3 {
    margin-top: 0;
    color: var(--yellow);
}

.cabinet-card p {
    color: var(--muted);
}

.metric {
    margin-top: 12px;
    font-weight: 600;
    color: var(--yellow);
}

.cabinet--client .cabinet-card {
    border-color: rgba(255, 216, 74, 0.25);
}

.cabinet--manager .cabinet-card {
    border-color: rgba(108, 214, 255, 0.25);
}

.cabinet--admin .cabinet-card {
    border-color: rgba(255, 88, 141, 0.25);
}

.admin-memo {
    grid-column: 1 / -1;
}

.admin-memo-page {
    max-width: 1200px;
}

.admin-memo-standalone {
    margin-top: 18px;
}

.admin-memo__content {
    margin: 12px 0 0;
    max-height: 70vh;
    overflow: auto;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.3);
    color: var(--steel);
    white-space: pre-wrap;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

.cabinet--export .cabinet-card {
    border-color: rgba(118, 255, 162, 0.25);
}

.cabinet-log {
    margin-top: 28px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cabinet-log h2 {
    margin-top: 0;
    font-size: 22px;
    color: var(--yellow);
}

.dev-log {
    background: #0f1014;
    color: var(--steel);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 520px;
    overflow: auto;
    display: grid;
    gap: 14px;
}

.form-card {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.form-card p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.form-card input,
.form-card textarea,
.form-card select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.form-card textarea {
    min-height: 110px;
    resize: vertical;
}

.search-bar {
    margin: 24px 0 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-bar input {
    flex: 1;
    min-width: 240px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.search-bar select {
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.inline-edit-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inline-edit-form select {
    min-width: 110px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th,
.data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.table-link {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
}

.data-table__icon-col,
.data-table__icon-cell {
    width: 42px;
    text-align: center;
}

.row-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 204, 0, 0.38);
    background: rgba(255, 204, 0, 0.09);
    color: var(--yellow);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.row-copy-btn:visited {
    color: var(--yellow);
}

.row-copy-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 204, 0, 0.18);
    border-color: rgba(255, 204, 0, 0.72);
}

.row-copy-btn:focus-visible {
    outline: 2px solid rgba(255, 204, 0, 0.9);
    outline-offset: 2px;
}

.client-dashboard {
    margin-top: 10px;
}

.client-layout {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 18px;
}

.client-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 620px;
}

.client-brand {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 4px;
    font-size: 26px;
    color: var(--yellow);
}

.client-brand-sub {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-top: -6px;
}

.client-card {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
}

.client-info {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.client-info__title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.client-info__text {
    margin-top: 8px;
    font-size: 13px;
    color: var(--steel);
}

.client-info__row {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.client-info__row span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}

.client-info__row strong {
    color: var(--steel);
    font-weight: 600;
    text-align: right;
}

.client-card__title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.client-card__name {
    margin-top: 6px;
    font-weight: 600;
    color: var(--steel);
}

.client-nav {
    display: grid;
    gap: 8px;
}

.client-nav__item {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--steel);
    text-decoration: none;
    font-size: 13px;
}

.client-nav__item.active,
.client-nav__item:hover {
    border-color: rgba(255, 216, 74, 0.5);
    color: var(--yellow);
}

.client-sidebar__footer {
    margin-top: auto;
}

.sidebar-actions {
    display: grid;
    gap: 8px;
}

.sidebar-actions .btn {
    width: 100%;
}

.client-main {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    overflow-x: auto;
}

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

.client-subtitle {
    color: var(--muted);
    margin-top: 8px;
}

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

.client-board {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(250px, 1.05fr) minmax(220px, 0.9fr) minmax(320px, 1.35fr);
    min-width: 1120px;
    gap: 14px;
}

.board-col {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 10px;
}

.board-col__head {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.board-col__head span {
    color: var(--yellow);
    font-weight: 700;
}

.board-col--delivered {
    align-content: start;
}

.board-col--delivered .board-cards {
    max-height: 620px;
}

.board-col__head--actions {
    align-items: center;
    gap: 8px;
}

.board-filter-btn {
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 1px;
}

.board-filter-btn.is-active {
    background: #2f8a45;
    border-color: #2f8a45;
    color: #fff;
}

.done-filter-form {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.done-filter-form.is-hidden {
    display: none;
}

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

.done-filter-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.board-cards {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 2px;
}

.board-cards > .board-card,
.board-cards > .board-empty {
    flex: 0 0 auto;
}

.board-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.board-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.board-card-link:hover {
    border-color: rgba(255, 216, 74, 0.45);
    transform: translateY(-1px);
}

.board-card--interactive {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.board-card-main-link {
    padding: 14px 44px 14px 14px;
    border-radius: 12px;
}

.board-card--interactive:hover {
    border-color: rgba(255, 216, 74, 0.45);
    transform: translateY(-1px);
}

.board-card-main-link:focus-visible {
    outline: 2px solid rgba(255, 216, 74, 0.75);
    outline-offset: -2px;
}

.board-card-tools {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.board-card-tool-form {
    margin: 0;
}

.board-card-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.42);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.board-card-tools .board-card-copy {
    position: static;
    top: auto;
    right: auto;
}

.board-card-copy:hover {
    color: var(--yellow);
    border-color: rgba(255, 216, 74, 0.6);
    background: rgba(255, 216, 74, 0.12);
}

.board-card-copy svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.board-card-withdraw {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 110, 110, 0.36);
    background: rgba(0, 0, 0, 0.42);
    color: #ff8a8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.board-card-withdraw:hover {
    color: #ffb3b3;
    border-color: rgba(255, 138, 138, 0.6);
    background: rgba(255, 110, 110, 0.12);
}

.board-card-withdraw svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.board-card--compact {
    width: 100%;
    max-width: none;
}

.board-card--compact:not(.board-card--interactive) {
    padding: 14px;
}

.board-card h3 {
    margin: 0;
    font-size: 16px;
    color: var(--yellow);
}

.board-card p {
    margin: 0;
    color: var(--steel);
    font-size: 14px;
    line-height: 1.35;
    min-height: 0;
    overflow-wrap: anywhere;
}

.board-meta {
    font-size: 13px;
    line-height: 1.35;
    color: var(--steel);
}

.status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.status-pill--pending_approval {
    background: #d68a16;
}

.status-pill--new {
    background: #2174d8;
}

.status-pill--in_progress {
    background: #1e9d57;
}

.status-pill--in_transit {
    background: #0aa7a7;
}

.status-pill--done {
    background: #2f8a45;
}

.status-pill--canceled {
    background: #9a3d3d;
}

.board-card.muted {
    opacity: 0.7;
}

.board-card.light {
    background: rgba(255, 216, 74, 0.08);
    border-color: rgba(255, 216, 74, 0.2);
}

.client-profile {
    margin-top: 28px;
}

.client-profile h2 {
    font-size: 22px;
    color: var(--yellow);
    margin-bottom: 12px;
}

.client-activity {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    gap: 12px;
    max-height: 720px;
    overflow: auto;
}

@media (min-width: 1101px) {
    .client-layout {
        height: calc(100vh - 120px);
    }

    .client-sidebar,
    .client-main,
    .client-activity {
        min-height: 0;
        max-height: 100%;
        overflow-y: auto;
    }
}

.activity-head {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.activity-item {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-item h4 {
    margin: 0 0 6px;
    color: var(--yellow);
    font-size: 14px;
}

.activity-item p {
    margin: 0 0 6px;
    color: var(--steel);
    font-size: 13px;
}

.activity-item span {
    font-size: 12px;
    color: var(--muted);
}

.request-detail-main {
    display: grid;
    gap: 14px;
}

.request-meta-list {
    margin-top: 10px;
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: var(--steel);
}

.request-meta-list span {
    color: var(--muted);
}

.request-actions {
    display: grid;
    gap: 8px;
}

.request-actions form {
    margin: 0;
}

.request-actions .btn {
    width: 100%;
}

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

.request-info-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
}

.request-info-card h3 {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: 16px;
}

.request-info-card--full {
    grid-column: 1 / -1;
}

.request-info-list {
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: var(--steel);
}

.request-info-list span {
    color: var(--muted);
}

.request-info-list--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.request-journal h2 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--yellow);
}

.request-events {
    display: grid;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

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

.request-comment-form textarea {
    width: 100%;
    resize: vertical;
    min-height: 96px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-family: inherit;
    font-size: 13px;
}

.request-comments-list {
    display: grid;
    gap: 10px;
}

@media (max-width: 1100px) {
    .client-layout {
        grid-template-columns: 220px 1fr;
    }

    .client-board {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        min-width: 0;
    }

    .client-activity {
        grid-column: span 2;
        max-height: none;
    }
}

@media (max-width: 820px) {
    .client-layout {
        grid-template-columns: 1fr;
    }

    .client-board {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .done-filter-grid {
        grid-template-columns: 1fr;
    }

    .request-info-grid,
    .request-info-list--cols {
        grid-template-columns: 1fr;
    }
}

.log-entry {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.log-date {
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 8px;
    font-size: 14px;
}

.log-list {
    margin: 0;
    padding-left: 18px;
    color: var(--steel);
    font-size: 13px;
    line-height: 1.5;
}

.log-list li {
    margin-bottom: 6px;
}

.log-empty {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    padding: 28px 6vw 40px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-meta {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

@media (max-width: 720px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero {
        min-height: auto;
    }
}

.landing-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 28px;
}

.landing-nav a {
    text-decoration: none;
    color: var(--steel);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: border 0.2s ease, transform 0.2s ease;
}

.landing-nav a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 216, 74, 0.6);
}

.landing-hero {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: stretch;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.landing-hero__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.landing-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 10, 12, 0.92), rgba(10, 10, 12, 0.35));
}

.landing-hero__content {
    position: relative;
    z-index: 1;
    padding: 56px clamp(24px, 6vw, 70px);
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-lead {
    color: var(--muted);
    font-size: 18px;
    max-width: 600px;
}

.hero-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.hero-tile {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
}

.tile-title {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.tile-value {
    display: block;
    margin-top: 6px;
    font-weight: 700;
    color: var(--yellow);
}

.landing-section {
    margin-top: 64px;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    color: var(--yellow);
    margin-bottom: 10px;
}

.landing-section h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 12px;
}

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

.about {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.about-media img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-content p {
    color: var(--muted);
}

.about-list {
    padding-left: 18px;
    color: var(--steel);
    line-height: 1.6;
}

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

.service-card {
    background: var(--carbon-light);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    margin: 16px 18px 8px;
    font-size: 18px;
    color: var(--yellow);
}

.service-card p {
    margin: 0 18px 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

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

.adv-card {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--steel);
    line-height: 1.5;
}

.tariffs .tariff-card {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 216, 74, 0.15), rgba(12, 13, 18, 0.95));
}

.tariff-card h3 {
    margin-top: 0;
    color: var(--yellow);
}

.tariff-meta {
    margin-top: 14px;
    color: var(--muted);
}

.contacts .contact-card {
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--carbon-light);
}

.contact-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0 14px;
}

.contact-lines a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
}

.contact-address {
    color: var(--muted);
    margin-bottom: 18px;
}

@media (max-width: 720px) {
    .landing-hero {
        min-height: auto;
    }

    .landing-hero__content {
        padding: 36px 24px;
    }
}

.board-empty {
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 13px;
}

.activity-empty {
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--muted);
    font-size: 13px;
}

.client-card__row {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.client-edit {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--yellow);
    text-decoration: none;
}

.client-edit svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

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

.form-field label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.form-field label.label-required::after,
.request-inline-field label.label-required::after {
    content: " *";
    color: var(--yellow);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
}

.form-field input:disabled,
.form-field textarea:disabled,
.form-field select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.client-create-block {
    width: min(560px, 100%);
    margin-left: 0;
    margin-right: auto;
}

.client-create-block .form-actions {
    justify-content: center;
    width: 100%;
}

.client-create-block .form-actions .btn,
.client-create-submit {
    min-width: 240px;
    padding: 14px 28px;
    font-size: 18px;
    margin: 0 auto;
}

.client-create-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

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

.users-create-block {
    width: min(380px, 100%);
    margin-left: 0;
    margin-right: auto;
    padding: 14px;
}

.users-create-grid {
    grid-template-columns: 1fr;
    gap: 8px;
}

.users-create-block .form-actions {
    justify-content: flex-start;
}

.users-create-submit {
    min-width: 0;
    padding: 10px 18px;
    font-size: 14px;
}

.users-filter-bar {
    align-items: flex-end;
}

.users-role-filter {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2px;
}

.users-role-filter__title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--muted);
}

.users-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--steel);
    font-size: 13px;
    cursor: pointer;
}

.users-role-chip input {
    width: 15px;
    height: 15px;
    accent-color: var(--yellow);
}

.field-error {
    color: #ff7a7a;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .client-edit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.request-form {
    margin-top: 22px;
}

.form-messages {
    margin-bottom: 12px;
    display: grid;
    gap: 8px;
}

.form-message {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 216, 74, 0.35);
    background: rgba(255, 216, 74, 0.1);
    color: var(--steel);
    font-size: 13px;
}

.form-message--error {
    border-color: rgba(255, 122, 122, 0.45);
    background: rgba(255, 122, 122, 0.12);
}

.draft-choice {
    border: 1px solid rgba(255, 216, 74, 0.28);
    background: rgba(255, 216, 74, 0.09);
    border-radius: 14px;
    padding: 18px;
}

.draft-choice h2 {
    margin: 0;
    font-size: 22px;
    color: var(--yellow);
}

.draft-choice p {
    margin: 10px 0 0;
    color: var(--steel);
}

.draft-choice__actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.request-sections {
    display: grid;
    gap: 14px;
}

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

.segmented-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--steel);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.segmented-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 216, 74, 0.4);
}

.segmented-input:checked + .segmented-btn {
    border-color: rgba(255, 216, 74, 0.65);
    background: rgba(255, 216, 74, 0.15);
    color: var(--yellow-glow);
}

.segmented-btn--small {
    min-height: 40px;
    font-size: 12px;
}

.request-block {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.request-block__head h2 {
    margin: 0;
    font-size: 20px;
    color: var(--yellow);
}

.request-block__head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.request-block__head--route {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.request-block__head--cargo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.request-inline-field {
    width: min(320px, 100%);
}

.request-inline-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
}

.request-form input:required:invalid,
.request-form select:required:invalid,
.request-form textarea:required:invalid {
    border-color: rgba(255, 122, 122, 0.6);
}

.request-form input.field-autofill-strong {
    border-color: #35f58c !important;
    background: rgba(18, 92, 52, 0.42);
    box-shadow: 0 0 0 1px rgba(53, 245, 140, 0.45), 0 0 14px rgba(53, 245, 140, 0.22);
    animation: autofillPulse 1.1s ease-out;
}

@keyframes autofillPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(53, 245, 140, 0.65);
    }
    100% {
        box-shadow: 0 0 0 1px rgba(53, 245, 140, 0.45), 0 0 14px rgba(53, 245, 140, 0.22);
    }
}

.copy-refresh-required {
    border-color: rgba(255, 122, 122, 0.78) !important;
    box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.28);
}

.copy-refresh-required:focus {
    outline: none;
    border-color: rgba(255, 122, 122, 0.95) !important;
    box-shadow: 0 0 0 2px rgba(255, 122, 122, 0.32);
}

.form-field--copy-required label,
.request-inline-field--copy-required label {
    color: #ff9b9b;
}

.field-hint {
    margin-top: 6px;
    font-size: 12px;
}

.field-hint--danger {
    color: #ff9b9b;
}

.request-inline-field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.request-inline-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0f1014;
    color: var(--steel);
}

.route-cities {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.route-city {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
}

.route-city__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--yellow);
}

.route-city__warehouse {
    margin-top: 4px;
    font-size: 13px;
    color: var(--steel);
}

.route-city__role {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--muted);
}

.route-city--origin {
    border-color: rgba(255, 216, 74, 0.45);
    background: rgba(255, 216, 74, 0.1);
}

.route-city--origin .route-city__role {
    border-color: rgba(255, 216, 74, 0.55);
    color: var(--yellow-glow);
}

.route-city--destination {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
}

.route-method {
    margin-top: 14px;
}

.route-method__quick {
    margin-top: 6px;
}

.route-method__quick-btn {
    border: 0;
    background: transparent;
    color: #7fd6a7;
    font-size: 12px;
    letter-spacing: 0.3px;
    padding: 0;
    cursor: pointer;
    text-decoration: underline dotted rgba(127, 214, 167, 0.7);
    text-underline-offset: 3px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.route-method__quick-btn:hover {
    color: #b9f7d7;
    transform: translateX(2px);
}

.route-method__quick-btn:focus-visible {
    outline: 1px solid rgba(127, 214, 167, 0.7);
    outline-offset: 2px;
}

.route-legs {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.route-leg {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
}

.route-leg__head h3 {
    margin: 0;
    font-size: 15px;
    color: var(--yellow);
}

.route-leg__head p {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--muted);
}

.route-leg__address {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--steel);
}

.route-leg__address--action {
    cursor: pointer;
    text-decoration: underline dotted rgba(127, 214, 167, 0.6);
    text-underline-offset: 3px;
    transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.route-leg__address--action::after {
    content: "  изменить";
    color: #7fd6a7;
    font-size: 11px;
    letter-spacing: 0.3px;
}

.route-leg__address--action:hover {
    color: #b9f7d7;
    transform: translateX(3px);
    text-shadow: 0 0 8px rgba(127, 214, 167, 0.35);
}

.address-input-wrap {
    position: relative;
}

.address-input-wrap input {
    padding-right: 42px;
}

.address-picker-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #101117;
    color: var(--steel);
    cursor: pointer;
    line-height: 1;
}

.address-picker-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.address-picker-btn--wide {
    min-height: 36px;
    padding: 8px 12px;
    min-width: 140px;
}

.address-picker {
    display: grid;
    gap: 8px;
}

.address-picker__value {
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #101117;
    color: #d9e2ed;
    font-size: 14px;
    line-height: 1.35;
}

.address-picker__value--action {
    border-style: dashed;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.address-picker__value--action::after {
    content: attr(data-action-label);
    display: block;
    margin-top: 4px;
    color: #7fd6a7;
    font-size: 11px;
    letter-spacing: 0.3px;
}

.address-picker__value[role="button"] {
    cursor: pointer;
}

.address-picker__value[role="button"]:hover {
    border-color: rgba(127, 214, 167, 0.75);
    background: rgba(13, 58, 38, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(127, 214, 167, 0.2), 0 6px 16px rgba(0, 0, 0, 0.22);
}

.address-picker__value[role="button"]:focus-visible {
    outline: none;
    border-color: rgba(127, 214, 167, 0.8);
    box-shadow: 0 0 0 2px rgba(127, 214, 167, 0.22);
}

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

.address-picker__actions {
    display: flex;
    justify-content: flex-end;
}

.address-picker__actions .address-picker-btn {
    position: static;
    transform: none;
    width: auto;
    height: auto;
}

.address-option-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #111218;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    max-height: 180px;
    overflow-y: auto;
    z-index: 20;
}

.address-option-menu.is-hidden {
    display: none;
}

.address-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
}

.address-modal.is-hidden {
    display: none;
}

.address-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.address-modal__dialog {
    position: relative;
    width: min(760px, calc(100% - 24px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #0f1015;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.address-modal__head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.address-modal__head h3 {
    margin: 0;
    color: var(--yellow);
    font-size: 17px;
}

.address-modal__close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #161822;
    color: #dbe6f3;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.address-modal__body {
    padding: 14px 16px 16px;
    overflow-y: auto;
}

.address-modal__groups {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.address-modal__group {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.address-modal__group.is-hidden {
    display: none;
}

.address-modal__group-title {
    padding: 8px 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.address-modal__group-title--company {
    color: #7fd6a7;
}

.address-modal__empty {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--muted);
    font-size: 13px;
}

.address-modal__empty.is-hidden {
    display: none;
}

.address-modal__list {
    max-height: 190px;
    overflow-y: auto;
}

.address-modal__manual {
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.address-modal__manual h4 {
    margin: 0;
    color: var(--yellow);
    font-size: 14px;
}

@media (max-width: 760px) {
    .address-modal__dialog {
        width: calc(100% - 12px);
        margin: 6px auto;
        max-height: calc(100vh - 12px);
    }

    .address-modal__body {
        padding: 12px;
    }
}

.address-option-item {
    width: 100%;
    display: block;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: var(--steel);
    text-align: left;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
}

.address-option-item__main {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 10px;
}

.address-option-item__hint {
    display: block;
    font-size: 11px;
    line-height: 1.25;
    color: rgba(219, 229, 240, 0.78);
    flex: 0 0 auto;
    max-width: 45%;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-option-item__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.address-option-item:last-child {
    border-bottom: 0;
}

.address-option-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.address-option-item--company {
    color: #a8f3c8;
    background: rgba(18, 72, 45, 0.55);
}

.address-option-item--company .address-option-item__hint {
    color: rgba(196, 250, 223, 0.9);
}

.address-option-item--company:hover {
    background: rgba(23, 90, 56, 0.8);
}

.address-option-item--shared {
    color: #dbe5f0;
}

.field-hint.is-hidden {
    display: none;
}

.route-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--steel);
    cursor: pointer;
}

.route-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--yellow);
}

.request-block .form-grid {
    margin-top: 14px;
}

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

.cargo-subblocks {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "left middle right";
    gap: 12px;
}

.cargo-subblock {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
}

.cargo-subblock--left {
    grid-area: left;
}

.cargo-subblock--middle {
    grid-area: middle;
}

.cargo-subblock--right {
    grid-area: right;
}

.cargo-subblock h3 {
    margin: 0;
    color: var(--yellow);
    font-size: 14px;
}

.cargo-subblock .form-grid {
    margin-top: 10px;
}

.cargo-subblock--middle .form-field {
    align-self: end;
}

.form-field--pack-fixed {
    max-width: 520px;
}

.pack-fixed-stack {
    display: grid;
    gap: 8px;
}

.pack-fixed-stack__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 10px;
    align-items: center;
}

.pack-fixed-stack__row label {
    margin: 0;
    color: var(--steel);
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.3px;
}

.pack-fixed-stack__row input {
    text-align: center;
}

@media (max-width: 640px) {
    .pack-fixed-stack__row {
        grid-template-columns: minmax(0, 1fr) 1fr;
    }
}

.route-address-fields.is-hidden {
    display: none;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
}

.contact-card.is-hidden {
    display: none;
}

.contact-card h3 {
    margin: 0;
    color: var(--yellow);
    font-size: 14px;
}

.contact-card .form-grid {
    margin-top: 10px;
}

.request-actions {
    margin-top: 14px;
}

@media (max-width: 820px) {
    .route-cities,
    .route-legs {
        grid-template-columns: 1fr;
    }

    .request-inline-field {
        width: 100%;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .cargo-subblocks {
        grid-template-columns: 1fr;
        grid-template-areas:
            "left"
            "middle"
            "right";
    }
}

.project-structure-page {
    display: grid;
    gap: 18px;
}

.project-structure-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 14px;
    background: linear-gradient(135deg, rgba(255, 216, 74, 0.13), rgba(12, 13, 20, 0.92));
    border: 1px solid rgba(255, 216, 74, 0.24);
    border-radius: 18px;
    padding: 18px;
}

.project-structure-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow-glow);
}

.project-structure-hero h2 {
    margin: 8px 0 10px;
    font-size: 28px;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
}

.project-structure-hero p {
    margin: 0;
    color: var(--steel);
    line-height: 1.5;
}

.project-structure-hero__stats {
    display: grid;
    gap: 10px;
}

.project-stat-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px;
}

.project-stat-card__value {
    display: block;
    color: var(--yellow);
    font-weight: 700;
    font-size: 22px;
}

.project-stat-card__label {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-visual {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
}

.project-visual__head h3 {
    margin: 0;
    color: var(--yellow);
}

.project-visual__head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.project-visual__canvas {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        radial-gradient(circle at 20% 10%, rgba(245, 196, 0, 0.12), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(245, 196, 0, 0.08), transparent 25%),
        #0d0f14;
    overflow-x: auto;
    overflow-y: hidden;
}

.project-arch-svg {
    display: block;
    width: 100%;
    min-width: 980px;
    height: auto;
    font-family: "Space Grotesk", sans-serif;
}

.arch-links path {
    fill: none;
    stroke: rgba(245, 196, 0, 0.76);
    stroke-width: 2.2;
    marker-end: url(#arrow);
}

.arch-node {
    fill: url(#nodeFill);
    stroke: rgba(255, 255, 255, 0.22);
    stroke-width: 1.3;
}

.arch-node-main {
    fill: url(#mainNodeFill);
    stroke: rgba(245, 196, 0, 0.68);
    stroke-width: 1.8;
}

.arch-node-title,
.arch-node-title-main {
    font-size: 18px;
    font-weight: 700;
    fill: #ffd84a;
    letter-spacing: 0.2px;
}

.arch-node-sub,
.arch-node-sub-main {
    font-size: 13px;
    fill: #cfd2de;
}

.project-scheme {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
}

.project-scheme h3 {
    margin: 0;
    color: var(--yellow);
}

.project-scheme__lead {
    margin: 8px 0 0;
    color: var(--muted);
}

.project-layer {
    margin-top: 14px;
}

.project-layer__title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 8px;
}

.project-layer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.project-node {
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.34);
    padding: 12px;
}

.project-node h4 {
    margin: 0;
    color: var(--yellow);
    font-size: 14px;
}

.project-node p {
    margin: 8px 0 0;
    color: var(--steel);
    font-size: 13px;
    line-height: 1.45;
}

.project-flow-arrow {
    text-align: center;
    font-size: 20px;
    color: var(--yellow);
    margin-top: 8px;
}

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

.project-detail-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
    padding: 14px;
}

.project-detail-card h3 {
    margin: 0;
    color: var(--yellow);
    font-size: 17px;
}

.project-detail-card ol {
    margin: 10px 0 0;
    padding-left: 20px;
    color: var(--steel);
    font-size: 13px;
    line-height: 1.5;
}

.project-detail-card li {
    margin-bottom: 6px;
}

.project-module-table-wrap {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 18px;
}

.project-module-table-wrap h3 {
    margin: 0 0 12px;
    color: var(--yellow);
}

@media (max-width: 980px) {
    .project-structure-hero {
        grid-template-columns: 1fr;
    }

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

    .project-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .project-layer__grid {
        grid-template-columns: 1fr;
    }
}

