:root {
    --prp-bg: #f5f7fa;
    --prp-surface: #ffffff;
    --prp-ink: #18212f;
    --prp-muted: #5c697a;
    --prp-line: #d8dee8;
    --prp-primary: #2563eb;
    --prp-primary-dark: #1e40af;
    --prp-danger: #b42318;
    --prp-focus: #f59e0b;
    --prp-sidebar: #172033;
}

* { box-sizing: border-box; }
body.prp-template {
    margin: 0;
    min-width: 320px;
    color: var(--prp-ink);
    background: var(--prp-bg);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
a { color: inherit; }
.prp-skip {
    position: absolute;
    left: .75rem;
    top: .75rem;
    z-index: 100;
    transform: translateY(-160%);
    background: var(--prp-ink);
    color: #fff;
    padding: .65rem .9rem;
    border-radius: 6px;
}
.prp-skip:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--prp-focus); outline-offset: 3px; }

.prp-appbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--prp-line);
    background: rgba(255,255,255,.98);
}
.prp-brand a {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--prp-ink);
    font-weight: 750;
    text-decoration: none;
}
.prp-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--prp-primary);
    color: #fff;
    font-weight: 800;
}
.prp-top-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    font-size: .92rem;
}
.prp-top-actions a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: .45rem .7rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--prp-muted);
}
.prp-top-actions a:hover { background: #eef2f7; color: var(--prp-ink); }
.prp-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    width: 100%;
    min-height: calc(100vh - 64px);
}
.prp-sidebar {
    background: var(--prp-sidebar);
    color: #edf2f7;
    padding: 1rem;
    min-width: 0;
}
.prp-sidebar a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem .7rem;
    border-radius: 6px;
    color: #edf2f7;
    text-decoration: none;
}
.prp-sidebar a:hover,
.prp-sidebar .current > a,
.prp-sidebar .active > a {
    background: rgba(255,255,255,.13);
}
.prp-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.prp-sidebar li { margin: .12rem 0; }
.prp-sidebar-extra {
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.14);
    padding-top: 1rem;
    color: #cbd5e1;
}
.prp-main {
    width: 100%;
    min-width: 0;
    padding: 1.1rem;
}
.prp-breadcrumbs {
    margin-bottom: .75rem;
    color: var(--prp-muted);
    font-size: .9rem;
}
.prp-pagehead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.prp-pagehead h1 {
    margin: 0;
    font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
    line-height: 1.2;
}
.prp-button,
.prp-floating-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 7px;
    padding: .6rem .9rem;
    font-weight: 750;
    text-decoration: none;
}
.prp-button-primary,
.prp-floating-add {
    background: var(--prp-primary);
    color: #fff;
}
.prp-button-primary:hover,
.prp-floating-add:hover { background: var(--prp-primary-dark); color: #fff; }
.prp-notices,
.prp-component,
.prp-help {
    background: var(--prp-surface);
    border: 1px solid var(--prp-line);
    border-radius: 8px;
}
.prp-notices { padding: .85rem; margin-bottom: 1rem; }
.prp-component { padding: 1rem; min-height: 58vh; }
.prp-help { margin-top: 1rem; padding: 1rem; }
.prp-floating-add {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .24);
}
.prp-footer {
    border-top: 1px solid var(--prp-line);
    padding: .85rem 1rem;
    background: #fff;
    color: var(--prp-muted);
    font-size: .88rem;
}

@media (max-width: 1100px) {
    .prp-layout { grid-template-columns: 1fr; }
    .prp-sidebar {
        position: relative;
        display: flex;
        gap: .35rem;
        overflow-x: auto;
        padding: .65rem;
    }
    .prp-sidebar ul { display: flex; gap: .35rem; }
    .prp-sidebar a { white-space: nowrap; }
    .prp-sidebar-extra { display: none; }
}

@media (max-width: 560px) {
    .prp-appbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .prp-top-actions {
        width: 100%;
        overflow-x: auto;
        padding-bottom: .15rem;
    }
    .prp-main { padding: .8rem; }
    .prp-pagehead { flex-direction: column; }
    .prp-page-actions,
    .prp-page-actions .prp-button { width: 100%; }
    .prp-floating-add {
        left: .8rem;
        right: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

body.prp-template {
    background:
        radial-gradient(circle at 18% 12%, rgba(37, 99, 235, .16), transparent 32rem),
        radial-gradient(circle at 85% 8%, rgba(20, 184, 166, .14), transparent 28rem),
        linear-gradient(180deg, #f7fbff 0%, #eef4f8 52%, #f8fafc 100%);
}
.prp-appbar {
    min-height: 72px;
    padding: .85rem 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}
.prp-brand a { font-size: 1.05rem; }
.prp-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .28);
}
.prp-top-actions a {
    color: #334155;
    font-weight: 700;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(148,163,184,.22);
}
.prp-top-actions a:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}
.prp-top-actions .prp-signup-link {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37,99,235,.22);
}
.prp-top-actions .prp-account-pill {
    border-color: rgba(20,184,166,.28);
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(20,184,166,.18));
    color: #0f766e;
    font-weight: 900;
}
.prp-layout { grid-template-columns: 280px minmax(0, 1fr); }
.prp-sidebar {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(23, 32, 51, .96)),
        linear-gradient(135deg, rgba(37,99,235,.3), transparent);
    box-shadow: inset -1px 0 0 rgba(255,255,255,.08);
}
.prp-sidebar a {
    margin-bottom: .2rem;
    font-weight: 720;
    color: #dbeafe;
    border: 1px solid transparent;
}
.prp-sidebar a:hover,
.prp-sidebar .current > a,
.prp-sidebar .active > a {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.14);
    box-shadow: inset 3px 0 0 #38bdf8;
}
.prp-main { padding: 1.5rem; }
.prp-breadcrumbs {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(148,163,184,.25);
}
.prp-breadcrumbs ol,
.prp-breadcrumbs ul,
.prp-breadcrumbs .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.prp-breadcrumbs li,
.prp-breadcrumbs .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
}
.prp-breadcrumbs li::marker { content: ""; }
.prp-breadcrumbs li + li::before,
.prp-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 .45rem 0 .2rem;
    color: #94a3b8;
}
.prp-breadcrumbs a {
    color: #1d4ed8;
    font-weight: 720;
    text-decoration: none;
}
.prp-breadcrumbs a:hover { text-decoration: underline; }
.prp-breadcrumbs .divider,
.prp-breadcrumbs .icon-location,
.prp-breadcrumbs .breadcrumb-divider {
    display: none !important;
}
.prp-pagehead {
    align-items: center;
    padding: .5rem .15rem 1rem;
}
.prp-pagehead-compact {
    justify-content: flex-end;
    min-height: 0;
    padding-top: .1rem;
}
.prp-pagehead h1 {
    font-size: clamp(1.9rem, 1.4rem + 1.5vw, 3rem);
    letter-spacing: -.02em;
}
.prp-component,
.prp-notices,
.prp-help {
    border-color: rgba(148, 163, 184, .3);
    border-radius: 16px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}
.prp-component { padding: 1.25rem; }
.prp-view,
.prp-public,
.prp-plan-grid,
.prp-grid {
    min-width: 0;
}
.prp-button,
.prp-floating-add,
.prp-component a.prp-action-primary,
.prp-component button.prp-action-primary,
.prp-component a.prp-action,
.prp-component button.prp-action,
.prp-action-primary,
.prp-action-danger,
.prp-login-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 9rem;
    min-height: 46px;
    padding: .75rem 1.05rem !important;
    border: 0;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 850;
    line-height: 1.15;
    box-shadow: 0 16px 34px rgba(37,99,235,.24);
    transition: transform .16s ease, box-shadow .16s ease;
}
.prp-button,
.prp-floating-add,
.prp-component a.prp-action-primary,
.prp-component button.prp-action-primary,
.prp-action-primary,
.prp-login-submit {
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%) !important;
    color: #fff !important;
}
.prp-action-danger {
    border: 1px solid #fecaca !important;
    background: #fff1f2 !important;
    color: #b42318 !important;
    box-shadow: 0 12px 26px rgba(180,35,24,.08) !important;
}
.prp-component a.prp-action,
.prp-component button.prp-action {
    border: 1px solid rgba(37,99,235,.25) !important;
    background: #fff !important;
    color: #1e3a8a !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.prp-button:hover,
.prp-floating-add:hover,
.prp-component a.prp-action-primary:hover,
.prp-component button.prp-action-primary:hover,
.prp-component a.prp-action:hover,
.prp-component button.prp-action:hover,
.prp-action-primary:hover,
.prp-action-danger:hover,
.prp-login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(37,99,235,.3);
}
.prp-action-danger:hover {
    border-color: #fca5a5 !important;
    background: #fee2e2 !important;
    box-shadow: 0 18px 36px rgba(180,35,24,.14) !important;
}
.prp-public .prp-hero-panel,
.prp-view .prp-page-heading,
.prp-paywall {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.28);
    background:
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,249,255,.86)),
        linear-gradient(135deg, rgba(37,99,235,.12), rgba(20,184,166,.1));
    box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
    padding: 1.5rem;
}
.prp-public .prp-hero-panel::after,
.prp-view .prp-page-heading::after {
    content: "";
    position: absolute;
    right: -3rem;
    top: -3rem;
    width: 13rem;
    height: 13rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37,99,235,.18), transparent 68%);
    pointer-events: none;
}
.prp-kicker {
    color: #1d4ed8 !important;
    font-weight: 850 !important;
}
.prp-public .prp-hero-panel h2,
.prp-view .prp-page-heading h2 {
    color: #06162f;
    letter-spacing: -.025em;
}
.prp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.prp-card,
.prp-plan {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 1rem !important;
    border: 1px solid rgba(148,163,184,.28) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .075);
}
.prp-card::before,
.prp-plan::before {
    content: "";
    display: block;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #14b8a6);
    margin-bottom: .85rem;
}
.prp-card h3,
.prp-plan h3 {
    color: #071a38;
    font-size: 1.15rem !important;
}
.prp-plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem;
}
.prp-plan-featured {
    border-color: rgba(37,99,235,.42) !important;
    box-shadow: 0 24px 60px rgba(37,99,235,.14) !important;
}
.prp-plan-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    padding: .28rem .65rem;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.prp-price {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    color: #1d4ed8;
}
.prp-price span { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.prp-price small { color: #52606d; font-weight: 800; }
.prp-plan-tag { color: #52606d; min-height: 3rem; }
.prp-plan li { margin: .35rem 0; }
.prp-feature-section { margin-top: 1.25rem; }
.prp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.prp-feature-card {
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.prp-feature-card h3 { margin: 0 0 .5rem; color: #071a38; }
.prp-feature-card p { margin: 0; color: #334155; }
.prp-action {
    border-radius: 12px !important;
    border-color: rgba(37,99,235,.25) !important;
    background: #fff !important;
    color: #1e3a8a !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
}
.prp-hero-actions,
.prp-hero-panel .prp-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: .7rem !important;
    margin: 1.25rem 0 0 !important;
}
.prp-hero-actions > a,
.prp-hero-panel .prp-actions > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px !important;
    padding: .72rem 1rem !important;
    line-height: 1.15;
    text-decoration: none !important;
    font-weight: 820;
    white-space: normal;
}

.prp-login-screen {
    min-height: min(720px, calc(100vh - 190px));
    display: grid;
    place-items: center;
    padding: 1rem;
}
.prp-login-panel {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 22px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 30px 80px rgba(15,23,42,.14);
}
.prp-login-copy {
    padding: clamp(1.35rem, 4vw, 3rem);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15,23,42,.88), rgba(30,64,175,.84)),
        linear-gradient(135deg, #2563eb, #14b8a6);
}
.prp-login-copy .prp-kicker { color: #bfdbfe !important; }
.prp-login-copy h2 {
    margin: .35rem 0 1rem;
    font-size: clamp(1.8rem, 1.3rem + 1.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.prp-login-copy p { color: #dbeafe; max-width: 34rem; }
.prp-login-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}
.prp-login-highlights span {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: .45rem .7rem;
    color: #eff6ff;
    background: rgba(255,255,255,.12);
    font-weight: 700;
    font-size: .88rem;
}
.prp-login-form {
    display: grid;
    gap: .7rem;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: #fff;
}
.prp-login-form h3 {
    margin: 0 0 .35rem;
    font-size: 1.45rem;
    color: #071a38;
}
.prp-login-form label {
    color: #334155;
    font-weight: 760;
    font-size: .92rem;
}
.prp-login-form input[type="text"],
.prp-login-form input[type="email"],
.prp-login-form input[type="password"] {
    min-height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: .7rem .85rem;
    font: inherit;
    background: #f8fafc;
}
.prp-login-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    outline: none;
}
.prp-check {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0;
}
.prp-login-submit {
    min-height: 48px;
    cursor: pointer;
    font: inherit;
    font-weight: 850;
}
.prp-signup-callout {
    display: grid;
    gap: .45rem;
    margin-top: .35rem;
    padding: .9rem;
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #f0fdfa);
}
.prp-signup-callout p {
    margin: 0;
    color: #334155;
    font-size: .92rem;
}
.prp-signup-callout .prp-signup-title {
    color: #071a38;
    font-size: 1rem;
    font-weight: 850;
}
.prp-signup-button {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: .25rem;
    border-radius: 12px;
    padding: .7rem 1rem;
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    color: #fff !important;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37,99,235,.2);
    cursor: pointer;
}
.prp-signup-dialog {
    width: min(720px, calc(100vw - 1.5rem));
    border: 0;
    border-radius: 22px;
    padding: 0;
    color: #071a38;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15,23,42,.28);
}
.prp-signup-dialog::backdrop {
    background: rgba(15,23,42,.62);
    backdrop-filter: blur(5px);
}
.prp-signup-form {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 2rem);
    background:
        radial-gradient(circle at top right, rgba(20,184,166,.16), transparent 38%),
        linear-gradient(135deg, #ffffff, #f8fbff);
}
.prp-signup-form h3 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.12;
}
.prp-signup-intro {
    margin: 0;
    color: #475569;
}
.prp-signup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}
.prp-signup-grid label {
    display: grid;
    gap: .35rem;
    color: #334155;
    font-weight: 800;
    font-size: .92rem;
}
.prp-signup-grid input,
.prp-signup-grid select {
    min-height: 46px;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: .7rem .85rem;
    color: #071a38;
    background: #fff;
    font: inherit;
}
.prp-signup-grid input:focus,
.prp-signup-grid select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    outline: none;
}
.prp-dialog-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.prp-signup-note {
    color: #64748b;
    font-size: .82rem;
}
.prp-login-links {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: .4rem;
    font-size: .9rem;
}
.prp-login-links a { color: #1d4ed8; font-weight: 720; }

.prp-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}
#system-message-container,
.prp-notices {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 12000;
    display: grid;
    gap: .7rem;
    width: min(420px, calc(100vw - 2rem));
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
}
#system-message-container:empty,
.prp-notices:empty {
    display: none;
}
#system-message-container joomla-alert,
#system-message-container .alert,
#system-message-container .joomla-alert,
.prp-notices > * {
    pointer-events: auto;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    color: #0f172a;
    box-shadow: 0 18px 44px rgba(15,23,42,.18);
    backdrop-filter: blur(10px);
}
#system-message-container joomla-alert .alert-heading,
#system-message-container .alert-heading {
    margin: 0;
    font-size: .95rem;
    font-weight: 850;
}
#system-message-container joomla-alert .alert-message,
#system-message-container .alert-message,
#system-message-container .alert,
.prp-notices > * {
    font-size: .95rem;
    line-height: 1.45;
}
#system-message-container .alert-success,
#system-message-container joomla-alert[type="message"] {
    border-color: rgba(20,184,166,.3);
}
#system-message-container .alert-danger,
#system-message-container .alert-error,
#system-message-container joomla-alert[type="error"] {
    border-color: rgba(220,38,38,.28);
}
.prp-component img,
.prp-component iframe,
.prp-component video {
    max-width: 100%;
    height: auto;
}
.prp-component table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}
.prp-component .icons,
.prp-component .btn-group.actions,
.prp-component .com-content-article__icons,
.prp-component .com-content-article__info,
.prp-component .article-info,
.prp-component .article-info-term,
.prp-component .content_rating,
.prp-component .content_vote,
.prp-component .item-page > .page-header,
.prp-component .com-content-article > .page-header,
.prp-component a[href*="task=article.edit"],
.prp-component a[href*="layout=edit"],
.prp-component .published,
.prp-component .badge[class*="published"] {
    display: none !important;
}
.prp-pagehead h1,
.prp-public .prp-hero-panel h2,
.prp-view .prp-page-heading h2,
.prp-login-copy h2 {
    letter-spacing: 0;
}
.prp-pagehead h1 { font-size: 2.35rem; }
.prp-login-copy h2 { font-size: 2.5rem; }

@media (max-width: 1100px) {
    .prp-layout { grid-template-columns: minmax(0, 1fr); }
    .prp-sidebar {
        position: sticky;
        top: 72px;
        z-index: 10;
        display: flex;
        align-items: center;
        gap: .4rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: .65rem;
        box-shadow: 0 12px 28px rgba(15,23,42,.12);
        scrollbar-width: thin;
    }
    .prp-sidebar::before {
        content: "Menu";
        position: sticky;
        left: 0;
        z-index: 1;
        flex: 0 0 auto;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        padding: 0 .75rem;
        border-right: 1px solid rgba(255,255,255,.16);
        background: rgba(15,23,42,.98);
        color: #bfdbfe;
        font-weight: 850;
    }
    .prp-sidebar ul,
    .prp-sidebar .mod-menu {
        display: flex;
        gap: .4rem;
        min-width: max-content;
    }
    .prp-sidebar li { margin: 0; }
    .prp-sidebar a {
        min-height: 38px;
        margin-bottom: 0;
        padding: .5rem .7rem;
        white-space: nowrap;
        border-radius: 999px;
        box-shadow: none !important;
    }
    .prp-main { padding: 1rem; }
}

@media (max-width: 760px) {
    .prp-login-panel { grid-template-columns: 1fr; }
    .prp-login-copy { min-height: 260px; }
}

@media (max-width: 560px) {
    html,
    body.prp-template {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .prp-appbar {
        position: relative;
        min-height: 0;
        padding: .75rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: .7rem;
    }
    .prp-brand a {
        max-width: 100%;
        font-size: 1rem;
    }
    .prp-mark {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }
    .prp-top-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .4rem;
        max-width: 100%;
        width: 100%;
        overflow: visible;
    }
    .prp-top-actions a {
        min-height: 38px;
        padding: .45rem .62rem;
        font-size: .88rem;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
    .prp-top-actions a:nth-child(1),
    .prp-top-actions a:nth-child(2) {
        display: none;
    }
    .prp-layout { min-height: auto; }
    .prp-sidebar {
        top: 0;
        margin: 0;
        padding: .55rem;
        border-top: 1px solid rgba(255,255,255,.1);
    }
    .prp-sidebar::before {
        min-height: 34px;
        padding: 0 .65rem;
        font-size: .82rem;
    }
    .prp-sidebar a {
        min-height: 34px;
        padding: .42rem .65rem;
        font-size: .88rem;
    }
    .prp-main { padding: .75rem; }
    .prp-pagehead {
        align-items: stretch;
        gap: .75rem;
    }
    .prp-pagehead h1 { font-size: 1.7rem; }
    .prp-page-actions { justify-content: stretch; }
    .prp-page-actions .prp-button { width: 100%; }
    .prp-component,
    .prp-notices,
    .prp-help {
        border-radius: 12px;
        padding: .75rem;
    }
    .prp-public .prp-hero-panel,
    .prp-view .prp-page-heading,
    .prp-paywall {
        border-radius: 14px;
        padding: 1rem;
    }
    .prp-public .prp-hero-panel h2,
    .prp-view .prp-page-heading h2,
    .prp-login-copy h2 {
        font-size: 1.85rem;
    }
    .prp-signup-dialog {
        width: calc(100vw - 1rem);
    }
    .prp-signup-form {
        padding: 1rem;
    }
    .prp-signup-grid {
        grid-template-columns: 1fr;
    }
    .prp-plan-grid,
    .prp-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: .8rem;
    }
    .prp-card,
    .prp-plan {
        padding: .9rem !important;
        border-radius: 12px !important;
    }
    .prp-action,
    .prp-action-primary,
    .prp-hero-actions > a,
    .prp-plan button,
    .prp-button {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }
}

.prp-mobile-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.prp-mobile-menu-button,
.prp-mobile-scrim,
.prp-mobile-drawer-head {
    display: none;
}

@media (max-width: 1100px) {
    html,
    body.prp-template {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .prp-appbar {
        position: sticky !important;
        top: 0;
        z-index: 10010;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: .75rem !important;
        min-height: 64px !important;
        padding: .65rem .75rem !important;
    }
    .prp-brand {
        min-width: 0;
    }
    .prp-brand a {
        min-width: 0;
        max-width: 100%;
    }
    .prp-brand a > span:not(.prp-mark) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .prp-mobile-menu-button {
        display: inline-grid;
        grid-template-columns: 18px auto;
        align-items: center;
        gap: .55rem;
        min-height: 42px;
        border: 1px solid rgba(37,99,235,.22);
        border-radius: 999px;
        padding: .45rem .75rem;
        background: #fff;
        color: #0f172a;
        font-weight: 850;
        box-shadow: 0 12px 28px rgba(15,23,42,.1);
        cursor: pointer;
        user-select: none;
    }
    .prp-mobile-menu-button span {
        grid-column: 1;
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #1e3a8a;
    }
    .prp-mobile-menu-button strong {
        grid-column: 2;
        grid-row: 1 / 4;
        font-size: .9rem;
    }
    .prp-top-actions {
        grid-column: 1 / -1;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .1rem;
    }
    .prp-top-actions a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .prp-layout {
        display: block !important;
        min-height: auto !important;
    }
    .prp-mobile-scrim {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: block;
        background: rgba(15,23,42,.52);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
    }
    .prp-sidebar {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 10020;
        display: block !important;
        width: min(86vw, 340px);
        max-width: calc(100vw - 2rem);
        height: 100dvh;
        margin: 0 !important;
        padding: 1rem !important;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-105%);
        transition: transform .22s ease;
        border-right: 1px solid rgba(255,255,255,.16);
        box-shadow: 24px 0 70px rgba(15,23,42,.32);
        -webkit-overflow-scrolling: touch;
    }
    .prp-sidebar::before {
        display: none !important;
        content: none !important;
    }
    .prp-mobile-nav-toggle:checked ~ .prp-mobile-scrim {
        opacity: 1;
        pointer-events: auto;
    }
    .prp-mobile-nav-toggle:checked ~ .prp-layout .prp-sidebar {
        transform: translateX(0);
    }
    .prp-mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin: 0 0 1rem;
        padding: 0 0 .85rem;
        border-bottom: 1px solid rgba(255,255,255,.14);
        color: #fff;
        font-weight: 900;
    }
    .prp-mobile-drawer-head label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 999px;
        background: rgba(255,255,255,.1);
        color: #fff;
        font-size: 1.45rem;
        line-height: 1;
        cursor: pointer;
    }
    .prp-sidebar ul,
    .prp-sidebar .mod-menu {
        display: grid !important;
        min-width: 0 !important;
        gap: .35rem !important;
    }
    .prp-sidebar li {
        margin: 0 !important;
    }
    .prp-sidebar a {
        min-height: 44px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        white-space: normal !important;
        box-shadow: none !important;
    }
    .prp-sidebar-extra {
        display: block;
        margin-top: 1rem;
    }
    .prp-main {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    .prp-component {
        overflow: hidden;
    }
}

@media (max-width: 560px) {
    .prp-appbar {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
    .prp-top-actions {
        display: none !important;
    }
    .prp-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .prp-mobile-menu-button {
        min-width: 44px;
        min-height: 44px;
        grid-template-columns: 18px;
        padding: .55rem .65rem;
    }
    .prp-mobile-menu-button strong {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .prp-main {
        padding: .7rem;
    }
    .prp-pagehead {
        align-items: stretch;
    }
    .prp-component,
    .prp-notices,
    .prp-help {
        padding: .7rem;
        border-radius: 12px;
    }
    #system-message-container,
    .prp-notices {
        top: .7rem;
        right: .7rem;
        width: calc(100vw - 1.4rem);
    }
}
