:root { font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; color: #17243a; background: #f1f4f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.shell { width: min(100% - 32px, 420px); margin: 0 auto; padding: 48px 0; }
.hidden { display: none !important; }
.auth-disabled .logout-button { display: none; }
.view { display: grid; gap: 24px; }
.brand { text-align: center; }
.brand h1 { margin: 12px 0 2px; font-size: 26px; }
.brand p { margin: 0; color: #718096; font-size: 14px; }
.logo { display: inline-grid; place-items: center; width: 54px; height: 54px; color: white; background: #1756a9; border-radius: 16px; font-size: 28px; font-weight: 800; box-shadow: 0 8px 24px #1756a933; }
.brand.compact { display: flex; align-items: center; gap: 12px; text-align: left; }
.brand.compact .logo { width: 44px; height: 44px; border-radius: 13px; font-size: 22px; }
.brand.compact h1 { margin: 0; font-size: 20px; }
.top { display: flex; justify-content: space-between; align-items: center; }
.card { display: grid; gap: 12px; padding: 24px; background: white; border: 1px solid #dfe5ed; border-radius: 20px; box-shadow: 0 8px 30px #1e36550d; }
label { font-size: 14px; font-weight: 700; }
input[type="text"], input[type="password"] { width: 100%; padding: 15px 16px; border: 1px solid #cdd7e3; border-radius: 12px; background: #f9fbfd; outline: none; font-size: 17px; }
input:focus { border-color: #1756a9; box-shadow: 0 0 0 3px #1756a918; }
button { border: 0; border-radius: 12px; padding: 15px; background: #1756a9; color: white; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.header-actions { display: grid; justify-items: end; gap: 2px; }
.link { padding: 4px 8px; color: #6b7c93; background: transparent; font-size: 12px; }
.primary-link { color: #1756a9; font-size: 13px; }
.duration { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duration label { position: relative; }
.duration input { position: absolute; opacity: 0; }
.duration span { display: grid; gap: 3px; padding: 14px; border: 1px solid #cdd7e3; border-radius: 12px; text-align: center; cursor: pointer; }
.duration input:checked + span { color: #1756a9; border-color: #1756a9; background: #edf5ff; box-shadow: 0 0 0 1px #1756a9; }
.duration strong { font-size: 20px; }
.duration small { color: #718096; font-weight: 500; }
.calendar-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; margin-top: 2px; }
.calendar-range label { display: grid; gap: 6px; color: #596b82; font-size: 12px; }
input[type="date"] { width: 100%; min-width: 0; padding: 11px 8px; border: 1px solid #cdd7e3; border-radius: 10px; background: #f9fbfd; color: #17243a; font-size: 13px; outline: none; }
.range-arrow { padding-bottom: 12px; color: #8290a3; }
.calendar-hint { margin-top: -4px; }
.vehicle-card { gap: 16px; padding: 18px; }
.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.list-heading button { padding: 9px 12px; font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid #dfe5ed; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; background: white; font-size: 12px; }
th, td { padding: 12px 6px; border-bottom: 1px solid #e7ecf2; text-align: center; word-break: keep-all; }
th { color: #596b82; background: #f5f8fb; font-weight: 800; }
td:first-child { color: #1756a9; font-weight: 800; font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
.delete-vehicle { padding: 7px 8px; border: 1px solid #f2b8bd; background: #fff1f2; color: #b4232f; border-radius: 8px; font-size: 11px; }
.hint, .footnote { margin: 0; color: #718096; text-align: center; font-size: 12px; }
.message { margin: 2px 0; padding: 12px; border-radius: 10px; white-space: pre-line; font-size: 13px; font-weight: 700; text-align: center; }
.error { color: #aa2430; background: #fff0f1; border: 1px solid #ffd4d8; }
.success { color: #14713c; background: #ebf9f1; border: 1px solid #c9efd9; }
@media (max-width: 420px) { .shell { padding-top: 28px; } .card { padding: 20px; } }
