:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #2d2935; background: #f6f5f2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% 10%, #fff0ea 0, transparent 28rem), #f6f5f2; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.card { width: min(100%, 31rem); background: #fff; border: 1px solid #e7e4df; border-radius: 12px; box-shadow: 0 18px 48px rgba(39, 34, 51, .10); padding: 2.25rem; }
.card-wide { width: min(100%, 78rem); }
.brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 2.1rem; color: #5f5968; font-size: .93rem; font-weight: 650; }
.mark { color: #ff6d5a; font-size: 1.45rem; font-weight: 800; letter-spacing: -.08em; }
.divider { height: 1.35rem; width: 1px; background: #ddd8d1; }
h1 { margin: 0 0 .8rem; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.025em; }
.intro { margin: 0 0 1.5rem; color: #6b6572; line-height: 1.55; }
label { display: block; margin: .9rem 0 .5rem; font-size: .9rem; font-weight: 650; }
input, select { width: 100%; height: 2.85rem; border: 1px solid #c9c4ce; border-radius: 7px; padding: 0 .85rem; font: inherit; color: inherit; background: #fff; outline: none; transition: border .15s, box-shadow .15s; }
input:focus, select:focus { border-color: #ff6d5a; box-shadow: 0 0 0 3px rgba(255, 109, 90, .16); }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .55rem; }
.otp-digit { height: 3.4rem; padding: 0; text-align: center; font-size: 1.45rem; font-weight: 720; font-variant-numeric: tabular-nums; }
button { width: 100%; min-height: 2.85rem; margin-top: 1.15rem; border: 0; border-radius: 7px; padding: .7rem 1rem; background: #ff6d5a; color: #fff; font: inherit; font-weight: 720; cursor: pointer; }
button:hover { background: #ee5f4d; }
.error { border: 1px solid #f2aaa1; border-radius: 7px; background: #fff2f0; color: #9a2e24; padding: .75rem .85rem; line-height: 1.4; }
.notice { border: 1px solid #a8d7b2; border-radius: 7px; background: #f0faf2; color: #235d2d; padding: .75rem .85rem; line-height: 1.4; }
.fineprint { margin: 1.6rem 0 0; color: #837c89; font-size: .78rem; line-height: 1.45; text-align: center; }
.secondary { margin: 1rem 0 0; text-align: center; font-size: .86rem; }
.secondary-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.2rem; margin-top: 1rem; font-size: .86rem; }
a { color: #665f72; }
.account-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: -1rem 0 1.75rem; padding-bottom: .9rem; border-bottom: 1px solid #ece9e4; font-size: .88rem; }
.account-nav form { margin-left: auto; }
.link-button { width: auto; min-height: 0; margin: 0; padding: 0; color: #665f72; background: none; font-weight: 500; text-decoration: underline; }
.link-button:hover { background: none; color: #302b37; }
.qr { display: grid; justify-items: center; gap: .75rem; margin: 1.25rem 0; }
.qr img { width: 240px; height: 240px; }
.qr code { font-size: .84rem; word-break: break-all; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; padding: 1rem 1rem 1rem 2.4rem; background: #f7f6f3; border-radius: 8px; }
.button-link { display: block; margin-top: 1rem; border-radius: 7px; padding: .8rem 1rem; background: #ff6d5a; color: #fff; text-align: center; text-decoration: none; font-weight: 720; }
section + section { margin-top: 2rem; }
h2 { margin: 0 0 .8rem; font-size: 1.15rem; }
.create-user { display: grid; grid-template-columns: minmax(15rem, 2fr) minmax(9rem, 1fr) auto; gap: .75rem; align-items: end; }
.create-user label { grid-row: 1; margin: 0; }
.create-user input, .create-user select { grid-row: 2; }
.create-user button { grid-row: 2; margin: 0; width: auto; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th, td { padding: .65rem .5rem; border-bottom: 1px solid #ece9e4; text-align: left; vertical-align: top; }
th { color: #665f72; }
.actions { min-width: 24rem; }
.inline-form { display: inline; }
button.small { width: auto; min-height: 0; margin: .12rem; padding: .42rem .55rem; font-size: .75rem; background: #625b6d; }
button.small.danger { background: #9a3e34; }
.pill { display: inline-block; padding: .18rem .42rem; border-radius: 999px; background: #f0eee9; }
@media (max-width: 720px) { .card { padding: 1.6rem 1.25rem; } .otp { gap: .35rem; } .otp-digit { height: 3rem; font-size: 1.25rem; } .create-user { display: block; } .create-user button { width: 100%; margin-top: 1rem; } .recovery-codes { grid-template-columns: 1fr; } }
