:root {
    --bg: #f7f4ef;
    --surface: #fffdf9;
    --primary: #12372a;
    --text: #1f2933;
    --muted: #6b7280;
    --accent: #ff6b1a;
    --accent-strong: #e95500;
    --line: #ead8ca;
    --shadow: 0 18px 45px rgba(75, 45, 24, 0.10);
    --plexo-orange: #ff6b1a;
    --plexo-orange-dark: #e95500;
    --plexo-green: #12372a;
    --plexo-green-soft: #1c4a39;
    --plexo-green-pale: #e7f2ec;
    --plexo-bg: #f7f4ef;
    --plexo-surface: #fffdf9;
    --plexo-surface-alt: #f3ede6;
    --plexo-border: #ead8ca;
    --plexo-ink: #111827;
    --plexo-cream: #fff7f0;
    --plexo-sand: #f5efe8;
    --plexo-peach: #fde6d8;
    --plexo-mint: #e9f5ef;
    --plexo-sky: #edf5ff;
    --plexo-gold: #f3c969;
    --plexo-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: white;
}

.section {
    padding: 54px 0;
}

.section.compact {
    padding-top: 12px;
}

.narrow {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 12px 28px rgba(255, 107, 26, 0.22);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--line);
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 52px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-visible {
    background: var(--plexo-green-pale);
    color: var(--primary);
}

.password-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(18, 55, 42, 0.14);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle .password-eye-off {
    display: none;
}

.password-toggle.is-visible .password-eye {
    display: none;
}

.password-toggle.is-visible .password-eye-off {
    display: block;
}

.flash {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.flash-success {
    background: #dff8ef;
    color: #07533f;
}

.flash-error {
    background: #ffe3ea;
    color: #8a1230;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e7f2ec;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

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

small {
    color: var(--muted);
}

.inline-form {
    display: inline;
    margin: 0;
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

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