:root {
  font: 16px/1.5 "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: #1f2933;
  background: #f3f4f5;
  --blue: #0079c1;
  --green: #44864b;
  --border: #dce1e5;
}
* { box-sizing: border-box; }
body { margin: 0; }
header {
  min-height: 56px;
  padding: .65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-bottom: 1px solid #e7e9eb;
}
.brand { display: flex; align-items: center; gap: .9rem; color: inherit; text-decoration: none; }
.brand img { display: block; width: clamp(9rem, 24vw, 12.2rem); height: auto; }
.brand span { padding-left: .9rem; border-left: 1px solid #e1e4e7; font-weight: 600; }
main { max-width: 68rem; margin: auto; padding: 1.5rem 1.25rem 2rem; }
h1, h2 { line-height: 1.2; }
h1 { margin: 0 0 .8rem; font-size: clamp(1.65rem, 4vw, 2.15rem); }
h2 { font-size: 1.17rem; margin: 0 0 .9rem; font-weight: 600; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1rem; margin-bottom: 1rem; }
form, section > section, .balance, .sign-in {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: .45rem;
  box-shadow: 0 1px 2px rgb(31 41 51 / 8%);
}
section > section { margin-bottom: 1rem; }
.balance:nth-child(2), #leave, #schedule { border-top-color: var(--green); }
.sign-in { max-width: 32rem; }
.sign-in p { margin-top: 0; color: #50606d; }
label { display: grid; gap: .25rem; margin-bottom: .75rem; }
small { color: #50606d; }
.checkbox { display: flex; align-items: center; }
input, select, textarea, button { font: inherit; padding: .53rem .7rem; border: 1px solid #8796a0; border-radius: .27rem; }
input, select, textarea { width: 100%; min-width: 0; background: #fff; color: inherit; }
input[type=checkbox] { width: auto; }
button { background: var(--blue); border-color: var(--blue); color: #fff; cursor: pointer; margin: .15rem .3rem .15rem 0; }
button:hover { background: #005e95; }
button[type=reset], #favorite, article button { background: #fff; color: #005e95; border-color: #7195ac; }
button[type=reset]:hover, #favorite:hover, article button:hover { background: #edf6fb; }
:focus-visible { outline: 3px solid #005e95; outline-offset: 2px; }
button:disabled { opacity: .55; cursor: wait; }
article { border-bottom: 1px solid var(--border); padding: .6rem 0; }
#status:not(:empty) { border-left: 3px solid var(--blue); padding: .6rem .8rem; background: #fff; }
[hidden] { display: none !important; }
@media (max-width: 42rem) {
  header { padding-inline: .8rem; }
  main { padding-inline: .8rem; }
  #identity { font-size: .85rem; text-align: right; }
  form, section > section, .balance, .sign-in { padding-inline: 1rem; }
}
