:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #17382b;
  background: #f8f5ec;
  --green: #164531;
  --muted: #4e6558;
  --edge: #e1e1d3;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, input:focus-visible { outline: 3px solid #729d62; outline-offset: 3px; }
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem max(1.2rem, calc((100vw - 1100px) / 2));
  border-bottom: 1px solid var(--edge); background: #fffdf7;
}
.brand, .account { display: flex; align-items: center; gap: .65rem; }
.brand { font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 12px; }
.account { min-width: 0; font-size: .9rem; }
#member-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quiet { background: #fffdf7; color: var(--green); border: 1px solid #c8d5c9; border-radius: 10px; padding: .55rem .7rem; white-space: nowrap; }
.main { max-width: 1100px; margin: auto; padding: clamp(1rem, 4vw, 2.5rem); }
.login {
  margin: clamp(1rem, 6vw, 4rem) auto; max-width: 860px; display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; border: 1px solid var(--edge); border-radius: 24px;
  background: #fffdf7; box-shadow: 0 18px 50px #213e2510;
}
.brand-panel { display: grid; place-items: center; background: #e6eedb; padding: 1.1rem; }
.brand-panel img { width: min(100%, 320px); height: auto; display: block; }
.form { display: grid; align-content: center; padding: clamp(1.2rem, 4.5vw, 3rem); gap: .75rem; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; line-height: 1.12; }
.form p, .description { color: var(--muted); margin: 0 0 .6rem; }
.form label { font-size: .91rem; font-weight: 650; }
.form input { min-width: 0; width: 100%; border: 1px solid #a9bcad; color: #17382b; background: white; padding: .78rem; border-radius: 10px; }
.primary { background: var(--green); color: #fff; border: 0; padding: .9rem; border-radius: 10px; font-weight: 700; margin-top: .35rem; }
.form .feedback, .message { color: #754428; background: #fff0dd; padding: .75rem; border-radius: 10px; }
.workspace { display: grid; grid-template-columns: minmax(170px, 215px) 1fr; gap: 1.25rem; }
nav { display: flex; flex-direction: column; gap: .45rem; }
.nav-button {
  display: flex; align-items: center; gap: .7rem; font-weight: 650; min-height: 48px;
  text-align: left; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--green); padding: .65rem .8rem;
}
.nav-button[aria-current] { background: #dfeadd; border-color: #cddaCA; }
.nav-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.view { background: #fffdf7; border: 1px solid var(--edge); border-radius: 20px; min-height: 280px; padding: clamp(1.25rem, 5vw, 2.5rem); }
.date { display: block; text-transform: capitalize; color: var(--muted); font-size: .9rem; margin-bottom: .65rem; }
.description { margin-top: .8rem; }
.notice { background: #f3f4eb; color: var(--muted); padding: .85rem; border-radius: 10px; margin: 1.4rem 0 0; }
@media (max-width: 680px) {
  .login { grid-template-columns: 1fr; margin: .5rem 0; }
  .brand-panel { padding: .2rem 1rem; }
  .brand-panel img { width: 190px; }
  .workspace { display: block; padding-bottom: 78px; }
  .workspace nav {
    position: fixed; z-index: 1; bottom: 0; left: 0; right: 0; padding: .45rem .65rem max(.45rem, env(safe-area-inset-bottom));
    display: flex; flex-direction: row; justify-content: space-around; background: #fffdf7; border-top: 1px solid var(--edge);
  }
  .nav-button { flex: 1; flex-direction: column; align-items: center; text-align: center; gap: .25rem; font-size: .82rem; padding: .45rem .2rem; }
  .top { padding-inline: .75rem; }
}
