/* Small, documented overrides only. Move stable rules into their component.
 * Loaded after stillpaw-base; third-party and inline styles retain their cascade.
 */

/* Approved frontend link treatment. Keep the WordPress toolbar untouched.
 * Important overrides component link decoration without changing layout or color. */
body.sp-link-style a:not(:where(#wpadminbar *)){text-decoration:none!important;text-underline-offset:4px}
body.sp-link-style a:not(:where(#wpadminbar *)):is(:hover,:focus-visible){text-decoration:underline!important}
body.sp-link-style a:not(:where(#wpadminbar *)):focus-visible{outline:2px solid #35745f;outline-offset:4px}
/* Text actions share the link treatment; filled action buttons keep their shape. */
body.sp-link-style .sp-comments .sp-message-tools button{ text-decoration:none!important }
body.sp-link-style .sp-comments .sp-message-tools button:is(:hover,:focus-visible){ text-decoration:underline!important;text-underline-offset:4px }
body.sp-link-style a:is(.sp-button,.wp-element-button,.wp-block-button__link,.sp-auth-mail-primary):is(:hover,:focus-visible){text-decoration:none!important}
/* Approved owner-list, draft feedback and preview refinements. */
@font-face{font-family:SPJourneyDM;src:url('../fonts/memorial-dmsans-400.ttf') format('truetype');font-display:swap}
.stillpaw-app.sp-account{font-family:SPJourneyDM,Arial,sans-serif;color:#253c39}
.sp-account .sp-account-heading h1{font-size:32px;line-height:1.3;margin:0}
.sp-account .sp-account-intro{font-size:16px;color:#60716a;margin:18px 0 28px}
.sp-account .sp-account-panel{padding:32px;border:1px solid #dbe2d8;border-radius:14px;background:#fff}
.sp-account .sp-account-empty{text-align:center;padding:44px 12px 48px}
.sp-account .sp-account-empty svg{display:block;width:48px;height:48px;color:#64816b;margin:0 auto 20px}
.sp-account .sp-account-empty h2{font-size:26px;line-height:1.35;margin:0 0 14px}
.sp-account .sp-account-empty p{max-width:420px;margin:0 auto 26px;color:#60716a}
.sp-account .sp-account-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #e2e7de;padding-top:22px;margin-top:24px}
.sp-account .sp-account-bottom p{margin:0;font-size:13px}
.sp-account .sp-account-signout a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid #c5d1c3;background:#e1e9df;border-radius:7px;color:#2d5344}
.sp-account .sp-account-receipt{display:table;margin:0 0 16px;padding:10px 14px;border:1px solid #c8d9c2;background:#edf3e9;border-radius:8px;font-size:14px;color:#2d5344}
.sp-create .sp-draft-recovery.sp-field-feedback{padding:16px 18px;background:#fffaf4;border:1px solid #dfcabd;border-radius:9px}
.sp-create .sp-field-feedback h2{font-size:16px;margin:0 0 6px}
.sp-create .sp-field-feedback .sp-return-status{font-size:14px;margin:0 0 8px}
.sp-create .sp-field-feedback .sp-actions{display:none}
.sp-create .sp-missing-fields{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px}
.sp-create .sp-missing-fields a{color:#8a4636;min-height:36px;display:inline-flex;align-items:center}
.stillpaw-app .sp-upload-queue{max-width:100%;min-width:0;text-align:left}
.stillpaw-app .sp-queue-row{overflow-wrap:anywhere;min-width:0}
.sp-create .sp-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.sp-create .sp-preview-toolbar p{font-size:14px;color:#60716a;margin:0}
.sp-create .sp-editor-preview .sp-preview-image{height:420px;aspect-ratio:auto;background:#edf0e8;border:1px solid #d9e0d3;border-radius:12px}
.sp-create .sp-editor-preview .sp-preview-image img{object-fit:contain}
.sp-create .sp-editor-preview .sp-gallery{margin:0 0 26px}
.sp-create .sp-editor-preview .sp-memory-section p{white-space:pre-wrap}
.sp-create .sp-editor-preview .sp-preview-nav[hidden]{display:none!important}
@media(max-width:600px){.sp-account .sp-account-panel{padding:24px 22px}.sp-account .sp-account-empty{padding:28px 0 36px}.sp-account .sp-account-heading h1{font-size:29px}.sp-account .sp-account-empty h2{font-size:24px}.sp-create .sp-preview-toolbar{align-items:flex-start;flex-direction:column}.sp-create .sp-editor-preview .sp-preview-image{height:270px}}
