.log-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
.log-filters label { display: grid; gap: 6px; flex: 1 1 160px; min-width: 0; }
.log-filters select { font: inherit; color: inherit; padding: 10px; min-width: 0; width: 100%; background: #fff; border: 1px solid #ccd3d8; border-radius: 6px; }
.log-filters button { padding: 10px; }
.correction-editor { margin: 12px 0; border-left: 3px solid #e56c00; padding-left: 12px; }
.configuration-form input[type="checkbox"] { width: auto; justify-self: start; }
.configuration-form fieldset { display: grid; gap: 14px; border: 0; padding: 8px; min-width: 0; }
.configuration-form legend { font-size: 18px; font-weight: 600; padding: 0; }
.configuration-form input, .configuration-form textarea { width: 100%; min-width: 0; padding: 10px; font: inherit; color: var(--ink); border: 1px solid #bac8d6; border-radius: 5px; }
.configuration-form input[type="checkbox"] { width: auto; }
.configuration-form button { padding: 10px; color: #202b34; background: var(--orange); border: 0; border-radius: 5px; font-weight: 600; }
.configuration-form:has(fieldset:disabled) { opacity: .7; }

.login-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; max-width: none; padding: 48px 32px; background: radial-gradient(ellipse at 15% 15%, #fff8f0, transparent 55%), #edf0f2; color: #23313b; }
.login-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); width: min(100%, 1120px); overflow: hidden; border: 1px solid #e2e5e7; border-radius: 20px; background: #fff; box-shadow: 0 24px 64px #24313b0c, 0 2px 8px #24313b04; }
.login-brand { padding: 48px 44px 36px; background: #f7f8f8; border-right: 1px solid #e9edef; }
.login-brand img.brand-logo { width: min(100%, 300px); height: auto; margin: 0; mix-blend-mode: normal; }
.login-brand h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -1.2px; line-height: 1.2; margin: 44px 0 32px; }
.login-brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.login-form { align-self: center; padding: 52px 48px; }
.login-form h2 { font-size: 28px; font-weight: 600; letter-spacing: -.6px; margin-bottom: 32px; }
.login-form h2::before { content: ""; display: block; width: 32px; height: 3px; background: var(--orange); margin-bottom: 18px; }
.login-form > p { line-height: 1.6; }
.login-form form:not([hidden]) { display: grid; gap: 24px; }
.login-form form label { display: grid; font-size: 13px; font-weight: 600; color: #44515b; gap: 9px; }
.login-form form input { box-sizing: border-box; font: inherit; font-size: 15px; color: #23313b; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #ccd3d8; border-radius: 7px; background: #fafbfc; transition: border-color .15s, box-shadow .15s; }
.login-form form input:hover { border-color: #8998a3; }
.login-form form input:focus-visible { outline: 2px solid #a84700; outline-offset: 2px; border-color: #a84700; background: #fff; }
.login-form form button { min-height: 48px; margin-top: 8px; padding: 12px 18px; border: 1px solid #e56c00; border-radius: 7px; background: var(--orange); color: #202b34; font-size: 14px; font-weight: 700; box-shadow: 0 4px 10px #ff79001a; transition: background .15s, box-shadow .15s; }
.login-form form button:hover:not(:disabled) { background: #f28a2e; box-shadow: 0 6px 16px #ff79002a; }
.login-form form button:active:not(:disabled) { background: #ed7000; box-shadow: none; }
.login-form form button:disabled { opacity: .6; cursor: wait; }
.login-form form button[type="button"] { margin-top: 0; border-color: #ccd3d8; background: #fff; box-shadow: none; color: #44515b; }
.login-form form button[type="button"]:hover:not(:disabled) { background: #f2f5f6; box-shadow: none; }
.login-form .password-guidance { margin: -12px 0 0; color: #596873; font-size: 14px; line-height: 1.6; }
#login-status { min-height: 1.5rem; margin-top: 20px; font-size: 12px; }
#login-status.error { color: #9c2323; font-weight: bold; }
@media (max-width: 700px) {
  .login-page { padding: 24px 16px; }
  .login-card { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
  .login-brand { padding: 28px 28px 20px; border-right: 0; border-bottom: 1px solid #e9edef; }
  .login-brand h1 { font-size: 28px; letter-spacing: -.8px; margin: 26px 0 20px; }
  .login-brand img { width: min(100%, 300px); margin: auto; }
  .login-form { padding: 32px 28px 24px; }
  .login-form h2 { font-size: 25px; margin-bottom: 24px; }
}
