/* Portal home: sign-in by email code, then the client's galleries (27 Oct 2026). */
.hm-sign{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:56px;align-items:center;min-height:52vh;}
.hm-sign .kicker{margin-bottom:20px;}
.hm-sign .p-h1{margin-bottom:20px;}
.hm-card{padding:32px;}
.hm-code{font:500 24px/1 var(--mono) !important;letter-spacing:.3em;padding-right:84px !important;}
.hm-code-wrap{position:relative;}
.hm-reveal{position:absolute;top:50%;right:8px;transform:translateY(-50%);border:0;border-radius:6px;background:var(--surface-2);color:var(--fg);
  font:500 13px var(--body);padding:9px 12px;cursor:pointer;}
.hm-reveal:hover{background:var(--surface-3);}
.hm-sent{margin-bottom:18px;}
.hm-help{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);}
.p-signout{background:none;border:0;cursor:pointer;font-family:var(--body);}
.hm-list .file{gap:16px;}
.hm-list .go{display:flex;align-items:center;gap:12px;}
.hm-contact{margin-top:36px;max-width:520px;}
.hm-contact .contact-card{margin-bottom:12px;}
.hm-contact .contact-card img{border-radius:50%;}
@media (max-width:1024px){ .hm-sign{grid-template-columns:1fr;gap:28px;min-height:0;} }
@media (max-width:640px){ .hm-card{padding:22px;} }
