:root { --ink: #15141f; --muted: #585f62; --line: #e0dfe5; --surface: #ffffff; --canvas: #fbfbfb; --navy: #173a2c; --brand-green: #00733c; --brand-green-bright: #00b25c; --danger: #c8334a; }
html, body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
a { color: #00733c; }
h1, h2, h3, p { margin-top: 0; }
h1:focus { outline: none; }
h1 { font-size: clamp(2.1rem, 4.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 750; }
h2 { font-size: 1.15rem; letter-spacing: -.02em; }
code, .code-input { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
button, input, select, textarea { font: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .58rem 1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 680; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.btn:focus-visible, .form-control:focus, .form-select:focus { outline: 3px solid rgba(0,178,92,.28); outline-offset: 2px; box-shadow: none; }
.btn-primary { color: white; background: var(--brand-green); border-color: var(--brand-green); }
.btn-primary:hover { color: white; background: #005b30; }
.btn-quiet { color: #344257; background: white; border-color: var(--line); }
.btn-quiet:hover { background: #eef2f6; }
.btn-danger-quiet { color: var(--danger); background: transparent; border-color: transparent; }
.btn-danger-quiet:hover { background: #fff0f1; }
.hero-block { display: grid; grid-template-columns: 4.5rem minmax(0, 54rem); gap: 2rem; align-items: start; padding-top: clamp(2rem, 8vh, 6rem); }
.status-mark { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border: 1px solid #a9e1d8; border-radius: 50%; background: #e4f7f3; }
.status-mark span { width: .9rem; height: .9rem; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 .4rem rgba(0,115,60,.12); }
.status-line { margin-bottom: 1.5rem; color: var(--brand-green); font-weight: 700; }
.hero-copy { max-width: 41rem; margin: 1.8rem 0; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.endpoint-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin-top: clamp(4rem, 10vw, 8rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.endpoint-strip div { padding: 1.35rem 1.2rem; border-right: 1px solid var(--line); min-width: 0; }
.endpoint-strip div:first-child { padding-left: 0; }.endpoint-strip div:last-child { border-right: 0; }
.endpoint-strip span { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.endpoint-strip code { display: block; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.page-heading { display: flex; align-items: start; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.page-heading h1 { margin-bottom: .65rem; font-size: clamp(2rem, 3.5vw, 3.4rem); }.page-heading p { color: var(--muted); }
.editor-panel, .data-panel { margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.editor-panel { padding: clamp(1.25rem, 3vw, 2rem); }.compact-panel { margin: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }.section-heading h2 { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 720; }.field-help { color: var(--muted); font-size: .8rem; }
.form-control, .form-select { width: 100%; min-height: 2.75rem; padding: .6rem .72rem; border: 1px solid #b9c4d0; border-radius: .35rem; background: white; color: var(--ink); }
.secret-control { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .4rem; }.secret-control .btn { min-height: 2.75rem; }.secret-visibility { min-width: 4.25rem; }
textarea.form-control { min-height: 5.5rem; }.form-actions { display: flex; justify-content: flex-end; margin-top: .6rem; }
.notice { margin-bottom: 1rem; padding: .85rem 1rem; border-left: 4px solid; background: white; }.notice-success { border-color: var(--brand-green); }.notice-error { border-color: var(--danger); color: #761f29; }
.admin-table { width: 100%; border-collapse: collapse; }.admin-table th, .admin-table td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }.admin-table th { color: var(--muted); font-size: .78rem; font-weight: 750; }.admin-table tr:last-child td { border-bottom: 0; }.admin-table td > code { display: block; margin-top: .25rem; color: #42526a; font-size: .8rem; }
.type-badge { display: inline-block; padding: .22rem .5rem; border-radius: 2rem; background: #eaf0f5; color: #415169; font-size: .75rem; }.uri-list code { display: block; max-width: 24rem; overflow: hidden; text-overflow: ellipsis; }.row-actions { white-space: nowrap; text-align: right !important; }.row-actions .btn { min-height: 2rem; padding: .35rem .5rem; font-size: .82rem; }
.table-toolbar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }.search-input { max-width: 24rem; }.result-count { margin-left: auto; color: var(--muted); font-size: .82rem; white-space: nowrap; }.secondary-value { display: block; margin-top: .25rem; color: var(--muted); font-size: .82rem; }.status-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 680; }.status-badge span { width: .5rem; height: .5rem; border-radius: 50%; }.status-active span { background: var(--brand-green); }.status-disabled { color: var(--muted); }.status-disabled span { background: #8995a5; }.optional-label { color: var(--muted); font-size: .78rem; font-weight: 500; }.toggle-field { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; }.toggle-field .field-help { grid-column: 2; }.toggle-field .form-check-input { margin: 0; }
.empty-state, .state-message { padding: 4rem 2rem; text-align: center; }.empty-state p, .state-message { color: var(--muted); }.split-layout { display: grid; grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }.validation-message { color: var(--danger); }
.login-shell { max-width: 30rem; margin: clamp(2rem, 8vh, 5rem) auto 0; }
.login-shell:not(.login-split) { display: flex; align-items: center; max-width: 34rem; min-height: calc(100svh - 6rem); margin: 0 auto; padding: 2.5rem 0; }
.login-shell:not(.login-split) > .editor-panel { width: 100%; padding: clamp(1.75rem, 4vw, 2.5rem); }
.login-shell:not(.login-split) h1 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 2.65rem); line-height: 1.08; letter-spacing: -.045em; }
.login-shell:not(.login-split) .hero-copy { margin: 0 0 1.75rem; line-height: 1.5; }
.login-shell:not(.login-split) form .btn-primary { width: 100%; min-height: 3rem; }
.login-shell:not(.login-split) .auth-switch { margin-top: 1.5rem; padding-top: 0; border-top: 0; text-align: left; }
.confirmation-mark { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.75rem; border-radius: 50%; background: #e4f7ec; color: var(--brand-green); }
.confirmation-mark svg { width: 1.5rem; height: 1.5rem; }
.confirmation-panel .confirmation-action { width: 100%; min-height: 3rem; margin-top: .75rem; }
.login-shell.login-split { display: grid; grid-template-columns: minmax(0, 29rem) minmax(22rem, 1fr); min-height: min(40rem, calc(100vh - 8.5rem)); max-width: none; margin: clamp(1.5rem, 6vh, 4.5rem) 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; background: white; box-shadow: 0 24px 70px rgba(21,20,31,.08); }
.login-shell .login-panel { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: clamp(2rem, 5vw, 4.25rem); border: 0; border-radius: 0; }
.login-shell h1 { margin-bottom: .7rem; font-size: clamp(2.35rem, 5vw, 3.35rem); }
.login-error { display: flex; align-items: flex-start; gap: .75rem; margin: .4rem 0 1.25rem; padding: .9rem 1rem; border: 1px solid #e7b7c0; border-radius: .7rem; background: #fff4f5; color: #782739; }
.login-error-icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .1rem; }
.login-error strong { display: block; margin-bottom: .15rem; font-size: .94rem; font-weight: 700; line-height: 1.35; }
.login-error p { margin: 0; font-size: .88rem; line-height: 1.45; }
.login-shell .hero-copy { margin: 0 0 2rem; color: var(--muted); font-size: 1rem; }
.login-context { position: relative; display: flex; align-items: flex-end; min-width: 0; padding: clamp(2.2rem, 5vw, 4.5rem); overflow: hidden; background: #063f2b; color: white; }
.login-context::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(2,35,24,.92) 85%); content: ""; }
.login-context-mark { position: absolute; top: -12%; right: -13%; width: min(34rem, 88%); opacity: .9; transform: rotate(-7deg); filter: drop-shadow(0 22px 40px rgba(0,0,0,.2)); }
.login-context-copy { position: relative; z-index: 1; max-width: 31rem; }
.login-context h2 { max-width: 13ch; margin-bottom: 0; color: white; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.045em; }
.form-floating { display: flex; flex-direction: column; gap: .45rem; }
.form-floating > .form-control { order: 2; height: 3rem; min-height: 3rem; padding: .68rem .8rem; border-color: #c9c7cf; border-radius: .65rem; }
.form-floating > label { position: static; order: 1; width: auto; height: auto; padding: 0; color: var(--ink); font-size: .88rem; font-weight: 680; transform: none !important; opacity: 1 !important; }
.form-floating > .validation-message, .form-floating > .text-danger { order: 3; color: var(--danger); font-size: .88rem; line-height: 1.35; }
.form-floating > .form-control.invalid { border-color: var(--danger); }
.form-floating > .form-control.invalid:focus { outline-color: color-mix(in srgb, var(--danger) 28%, transparent); }
.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) { padding: .68rem .8rem; }
.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label { color: var(--ink); transform: none !important; }
.login-panel .form-floating { margin-bottom: 1.35rem !important; }
.login-panel form .btn { width: 100%; }
.login-panel .btn-primary { min-height: 3rem; border-radius: .65rem; }
.login-panel .passkey-action { min-height: 3rem; margin-top: .75rem; border-radius: .65rem; }
.login-panel .checkbox { margin: .1rem 0 1.4rem !important; }
.login-panel .form-check-input { margin-right: .35rem; accent-color: #00733c; }
.registration-shell { margin-top: clamp(1.5rem, 6vh, 4rem); }
.registration-shell .editor-panel { padding: clamp(1.5rem, 5vw, 2.25rem); }
.registration-shell h1 { margin: 0 0 1.75rem; font-size: clamp(2.25rem, 7vw, 2.75rem); line-height: 1.1; }
.registration-shell .form-floating { margin-bottom: 1.35rem !important; }
.registration-shell .password-guidance { order: 4; margin: 0; line-height: 1.5; }
.registration-shell form .btn-primary { width: 100%; min-height: 3rem; margin-top: .15rem; }
.auth-switch { margin: 1.75rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
.auth-switch a { font-weight: 700; }
.development-reset-link { display: block; overflow-wrap: anywhere; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .82rem; line-height: 1.55; }
.checkbox { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.checkbox .form-label { margin: 0; }.forgot-password-link { font-size: .9rem; font-weight: 650; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.valid.modified:not([type=checkbox]) { border-color: var(--brand-green); }.invalid { border-color: var(--danger); }
@media (max-width: 900px) { .split-layout { grid-template-columns: 1fr; }.endpoint-strip { grid-template-columns: 1fr; }.endpoint-strip div { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }.endpoint-strip div:last-child { border-bottom: 0; } }
@media (max-width: 900px) { .login-shell.login-split { grid-template-columns: 1fr; min-height: 0; max-width: 32rem; margin-inline: auto; }.login-context { display: none; } }
@media (max-width: 640px) { .hero-block { grid-template-columns: 1fr; gap: 1.2rem; }.status-mark { width: 3.25rem; height: 3.25rem; }.form-grid { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.toggle-field .field-help { grid-column: 2; }.secret-control { grid-template-columns: minmax(0, 1fr) auto; }.secret-control .form-control { grid-column: 1 / -1; }.page-heading { display: block; }.page-heading .btn { width: 100%; }.table-toolbar { align-items: stretch; flex-direction: column; }.search-input { max-width: none; }.result-count { margin-left: 0; }.table-responsive { overflow-x: auto; }.admin-table { min-width: 46rem; }.login-shell.login-split { margin-top: 2rem; border: 0; border-radius: 0; box-shadow: none; }.login-shell .login-panel { padding: 1rem .15rem 2rem; } }
@media (max-width: 640px) { .login-shell:not(.login-split) { min-height: calc(100svh - 5rem); padding: 2rem 0; }.login-shell:not(.login-split) > .editor-panel { padding: 1.5rem; } }
@media (max-width: 400px) { .registration-shell h1 { font-size: 2rem; }.registration-shell .auth-switch { font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
