:root {
    --sd-bg: #f3f1ec;
    --sd-ink: #1a1c1f;
    --sd-muted: #5c584f;
    --sd-sand: #e0a100;
    --sd-card: #fff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100dvh;
    background: var(--sd-bg);
    color: var(--sd-ink);
    font-family: "Segoe UI", system-ui, sans-serif;
}

.sd-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #0c0c0c;
}

.sd-logo {
    display: block;
    height: 52px;
    width: auto;
}

.sd-back,
.sd-logout {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.sd-main {
    width: min(760px, calc(100% - 32px));
    margin: 20px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-card {
    background: var(--sd-card);
    border-radius: 18px;
    padding: 20px 18px;
}

.sd-kicker {
    margin: 0 0 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

h1, h2, p { margin: 0; }

h1 { font-size: 1.6rem; }

h2 { font-size: 1.2rem; margin-bottom: 8px; }

.sd-card p + p { margin-top: 10px; }

.sd-facts,
.sd-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.sd-facts li,
.sd-services li {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f6f1e4;
}

.sd-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.sd-link {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

.sd-link-strong { background: #8a6200; }

.sd-login {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-login h1 { margin-bottom: 8px; }

.sd-login label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sd-muted);
}

.sd-login input {
    height: 48px;
    border: 1px solid #d9d3c6;
    border-radius: 12px;
    padding: 0 12px;
    font: inherit;
}

.sd-login button,
.sd-error { margin-top: 8px; }

.sd-login button {
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sd-error { color: #9f1239; font-weight: 650; }

.sd-empty { margin-top: 12px; color: var(--sd-muted); }

.sd-table-wrap { overflow-x: auto; margin-top: 14px; }

.sd-table {
    width: 100%;
    border-collapse: collapse;
}

.sd-table th,
.sd-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #eee6d8;
    white-space: nowrap;
}

.sd-table th {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sd-muted);
}
