.hkve-account-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(15rem,1fr);align-items:start;gap:clamp(1rem,3vw,3rem);max-width:59rem;margin:1.5rem auto 4rem}
.hkve-account-main,.hkve-account-aside{min-width:0}
.hkve-account p{line-height:1.75}
.hkve-account #hkve-login label:not([for=rememberme]){display:block;font-weight:600;margin-bottom:.35rem}
.hkve-account #hkve-login input:is([type=text],[type=password]){box-sizing:border-box;width:100%;min-height:44px;border:1px solid #796e78;border-radius:4px;background:white;color:#29233f;padding:.6rem .85rem;font:inherit}
.hkve-account #wp-submit{min-height:44px;background:#17583e;color:#fff;border:0;border-radius:.25rem;padding:.65rem 1.2rem;font:inherit;font-weight:650;cursor:pointer}
.hkve-account #wp-submit:hover{background:#0c412b}
.hkve-account-aside>a{display:table;margin-top:.85rem}
.hkve-account .hkve-requests{list-style:none;padding:0;margin:0}
.hkve-requests li{margin:1rem 0 1.5rem;overflow-wrap:anywhere}
.hkve-requests li>div{display:flex;justify-content:space-between;gap:.5rem}
.hkve-requests li p{margin:.3rem 0}
@media(max-width:720px){.hkve-account-grid{grid-template-columns:1fr;margin:1rem auto 2.25rem}.hkve-account .pt-header h1{font-size:clamp(1.65rem,7vw,2.2rem)}}

/* The portal uses the programme's coloured paper, printed dots and ticket edge. */
#content:has(> .hkve-account) {
  background:
    linear-gradient(148deg, transparent 51%, #d5eadd 51%) right top / min(37%, 32rem) 7rem no-repeat,
    radial-gradient(#decfb6 .9px, transparent 1px) left top / 9px 9px,
    #fffbf2;
}
.portal-wrap.hkve-account {max-width:61rem;padding-top:clamp(1rem,3vw,2.25rem)}
.hkve-account .pt-crumb {color:#514646}
.hkve-account .pt-header {
  position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(1.3rem,3.5vw,2.4rem);
  color:#30223d;border:0;background:#ffe394;
}
.hkve-account .pt-header > div {position:relative;z-index:1}
.hkve-account .pt-header::before,.hkve-account .pt-header::after {
  content:"";position:absolute;pointer-events:none;
}
.hkve-account .pt-header::before {
  inset:0 0 0 auto;width:45%;background:
    linear-gradient(119deg,transparent 8%,#b9dfc4 8% 41%,transparent 41%),
    repeating-conic-gradient(#efae71 0 25%,#ffe394 0 50%) 100% 50%/18px 18px;
  clip-path:polygon(28% 0,100% 0,100% 100%,0 100%,19% 69%,8% 73%);
}
.hkve-account .pt-header::after {
  width:clamp(1.8rem,5vw,3.6rem);aspect-ratio:1;right:9%;top:20%;background:#215f4b;
  clip-path:polygon(50% 0,58% 30%,82% 12%,72% 40%,100% 50%,70% 57%,85% 85%,58% 71%,50% 100%,42% 71%,15% 87%,28% 59%,0 50%,30% 42%,15% 16%,42% 29%);
}
.hkve-account .pt-edition {background:#195942;color:white;box-shadow:none;padding:.3em .65em}
.hkve-account .hkve-account-grid {max-width:none;margin:clamp(.85rem,2vw,1.4rem) 0 1rem;gap:clamp(.85rem,2vw,1.4rem)}
.hkve-account .hkve-account-main,.hkve-account .hkve-account-aside {
  padding:clamp(1.15rem,3vw,2rem);border:0;
}
.hkve-account .hkve-account-main {background:#fffef9;box-shadow:inset 0 4px #287951}
.hkve-account .hkve-account-aside {
  background:linear-gradient(125deg,transparent 0 78%,#f6cd80 78%) right bottom/7rem 2.75rem no-repeat,#fff0c4;
}
.hkve-account-main :is(#hkve-login,.pt-form) {max-width:33rem}
.hkve-account :is(.pt-form,#hkve-login) p {margin-block:.85rem}
.hkve-account #hkve-login input:is([type=text],[type=password]),
.hkve-account .pt-form input:not([type=hidden]) {background:#fff;border-color:#887b75;border-radius:4px;min-height:44px}
.hkve-account #wp-submit,.hkve-account .pt-button,.hkve-account .pt-secondary {
  width:fit-content;min-height:44px;border:0;border-radius:4px;box-shadow:none;
  padding:.65rem 1.15rem;font-weight:650;
}
.hkve-account #wp-submit,.hkve-account .pt-button {background:#15573f;color:#fff}
.hkve-account #wp-submit:hover,.hkve-account .pt-button:hover {background:#0a4030}
.hkve-account .pt-secondary {background:#f8c452;color:#332341}
.hkve-account .pt-secondary:hover {background:#f2b833}
.hkve-account-aside > a {display:table}
.hkve-account-aside > a:not(.pt-secondary),.hkve-account .pt-inline {color:#15573f}
@media(max-width:720px){
  .hkve-account .pt-crumb {margin-bottom:.65rem}
  .hkve-account .pt-header {padding:1.05rem 1.2rem}
  .hkve-account .pt-header::before {width:38%}
  .hkve-account .hkve-account-grid {grid-template-columns:minmax(0,1fr)}
}

/* Guest entries share one compact sheet. Owner review keeps its two-column layout. */
.hkve-entry-sheet {
  max-width:30rem;
  margin:0 auto clamp(2rem,7vh,4.5rem);
  background:#fffdf6;
  box-shadow:0 6px 24px #4e442714;
}
.hkve-entry .pt-crumb {max-width:30rem;margin-inline:auto}
.hkve-entry-heading {
  position:relative;
  display:flex;align-items:baseline;gap:.75rem;isolation:isolate;overflow:hidden;
  background:#ffe39a;color:#2f2a32;
  padding:1.45rem clamp(1.2rem,4.5vw,2rem) 1.2rem;
}
.hkve-entry-heading::after {
  content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:32%;pointer-events:none;
  background:linear-gradient(118deg,transparent 25%,#a5d6b1 25% 39%,transparent 39% 46%,#e5a353 46% 53%,transparent 53%),
             repeating-conic-gradient(#f3c561 0 25%,transparent 0 50%) right top/14px 14px;
  clip-path:polygon(20% 0,100% 0,100% 100%,2% 100%,25% 55%,12% 65%);
}
#content .hkve-entry-heading h1 {font-size:clamp(1.55rem,4vw,2rem);line-height:1.2}
.hkve-entry-heading > span {font-size:.8rem;color:#5a4831;font-weight:650}
.hkve-entry-tabs {display:flex;margin:1.15rem clamp(1.2rem,4.5vw,2rem) 0;background:#f2ecd9;border-radius:.4rem;padding:3px}
.hkve-entry-tabs a {
  display:grid;align-items:center;text-align:center;min-height:42px;flex:1;color:#474137;border-radius:.28rem;
  font-size:.95rem;font-weight:600;text-decoration:none;
}
.hkve-entry-tabs a:hover {background:#e7dfc8}
.hkve-entry-tabs a[aria-current] {background:#18583f;color:#fff}
.hkve-entry .hkve-account-grid {display:block;margin:0}
.hkve-entry .hkve-account-main {background:transparent;box-shadow:none;padding:1.2rem clamp(1.2rem,4.5vw,2rem) .9rem}
.hkve-entry .hkve-account-main > p:not(.pt-notice) {color:#554f48;font-size:.92rem}
.hkve-entry .hkve-account-main > .pt-notice {margin-bottom:.8rem}
.hkve-entry .hkve-account-main h2 {margin-bottom:.5rem}
.hkve-entry .hkve-recovery {
  display:inline-flex;align-items:center;margin-top:-.5rem;min-height:40px;
  font-size:.87rem;font-weight:600;color:#18583f;
}
.hkve-entry #hkve-login .login-remember {margin:.15rem 0 .65rem}
.hkve-entry #hkve-login .login-remember label {
  display:flex;align-items:center;gap:.5rem;min-height:36px;margin:0;font-size:.9rem;font-weight:450;cursor:pointer;
}
.hkve-entry #hkve-login .login-remember input {width:1rem;height:1rem;min-height:0;accent-color:#18583f}
.hkve-entry #wp-submit,.hkve-entry .pt-form button[type=submit],.hkve-entry .pt-form button.pt-button {width:100%;justify-content:center}
.hkve-entry .hkve-entry-foot {display:flex;flex-wrap:wrap;gap:.4rem 1.35rem;background:#f5efdb;padding:.35rem clamp(1.2rem,4.5vw,2rem)}
.hkve-entry-foot a,.hkve-confirm-actions a {display:inline-flex;align-items:center;min-height:44px;color:#235b45;font-size:.87rem;font-weight:600}
.hkve-entry a:is(.hkve-recovery,:hover),.hkve-entry-foot a,.hkve-confirm-actions a {text-decoration:none}
.hkve-entry .hkve-recovery:hover,.hkve-entry-foot a:hover,.hkve-confirm-actions a:hover {color:#102d20;background:#ece9d8}
.hkve-confirm-actions {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:1rem 0 .6rem}
.hkve-confirm-copy strong {color:#263d30;overflow-wrap:anywhere}
.hkve-entry .hkve-account-main .hkve-entry-help {font-size:.84rem}
@media(max-width:540px){
  .hkve-entry .hkve-entry-heading {padding-block:.9rem}
  .hkve-entry .hkve-account-main {padding-block:1rem .6rem}
  .hkve-entry .hkve-entry-tabs {margin-top:.85rem}
}
