:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #182b35; background: #f3f6f7; font-synthesis: none; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select { font: inherit; }
a { color: #176e60; }
.site-header { min-height: 86px; padding: 20px max(24px, calc((100vw - 1120px) / 2)); background: #fff; border-bottom: 1px solid #e1e8e9; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 20px; color: #183b35; text-decoration: none; white-space: nowrap; }
.brand-mark { background: #146d5e; color: white; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 19px; }
.brand-mark::before { content: ""; width: 10px; height: 10px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }
#account { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }
#account .notice { flex-basis: 100%; max-width: 340px; margin: 0; }
.account-label { max-width: 220px; overflow-wrap: anywhere; }
.container { width: min(1120px, calc(100% - 48px)); margin: 48px auto 72px; min-height: calc(100vh - 250px); }
.page-heading { margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: #176e60; margin: 0 0 10px; }
h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.035em; line-height: 1.2; margin: 0 0 14px; overflow-wrap: anywhere; }
h2 { font-size: 18px; letter-spacing: -.015em; margin: 0 0 24px; }
h3 { font-size: 15px; margin: 0 0 6px; }
p { margin-top: 0; }
.muted { color: #637780; font-size: 15px; margin-bottom: 0; }
.card { background: #fff; border: 1px solid #dfe7e8; border-radius: 16px; padding: 30px; margin-bottom: 24px; box-shadow: 0 3px 8px #213b4503; }
.login-card { max-width: 460px; margin: 70px auto 0; padding: 36px; }
.login-card h1 { font-size: 29px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 13px; font-weight: 600; }
input, select { width: 100%; padding: 11px 13px; color: #182b35; background: #fff; border: 1px solid #b9c9cc; border-radius: 8px; min-height: 46px; }
input:focus, select:focus { outline: 3px solid #c2e5dd; border-color: #176e60; }
.button { border: 1px solid transparent; border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; min-height: 42px; }
.button:focus-visible, a:focus-visible { outline: 3px solid #8ec9bb; outline-offset: 3px; }
.button-primary { background: #146d5e; color: white; }
.button-primary:hover { background: #10594d; }
.button-quiet { color: #345a60; background: #f1f5f5; border-color: #e1e9e9; }
.button-danger { color: #ab3737; background: #fff; border-color: #eed5d5; }
.button-danger:hover { background: #fff2f2; }
.button:disabled { opacity: .55; cursor: wait; }
.notice { margin: 0; color: #146d5e; font-size: 13px; overflow-wrap: anywhere; }
.notice:empty { display: none; }
.error { color: #a12c2c; }
.info { color: #405e67; background: #edf4f4; padding: 12px; border-radius: 8px; font-size: 13px; }
.hint { color: #637780; font-size: 12px; margin: 0; }
.admin-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.section-title h2 { margin: 0; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #eaf2ef; color: #146d5e; }
.users-card .notice { margin-bottom: 16px; }
.user-list { margin: 0; padding: 0; list-style: none; }
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid #edf1f2; }
.user-row:first-child { border-top: 0; padding-top: 0; }
.user-row:last-child { padding-bottom: 0; }
.user-details { min-width: 0; overflow-wrap: anywhere; }
.user-row h3 { font-size: 16px; }
.user-row .button { flex-shrink: 0; }
.key-count { display: inline-block; color: #637780; font-size: 12px; margin-top: 7px; }
.user-login { color: #405b66; font-size: 13px; margin: 0 0 6px; overflow-wrap: anywhere; }
.password-status { color: #8a6416; font-size: 12px; margin: 8px 0 0; }
.credentials { margin-top: 24px; padding-top: 24px; border-top: 1px solid #dfe7e8; }
.credentials h3 { margin: 0; }
.copy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.copy-row input { flex: 1 1 180px; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.copy-row .button { flex: 0 0 auto; }
.empty { padding: 36px 16px; text-align: center; background: #f7f9f9; border: 1px dashed #d9e4e4; border-radius: 10px; }
.empty p { max-width: 450px; margin: 0 auto; font-size: 14px; }
.instructions ol { margin: 0 0 24px; padding-left: 22px; color: #405b66; }
.instructions li { padding-left: 6px; margin-bottom: 12px; font-size: 14px; }
.site-footer { text-align: center; font-size: 12px; color: #7e9198; padding: 0 24px 28px; }
.loading { text-align: center; color: #637780; padding: 60px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.admin-nav .button { min-width: 112px; }
.section-title-spread { justify-content: space-between; flex-wrap: wrap; }
.managed-list { display: flex; flex-direction: column; gap: 24px; }
.managed-item { border-top: 1px solid #e6eded; padding-top: 24px; min-width: 0; }
.managed-item:first-child { border-top: 0; padding-top: 0; }
.managed-item .notice, .item-details .hint { margin-top: 8px; }
.item-heading { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.item-heading h3 { margin: 0; overflow-wrap: anywhere; }
.status { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #eff3f3; color: #637780; vertical-align: middle; }
.status-ready { background: #eaf2ef; color: #146d5e; }
.status-provisioning { background: #fff5dc; color: #8a6416; }
.status-error { background: #fff0f0; color: #a12c2c; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; min-height: 18px; padding: 0; margin: 2px 0 0; flex: 0 0 18px; accent-color: #146d5e; }
.compact-form { padding-top: 18px; margin-top: 18px; border-top: 1px solid #edf1f2; gap: 14px; }
.configuration-list { display: flex; flex-direction: column; gap: 18px; }
.configuration-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.configuration-list .configuration-row { border-top: 1px solid #edf1f2; padding-top: 20px; }
.configuration-list .configuration-row:first-child { border-top: 0; padding-top: 0; }
.configuration-row > .button { flex: 0 0 auto; }
.item-details { min-width: 0; overflow-wrap: anywhere; }
.item-details h3 { margin-bottom: 8px; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .admin-grid { grid-template-columns: 1fr; } .create-card { max-width: none; } }
@media (max-width: 500px) { .site-header { padding: 16px 20px; min-height: 74px; } .container { width: calc(100% - 32px); margin-top: 32px; } .card, .login-card { padding: 24px; border-radius: 12px; } .login-card { margin-top: 32px; } .account-label { max-width: 120px; } .user-row { gap: 12px; } }
@media (max-width: 600px) { .configuration-row { align-items: stretch; flex-direction: column; } .configuration-row > .button { align-self: flex-start; } }
