.phx-hub-front {
    --phx-bg: #333333;
    --phx-bg-dark: #000000;
    --phx-text: #ffffff;
    --phx-accent: #ff9933;
    --phx-red: #cc3300;
    --phx-yellow: #ffcc33;
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0) 0 0 / 34px 34px,
        linear-gradient(135deg, rgba(255, 153, 51, 0.08), transparent 32%),
        var(--phx-bg);
    color: var(--phx-text);
    font-family: Barlow, Arial, sans-serif;
    line-height: 1.55;
    margin: 0 auto;
    padding: clamp(16px, 2.4vw, 28px);
    position: relative;
    width: min(1180px, calc(100vw - 32px));
}

.phx-standalone-hub {
    background: #111111;
    margin: 0;
}

.phx-standalone-main {
    padding: clamp(14px, 2.4vw, 28px) 0;
}

.phx-hub-front * {
    box-sizing: border-box;
}

.phx-hub-front h1,
.phx-hub-front h2,
.phx-hub-front h3 {
    color: var(--phx-accent);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 12px;
}

.phx-hub-front h1 {
    font-size: clamp(24px, 2.8vw, 36px);
}

.phx-hub-front h2 {
    font-size: 21px;
}

.phx-hub-front h3 {
    font-size: 17px;
}

.phx-hub-front h4 {
    color: var(--phx-yellow);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 17px;
    margin: 16px 0 8px;
}

.phx-hub-front p {
    margin: 0 0 14px;
}

.phx-session-head {
    border-bottom: 2px solid var(--phx-accent);
    margin-bottom: 16px;
    padding-bottom: 13px;
}

.phx-hub-breadcrumb-nav {
    align-items: center;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 10px;
}

.phx-hub-breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    margin-right: 2px;
}

.phx-hub-breadcrumb-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    color: var(--phx-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 7px 9px;
    text-decoration: none;
}

.phx-hub-breadcrumb-link:hover,
.phx-hub-breadcrumb-link:focus,
.phx-hub-breadcrumb-link.is-primary {
    background: var(--phx-accent);
    border-color: var(--phx-accent);
    color: var(--phx-bg-dark);
}

.phx-session,
.phx-session-manager {
    font-size: 14px;
}

.phx-session .phx-front-card,
.phx-session-manager .phx-front-card,
.phx-session .phx-agenda-item {
    padding: 14px;
}

.phx-profile-head {
    align-items: center;
    display: flex;
    gap: 18px;
}

.phx-profile-title {
    min-width: 0;
}

.phx-member-avatar {
    align-items: center;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.88), rgba(204, 51, 0, 0.92));
    border: 2px solid rgba(255, 204, 51, 0.72);
    border-radius: 50%;
    color: #000000;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 24px;
    height: 72px;
    justify-content: center;
    object-fit: cover;
    overflow: hidden;
    width: 72px;
}

.phx-member-avatar-large {
    font-size: 40px;
    height: 128px;
    width: 128px;
}

.phx-kicker {
    color: var(--phx-yellow);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    text-transform: uppercase;
}

.phx-front-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.phx-front-card,
.phx-agenda-item {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 153, 51, 0.72);
    border-radius: 6px;
    padding: 14px;
}

.phx-login-note {
    margin-bottom: 22px;
}

.phx-clan-login {
    color: var(--phx-text);
    margin: 0 auto;
    max-width: 760px;
}

.phx-clan-login-info {
    background:
        linear-gradient(120deg, rgba(255, 153, 51, 0.1), rgba(0, 0, 0, 0.18)),
        rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 153, 51, 0.62);
    border-radius: 6px;
    display: grid;
    gap: 12px;
    padding: clamp(22px, 4vw, 34px);
}

.phx-clan-login-info h2 {
    color: var(--phx-accent);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.phx-clan-login-info p {
    margin: 0;
}

.phx-agenda {
    display: grid;
    gap: 12px;
}

.phx-agenda-item {
    display: grid;
    gap: 12px;
    grid-template-columns: 38px 1fr;
}

.phx-agenda-number {
    align-items: center;
    background: var(--phx-accent);
    color: var(--phx-bg-dark);
    display: flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 18px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.phx-agenda-text {
    color: var(--phx-text);
}

.phx-front-button {
    background: var(--phx-accent);
    border: 0;
    border-radius: 4px;
    color: var(--phx-bg-dark);
    cursor: pointer;
    display: inline-flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 14px;
    justify-content: center;
    line-height: 1.2;
    padding: 9px 12px;
    text-decoration: none;
}

.phx-front-button:hover,
.phx-front-button:focus {
    background: var(--phx-yellow);
    color: var(--phx-bg-dark);
}

.phx-participation {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.phx-amendment-box {
    min-width: min(100%, 360px);
}

.phx-amendment-box summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 10px;
}

.phx-amendment-box form {
    display: grid;
    gap: 10px;
}

.phx-amendment-box label {
    display: grid;
    gap: 5px;
}

.phx-amendment-box input,
.phx-amendment-box textarea {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #000000;
    font: inherit;
    padding: 9px;
    width: 100%;
}

.phx-front-notice {
    background: #ffffff;
    border-left: 5px solid var(--phx-accent);
    color: #000000;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.phx-protocol {
    margin-top: 22px;
}

.phx-protocol pre {
    color: var(--phx-text);
    overflow-x: auto;
    white-space: pre-wrap;
}

.phx-event-hero {
    border: 1px solid rgba(255, 153, 51, 0.72);
    display: block;
    height: auto;
    margin: 0 0 18px;
    max-width: 100%;
}

.phx-event-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.phx-linked-event,
.phx-linked-session {
    border-left: 4px solid var(--phx-accent);
}

.phx-linked-event .phx-hub-front,
.phx-event-embedded {
    background: transparent;
    margin: 10px 0 0;
    padding: 0;
    position: static;
    width: 100%;
}

.phx-event-embedded .phx-login-note,
.phx-event-embedded .phx-signup-columns {
    margin-top: 12px;
}

.phx-event-embedded .phx-session-head {
    border-bottom: 1px solid rgba(255, 153, 51, 0.42);
}

.phx-calendar-list {
    display: grid;
    gap: 18px;
}

.phx-calendar.is-loading .phx-calendar-months {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.16s ease;
}

.phx-calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.phx-calendar-months {
    display: grid;
    gap: 28px;
}

.phx-calendar-month-head {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    margin-bottom: 16px;
}

.phx-calendar-month-head h2 {
    margin: 0;
    text-align: center;
}

.phx-calendar-month-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.phx-calendar-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.phx-calendar-weekday {
    color: var(--phx-yellow);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 14px;
    padding: 0 4px 4px;
    text-align: center;
}

.phx-calendar-day {
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.16);
    min-height: 112px;
    padding: 7px;
}

.phx-calendar-day.is-empty {
    opacity: 0.35;
}

.phx-calendar-date {
    color: var(--phx-accent);
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.phx-calendar-pill {
    background: rgba(255, 153, 51, 0.14);
    border-left: 3px solid var(--phx-accent);
    font-size: 13px;
    margin: 4px 0;
    padding: 4px 5px;
}

.phx-calendar-event .phx-kicker {
    color: var(--phx-yellow);
    margin-bottom: 6px;
}

.phx-speaker-overview {
    margin-bottom: 20px;
}

.phx-speaker-box {
    border-top: 1px solid rgba(255, 153, 51, 0.34);
    margin-top: 14px;
    padding-top: 12px;
}

.phx-speaker-list {
    display: grid;
    gap: 8px;
    margin: 8px 0 12px 22px;
    padding: 0;
}

.phx-speaker-list li {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 6px 0;
}

.phx-speaker-list li > span {
    min-width: 0;
}

.phx-speaker-list li.is-done {
    opacity: 0.58;
    text-decoration: line-through;
}

.phx-speaker-join {
    margin-top: 10px;
}

.phx-front-button-small {
    font-size: 12px;
    padding: 6px 9px;
}

.phx-profile-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.phx-front-button-secondary {
    background: transparent;
    color: var(--phx-text);
}

.phx-front-button-secondary:hover,
.phx-front-button-secondary:focus {
    background: var(--phx-accent);
    color: var(--phx-bg-dark);
}

.phx-public-member-profile {
    display: grid;
    gap: 18px;
    margin: clamp(18px, 3vw, 34px) auto;
    max-width: 980px;
    width: min(980px, calc(100vw - 32px));
}

.phx-public-profile-hero {
    align-items: center;
    background:
        linear-gradient(120deg, rgba(255, 153, 51, 0.11), rgba(0, 0, 0, 0.18)),
        rgba(0, 0, 0, 0.28);
    gap: 18px;
    padding: clamp(18px, 3vw, 30px);
}

.phx-public-profile-hero .phx-member-card-badges {
    margin: 8px 0 14px;
}

.phx-public-profile-about {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 3vw, 30px);
}

.phx-public-profile-intro {
    color: var(--phx-text);
    font-size: 17px;
    line-height: 1.7;
}

.phx-public-profile-question {
    border-top: 1px solid rgba(255, 153, 51, 0.22);
    display: grid;
    gap: 8px;
    padding-top: 18px;
}

.phx-public-profile-question h2 {
    color: var(--phx-accent);
    font-size: 15px;
    margin: 0;
}

.phx-clan-actions {
    display: grid;
    gap: 16px;
}

.phx-clan-action-head,
.phx-clan-action-detail-head {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.phx-clan-action-stats,
.phx-clan-action-summary {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.phx-clan-action-stats span,
.phx-clan-action-summary span,
.phx-clan-action-status {
    background: rgba(255, 153, 51, 0.12);
    border: 1px solid rgba(255, 153, 51, 0.38);
    border-radius: 5px;
    color: var(--phx-muted);
    display: grid;
    gap: 3px;
    padding: 8px 10px;
}

.phx-clan-action-stats strong,
.phx-clan-action-summary strong {
    color: var(--phx-accent);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 20px;
}

.phx-clan-action-layout {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.phx-clan-action-main {
    display: grid;
    gap: 16px;
}

.phx-clan-action-list,
.phx-clan-action-detail,
.phx-clan-action-editor {
    display: grid;
    gap: 14px;
}

.phx-clan-action-list {
    align-self: start;
}

.phx-clan-action-empty {
    min-height: 0;
}

.phx-clan-action-list-item {
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 153, 51, 0.32);
    border-radius: 5px;
    color: var(--phx-text);
    display: grid;
    gap: 4px;
    padding: 10px;
    text-decoration: none;
}

.phx-clan-action-list-item.is-active,
.phx-clan-action-list-item:hover,
.phx-clan-action-list-item:focus {
    border-color: var(--phx-accent);
}

.phx-clan-action-list-item span,
.phx-clan-action-participant-row small,
.phx-clan-action-cleanup small {
    color: var(--phx-muted);
    font-size: 12px;
}

.phx-clan-action-cleanup {
    border-top: 1px solid rgba(255, 153, 51, 0.18);
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 12px;
}

.phx-clan-action-description,
.phx-clan-action-participation,
.phx-clan-action-admin {
    display: grid;
    gap: 12px;
}

.phx-clan-action-info-box {
    background: rgba(0, 0, 0, 0.28);
    border-left: 3px solid var(--phx-accent);
    display: grid;
    gap: 10px;
}

.phx-clan-action-info-box > strong {
    color: var(--phx-text);
    font-size: 15px;
}

.phx-clan-action-payment-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.phx-clan-action-payment-grid span {
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.24);
    border-radius: 5px;
    color: var(--phx-text);
    display: grid;
    gap: 4px;
    padding: 9px 10px;
}

.phx-clan-action-payment-grid strong {
    color: var(--phx-accent);
    font-size: 11px;
    text-transform: uppercase;
}

.phx-clan-action-qr {
    align-items: center;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.phx-clan-action-qr img {
    background: #ffffff;
    border-radius: 4px;
    height: 120px;
    padding: 6px;
    width: 120px;
}

.phx-clan-action-qr small {
    color: var(--phx-muted);
    max-width: 320px;
}

.phx-clan-action-progress {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.22);
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.phx-clan-action-progress span {
    background: linear-gradient(90deg, var(--phx-accent), #ffcc33);
    display: block;
    height: 100%;
}

.phx-public-campaign {
    margin-inline: auto;
    max-width: 1120px;
}

.phx-clan-action-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phx-clan-action-form input,
.phx-clan-action-form select,
.phx-clan-action-form textarea {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 153, 51, 0.32);
    border-radius: 4px;
    color: var(--phx-text);
}

.phx-clan-action-form textarea {
    min-height: 92px;
}

.phx-campaign-type-picker {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phx-campaign-type-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 153, 51, 0.28);
    border-radius: 6px;
    color: var(--phx-text);
    display: grid;
    gap: 6px;
    min-height: 92px;
    padding: 12px;
    text-decoration: none;
}

.phx-campaign-type-card span {
    color: var(--phx-accent);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
}

.phx-campaign-type-card small {
    color: var(--phx-muted);
    line-height: 1.45;
}

.phx-campaign-type-card.is-active,
.phx-campaign-type-card:hover,
.phx-campaign-type-card:focus {
    background: rgba(255, 153, 51, 0.14);
    border-color: var(--phx-accent);
}

.phx-campaign-form-section {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 153, 51, 0.22);
    border-radius: 6px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.phx-campaign-form-section-head {
    border-bottom: 1px solid rgba(255, 153, 51, 0.22);
    display: grid;
    gap: 2px;
    padding-bottom: 10px;
}

.phx-campaign-form-section-head strong {
    color: var(--phx-text);
    font-size: 15px;
}

.phx-campaign-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.phx-form-wide,
.phx-clan-action-form button {
    grid-column: 1 / -1;
}

.phx-checkbox-row {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    line-height: 1.35;
}

.phx-clan-action-form .phx-checkbox-row input[type="checkbox"],
.phx-checkbox-row input[type="checkbox"] {
    accent-color: var(--phx-accent);
    appearance: auto;
    background: transparent;
    border: 1px solid rgba(255, 153, 51, 0.55);
    border-radius: 3px;
    box-shadow: none;
    flex: 0 0 18px;
    height: 18px;
    margin: 0;
    min-height: 18px;
    min-width: 18px;
    padding: 0;
    width: 18px;
}

.phx-clan-action-participants {
    display: grid;
    gap: 10px;
}

.phx-clan-action-admin-tools {
    display: grid;
    gap: 12px;
}

.phx-clan-action-admin-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.phx-clan-action-admin-metrics span,
.phx-clan-action-row-note {
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.24);
    border-radius: 5px;
    color: var(--phx-muted);
    display: grid;
    gap: 3px;
    padding: 8px 10px;
}

.phx-clan-action-admin-metrics strong,
.phx-clan-action-row-note strong {
    color: var(--phx-accent);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 18px;
}

.phx-clan-action-copy-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.phx-clan-action-copy-box {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 153, 51, 0.24);
    border-radius: 5px;
    display: grid;
    gap: 8px;
    padding: 10px;
}

.phx-clan-action-copy-head {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.phx-clan-action-copy-box textarea {
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 153, 51, 0.28);
    border-radius: 4px;
    color: var(--phx-text);
    font-size: 12px;
    min-height: 130px;
    resize: vertical;
    width: 100%;
}

.phx-clan-action-participant-row {
    align-items: end;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 153, 51, 0.26);
    border-radius: 5px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(170px, 1fr) minmax(130px, 150px) minmax(90px, 120px) minmax(130px, 160px) auto auto;
    padding: 10px;
}

.phx-clan-action-shipping {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .phx-clan-action-head,
    .phx-clan-action-detail-head,
    .phx-clan-action-layout,
    .phx-clan-action-form,
    .phx-campaign-type-picker,
    .phx-campaign-form-grid,
    .phx-clan-action-participant-row {
        grid-template-columns: 1fr;
    }
}

.phx-profile-quick-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-bottom: 18px;
}

.phx-profile-quick-card {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 5px;
    display: grid;
    gap: 4px;
    padding: 12px;
}

.phx-profile-quick-card small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.phx-profile-quick-card strong {
    color: var(--phx-yellow);
    overflow-wrap: anywhere;
}

.phx-profile-quick-card span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.phx-profile-details,
.phx-profile-editor,
.phx-member-ships,
.phx-achievements,
.phx-profile-meta,
.phx-profile-history {
    margin-bottom: 18px;
}

.phx-profile-meta {
    display: grid;
    gap: 12px;
}

.phx-profile-meta-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.phx-profile-meta-item {
    background: rgba(255, 153, 51, 0.1);
    border-left: 3px solid var(--phx-accent);
    display: grid;
    gap: 3px;
    padding: 8px 10px;
}

.phx-profile-meta-item small,
.phx-profile-role-list small,
.phx-member-admin-row small,
.phx-profile-timeline small {
    color: rgba(255, 255, 255, 0.72);
}

.phx-profile-meta-item strong {
    color: var(--phx-text);
    overflow-wrap: anywhere;
}

.phx-profile-role-list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 10px;
}

.phx-profile-role-list p {
    margin: 4px 0 0;
}

.phx-front-form {
    display: grid;
    gap: 12px;
}

.phx-front-form label {
    color: var(--phx-yellow);
    display: grid;
    font-weight: 700;
    gap: 6px;
}

.phx-profile-form-section {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 153, 51, 0.22);
    border-radius: 5px;
    display: grid;
    gap: 12px;
    padding: 12px;
}

.phx-profile-form-section-head {
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    padding-bottom: 8px;
}

.phx-profile-form-section-head h3,
.phx-profile-form-section-head p {
    margin: 0;
}

.phx-profile-form-section-head h3 {
    color: var(--phx-text);
    font-size: 16px;
}

.phx-front-form input,
.phx-front-form select,
.phx-front-form textarea {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #000000;
    font: inherit;
    padding: 9px;
    width: 100%;
}

.phx-compact-form {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.phx-compact-form label:last-of-type,
.phx-compact-form button {
    grid-column: 1 / -1;
}

.phx-profile-image-preview {
    align-items: center;
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.32);
    border-radius: 5px;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px;
}

.phx-profile-image-preview p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    margin: 2px 0 0;
}

.phx-public-profile-link {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 10px;
}

.phx-public-profile-link a {
    color: var(--phx-yellow);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.phx-public-profile-link p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    margin: 0;
}

.phx-public-profile-link-compact {
    margin-top: -6px;
}

.phx-form-hint {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    margin: -4px 0 0;
}

.phx-profile-completion {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.phx-profile-completion-head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.phx-profile-completion-head h2,
.phx-profile-completion-head p {
    margin: 0;
}

.phx-profile-completion-head > strong {
    background: var(--phx-accent);
    border-radius: 4px;
    color: var(--phx-bg-dark);
    padding: 7px 10px;
}

.phx-profile-completion-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 10px;
    overflow: hidden;
}

.phx-profile-completion-bar span {
    background: linear-gradient(90deg, var(--phx-red), var(--phx-accent), var(--phx-yellow));
    display: block;
    height: 100%;
}

.phx-profile-completion-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.phx-profile-completion-grid span,
.phx-hangar-summary span,
.phx-achievement-summary span {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid rgba(255, 153, 51, 0.42);
    display: grid;
    gap: 2px;
    padding: 8px 10px;
}

.phx-profile-completion-grid span.is-done {
    border-left-color: #53d284;
}

.phx-profile-completion-grid strong,
.phx-hangar-summary strong,
.phx-achievement-summary strong {
    color: var(--phx-accent);
    font-size: 12px;
    text-transform: uppercase;
}

.phx-profile-table {
    display: grid;
    gap: 8px;
}

.phx-profile-row {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 8px 0;
}

.phx-profile-row small {
    color: rgba(255, 255, 255, 0.72);
}

.phx-achievement-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.phx-achievement-showcase {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin: 14px 0;
}

.phx-achievement-tier {
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(255, 153, 51, 0.12), transparent 45%),
        rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 153, 51, 0.32);
    border-radius: 6px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 122px;
    padding: 14px;
}

.phx-achievement-medal {
    align-items: center;
    aspect-ratio: 1;
    background: rgba(255, 153, 51, 0.12);
    border: 2px solid var(--phx-accent);
    clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
    color: var(--phx-accent);
    display: inline-flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 22px;
    justify-content: center;
    min-width: 68px;
}

.phx-achievement-medal span {
    transform: translateY(1px);
}

.phx-achievement-tier-body {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.phx-achievement-tier-body strong {
    color: var(--phx-accent);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 17px;
    text-transform: uppercase;
}

.phx-achievement-tier-body small {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
}

.phx-achievement-progress {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.phx-achievement-progress span {
    background: linear-gradient(90deg, var(--phx-red), var(--phx-accent), var(--phx-yellow));
    display: block;
    height: 100%;
}

.phx-achievement-tier-red .phx-achievement-medal,
.phx-achievement-tier-red {
    border-color: rgba(204, 51, 0, 0.58);
}

.phx-achievement-tier-teal .phx-achievement-medal,
.phx-achievement-tier-teal {
    border-color: rgba(0, 202, 170, 0.58);
}

.phx-achievement-tier-blue .phx-achievement-medal,
.phx-achievement-tier-blue {
    border-color: rgba(90, 130, 255, 0.58);
}

.phx-achievement-tier-white .phx-achievement-medal,
.phx-achievement-tier-white {
    border-color: rgba(255, 255, 255, 0.55);
}

.phx-achievement-summary,
.phx-hangar-summary {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 12px;
}

.phx-achievement {
    align-items: center;
    background: rgba(255, 153, 51, 0.12);
    border: 1px solid rgba(255, 153, 51, 0.5);
    border-radius: 5px;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr;
    padding: 12px;
}

.phx-achievement-count {
    align-items: center;
    background: var(--phx-accent);
    border-radius: 4px;
    color: #000000;
    display: inline-flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 18px;
    justify-content: center;
    min-height: 42px;
    min-width: 48px;
    padding: 5px 8px;
}

.phx-achievement small {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    margin-top: 3px;
}

.phx-achievement-recent {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
}

.phx-achievement-recent h3 {
    margin: 0;
}

.phx-achievement-recent article {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--phx-accent);
    display: grid;
    gap: 3px;
    padding: 8px 10px;
}

.phx-achievement-recent span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.phx-ship-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.phx-ship-card {
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 5px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.phx-ship-card-head {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.phx-ship-card-head small {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.phx-ship-card-head h3 {
    color: var(--phx-text);
    font-size: 17px;
    margin: 0;
    overflow-wrap: anywhere;
}

.phx-ship-card-head > strong {
    background: rgba(255, 153, 51, 0.16);
    border: 1px solid rgba(255, 153, 51, 0.45);
    border-radius: 4px;
    color: var(--phx-yellow);
    padding: 4px 7px;
    white-space: nowrap;
}

.phx-ship-custom-name,
.phx-ship-note {
    margin: 0;
}

.phx-ship-custom-name {
    color: var(--phx-yellow);
    font-weight: 800;
}

.phx-ship-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.phx-ship-tags span,
.phx-ship-visibility {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 6px;
}

.phx-ship-note {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.phx-ship-picker {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 153, 51, 0.22);
    border-radius: 5px;
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    padding: 10px;
}

.phx-ship-picker .phx-ship-picker-state {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    margin: -2px 0 0;
}

.phx-ship-select-filter {
    border-color: rgba(255, 153, 51, 0.58) !important;
}

.phx-ship-card-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.phx-ship-edit-details {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 8px;
}

.phx-ship-edit-details summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.phx-ship-edit-form {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    margin-top: 9px;
}

.phx-ship-edit-form label {
    color: rgba(255, 255, 255, 0.78);
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
}

.phx-ship-edit-form input,
.phx-ship-edit-form select,
.phx-ship-edit-form textarea {
    background: #ffffff;
    border: 1px solid rgba(255, 153, 51, 0.45);
    border-radius: 4px;
    color: #000000;
    font: inherit;
    padding: 7px 8px;
    width: 100%;
}

.phx-ship-edit-wide,
.phx-ship-edit-form button {
    grid-column: 1 / -1;
}

.phx-profile-timeline {
    display: grid;
    gap: 10px;
}

.phx-profile-timeline article {
    background: rgba(0, 0, 0, 0.22);
    border-left: 3px solid var(--phx-accent);
    display: grid;
    gap: 4px;
    padding: 9px 11px;
}

.phx-profile-timeline p,
.phx-profile-timeline em {
    margin: 0;
}

.phx-profile-timeline em {
    color: var(--phx-yellow);
    font-style: normal;
}

.phx-member-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 240px;
}

.phx-member-card-head {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: 72px minmax(0, 1fr);
}

.phx-member-card h2 {
    font-size: clamp(18px, 1.2vw, 22px);
    line-height: 1.12;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.phx-member-card-intro {
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
    min-height: 0;
}

.phx-member-card-facts {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    margin: 0;
}

.phx-member-card-facts div {
    background: rgba(255, 153, 51, 0.06);
    border: 1px solid rgba(255, 153, 51, 0.18);
    border-radius: 5px;
    padding: 8px 9px;
}

.phx-member-card-facts dt {
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.phx-member-card-facts dd {
    color: var(--phx-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
}

.phx-member-card > .phx-front-button {
    align-self: end;
    margin-top: auto;
    width: 100%;
}

.phx-member-directory-filter {
    align-items: end;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 6px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(140px, 0.8fr)) auto;
    margin-bottom: 16px;
    padding: 12px;
}

.phx-member-admin-filter {
    align-items: end;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 6px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(140px, 0.8fr)) auto;
    margin: 14px 0;
    padding: 12px;
}

.phx-member-admin-filter label {
    color: rgba(255, 255, 255, 0.78);
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
}

.phx-member-admin-filter input,
.phx-member-admin-filter select {
    background: #ffffff;
    border: 1px solid rgba(255, 153, 51, 0.45);
    border-radius: 4px;
    color: #000000;
    font: inherit;
    min-height: 34px;
    padding: 7px 8px;
    width: 100%;
}

.phx-member-health-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-bottom: 14px;
}

.phx-member-health-grid span {
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid rgba(255, 153, 51, 0.28);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    padding: 8px 10px;
}

.phx-member-health-grid strong {
    color: var(--phx-yellow);
}

.phx-member-history-preview {
    display: grid;
    gap: 4px;
}

.phx-member-history-preview summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.phx-member-history-preview small {
    display: block;
    margin-top: 4px;
}

.phx-member-directory-filter label {
    color: rgba(255, 255, 255, 0.78);
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
}

.phx-member-directory-filter input,
.phx-member-directory-filter select {
    background: #ffffff;
    border: 1px solid rgba(255, 153, 51, 0.45);
    border-radius: 4px;
    color: #000000;
    font: inherit;
    min-height: 34px;
    padding: 7px 8px;
    width: 100%;
}

.phx-member-directory-filter-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.phx-member-card-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.phx-member-card-badges span {
    background: rgba(255, 153, 51, 0.12);
    border: 1px solid rgba(255, 153, 51, 0.38);
    border-radius: 4px;
    color: var(--phx-yellow);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    padding: 4px 6px;
}

.phx-member-card-badges span.is-warning,
.phx-member-admin-badges span.is-warning {
    background: rgba(204, 51, 0, 0.16);
    border-color: rgba(204, 51, 0, 0.48);
    color: #ffb08a;
}

.phx-member-quick-actions {
    display: inline-grid;
    gap: 6px;
}

.phx-member-quick-actions summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.phx-member-quick-actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.phx-member-card .phx-member-avatar {
    border-radius: 8px;
    height: 72px;
    width: 72px;
}

.phx-members-admin-panel {
    display: grid;
    gap: 14px;
}

.phx-members-admin-list {
    display: grid;
    gap: 10px;
}

.phx-member-admin-row {
    align-items: center;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 4px solid rgba(255, 153, 51, 0.58);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.15fr) minmax(220px, 0.95fr) minmax(130px, 0.65fr) auto;
    padding: 10px 12px;
}

.phx-member-admin-row > div {
    min-width: 0;
}

.phx-member-admin-editor {
    grid-column: 1 / -1;
}

.phx-member-admin-row strong {
    display: block;
    overflow-wrap: anywhere;
}

.phx-member-admin-badges,
.phx-member-admin-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.phx-member-admin-badges span {
    background: rgba(255, 153, 51, 0.12);
    border: 1px solid rgba(255, 153, 51, 0.36);
    border-radius: 4px;
    color: var(--phx-text);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 6px;
}

.phx-member-rank-form {
    align-items: end;
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(120px, 1fr) auto auto;
}

.phx-member-rank-form label {
    color: rgba(255, 255, 255, 0.76);
    display: grid;
    font-size: 12px;
    font-weight: 700;
    gap: 3px;
}

.phx-member-rank-form select {
    background: #ffffff;
    border: 1px solid rgba(255, 153, 51, 0.55);
    border-radius: 4px;
    color: #000000;
    min-height: 33px;
    padding: 5px 7px;
}

.phx-member-rank-sync {
    align-items: center;
    color: var(--phx-text);
    display: flex !important;
    gap: 5px;
    min-height: 33px;
    white-space: nowrap;
}

.phx-member-rank-sync input {
    margin: 0;
}

.phx-member-core-details {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    padding: 8px 10px;
}

.phx-member-core-details summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.phx-member-core-form {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: 10px;
}

.phx-member-core-form label {
    color: rgba(255, 255, 255, 0.78);
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 4px;
}

.phx-member-core-form input,
.phx-member-core-form select {
    background: #ffffff;
    border: 1px solid rgba(255, 153, 51, 0.45);
    border-radius: 4px;
    color: #000000;
    font: inherit;
    min-height: 34px;
    padding: 6px 8px;
    width: 100%;
}

.phx-member-core-form button {
    align-self: end;
}

.phx-signup-columns {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 18px;
}

.phx-signup-column h3 {
    color: var(--phx-text);
}

.phx-signup-accepted {
    border-color: #37d66b;
}

.phx-signup-maybe {
    border-color: #5da7ff;
}

.phx-signup-declined {
    border-color: var(--phx-red);
}

.phx-signup-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.phx-signup-column li {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    font-weight: 700;
    gap: 8px;
    justify-content: space-between;
    padding: 5px 0;
}

.phx-checkin-toggle {
    margin: 0;
}

.phx-dashboard {
    width: min(1320px, calc(100vw - 28px));
}

.phx-dashboard-head {
    align-items: flex-start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
}

.phx-dashboard-badges {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.phx-dashboard-badge {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 153, 51, 0.56);
    border-radius: 5px;
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
}

.phx-dashboard-badge small,
.phx-dashboard-stat small,
.phx-dashboard-lock,
.phx-dashboard-muted-action {
    color: rgba(255, 255, 255, 0.72);
}

.phx-dashboard-badge strong {
    color: var(--phx-text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.phx-dashboard-nav {
    align-items: center;
    border-bottom: 1px solid rgba(255, 153, 51, 0.32);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -6px 0 22px;
    padding-bottom: 14px;
}

.phx-dashboard-context-bar {
    align-items: center;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 153, 51, 0.28);
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 9px 11px;
}

.phx-dashboard-context-bar .phx-kicker {
    margin-bottom: 2px;
}

.phx-dashboard-context-bar strong {
    color: var(--phx-text);
    font-size: 16px;
}

.phx-dashboard-context-bar span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.phx-dashboard-nav-link {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: var(--phx-text);
    font-weight: 700;
    padding: 8px 11px;
    text-decoration: none;
}

.phx-dashboard-nav-link:hover,
.phx-dashboard-nav-link:focus,
.phx-dashboard-nav-link.is-active {
    background: var(--phx-accent);
    border-color: var(--phx-accent);
    color: var(--phx-bg-dark);
}

.phx-dashboard-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 26px;
}

.phx-dashboard-stat {
    display: grid;
    gap: 4px;
}

.phx-dashboard-stat span {
    color: var(--phx-yellow);
    font-weight: 700;
}

.phx-dashboard-stat strong {
    color: var(--phx-text);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
}

.phx-dashboard-section {
    margin-top: 24px;
}

.phx-dashboard-section-head {
    margin-bottom: 12px;
}

.phx-dashboard-action-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.phx-dashboard-action {
    align-items: flex-start;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 150px;
}

.phx-dashboard-card-body {
    display: flex;
    flex-direction: column;
    min-height: 128px;
}

.phx-dashboard-action h3 {
    margin-top: 0;
}

.phx-dashboard-access {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 153, 51, 0.22);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    margin: auto 0 10px;
    padding: 4px 7px;
    text-transform: uppercase;
}

.phx-dashboard-action p:last-of-type {
    margin-bottom: 12px;
}

.phx-dashboard-action.is-locked {
    opacity: 0.58;
}

.phx-dashboard-icon {
    align-items: center;
    background: var(--phx-accent);
    color: var(--phx-bg-dark);
    display: flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 16px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.phx-dashboard-panel {
    display: grid;
    gap: 18px;
}

.phx-dashboard-panel > .phx-hub-front {
    margin: 0;
    padding: 0;
    width: 100%;
}

.phx-dashboard-management-panel {
    max-width: 920px;
}

.phx-dashboard-flow {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.phx-dashboard-flow-step {
    align-items: center;
    background: rgba(255, 153, 51, 0.12);
    border-left: 4px solid var(--phx-accent);
    display: grid;
    gap: 12px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 9px 12px;
}

.phx-dashboard-flow-step strong {
    align-items: center;
    background: var(--phx-accent);
    color: var(--phx-bg-dark);
    display: flex;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.phx-dashboard-panel-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.phx-achievement-hub {
    border-left: 5px solid var(--phx-accent);
}

.phx-achievement-hub-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.phx-achievement-list {
    display: grid;
    gap: 8px;
}

.phx-achievement-list span,
.phx-achievement-leaderboard li {
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 153, 51, 0.22);
    display: grid;
    gap: 3px;
    padding: 9px 10px;
}

.phx-achievement-list strong,
.phx-achievement-leaderboard span {
    color: var(--phx-text);
}

.phx-achievement-list small {
    color: var(--phx-muted);
    font-size: 12px;
}

.phx-achievement-leaderboard {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.phx-achievement-leaderboard li {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
}

.phx-achievement-leaderboard strong {
    color: var(--phx-accent);
    font-size: 18px;
}

.phx-test-run-head {
    border-left: 5px solid var(--phx-accent);
}

.phx-test-run-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.phx-test-run-check {
    border-left: 5px solid rgba(204, 51, 0, 0.72);
    display: grid;
    gap: 6px;
}

.phx-test-run-check.is-done {
    border-left-color: #75c56e;
}

.phx-test-run-check strong {
    color: var(--phx-yellow);
    font-size: 12px;
    text-transform: uppercase;
}

.phx-test-run-check h3 {
    font-size: 18px;
    margin: 0;
}

.phx-test-script ol {
    margin-bottom: 0;
}

.phx-resolution-history-panel {
    gap: 16px;
}

.phx-resolution-history-intro {
    border-left: 5px solid var(--phx-accent);
}

.phx-resolution-history-layout {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    max-width: 100%;
    overflow: hidden;
}

.phx-resolution-history-list {
    display: grid;
    gap: 10px;
}

.phx-resolution-history-item {
    border: 1px solid rgba(255, 153, 51, 0.24);
    color: var(--phx-text);
    display: grid;
    gap: 5px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 11px 12px;
    text-decoration: none;
}

.phx-resolution-history-item:hover,
.phx-resolution-history-item:focus,
.phx-resolution-history-item.is-active {
    background: rgba(255, 153, 51, 0.1);
    border-color: var(--phx-accent);
}

.phx-resolution-history-item strong {
    color: var(--phx-text);
    font-size: 15px;
}

.phx-resolution-history-item small,
.phx-resolution-history-list-mini span,
.phx-resolution-session-link small {
    color: var(--phx-muted);
    font-size: 13px;
}

.phx-resolution-detail-head {
    align-items: start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
}

.phx-resolution-detail-head h3 {
    margin: 0;
}

.phx-resolution-status {
    align-self: start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--phx-text);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 8px;
    text-transform: uppercase;
}

.phx-resolution-status.is-passed {
    background: rgba(83, 210, 132, 0.16);
    border-color: rgba(83, 210, 132, 0.4);
}

.phx-resolution-status.is-rejected,
.phx-resolution-status.is-invalid {
    background: rgba(204, 51, 0, 0.18);
    border-color: rgba(204, 51, 0, 0.45);
}

.phx-resolution-status.is-ready,
.phx-resolution-status.is-discussion {
    background: rgba(255, 204, 51, 0.14);
    border-color: rgba(255, 204, 51, 0.42);
}

.phx-resolution-meta-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    margin: 14px 0;
}

.phx-resolution-meta-grid span {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--phx-text);
    display: grid;
    gap: 3px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 10px;
}

.phx-resolution-meta-grid strong {
    color: var(--phx-accent);
    font-size: 12px;
    text-transform: uppercase;
}

.phx-resolution-session-link {
    border-left: 4px solid var(--phx-accent);
    margin: 12px 0;
    padding-left: 12px;
}

.phx-resolution-history-columns {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 16px;
}

.phx-resolution-history-list-mini {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.phx-resolution-history-list-mini li {
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 10px;
}

.phx-global-search-panel {
    border-left: 5px solid var(--phx-accent);
}

.phx-global-search-form {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    margin-top: 14px;
}

.phx-global-search-form label {
    display: grid;
    gap: 6px;
}

.phx-global-search-scope {
    color: var(--phx-muted);
    font-size: 14px;
    margin-bottom: 0;
}

.phx-global-search-summary h3,
.phx-global-search-empty h3 {
    margin: 0;
}

.phx-global-search-results {
    display: grid;
    gap: 16px;
}

.phx-global-search-group {
    display: grid;
    gap: 12px;
}

.phx-global-search-list {
    display: grid;
    gap: 9px;
}

.phx-global-search-result {
    border: 1px solid rgba(255, 153, 51, 0.22);
    color: var(--phx-text);
    display: grid;
    gap: 5px;
    padding: 11px 12px;
    text-decoration: none;
}

a.phx-global-search-result:hover,
a.phx-global-search-result:focus {
    background: rgba(255, 153, 51, 0.1);
    border-color: var(--phx-accent);
}

.phx-global-search-result strong {
    color: var(--phx-text);
    font-size: 15px;
}

.phx-global-search-result small {
    color: var(--phx-muted);
    font-size: 13px;
}

.phx-global-search-type {
    color: var(--phx-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.phx-session-manager {
    display: grid;
    gap: 14px;
}

.phx-session-manager.is-detail,
.phx-event-manager.is-detail {
    gap: 12px;
}

.phx-manager-layout {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.35fr);
}

.phx-manager-intro {
    border-left: 5px solid var(--phx-accent);
    padding-bottom: 12px;
    padding-top: 12px;
}

.phx-form-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.phx-toggle-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.phx-toggle-row label {
    align-items: center;
    color: var(--phx-text);
    display: inline-flex;
    flex-direction: row;
    font-weight: 700;
    gap: 8px;
}

.phx-toggle-row input {
    width: auto;
}

.phx-manager-session-list {
    display: grid;
    gap: 8px;
}

.phx-manager-session-link {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid rgba(255, 153, 51, 0.46);
    color: var(--phx-text);
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    text-decoration: none;
}

.phx-manager-session-link:hover,
.phx-manager-session-link:focus,
.phx-manager-session-link.is-active {
    border-color: var(--phx-accent);
    border-left-color: var(--phx-yellow);
}

.phx-manager-session-link span,
.phx-manager-agenda-text small,
.phx-manager-event-row small {
    color: rgba(255, 255, 255, 0.72);
}

.phx-selected-session {
    display: grid;
    gap: 12px;
}

.phx-session-detail-form details,
.phx-event-detail-form details {
    display: grid;
    gap: 10px;
}

.phx-session-detail-form summary,
.phx-event-detail-form summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-weight: 800;
}

.phx-session-workflow {
    display: grid;
    gap: 10px;
}

.phx-session-workflow-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.phx-session-workflow-grid span {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 4px solid rgba(204, 51, 0, 0.72);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.78);
    display: grid;
    gap: 2px;
    padding: 9px 10px;
}

.phx-session-workflow-grid span.is-done {
    border-left-color: #75c56e;
}

.phx-session-workflow-grid strong {
    color: var(--phx-yellow);
    font-size: 12px;
}

.phx-manager-selected-head,
.phx-manager-event-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

.phx-manager-actions,
.phx-manager-row-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.phx-manager-event-row {
    background: rgba(255, 153, 51, 0.12);
    border: 1px solid rgba(255, 153, 51, 0.45);
    padding: 10px 12px;
}

.phx-manager-agenda-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.phx-manager-agenda-list li {
    align-items: start;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 11px;
}

.phx-manager-agenda-text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.phx-manager-agenda-text p {
    margin: 4px 0 0;
}

.phx-manager-agenda-index {
    color: var(--phx-yellow);
    margin-right: 6px;
}

.phx-manager-action-form {
    margin: 0;
}

.phx-resolution-manager-box {
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid rgba(255, 153, 51, 0.42);
    margin-top: 10px;
    padding: 10px;
}

.phx-resolution-manager-box summary {
    color: var(--phx-yellow);
    cursor: pointer;
    font-weight: 800;
}

.phx-resolution-manager-box.is-linked {
    display: grid;
    gap: 8px;
}

.phx-resolution-current-body {
    background: rgba(0, 0, 0, 0.24);
    border-left: 4px solid var(--phx-yellow);
    padding: 9px 11px;
}

.phx-resolution-current-body p:last-child {
    margin-bottom: 0;
}

.phx-amendment-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.phx-amendment-list li {
    background: rgba(0, 0, 0, 0.24);
    border-left: 3px solid var(--phx-accent);
    padding: 8px 10px;
}

.phx-amendment-manager-form {
    margin-top: 10px;
}

.phx-resolution-warning {
    color: var(--phx-yellow);
    font-weight: 700;
}

.phx-moderation-top-list {
    display: grid;
    gap: 12px;
}

.phx-moderation-top {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 153, 51, 0.34);
    border-radius: 6px;
    display: grid;
    gap: 12px;
    padding: 12px;
}

.phx-moderation-top header {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
}

.phx-moderation-top h3,
.phx-moderation-top h4 {
    margin: 0;
}

.phx-moderation-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
}

.phx-moderation-notes-panel,
.phx-moderation-resolution-panel {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.phx-moderation-notes-panel {
    border-color: rgba(255, 153, 51, 0.38);
}

.phx-agenda-notes-box textarea {
    background: rgba(0, 0, 0, 0.64);
    border-color: rgba(255, 153, 51, 0.34);
    color: var(--phx-text);
    min-height: 170px;
    resize: vertical;
    width: 100%;
}

.phx-agenda-notes-box label {
    display: grid;
    gap: 8px;
}

.phx-speaker-standalone {
    margin: 0 auto;
    max-width: 860px;
    padding: 18px;
}

.phx-speaker-qr-box {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 153, 51, 0.32);
    border-radius: 6px;
    display: grid;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 14px;
    max-width: 620px;
    padding: 12px;
}

.phx-speaker-qr-box img {
    background: #fff;
    border-radius: 4px;
    display: block;
    height: 132px;
    padding: 6px;
    width: 132px;
}

.phx-speaker-qr-box p {
    margin: 5px 0 8px;
}

.phx-speaker-qr-box a {
    overflow-wrap: anywhere;
}

.phx-speaker-standalone .phx-moderation-speaker-dashboard {
    position: sticky;
    top: 12px;
}

.phx-speaker-standalone .phx-moderation-speaker-list li {
    font-size: 18px;
    grid-template-columns: auto minmax(0, 1fr);
}

.phx-moderation-speaker-dashboard {
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.38);
    border-radius: 6px;
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
}

.phx-moderation-speaker-head {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.phx-moderation-speaker-head h3,
.phx-moderation-speaker-head p {
    margin: 0;
}

.phx-speaker-sync-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.phx-speaker-sync-state {
    color: var(--phx-muted);
    font-size: 12px;
}

.phx-moderation-speaker-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.phx-moderation-speaker-list li {
    align-items: center;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--phx-accent);
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 9px 10px;
}

.phx-speaker-agenda-badge {
    background: var(--phx-accent);
    color: var(--phx-bg-dark);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 13px;
    padding: 5px 7px;
}

.phx-speaker-main {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.phx-speaker-main small {
    color: rgba(255, 255, 255, 0.72);
}

.phx-speaker-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.phx-empty-state {
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
}

.phx-resolution-session-box,
.phx-resolution-vote-box,
.phx-resolution-vote-manager {
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid rgba(255, 153, 51, 0.36);
    border-radius: 6px;
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
}

.phx-resolution-session-box h4 {
    margin: 0;
}

.phx-resolution-vote-note {
    color: var(--phx-yellow);
    font-weight: 700;
}

@media (max-width: 640px) {
    .phx-agenda-item {
        grid-template-columns: 1fr;
    }

    .phx-profile-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .phx-calendar-grid {
        grid-template-columns: 1fr;
    }

    .phx-calendar-weekday,
    .phx-calendar-day.is-empty {
        display: none;
    }

    .phx-calendar-day {
        min-height: auto;
    }

    .phx-calendar-month-head,
    .phx-calendar-month-nav {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .phx-calendar-month-head {
        display: grid;
    }

    .phx-calendar-month-nav {
        display: grid;
    }

    .phx-speaker-qr-box {
        grid-template-columns: 1fr;
    }

    .phx-speaker-qr-box img {
        height: 180px;
        width: 180px;
    }

    .phx-dashboard-head,
    .phx-dashboard-action,
    .phx-dashboard-flow-step,
    .phx-manager-layout,
    .phx-moderation-grid,
    .phx-moderation-top header,
    .phx-moderation-speaker-list li,
    .phx-manager-agenda-list li,
    .phx-resolution-history-layout,
    .phx-global-search-form,
    .phx-resolution-detail-head,
    .phx-member-directory-filter,
    .phx-member-admin-filter,
    .phx-member-admin-row {
        grid-template-columns: 1fr;
    }

    .phx-speaker-actions {
        justify-content: flex-start;
    }

    .phx-resolution-detail-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .phx-dashboard-icon {
        height: 42px;
        width: 42px;
    }

    .phx-member-rank-form {
        grid-template-columns: 1fr;
    }

    .phx-member-rank-sync {
        justify-content: flex-start;
    }
}

/* Public website portal */
.phx-public-site {
    --phx-public-bg: #000000;
    --phx-public-panel: rgba(12, 12, 12, 0.88);
    --phx-public-panel-soft: rgba(255, 153, 51, 0.075);
    --phx-public-border: rgba(255, 153, 51, 0.48);
    --phx-public-orange: #ff9933;
    --phx-public-yellow: #ffcc33;
    --phx-public-text: #ffffff;
    --phx-public-muted: rgba(255, 255, 255, 0.72);
    background: transparent;
    color: var(--phx-public-text);
    display: grid;
    font-family: Barlow, Arial, sans-serif;
    gap: clamp(44px, 5vw, 76px);
    margin: 0 auto;
    max-width: 1180px;
    width: min(1180px, calc(100vw - 32px));
}

.phx-public-site * {
    box-sizing: border-box;
}

.phx-public-site h2,
.phx-public-site h3 {
    color: var(--phx-public-orange);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.phx-public-site h2 {
    font-size: clamp(28px, 3.4vw, 48px);
}

.phx-public-site h3 {
    font-size: clamp(18px, 1.55vw, 24px);
}

.phx-public-site p {
    color: var(--phx-public-muted);
    line-height: 1.62;
    margin: 0;
}

.phx-public-kicker {
    color: var(--phx-public-yellow);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.phx-public-intro,
.phx-public-section-head {
    display: grid;
    gap: 12px;
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
}

.phx-public-section {
    display: grid;
    gap: 28px;
}

.phx-public-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.phx-public-card,
.phx-public-department-card,
.phx-public-member-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 153, 51, 0.045)),
        var(--phx-public-panel);
    border: 1px solid var(--phx-public-border);
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 0 22px rgba(255, 153, 51, 0.045);
}

.phx-public-department-card {
    display: grid;
    gap: 12px;
    min-height: 260px;
    padding: 28px 24px;
    text-align: center;
}

.phx-public-icon {
    align-items: center;
    color: var(--phx-public-orange);
    display: inline-flex;
    height: 74px;
    justify-content: center;
    margin: 0 auto 4px;
    width: 74px;
}

.phx-public-icon .phx-icon svg {
    height: 58px;
    width: 58px;
}

.phx-public-department-card strong {
    color: var(--phx-public-text);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
    text-transform: uppercase;
}

.phx-public-stats {
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    border-top: 1px solid rgba(255, 153, 51, 0.2);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    padding: 18px 0;
}

.phx-public-stats article {
    align-items: center;
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
}

.phx-public-stats span {
    color: var(--phx-public-orange);
    display: inline-flex;
}

.phx-public-stats .phx-icon svg {
    height: 28px;
    width: 28px;
}

.phx-public-stats strong {
    color: var(--phx-public-text);
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
}

.phx-public-stats small {
    color: var(--phx-public-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.phx-public-member-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.phx-public-member-card {
    display: grid;
    gap: 10px;
    min-height: 230px;
    padding: 16px;
    text-align: center;
}

.phx-public-member-card img,
.phx-public-member-card > span {
    align-items: center;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.82), rgba(204, 51, 0, 0.82));
    border: 1px solid rgba(255, 153, 51, 0.76);
    border-radius: 4px;
    color: #000000;
    display: inline-flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 28px;
    height: 118px;
    justify-content: center;
    margin: 0 auto 4px;
    object-fit: cover;
    width: 118px;
}

.phx-public-member-card p {
    font-size: 13px;
    min-height: 34px;
}

.phx-public-member-card a,
.phx-public-button {
    align-items: center;
    background: var(--phx-public-orange);
    border: 1px solid var(--phx-public-orange);
    border-radius: 4px;
    color: #000000;
    display: inline-flex;
    font-family: "Franklin Gothic Heavy", "Franklin Gothic Medium", Impact, Arial, sans-serif;
    font-size: 13px;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    text-decoration: none;
    text-transform: uppercase;
}

.phx-public-member-card a {
    align-self: end;
    margin-top: auto;
}

.phx-public-button-secondary {
    background: transparent;
    color: var(--phx-public-text);
}

.phx-public-button:hover,
.phx-public-button:focus,
.phx-public-member-card a:hover,
.phx-public-member-card a:focus {
    background: var(--phx-public-yellow);
    border-color: var(--phx-public-yellow);
    color: #000000;
}

.phx-public-more {
    text-align: center;
}

.phx-public-cta {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.54)),
        var(--phx-public-panel-soft);
    border-bottom: 1px solid var(--phx-public-border);
    border-top: 1px solid var(--phx-public-border);
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(28px, 4vw, 46px);
}

.phx-public-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.phx-public-site .phx-calendar-public {
    background: transparent;
    border: 0;
    padding: 0;
    width: 100%;
}

.phx-public-site .phx-calendar-public .phx-session-head,
.phx-public-site .phx-calendar-public .phx-calendar-actions {
    display: none;
}

.phx-public-site .phx-calendar-public .phx-calendar-month {
    background: var(--phx-public-panel);
}

@media (max-width: 900px) {
    .phx-resolution-history-layout,
    .phx-moderation-grid {
        grid-template-columns: 1fr;
    }

    .phx-achievement-showcase {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }

    .phx-public-stats,
    .phx-public-cta {
        grid-template-columns: 1fr 1fr;
    }

    .phx-public-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .phx-public-site {
        gap: 34px;
        width: min(100%, calc(100vw - 24px));
    }

    .phx-public-stats,
    .phx-public-cta {
        grid-template-columns: 1fr;
    }
}
