body { background: #f2f1ed; color: #222321; }
body > main { max-width: 1060px; padding: clamp(16px, 3vw, 32px); }
.site-brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  min-height: 108px;
  padding: clamp(14px, 3vw, 26px);
  background: linear-gradient(112deg, #37342c 0%, #242420 42%, #1d1e1c 75%);
  color: #fff;
  border-bottom: 4px solid #ffcf29;
  border-radius: 12px;
}
.site-brand img {
  flex: 0 0 auto;
  width: clamp(76px, 14vw, 118px);
  height: auto;
  filter: drop-shadow(0 5px 7px #0008);
}
.site-brand h1 { font-size: clamp(1.6rem, 4vw, 2.45rem); line-height: 1.2; }
.site-brand p { margin: 4px 0 0; color: #ffdc63; font-weight: 650; }
main:has(#login:not([hidden])) { max-width: 720px; }
main:has(#login:not([hidden])) .site-brand img { width: clamp(110px, 21vw, 174px); }
#login, #recovery { max-width: 420px; margin: 24px auto 8px; }
#login h2 { font-size: 1.25rem; }
#login button:not(.secondary), #recovery button { background: #ffcf29; color: #222321; font-weight: 750; }
#status { margin-block: 12px; padding: 6px 10px; font-size: .9rem; background: #f3f2ee; }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
#identity { margin: 0 auto 0 0; font-weight: 650; overflow-wrap: anywhere; }
.account-bar > button { width: auto; margin: 0; }
#account-menu { position: relative; }
#account-menu summary { padding: 11px 4px; cursor: pointer; }
.account-options {
  position: absolute;
  z-index: 1;
  right: 0;
  width: min(270px, 72vw);
  padding: 14px;
  border: 1px solid #dfded8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px #221b131c;
}
#result:empty { display: none; }
#workspace-nav button[aria-pressed=true] { background: #ffcf29; color: #222321; font-weight: 750; }
.home-hero { margin-block: 20px 14px; padding: 20px 22px; border-left: 4px solid #ffcf29; border-radius: 8px; background: #f4f3ef; }
.home-hero time { color: #544e3e; font-size: .9rem; font-weight: 650; }
.home-hero h2 { margin: 6px 0 0; font-size: clamp(1.6rem, 4vw, 2.15rem); }
.home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr)); gap: 12px; }
.home-link {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 96px;
  align-content: center;
  margin: 0;
  padding: 14px 40px 14px 16px;
  border: 1px solid #dedaD0;
  border-radius: 12px;
  background: #fff;
  color: #222321;
  text-align: left;
}
.home-link:hover { background: #fff8dc; border-color: #a67908; }
.home-link:focus-visible, #workspace-nav button:focus-visible { outline: 3px solid #926a00; outline-offset: 3px; }
.home-link strong { font-size: 1.12rem; }
.home-link span { color: #514e45; font-size: .92rem; }
.home-link .home-arrow { position: absolute; top: 15px; right: 16px; color: #735504; font-size: 1.15rem; }
