:root {
    --green-900: #173f30;
    --green-800: #24553f;
    --green-700: #2d6a4f;
    --green-100: #e8f2ed;
    --green-50: #f2f7f4;
    --ink: #19231e;
    --muted: #66736b;
    --line: #dfe6e1;
    --white: #ffffff;
    --error: #a23939;
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

:focus-visible {
    outline: 3px solid #e9ad46;
    outline-offset: 3px;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(460px, 0.85fr) minmax(520px, 1.15fr);
    min-height: 100vh;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100%, 600px);
    padding: 65px clamp(42px, 7vw, 100px);
    margin-inline: auto;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    align-self: flex-start;
    text-decoration: none;
}

.auth-brand img {
    width: auto;
    height: 42px;
}

.auth-brand-name {
    color: #3d8365;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.auth-progress {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 72px;
    margin: clamp(58px, 9vh, 92px) 0 28px;
}

.auth-progress-three {
    grid-template-columns: repeat(3, 1fr);
    width: 110px;
}

.auth-progress span {
    height: 3px;
    background: var(--line);
    border-radius: 999px;
}

.auth-progress span.is-active {
    background: var(--green-700);
}

.auth-heading {
    margin-bottom: 30px;
}

.auth-eyebrow {
    margin: 0 0 10px;
    color: var(--green-700);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-heading h1,
.admin-main h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.auth-heading > p:last-child {
    margin: 15px 0 0;
    color: var(--muted);
}

.auth-heading strong {
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.auth-error {
    padding: 12px 14px;
    margin: -12px 0 20px;
    color: var(--error);
    background: #fff4f4;
    border: 1px solid #efcdcd;
    border-radius: 10px;
    font-size: 0.875rem;
}

.auth-notice {
    padding: 12px 14px;
    margin: -12px 0 20px;
    color: var(--green-900);
    background: var(--green-50);
    border: 1px solid #cfe0d7;
    border-radius: 10px;
    font-size: 0.875rem;
}

.auth-blocked strong,
.auth-blocked p {
    display: block;
}

.auth-blocked p {
    margin: 4px 0 0;
    line-height: 1.55;
}

.auth-blocked a {
    color: inherit;
    font-weight: 750;
}

.auth-form {
    display: grid;
    gap: 20px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.83rem;
    font-weight: 750;
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 0 17px;
    background: var(--white);
    border: 1px solid #cbd5cf;
    border-radius: 12px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-input-wrap:focus-within {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.auth-input-wrap svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    color: var(--green-700);
}

.auth-input-wrap input {
    width: 100%;
    min-width: 0;
    padding: 15px 0;
    background: transparent;
    border: 0;
    outline: 0;
}

.auth-input-wrap input::placeholder {
    color: #98a29d;
    opacity: 1;
}

.auth-remember-device {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
}

.auth-remember-device input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.auth-remember-check {
    display: grid;
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    color: #fff;
    background: #fff;
    border: 1px solid #b9cac0;
    border-radius: 6px;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    place-items: center;
}

.auth-remember-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    stroke-width: 2.5;
    transition: opacity 150ms ease;
}

.auth-remember-device input:checked + .auth-remember-check {
    background: var(--green-700);
    border-color: var(--green-700);
}

.auth-remember-device input:checked + .auth-remember-check svg {
    opacity: 1;
}

.auth-remember-device input:focus-visible + .auth-remember-check {
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.16);
    outline: 2px solid #e9ad46;
    outline-offset: 2px;
}

.auth-remember-device strong,
.auth-remember-device small {
    display: block;
}

.auth-remember-device strong {
    font-size: 0.82rem;
    line-height: 1.35;
}

.auth-remember-device small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.otp-fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.otp-fieldset legend {
    padding: 0;
    margin-bottom: 8px;
    font-size: 0.83rem;
    font-weight: 750;
}

.otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(42px, 1fr));
    gap: 9px;
    width: 100%;
}

.otp-digit {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1.08;
    padding: 0;
    text-align: center;
    background: var(--white);
    border: 1px solid #cbd5cf;
    border-radius: 11px;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    outline: 0;
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.otp-digit:focus {
    background: var(--green-50);
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.auth-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 13px 19px;
    color: var(--white);
    background: var(--green-700);
    border: 0;
    border-radius: 12px;
    font-weight: 750;
    transition: background-color 180ms ease;
}

.auth-button:hover {
    background: var(--green-800);
}

.auth-button:disabled {
    color: #e2e8e4;
    background: #8ca79a;
    cursor: not-allowed;
    transform: none;
}

.auth-button > span:last-child {
    font-size: 1.25rem;
}

.auth-button-link {
    text-decoration: none;
}

.auth-recovery-heading {
    margin-top: clamp(58px, 9vh, 92px);
}

.auth-recovery-result code {
    display: block;
    padding: 13px;
    margin: 14px 0;
    overflow-wrap: anywhere;
    color: var(--green-900);
    background: var(--white);
    border: 1px solid #cfe0d7;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.auth-recovery-result p {
    margin: 0;
    line-height: 1.55;
}

.auth-back {
    padding: 10px 0;
    margin-top: 12px;
    color: var(--green-700);
    background: transparent;
    border: 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.auth-resend-form {
    margin-top: 13px;
}

.auth-resend-form.is-primary {
    margin-top: 0;
}

.auth-resend-primary {
    width: 100%;
}

.auth-resend {
    width: 100%;
    padding: 10px 0;
    color: var(--green-700);
    background: transparent;
    border: 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.auth-resend:hover:not(:disabled) {
    text-decoration: underline;
}

.auth-resend:disabled {
    color: #8b9991;
    cursor: not-allowed;
}

.auth-back:hover {
    text-decoration: underline;
}

.auth-help {
    margin: auto 0 0;
    padding-top: clamp(50px, 9vh, 90px);
    color: var(--muted);
    font-size: 0.8rem;
}

.auth-help a {
    color: var(--green-700);
    font-weight: 700;
}

.auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--white);
    background: var(--green-900);
    isolation: isolate;
}

.auth-visual > img,
.auth-visual > span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.auth-visual > img {
    z-index: -2;
    object-fit: cover;
}

.auth-visual > span {
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 31, 21, 0.72), rgba(8, 31, 21, 0.02) 60%);
}

.auth-visual blockquote {
    position: absolute;
    right: clamp(35px, 6vw, 90px);
    bottom: clamp(40px, 8vh, 85px);
    left: clamp(35px, 6vw, 90px);
    margin: 0;
}

.auth-visual blockquote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 4.3rem);
    line-height: 1.08;
}

.auth-visual blockquote cite {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-page {
    min-height: 100vh;
    background: var(--green-50);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 14px max(24px, calc((100% - 1180px) / 2));
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.admin-header .auth-brand img {
    width: 170px;
}

.admin-logout {
    padding: 10px 17px;
    color: var(--green-700);
    background: var(--white);
    border: 1px solid var(--green-700);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 750;
}

.admin-logout:hover {
    color: var(--white);
    background: var(--green-700);
}

.admin-main {
    width: min(calc(100% - 40px), 1180px);
    padding: 90px 0;
    margin-inline: auto;
}

.admin-main > p:not(.auth-eyebrow) {
    margin: 15px 0 40px;
    color: var(--muted);
}

.admin-empty {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 650px;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(23, 63, 48, 0.07);
}

.admin-empty > span {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--green-700);
    border-radius: 50%;
    font-weight: 800;
    place-items: center;
}

.admin-empty h2,
.admin-empty p {
    margin: 0;
}

.admin-empty h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.admin-empty p {
    color: var(--muted);
    font-size: 0.9rem;
}

.account-page {
    min-height: 100vh;
    background: #f7f8f6;
}

.account-main {
    width: min(calc(100% - 40px), 1180px);
    padding: 75px 0 100px;
    margin-inline: auto;
}

.account-page-title {
    margin-bottom: 22px;
}

.account-page-title h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.account-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.account-welcome h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.account-welcome div > p:last-child {
    margin: 12px 0 0;
    color: var(--muted);
}

.account-welcome-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.account-welcome-actions form {
    margin: 0;
}

.account-primary-button,
.account-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 19px;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 750;
    text-decoration: none;
}

.account-primary-button {
    color: var(--white);
    background: var(--green-700);
    border: 1px solid var(--green-700);
}

.account-primary-button:hover {
    background: var(--green-800);
}

.account-secondary-button {
    color: var(--green-700);
    background: var(--white);
    border: 1px solid #bad0c4;
}

.account-secondary-button:hover {
    background: var(--green-50);
}

.account-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    color: var(--green-700);
    background: var(--green-100);
    border: 1px solid #ccded4;
    border-radius: 50%;
    place-items: center;
}

.account-avatar svg {
    width: 36px;
    height: 36px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 38px;
}

.account-card {
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(23, 63, 48, 0.05);
}

.account-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 50%;
    place-items: center;
}

.account-card-icon svg {
    width: 24px;
    height: 24px;
}

.account-card h2 {
    margin: 24px 0 8px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.2;
}

.account-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.account-card-status {
    align-self: flex-start;
    padding: 5px 10px;
    margin-top: auto;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
}

.account-profile-bar {
    padding: 22px 26px;
    margin-top: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(23, 63, 48, 0.05);
}

.account-profile-content {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.account-profile-details {
    display: grid;
    grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.account-profile-details div {
    min-width: 0;
    padding: 0 18px;
    border-left: 1px solid var(--line);
}

.account-profile-details div:first-child {
    padding-left: 0;
    border-left: 0;
}

.account-profile-details dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.account-profile-details dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.account-profile-details a {
    color: var(--green-700);
}

.account-profile-socials dd {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.account-profile-social-link {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--green-700);
    background: #f1f7f3;
    border: 1px solid #cfe0d6;
    border-radius: 8px;
    transition: background .18s ease, border-color .18s ease;
}

.account-profile-social-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.account-profile-social-link.is-facebook svg {
    width: 16px;
    height: 16px;
}

.account-profile-social-link.is-youtube svg {
    width: 17px;
    height: 17px;
}

.account-profile-social-link .account-profile-youtube-mark {
    fill: currentColor;
}

.account-profile-social-link .account-profile-youtube-play {
    fill: #f1f7f3;
}

.account-profile-social-link.is-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.account-profile-social-link.is-instagram .account-profile-social-dot {
    fill: currentColor;
    stroke: none;
}

.account-profile-social-link:hover {
    color: #fff;
    background: var(--green-700);
    border-color: var(--green-700);
}

.account-profile-social-link:focus-visible {
    outline: 3px solid rgba(45, 106, 79, .25);
    outline-offset: 2px;
}

.account-profile-edit {
    align-self: center;
    min-height: 38px;
    padding: 7px 14px;
    margin: 0;
    color: var(--green-700);
    background: var(--white);
    border: 1px solid #bad0c4;
    border-radius: 999px;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 750;
    cursor: pointer;
}

.account-profile-edit:hover {
    background: var(--green-50);
}

.account-alert {
    padding: 13px 16px;
    margin: 0 0 24px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.86rem;
}

.account-alert-success {
    color: var(--green-900);
    background: var(--green-50);
    border-color: #c9ded2;
}

.account-alert-error {
    color: var(--error);
    background: #fff4f4;
    border-color: #efcdcd;
}

.account-alert-info {
    color: #775817;
    background: #fff8e7;
    border-color: #ead6a4;
}

.account-listings {
    padding: 30px;
    margin-top: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(23, 63, 48, 0.05);
}

.account-listings > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--line);
}

.account-listings h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.account-listing-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.account-listing-summary span {
    padding: 5px 9px;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 999px;
    font-size: 0.72rem;
}

.account-listing-summary span.is-pending {
    color: #805611;
    background: #fff5d9;
}

.account-listing-summary span.is-rejected {
    color: #913f3f;
    background: #fff0f0;
}

.account-listing-summary span.is-paused {
    color: #6e5315;
    background: #fff6dd;
}

.account-listing-summary strong {
    font-size: 0.8rem;
}

.account-listing-status {
    display: inline-flex;
    padding: 4px 8px;
    margin-bottom: 7px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 750;
}

.account-listing-status.status-pending {
    color: #805611;
    background: #fff5d9;
}

.account-listing-status.status-approved {
    color: var(--green-700);
    background: var(--green-50);
}

.account-listing-status.status-rejected {
    color: #913f3f;
    background: #fff0f0;
}

.account-listing-status.status-paused {
    color: #6e5315;
    background: #fff6dd;
}

.account-listings-empty {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 28px 0 4px;
}

.account-listings-empty > span {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    color: var(--green-700);
    background: var(--green-50);
    border-radius: 50%;
    place-items: center;
}

.account-listings-empty svg {
    width: 23px;
    height: 23px;
}

.account-listings-empty p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.account-listing-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #edf1ee;
}

.account-listing-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.account-listing-list h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.account-listing-list article > div p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.74rem;
}

.account-listing-list article > div .account-rejection-reason {
    max-width: 680px;
    margin-top: 8px;
    color: #913f3f;
    line-height: 1.5;
}

.account-listing-list nav {
    display: flex;
    gap: 9px;
}

.account-listing-list nav form {
    display: flex;
    margin: 0;
}

.account-listing-list nav a,
.account-listing-list nav button {
    padding: 7px 11px;
    color: var(--green-700);
    background: transparent;
    border: 1px solid #c8d9d0;
    border-radius: 8px;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.account-listing-list nav button.is-pause {
    color: #76571a;
    background: #fffaf0;
    border-color: #e2cc9c;
}

.account-listing-list nav button.is-resume {
    color: var(--white);
    background: var(--green-700);
    border-color: var(--green-700);
}

.account-listing-list nav button.is-delete {
    color: #913f3f;
    background: #fffafa;
    border-color: #e0b1b1;
    cursor: pointer;
}

.account-listing-list nav button.is-delete:hover {
    background: #fff0f0;
}

.listing-form-main {
    max-width: 900px;
}

.account-back-link {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--green-700);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.listing-form-heading h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.listing-form-heading > p:last-child {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
}

.listing-form-card {
    display: grid;
    gap: 24px;
    padding: clamp(24px, 5vw, 42px);
    margin-top: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(23, 63, 48, 0.06);
}

.listing-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.84rem;
    font-weight: 750;
}

.listing-field input,
.listing-field textarea {
    width: 100%;
    padding: 13px 15px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cbd5cf;
    border-radius: 10px;
    outline: 0;
    resize: vertical;
}

.listing-field input:focus,
.listing-field textarea:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.listing-field.has-error input,
.listing-field.has-error textarea {
    border-color: #c86a6a;
}

.listing-field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.74rem;
}

.listing-field-error {
    margin: 5px 0 0;
    color: var(--error);
    font-size: 0.78rem;
}

.listing-slug-note {
    padding: 12px 14px;
    margin: 0;
    color: var(--muted);
    background: var(--green-50);
    border-radius: 9px;
    font-size: 0.78rem;
}

.listing-slug-note a {
    color: var(--green-700);
    font-weight: 750;
    overflow-wrap: anywhere;
}

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

.listing-form-actions button {
    font: inherit;
    cursor: pointer;
}

.listing-form-actions > a {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 980px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        width: min(100%, 600px);
        min-height: 100vh;
    }

    .auth-visual {
        display: none;
    }

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

    .account-profile-content {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 540px) {
    .auth-panel {
        padding: 30px 24px;
    }

    .auth-brand img {
        width: auto;
        height: 36px;
    }

    .auth-brand-name {
        font-size: 22px;
    }

    .auth-progress {
        margin-top: 65px;
    }

    .auth-help {
        padding-top: 55px;
    }

    .otp-inputs {
        grid-template-columns: repeat(6, minmax(36px, 1fr));
        gap: 6px;
    }

    .otp-digit {
        border-radius: 9px;
    }

    .admin-header {
        padding-inline: 18px;
    }

    .admin-header .auth-brand img {
        width: 145px;
    }

    .admin-main {
        width: min(calc(100% - 30px), 1180px);
        padding: 65px 0;
    }

    .account-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-welcome-actions {
        width: 100%;
        justify-content: space-between;
    }

    .account-listings {
        padding: 22px 18px;
    }

    .account-listings > header,
    .account-listing-list article {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-listing-list nav {
        width: 100%;
    }

    .account-listing-list nav a,
    .account-listing-list nav form,
    .account-listing-list nav button {
        flex: 1;
        text-align: center;
    }

    .listing-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-main {
        width: min(calc(100% - 30px), 1180px);
        padding: 55px 0 70px;
    }

    .account-avatar {
        width: 58px;
        height: 58px;
    }

    .account-avatar svg {
        width: 28px;
        height: 28px;
    }

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

    .account-card {
        min-height: 260px;
    }

    .account-profile-bar {
        padding: 20px 18px;
    }

    .account-profile-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .account-profile-details {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .account-profile-details div {
        padding: 10px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .account-profile-details div:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .account-profile-edit {
        grid-column: 1 / -1;
        width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}


.auth-policy {
    padding: 16px;
    background: var(--green-50);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.auth-policy-consent {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .875rem;
    line-height: 1.65;
    cursor: pointer;
}
.auth-policy-consent input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--green-700);
    cursor: pointer;
}
.auth-policy-consent a {
    color: var(--green-800);
    font-weight: 650;
    text-underline-offset: 3px;
}
.auth-policy-consent a:hover { color: var(--green-900); }


@media (max-width: 540px) {
    .auth-policy { padding: 14px; }
}
@media (max-width: 360px) {
    .auth-panel { padding-inline: 18px; }
    .otp-inputs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}


.auth-policy.has-error {
    background: #fff7f6;
    border-color: #d9a4a1;
}
.auth-policy-error,
.auth-field-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    color: var(--error);
    font-size: .8rem;
    line-height: 1.55;
}
.auth-policy-error[hidden],
.auth-field-error[hidden] { display: none; }
.auth-policy-error svg,
.auth-field-error svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 2px;
}

.auth-field-error { margin-top: 8px; margin-bottom: 0; }
.auth-field.has-error .auth-input-wrap,
.otp-inputs.has-error .otp-digit[aria-invalid="true"] {
    border-color: #d9a4a1;
    background: #fff7f6;
}
.auth-field.has-error .auth-input-wrap:focus-within,
.otp-inputs.has-error .otp-digit[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 3px rgba(162, 57, 57, .1);
}
