:root {
  color-scheme: light;
  --ink: #17332d;
  --muted: #4d625a;
  --line: #cbd9d2;
  --green: #246549;
  --green-hover: #174b36;
  --accent: #c06b2b;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f4f7f5; color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; }
main { width: min(850px, calc(100% - 32px)); margin: 36px auto; }
h1 { margin: 0; font: 750 30px/1.2 Raleway, system-ui, sans-serif; overflow-wrap: anywhere; }
a { color: var(--green-hover); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #a34b0e; outline-offset: 3px; }
label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 650; }
input:not([type="submit"]), textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: inherit; font: inherit; }
input:not([type="submit"]) { min-height: 44px; }
textarea { display: block; resize: vertical; }
button, input[type="submit"] { min-height: 44px; padding: 10px 20px; border: 0; border-radius: 6px; background: var(--green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover, input[type="submit"]:hover { background: var(--green-hover); }
small { display: block; margin-top: 6px; color: var(--muted); }
fieldset { min-inline-size: 0; margin: 0 0 16px; padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
legend { padding: 0 6px; font-weight: 750; }
.btop-login main { display: grid; align-content: center; min-height: 100vh; max-width: 420px; margin: 0 auto; padding: 25px 0; }
.btop-signin { padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 8px; background: #fff; }
.btop-signin h1 { margin-bottom: 18px; font-size: 26px; }
.btop-signin input[type="submit"] { width: 100%; }
.btop-signin input + label { margin-top: 12px; }
.btop-signin form > button { width: 100%; margin: 14px 0; }
.btop-embed { background: transparent; }
.btop-embed main { min-height: 0; padding: 10px 0; }
.btop-credit { margin-top: 22px; color: var(--muted); font-size: 13px; }
.btop-login .btop-credit { text-align: center; }
.btop-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 2px solid var(--green); }
.btop-header nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.btop-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.btop-wide { grid-column: 1/-1; }
.btop-image { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btop-image img { width: min(160px,100%); height: 92px; object-fit: contain; }
.btop-image div { min-width: 0; }
.btop-notice { padding: 11px 14px; border-inline-start: 4px solid var(--green); background: #e8f3eb; }
@media (max-width: 600px) {
  main { margin: 24px auto; }
  fieldset, .btop-signin { padding-inline: 15px; }
  .btop-fields { grid-template-columns: minmax(0,1fr); }
}
