:root{color-scheme:light;--hkmg-ink:#142e37;--hkmg-teal:#085565;--hkmg-line:#c8dadd;--hkmg-bg:#eef5f5}
.premium-portal{margin:0;background:var(--hkmg-bg);color:var(--hkmg-ink);font:1rem/1.6 system-ui,sans-serif}
.premium-portal header,.premium-account-nav{background:#fff;border-bottom:1px solid var(--hkmg-line)}
.premium-portal header,.premium-account-nav,.premium-portal footer{display:flex;align-items:center;flex-wrap:wrap;gap:1.25rem;padding:1rem max(5vw,calc((100vw - 65rem) / 2))}
.premium-portal header img{width:115px;height:auto;vertical-align:middle}
.premium-portal main{width:min(65rem,90vw);margin:3rem auto;box-sizing:border-box;background:#fff;border:1px solid var(--hkmg-line);border-radius:1rem;padding:clamp(1rem,4vw,3rem)}
.premium-portal h1{font-size:clamp(1.9rem,4vw,2.7rem);margin:0 0 1rem;line-height:1.2}
.premium-portal h2{margin-top:2rem;font-size:1.25rem}
.premium-portal a,.premium-account-nav a,.premium-data a{color:var(--hkmg-teal);font-weight:650}
.premium-portal form,.premium-data-actions{display:flex;align-items:end;gap:.7rem;flex-wrap:wrap;margin:.75rem 0}
.premium-portal label{display:grid;gap:.25rem}
.premium-portal input,.premium-data input[type=search]{max-width:100%;box-sizing:border-box;padding:.6rem;border:1px solid #70969c;border-radius:.4rem;color:#142e37;background:#fff;font:inherit}
.premium-portal button,.premium-data button{border:1px solid transparent;border-radius:.4rem;padding:.6rem 1rem;background:#085565;color:#fff;font:inherit;font-weight:650;cursor:pointer}
.premium-data button:disabled{opacity:.5;cursor:default}
.premium-portal dl{display:grid;grid-template-columns:max-content 1fr;gap:.3rem 1rem}
.premium-portal dd{margin:0}
.premium-portal :focus-visible,.premium-data :focus-visible,.premium-account-nav :focus-visible{outline:3px solid #b45a16;outline-offset:3px}
.premium-data{width:min(68rem,92%);box-sizing:border-box;margin:1.5rem auto;padding:1.25rem;border:1px solid var(--hkmg-line);border-radius:1rem;background:#f8fbfb;color:var(--hkmg-ink)}
.premium-data li{margin:.4rem 0}
.premium-data article{margin-top:1rem;padding:1rem;border:1px solid var(--hkmg-line);border-radius:.5rem}
.premium-data [hidden],.premium-portal [hidden]{display:none}
@media(max-width:35rem){.premium-portal dl{grid-template-columns:1fr}.premium-portal dd{margin-bottom:.6rem}}

.preview-mail{min-width:0;margin-top:1.25rem;padding:clamp(.75rem,3vw,1.5rem);border:1px solid var(--hkmg-line);border-radius:.75rem;overflow-wrap:anywhere}
.preview-mail h2{margin:0 0 .5rem}
.preview-mail-actions{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:1rem 0}
.preview-mail details{margin:.75rem 0}
.preview-mail summary{font-weight:650;cursor:pointer}
.preview-mail pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:inherit;padding:.75rem;background:var(--hkmg-bg)}
.preview-mail iframe{display:block;width:100%;max-width:100%;height:38rem;border:0;margin-top:.75rem}

.account-section{padding:1.35rem 0;border-top:1px solid var(--hkmg-line)}
.account-section:first-of-type{border-top:0;padding-top:0}
.account-section h2{margin:0 0 .65rem;font-size:1.4rem}
.account-section h3{margin:1.15rem 0 .45rem;font-size:1.08rem}
.account-product,.account-seats{margin:.75rem 0;padding:1rem 1.15rem;border:1px solid var(--hkmg-line);border-radius:.75rem}
.account-product{background:var(--hkmg-bg);border-left:.3rem solid var(--hkmg-teal)}
.account-product h3,.account-seats h3{margin-top:0}
.account-product dl{margin:.6rem 0 0}
.premium-portal .account-link{display:inline-block;background:var(--hkmg-teal);color:#fff;padding:.65rem 1rem;border-radius:.4rem;text-decoration:none}
.account-atlas-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.75rem;margin-top:1rem}
.account-atlas-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:.65rem;background:#fff;border:1px solid var(--hkmg-line);border-radius:.5rem;padding:.9rem;min-width:0;overflow-wrap:anywhere}
.account-atlas-card h4{margin:0;font-size:1rem}
.account-atlas-card .account-link{box-sizing:border-box;max-width:100%;text-align:center}
.account-settings details{border-top:1px solid var(--hkmg-line);padding:.55rem 0}
.account-settings summary{font-weight:650;color:var(--hkmg-teal);cursor:pointer}
.account-settings p{margin:.5rem 0;overflow-wrap:anywhere}
.account-notice{padding:.85rem 1rem;border-left:4px solid var(--hkmg-teal);background:var(--hkmg-bg)}
.seat-help-list{display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin:.8rem 0}
.seat-help-list details{flex:1 1 15rem}
.seat-help summary,.seat-actions summary{cursor:pointer;color:var(--hkmg-teal);font-weight:650;padding:.45rem 0}
.seat-help summary span{display:inline-grid;place-items:center;width:1.15rem;height:1.15rem;border:1px solid currentColor;border-radius:50%;font-size:.78rem;vertical-align:middle;margin-right:.25rem}
.seat-help p{margin:.25rem 0 .5rem}
.seat-count{margin:.25rem 0}
.seat-list{list-style:none;padding:0;margin:.75rem 0}
.seat-list li{padding:.75rem 0;border-top:1px solid var(--hkmg-line)}
.seat-summary{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:.35rem .9rem;overflow-wrap:anywhere}
.seat-role{display:block;font-size:.88rem}
.seat-state{padding:.2rem .65rem;border-radius:1rem;background:var(--hkmg-bg);font-size:.88rem;font-weight:650}
.seat-actions{margin:.55rem 0 0}
.seat-actions label.seat-confirm{display:flex;align-items:flex-start;gap:.5rem;flex-basis:100%}
.seat-confirm input{margin-top:.4rem}
