.tg-account-shell{max-width:44rem;margin:auto;padding:3rem 1rem;color:#071225}
.tg-account-panel{background:#fff;border:1px solid #dce4dc;border-radius:1rem;padding:clamp(1.25rem,4vw,2.5rem)}
.tg-account-panel h1{font-size:clamp(1.75rem,5vw,2.5rem);font-weight:800;line-height:1.15;margin:.5rem 0 1rem}
.tg-account-panel p{margin:.75rem 0;line-height:1.6}
.tg-account-form{margin:1.5rem 0}.tg-account-form label,.tg-account-form legend{font-weight:600}.tg-account-form legend{font-size:1.25rem;margin-bottom:1rem}
.tg-account-form input:not([type=checkbox]):not([type=hidden]){display:block;width:100%;border:1px solid #81928a;border-radius:.5rem;padding:.7rem;margin:.4rem 0;font:inherit;background:#fff}
.tg-account-form ul:not(.errorlist){font-size:.85rem;line-height:1.5;color:#52625b}.tg-account-form .helptext{display:block;font-size:.85rem;color:#52625b}.tg-account-form .errorlist{color:#a12020;list-style:disc;padding-left:1.25rem;margin:.6rem 0}
.tg-account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.25rem}
.tg-account-actions a,.tg-account-link{color:#126d20;text-decoration:underline;text-underline-offset:.2em;font-weight:650;display:inline-block;padding:.6rem 0;min-height:44px}
.tg-account-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#126d20;color:#fff;border-radius:.5rem;padding:.65rem 1.1rem;font-weight:650}
.tg-account-button:hover{background:#0c5117}.tg-account-nav{display:inline-block;padding:.65rem;font-size:.875rem;font-weight:650;color:#126d20}
.tg-account-shell :focus-visible,.tg-watch-form :focus-visible,.tg-guest-banner :focus-visible,.tg-account-nav:focus-visible{outline:3px solid #16851b;outline-offset:3px}
.tg-interest-options{max-height:22rem;overflow:auto;margin-top:1rem}.tg-interest-options label{display:flex;align-items:center;gap:.75rem;min-height:48px;padding:.5rem;border-bottom:1px solid #e6ece5;font-weight:400}
.tg-interest-options input{width:1.2rem;height:1.2rem;accent-color:#126d20;flex-shrink:0}
.tg-guest-banner{max-width:80rem;margin:1rem auto;padding:1rem 1.5rem;background:#eef6f0;border:1px solid #dce4dc;border-radius:.75rem}
.tg-watch-form{margin:1rem 0}.tg-personalised{margin-bottom:2rem}.tg-personalised h2{font-size:1.5rem;font-weight:750}.tg-personalised ul{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}.tg-personalised li a{display:block;background:#eef6f0;border-radius:.5rem;padding:.5rem .8rem;color:#126d20;font-weight:600}
[hidden]{display:none!important}

.tg-account-dialog{width:min(40rem,calc(100% - 2rem));max-height:90vh;max-height:90dvh;margin:auto;padding:0;border:0;border-radius:1rem;color:#071225;background:#fff;box-shadow:0 20px 60px #07122540;overflow-y:auto}
.tg-account-dialog::backdrop{background:#07122580}
.tg-account-dialog .tg-account-panel{border:0}
.tg-account-dialog h2{font-size:clamp(1.75rem,5vw,2.5rem);font-weight:800;line-height:1.15;margin:.5rem 0 1rem}
.tg-account-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;position:sticky;top:0;background:white;z-index:1}
.tg-account-dialog :focus-visible{outline:3px solid #16851b;outline-offset:3px}
.tg-account-prompt-open{overflow:hidden}
.tg-profile-shell{max-width:76rem;margin:auto;padding:3rem 1.25rem;color:#071225}
.tg-profile-header{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:2rem}.tg-profile-header h1{font-size:clamp(2rem,5vw,3rem);font-weight:800;margin:.5rem 0}.tg-profile-header p{line-height:1.6}
.tg-profile-layout{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:2rem;align-items:start}
.tg-profile-summary,.tg-profile-form{border:1px solid #dce4dc;border-radius:1rem;background:#fff;padding:1.5rem}.tg-profile-summary{overflow-wrap:anywhere}.tg-profile-summary h2{font-weight:750;font-size:1.2rem}.tg-profile-summary dt{font-size:.8rem;color:#52625b;margin-top:1.2rem}.tg-profile-summary dd{font-weight:600;margin:.3rem 0}.tg-profile-summary p{color:#52625b;font-size:.875rem;line-height:1.6;margin:1rem 0}.tg-profile-summary nav a{display:block;padding:.75rem 0;color:#126d20;font-weight:600;text-decoration:underline}
.tg-profile-form{margin:0;min-width:0}.tg-profile-form h2{font-size:1.3rem;font-weight:750;margin-bottom:.75rem}.tg-profile-section{min-width:0;margin:0 0 1.5rem;padding:0 0 1.5rem;border-bottom:1px solid #e0e8dd;scroll-margin-top:5rem}.tg-profile-form fieldset{margin-top:1.5rem}.tg-profile-form legend{font-size:1rem}.tg-profile-names,.tg-profile-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.tg-profile-names{margin-bottom:1rem}.tg-profile-form .tg-interest-options{max-height:18rem}.tg-profile-save{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;border-top:1px solid #e0e8dd;padding-top:1.5rem}.tg-profile-errors{background:#fff1f1;border:1px solid #bb3232;padding:1rem;border-radius:.5rem;margin-bottom:1rem}.tg-profile-shell :focus-visible{outline:3px solid #16851b;outline-offset:3px}
@media(max-width:760px){.tg-profile-layout{grid-template-columns:1fr}.tg-profile-header{align-items:flex-start;flex-direction:column}.tg-profile-summary nav{display:flex;flex-wrap:wrap;gap:1rem}.tg-profile-names,.tg-profile-choice-grid{grid-template-columns:1fr}.tg-profile-shell{padding:1.5rem 1rem}.tg-profile-form{padding:1.25rem}}
