:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #102f30;
  background: #edf4f2;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 68rem); margin-inline: auto; }
header { background: #0d3031; color: #e9fff9; }
.masthead { min-height: 4.5rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; gap: .65rem; align-items: center; color: inherit; text-decoration: none; font-weight: 750; }
.mark { color: #83e8c8; font-size: 1.6rem; }
.section { color: #b7d2cf; border-left: 1px solid #557474; padding-left: 1.5rem; }
main { padding-block: clamp(2rem, 6vw, 5rem); }
.intro { margin-bottom: 2rem; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); letter-spacing: -.06em; line-height: 1; margin: 0 0 .9rem; }
p { color: #416060; line-height: 1.65; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.card { background: #fff; border: 1px solid #c9dad6; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.7rem); }
.card h2 { margin: 0; font-size: 1rem; }
.value { font-size: 1.8rem; font-weight: 700; margin-top: .6rem; }
.phones, .guide { margin-top: 1rem; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
a { color: #116447; text-underline-offset: .2em; }
table { border-collapse: collapse; width: 100%; margin-top: 1rem; }
th, td { text-align: left; padding: .8rem .25rem; border-bottom: 1px solid #dfebe8; }
th { font-size: .875rem; color: #416060; }
tr:last-child td { border-bottom: 0; }
.guide p:last-child { margin-bottom: 0; }
form input:not([type=hidden]) { width: min(100%, 28rem); padding: .65rem; margin-block: .35rem; border: 1px solid #76948e; border-radius: .35rem; font: inherit; }
form button { background: #116447; color: #fff; border: 0; border-radius: .4rem; padding: .75rem 1rem; font: inherit; font-weight: 650; cursor: pointer; }
.masthead nav { display: flex; gap: .35rem; flex-wrap: wrap; }
.masthead nav a { color: #e9fff9; padding: .5rem .75rem; border-radius: .4rem; text-decoration: none; }
.masthead nav a[aria-current="page"] { background: #285657; }
.signout { margin-left: auto; }
.card label { display: block; margin-top: .7rem; font-weight: 650; }
.card input:not([type=hidden]), .card select { display: block; width: min(100%, 32rem); padding: .65rem; margin-block: .35rem .75rem; border: 1px solid #76948e; border-radius: .4rem; font: inherit; }
.card button, .signout button { background: #116447; color: white; border: 1px solid transparent; border-radius: .4rem; padding: .65rem .9rem; font: inherit; font-weight: 650; cursor: pointer; margin-block: .2rem; }
button.secondary { color: #174140; background: #e8f3ef; border-color: #b9d5cc; }
.account-panel { max-width: 31rem; }
.account-panel > button { margin-top: .9rem; }
.user-row { padding-block: .8rem; border-bottom: 1px solid #d6e4df; }
.user-row summary { cursor: pointer; }
.user-row summary span { margin-left: .5rem; color: #416060; }
.notice { padding: .75rem 1rem; border-radius: .5rem; background: #dff2e9; }
@media (max-width: 37rem) {
  .masthead { flex-wrap: wrap; padding-block: .75rem; gap: .5rem; }
  .masthead nav { order: 3; width: 100%; }
}

.help-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
article.card li { margin-block: .45rem; line-height: 1.55; }
article.card dt { margin-top: 1rem; font-weight: 700; }
article.card dd { margin: .25rem 0 0; color: #416060; line-height: 1.55; }

.form-grid { display: grid; gap: .4rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.card .check { display: flex; gap: .6rem; align-items: center; margin-block: .5rem; }
.card .check input { width: auto; margin: 0; }
.card fieldset { border: 1px solid #c9dad6; border-radius: .4rem; margin: .6rem 0; }

.trunk-actions, .trunk-actions form { display: flex; gap: .5rem 1rem; flex-wrap: wrap; align-items: center; }
.trunk-form textarea { display: block; width: 100%; margin-block: .35rem .75rem; border: 1px solid #76948e; border-radius: .4rem; padding: .65rem; font: inherit; }
