:root {
    --bg: #f4f7f6;
    --panel: #ffffff;
    --text: #152422;
    --muted: #667673;
    --brand: #0c6264;
    --brand-dark: #08484a;
    --line: #d8e2df;
    --error-bg: #fde8e8;
    --error-text: #8a1f1f;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

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

.screen {
    width: min(100%, 520px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 22px 16px 32px;
}

.screen-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.brand {
    display: grid;
    gap: 8px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

h1,
p {
    margin: 0;
}

h1 {
    font-size: 30px;
    line-height: 1.1;
}

.muted,
.brand p {
    color: var(--muted);
}

.form-card,
.panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.form-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

input,
button,
.ghost-button {
    min-height: 48px;
    border-radius: 8px;
    font: inherit;
}

input {
    width: 100%;
    border: 1px solid var(--line);
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
}

button {
    width: 100%;
    border: 0;
    padding: 12px 14px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}

button:active {
    background: var(--brand-dark);
}

button:disabled {
    background: #d3ddda;
    color: #687875;
}

.notice {
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
}

.notice.error {
    background: var(--error-bg);
    color: var(--error-text);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
}

.panel {
    padding: 16px;
}

.menu-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
