:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172c38;
    background: #f2f6f7;
}

* { box-sizing: border-box; }
body { margin: 0; }

.panel {
    width: min(100%, 440px);
    padding: clamp(1.75rem, 5vw, 2.75rem);
    border: 1px solid #dce6e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 44, 56, .08);
}

.login-panel .brand-mark { display: grid; grid-template-columns: repeat(2, 10px); gap: 3px; width: max-content; margin-bottom: 1.5rem; transform: rotate(-12deg); }
.login-panel .brand-mark span { width: 10px; height: 10px; border-radius: 3px; background: #1a807d; }
.login-panel .brand-mark span:nth-child(2), .login-panel .brand-mark span:nth-child(3) { background: #7bc9b7; }
.eyebrow { color: #177b78; font-size: .73rem; font-weight: 750; letter-spacing: .12em; }
h1 { margin: .75rem 0 1rem; font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.2; }
p { line-height: 1.55; }
.muted { color: #60737b; }
.panel form { margin-top: 1.75rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
label { font-size: .9rem; font-weight: 650; }
input { width: 100%; padding: .78rem .9rem; border: 1px solid #bdcdd1; border-radius: 9px; background: #fff; color: inherit; font: inherit; }
input:focus-visible, .button:focus-visible { outline: 3px solid #8dcfc3; outline-offset: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1.1rem; border: 1px solid transparent; border-radius: 9px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-primary { color: #fff; background: #176f6c; }
.login-panel .button-primary { width: 100%; }
.button-primary:hover { background: #105b59; }
.button-secondary { color: #176f6c; border-color: #bdd7d4; background: #edf7f5; }
.form-error { margin: 1rem 0; padding: .75rem; border-radius: 8px; color: #8a242d; background: #fff0f0; }
.form-error:empty { display: none; }
