* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root {
  color-scheme: light;
  color: #172830;
  background: #eff3f5;
  font: 16px/1.55 "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}
body { margin: 0; }
main { max-width: 74rem; margin: 0 auto; padding: clamp(1rem, 6vw, 5rem) 1rem; }
.login, .catalog {
  background: #fff;
  border: 1px solid #dce5e9;
  border-top: 4px solid #086354;
  border-radius: .85rem;
  padding: clamp(1.2rem, 4vw, 2.4rem);
}
.login { max-width: 28rem; margin: 0 auto; }
.brand { color: #086354; margin: 0; font-weight: 750; }
h1 { margin: .25rem 0 1.5rem; font-size: clamp(1.6rem, 5vw, 2.15rem); line-height: 1.2; }
label { display: block; font-weight: 650; margin-bottom: .35rem; }
input, button { font: inherit; border-radius: .45rem; min-height: 2.75rem; }
input { width: 100%; min-width: 0; border: 1px solid #81969b; padding: .5rem .65rem; }
.login input { margin-bottom: 1rem; }
button { color: #fff; background: #086354; border: 1px solid #086354; padding: .45rem 1rem; font-weight: 700; cursor: pointer; }
.login button { width: 100%; }
button:disabled { opacity: .65; cursor: wait; }
button.secondary { color: #086354; background: #fff; }
:focus-visible { outline: 3px solid #176bb7; outline-offset: 3px; }
.message { margin: .85rem 0; color: #40555d; }
.message:empty { display: none; }
header, .account, .search div { display: flex; gap: .65rem; align-items: center; }
header { justify-content: space-between; align-items: start; flex-wrap: wrap; }
.search { max-width: 36rem; }
.search button { white-space: nowrap; }
.table-scroll { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .6rem .75rem; border-bottom: 1px solid #dce5e9; overflow-wrap: anywhere; }
th { background: #edf5f2; }

