:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1e293b; background: #f3f6fa; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; }
.portal-shell { max-width: 560px; padding: 32px 18px; margin: 0 auto; }
header { padding: 0 4px 20px; }
h1 { font-size: 28px; line-height: 1.35; margin: 6px 0; }
h2 { font-size: 21px; margin: 0 0 8px; }
h3 { font-size: 16px; margin: 26px 0 8px; }
p { line-height: 1.7; }
.eyebrow { color: #2563eb; font-size: 13px; margin: 0; }
.muted, .help, footer { color: #58677a; }
.muted { margin: 4px 0 16px; font-size: 14px; }
.card { background: #fff; border: 1px solid #dfe6ef; border-radius: 16px; padding: 24px; }
label { display: block; font-size: 14px; margin: 20px 0 8px; font-weight: 600; }
input, select, button, .button { font: inherit; border-radius: 8px; min-height: 46px; }
input, select { width: 100%; border: 1px solid #b8c4d3; background: #fff; padding: 10px 12px; color: #1e293b; }
button, .button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid #2563eb; background: #2563eb; color: #fff; cursor: pointer; text-decoration: none; }
form > button { width: 100%; margin-top: 24px; }
button.secondary { color: #244a7b; background: #f6f9fe; border-color: #c6d3e5; }
:focus-visible { outline: 3px solid #91b7ff; outline-offset: 3px; }
.help { font-size: 13px; margin: 10px 0 0; }
.month-form { display: flex; align-items: center; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.month-form label { margin: 0; white-space: nowrap; }
.month-form select { width: auto; flex: 1; }
.month-form button { width: auto; margin: 0; }
.net-salary { padding: 20px; background: #edf4ff; border-radius: 10px; }
.net-salary p { margin: 0 0 5px; font-size: 14px; color: #405b81; }
.net-salary strong { font-size: 32px; color: #1c4b91; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
dl { margin: 12px 0; }
dl > div { display: flex; gap: 20px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #edf0f5; }
dt { color: #526173; overflow-wrap: anywhere; }
dd { margin: 0; font-variant-numeric: tabular-nums; }
.logout-form { margin-top: 24px; padding-top: 4px; border-top: 1px solid #e4eaf2; }
.entry-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 4px 0; }
.entry-links a { color: #2457a8; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.entry-form input { min-width: 0; }
footer { font-size: 12px; line-height: 1.7; padding: 18px 4px; }
@media (max-width: 380px) { .portal-shell { padding: 22px 12px; } .card { padding: 18px; } }
