:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #23332f;
  background: #f5f7f4;
  font-size: 15px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #285b49; }
.site-header { min-height: 84px; padding: 20px max(6vw, 24px); background: white; border-bottom: 1px solid #e3e9e2; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; color: #203d32; text-decoration: none; font-size: 23px; font-weight: 700; letter-spacing: -.6px; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #285b49; color: white; font-size: 23px; }
.header-note, .muted { color: #6a7972; }
.account { display: flex; align-items: center; gap: 24px; }
.account form { margin: 0; }
main { max-width: 1180px; margin: auto; padding: 56px 28px 80px; min-height: calc(100vh - 155px); }
h1 { margin: 12px 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.16; letter-spacing: -1.6px; font-weight: 650; }
h2 { margin: 0 0 12px; font-size: 21px; letter-spacing: -.5px; }
h3 { margin: 0 0 8px; font-size: 18px; }
p { line-height: 1.6; }
.eyebrow { color: #51705e; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.login-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; align-items: center; padding-top: 40px; }
.intro .lead { max-width: 410px; font-size: 18px; color: #66776c; }
.intro-note { display: flex; align-items: center; gap: 13px; margin-top: 40px; color: #5a705e; font-size: 14px; }
.note-mark { display: grid; place-items: center; width: 32px; height: 32px; background: #e6ede1; border-radius: 50%; font-size: 23px; }
.panel { background: white; padding: 30px; border: 1px solid #e1e8df; border-radius: 15px; box-shadow: 0 6px 20px #24372e04; }
.login-panel { padding: 36px; }
label { display: block; margin: 22px 0 8px; font-size: 13px; font-weight: 600; }
input { width: 100%; padding: 12px 13px; border: 1px solid #d6dfd5; border-radius: 7px; color: #23332f; background: white; font: inherit; }
input:focus { outline: 2px solid #6c9980; outline-offset: 2px; }
button, .button { font: inherit; cursor: pointer; }
.button { display: inline-block; padding: 13px 20px; background: #285b49; color: white; border: 0; border-radius: 7px; text-decoration: none; font-weight: 600; text-align: center; }
.button:hover { background: #1d4738; }
.full-width { width: 100%; margin-top: 26px; }
button:disabled { opacity: .6; cursor: wait; }
.text-button { padding: 0; color: #66776c; background: none; border: 0; font-size: 13px; text-decoration: underline; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.page-heading h1 { font-size: 39px; }
.profile-chip { border: 1px solid #dce5d8; background: #edf2e8; color: #52705c; padding: 10px 15px; border-radius: 25px; font-size: 13px; }
.workspace { display: grid; grid-template-columns: 1.65fr 1fr; gap: 30px; align-items: start; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0 15px; }
.section-heading h2 { margin: 0; font-size: 18px; }
.record-list { display: grid; gap: 15px; }
.record-card { display: flex; align-items: center; gap: 18px; padding: 24px; background: white; border: 1px solid #e1e8df; border-radius: 12px; }
.record-badge { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 53px; background: #eef1df; border-radius: 10px; color: #7d8751; font-size: 23px; font-weight: 600; }
.record-details { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.record-details p { margin: 4px 0; font-size: 13px; }
.delete-button { color: #93624e; background: white; border: 1px solid #eadfd7; border-radius: 6px; padding: 7px 10px; font-size: 12px; }
.delete-button:hover { background: #fcf4ef; }
.notice { margin-bottom: 24px; padding: 13px 17px; color: #285b49; background: #e7f2e7; border-radius: 7px; border: 1px solid #cfdfcf; }
.notice.error { background: #fff0ec; color: #963c2b; border-color: #efcfc6; }
.empty-state { padding: 40px 25px; border: 1px dashed #cbd9c7; border-radius: 12px; color: #6a7972; }
.error-panel { max-width: 600px; margin: 25px auto; }
footer { padding: 22px; text-align: center; color: #7e8b81; font-size: 12px; border-top: 1px solid #e3e9e2; }
@media (max-width: 760px) {
  .login-layout, .workspace { grid-template-columns: 1fr; gap: 32px; }
  .login-layout { padding-top: 0; }
  .intro-note { margin-top: 20px; }
  .page-heading { display: block; }
  .profile-chip { display: inline-block; }
  .header-note { display: none; }
  main { padding: 30px 20px 50px; }
  .record-card { padding: 18px; gap: 12px; }
}
