.checkout-legal{border:1px solid var(--color-border);border-radius:16px;min-width:0;margin:24px 0;padding:20px;font-size:.9rem;line-height:1.65}.checkout-legal legend{padding:0 8px;font-weight:700}.checkout-legal p{margin:0 0 16px}.checkout-legal p:last-child{margin:16px 0 0}.checkout-legal a{color:var(--color-link);text-underline-offset:3px;text-decoration:underline}.checkout-legal-choice{cursor:pointer;align-items:flex-start;gap:12px;margin:16px 0;display:flex}.checkout-legal-choice input{width:20px;height:20px;accent-color:var(--teal-800);flex:none;margin:3px 0 0}.checkout-legal-choice span{min-width:0}.portal-tabs{flex-wrap:wrap;gap:8px;margin:36px 0 24px;display:flex}.portal-tabs button,.portal-small{color:var(--navy-900);font:inherit;cursor:pointer;background:#fff;border:1px solid #bed5d9;border-radius:10px;padding:12px 17px;font-size:13px;font-weight:700}.portal-tabs button[aria-pressed=true]{background:var(--navy-900);color:#fff;border-color:var(--navy-900)}.portal-section h2{font-size:clamp(30px,4vw,46px);line-height:1.15}.portal-section h3{margin:30px 0 15px}.portal-section p{color:#49616c;line-height:1.7}.portal-heading{justify-content:space-between;align-items:center;gap:22px;margin-bottom:28px;display:flex}.portal-heading h2{margin:0}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.portal-card{background:#fff;border:1px solid #d6e5e6;border-radius:22px;flex-direction:column;align-items:flex-start;padding:32px;display:flex}.portal-card h2,.portal-card h3{margin:14px 0;font-size:29px;line-height:1.2}.portal-card p{font-size:14px}.portal-card .button{margin-top:15px}.portal-tag{letter-spacing:.1em;color:#136e72;font-size:10px;font-weight:800}.portal-price{margin:12px 0;font-weight:800;color:var(--navy-900)!important;font-size:28px!important}.portal-selected{border:2px solid #148589}.portal-empty,.portal-notice{background:#e3eff0;border-radius:14px;padding:24px;line-height:1.6}.portal-text-link{color:#136e72;margin-top:20px;font-weight:700}.portal-order{background:#fff;border:1px solid #d6e5e6;border-radius:22px;grid-template-columns:minmax(0,1fr) 260px;gap:30px;margin:24px 0;padding:32px;display:grid}.portal-order h3{margin:14px 0;font-size:28px}.portal-order dl{grid-template-columns:140px 1fr;gap:10px;font-size:14px;display:grid}.portal-order dt{color:#49616c}.portal-order dd{overflow-wrap:anywhere;margin:0;font-weight:700}.portal-qr{text-align:center;margin:0}.portal-qr img{width:240px;max-width:100%;height:240px;image-rendering:pixelated;background:#fff}.portal-qr figcaption,.portal-qr a{margin-top:12px;font-size:13px;display:block}.portal-section small{color:#49616c;margin-top:4px;display:block}.portal-editor{background:#fff;border:1px solid #d6e5e6;border-radius:20px;margin:26px 0;padding:28px}.portal-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.portal-field{flex-direction:column;gap:8px;min-width:0;margin:15px 0;font-size:13px;font-weight:700;display:flex}.portal-field input,.portal-field textarea,.portal-field select,.portal-option-edit input[type=text]{width:100%;color:var(--navy-900);font:inherit;background:#fbfdfd;border:1px solid #bed5d9;border-radius:9px;min-width:0;padding:12px}.portal-field textarea{resize:vertical;line-height:1.6}.portal-check{align-items:center;gap:10px;margin:15px 0;font-size:14px;display:flex}.portal-content-edit{border:1px solid #bed5d9;border-radius:14px;min-width:0;margin:20px 0;padding:20px}.portal-content-edit legend{padding:0 8px;font-size:13px;font-weight:800}.portal-question-edit{border:1px solid #d6e5e6;border-radius:12px;min-width:0;margin:20px 0;padding:18px}.portal-option-edit{gap:10px;margin:10px 0;display:flex}.portal-option-edit label{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.portal-option-edit button{cursor:pointer;background:#edf3f3;border:0;border-radius:8px;padding:10px}.portal-save{flex-wrap:wrap;align-items:center;gap:20px;margin-top:35px;display:flex}.portal-save span{font-size:13px}.portal-study{grid-template-columns:240px minmax(0,1fr);gap:40px;display:grid}.portal-study aside{border-left:2px solid #bed5d9;align-self:start;padding:0 18px;position:sticky;top:110px}.portal-study aside a{color:#136e72;margin:15px 0;font-size:14px;font-weight:700;display:block}.portal-lesson{background:#fff;border-radius:18px;margin-bottom:28px;padding:32px;scroll-margin-top:120px}.portal-lesson h3{margin:10px 0 25px;font-size:30px}.portal-prose{white-space:pre-wrap;overflow-wrap:anywhere;color:#334e5b;line-height:1.85}.portal-test{border-bottom:1px solid #bed5d9;flex-wrap:wrap;align-items:center;gap:20px;padding:20px 0;display:flex}.portal-test h4{flex:1;font-size:20px}.portal-question{background:#fff;border:1px solid #bed5d9;border-radius:14px;min-width:0;margin:24px 0;padding:22px}.portal-question legend{overflow-wrap:anywhere;max-width:100%;padding:0 10px;font-weight:700}.portal-question label{cursor:pointer;align-items:baseline;gap:14px;padding:13px 6px;display:flex}.portal-question input{accent-color:#136e72}.portal-result{background:#dcefed;border-radius:20px;margin-top:30px;padding:32px}.portal-result h3{margin:10px 0;font-size:54px}.portal-small:disabled,.portal-section button:disabled{opacity:.5;cursor:default}details summary{color:#136e72;cursor:pointer;padding:12px 0;font-weight:800}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #148589}[data-attempt],#testy{scroll-margin-top:120px}.portal-section td{vertical-align:top}.portal-section .account-table-wrap{margin-top:24px}.portal-section .account-table-wrap form{min-width:200px}.portal-section .account-table-wrap input{font-size:12px}@media (width<=760px){.portal-grid,.portal-form-grid,.portal-study,.portal-order{grid-template-columns:1fr}.portal-heading{flex-direction:column;align-items:flex-start}.portal-card,.portal-lesson,.portal-editor,.portal-order{padding:22px}.portal-study aside{position:static}.portal-order{gap:20px}.portal-qr{justify-self:center}.portal-tabs{gap:6px}.portal-tabs button{padding:10px 13px;font-size:12px}.portal-content-edit,.portal-question-edit{padding:12px}.portal-order dl{grid-template-columns:1fr;gap:4px}.portal-order dd{margin-bottom:12px}}[data-shop],[data-study],[data-portal-message]{scroll-margin-top:115px}.portal-option-edit>input[type=text]{flex:1}.portal-option-edit>input[type=radio]{accent-color:#136e72;flex:none;align-self:center}.gift-choice{width:100%;margin:22px 0}.gift-toggle{background:#eaf5f2;border:1px solid #8bc9c7;border-radius:14px;padding:18px;align-items:flex-start!important}.gift-toggle span{font-weight:800}.gift-toggle small{margin-top:4px;font-size:12px;font-weight:400;line-height:1.6;display:block}.gift-choice>fieldset{border:0;min-width:0;padding:0}.gift-choice legend{font-weight:800}.gift-choice [hidden]{display:none}.gift-choice .portal-field small{font-weight:400;line-height:1.6}.gift-heroes{border:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;margin:20px 0;padding:0;display:grid}.gift-heroes legend{margin-bottom:12px;font-size:13px}.gift-heroes label{cursor:pointer;min-width:0;position:relative}.gift-heroes input{accent-color:#147e7d;position:absolute;top:8px;left:8px}.gift-heroes span{background:#fff;border:1px solid #d2e3e3;border-radius:12px;flex-direction:column;align-items:center;padding:10px 5px;display:flex}.gift-heroes input:checked+span{background:#e6f6f1;border:2px solid #147e7d}.gift-heroes input:focus-visible+span{outline-offset:3px;outline:3px solid #147e7d}.gift-heroes img{object-fit:contain;width:100%;height:67px}.gift-heroes strong{font-size:11px}.voucher-preview{isolation:isolate;background:#f3f7f5;border:1px solid #d8e7e2;border-top:7px solid #14283f;border-radius:12px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:9px;padding:23px 18px 12px;display:grid;position:relative;overflow:hidden}.voucher-preview-copy{z-index:1;min-width:0;position:relative}.voucher-preview-copy>span{letter-spacing:.12em;color:#127a7d;font-size:8px;font-weight:800}.voucher-preview h3{letter-spacing:-.04em;font-size:clamp(20px,2.3vw,30px);line-height:1.03;margin:14px 0!important}.voucher-preview-copy>strong{font-size:12px;line-height:1.35;display:block}.voucher-preview-copy>p{white-space:pre-line;overflow-wrap:anywhere;background:#fff;border-radius:8px;padding:10px;color:#14283f!important;font-size:10px!important;line-height:1.45!important}.voucher-preview-copy>small{overflow-wrap:anywhere;font-size:9px;display:block}.voucher-preview-art{flex-direction:column;justify-content:space-between;align-items:center;min-width:0;padding-top:25px;display:flex;position:relative}.voucher-preview-art:before{content:"";z-index:-1;background:#16d6d0;border-radius:50%;width:180px;height:180px;position:absolute;top:-3px;left:5px}.voucher-preview-art img{object-fit:contain;width:150%;max-width:none;height:150px;position:relative;left:-3px}.voucher-preview-art .gift-portrait{object-fit:cover;border-radius:50%;width:100%;height:120px}.voucher-qr-placeholder{text-align:center;color:#14283f;background:#fff;border-radius:9px;margin-top:12px;padding:10px;font-size:31px;line-height:1;display:block}.voucher-qr-placeholder small{margin-top:6px;font-size:7px;display:block}.voucher-preview>footer{color:#47686e;grid-column:1/-1;margin-top:12px;font-size:8px}.gift-preview-note{line-height:1.7;font-size:11px!important}.gift-order{background:#eaf5f2;border-radius:14px;margin:20px 0;padding:20px}.gift-order .button{font-size:13px}.gift-admin-options{margin:20px 0}.gift-admin-options p{font-size:13px}.voucher-activation{grid-template-columns:1fr 1.05fr;gap:46px;padding:50px 0;display:grid}.voucher-activation-intro{padding:20px 0}.voucher-activation-intro h2{letter-spacing:-.045em;font-size:clamp(32px,4vw,54px);line-height:1.06}.voucher-activation-intro p{color:#47616d;line-height:1.85}.voucher-activation-intro img{object-fit:contain;width:90%;max-height:340px}.voucher-activation-form{background:#fff;border:1px solid #cce0de;border-radius:22px;align-self:start;min-width:0;padding:32px}.voucher-activation-form h2{font-size:28px;line-height:1.2}.voucher-activation-form .button{white-space:normal;max-width:100%}.voucher-activation-form .portal-field{font-size:14px}.voucher-activation-form p{color:#47616d;line-height:1.75}.voucher-activation-form .auth-message{color:#8f332b;overflow-wrap:anywhere}.voucher-activation-form [hidden]{display:none}.voucher-contact-note{font-size:12px;line-height:1.65}.voucher-success{background:#e8f6ed;border-radius:18px;padding:26px}.voucher-success h2{margin-top:0}.voucher-code-input{letter-spacing:.08em;overflow-wrap:anywhere;font-family:monospace!important;font-size:13px!important}.voucher-activation-form .hp-field{width:1px;height:1px;position:absolute;left:-10000px;overflow:hidden}.voucher-admin-detail{min-width:230px;max-width:420px}.voucher-admin-detail p{white-space:pre-line;overflow-wrap:anywhere;font-size:13px}@media (width<=760px){.voucher-activation{grid-template-columns:1fr;gap:12px;padding-top:24px}.voucher-activation-intro img{max-height:180px}.voucher-activation-intro h2{font-size:35px}.voucher-activation-form{padding:22px}.voucher-preview h3{font-size:24px}.gift-heroes{grid-template-columns:repeat(4,minmax(0,1fr))}.gift-heroes img{height:58px}.voucher-activation-intro{padding:0}.gift-order{padding:16px}}.shop-gift-entry{background:#eaf5f2;border:1px solid #b7d7d4;border-radius:14px;margin:0 0 28px;padding:18px 22px}.shop-gift-entry a{color:#126b70;font-weight:800}[data-shop] .portal-grid{align-items:start}[data-shop] .portal-card:has(details[open]){grid-column:1/-1}[data-checkout]{max-width:680px}[data-checkout]:has([name=gift_enabled]:checked){grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:start;gap:0 32px;max-width:none;display:grid}[data-checkout]:has([name=gift_enabled]:checked)>.gift-choice{grid-area:1/1/span 5;margin-top:0}[data-checkout]:has([name=gift_enabled]:checked)>.billing-fields{grid-column:2}[data-checkout]:has([name=gift_enabled]:checked)>[data-checkout-legal]{grid-column:2}[data-checkout]:has([name=gift_enabled]:checked)>p{grid-column:2}[data-checkout]:has([name=gift_enabled]:checked)>button{grid-column:2}[data-checkout]:has([name=gift_enabled]:checked)>.billing-fields{margin-top:0}@media (width<=760px){[data-checkout]:has([name=gift_enabled]:checked){display:block}[data-checkout]:has([name=gift_enabled]:checked)>.billing-fields{margin-top:20px}.voucher-preview-art img{width:100%;height:140px;left:0}}.voucher-activation-form{scroll-margin-top:115px}.voucher-preview>.voucher-preview-brand{grid-column:1/-1;width:155px;max-width:100%;height:auto;margin-bottom:5px}
