/**
 * Breeder account pages and sign-in pages (2026-11 rebuild). Loaded only on those templates
 * (inc/plu-account.php). Builds on the tokens in plu-design-system.css and the hand-made
 * components in plu-personal.css; one class per rule, per the specificity contract.
 */

/* ==========================================================================
   Account frame
   ========================================================================== */

.plu-account { padding: var(--plu-space-6) 0 var(--plu-space-12); }

.plu-account__head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
    gap: var(--plu-space-4) var(--plu-space-8); margin-bottom: var(--plu-space-6);
}
.plu-account__kennel { margin: 0; font-size: 1.5rem; color: var(--plu-coral-700); transform: rotate(-1.5deg); }
.plu-account__title { margin: 0; font-size: clamp(2.3rem, 4vw, 3.3rem); }
.plu-account__lede { margin: 6px 0 0; color: var(--plu-text-muted); max-width: 62ch; }
.plu-account__state { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.plu-account__tabs { margin-bottom: var(--plu-space-6); border-bottom: 2px dashed var(--plu-paper-line); }
.plu-account__tabs ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.plu-account__tabs a {
    display: block; padding: 10px 16px; font-weight: 700; color: var(--plu-navy-500); text-decoration: none;
    border-radius: 10px 10px 0 0; margin-bottom: -2px; border-bottom: 3px solid transparent;
}
.plu-account__tabs a:hover { color: var(--plu-navy-800); }
.plu-account__tabs a[aria-current="page"] { color: var(--plu-navy-800); border-bottom-color: var(--plu-coral-500); }
.plu-account__tabs-out { margin-left: auto; }
.plu-account__tabs-out a { font-weight: 600; }
@media (max-width: 40rem) {
    /* Phones: the account pages are in the menu under "My Account" (owner, 2026-11-25); a tab
       strip under "Edit {puppy}" read as part of that page. */
    .plu-account__tabs { display: none; }
    .plu-account__state { align-items: flex-start; }
}

.plu-account__notice {
    margin: 0 0 var(--plu-space-6); padding: 14px 18px; font-weight: 600;
    border: 2px solid; border-radius: var(--plu-radius-sketch-2);
}
.plu-account__notice--success { background: var(--plu-success-bg); border-color: var(--plu-success); color: #1f5a37; }
.plu-account__notice--error { background: var(--plu-danger-bg); border-color: var(--plu-danger); color: #8e1d1d; }
.plu-account__help { color: var(--plu-text-muted); margin: var(--plu-space-6) 0 0; }
.plu-account__help a { color: var(--plu-coral-700); font-weight: 600; }

/* Pills */
.plu-pill {
    display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
    background: var(--plu-gray-100); color: var(--plu-navy-700); vertical-align: middle; white-space: nowrap;
}
.plu-pill--live, .plu-pill--available { background: var(--plu-success-bg); color: #1f5a37; }
.plu-pill--paused, .plu-pill--reserved { background: var(--plu-sun-100); color: #7a5a00; }
.plu-pill--sold { background: var(--plu-navy-100); color: var(--plu-navy-700); }
.plu-pill--hidden, .plu-pill--none { background: var(--plu-gray-100); color: var(--plu-navy-500); }

.plu-muted { color: var(--plu-text-muted); }
.plu-warn-text { color: var(--plu-warning); font-weight: 700; }
.plu-back { margin: 0 0 var(--plu-space-4); }
.plu-back a { color: var(--plu-coral-700); font-weight: 600; text-decoration: none; }

/* Cards */
.plu-account .plu-card {
    background: var(--plu-white); border: 0; border-radius: 6px; padding: 24px 26px;
    box-shadow: 0 14px 28px -20px rgba(31, 42, 68, .55);
}
.plu-account .plu-card h2 { font-size: 1.9rem; margin: 0 0 8px; }
.plu-card--warn { border-left: 6px solid var(--plu-sun-500) !important; }
.plu-card--danger { border-left: 6px solid var(--plu-danger) !important; }
.plu-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 16px 0 0; }
.plu-btn.is-danger { background: var(--plu-danger); color: var(--plu-white); }
.plu-btn--ghost.is-danger { background: transparent; color: var(--plu-danger); }
/* Puppy list: Delete looks like Edit and Duplicate (owner, 2026-11-25), with red text as the cue. */
.plu-btn--secondary.is-danger { background: var(--plu-white); color: var(--plu-danger); }
.plu-btn--secondary.is-danger:hover { background: var(--plu-danger-bg); }
.plu-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.plu-ticks { list-style: none; margin: 10px 0; padding: 0; }
.plu-ticks li { padding: 3px 0 3px 26px; position: relative; }
.plu-ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--plu-coral-700); font-weight: 800; }

/* ==========================================================================
   Forms
   ========================================================================== */

.plu-form { min-width: 0; }
.plu-form--narrow { max-width: 760px; }
.plu-fieldset { border: 0; margin: 0 0 var(--plu-space-8); padding: 0; min-width: 0; }
.plu-fieldset > legend {
    font: 900 1.6rem/1 var(--plu-font-display); color: var(--plu-navy-800);
    padding: 0; margin-bottom: var(--plu-space-4);
}
.plu-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 var(--plu-space-5); }
.plu-field-row > .plu-field + .plu-field { margin-top: 0; }
.plu-field { margin-bottom: var(--plu-space-4); }
.plu-field--narrow { max-width: 12rem; }
.plu-req { font-size: .75rem; font-weight: 700; color: var(--plu-coral-700); text-transform: uppercase; letter-spacing: .04em; margin-left: 4px; }
.plu-account .plu-label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--plu-navy-800); }
.plu-account .plu-input,
.plu-account .plu-select,
.plu-account .plu-textarea,
.plu-auth-card input.input {
    width: 100%; min-height: 46px; padding: 10px 14px; font: 500 1rem var(--plu-font-body); color: var(--plu-navy-800);
    background: var(--plu-white); border: 2px solid var(--plu-navy-200); border-radius: 10px;
}
.plu-account .plu-textarea { min-height: 0; line-height: 1.55; }
.plu-account .plu-input:focus,
.plu-account .plu-select:focus,
.plu-account .plu-textarea:focus,
.plu-auth-card input.input:focus { outline: none; border-color: var(--plu-navy-800); box-shadow: var(--plu-shadow-offset); }
.plu-account .plu-input:disabled { background: var(--plu-gray-50); color: var(--plu-text-muted); }

.plu-segment { display: inline-flex; border: 2px solid var(--plu-navy-800); border-radius: 12px; overflow: hidden; }
.plu-segment label { position: relative; margin: 0; }
.plu-segment input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plu-segment label { padding: 10px 18px; font-weight: 700; cursor: pointer; background: var(--plu-white); }
.plu-segment label + label { border-left: 2px solid var(--plu-navy-800); }
.plu-segment label:has(input:checked) { background: var(--plu-navy-800); color: var(--plu-white); }
.plu-segment label:has(input:focus-visible) { outline: 3px solid var(--plu-coral-500); outline-offset: -3px; }

.plu-checks { border: 0; padding: 0; margin: 0 0 var(--plu-space-4); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.plu-checks legend { margin-bottom: 8px; }
.plu-checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.plu-checks input { width: 20px; height: 20px; accent-color: var(--plu-coral-500); }
.plu-check { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: .95rem; cursor: pointer; }
.plu-check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--plu-coral-500); }

.plu-details-toggle { margin: 0 0 var(--plu-space-4); }
.plu-details-toggle summary { cursor: pointer; color: var(--plu-coral-700); font-weight: 600; margin-bottom: 12px; }

.plu-form__save {
    position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    padding: 14px 0; background: linear-gradient(to top, var(--plu-paper) 70%, transparent);
}

/* Story editor */
.plu-rte { border: 2px solid var(--plu-navy-200); border-radius: 10px; background: var(--plu-white); overflow: hidden; }
.plu-rte:focus-within { border-color: var(--plu-navy-800); box-shadow: var(--plu-shadow-offset); }
.plu-rte__bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1.5px dashed var(--plu-paper-line); background: var(--plu-gray-50); }
.plu-rte__bar button {
    min-width: 40px; min-height: 36px; padding: 4px 10px; border: 1.5px solid transparent; border-radius: 8px;
    background: transparent; font: 700 .95rem var(--plu-font-body); color: var(--plu-navy-700); cursor: pointer;
}
.plu-rte__bar button:hover { background: var(--plu-white); border-color: var(--plu-navy-200); }
.plu-rte__area { min-height: 240px; padding: 14px 16px; outline: none; line-height: 1.6; }
.plu-rte__area h3 { font-size: 1.4rem; margin: 12px 0 4px; }
.plu-rte__area p { margin: 0 0 10px; }
.plu-rte textarea { border: 0 !important; border-radius: 0 !important; }

/* ==========================================================================
   Kennel editor + preview
   ========================================================================== */

.plu-editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--plu-space-10); align-items: start; }
.plu-editor__side { position: sticky; top: 20px; }
@media (max-width: 63.999rem) {
    .plu-editor { grid-template-columns: 1fr; }
    .plu-editor__side { position: static; order: -1; }
}
.plu-preview__label { margin: 0 0 6px; font-size: 1.35rem; color: var(--plu-text-muted); transform: rotate(-1.5deg); }
.plu-preview__card { background: var(--plu-white); padding: 10px 10px 16px; box-shadow: var(--plu-shadow-snap); transform: rotate(1deg); }
.plu-preview__photo { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--plu-gray-100); color: var(--plu-text-muted); font-size: 1.3rem; overflow: hidden; }
.plu-preview__photo img { width: 100%; height: 100%; object-fit: cover; }
.plu-preview__name { margin: 10px 4px 2px; font-size: 1.7rem; }
.plu-preview__meta, .plu-preview__links { margin: 0 4px; font-size: .9rem; color: var(--plu-text-muted); }
.plu-preview__desc { margin: 8px 4px; font-size: .95rem; overflow-wrap: anywhere; }
.plu-preview__links span + span::before { content: " · "; }
.plu-preview__links span:empty { display: none; }

/* ==========================================================================
   Photo manager
   ========================================================================== */

.plu-photos-section { margin-top: var(--plu-space-10); padding-top: var(--plu-space-8); border-top: 2px dashed var(--plu-paper-line); }
.plu-photos-section h2 { font-size: 2.2rem; margin: 0 0 6px; }
.plu-drop {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 130px; margin: var(--plu-space-4) 0; padding: 20px; text-align: center; cursor: pointer;
    background: var(--plu-white); border: 2.5px dashed var(--plu-navy-200); border-radius: 16px;
}
.plu-drop:hover, .plu-drop.is-over { border-color: var(--plu-coral-500); background: var(--plu-coral-50); }
.plu-drop:focus-within { outline: 3px solid var(--plu-coral-500); outline-offset: 3px; }
.plu-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plu-drop__big { font-size: 1.9rem; color: var(--plu-navy-800); }
.plu-drop__small { color: var(--plu-text-muted); }
.plu-photos.is-busy .plu-drop { opacity: .6; pointer-events: none; }
.plu-photos__status { min-height: 1.4em; margin: 0 0 10px; font-weight: 600; color: var(--plu-navy-700); }
.plu-photos__status.is-error { color: var(--plu-danger); }

.plu-photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.plu-photo {
    position: relative; background: var(--plu-white); padding: 6px 6px 0; box-shadow: var(--plu-shadow-snap);
    cursor: grab; transition: transform .15s ease, opacity .15s ease;
}
.plu-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--plu-gray-100); }
.plu-photo.is-dragging { opacity: .45; }
.plu-photo.is-busy { opacity: .5; pointer-events: none; }
.plu-photo__main { display: none; position: absolute; top: -10px; left: 8px; padding: 0 8px; background: var(--plu-sun-500); font-size: 1.05rem; transform: rotate(-4deg); }
.plu-photos__grid > .plu-photo:first-child { outline: 3px solid var(--plu-sun-500); outline-offset: 2px; }
.plu-photos__grid > .plu-photo:first-child .plu-photo__main { display: block; }
.plu-photos__grid > .plu-photo:first-child [data-act="first"],
.plu-photos__grid > .plu-photo:first-child [data-act="left"] { visibility: hidden; }
.plu-photos__grid > .plu-photo:last-child [data-act="right"] { visibility: hidden; }
.plu-photo__tools { display: flex; justify-content: space-between; padding: 4px 0; }
.plu-photo__tools button {
    width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
    font-size: 1rem; color: var(--plu-navy-700);
}
.plu-photo__tools button:hover { background: var(--plu-gray-100); }
.plu-photo__tools button.is-danger:hover { background: var(--plu-danger-bg); color: var(--plu-danger); }

/* ==========================================================================
   Dashboard
   ========================================================================== */

.plu-dash { display: flex; flex-direction: column; gap: var(--plu-space-6); }
.plu-dash__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: var(--plu-space-6); }
.plu-dash__count { font: 700 1.1rem var(--plu-font-hand); color: var(--plu-coral-700); margin-left: 8px; }
.plu-dash__setup { background: var(--plu-white); }
.plu-checklist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.plu-checklist__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 6px; border-bottom: 1.5px dashed var(--plu-paper-line); }
.plu-checklist__item:last-child { border-bottom: 0; }
.plu-checklist__item p { margin: 2px 0 0; color: var(--plu-text-muted); font-size: .95rem; }
.plu-checklist__item a { color: var(--plu-navy-800); }
.plu-checklist__mark {
    flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px;
    border: 2.5px solid var(--plu-navy-800); border-radius: 50% 46% 52% 48%; font-weight: 900; color: var(--plu-white);
}
.plu-checklist__item.is-done .plu-checklist__mark { background: var(--plu-success); border-color: var(--plu-success); }
.plu-checklist__item.is-done b { color: var(--plu-text-muted); text-decoration: line-through; }

.plu-stat { margin: 0 0 10px; color: var(--plu-text-muted); }
.plu-stat b { font: 900 2rem/1 var(--plu-font-display); color: var(--plu-navy-800); margin-right: 4px; }
.plu-mini-list { list-style: none; margin: 0; padding: 0; }
.plu-mini-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 0; border-bottom: 1.5px dashed var(--plu-paper-line); }
.plu-mini-list a { font-weight: 700; color: var(--plu-navy-800); }
.plu-mini-list__quote { flex: 1 1 100%; font-style: italic; color: var(--plu-navy-700); }
.plu-mini-photos { display: flex; gap: 6px; }
.plu-mini-photos img { width: 64px; height: 64px; object-fit: cover; }
.plu-copy { display: flex; gap: 8px; }
.plu-copy input { flex: 1; min-width: 0; padding: 8px 12px; border: 2px solid var(--plu-navy-200); border-radius: 10px; font: 500 .9rem var(--plu-font-body); }

/* Messages */
.plu-messages { list-style: none; margin: var(--plu-space-6) 0 0; padding: 0; display: grid; gap: var(--plu-space-4); }
.plu-message { background: var(--plu-white); padding: 18px 22px; box-shadow: 0 10px 22px -18px rgba(31,42,68,.6); border-left: 4px solid var(--plu-sky-500); }
.plu-message__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 0 0 8px; font-weight: 700; }
.plu-message__meta a { color: var(--plu-coral-700); }
.plu-message__meta time { color: var(--plu-text-muted); font-weight: 600; }
.plu-message__body { overflow-wrap: anywhere; }

/* ==========================================================================
   Puppy list
   ========================================================================== */

.plu-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: var(--plu-space-6); }
.plu-subtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.plu-subtabs a {
    padding: 6px 14px; font-weight: 700; text-decoration: none; color: var(--plu-navy-700);
    border: 2px solid var(--plu-navy-200); border-radius: var(--plu-radius-sketch);
}
.plu-subtabs a span { font-weight: 600; color: var(--plu-text-muted); margin-left: 4px; }
.plu-subtabs a[aria-current="page"] { background: var(--plu-navy-800); border-color: var(--plu-navy-800); color: var(--plu-white); }
.plu-subtabs a[aria-current="page"] span { color: var(--plu-navy-200); }

.plu-puplist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--plu-space-4); }
.plu-puprow {
    display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center;
    background: var(--plu-white); padding: 12px; box-shadow: 0 10px 22px -18px rgba(31,42,68,.6);
}
.plu-puprow__photo { display: grid; place-items: center; width: 110px; height: 110px; background: var(--plu-gray-100); color: var(--plu-text-muted); text-decoration: none; }
.plu-puprow__photo img { width: 110px; height: 110px; object-fit: cover; }
.plu-puprow__main h3 { margin: 0 0 2px; font-size: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.plu-puprow__main h3 a { color: var(--plu-navy-800); text-decoration: none; }
.plu-puprow__main p { margin: 2px 0; }
.plu-puprow__facts { font-size: .92rem; color: var(--plu-text-muted); }
.plu-puprow__facts a { color: var(--plu-coral-700); font-weight: 600; }
.plu-puprow__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 330px; }
.plu-puprow__actions form { margin: 0; }
@media (max-width: 52rem) {
    .plu-puprow { grid-template-columns: 84px minmax(0, 1fr); }
    .plu-puprow__photo, .plu-puprow__photo img { width: 84px; height: 84px; }
    .plu-puprow__actions { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}

/* ==========================================================================
   Website, leave
   ========================================================================== */

.plu-website, .plu-leave { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: var(--plu-space-6); align-items: start; }
.plu-website__kicker { margin: 0; font-size: 1.4rem; color: var(--plu-coral-700); }
.plu-website__pb { background: #fbf3e2 !important; }

/* ==========================================================================
   Sign-in pages
   ========================================================================== */

.plu-auth-page {
    display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 340px); justify-content: center; gap: var(--plu-space-10);
    align-items: start; padding: var(--plu-space-10) 0 var(--plu-space-16);
}
@media (max-width: 52rem) { .plu-auth-page { grid-template-columns: 1fr; } }
.plu-auth-page--single { grid-template-columns: minmax(0, 480px); }
.plu-auth-card form .plu-btn { margin-top: var(--plu-space-2); }
.plu-auth-card {
    background: var(--plu-white); padding: 32px 34px; box-shadow: 0 18px 36px -24px rgba(31,42,68,.6);
    border: 2.5px solid var(--plu-navy-800); border-radius: var(--plu-radius-sketch-2);
}
.plu-auth-card__title { margin: 0; font-size: 2.6rem; }
/* Phones: the Turnstile check needs 300px; 34px side padding left ~290px on a 412px screen. */
@media (max-width: 30rem) { .plu-auth-card { padding: 26px 18px; } }
.plu-auth-card__lede { margin: 6px 0 18px; color: var(--plu-text-muted); }
.plu-auth-card__switch { margin: 18px 0 0; padding-top: 14px; border-top: 1.5px dashed var(--plu-paper-line); }
.plu-auth-card__switch a { color: var(--plu-coral-700); font-weight: 700; }
.plu-auth-why { transform: rotate(2deg); margin-top: 24px; }

/* The login module's forms (markup inherited from Theme My Login). */
.plu-auth-card .message { background: var(--plu-sun-100); padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; }
.plu-auth-card .error, .plu-auth-card #login_error { background: var(--plu-danger-bg); color: #8e1d1d; padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; }
.plu-auth-card form p { margin: 0 0 14px; }
.plu-auth-card label { display: block; font-weight: 700; margin-bottom: 6px; }
.plu-auth-card input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--plu-coral-500); vertical-align: -3px; margin-right: 6px; }
.plu-auth-card .plu-auth-rememberme-wrap label { display: inline; font-weight: 600; }
/* #wp-submit is listed too: legacy style.css styles it by ID (grey), which beats a class rule. */
.plu-auth-card input[type="submit"],
.plu-auth-card #wp-submit {
    display: inline-flex; min-height: 48px; padding: 10px 26px; cursor: pointer;
    font: 700 1rem var(--plu-font-body); color: var(--plu-white); background: var(--plu-coral-500);
    border: 2.5px solid var(--plu-navy-800); border-radius: var(--plu-radius-sketch);
}
.plu-auth-card input[type="submit"]:hover,
.plu-auth-card #wp-submit:hover { background: var(--plu-coral-600); }
.plu-auth-card ul.plu-auth-action-links,
.plu-auth-card .plu-action-links { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.plu-auth-card ul a { color: var(--plu-coral-700); font-weight: 600; }

/* Account settings form lives inside the account frame. */
.plu-settings .message { background: var(--plu-success-bg); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.plu-settings .error { background: var(--plu-danger-bg); color: #8e1d1d; padding: 12px 16px; border-radius: 10px; }

/* The design system and style.css give some elements an explicit display, which beats the
   [hidden] attribute. On these pages, hidden always means hidden (story editor fallback
   textarea, the US-only state field). */
.plu-account [hidden],
.plu-auth-page [hidden] { display: none !important; }

/* style.css (2012) strips list markers; the story editor needs them. */
.plu-rte__area ul { list-style: disc; padding-left: 24px; margin: 0 0 10px; }
.plu-rte__area ol { list-style: decimal; padding-left: 24px; margin: 0 0 10px; }

/* Login card: the module's Register / Lost password links, without the 2012 box. */
.plu-auth-card ul.plu-auth-action-links { border: 0; background: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.plu-auth-card ul.plu-auth-action-links li { display: block; padding: 0; border: 0; }

/* --------------------------------------------------------------------------
   Puppy status strip (2026-11-23, owner's request): a toggle like Male/Female,
   labelled "Status", replacing the separate Mark reserved / Mark sold buttons.
   Each option is a submit button, so it works without JavaScript.
   -------------------------------------------------------------------------- */

.plu-puprow {
    grid-template-columns: 110px minmax(0, 1fr) auto;
    grid-template-areas: "photo main status" "photo main actions";
    row-gap: 10px;
}
.plu-puprow__photo { grid-area: photo; }
.plu-puprow__main { grid-area: main; }
.plu-status { grid-area: status; justify-self: end; margin: 0; }
.plu-puprow__actions { grid-area: actions; align-self: start; }

/* "Status" sits inside the strip as its first, non-clickable cell. */
.plu-segment__label {
    display: inline-flex; align-items: center; padding: 0 12px;
    font: 800 .72rem var(--plu-font-body); letter-spacing: .08em; text-transform: uppercase;
    color: var(--plu-navy-800); background: var(--plu-paper-line);
    border-right: 2px solid var(--plu-navy-800); user-select: none;
}
.plu-segment--buttons { display: inline-flex; }
.plu-segment--buttons button {
    padding: 7px 14px; min-height: 38px; border: 0; cursor: pointer;
    font: 700 .92rem var(--plu-font-body); color: var(--plu-navy-800); background: var(--plu-white);
}
.plu-segment--buttons button + button { border-left: 2px solid var(--plu-navy-800); }
.plu-segment--buttons button:hover { background: var(--plu-sun-100); }
.plu-segment--buttons button[aria-pressed="true"] { background: var(--plu-navy-800); color: var(--plu-white); cursor: default; }
.plu-segment--buttons button[aria-pressed="true"][value="reserved"] { background: var(--plu-sun-500); color: var(--plu-navy-800); }
.plu-segment--buttons button[aria-pressed="true"][value="sold"] { background: var(--plu-navy-500); color: var(--plu-white); }
.plu-segment--buttons button:focus-visible { outline: 3px solid var(--plu-coral-500); outline-offset: -3px; }

@media (max-width: 52rem) {
    .plu-puprow {
        grid-template-columns: 84px minmax(0, 1fr);
        grid-template-areas: "photo main" "status status" "actions actions";
    }
    .plu-status { justify-self: stretch; }
    .plu-status .plu-segment { display: flex; }
    .plu-status .plu-segment button { flex: 1; }
}

/* Login form: "Forgot password?" on the Password label row (replaces the stray
   "Lost Password" link under the form, which style.css indented 20px). */
.plu-auth-card .plu-auth-pass-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.plu-auth-card .plu-auth-pass-label label { margin-bottom: 0; }
.plu-auth-card .plu-auth-forgot { font-size: .9rem; font-weight: 600; color: var(--plu-coral-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.plu-auth-card .plu-auth-forgot:hover { color: var(--plu-coral-600); text-decoration-style: wavy; }

/* Photos while listing a new puppy (js/plu-account.js, 2026-11-25). Hidden until the script
   takes over; without it the photos section appears after saving, as before. */
[data-plu-pending-photos][hidden] { display: none !important; }
.plu-photos--pending .plu-photo--noprev { min-height: 112px; background: var(--plu-cream, #fffbf3); }
.plu-photos--pending .plu-photo--noprev img { visibility: hidden; }
.plu-photos--pending .plu-photo--noprev::before { content: "photo"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--plu-text-muted); font-weight: 600; }
.plu-photos--pending .plu-photo { position: relative; }
.plu-photos--pending .plu-photos__grid:not(:empty) { margin-top: var(--plu-space-4); }
form.is-busy .plu-form__save .plu-btn { opacity: .7; cursor: progress; }

/* Toast: account messages pinned to the screen (js/plu-account.js, 2026-11-25). */
.plu-toast {
    position: fixed; z-index: 1000; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
    display: flex; align-items: flex-start; gap: 14px; width: max-content; max-width: min(34rem, calc(100vw - 32px));
    padding: 14px 16px 14px 20px; border: 2.5px solid var(--plu-navy-800); border-radius: 14px;
    background: var(--plu-success-bg, #e7f6ec); color: #1f5a37; font-weight: 700; line-height: 1.4;
    box-shadow: var(--plu-shadow-offset), 0 18px 40px -18px rgba(31,42,68,.55);
    opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .25s;
}
.plu-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.plu-toast--error { background: var(--plu-danger-bg, #fde8e8); color: #8e1d1d; }
.plu-toast__text { margin: 0; }
.plu-toast__close { flex: none; border: 0; background: none; font: inherit; font-size: 1rem; color: inherit; cursor: pointer; opacity: .7; padding: 0 2px; }
.plu-toast__close:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .plu-toast { transition: opacity .2s; } }

/* Progress panel while a new listing saves and its photos upload (js/plu-account.js). */
.plu-progress {
    position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 16px;
    background: rgba(255, 251, 243, .82); backdrop-filter: blur(2px);
}
.plu-progress__card {
    width: min(28rem, 100%); padding: 26px 28px 22px; background: var(--plu-white);
    border: 2.5px solid var(--plu-navy-800); border-radius: 16px; box-shadow: var(--plu-shadow-offset);
}
.plu-progress__title { margin: 0 0 6px; font: 400 1.7rem/1.1 var(--plu-font-display, inherit); color: var(--plu-navy-800); }
.plu-progress__step { margin: 0 0 16px; font-weight: 700; font-size: 1.05rem; color: var(--plu-navy-800); }
.plu-progress__bar { height: 14px; border-radius: 999px; background: var(--plu-navy-100, #e6e9f0); overflow: hidden; border: 2px solid var(--plu-navy-800); }
.plu-progress__bar > span { display: block; height: 100%; width: 2%; background: var(--plu-coral-500); transition: width .25s ease; }
.plu-progress__bar.is-indeterminate > span { width: 35%; animation: plu-progress-slide 1.1s ease-in-out infinite; }
@keyframes plu-progress-slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.plu-progress__note { margin: 12px 0 0; font-size: .88rem; color: var(--plu-text-muted); }
@media (prefers-reduced-motion: reduce) { .plu-progress__bar.is-indeterminate > span { animation: none; width: 100%; opacity: .5; } }
.plu-wait-uploads { margin: 8px 0 0; font-weight: 700; color: var(--plu-navy-800); }

/* Confirm pop-up (js/plu-account.js confirmBox), replacing the browser's confirm() box. */
.plu-confirm {
    width: min(26rem, calc(100vw - 32px)); padding: 26px 28px 22px; margin: auto;
    border: 2.5px solid var(--plu-navy-800); border-radius: 16px; background: var(--plu-white);
    color: var(--plu-navy-800); box-shadow: var(--plu-shadow-offset), 0 24px 60px -24px rgba(31,42,68,.6);
}
.plu-confirm::backdrop { background: rgba(31, 42, 68, .45); backdrop-filter: blur(2px); }
.plu-confirm[open] { animation: plu-confirm-in .18s ease-out; }
@keyframes plu-confirm-in { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.plu-confirm__title { margin: 0 0 8px; font: 400 1.6rem/1.15 var(--plu-font-display, inherit); }
.plu-confirm__msg { margin: 0 0 20px; color: var(--plu-text-muted); line-height: 1.5; }
.plu-confirm__actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .plu-confirm[open] { animation: none; } }

/* Puppy list rows (owner, 2026-11-25): a larger photo, and the price on its own line. */
.plu-puprow { grid-template-columns: 160px minmax(0, 1fr) auto; }
.plu-puprow__photo, .plu-puprow__photo img { width: 160px; height: 160px; }
.plu-puprow__price { font-weight: 700; color: var(--plu-navy-800); }
@media (max-width: 52rem) {
    .plu-puprow { grid-template-columns: 104px minmax(0, 1fr); }
    .plu-puprow__photo, .plu-puprow__photo img { width: 104px; height: 104px; }
}
/* Phones: the Status strip (label + three options) ran past the card edge; let it shrink to fit. */
@media (max-width: 52rem) {
    .plu-status .plu-segment { max-width: 100%; }
    .plu-status .plu-segment button { min-width: 0; padding: 7px 8px; }
    .plu-status .plu-segment__label { padding: 0 8px; }
}

/* Photo-less puppy listings stay off the public lists (owner, 2026-11-25): say so plainly. */
.plu-puprow__nophoto { font-size: .92rem; color: var(--plu-text-muted); }
.plu-puprow__nophoto a { color: var(--plu-coral-700); font-weight: 700; }
.plu-nophoto-warn {
    margin: 0 0 var(--plu-space-4); padding: 12px 16px; border: 2px solid var(--plu-warning, #b7791f);
    border-radius: var(--plu-radius-sketch-2, 10px); background: var(--plu-warning-bg, #fff6e5); color: var(--plu-navy-800);
}
.plu-nophoto-warn[hidden] { display: none; }
