:root { --line: #d6e2dc; --panel: #fff; }
body { background: #eff5f1; }
.masthead { display: flex; align-items: center; justify-content: space-between; padding: .8rem max(1.25rem, calc((100vw - 75rem) / 2)); border-bottom: 1px solid var(--line); background: #f9fcfa; }
.masthead a img { width: 7.9rem; height: auto; }
main { width: min(75rem, calc(100% - 2.5rem)); margin: auto; padding-block: clamp(2rem, 6vw, 5rem); }
.gate { max-width: 67rem; margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 32rem; border: 1px solid var(--line); border-radius: 1.55rem; overflow: hidden; background: #fff; box-shadow: 0 20px 55px #122f3312; }
.gate-copy { align-self: center; padding: clamp(1.3rem, 5vw, 4rem); }
.eyebrow { color: #02645d; font-weight: 720; text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; }
h1 { font: 730 clamp(2.35rem, 5vw, 4.2rem)/1.02 var(--display-font); letter-spacing: -.06em; margin-block: .4rem .7rem; }
h2 { font: 690 clamp(1.45rem, 2.6vw, 1.85rem)/1.14 var(--display-font); letter-spacing: -.035em; margin-block-end: .45rem; }
p { color: #3d5856; }
.gate figure { margin: 0; min-width: 0; }
.gate figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.stack { display: grid; gap: .55rem; margin-block-start: 1.3rem; }
.stack label { font-weight: 650; }
.stack input:not([type="checkbox"]), .stack select, #search, #issued-password { width: 100%; min-height: 2.75rem; padding: .55rem .72rem; border: 1px solid #b2c5bd; border-radius: .6rem; background: #fcfefd; font: inherit; color: inherit; }
.stack label:not(:first-child):not(.check) { margin-block-start: .4rem; }
.password-field { display: flex; gap: .45rem; }
.password-field input { min-width: 0; }
.button { border: 1px solid #193e40; border-radius: .65rem; background: #193e40; color: white; font: 700 1rem/1.2 var(--body-font); min-height: 2.75rem; padding: .58rem .95rem; cursor: pointer; }
.button:hover { background: #265553; }
.button.secondary { background: transparent; color: #193e40; border-color: #abc1b8; }
.button.secondary:hover { background: #edf6f0; }
.button:disabled { opacity: .65; cursor: wait; }
.stack > .button { margin-block-start: .4rem; justify-self: start; }
.gate .stack > .button { justify-self: stretch; }
.link-button { border: 0; background: none; padding: .35rem 0; color: #0e5b51; text-decoration: underline; justify-self: start; font: inherit; cursor: pointer; }
.support { margin-block-start: 1rem; }
.notice { border-radius: .65rem; background: #e1f1e8; padding: .75rem .85rem; margin-block: .7rem; overflow-wrap: anywhere; }
.notice.error { background: #f8e8e5; color: #83211e; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; margin-block-end: 1.4rem; }
.count { padding: .4rem .7rem; border-radius: 999px; background: #e0ede5; color: #2e514b; font-weight: 650; }
.desk { display: grid; grid-template-columns: minmax(17rem, 1fr) minmax(0, 1.65fr); gap: 1rem; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 1.1rem; padding: clamp(1rem, 3vw, 1.75rem); min-width: 0; }
.check { display: flex; gap: .55rem; align-items: start; margin-block: .4rem; }
.check input { flex: 0 0 auto; margin-block-start: .23rem; accent-color: #265553; width: 1.04rem; height: 1.04rem; }
.list-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .85rem; }
.list-heading #search { max-width: 15rem; }
.cards { list-style: none; margin: .65rem 0 0; padding: 0; overflow-wrap: anywhere; }
.card { display: flex; align-items: start; justify-content: space-between; gap: .65rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.card:last-child { border-bottom: 0; }
.card strong, .card small { display: block; }
.card small { color: #41615e; }
.card-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.empty { margin-block-start: 1rem; }
footer { padding: 0 1.25rem 2rem; color: #45605b; text-align: center; font-size: .9rem; }
@media (max-width: 720px) {
  .gate, .desk { grid-template-columns: minmax(0, 1fr); }
  .gate { min-height: 0; }
  .gate figure { grid-row: 1; }
  .gate figure img { max-height: 12rem; object-position: center 42%; }
}
