:root {
    --bg: #071426;
    --bg-secondary: #0d213d;
    --panel: #102846;
    --panel-light: #16355c;

    --text: #f4f7fb;
    --text-muted: #9fb4cf;

    --border: rgba(255, 255, 255, 0.08);

    --orange: #ff7a1a;
    --orange-hover: #ff933f;

    --success: #2ecc71;
    --error: #ff5a5f;

    --shadow:
        0 10px 40px rgba(0, 0, 0, 0.35);

    --radius: 22px;

    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at top left, #16345c 0%, transparent 32%),
        radial-gradient(circle at bottom right, #1a2d47 0%, transparent 28%),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
}

.app-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;

    height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 28px 22px;

    background: rgba(5, 16, 31, 0.78);
    border-right: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);
}

.sidebar-brand {
    margin-bottom: 36px;
}

.sidebar-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sidebar-brand strong {
    color: var(--text);

    font-size: 24px;
    letter-spacing: -0.03em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;

    min-height: 48px;

    padding: 0 16px;

    border-radius: 14px;

    color: var(--text-muted);

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.sidebar-nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
    transform: translateX(2px);
}

.sidebar-nav a.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--orange), #ff9c4f);
    box-shadow: 0 14px 28px rgba(255,122,26,0.24);
}

.sidebar-footer {
    margin-top: auto;

    padding-top: 24px;

    color: var(--text-muted);

    font-size: 13px;
}

.content-area {
    min-width: 0;
}

.content-area .app-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

.app-shell {
    width: 100%;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;

    margin-bottom: 36px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-text {
    max-width: 720px;
    margin-top: 20px;

    color: var(--text-muted);
    font-size: 18px;
}

.user-card {
    min-width: 240px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 20px 24px;

    backdrop-filter: blur(14px);

    box-shadow: var(--shadow);
}

.user-card span {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.user-card strong {
    font-size: 18px;
}

.panel {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01)
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 36px;

    backdrop-filter: blur(18px);

    box-shadow: var(--shadow);
}

.panel-header {
    margin-bottom: 28px;
}

.panel-header h2 {
    margin: 0 0 8px;
    font-size: 30px;
}

.panel-header p {
    margin: 0;
    color: var(--text-muted);
}

.alert {
    margin-bottom: 28px;

    border-radius: 18px;

    padding: 18px 22px;

    font-weight: 600;
}

.alert-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.28);
    color: #b8ffd5;
}

.alert-error {
    background: rgba(255, 90, 95, 0.12);
    border: 1px solid rgba(255, 90, 95, 0.28);
    color: #ffd2d4;
}

.mail-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.workflow-intro {
    margin-bottom: 26px;
}

.workflow-intro h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.workflow-intro p {
    margin: 0;
    color: var(--text-muted);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.span-2 {
    grid-column: span 2;
}

label {
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 700;

    color: #dbe7f7;
}

.required {
    color: var(--orange);
}

input,
select,
textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.04);

    color: var(--text);

    padding: 16px 18px;

    font-size: 15px;

    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);

    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(255, 122, 26, 0.6);

    background: rgba(255, 255, 255, 0.06);

    box-shadow:
        0 0 0 4px rgba(255, 122, 26, 0.12);

    transform: translateY(-1px);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.field-error {
    margin-top: 10px;
    color: #ffb0b3;
    font-size: 14px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 10px;
}

button {
    appearance: none;
    border: none;

    background: linear-gradient(
        135deg,
        var(--orange),
        #ff9c4f
    );

    color: #ffffff;

    padding: 16px 28px;

    border-radius: 18px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        opacity var(--transition);

    box-shadow:
        0 12px 30px rgba(255, 122, 26, 0.32);
}

button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 38px rgba(255, 122, 26, 0.42);
}

button:active {
    transform: translateY(0);
}

.workflow-fields[hidden] {
    display: none !important;
}

code {
    display: inline-block;

    background: #08172d;
    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 8px;

    padding: 3px 8px;

    font-size: 14px;
}

@media (max-width: 920px) {
    .hero {
        flex-direction: column;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .form-group.span-2 {
        grid-column: span 1;
    }

    .user-card {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .app-shell {
        padding: 28px 18px 60px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .panel {
        padding: 24px;
    }

    button {
        width: 100%;
    }

    .form-actions {
        justify-content: stretch;
    }
}

.preview-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;

    margin-bottom: 28px;
}

.preview-card {
    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    padding: 20px;
}

.preview-card span {
    display: block;

    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.preview-card strong {
    font-size: 16px;
    line-height: 1.5;

    word-break: break-word;
}

.preview-mail {
    margin-top: 12px;
    margin-bottom: 30px;

    border-radius: 24px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.28);
}

.preview-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 16px;
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 24px;

    border-radius: 18px;

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.08);

    color: var(--text);

    text-decoration: none;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.button-secondary:hover {
    transform: translateY(-2px);

    background:
        rgba(255,255,255,0.09);

    border-color:
        rgba(255,255,255,0.16);
}

@media (max-width: 920px) {
    .preview-meta {
        grid-template-columns: 1fr;
    }

    .preview-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button-secondary {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .app-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        height: auto;

        padding: 18px;

        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .sidebar-brand {
        margin-bottom: 18px;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .sidebar-nav a {
        white-space: nowrap;
    }

    .sidebar-footer {
        display: none;
    }

    .content-area .app-shell {
        padding: 28px 18px 60px;
    }
}

.text-link {
    color: var(--orange);
    text-decoration: none;
}

.text-link:hover {
    color: var(--orange-hover);
}

.history-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

.history-table th,
.history-table td {
    padding: 18px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.history-table th {
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.history-table td {
    color: var(--text);
    font-size: 14px;
}

.history-table span {
    color: var(--text-muted);
}

.table-error {
    color: #ffb0b3 !important;
}

.status-pill {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.status-sent {
    background: rgba(46, 204, 113, 0.14);
    color: #b8ffd5;
}

.status-failed {
    background: rgba(255, 90, 95, 0.14);
    color: #ffd2d4;
}

.empty-state {
    text-align: center;
    padding: 56px 20px;
}

.empty-state h2 {
    margin: 0 0 10px;
}

.empty-state p {
    margin: 0;
    color: var(--text-muted);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.detail-card,
.payload-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 20px;
}

.detail-card span,
.payload-item span {
    display: block;
    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-card strong,
.payload-item strong {
    display: block;

    color: var(--text);

    font-size: 16px;
    line-height: 1.5;

    word-break: break-word;
}

.detail-card small {
    display: block;

    margin-top: 8px;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.5;

    word-break: break-word;
}

.payload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.history-back {
    margin-top: 24px;

    display: flex;
    justify-content: flex-start;
}

@media (max-width: 920px) {
    .detail-grid,
    .payload-grid {
        grid-template-columns: 1fr;
    }
}

.customer-search {
    margin: 0;
}

.customer-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
}

.customer-search-actions {
    margin-top: 0;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.customer-card {
    display: block;

    padding: 24px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;

    color: var(--text);
    text-decoration: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.customer-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,122,26,0.35);
    box-shadow: 0 18px 42px rgba(0,0,0,0.26);
}

.customer-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;

    margin-bottom: 22px;
}

.customer-card h2 {
    margin: 0 0 8px;

    font-size: 22px;
    line-height: 1.2;
}

.customer-card p {
    margin: 0;

    color: var(--text-muted);

    word-break: break-word;
}

.customer-status {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
}

.customer-status.active {
    background: rgba(46, 204, 113, 0.14);
    color: #b8ffd5;
}

.customer-status.inactive {
    background: rgba(255, 90, 95, 0.14);
    color: #ffd2d4;
}

.customer-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.customer-meta span {
    display: block;

    margin-bottom: 6px;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.customer-meta strong {
    display: block;

    font-size: 15px;
    line-height: 1.45;

    word-break: break-word;
}

.customer-footer {
    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: var(--text-muted);

    font-size: 14px;
}

@media (max-width: 920px) {
    .customer-search-grid {
        grid-template-columns: 1fr;
    }

    .customer-grid {
        grid-template-columns: 1fr;
    }
}

.customer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.timeline-item {
    position: relative;

    padding: 22px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
}

.timeline-meta {
    margin-bottom: 14px;
}

.timeline-meta strong {
    display: block;

    color: var(--text);

    font-size: 17px;
    line-height: 1.4;
}

.timeline-meta span {
    display: block;

    margin-top: 6px;

    color: var(--text-muted);

    font-size: 14px;
}

.timeline-item p {
    margin: 16px 0 0;

    color: var(--text-muted);

    line-height: 1.7;
}

.payload-item small {
    display: block;

    margin-top: 8px;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.5;

    word-break: break-word;
}

@media (max-width: 640px) {
    .customer-actions {
        flex-direction: column;
    }

    .customer-actions .button-secondary {
        width: 100%;
    }
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;

    margin-bottom: 28px;
}

.stat-card {
    padding: 24px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;

    box-shadow: var(--shadow);
}

.stat-card span {
    display: block;

    margin-bottom: 12px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-card strong {
    display: block;

    color: var(--text);

    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-wide {
    grid-column: span 2;
}

.dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-list-item {
    display: block;

    padding: 18px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    color: var(--text);
    text-decoration: none;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.dashboard-list-item:hover {
    transform: translateY(-2px);

    background: rgba(255,255,255,0.06);
    border-color: rgba(255,122,26,0.28);
}

.dashboard-list-item strong {
    display: block;

    margin-bottom: 6px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.45;
}

.dashboard-list-item span {
    display: block;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.5;
}

.dashboard-list-item small {
    display: block;

    margin-top: 8px;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.5;
}

.mini-empty {
    padding: 24px;

    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 18px;

    color: var(--text-muted);

    font-size: 15px;
}

@media (max-width: 1100px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-wide {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

.sidebar-search {
    position: relative;
    margin-bottom: 34px;
    z-index: 50;
}

.sidebar-search label {
    display: block;
    margin-bottom: 10px;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-search input {
    width: 100%;
    height: 48px;

    padding: 0 16px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;

    color: var(--text);

    font-size: 14px;

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);

    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.sidebar-search input:focus {
    outline: none;

    border-color: rgba(255,122,26,0.55);
    background: rgba(255,255,255,0.08);

    box-shadow:
        0 0 0 4px rgba(255,122,26,0.12),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

.sidebar-search-results {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;

    z-index: 100;

    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 10px;

    background: #101f34;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;

    box-shadow:
        0 22px 54px rgba(0,0,0,0.45);

    max-height: 360px;
    overflow-y: auto;
}

.sidebar-search-results[hidden] {
    display: none !important;
}

.sidebar-search-item {
    display: block;

    padding: 13px 14px;

    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;

    color: var(--text);
    text-decoration: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.sidebar-search-item:hover {
    transform: translateY(-1px);

    background: rgba(255,255,255,0.075);
    border-color: rgba(255,122,26,0.32);
}

.sidebar-search-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 6px;
}

.sidebar-search-item strong {
    display: block;

    color: var(--text);

    font-size: 14px;
    line-height: 1.35;
}

.sidebar-search-item span {
    display: block;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.45;

    word-break: break-word;
}

.sidebar-search-item small {
    display: block;

    margin-top: 5px;

    color: var(--orange);

    font-size: 12px;
    line-height: 1.35;

    word-break: break-word;
}

.sidebar-search-status {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;
}

.sidebar-search-status.active {
    background: rgba(46, 204, 113, 0.14);
    color: #b8ffd5;
}

.sidebar-search-status.inactive {
    background: rgba(255, 90, 95, 0.14);
    color: #ffd2d4;
}

.sidebar-search-empty {
    padding: 14px;

    color: var(--text-muted);

    font-size: 13px;
    text-align: center;
}

.time-input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.time-now-button {
    min-height: auto;
    height: 54px;
    padding: 0 18px;
    white-space: nowrap;
}

#time_duration {
    font-weight: 800;
    color: var(--orange);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 640px) {
    .time-input-group {
        grid-template-columns: 1fr;
    }

    .time-now-button {
        width: 100%;
    }
}

.time-tracker-live {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 32px;

    padding: 22px 24px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;
}

.time-live-display {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.time-live-display span {
    color: var(--text-muted);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.time-live-display strong {
    color: var(--text);

    font-size: 40px;
    line-height: 1;

    font-weight: 800;
    letter-spacing: -0.05em;

    font-variant-numeric: tabular-nums;
}

.time-live-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.time-live-actions .button-secondary {
    min-width: 160px;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;
}

#start_live_timer {
    background: linear-gradient(
        180deg,
        rgba(255,122,26,0.18),
        rgba(255,122,26,0.12)
    );

    border-color: rgba(255,122,26,0.28);
}

#start_live_timer:hover:not(:disabled) {
    background: linear-gradient(
        180deg,
        rgba(255,122,26,0.24),
        rgba(255,122,26,0.16)
    );
}

@media (max-width: 860px) {
    .time-tracker-live {
        flex-direction: column;
        align-items: stretch;
    }

    .time-live-actions {
        width: 100%;
        flex-direction: column;
    }

    .time-live-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }
}

.time-icon-button {
    min-width: 58px !important;
    width: 58px;
    height: 58px !important;

    padding: 0 !important;

    font-size: 20px;
    font-weight: 800;
}

.history-table input[type="time"],
.history-table input[type="text"] {
    min-width: 130px;
    padding: 10px 12px;

    border-radius: 12px;

    font-size: 13px;
}

.history-table input[type="text"] {
    min-width: 220px;
}

.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.table-action-button {
    min-height: 40px;
    padding: 0 14px;

    border-radius: 12px;

    font-size: 13px;
}

.table-action-button.danger {
    color: #ffd2d4;

    background: rgba(255, 90, 95, 0.12);
    border-color: rgba(255, 90, 95, 0.24);
}

.table-action-button.danger:hover {
    background: rgba(255, 90, 95, 0.18);
    border-color: rgba(255, 90, 95, 0.34);
}

@media (max-width: 920px) {
    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .table-action-button {
        width: 100%;
    }
}

.report-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 0.9fr auto;
    gap: 20px;
    align-items: end;
}

.report-filter-grid .form-actions {
    margin: 0;
    align-self: end;
}

.report-filter-grid .form-actions button {
    height: 54px;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .report-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .report-filter-grid {
        grid-template-columns: 1fr;
    }
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 28px;
}

.time-calendar {
    width: 100%;
}

.time-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;

    margin-bottom: 12px;
}

.time-calendar-weekdays div {
    color: var(--text-muted);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    padding: 0 6px;
}

.time-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.time-calendar-day {
    min-height: 150px;

    padding: 14px;

    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.time-calendar-day.empty {
    opacity: 0.35;
    background: transparent;
    border-style: dashed;
}

.time-calendar-day.has-entries:hover {
    transform: translateY(-2px);
    border-color: rgba(255,122,26,0.28);
    background: rgba(255,255,255,0.045);
}

.time-calendar-day.today {
    border-color: rgba(255,122,26,0.45);
    box-shadow: 0 0 0 3px rgba(255,122,26,0.08);
}

.time-calendar-day.intensity-low.has-entries {
    background: rgba(255,255,255,0.04);
}

.time-calendar-day.intensity-medium.has-entries {
    background: rgba(255,122,26,0.08);
    border-color: rgba(255,122,26,0.16);
}

.time-calendar-day.intensity-high.has-entries {
    background: rgba(255,122,26,0.14);
    border-color: rgba(255,122,26,0.26);
}

.calendar-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 12px;
}

.calendar-day-header strong {
    color: var(--text);

    font-size: 16px;
}

.calendar-day-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 24px;

    border-radius: 999px;

    background: rgba(255,255,255,0.08);

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 800;
}

.calendar-day-duration {
    margin-bottom: 12px;

    color: var(--orange);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.04em;
}

.calendar-day-entries {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calendar-entry {
    padding: 8px 10px;

    background: rgba(0,0,0,0.16);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

.calendar-entry strong {
    display: block;

    color: var(--text);

    font-size: 12px;
    line-height: 1.35;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-entry span {
    display: block;

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 12px;
}

.calendar-entry-more {
    color: var(--text-muted);

    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .time-calendar-grid,
    .time-calendar-weekdays {
        gap: 8px;
    }

    .time-calendar-day {
        min-height: 130px;
        padding: 12px;
    }

    .calendar-day-duration {
        font-size: 18px;
    }
}

@media (max-width: 860px) {
    .calendar-navigation {
        flex-direction: column;
    }

    .calendar-navigation .button-secondary {
        width: 100%;
    }

    .time-calendar-weekdays {
        display: none;
    }

    .time-calendar-grid {
        grid-template-columns: 1fr;
    }

    .time-calendar-day.empty {
        display: none;
    }

    .time-calendar-day {
        min-height: auto;
    }
}

.mailing-member-search {
    position: relative;
}

.mailing-search-results {
    margin-top: 18px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mailing-search-results[hidden] {
    display: none !important;
}

.mailing-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;

    padding: 18px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.mailing-search-item strong {
    display: block;

    color: var(--text);

    font-size: 16px;
    line-height: 1.4;
}

.mailing-search-item span {
    display: block;

    margin-top: 4px;

    color: var(--text-muted);

    font-size: 14px;
}

.mailing-search-item small {
    display: block;

    margin-top: 4px;

    color: var(--orange);

    font-size: 13px;
}

.mailing-search-item button {
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .mailing-search-item {
        flex-direction: column;
        align-items: stretch;
    }

    .mailing-search-item button {
        width: 100%;
    }
}

.campaign-recipient-wrap {
    overflow-x: auto;

    margin-top: 12px;
}

.campaign-recipient-table {
    width: 100%;
    border-collapse: collapse;
}

.campaign-recipient-table thead th {
    padding: 18px 20px;

    text-align: left;

    color: #6b7d99;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(15,35,60,0.08);
}

.campaign-recipient-table tbody td {
    padding: 18px 20px;

    color: #14233b;

    font-size: 15px;
    line-height: 1.5;

    border-bottom: 1px solid rgba(15,35,60,0.06);

    vertical-align: middle;
}

.campaign-recipient-table tbody tr:hover {
    background: rgba(15,35,60,0.03);
}

.campaign-recipient-table a {
    color: #14233b;

    text-decoration: none;
    font-weight: 600;
}

.campaign-recipient-table a:hover {
    color: var(--orange);
}

.campaign-recipient-table .status-pill {
    color: #ff7a1a;
}

.campaign-recipient-table .table-error {
    display: inline-block;

    margin-top: 6px;

    color: #c0392b;

    font-size: 12px;
    line-height: 1.5;
}

.sidebar-user {
    margin-top: auto;

    padding: 18px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.sidebar-user span,
.sidebar-user small {
    display: block;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.5;
}

.sidebar-user strong {
    display: block;

    margin: 4px 0;

    color: var(--text);

    font-size: 15px;
    line-height: 1.4;
}

.sidebar-user a {
    display: inline-flex;

    margin-top: 12px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
}

.sidebar-user a:hover {
    color: var(--orange-hover);
}

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at top left, rgba(255,122,26,0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(47,93,151,0.24), transparent 34%),
        linear-gradient(135deg, #061426, #0b1f3a);
}

.login-shell {
    width: 100%;
    max-width: 460px;

    padding: 28px;
}

.login-card {
    padding: 36px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;

    box-shadow:
        0 28px 80px rgba(0,0,0,0.35);

    backdrop-filter: blur(22px);
}

.login-brand {
    margin-bottom: 30px;
}

.login-brand span {
    display: block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.login-brand strong {
    color: var(--text);

    font-size: 26px;
    letter-spacing: -0.04em;
}

.login-card h1 {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 34px;
    letter-spacing: -0.05em;
}

.login-card > p {
    margin: 0 0 28px;

    color: var(--text-muted);

    line-height: 1.6;
}

.login-card .mail-form {
    margin-top: 26px;
}

.login-card .form-actions {
    margin-top: 26px;
}

.login-card button {
    width: 100%;
}

@media (max-width: 520px) {
    .login-shell {
        padding: 18px;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .login-card h1 {
        font-size: 30px;
    }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 32px;

    background: rgba(6,20,38,0.82);
    border-bottom: 1px solid rgba(255,255,255,0.06);

    backdrop-filter: blur(18px);
}

.topbar-title {
    color: var(--text);

    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-user span {
    display: block;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.topbar-user strong {
    display: block;

    color: var(--text);

    font-size: 14px;
    line-height: 1.4;
}

.topbar-role {
    padding: 8px 12px !important;

    border-radius: 999px;

    background: rgba(255,122,26,0.16);

    color: var(--orange) !important;

    font-size: 11px !important;
    font-weight: 800;

    letter-spacing: .08em;
}

.topbar-logout {
    color: var(--orange);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;
}

.topbar-logout:hover {
    color: var(--orange-hover);
}

body {
    display: flex;

    min-height: 100vh;

    overflow-x: hidden;
}

.app-main {
    flex: 1;

    display: flex;
    flex-direction: column;

    min-width: 0;
}

.app-content {
    flex: 1;

    padding: 32px;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.permission-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.permission-card:hover {
    transform: translateY(-1px);

    background: rgba(255,255,255,0.06);
    border-color: rgba(255,122,26,0.24);
}

.permission-card input {
    width: 18px;
    height: 18px;

    margin-top: 3px;

    accent-color: var(--orange);
    flex-shrink: 0;
}

.permission-card strong {
    display: block;

    color: var(--text);

    font-size: 15px;
    line-height: 1.4;
}

.permission-card span {
    display: block;

    margin-top: 5px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.4;

    word-break: break-word;
}

.permission-card.single {
    height: 100%;
    align-items: center;
}

.permission-card.single input {
    margin-top: 0;
}

.form-hint {
    margin: 14px 0 0;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.5;
}

.button-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border-radius: 14px;
    border: 1px solid rgba(255, 90, 95, 0.32);

    background: rgba(255, 90, 95, 0.16);

    color: #ffd2d4;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.button-danger:hover {
    transform: translateY(-1px);

    background: rgba(255, 90, 95, 0.24);
    border-color: rgba(255, 90, 95, 0.44);
}

@media (max-width: 900px) {
    .permission-grid {
        grid-template-columns: 1fr;
    }
}

.topbar-account {
    color: var(--text);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: color var(--transition);
}

.topbar-account:hover {
    color: var(--orange);
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.account-info-card {
    padding: 24px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
}

.account-info-card span {
    display: block;

    margin-bottom: 10px;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.account-info-card strong {
    display: block;

    color: var(--text);

    font-size: 18px;
    line-height: 1.35;

    word-break: break-word;
}

@media (max-width: 980px) {
    .account-info-grid {
        grid-template-columns: 1fr;
    }
}

.panel-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-wrap: wrap;
}

.login-user-agent {
    display: inline-block;

    max-width: 420px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.5;

    word-break: break-word;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.health-card {
    padding: 24px;

    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.025)
        );
}

.health-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 12px;
    margin-bottom: 16px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.health-card strong {
    display: block;

    margin-bottom: 10px;

    color: var(--text);

    font-size: 20px;
    letter-spacing: -0.03em;
}

.health-card p {
    margin: 0;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.7;
}

.health-ok {
    border-color: rgba(46, 204, 113, 0.18);
}

.health-ok span {
    background: rgba(46, 204, 113, 0.16);
    color: #b8ffd5;
}

.health-failed {
    border-color: rgba(255, 90, 95, 0.24);
}

.health-failed span {
    background: rgba(255, 90, 95, 0.18);
    color: #ffd2d4;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;

    margin-top: 24px;
}

.document-card {
    display: block;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;

    text-decoration: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.document-card:hover {
    transform: translateY(-2px);

    background: rgba(255,255,255,0.06);
    border-color: rgba(255,122,26,0.28);
}

.document-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 28px;

    padding: 0 10px;
    margin-bottom: 14px;

    border-radius: 999px;

    background: rgba(255,90,95,0.14);

    color: #ffd2d4;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.document-card strong {
    display: block;

    color: var(--text);

    font-size: 16px;
    line-height: 1.4;

    word-break: break-word;
}

.document-card small {
    display: block;

    margin-top: 10px;

    color: var(--text-muted);

    font-size: 12px;
}

.payload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.payload-item {
    display: block;

    padding: 22px;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.08);

    text-decoration: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.payload-item:hover {
    transform: translateY(-2px);

    background: rgba(255,255,255,0.06);
    border-color: rgba(255,122,26,0.26);
}

.payload-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 12px;
    margin-bottom: 14px;

    border-radius: 999px;

    background: rgba(255,90,95,0.14);

    color: #ffd2d4;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.payload-item strong {
    display: block;

    color: var(--text);

    font-size: 16px;
    line-height: 1.45;

    word-break: break-word;
}

.payload-item small {
    display: block;

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.5;

    word-break: break-all;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(0,0,0,0.58);
    backdrop-filter: blur(12px);
}

.modal-overlay[hidden] {
    display: none !important;
}

.modal-card {
    width: 100%;
    max-width: 560px;

    padding: 28px;

    background: #0b1f3a;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;

    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.modal-header h2 {
    margin: 0 0 8px;

    color: var(--text);

    font-size: 24px;
}

.modal-header p {
    margin: 0;

    color: var(--text-muted);
}

.modal-close {
    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;

    background: rgba(255,255,255,0.05);

    color: var(--text);
    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.modal-close:hover {
    background: rgba(255,255,255,0.10);
    color: var(--orange);
}

.file-upload-field {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px;

    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,0.18);

    background: rgba(255,255,255,0.035);

    cursor: pointer;
}

.file-upload-field:hover {
    border-color: rgba(255,122,26,0.45);
    background: rgba(255,255,255,0.055);
}

.file-upload-field input {
    display: none;
}

.file-upload-field span {
    flex-shrink: 0;

    padding: 10px 14px;

    border-radius: 12px;

    background: rgba(255,122,26,0.16);

    color: var(--orange);

    font-size: 13px;
    font-weight: 900;
}

.file-upload-field strong {
    color: var(--text-muted);

    font-size: 14px;
    font-weight: 700;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.hosting-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hosting-card {
    display: block;

    padding: 22px;

    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.025)
        );

    text-decoration: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.hosting-card:hover {
    transform: translateY(-2px);

    background: rgba(255,255,255,0.06);
    border-color: rgba(255,122,26,0.26);
}

.hosting-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 22px;
}

.hosting-card-header strong {
    display: block;

    color: var(--text);

    font-size: 18px;
    line-height: 1.35;
}

.hosting-card-header span {
    display: block;

    margin-top: 6px;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.4;
}

.hosting-status {
    height: 28px;

    padding: 0 12px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: rgba(255,255,255,0.08);

    color: var(--text-muted) !important;

    font-size: 11px !important;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.hosting-card-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hosting-grid.compact .hosting-card-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hosting-card-body span {
    display: block;

    margin-bottom: 6px;

    color: var(--text-muted);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.hosting-card-body strong {
    display: block;

    color: var(--text);

    font-size: 15px;
    line-height: 1.35;
}

.hosting-warning {
    border-color: rgba(255, 193, 7, 0.26);
}

.hosting-warning .hosting-status {
    background: rgba(255, 193, 7, 0.16);
    color: #ffe7a3 !important;
}

.hosting-danger {
    border-color: rgba(255, 90, 95, 0.30);
}

.hosting-danger .hosting-status {
    background: rgba(255, 90, 95, 0.18);
    color: #ffd2d4 !important;
}

.hosting-ok {
    border-color: rgba(46, 204, 113, 0.18);
}

.hosting-ok .hosting-status {
    background: rgba(46, 204, 113, 0.14);
    color: #b8ffd5 !important;
}

.hosting-neutral .hosting-status {
    background: rgba(255,255,255,0.08);
}

@media (max-width: 760px) {
    .hosting-card-body,
    .hosting-grid.compact .hosting-card-body {
        grid-template-columns: 1fr;
    }

    .hosting-card-header {
        flex-direction: column;
    }
}

.hero-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quick-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;

    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.035);
}

.quick-action {
    width: 44px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;

    background: rgba(255,255,255,0.045);

    color: var(--text);
    text-decoration: none;

    font-size: 20px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.quick-action:hover {
    transform: translateY(-2px);

    background: rgba(255,122,26,0.16);
    border-color: rgba(255,122,26,0.35);

    color: var(--orange);
}

button.quick-action {
    font-family: inherit;
}

@media (max-width: 900px) {
    .hero-side {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .quick-actions {
        justify-content: flex-start;
    }
}