/* Customer pages. Colours come from the theme (currentColor); only layout and states are set here. */
.apb-acct { max-width: 640px; margin: 0 auto; padding: 8px 0 24px; font-size: 1rem; line-height: 1.5; }
.apb-acct__title { margin: 0 0 12px; }
.apb-acct__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.apb-acct__notice { margin: 0 0 16px; padding: 10px 14px; border-left: 4px solid currentColor; border-radius: 3px; background: rgba(127, 127, 127, .12); }
.apb-acct__notice--success { border-color: #1a7f37; }
.apb-acct__notice--error { border-color: #cf222e; }
.apb-acct__form p { margin: 0 0 14px; }
.apb-acct__form label { display: block; margin-bottom: 4px; font-weight: 600; }
.apb-acct__form input[type="text"], .apb-acct__form input[type="email"], .apb-acct__form input[type="password"] { box-sizing: border-box; width: 100%; padding: 9px 11px; border: 1px solid rgba(127, 127, 127, .55); border-radius: 4px; background: transparent; color: inherit; font: inherit; }
.apb-acct__form small { display: block; margin-top: 4px; opacity: .75; }
.apb-acct__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apb-acct__button { padding: 9px 18px; border: 1px solid #1d4ed8; border-radius: 4px; background: #1d4ed8; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.apb-acct__button:hover, .apb-acct__button:focus-visible { background: #1e40af; border-color: #1e40af; }
.apb-acct__button--light { background: transparent; color: inherit; border-color: rgba(127, 127, 127, .6); }
.apb-acct__button--light:hover, .apb-acct__button--light:focus-visible { background: rgba(127, 127, 127, .15); border-color: rgba(127, 127, 127, .8); }
.apb-acct__links { margin-top: 16px; }
.apb-acct__more { margin-top: 20px; }
.apb-acct__license { margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(127, 127, 127, .4); border-radius: 6px; }
.apb-acct__license header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.apb-acct__badge { padding: 1px 9px; border-radius: 999px; font-size: .85em; background: rgba(127, 127, 127, .2); }
.apb-acct__badge--valid { background: rgba(26, 127, 55, .2); box-shadow: inset 0 0 0 1px #1a7f37; }
.apb-acct__badge--expired, .apb-acct__badge--cancelled { background: rgba(207, 34, 46, .18); box-shadow: inset 0 0 0 1px #cf222e; }
.apb-acct__key { margin: 10px 0; }
.apb-acct__key > span { display: block; font-weight: 600; margin-bottom: 4px; }
.apb-acct__key input { box-sizing: border-box; width: 100%; margin-top: 8px; padding: 9px 11px; border: 1px solid rgba(127, 127, 127, .55); border-radius: 4px; background: transparent; color: inherit; font: .95em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.apb-acct__key summary { cursor: pointer; }
.apb-acct__sites { list-style: none; margin: 8px 0 0; padding: 0; }
.apb-acct__sites li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(127, 127, 127, .25); }
.apb-acct__sites li span { min-width: 0; overflow-wrap: anywhere; }
.apb-acct__sites form { margin: 0; }
@media (max-width: 480px) { .apb-acct__sites li { flex-direction: column; align-items: flex-start; } }
.apb-acct__key em { display: block; margin-top: 4px; opacity: .8; }

.apb-acct__button--wide { width: 100%; }
.apb-acct__google { margin: 0 0 4px; }
.apb-acct__or { display: flex; align-items: center; gap: 10px; margin: 14px 0; opacity: .7; }
.apb-acct__or::before, .apb-acct__or::after { content: ""; flex: 1; border-top: 1px solid rgba(127, 127, 127, .45); }
.apb-acct__form textarea, .apb-acct__form select { box-sizing: border-box; width: 100%; padding: 9px 11px; border: 1px solid rgba(127, 127, 127, .55); border-radius: 4px; background: transparent; color: inherit; font: inherit; }
.apb-acct__form select option { color: #1d2327; }
.apb-acct__danger { margin: 18px 0; padding: 10px 14px; border: 1px solid #cf222e; border-radius: 6px; }
.apb-acct__danger summary { cursor: pointer; font-weight: 600; color: #cf222e; }
.apb-acct__button--danger { background: #cf222e; border-color: #cf222e; }
.apb-acct__button--danger:hover, .apb-acct__button--danger:focus-visible { background: #a40e26; border-color: #a40e26; }
.apb-acct__badge--closed { background: rgba(127, 127, 127, .18); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .6); }

.apb-acct__plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 14px; }
.apb-acct__card { padding: 12px 14px; border: 1px solid rgba(127, 127, 127, .45); border-radius: 6px; }
.apb-acct__card form { margin: 6px 0 0; }
