/* H33: scoped catalogue settings and registration note. */
.h33-catalogue{--h33-navy:#10245c;--h33-yellow:#fff100;color:#172440}
.h33-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 20px}
.h33-tabs button{flex:1 1 130px;min-height:48px;border:1px solid #dbe1ed;border-radius:12px;padding:12px;background:#fff;color:var(--h33-navy);font:inherit;font-weight:700;cursor:pointer}
.h33-tabs button[aria-pressed=true]{background:var(--h33-navy);color:#fff;border-color:var(--h33-navy)}
.h33-card{border:1px solid #dfe5ef;border-radius:18px;background:#fff;padding:20px;margin:12px 0;box-shadow:0 3px 12px #142b5505}
.h33-card h3{font-size:19px;margin:0 0 8px;color:var(--h33-navy)}
.h33-card p,.h33-intro{font-size:14px;line-height:1.65;color:#526078;margin:8px 0 16px}
.h33-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.h33-plan{display:block;position:relative;border:1px solid #cfd7e6;border-radius:16px;padding:18px;background:#fafbff;cursor:pointer;overflow-wrap:anywhere}
.h33-plan:has(input:checked){border-color:#18387a;background:#f2f6ff}
.h33-plan:focus-within{outline:3px solid #ddcb00;outline-offset:3px}
.h33-plan input{width:22px;height:22px;accent-color:#10245c;float:right;margin:0 0 10px 10px}
.h33-plan strong{display:block;font-size:23px;color:var(--h33-navy)}
.h33-plan b{display:block;font-size:28px;margin:18px 0 6px;color:var(--h33-navy)}
.h33-plan small{display:block;font-size:13px;line-height:1.6;color:#4e5d75}
.h33-chip{display:inline-block;background:var(--h33-yellow);color:var(--h33-navy);border-radius:6px;padding:4px 8px;font-size:11px;font-weight:800;margin:12px 0 8px}
.h33-catalogue label.h33-field{display:block;font-weight:700;font-size:14px;margin:16px 0}
.h33-catalogue select,.h33-catalogue textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #bdc9dc;border-radius:12px;background:#fff;color:#172440;padding:12px;margin-top:8px;font:inherit;line-height:1.6}
.h33-catalogue textarea{min-height:132px;resize:vertical;font-weight:400}
.h33-counter{font-size:12px;font-weight:400;color:#5b6880;display:block;text-align:right}
.h33-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}
.h33-actions button,.h33-actions a,.h33-album-launch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #d5ddeb;border-radius:10px;font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;background:#fff;color:var(--h33-navy)}
.h33-actions .h33-primary,.h33-album-launch{background:var(--h33-navy);color:#fff;border-color:var(--h33-navy)}
.h33-catalogue button:disabled{opacity:.55;cursor:wait}
.h33-status{line-height:1.6;font-size:14px;color:#174e36;margin:12px 0;white-space:pre-wrap}
.h33-status[data-error=true]{color:#a02b22}
.h33-registration{border-left:4px solid #d5bf00!important;background:#fffde9!important;line-height:1.6}
.h33-registration p{margin:7px 0 0}
.h33-own-copy{margin:18px 0;padding:16px;border:1px solid #d9e1f0;border-radius:14px;background:#f6f8fc}
.h33-own-copy h3{margin:0 0 6px;font-size:17px;color:#10245c}
.h33-own-copy p{font-size:13px;line-height:1.6;margin:6px 0 12px}
.h33-own-copy button{white-space:normal;text-align:left;overflow-wrap:anywhere}
.h33-own-copy select{max-width:100%;padding:10px;border:1px solid #bdc9dc;border-radius:8px;background:#fff;font:inherit}
.h33-catalogue [hidden],.h33-own-copy[hidden]{display:none!important}
@media(max-width:480px){.h33-plans{grid-template-columns:1fr}.h33-card{padding:16px}.h33-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.h33-tabs button{font-size:13px;padding:10px;word-break:normal;overflow-wrap:normal}.h33-tabs button:last-child{grid-column:1/-1}.h33-actions>*{flex:1 1 auto}.h33-plan b{margin-top:12px}}

/* H33-R1: legible return action on the white Album surface. */
#statusReadyModal .h33-album-back{display:inline-flex;align-items:center;max-width:100%;margin:0 0 14px;padding:11px 16px;border:1px solid #c5d0e6;border-radius:12px;background:#f2f5ff;color:#0c2462;font-size:14px;font-weight:800;line-height:1.4;text-align:left;white-space:normal;box-shadow:none}
#statusReadyModal .h33-album-back:hover{background:#e7edff}
#statusReadyModal .h33-album-back:focus-visible{outline:3px solid #183e96;outline-offset:2px}

/* H33-R2: secondary actions on light copywriting panels need an opaque, high-contrast surface. */
.h33-own-copy .btn[data-h33-edit],.h33-catalogue .btn[data-h33-clear]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-height:44px;margin:10px 0 0;padding:11px 16px;border:1px solid #a6b6d2;border-radius:12px;background:#edf2ff;color:#10245c;font:inherit;font-size:14px;font-weight:700;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere;box-shadow:none;cursor:pointer}
.h33-own-copy .btn[data-h33-edit]:hover,.h33-catalogue .btn[data-h33-clear]:hover{background:#dfe8ff;border-color:#7189b5;color:#10245c}
.h33-own-copy .btn[data-h33-edit]:focus-visible,.h33-catalogue .btn[data-h33-clear]:focus-visible{outline:3px solid #183e96;outline-offset:3px}
.h33-own-copy .btn[data-h33-edit]:active,.h33-catalogue .btn[data-h33-clear]:active{background:#d2dfff;color:#10245c}
.h33-own-copy select{color:#172440}
