:root {
  color-scheme: light;
  --ink: #203142;
  --ink-soft: #506174;
  --muted: #7c8982;
  --line: #e6ebe6;
  --surface: #ffffff;
  --canvas: #f6f8f5;
  --green: #0b416c;
  --green-dark: #082f50;
  --green-pale: #eaf1f7;
  --brand-green: #5b942b;
  --brand-green-dark: #3e6f21;
  --gold: #d7a83e;
  --font-body: "Segoe UI", system-ui, sans-serif;
  --font-heading: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-body); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; }
.sidebar { background: #fff; border-right: 1px solid var(--line); bottom: 0; display: flex; flex-direction: column; left: 0; padding: 30px 20px 18px; position: fixed; top: 0; width: 248px; z-index: 3; }
.brand { align-items: center; display: flex; gap: 11px; margin: 1px 0 45px 4px; }
.brand-logo { display: block; height: auto; max-width: 100%; width: 184px; }
.admin-header .brand-logo { width: 140px; }
.auth-brand .brand-logo { width: 220px; }
.nav-label { color: #99a29c; font-size: 9px; font-weight: 700; letter-spacing: .13em; margin: 0 0 11px 10px; }
.nav-label-spaced { margin-top: 34px; }
.main-nav { display: grid; gap: 5px; }
.nav-link { align-items: center; border-radius: 7px; color: #68766e; display: flex; font-size: 13px; font-weight: 500; gap: 13px; min-height: 43px; padding: 0 11px; transition: background .16s, color .16s; }
.nav-link svg { height: 18px; width: 18px; }
.nav-link:hover { background: #f2f6f9; color: var(--green-dark); }
.nav-link.is-active { background: var(--green-pale); color: var(--green-dark); font-weight: 700; }
.nav-link.is-active svg { stroke-width: 1.9; }
.nav-dot { background: #dfa446; border-radius: 50%; height: 6px; margin-left: auto; width: 6px; }
.sidebar-spacer { flex: 1; min-height: 25px; }
.sidebar-help { background: #f6f8f5; border: 1px solid #edf0ec; border-radius: 9px; padding: 14px 13px 13px; }
.help-icon { align-items: center; background: #e8f1e9; border-radius: 7px; color: var(--green); display: flex; height: 29px; justify-content: center; margin-bottom: 10px; width: 29px; }
.help-icon svg { height: 16px; width: 16px; }
.sidebar-help strong { display: block; font-size: 12px; }
.sidebar-help p { color: #78847d; font-size: 10px; line-height: 1.6; margin: 5px 0 9px; }
.sidebar-help a { color: var(--green); font-size: 10px; font-weight: 700; }
.sidebar-help a span { margin-left: 3px; }
.sidebar-footer { align-items: center; color: #8a968e; display: flex; font-size: 10px; gap: 7px; padding: 19px 2px 0; }
.status-dot { background: var(--brand-green); border-radius: 50%; height: 6px; width: 6px; }
.footer-divider { color: #c6cec8; }

.main-content { margin-left: 248px; min-height: 100vh; }
.topbar { align-items: center; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); display: flex; height: 68px; justify-content: space-between; padding: 0 42px; position: sticky; top: 0; z-index: 2; }
.breadcrumb { align-items: center; color: #8c9891; display: flex; font-size: 11px; gap: 11px; }
.breadcrumb strong { color: #4d5c53; font-weight: 600; }
.crumb-slash { color: #c7cec8; }
.topbar-actions { align-items: center; display: flex; gap: 18px; }
.demo-chip { align-items: center; background: #f7f3e9; border: 1px solid #f0e8d6; border-radius: 20px; color: #8b7138; display: flex; font-size: 10px; font-weight: 600; gap: 6px; padding: 6px 10px; }
.demo-chip span { background: #d8a844; border-radius: 50%; height: 5px; width: 5px; }
.icon-button { align-items: center; background: transparent; border: 0; color: #708078; cursor: pointer; display: flex; justify-content: center; padding: 5px; position: relative; }
.icon-button svg { height: 18px; width: 18px; }
.notification-dot { background: #de9458; border: 1.5px solid white; border-radius: 50%; height: 6px; position: absolute; right: 3px; top: 3px; width: 6px; }
.member-menu { align-items: center; background: transparent; border: 0; cursor: pointer; display: flex; gap: 9px; padding: 0; }
.avatar { align-items: center; background: #e9eee8; border-radius: 50%; color: #48614f; display: flex; font-size: 10px; font-weight: 700; height: 31px; justify-content: center; width: 31px; }
.member-menu-name { color: #536158; font-size: 11px; font-weight: 600; }
.chevron { color: #98a29b; height: 13px; width: 13px; }
.content-wrap { margin: 0 auto; max-width: 1260px; padding: 23px 42px 34px; }
.demo-banner { align-items: flex-start; background: #f8f3e8; border: 1px solid #f0e7d6; border-radius: 7px; color: #786c54; display: flex; gap: 10px; margin-bottom: 29px; padding: 10px 12px; }
.banner-info { align-items: center; border: 1px solid #b89a5d; border-radius: 50%; color: #987a3e; display: flex; flex: 0 0 15px; font-family: var(--font-heading); font-size: 9px; font-weight: 700; height: 15px; justify-content: center; margin-top: 1px; width: 15px; }
.demo-banner p { flex: 1; font-size: 10px; line-height: 1.6; margin: 0; }
.demo-banner p strong { color: #675735; }
.banner-close { background: none; border: 0; color: #9a8e76; cursor: pointer; font-size: 19px; line-height: 14px; padding: 0 2px; }
.page { display: none; }
.page.is-visible { display: block; }
.welcome-row { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 24px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); }
h1 { color: #21342b; font-size: clamp(25px, 2.1vw, 31px); letter-spacing: -.045em; line-height: 1.24; margin-bottom: 6px; }
h1 > span { color: #d5a23e; font-size: .72em; margin-left: 3px; vertical-align: 3px; }
.greeting-name { color: inherit; font-size: 1em; margin-left: 0; vertical-align: baseline; }
.page-intro { color: #829087; font-size: 12px; margin-bottom: 0; }
.button { align-items: center; border: 1px solid transparent; border-radius: 6px; cursor: pointer; display: inline-flex; font-size: 11px; font-weight: 700; gap: 12px; justify-content: center; min-height: 37px; padding: 0 14px; transition: background .15s, border-color .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { background: white; border-color: #dce5dd; color: var(--green); }
.button-secondary:hover { background: #f5f8f5; }
.profile-prompt { align-items: center; background: #eef5ef; border: 1px solid #e3ece4; border-radius: 8px; display: flex; gap: 13px; margin-bottom: 31px; min-height: 79px; padding: 13px 17px; }
.prompt-icon { align-items: center; background: #dcebdd; border-radius: 8px; color: #4b8a5e; display: flex; flex: 0 0 38px; height: 38px; justify-content: center; }
.prompt-icon svg { height: 21px; width: 21px; }
.prompt-copy { flex: 1; min-width: 0; }
.prompt-copy strong { color: #344d3c; display: block; font-size: 11px; margin-bottom: 4px; }
.prompt-copy p { color: #76877a; font-size: 10px; line-height: 1.5; margin-bottom: 0; }
.profile-progress { background: white; border: 1px solid #e5ece5; border-radius: 20px; color: #7b887e; font-size: 9px; padding: 6px 9px; white-space: nowrap; }
.text-button { background: none; border: 0; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; padding: 8px 2px 8px 4px; white-space: nowrap; }
.text-button span { margin-left: 3px; }
.section-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 14px; }
.account-heading-actions { align-items: center; display: flex; gap: 15px; }
.section-heading h2, .panel-heading h2 { color: #2b3a31; font-size: 15px; letter-spacing: -.02em; margin: 0 0 4px; }
.section-heading p, .panel-heading p { color: #8a968e; font-size: 10px; margin: 0; }
.sample-label { align-items: center; color: #8b8370; display: inline-flex; font-size: 9px; gap: 6px; white-space: nowrap; }
.sample-label > span { background: #d6a64d; border-radius: 50%; height: 5px; width: 5px; }
.account-register { background: #fff; border: 1px solid #e9ede9; border-radius: 8px; overflow: hidden; }
.account-row { align-items: center; border-bottom: 1px solid #edf0ed; display: grid; gap: 13px; grid-template-columns: 32px minmax(150px, 1fr) auto auto; min-height: 72px; padding: 10px 17px; transition: background .15s; }
.account-row:last-child { border-bottom: 0; }
.account-row:hover { background: #f8faf8; }
.account-icon { align-items: center; background: #eef5ef; border-radius: 6px; color: #4d8a61; display: flex; height: 29px; justify-content: center; width: 29px; }
.account-icon-gold { background: #f8f3e8; color: #987a3e; }
.account-icon-blue { background: #eff2f8; color: #627899; }
.account-icon svg { height: 16px; width: 16px; }
.account-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.account-info strong { color: #34443a; font-size: 11px; }
.account-info small { color: #89958d; font-size: 9px; }
.account-status { background: #f7f4eb; border-radius: 20px; color: #82734f; font-size: 9px; padding: 6px 9px; white-space: nowrap; }
.account-row-link { color: var(--green); font-size: 9px; font-weight: 700; white-space: nowrap; }
.account-row-link span { font-size: 12px; margin-left: 5px; }
.lower-grid { display: grid; gap: 15px; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); margin-top: 21px; }
.panel { background: white; border: 1px solid #e9ede9; border-radius: 8px; }
.notices-panel, .quick-panel { padding: 16px 17px; }
.panel-heading { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 9px; }
.panel-heading > a { color: var(--green); font-size: 9px; font-weight: 700; padding-top: 2px; }
.panel-heading > a span { margin-left: 3px; }
.notice-item { align-items: flex-start; border-bottom: 1px solid #f0f2f0; display: flex; gap: 11px; padding: 13px 0; }
.notice-item:last-of-type { border-bottom: 0; }
.notice-marker { border-radius: 50%; flex: 0 0 7px; height: 7px; margin-top: 4px; }
.notice-marker-green { background: #71a381; }
.notice-marker-orange { background: #dba659; }
.notice-item > div { flex: 1; min-width: 0; }
.notice-meta { color: #95a097; display: block; font-size: 8px; font-weight: 600; letter-spacing: .08em; margin-bottom: 5px; }
.notice-meta span { color: #c6cec8; margin: 0 4px; }
.notice-item h3 { color: #38483e; font-size: 11px; margin: 0 0 5px; }
.notice-item p { color: #89958d; font-size: 9px; line-height: 1.55; margin-bottom: 0; }
.notice-chevron { color: #abb4ad; font-size: 18px; line-height: 1; padding: 7px 1px 0; }
.quick-panel { padding-bottom: 13px; }
.quick-panel .panel-heading { margin-bottom: 5px; }
.quick-link { align-items: center; background: none; border: 0; border-bottom: 1px solid #f0f2f0; cursor: pointer; display: flex; gap: 10px; padding: 11px 0; text-align: left; width: 100%; }
.quick-link > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.quick-link strong { color: #46574b; font-size: 9px; }
.quick-link small { color: #99a39c; font-size: 8px; }
.quick-icon { align-items: center; border-radius: 7px; display: flex; height: 30px; justify-content: center; width: 30px; }
.quick-icon svg { height: 17px; width: 17px; }
.quick-icon-green { background: #edf4ed; color: #5b8b62; }
.quick-icon-gold { background: #f8f3e8; color: #b48f46; }
.quick-arrow { color: #97a49a; font-size: 13px; }
.quote-card { background: #f6f8f5; border-radius: 6px; margin-top: 12px; padding: 10px 12px; position: relative; }
.quote-card > span { color: #83a68b; font-family: Georgia, serif; font-size: 29px; height: 20px; left: 10px; line-height: 1; position: absolute; top: 7px; }
.quote-card p { color: #627368; font-family: var(--font-heading); font-size: 9px; font-weight: 600; line-height: 1.5; margin: 4px 0 6px 17px; }
.quote-card small { color: #9aa59c; font-size: 7px; letter-spacing: .1em; margin-left: 17px; }
.page-footer { color: #a0aaa3; display: flex; font-size: 9px; justify-content: space-between; margin-top: 22px; }

.page-heading-block { margin: 7px 0 25px; }
.page-heading-block h1 { margin-bottom: 8px; }
.status-card { background: white; border: 1px solid #e8ede8; border-radius: 9px; margin-bottom: 18px; max-width: 790px; padding: 25px; }
.status-icon { align-items: center; background: #edf5ef; border-radius: 9px; color: #4b8660; display: flex; height: 42px; justify-content: center; margin-bottom: 18px; width: 42px; }
.status-icon svg { height: 22px; width: 22px; }
.status-card > .sample-label { margin-bottom: 10px; }
.status-card h2 { color: #2c3d32; font-size: 17px; margin: 0 0 8px; }
.status-card > p { color: #7e8b82; font-size: 12px; line-height: 1.7; margin-bottom: 17px; max-width: 590px; }
.status-card-note, .demo-notice-note { align-items: flex-start; background: #f8f6ef; border-radius: 6px; color: #877957; display: flex; font-size: 10px; gap: 8px; line-height: 1.6; padding: 10px 12px; }
.status-card-note > span, .demo-notice-note > span { align-items: center; border: 1px solid #ba9c61; border-radius: 50%; color: #9b8048; display: inline-flex; flex: 0 0 14px; font-size: 8px; font-weight: 700; height: 14px; justify-content: center; margin-top: 1px; width: 14px; }
.simple-panel { margin-top: 18px; max-width: 790px; padding: 21px 24px; }
.simple-panel h2 { color: #34453a; font-size: 14px; margin-bottom: 8px; }
.simple-panel p { color: #87938b; font-size: 11px; line-height: 1.65; margin-bottom: 15px; max-width: 610px; }
.notice-list { max-width: 850px; padding: 8px 20px 16px; }
.notice-list .notice-item { padding: 18px 3px; }
.notice-list .notice-item h3 { font-size: 12px; }
.notice-list .notice-item p { font-size: 10px; }
.demo-notice-note { margin-top: 11px; }
.profile-layout { align-items: start; display: grid; gap: 17px; grid-template-columns: minmax(0, 1.8fr) minmax(220px, .9fr); max-width: 1000px; }
.profile-form-panel { padding: 22px; }
.form-panel-heading { align-items: center; display: flex; gap: 12px; margin-bottom: 19px; }
.large-avatar { align-items: center; background: #e9eee8; border-radius: 50%; color: #49634f; display: flex; font-size: 14px; font-weight: 700; height: 45px; justify-content: center; width: 45px; }
.form-panel-heading h2 { color: #34453a; font-size: 14px; margin: 0 0 4px; }
.form-panel-heading p { color: #909b93; font-size: 10px; margin: 0; }
.preview-notice { align-items: center; background: #f8f4e9; border-radius: 5px; color: #877957; display: flex; font-size: 9px; gap: 7px; margin-bottom: 17px; padding: 9px 10px; }
.preview-notice > span { align-items: center; border: 1px solid #b89a5d; border-radius: 50%; color: #987a3e; display: inline-flex; font-size: 7px; font-weight: 700; height: 13px; justify-content: center; width: 13px; }
.form-grid { display: grid; gap: 14px 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid label { color: #526258; display: flex; flex-direction: column; font-size: 10px; font-weight: 600; gap: 7px; }
.form-grid input { background: #fff; border: 1px solid #e1e7e1; border-radius: 5px; color: #526258; font-size: 11px; height: 37px; outline: none; padding: 0 10px; transition: border-color .15s, box-shadow .15s; }
.form-grid input::placeholder { color: #aab3ac; }
.form-grid input:focus { border-color: #75a183; box-shadow: 0 0 0 3px rgba(84,145,101,.1); }
.full-field { grid-column: 1 / -1; }
.form-actions { align-items: center; border-top: 1px solid #eef0ed; display: flex; gap: 13px; margin-top: 19px; padding-top: 15px; }
#profile-message { color: #4a7f58; font-size: 10px; }
.profile-side-panel { padding: 20px; }
.side-panel-icon { align-items: center; background: #edf5ef; border-radius: 8px; color: #4d8960; display: flex; height: 37px; justify-content: center; margin-bottom: 14px; width: 37px; }
.side-panel-icon svg { height: 21px; width: 21px; }
.profile-side-panel h2 { color: #394a3e; font-size: 13px; margin: 0 0 8px; }
.profile-side-panel > p { color: #87938a; font-size: 10px; line-height: 1.65; margin: 0; }
.side-panel-divider { border-top: 1px solid #edf0ed; margin: 17px 0 13px; }
.profile-side-panel small { color: #8c9a8f; font-size: 8px; font-weight: 700; letter-spacing: .09em; }
.profile-side-panel .privacy-copy { font-size: 9px; margin-top: 6px; }
.profile-preview { margin-top: 15px; max-width: 1000px; padding: 15px 19px; }
.profile-preview h2 { font-size: 12px; margin-bottom: 8px; }
.profile-preview p { color: #738178; font-size: 10px; line-height: 1.6; margin: 0; }
.help-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; }
.help-card { padding: 20px; }
.help-card-icon { align-items: center; background: #edf5ef; border-radius: 8px; color: #4d8960; display: flex; height: 38px; justify-content: center; margin-bottom: 14px; width: 38px; }
.help-card-icon svg { height: 20px; width: 20px; }
.help-card h2 { color: #394a3e; font-size: 13px; margin-bottom: 7px; }
.help-card p { color: #87938a; font-size: 10px; line-height: 1.7; margin-bottom: 0; }
.help-caution { align-items: flex-start; background: #f8f3e8; border: 1px solid #f0e8d7; border-radius: 7px; color: #807252; display: flex; gap: 9px; margin-top: 16px; max-width: 850px; padding: 12px 14px; }
.help-caution > span { align-items: center; border: 1px solid #b99a5b; border-radius: 50%; display: flex; flex: 0 0 15px; font-size: 9px; font-weight: 700; height: 15px; justify-content: center; margin-top: 1px; width: 15px; }
.help-caution p { font-size: 10px; line-height: 1.6; margin: 0; }
.notice-empty { color: #78867c; font-size: 10px; padding: 12px 0; }
.footer-logout { background: none; border: 0; color: #4b7858; cursor: pointer; font-size: 9px; font-weight: 700; padding: 0; }
.live-data-banner { background: #eff5e9; border-color: #e1ecd6; color: #49643a; }
.live-data-banner .banner-info { border-color: var(--brand-green); color: var(--brand-green-dark); }
.live-data-banner p strong { color: var(--brand-green-dark); }
.portal-message { background: #eef5ef; border: 1px solid #dcebdd; border-radius: 6px; color: #335b3e; font-size: 12px; line-height: 1.6; margin-bottom: 15px; padding: 11px 13px; }
.portal-message.is-error { background: #fbefed; border-color: #f1d6d1; color: #8c3c30; }
.password-form { display: grid; gap: 12px; margin-top: 15px; }
.password-form label, .auth-card label, .admin-form label { color: #526258; display: flex; flex-direction: column; font-size: 10px; font-weight: 600; gap: 7px; }
.password-form input, .auth-card input, .admin-form input, .admin-form select, .admin-form textarea { background: white; border: 1px solid #dfe6df; border-radius: 5px; color: #405047; font-size: 12px; min-height: 38px; outline: none; padding: 8px 10px; }
.password-form input:focus, .auth-card input:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #75a183; box-shadow: 0 0 0 3px rgba(84,145,101,.1); }
.password-form #password-message { color: #4a7f58; font-size: 10px; }

.auth-page { align-items: center; background: #f3f6f2; display: flex; justify-content: center; min-height: 100vh; padding: 22px; }
.auth-card { background: #fff; border: 1px solid #e5ebe5; border-radius: 10px; max-width: 420px; padding: 30px; width: 100%; }
.auth-brand { margin: 0 0 28px; }
.auth-card h1 { font-size: 27px; margin-bottom: 8px; }
.auth-card > p { color: #7c8982; font-size: 12px; line-height: 1.6; margin-bottom: 18px; }
.auth-security { background: #eff5ef; border-radius: 5px; color: #55715b; font-size: 10px; line-height: 1.6; margin-bottom: 18px; padding: 10px; }
.auth-card form { display: grid; gap: 14px; }
.auth-card form > button { margin-top: 3px; }
.auth-card #login-message { color: #8c3c30; font-size: 11px; line-height: 1.5; margin: 0; min-height: 15px; }
.auth-card #login-message:empty { display: none; }
.auth-card button:disabled { cursor: wait; opacity: .65; }
.auth-admin-link { color: var(--green); display: inline-block; font-size: 10px; font-weight: 700; margin-top: 19px; }

.admin-page { background: #f4f7f3; min-height: 100vh; }
.admin-header { align-items: center; background: #fff; border-bottom: 1px solid var(--line); display: flex; height: 65px; justify-content: space-between; padding: 0 max(20px, calc((100% - 1280px) / 2)); }
.admin-header .brand { margin: 0; }
.admin-header-right { align-items: center; color: #68766e; display: flex; font-size: 11px; gap: 15px; }
.admin-content { margin: 0 auto; max-width: 1280px; padding: 30px 24px 50px; }
.admin-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 22px; }
.admin-heading h1 { font-size: 27px; margin-bottom: 6px; }
.admin-heading p { color: #7c8982; font-size: 12px; margin: 0; }
.admin-badge { background: #f7f3e9; border-radius: 20px; color: #806d43; font-size: 9px; font-weight: 600; padding: 7px 10px; }
.admin-stats { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.admin-stats article { background: #fff; border: 1px solid #e8ede8; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; padding: 15px 17px; }
.admin-stats span { color: #829087; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.admin-stats strong { color: #293c30; font-family: var(--font-heading); font-size: 22px; }
.admin-panel { background: #fff; border: 1px solid #e8ede8; border-radius: 8px; margin-top: 16px; padding: 19px; }
.admin-panel-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 15px; }
.admin-panel-actions { align-items: center; display: flex; gap: 8px; }
.admin-panel-heading h2 { color: #2b3a31; font-size: 15px; margin: 0 0 5px; }
.admin-panel-heading p { color: #829087; font-size: 10px; margin: 0; }
.admin-form { background: #f8faf8; border: 1px solid #edf0ed; border-radius: 7px; margin: 13px 0; padding: 15px; }
.admin-form[hidden] { display: none; }
.admin-form-grid { align-items: end; display: grid; gap: 13px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-form label small { color: #89958d; font-size: 9px; font-weight: 400; line-height: 1.5; }
.admin-form textarea { min-height: 86px; resize: vertical; }
.admin-form .button { justify-self: start; }
.notice-form { align-items: end; display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notice-form label:nth-child(3) { grid-column: 1 / -1; }
.notice-form .check-label { align-items: center; flex-direction: row; }
.notice-form .check-label input { min-height: 16px; }
.read-only-warning { background: #f8f4e9; border-radius: 5px; color: #756743; font-size: 10px; line-height: 1.6; margin: 13px 0; padding: 10px 12px; }
.table-wrap { overflow-x: auto; }
.admin-panel table { border-collapse: collapse; font-size: 10px; min-width: 630px; text-align: left; width: 100%; }
.admin-panel th { background: #f7f9f7; color: #77857b; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.admin-panel th, .admin-panel td { border-bottom: 1px solid #edf0ed; padding: 11px 9px; vertical-align: top; }
.admin-panel td { color: #56655a; line-height: 1.5; }
.table-action { background: transparent; border: 0; color: #397554; cursor: pointer; font-size: 9px; font-weight: 700; padding: 2px 0; white-space: nowrap; }
.table-action:disabled { cursor: wait; opacity: .6; }
.admin-footnote { color: #859188; font-size: 10px; line-height: 1.6; margin: 17px 0 0; }

.home-page { background: #f6f8f5; min-height: 100vh; }
.home-header { align-items: center; display: flex; height: 92px; justify-content: space-between; margin: 0 auto; max-width: 1280px; padding: 0 36px; }
.home-brand { display: block; height: 76px; overflow: hidden; width: 196px; }
.home-brand img { display: block; height: auto; width: 196px; }
.home-header-cta { min-height: 40px; }
.home-hero { align-items: center; background: var(--green); color: #fff; display: grid; gap: clamp(35px, 7vw, 94px); grid-template-columns: minmax(0, 1fr) minmax(350px, .86fr); margin: 0 auto; max-width: 1280px; min-height: 430px; padding: 55px clamp(36px, 7vw, 88px); }
.home-hero-copy { max-width: 550px; }
.home-hero h1 { color: #fff; font-size: clamp(39px, 5vw, 62px); letter-spacing: -.055em; line-height: 1.04; margin: 0 0 19px; max-width: 10ch; }
.home-hero-copy > p:not(.home-access-note) { color: #e0ebf3; font-size: 15px; line-height: 1.75; margin: 0 0 26px; max-width: 48ch; }
.button-home-primary { align-items: center; background: #fff; border: 1px solid #fff; border-radius: 6px; color: var(--green-dark); display: inline-flex; font-size: 12px; font-weight: 700; gap: 18px; justify-content: center; min-height: 45px; padding: 0 17px; transition: background .15s, transform .15s; }
.button-home-primary:hover { background: #eaf1f7; transform: translateY(-1px); }
.home-access-note { color: #e0ebf3; font-size: 11px; line-height: 1.6; margin: 13px 0 0; }
.home-register { background: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; color: var(--ink); padding: 20px 23px 14px; }
.home-register-heading { align-items: center; color: #748196; display: flex; font-size: 9px; font-weight: 700; justify-content: space-between; letter-spacing: .12em; padding: 0 2px 10px; }
.home-register-heading span:last-child { color: var(--green); }
.home-register > a { align-items: center; border-top: 1px solid #e9edf0; display: grid; gap: 12px; grid-template-columns: 10px minmax(0, 1fr) auto; min-height: 65px; padding: 9px 2px; transition: background .15s; }
.home-register > a:hover { background: #f5f8fa; }
.home-register-index { background: var(--brand-green); border-radius: 50%; height: 7px; width: 7px; }
.home-register > a > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.home-register strong { color: #26394c; font-size: 12px; }
.home-register small { color: #66788a; font-size: 10px; }
.home-register-arrow { color: var(--green); font-size: 15px; }
.home-register > p { border-top: 1px solid #e9edf0; color: #66788a; font-size: 10px; line-height: 1.6; margin: 0; padding: 12px 2px 0; }
.home-details { align-items: center; display: grid; gap: 50px; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); margin: 0 auto; max-width: 1120px; padding: 55px 36px 59px; }
.home-details h2 { color: #203142; font-size: clamp(23px, 2.8vw, 32px); letter-spacing: -.04em; line-height: 1.2; margin: 0 0 11px; max-width: 18ch; }
.home-details > div:first-child > p { color: #5c6d7c; font-size: 13px; line-height: 1.8; margin: 0; max-width: 57ch; }
.home-first-signin { align-items: flex-start; border-top: 1px solid #dbe3df; display: flex; gap: 13px; padding-top: 16px; }
.home-green-mark { background: var(--brand-green); border-radius: 50%; flex: 0 0 8px; height: 8px; margin-top: 5px; }
.home-first-signin p { color: #5c6d7c; font-size: 11px; line-height: 1.75; margin: 0; }
.home-first-signin strong { color: #2c4051; }
.home-footer { align-items: center; border-top: 1px solid #e1e7e2; color: #718079; display: flex; font-size: 10px; justify-content: space-between; margin: 0 auto; max-width: 1208px; padding: 18px 0 22px; }
.home-footer a { color: var(--green); font-weight: 700; }
.home-footer a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1450px) {
  .content-wrap { padding-top: 29px; }
  .account-row { min-height: 76px; }
}
@media (max-width: 1120px) {
  .sidebar { width: 215px; padding-left: 16px; padding-right: 16px; }
  .main-content { margin-left: 215px; }
  .topbar { padding: 0 28px; }
  .content-wrap { padding-left: 28px; padding-right: 28px; }
  .lower-grid { grid-template-columns: minmax(0, 1.35fr) minmax(220px, 1fr); }
}
@media (max-width: 850px) {
  .home-header { height: 80px; padding: 0 24px; }
  .home-brand { height: 67px; width: 174px; }
  .home-brand img { width: 174px; }
  .home-hero { gap: 34px; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); min-height: 390px; padding: 43px 30px; }
  .home-hero h1 { font-size: clamp(36px, 5.5vw, 48px); }
  .home-register { padding: 17px 18px 13px; }
  .home-details { gap: 30px; padding: 44px 30px; }
  .home-footer { margin: 0 30px; }
  .sidebar { align-items: center; bottom: auto; flex-direction: row; height: 61px; left: 0; padding: 0 17px; right: 0; top: 0; width: 100%; }
  .brand { margin: 0; }
  .sidebar .brand-logo { width: 128px; }
  .admin-header .brand-logo { width: 128px; }
  .nav-label, .sidebar-spacer, .sidebar-help, .sidebar-footer { display: none; }
  .sidebar > .main-nav { display: flex; gap: 3px; margin-left: auto; }
  .sidebar > .main-nav ~ .main-nav { margin-left: 3px; }
  .nav-link { font-size: 10px; gap: 6px; min-height: 35px; padding: 0 8px; }
  .nav-link svg { height: 15px; width: 15px; }
  .nav-dot { height: 5px; margin-left: -3px; width: 5px; }
  .main-content { margin-left: 0; padding-top: 61px; }
  .topbar { height: 53px; padding: 0 20px; }
  .content-wrap { padding: 19px 20px 28px; }
  .demo-banner { margin-bottom: 24px; }
  .lower-grid { gap: 12px; grid-template-columns: minmax(0, 1.4fr) minmax(205px, 1fr); }
}
@media (max-width: 640px) {
  .home-header { height: 74px; padding: 0 15px; }
  .home-brand { height: 57px; width: 145px; }
  .home-brand img { width: 145px; }
  .home-header-cta { font-size: 10px; min-height: 36px; padding: 0 10px; }
  .home-hero { gap: 28px; grid-template-columns: 1fr; min-height: 0; padding: 38px 20px 27px; }
  .home-hero h1 { font-size: clamp(39px, 10vw, 52px); max-width: 9ch; }
  .home-hero-copy > p:not(.home-access-note) { font-size: 13px; margin-bottom: 20px; }
  .home-register { padding: 15px 16px 12px; }
  .home-register > a { min-height: 59px; }
  .home-details { gap: 21px; grid-template-columns: 1fr; padding: 34px 20px 38px; }
  .home-details h2 { font-size: 25px; }
  .home-footer { align-items: flex-start; flex-direction: column; gap: 10px; margin: 0 20px; padding: 15px 0 19px; }
  .sidebar { padding: 0 12px; }
  .brand { gap: 7px; }
  .sidebar .brand-logo { width: 112px; }
  .admin-header .brand-logo { width: 112px; }
  .admin-header-right { gap: 8px; }
  .sidebar .main-nav { gap: 1px; }
  .nav-link { gap: 0; min-height: 34px; padding: 0 7px; }
  .nav-link span:not(.nav-dot) { display: none; }
  .nav-link svg { height: 17px; width: 17px; }
  .nav-dot { margin-left: -2px; }
  .topbar { padding: 0 14px; }
  .topbar-actions { gap: 11px; }
  .demo-chip { font-size: 9px; padding: 5px 8px; }
  .member-menu { gap: 0; }
  .member-menu-name, .chevron { display: none; }
  .content-wrap { padding: 15px 14px 25px; }
  .demo-banner { gap: 8px; margin-bottom: 22px; padding: 9px 9px; }
  .demo-banner p { font-size: 9px; }
  .welcome-row { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 18px; }
  h1 { font-size: 25px; }
  .page-intro { font-size: 11px; }
  .profile-prompt { align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; padding: 12px; }
  .prompt-icon { flex-basis: 33px; height: 33px; }
  .prompt-copy { flex: 1 1 calc(100% - 48px); padding-top: 1px; }
  .profile-progress { margin-left: 43px; }
  .text-button { margin-left: auto; }
  .section-heading { align-items: flex-start; gap: 9px; }
  .account-heading-actions { align-items: flex-end; flex-direction: column; gap: 5px; }
  .section-heading h2, .panel-heading h2 { font-size: 14px; }
  .section-heading p, .panel-heading p { font-size: 9px; line-height: 1.5; }
  .account-row { gap: 9px; grid-template-columns: 30px minmax(0, 1fr) auto; padding: 10px; }
  .account-row .account-status { grid-column: 2; justify-self: start; margin-top: -4px; }
  .account-row-link { grid-column: 3; grid-row: 1 / span 2; }
  .lower-grid { grid-template-columns: 1fr; margin-top: 15px; }
  .notices-panel, .quick-panel { padding: 14px; }
  .page-footer { font-size: 8px; }
  .profile-layout, .help-grid { grid-template-columns: 1fr; }
  .profile-side-panel { order: -1; }
  .status-card { padding: 19px; }
  .page-heading-block { margin-top: 3px; }
  .simple-panel { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-panel-heading { margin-bottom: 15px; }
  .auth-card { padding: 24px; }
  .admin-content { padding-left: 14px; padding-right: 14px; }
  .admin-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .admin-stats { gap: 8px; }
  .admin-stats article { padding: 12px; }
  .admin-form-grid, .notice-form { grid-template-columns: 1fr; }
  .notice-form label:nth-child(3) { grid-column: auto; }
  .admin-panel { padding: 14px; }
  .admin-panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .admin-panel-actions { align-items: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
