/* ── Palette
   bg:        #fcd8c0  warm peach
   surface:   #ffffff
   accent:    #c0623a  burnt sienna  (≥4.5:1 on #fcd8c0 and #fff)
   accent-dk: #9b4a28  hover
   text:      #2c1a0e  dark brown    (≥7:1 on #fcd8c0)
   muted:     #7a4e38
   border:    #f0b897
   ───────────────────────────────────────── */

/* ═══════════════════════════════════════════
   LOGIN / REGISTER
   ═══════════════════════════════════════════ */
.hmpl-auth-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px 16px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hmpl-auth-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 8px;
}

.hmpl-auth-brand img {
    max-height: 56px;
    width: auto;
}

.hmpl-auth-brand__text {
    font-size: 26px;
    font-weight: 900;
    color: #c0623a;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.hmpl-auth-brand__text:hover {
    color: #9b4a28;
}

.hmpl-auth-card {
    width: 100%;
    background: #fff;
    border: 1px solid #f0b897;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(44, 26, 14, 0.09);
}

.hmpl-auth-card--hidden {
    display: none;
}

.hmpl-auth-card__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #2c1a0e;
}

.hmpl-auth-card__sub {
    margin: 0 0 24px;
    font-size: 14px;
    color: #7a4e38;
    line-height: 1.55;
}

.hmpl-auth-form .form-row {
    margin: 0 0 16px;
}

.hmpl-auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c1a0e;
    margin-bottom: 6px;
}

.hmpl-auth-form .woocommerce-Input,
.hmpl-auth-form input.input-text,
.hmpl-auth-form input[type="text"],
.hmpl-auth-form input[type="email"],
.hmpl-auth-form input[type="password"],
.hmpl-auth-form input[type="tel"] {
    width: 100%;
    border: 1px solid #f0b897;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #2c1a0e;
    background: #fffaf7;
    box-sizing: border-box;
    transition: border-color 0.14s, box-shadow 0.14s;
}

.hmpl-auth-form .woocommerce-Input:focus,
.hmpl-auth-form input.input-text:focus,
.hmpl-auth-form input[type="text"]:focus,
.hmpl-auth-form input[type="email"]:focus,
.hmpl-auth-form input[type="password"]:focus,
.hmpl-auth-form input[type="tel"]:focus {
    outline: none;
    border-color: #ff66c4;
    box-shadow: 0 0 0 3px rgba(255, 102, 196, 0.18);
    background: #fff;
}

.hmpl-auth-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hmpl-auth-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.hmpl-auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7a4e38;
    cursor: pointer;
}

.hmpl-auth-remember input[type="checkbox"] {
    accent-color: #ff66c4;
    width: 15px;
    height: 15px;
}

.hmpl-auth-lost {
    font-size: 13px;
    color: #c0623a;
    text-decoration: none;
    white-space: nowrap;
}

.hmpl-auth-lost:hover {
    color: #9b4a28;
}

.hmpl-auth-form__hint {
    font-size: 13px;
    color: #7a4e38;
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Full-width button variant */
.hmpl-btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 15px;
    border-radius: 12px;
}

/* Outline button */
.hmpl-btn-outline {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #c0623a;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #f0b897;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.14s, border-color 0.14s, color 0.14s;
    width: 100%;
    text-align: center;
}

.hmpl-btn-outline:hover {
    background: #fcd8c0;
    border-color: #c0623a;
    color: #9b4a28;
}

.hmpl-auth-switch {
    border-top: 1px solid #f0b897;
    margin-top: 24px;
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.hmpl-auth-switch p {
    margin: 0;
    font-size: 13px;
    color: #7a4e38;
}

/* Required star */
.hmpl-auth-form .required {
    color: #c0623a;
}

/* WC notices inside auth page */
.woocommerce-account .woocommerce-notices-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

@media (max-width: 520px) {
    .hmpl-auth-card {
        padding: 24px 20px;
    }
    .hmpl-auth-form__row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   MY ACCOUNT — page-level peach background
   ═══════════════════════════════════════════ */
.woocommerce-account .woocommerce {
    background: #fcd8c0;
    border-radius: 20px;
    padding: 28px;
    --global-palette-highlight: #ff66c4;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a,
.hmpl-card__btn {
    background: #ff66c4 !important;
    border-color: #ff66c4 !important;
    color: #ffffff !important;
}

/* ── Sidebar nav ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0b897;
    overflow: hidden;
    padding-bottom: 8px;
}

/* Logo injected above the nav */
.hmpl-nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 16px 12px;
    border-bottom: 1px solid #f0b897;
    margin-bottom: 4px;
}

.hmpl-nav-logo img {
    max-height: 48px;
    width: auto;
}

.hmpl-nav-logo__text {
    font-size: 18px;
    font-weight: 800;
    color: #c0623a;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.hmpl-nav-logo__text:hover {
    color: #9b4a28;
}

/* Nav items */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 4px 8px 4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 2px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #2c1a0e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.14s, color 0.14s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #fcd8c0;
    color: #c0623a;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
    background: #c0623a;
    color: #ffffff !important;
    font-weight: 700;
}

/* Logout item */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #9b4a28;
    font-size: 13px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #ffeee4;
    color: #c0623a;
}

/* Content area */
.woocommerce-account .woocommerce-MyAccount-content {
    background: transparent;
}

/* ═══════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════ */
.hmpl-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Hero ── */
.hmpl-dashboard__hero {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #f0b897;
    border-radius: 16px;
    padding: 20px 24px;
}

.hmpl-dashboard__hero-avatar {
    flex-shrink: 0;
}

.hmpl-avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 2px solid #f0b897;
    object-fit: cover;
}

.hmpl-dashboard__hero-text {
    flex: 1;
}

.hmpl-dashboard__hero-greeting {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7a4e38;
}

.hmpl-dashboard__hero-name {
    margin: 2px 0 0;
    font-size: 22px;
    font-weight: 800;
    color: #2c1a0e;
    line-height: 1.2;
}

.hmpl-dashboard__hero-logout {
    font-size: 12px;
    color: #9b4a28;
    text-decoration: none;
    border: 1px solid #f0b897;
    border-radius: 100px;
    padding: 5px 14px;
    white-space: nowrap;
    transition: background 0.14s, color 0.14s;
    flex-shrink: 0;
}

.hmpl-dashboard__hero-logout:hover {
    background: #ffeee4;
    color: #c0623a;
}

.hmpl-payment-review-notice {
    background: #fff6d8;
    border: 1px solid #f6dc8a;
    color: #674d07;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 600;
}

/* ── Section block ── */
.hmpl-dashboard__section {
    background: #ffffff;
    border: 1px solid #f0b897;
    border-radius: 16px;
    padding: 20px 24px;
}

.hmpl-dashboard__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hmpl-dashboard__section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2c1a0e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hmpl-dashboard__section-link {
    font-size: 13px;
    color: #c0623a;
    font-weight: 600;
    text-decoration: none;
}

.hmpl-dashboard__section-link:hover {
    color: #9b4a28;
}

/* ── Help text (bottom) ── */
.hmpl-dashboard__help-text {
    border-top: 1px solid #f0b897;
    padding-top: 16px;
}

.hmpl-dashboard__help-text p {
    margin: 0;
    font-size: 13px;
    color: #7a4e38;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   GRID & CARDS
   ═══════════════════════════════════════════ */

/* Full library grid */
.hmpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Dashboard mini grid */
.hmpl-grid--dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hmpl-card {
    border: 1px solid #f0b897;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(44, 26, 14, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}

.hmpl-card__link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.hmpl-card__link:focus-visible {
    outline: 2px solid #c0623a;
    outline-offset: 3px;
}

.hmpl-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(44, 26, 14, 0.13);
}

/* Smaller card variant for dashboard */
.hmpl-card--sm .hmpl-card__body {
    padding: 12px;
    gap: 6px;
}

.hmpl-card--sm .hmpl-card__title {
    font-size: 14px;
}

.hmpl-card__thumb-wrap {
    overflow: hidden;
    background: #fcd8c0;
    aspect-ratio: 16 / 9;
}

.hmpl-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.22s ease;
}

.hmpl-card:hover .hmpl-card__thumb {
    transform: scale(1.04);
}

.hmpl-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hmpl-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2c1a0e;
    line-height: 1.35;
}

.hmpl-card__desc {
    margin: 0;
    font-size: 13px;
    color: #7a4e38;
    line-height: 1.5;
    flex: 1;
}

.hmpl-card__btn {
    display: inline-block;
    align-self: flex-start;
    margin-top: 4px;
    padding: 8px 18px;
    background: #c0623a;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.16s ease;
    pointer-events: none;
}

.hmpl-card__btn:hover {
    background: #9b4a28;
}

/* ═══════════════════════════════════════════
   ORDERS LIST
   ═══════════════════════════════════════════ */
.hmpl-orders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hmpl-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f0b897;
    border-radius: 12px;
    background: #fffaf7;
    padding: 12px 16px;
    gap: 8px;
}

.hmpl-order-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hmpl-order-item__num {
    font-size: 14px;
    color: #2c1a0e;
}

.hmpl-order-item__date {
    font-size: 12px;
    color: #7a4e38;
}

.hmpl-order-item__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.hmpl-order-item__total {
    font-size: 14px;
    color: #2c1a0e;
}

.hmpl-order-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 100px;
    background: #fcd8c0;
    color: #7a4e38;
}

.hmpl-order-badge--completed { background: #d4edda; color: #155724; }
.hmpl-order-badge--processing { background: #d1ecf1; color: #0c5460; }
.hmpl-order-badge--pending { background: #fff3cd; color: #856404; }
.hmpl-order-badge--cancelled,
.hmpl-order-badge--failed { background: #f8d7da; color: #721c24; }

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */
.hmpl-empty {
    text-align: center;
    padding: 48px 24px;
    color: #7a4e38;
}

.hmpl-empty__icon {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

.hmpl-empty--inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0 2px;
    text-align: left;
}

.hmpl-empty--inline span {
    font-size: 22px;
    flex-shrink: 0;
}

.hmpl-empty--inline p {
    margin: 0;
    font-size: 14px;
    color: #7a4e38;
}

/* ═══════════════════════════════════════════
   MIS MATERIALES (full page)
   ═══════════════════════════════════════════ */
.hmpl-library {
    padding: 0;
}

.hmpl-library > h2 {
    display: none;
}

/* ═══════════════════════════════════════════
   SINGLE MATERIAL
   ═══════════════════════════════════════════ */
.hmpl-single {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Header: title left + button right ── */
.hmpl-single__header {
    margin-bottom: 2px;
}

.hmpl-single__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hmpl-single__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px 8px 12px;
    background: #ff66c4;
    color: #1a1a1a !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.16s ease, box-shadow 0.16s ease;
    box-shadow: 0 4px 12px rgba(255, 102, 196, 0.30);
}

.hmpl-single__back:hover {
    background: #ff3db8;
    box-shadow: 0 6px 18px rgba(255, 102, 196, 0.40);
    color: #1a1a1a !important;
}

.hmpl-single__back svg {
    flex-shrink: 0;
}

.hmpl-single__title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: #2c1a0e;
    line-height: 1.25;
}

/* ── Body: contains the renderer output ── */
.hmpl-single__body {
    background: #fff;
    border: 1px solid #f0b897;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
}

/* ─ PDF reader (inside .hmpl-single__body) ─ */
.hmpl-pdf-reader {
    padding: 20px;
    background: linear-gradient(135deg, #fceee5 0%, #fcd8c0 100%);
    border-radius: 0; /* body already has radius */
}

.hmpl-pdf-stage {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(120,113,108,0.22) 49.5%, rgba(120,113,108,0.08) 50%, rgba(120,113,108,0.22) 50.5%) center/18px 100% no-repeat,
        linear-gradient(90deg, #fbf9f5 0%, #fdfcf8 50%, #fbf9f5 100%);
    box-shadow: inset 0 0 0 1px rgba(120,113,108,0.24), 0 14px 34px rgba(28,25,23,0.16);
}

.hmpl-pdf-frame {
    display: block;
    width: 100%;
    min-height: 78vh;
    border: 1px solid #f0b897;
    border-radius: 8px;
    background: #fff;
}

.hmpl-pdf-fallback {
    margin: 10px 2px 0;
    font-size: 14px;
}

.hmpl-pdf-fallback a {
    color: #c0623a;
}

.hmpl-single .cmdShare,
.hmpl-single .widShare {
    display: none !important;
}

.hmpl-embed-wrap iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
}

/* ═══════════════════════════════════════════
   PINK PRIMARY BUTTON
   Replaces WooCommerce / theme blue on the
   account page everywhere.
   ═══════════════════════════════════════════ */

/* Our own primary button */
.hmpl-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #ff66c4;
    color: #1a1a1a !important;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.16s ease, box-shadow 0.16s ease;
    box-shadow: 0 4px 14px rgba(255, 102, 196, 0.35);
}

.hmpl-btn-primary:hover,
.hmpl-btn-primary:focus {
    background: #ff3db8;
    box-shadow: 0 6px 20px rgba(255, 102, 196, 0.45);
    color: #1a1a1a !important;
}

/* WooCommerce generic .button on account pages */
.woocommerce-account .woocommerce-Button,
.woocommerce-account .button,
.woocommerce-account button[type="submit"],
.woocommerce-account input[type="submit"] {
    background: #ff66c4 !important;
    background-color: #ff66c4 !important;
    color: #1a1a1a !important;
    border-color: #ff66c4 !important;
    box-shadow: 0 4px 14px rgba(255, 102, 196, 0.30) !important;
}

.woocommerce-account .woocommerce-Button:hover,
.woocommerce-account .button:hover,
.woocommerce-account button[type="submit"]:hover,
.woocommerce-account input[type="submit"]:hover {
    background: #ff3db8 !important;
    background-color: #ff3db8 !important;
    border-color: #ff3db8 !important;
    color: #1a1a1a !important;
}

/* Theme palette overrides — kill blue on account pages */
.woocommerce-account a:not(.hmpl-nav-logo__text):not(.hmpl-dashboard__hero-logout):not(.hmpl-dashboard__section-link):not(.hmpl-card__btn):not(.hmpl-back) {
    color: #c0623a;
}

.woocommerce-account a:not(.hmpl-nav-logo__text):not(.hmpl-dashboard__hero-logout):not(.hmpl-dashboard__section-link):not(.hmpl-card__btn):not(.hmpl-back):hover {
    color: #9b4a28;
}

/* Focus ring */
.woocommerce-account *:focus-visible {
    outline-color: #ff66c4;
}

/* WC notices — info/success link color */
.woocommerce-account .woocommerce-message a,
.woocommerce-account .woocommerce-info a {
    color: #c0623a !important;
}

/* ═══════════════════════════════════════════
   ACCOUNT FORM (edit-account)
   ═══════════════════════════════════════════ */
.hmpl-account-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hmpl-form-section {
    background: #fff;
    border: 1px solid #f0b897;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hmpl-form-section__title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a4e38;
}

.hmpl-form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hmpl-account-form .woocommerce-form-row,
.hmpl-account-form p.form-row {
    margin: 0;
}

.hmpl-account-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c1a0e;
    margin-bottom: 6px;
}

.hmpl-account-form .woocommerce-Input,
.hmpl-account-form input.input-text {
    width: 100%;
    border: 1px solid #f0b897;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #2c1a0e;
    background: #fffaf7;
    transition: border-color 0.14s, box-shadow 0.14s;
    box-sizing: border-box;
}

.hmpl-account-form .woocommerce-Input:focus,
.hmpl-account-form input.input-text:focus {
    outline: none;
    border-color: #ff66c4;
    box-shadow: 0 0 0 3px rgba(255, 102, 196, 0.18);
    background: #fff;
}

/* Password toggle eye icon */
.woocommerce-account .woocommerce-Input-toggle {
    right: 12px;
    color: #7a4e38;
}

.hmpl-form-hint {
    display: block;
    font-size: 12px;
    color: #7a4e38;
    margin-top: 4px;
}

.hmpl-form-hint--top {
    margin-top: 0;
    margin-bottom: 4px;
}

.hmpl-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

/* Profile photo fieldset in the form */
.hmpl-account-form fieldset {
    border: 1px solid #f0b897;
    border-radius: 14px;
    padding: 20px;
    margin: 0;
}

.hmpl-account-form fieldset legend {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a4e38;
    padding: 0 8px;
}

/* Required star */
.hmpl-account-form .required {
    color: #c0623a;
}

@media (max-width: 600px) {
    .hmpl-form-row--half {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        padding: 16px;
    }

    .hmpl-grid {
        grid-template-columns: 1fr;
    }

    .hmpl-grid--dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

    .hmpl-dashboard__hero {
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px;
    }

    .hmpl-dashboard__hero-logout {
        margin-left: auto;
    }

    .hmpl-order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hmpl-order-item__meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }

    .hmpl-single {
        padding: 16px;
        gap: 14px;
    }

    .hmpl-single__topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .hmpl-single__title {
        font-size: 20px;
    }

    .hmpl-single__body {
        padding: 14px;
    }

    .hmpl-pdf-reader {
        padding: 8px;
    }

    .hmpl-pdf-stage {
        padding: 0;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 6px 18px rgba(28,25,23,0.12);
    }

    .hmpl-pdf-frame {
        min-height: 70vh;
        border-radius: 6px;
    }

    .hmpl-embed-wrap iframe {
        min-height: 260px;
    }
}
