:root {
    --service-ink: #202020;
    --service-paper: #f8f9fa;
    --service-surface: #ffffff;
    --service-brand: #f7323f;
    --service-brand-action: #d51f2c;
    --service-brand-hover: #c51a26;
    --service-brand-text: #c51a26;
    --service-copy: #5e5e5e;
    --service-sub: #505e81;
    --service-sub-dark: #2a385b;
    --service-soft: #fff1f2;
    --service-rose: #f7323f;
    --service-acid: #fff1f2;
    --service-line: #e9ecef;
    --service-muted: #6c757d;
    --service-radius: 12px;
    --service-shadow: 0 8px 28px rgba(32, 32, 32, 0.08);
}

body {
    background: var(--service-paper);
    color: var(--service-ink);
}

.button {
    min-height: 44px;
    gap: 8px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button:hover {
    transform: none;
}

.button-primary {
    background: var(--service-brand-action);
}

.button-primary:hover {
    background: var(--service-brand-hover);
}

.button-ghost {
    border-color: var(--service-line);
    background: #fff;
}

.button-ghost:hover {
    border-color: #ced4da;
    background: #fafafa;
}

.button-light {
    background: #fff;
    color: var(--service-brand-text);
}

.button-outline-light {
    border-color: var(--service-line);
    background: #fff;
    color: var(--service-ink);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(247, 50, 63, 0.2);
    outline-offset: 2px;
}

.flash-success {
    background: var(--service-sub-dark);
    color: #fff;
}

.flash-error {
    background: var(--service-brand-action);
    color: #fff;
}

.service-header {
    min-height: 68px;
    padding: 12px clamp(20px, 4vw, 56px);
    border-color: var(--service-line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.service-brand {
    gap: 10px;
    color: var(--service-ink);
    font-size: 14px;
    letter-spacing: -0.02em;
}

.service-brand-logo {
    width: 68px;
    height: 21px;
    flex: 0 0 auto;
}

.service-brand-copy {
    padding-left: 10px;
    border-left: 1px solid var(--service-line);
}

.service-brand-copy b {
    margin-top: 2px;
    color: var(--service-muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.service-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.service-header-link {
    padding: 10px 4px;
    color: var(--service-muted);
    font-size: 12px;
    font-weight: 600;
}

.service-header-link:hover {
    color: var(--service-ink);
}

.service-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--service-brand);
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
}

.service-footer {
    min-height: 80px;
    padding: 22px clamp(20px, 4vw, 56px);
    background: #fff;
    color: var(--service-muted);
    font-size: 12px;
    letter-spacing: 0;
}

.service-footer-logo {
    width: 45px;
    height: 21px;
    flex: 0 0 auto;
}

.service-footer-rich {
    display: block;
    min-height: 0;
    padding: 72px max(24px, calc((100vw - 1160px) / 2)) 28px;
    border: 0;
    background: var(--service-ink);
    color: #fff;
}

.service-footer-rich .service-footer-grid {
    display: grid;
    gap: clamp(34px, 5vw, 72px);
    padding-bottom: 62px;
    grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(130px, 0.72fr));
}

.service-footer-rich .service-footer-brand {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.service-footer-rich .service-footer-logo {
    width: 68px;
    height: 21px;
}

.service-footer-rich .service-footer-brand strong {
    margin-top: 28px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 620;
    letter-spacing: -0.045em;
    line-height: 1.35;
}

.service-footer-rich .service-footer-brand p {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.service-footer-rich .service-footer-nav {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
}

.service-footer-rich .service-footer-nav b {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 10px;
    font-weight: 700;
}

.service-footer-rich .service-footer-nav a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.5;
}

.service-footer-rich .service-footer-nav a:hover {
    color: #fff;
}

.service-footer-rich .service-footer-company {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 26px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.7;
}

.service-footer-rich .service-footer-company > div {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
}

.service-footer-rich .service-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 500;
}

.service-footer-rich .service-footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
}

/* Service landing */
.landing-clean {
    overflow: hidden;
    background: #fff;
}

.landing-clean .landing-hero {
    display: grid;
    width: min(1240px, calc(100% - 48px));
    min-height: 650px;
    margin: 0 auto;
    border: 0;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
}

.landing-clean .landing-hero-copy {
    max-width: 650px;
    padding: 100px 48px 100px 0;
}

.landing-clean .eyebrow,
.landing-section-head > span,
.roadmap-copy > span,
.landing-cta > div > span {
    margin-bottom: 18px;
    color: var(--service-brand-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.landing-clean .landing-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 4.1vw, 60px);
    font-weight: 720;
    letter-spacing: -0.055em;
    line-height: 1.16;
    word-break: keep-all;
}

.landing-clean .landing-hero h1 .hero-line {
    display: block;
    white-space: nowrap;
}

.landing-clean .landing-hero-copy > p {
    max-width: 600px;
    margin: 28px 0 0;
    color: var(--service-muted);
    font-size: 18px;
    line-height: 1.75;
    word-break: keep-all;
}

.landing-clean .landing-actions {
    display: flex;
    align-items: center;
    margin-top: 38px;
}

.landing-clean .landing-login-note {
    color: var(--service-muted);
    font-size: 13px;
}

.landing-product-preview {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 72px 0 72px 38px;
}

.product-preview-window {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dfe2de;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(25, 31, 28, 0.13);
    background: #fff;
}

.product-preview-bar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid var(--service-line);
}

.preview-brand {
    width: 45px;
    height: 21px;
    object-fit: contain;
}

.preview-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--service-muted);
    font-size: 11px;
}

.preview-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--service-sub);
}

.product-preview-body {
    display: grid;
    min-height: 420px;
    grid-template-columns: 150px 1fr;
}

.product-preview-body nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 24px 14px;
    border-right: 1px solid var(--service-line);
    background: #fafaf9;
}

.product-preview-body nav b {
    margin: 0 10px 14px;
    color: #8b8f8c;
    font-size: 10px;
}

.product-preview-body nav span {
    padding: 10px 11px;
    border-radius: 7px;
    color: var(--service-muted);
    font-size: 11px;
}

.product-preview-body nav span.is-active {
    background: var(--service-soft);
    color: var(--service-brand-text);
    font-weight: 700;
}

.product-preview-content {
    padding: 42px 40px;
}

.product-preview-content > small {
    color: var(--service-brand-text);
    font-weight: 700;
}

.product-preview-content h2 {
    margin: 12px 0 30px;
    font-size: 30px;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.preview-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.preview-summary article {
    padding: 17px;
    border: 1px solid var(--service-line);
    border-radius: 9px;
}

.preview-summary span,
.preview-summary b {
    display: block;
}

.preview-summary span {
    color: var(--service-muted);
    font-size: 10px;
}

.preview-summary b {
    margin-top: 8px;
    font-size: 22px;
}

.preview-list {
    display: grid;
    gap: 0;
    margin-top: 18px;
    border: 1px solid var(--service-line);
    border-radius: 9px;
}

.preview-list > span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--service-line);
    font-size: 11px;
}

.preview-list > span:last-child {
    border-bottom: 0;
}

.preview-list i {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    background: #e9ecef;
}

.preview-list b {
    margin-left: auto;
    color: var(--service-sub);
    font-size: 9px;
}

.landing-trust {
    display: grid;
    padding: 0 max(24px, calc((100vw - 1240px) / 2));
    border-block: 1px solid var(--service-line);
    background: #fafaf9;
    grid-template-columns: repeat(3, 1fr);
}

.landing-trust > div {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    justify-content: center;
    padding: 20px 34px;
    border-right: 1px solid var(--service-line);
}

.landing-trust > div:first-child {
    border-left: 1px solid var(--service-line);
}

.landing-trust b {
    font-size: 14px;
}

.landing-trust span {
    margin-top: 6px;
    color: var(--service-muted);
    font-size: 12px;
}

.landing-clean .landing-features {
    width: min(1160px, calc(100% - 48px));
    padding: 110px 0;
    margin: 0 auto;
}

.landing-clean .landing-section-head {
    display: block;
    max-width: 720px;
}

.landing-clean .landing-section-head h2,
.roadmap-copy h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.25;
    word-break: keep-all;
}

.landing-clean .landing-section-head > p {
    margin: 22px 0 0;
    color: var(--service-muted);
    font-size: 16px;
    line-height: 1.7;
}

.landing-clean .feature-grid {
    display: grid;
    margin-top: 54px;
    border-top: 1px solid var(--service-line);
    border-left: 1px solid var(--service-line);
    grid-template-columns: repeat(3, 1fr);
}

.landing-clean .feature-grid article {
    min-height: 220px;
    padding: 30px;
    border-right: 1px solid var(--service-line);
    border-bottom: 1px solid var(--service-line);
    background: #fff;
}

.landing-clean .feature-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--service-soft);
    color: var(--service-brand-text);
    font-size: 11px;
    font-weight: 700;
}

.landing-clean .feature-grid h3 {
    margin: 28px 0 10px;
    font-size: 19px;
    letter-spacing: -0.025em;
}

.landing-clean .feature-grid p {
    max-width: 290px;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
}

.landing-roadmap {
    display: grid;
    width: min(1240px, calc(100% - 48px));
    gap: 72px;
    align-items: center;
    padding: 90px 72px;
    margin: 0 auto 110px;
    border-radius: 20px;
    background: #f8f9fa;
    grid-template-columns: minmax(300px, 0.85fr) minmax(480px, 1.15fr);
}

.landing-data-flow {
    margin-top: 110px;
    margin-bottom: 0;
}

.roadmap-copy p {
    max-width: 520px;
    margin: 22px 0 0;
    color: var(--service-muted);
    font-size: 15px;
    line-height: 1.75;
}

.roadmap-flow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-flow > div {
    min-width: 0;
    flex: 1;
    padding: 22px 18px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    background: #fff;
}

.roadmap-flow > i {
    padding: 0 10px;
    color: #959b97;
    font-style: normal;
}

.roadmap-flow span,
.roadmap-flow b,
.roadmap-flow small {
    display: block;
}

.roadmap-flow span {
    color: var(--service-brand-text);
    font-size: 10px;
    font-weight: 700;
}

.roadmap-flow b {
    margin-top: 18px;
    font-size: 14px;
}

.roadmap-flow small {
    margin-top: 5px;
    color: var(--service-muted);
    font-size: 10px;
    line-height: 1.4;
}

.landing-domain {
    display: grid;
    width: min(1160px, calc(100% - 48px));
    gap: clamp(48px, 8vw, 110px);
    align-items: center;
    padding: 76px 72px;
    margin: 0 auto 110px;
    border-radius: 20px;
    background: var(--service-ink);
    color: #fff;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.landing-join {
    width: min(1160px, calc(100% - 48px));
    padding: 110px 0;
    margin: 0 auto;
}

.landing-join-head {
    display: grid;
    gap: clamp(42px, 8vw, 110px);
    align-items: end;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.landing-join-head > div:first-child > span {
    display: block;
    margin-bottom: 18px;
    color: var(--service-brand-text);
    font-size: 13px;
    font-weight: 700;
}

.landing-join-head h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.25;
    word-break: keep-all;
}

.landing-join-head p {
    margin: 0;
    color: var(--service-muted);
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.landing-join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.landing-join-benefits {
    display: grid;
    margin-top: 58px;
    border-top: 1px solid var(--service-line);
    border-left: 1px solid var(--service-line);
    grid-template-columns: repeat(4, 1fr);
}

.landing-join-benefits article {
    min-height: 235px;
    padding: 28px 24px;
    border-right: 1px solid var(--service-line);
    border-bottom: 1px solid var(--service-line);
}

.landing-join-benefits strong,
.landing-join-benefits b {
    display: block;
}

.landing-join-benefits strong {
    color: var(--service-brand-text);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.landing-join-benefits b {
    margin-top: 38px;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.landing-join-benefits p {
    margin: 12px 0 0;
    color: var(--service-muted);
    font-size: 13px;
    line-height: 1.7;
    word-break: keep-all;
}

.landing-domain-copy > span {
    display: block;
    margin-bottom: 18px;
    color: #ff9aa1;
    font-size: 12px;
    font-weight: 700;
}

.landing-domain-copy h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 680;
    letter-spacing: -0.05em;
    line-height: 1.25;
    word-break: keep-all;
}

.landing-domain-copy p {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.8;
    word-break: keep-all;
}

.domain-preview {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.domain-preview-label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.domain-preview > strong {
    display: block;
    margin-top: 22px;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 620;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.smartorder-plan-list {
    display: grid;
    gap: 0;
    margin-top: 34px;
}

.smartorder-plan-list p {
    display: grid;
    gap: 10px;
    align-items: center;
    padding: 13px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    grid-template-columns: 38px minmax(0, 1fr) auto;
}

.smartorder-plan-list span {
    color: #ff9aa1;
    font-size: 10px;
    font-weight: 700;
}

.smartorder-plan-list b {
    min-width: 0;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.45;
}

.smartorder-plan-list em {
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-style: normal;
    white-space: nowrap;
}

.landing-clean .landing-cta {
    display: flex;
    min-height: 290px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px max(24px, calc((100vw - 1160px) / 2));
    background: var(--service-sub-dark);
    color: #fff;
    text-align: left;
}

.landing-clean .landing-cta > div > span {
    color: rgba(255, 255, 255, 0.68);
}

.landing-clean .landing-cta h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 650;
    letter-spacing: -0.05em;
    line-height: 1.24;
}

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

/* Login */
.auth-shell {
    display: grid;
    width: min(1040px, calc(100% - 48px));
    min-height: calc(100vh - 148px);
    gap: 80px;
    align-items: center;
    padding: 70px 0;
    margin: 0 auto;
    grid-template-columns: 1fr 420px;
}

.auth-copy {
    max-width: 560px;
    padding: 0;
}

.auth-copy .eyebrow {
    margin-bottom: 18px;
    color: var(--service-brand-text);
    letter-spacing: 0;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.2;
}

.auth-copy > p {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--service-copy);
    font-size: 16px;
    line-height: 1.75;
}

.auth-steps {
    gap: 0;
    margin-top: 38px;
    border-top: 1px solid var(--service-line);
}

.auth-steps li {
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--service-line);
    font-size: 14px;
}

.auth-steps span {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 7px;
    background: var(--service-soft);
    color: var(--service-brand-text);
}

.auth-card {
    padding: 38px;
    border: 1px solid var(--service-line);
    border-radius: 16px;
    box-shadow: var(--service-shadow);
    background: #fff;
    color: var(--service-ink);
    text-align: left;
}

.auth-card-label {
    color: var(--service-sub);
    font-size: 11px;
    letter-spacing: 0;
}

.auth-lock {
    display: flex;
    width: 76px;
    height: 48px;
    margin: 26px 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--service-soft);
    box-shadow: none;
}

.auth-lock img {
    width: 45px;
    height: 21px;
}

.auth-card h2 {
    color: var(--service-ink);
    font-size: 24px;
}

.auth-card > p {
    margin-bottom: 28px;
    color: var(--service-copy);
    line-height: 1.65;
}

.auth-card .button-primary {
    background: var(--service-brand-action);
    color: #fff;
}

.auth-card .button-primary:hover {
    background: var(--service-brand-hover);
    color: #fff;
}

.auth-card > small {
    color: var(--service-muted);
}

.auth-shell-simple {
    width: min(100% - 40px, 520px);
    min-height: calc(100vh - 148px);
    padding: 64px 0;
    grid-template-columns: 1fr;
}

.auth-card-simple {
    width: 100%;
    padding: 44px;
    text-align: center;
}

.auth-card-simple .auth-lock {
    margin: 28px auto 24px;
}

.auth-card-simple h1 {
    margin: 0 0 14px;
    color: var(--service-ink);
    font-size: 28px;
    letter-spacing: -0.045em;
}

.auth-card-simple > p {
    max-width: 340px;
    margin: 0 auto 28px;
    font-size: 13px;
    word-break: keep-all;
}

.auth-logout-notice {
    display: grid;
    gap: 12px;
    margin: -8px 0 22px;
    padding: 16px;
    border: 1px solid #bed9ca;
    border-radius: 12px;
    background: #eff8f3;
    color: #315c4b;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
}

.auth-logout-copy {
    display: grid;
    gap: 3px;
}

.auth-logout-notice b {
    color: #21483a;
    font-size: 13px;
}

.auth-provider-logout {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 15px;
    border: 1px solid #315c4b;
    border-radius: 8px;
    background: #315c4b;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.auth-provider-logout:hover {
    border-color: #21483a;
    background: #21483a;
    transform: translateY(-1px);
}

.auth-logout-fallback {
    padding-top: 10px;
    border-top: 1px solid rgba(49, 92, 75, .18);
    font-size: 11px;
}

.dev-notice,
.auth-unavailable {
    border-color: var(--service-line);
    background: #f8f9fa;
    color: #5e5e5e;
}

.dev-notice b {
    color: var(--service-brand-text);
}

/* Admin shell */
:root {
    --admin-sidebar: 250px;
    --admin-bg: #f8f9fa;
    --admin-surface: #fff;
    --admin-ink: #202020;
    --admin-muted: #6c757d;
    --admin-line: #e9ecef;
    --admin-brand: #d51f2c;
    --admin-accent: #505e81;
    --admin-acid: #fff1f2;
}

.admin-body {
    background: var(--admin-bg);
}

.admin-sidebar {
    border-right: 1px solid var(--admin-line);
    background: #fff;
    color: var(--admin-ink);
}

.admin-sidebar-head {
    min-height: 72px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-brand {
    gap: 10px;
    font-size: 14px;
}

.admin-brand-logo {
    width: 68px;
    height: 21px;
    flex: 0 0 auto;
}

.admin-brand small {
    color: var(--admin-muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
}

.admin-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--admin-brand);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
}

.admin-site-card {
    margin: 14px;
    padding: 15px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: #f8f9fa;
}

.admin-site-eyebrow {
    color: var(--admin-muted);
    font-size: 10px;
    letter-spacing: 0;
}

.admin-site-card a {
    color: var(--admin-brand);
    font-size: 11px;
}

.admin-site-status {
    display: inline-flex;
    margin-top: 9px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.admin-site-status.is-on {
    background: #e8f5ee;
    color: #23704d;
}

.admin-site-status.is-off {
    background: #fff0f1;
    color: var(--admin-brand);
}

.admin-nav {
    gap: 3px;
    padding: 8px 12px;
}

.admin-nav a {
    min-height: 44px;
    gap: 11px;
    padding: 0 12px;
    border-radius: 8px;
    color: #5e5e5e;
    font-size: 14px;
    font-weight: 550;
}

.admin-nav a:hover {
    background: #f4f4f2;
    color: var(--admin-ink);
}

.admin-nav a.is-active {
    background: #fff1f2;
    color: var(--admin-brand);
    font-weight: 700;
}

.admin-nav a.is-active::after {
    display: none;
}

.admin-nav-divider {
    display: block;
    padding: 15px 12px 5px;
    color: #9aa09c;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
}

.nav-icon {
    width: 22px;
    height: 22px;
    font-size: 15px;
}

.admin-sidebar-foot {
    border-color: var(--admin-line);
}

.admin-sidebar-foot form {
    width: 100%;
}

.admin-operator-account {
    display: grid;
    gap: 1px;
    margin-bottom: 12px;
    padding: 0 3px;
}

.admin-operator-account b {
    color: var(--admin-ink);
    font-size: 12px;
}

.admin-operator-account small {
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
}

.admin-logout {
    width: 100%;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--admin-line);
    border-radius: 7px;
    background: #fff;
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 650;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.admin-logout:hover {
    border-color: #cfd4d1;
    background: #f7f8f7;
    color: var(--admin-ink);
}

.admin-topbar {
    min-height: 72px;
    padding: 12px clamp(22px, 3vw, 42px);
    border-color: var(--admin-line);
    background: rgba(255, 255, 255, 0.94);
}

.admin-topbar-label {
    color: var(--admin-muted);
    font-size: 10px;
    letter-spacing: 0;
}

.admin-topbar strong {
    font-size: 14px;
}

.admin-topbar > .admin-topbar-actions {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
}

.operator-site-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
}

.operator-site-switcher label {
    color: var(--admin-muted);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.operator-site-switcher select {
    width: clamp(170px, 21vw, 300px);
    min-height: 40px;
    padding: 0 34px 0 11px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
    color: var(--admin-ink);
    font-size: 12px;
    font-weight: 650;
}

.operator-role-chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #d9dee9;
    border-radius: 999px;
    background: #f2f4f9;
    color: var(--admin-accent);
    font-size: 11px;
    font-weight: 750;
}

.operator-summary-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operator-summary-grid article {
    display: grid;
    min-height: 118px;
    align-content: space-between;
    padding: 20px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: #fff;
}

.operator-summary-grid span {
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 650;
}

.operator-summary-grid strong {
    margin-top: 18px;
    color: var(--admin-ink);
    font-size: 32px;
    letter-spacing: -.04em;
}

.operator-supplier-panel {
    padding: 0;
    overflow: hidden;
}

.operator-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border-bottom: 1px solid var(--admin-line);
}

.operator-list-head > div > span {
    color: var(--admin-brand);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.operator-list-head h2 {
    margin: 4px 0 2px;
    font-size: 22px;
    letter-spacing: -.035em;
}

.operator-list-head p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 11px;
}

.operator-filter-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.operator-filter-form input,
.operator-filter-form select {
    min-height: 42px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
    color: var(--admin-ink);
    font-size: 12px;
}

.operator-filter-form input {
    width: min(270px, 26vw);
    padding: 0 12px;
}

.operator-filter-form select {
    min-width: 112px;
    padding: 0 32px 0 10px;
}

.operator-supplier-list {
    display: grid;
}

.operator-supplier-row {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--admin-line);
    grid-template-columns: minmax(230px, 1.1fr) minmax(390px, 1.5fr) auto;
}

.operator-supplier-row:last-child {
    border-bottom: 0;
}

.operator-supplier-row.is-selected {
    background: #fffafb;
    box-shadow: inset 3px 0 0 var(--admin-brand);
}

.operator-supplier-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

.operator-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: var(--admin-acid);
    color: var(--admin-brand);
    font-size: 17px;
    font-weight: 800;
}

.operator-supplier-identity > div {
    min-width: 0;
}

.operator-row-kicker {
    color: var(--admin-brand);
    font-size: 9px;
    font-weight: 750;
}

.operator-supplier-identity h3 {
    overflow: hidden;
    margin: 3px 0;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-supplier-identity p {
    overflow: hidden;
    margin: 0;
    color: var(--admin-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-supplier-meta {
    display: grid;
    gap: 14px;
    margin: 0;
    grid-template-columns: .65fr .75fr 1.25fr 1.15fr;
}

.operator-supplier-meta div {
    min-width: 0;
}

.operator-supplier-meta dt {
    margin-bottom: 6px;
    color: #979d99;
    font-size: 9px;
}

.operator-supplier-meta dd {
    overflow: hidden;
    margin: 0;
    color: var(--admin-ink);
    font-size: 10px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-status {
    display: inline-flex;
    min-width: 38px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 850;
}

.operator-status.is-on {
    background: #e8f5ee;
    color: #23704d;
}

.operator-status.is-off {
    background: #fff0f1;
    color: var(--admin-brand);
}

.operator-supplier-actions {
    display: grid;
    min-width: 128px;
    gap: 7px;
}

.operator-supplier-actions .button {
    width: 100%;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 10px;
}

.operator-supplier-actions .button[disabled] {
    cursor: default;
    opacity: .58;
}

.button-danger-ghost {
    border: 1px solid #f0cdd1;
    background: #fff;
    color: #b8212c;
}

.button-danger-ghost:hover {
    border-color: #db9299;
    background: #fff5f6;
}

.operator-empty {
    display: grid;
    min-height: 340px;
    place-items: center;
    align-content: center;
    padding: 50px 20px;
    text-align: center;
}

.operator-empty > span {
    color: #c9cdca;
    font-size: 34px;
}

.operator-empty h3 {
    margin: 15px 0 5px;
    font-size: 17px;
}

.operator-empty p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.operator-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px;
    border-top: 1px solid var(--admin-line);
    font-size: 11px;
}

.operator-pagination a {
    color: var(--admin-brand);
    font-weight: 700;
}

.operator-pagination span {
    color: var(--admin-muted);
}

.admin-main {
    max-width: 1480px;
    padding: 42px clamp(22px, 4vw, 52px) 90px;
}

.admin-page-head {
    align-items: center;
    margin-bottom: 30px;
}

.admin-page-head h1,
.admin-page-head.compact h1 {
    margin: 5px 0 8px;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.25;
}

.admin-page-head h1 br {
    display: none;
}

.admin-page-head p {
    color: var(--admin-muted);
    font-size: 14px;
    line-height: 1.55;
}

.admin-eyebrow {
    color: var(--admin-brand);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}

.publish-chip {
    padding: 8px 12px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
}

.publish-chip.is-live i {
    background: var(--admin-accent);
    box-shadow: 0 0 0 4px rgba(80, 94, 129, 0.12);
}

.admin-panel,
.dashboard-card,
.page-manager-card,
.inquiry-card {
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    box-shadow: none;
    background: #fff;
}

.dashboard-spotlight {
    display: grid;
    min-height: 210px;
    gap: 40px;
    align-items: center;
    padding: 34px 38px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: #fff;
    color: var(--admin-ink);
    grid-template-columns: 1fr 210px;
}

.dashboard-spotlight::before,
.spotlight-orbit {
    display: none;
}

.spotlight-copy {
    max-width: 820px;
}

.spotlight-copy > span {
    color: var(--admin-muted);
    font-size: 11px;
    letter-spacing: 0;
}

.spotlight-copy h2 {
    margin: 10px 0 8px;
    font-size: clamp(19px, 3vw, 30px);
    font-weight: 650;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.spotlight-copy p {
    color: var(--admin-muted);
}

.spotlight-summary {
    padding: 22px;
    border-radius: 10px;
    background: #f8f9fa;
}

.spotlight-summary span,
.spotlight-summary strong,
.spotlight-summary i {
    display: block;
}

.spotlight-summary span {
    color: var(--admin-muted);
    font-size: 12px;
}

.spotlight-summary strong {
    margin: 8px 0 18px;
    font-size: 32px;
}

.spotlight-summary i {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e9ecef;
}

.spotlight-summary i b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--admin-brand);
}

.dashboard-grid {
    gap: 16px;
    margin-top: 16px;
}

.dashboard-card {
    min-height: 310px;
    padding: 26px;
}

.card-label,
.panel-head span,
.panel-kicker {
    color: var(--admin-muted);
    font-size: 11px;
    letter-spacing: 0;
}

.card-label span {
    color: var(--admin-brand);
}

.progress-ring {
    width: 104px;
    height: 104px;
    margin: 28px 0 22px;
}

.stat-row b {
    font-size: 28px;
}

.action-card {
    background: #f8f9fa;
    color: var(--admin-ink);
}

.action-card .card-label {
    color: var(--admin-muted);
}

.action-card > a {
    border-color: #dee2e6;
}

.dashboard-bottom-grid {
    gap: 16px;
    margin-top: 16px;
}

.panel-head h2 {
    margin-top: 5px;
    font-size: 20px;
}

.page-status-list a,
.inquiry-preview-list a {
    min-height: 56px;
}

.form-section,
.design-step {
    padding: 28px;
}

.form-section-head > span,
.design-step-head > span {
    background: #fff1f2;
    color: var(--admin-brand);
}

.form-section-head h2,
.design-step-head h2 {
    font-size: 18px;
}

.field input,
.field textarea,
.field select,
.slug-field,
.inquiry-status-form select {
    min-height: 44px;
    border-color: #dfe1de;
    border-radius: 8px;
    background: #fff;
}

.field textarea {
    padding: 13px 14px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--admin-brand);
    box-shadow: 0 0 0 3px rgba(247, 50, 63, 0.1);
}

.toggle-control {
    background: #dfe2df;
}

.toggle-field input:checked + .toggle-control {
    background: var(--admin-brand);
}

.image-upload-field {
    border-color: var(--admin-line);
    border-radius: 10px;
}

.file-button {
    border-radius: 7px;
}

.sticky-panel {
    top: 92px;
}

.page-manager-grid {
    gap: 16px;
}

.page-manager-card {
    min-height: 330px;
    padding: 24px;
}

.page-manager-card:hover {
    transform: none;
    border-color: #bfc7c1;
    box-shadow: var(--service-shadow);
}

.page-card-symbol {
    height: 100px;
    border-radius: 9px;
}

.page-card-symbol::before,
.page-card-symbol::after {
    display: none;
}

.page-card-copy h2 {
    font-size: 22px;
}

.writing-guide {
    position: relative;
    display: grid;
    gap: 18px;
    margin-top: 32px;
    padding: 28px 30px;
    border: 1px solid #dbe2de;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(35, 45, 39, .07);
    background: #f7faf8;
    color: var(--admin-ink);
    grid-template-columns: 44px minmax(0, 1fr);
}

.writing-guide::before,
.writing-guide::after {
    position: absolute;
    top: -13px;
    left: 38px;
    width: 0;
    height: 0;
    border-right: 13px solid transparent;
    border-bottom: 13px solid #dbe2de;
    border-left: 13px solid transparent;
    content: "";
}

.writing-guide::after {
    top: -11px;
    border-right-width: 11px;
    border-bottom: 11px solid #f7faf8;
    border-left-width: 11px;
    left: 40px;
}

.writing-guide-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--admin-brand);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.writing-guide-label {
    display: block;
    margin-bottom: 5px;
    color: var(--admin-brand);
    font-size: 11px;
    font-weight: 750;
}

.writing-guide h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.035em;
}

.writing-guide p {
    max-width: 900px;
    margin: 10px 0 22px;
    color: var(--admin-muted);
    font-size: 13px;
    line-height: 1.75;
}

.writing-guide p b {
    color: var(--admin-ink);
}

.writing-guide ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.writing-guide li {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e1e7e3;
    border-radius: 10px;
    background: #fff;
}

.writing-guide li b {
    font-size: 12px;
}

.writing-guide li span {
    color: var(--admin-muted);
    font-size: 11px;
    line-height: 1.65;
}

.writing-guide-markdown {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dfe6e2;
}

.writing-guide-markdown b,
.writing-guide-markdown span {
    font-size: 11px;
}

.writing-guide-markdown span {
    margin-right: 4px;
    color: var(--admin-muted);
}

.writing-guide-markdown code {
    padding: 6px 8px;
    border: 1px solid #dce2df;
    border-radius: 6px;
    background: #fff;
    color: #4f5853;
    font-size: 10px;
}

/* Editor */
.editor-head {
    position: relative;
}

.page-settings {
    padding: 22px;
}

.editor-workspace {
    height: clamp(760px, calc(100dvh - 380px), 980px);
    min-height: 760px;
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: #fff;
}

.editor-workspace.is-expanded {
    position: fixed;
    z-index: 80;
    inset: 14px;
    width: auto;
    height: auto;
    min-height: 0;
    border-radius: 14px;
    box-shadow: 0 26px 80px rgba(23, 31, 27, .24);
}

body.has-editor-expanded {
    overflow: hidden;
}

.editor-pane {
    border-color: var(--admin-line);
    background: #fff;
}

.editor-pane,
.preview-pane {
    min-height: 0;
}

.preview-pane {
    background: #fafaf9;
}

.editor-toolbar {
    min-height: 56px;
    padding: 8px 14px;
    border-color: var(--admin-line);
    background: #fff;
}

.editor-toolbar > span {
    color: var(--admin-ink);
    font-size: 12px;
    letter-spacing: 0;
}

.editor-toolbar button {
    display: inline-flex;
    min-width: auto;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #535854;
    font-size: 12px;
}

.editor-toolbar button:hover {
    border-color: var(--admin-line);
    background: #f5f5f3;
}

.editor-toolbar [data-media-drawer] {
    border-color: #f4b7bc;
    background: #fff1f2;
    color: var(--admin-brand);
    font-weight: 700;
}

.format-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border-radius: 5px;
    background: #eff1ef;
    color: #3c4540;
    font-family: Pretendard, "Apple SD Gothic Neo", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    line-height: 1;
}

.format-icon-italic {
    font-family: Georgia, serif;
    font-style: italic;
}

.format-icon-list {
    font-size: 15px;
}

.format-icon-link {
    font-size: 13px;
}

.editor-toolbar [data-media-drawer] .format-icon {
    background: #ffdfe2;
    color: var(--admin-brand);
}

.preview-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.editor-toolbar .editor-expand-button {
    border-color: var(--admin-line);
    background: #fff;
    color: var(--admin-ink);
    font-weight: 700;
}

.editor-expand-button[aria-pressed="true"] {
    border-color: #aeb6b1;
    background: #f1f3f2;
}

.editor-expand-button .format-icon {
    background: transparent;
    font-size: 14px;
}

.editor-compose-toolbar {
    flex-wrap: wrap;
}

.editor-mode-switch {
    display: flex;
    padding: 3px;
    border-radius: 8px;
    background: #f1f3f2;
}

.editor-mode-switch button {
    height: 30px;
    padding: 0 11px;
    border: 0;
    color: var(--admin-muted);
}

.editor-mode-switch button:hover {
    border-color: transparent;
}

.editor-mode-switch button.is-active {
    box-shadow: 0 1px 3px rgba(29, 38, 33, .12);
    background: #fff;
    color: var(--admin-ink);
    font-weight: 750;
}

.editor-format-actions {
    display: flex;
    gap: 3px;
}

.editor-input-stack {
    display: flex;
    min-height: 0;
    flex: 1;
    overflow: hidden;
}

.editor-pane textarea {
    height: 100%;
    min-height: 0;
    padding: 26px;
    font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.rich-editor {
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1;
    padding: 28px;
    overflow-y: auto;
    outline: 0;
    background: #fff;
    color: #29322d;
    font-size: 15px;
    line-height: 1.85;
}

.rich-editor:focus-visible {
    outline: 3px solid rgba(213, 31, 44, .16);
    outline-offset: -3px;
}

.rich-editor:empty::before {
    color: #9aa19d;
    content: attr(data-placeholder);
    pointer-events: none;
}

.rich-editor h1,
.rich-editor h2,
.rich-editor h3 {
    letter-spacing: -.04em;
    line-height: 1.3;
}

.rich-editor h1 {
    font-size: 32px;
}

.rich-editor h2 {
    font-size: 25px;
}

.rich-editor h3 {
    font-size: 20px;
}

.rich-editor p,
.rich-editor ul,
.rich-editor ol,
.rich-editor blockquote {
    margin: 0 0 1.2em;
}

.rich-editor img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 8px;
}

.rich-editor a {
    color: var(--admin-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.editor-status {
    color: var(--admin-muted);
}

.admin-markdown-preview {
    min-height: 0;
    flex: 1;
    padding: 34px;
    overflow-y: auto;
}

.markdown-body h1 {
    font-size: 32px;
}

.markdown-body h2 {
    font-size: 25px;
}

.markdown-body img {
    border-radius: 8px;
}

.media-drawer {
    width: min(480px, 100vw);
    padding-bottom: 40px;
    border-left: 1px solid var(--admin-line);
    background: #fff;
}

.media-drawer-head {
    position: sticky;
    z-index: 3;
    top: 0;
    min-height: 74px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--admin-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.media-drawer-head span {
    color: var(--admin-muted);
    font-size: 10px;
    letter-spacing: 0;
}

.media-drawer-head h2 {
    margin-top: 3px;
    font-size: 20px;
}

.media-drawer-head button {
    border-radius: 8px;
    background: #f3f3f1;
}

.inline-media-upload {
    padding: 22px 20px;
}

.inline-upload-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.inline-upload-heading h3 {
    margin: 0;
    font-size: 15px;
}

.inline-upload-heading p {
    margin: 6px 0 0;
    color: var(--admin-muted);
    font-size: 11px;
    line-height: 1.5;
}

.inline-upload-heading > span {
    flex: 0 0 auto;
    color: var(--admin-muted);
    font-size: 9px;
}

.inline-upload-drop {
    display: flex;
    min-height: 112px;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px dashed #ced4da;
    border-radius: 10px;
    background: #f8f9fa;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}

.inline-upload-drop:hover,
.inline-upload-drop.is-dragging,
.inline-upload-drop:focus-within {
    border-color: var(--admin-brand);
    background: #fff1f2;
}

.inline-upload-drop > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.inline-upload-preview {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border-radius: 8px;
    background: #fff1f2;
    color: var(--admin-brand);
    font-size: 24px;
}

.inline-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inline-upload-drop > span:last-child {
    min-width: 0;
}

.inline-upload-drop b,
.inline-upload-drop small {
    display: block;
}

.inline-upload-drop b {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inline-upload-drop small {
    margin-top: 6px;
    color: var(--admin-muted);
    font-size: 10px;
}

.inline-alt-field {
    display: block;
    margin: 14px 0;
}

.inline-alt-field > span {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 650;
}

.inline-alt-field > span small {
    color: var(--admin-muted);
    font-weight: 400;
}

.inline-alt-field input,
.drawer-media-search input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--admin-line);
    border-radius: 8px;
    background: #fff;
}

.inline-upload-status {
    min-height: 18px;
    margin: 9px 0 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.5;
}

.inline-upload-status.is-error {
    color: #ad3f3f;
}

.media-library-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 20px 14px;
    color: var(--admin-muted);
    font-size: 10px;
}

.media-library-divider::before,
.media-library-divider::after {
    height: 1px;
    flex: 1;
    background: var(--admin-line);
    content: "";
}

.drawer-media-search {
    display: block;
    padding: 0 20px 14px;
}

.drawer-media-grid {
    display: grid;
    gap: 10px;
    padding: 0 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drawer-media-grid button {
    position: relative;
    display: grid;
    overflow: hidden;
    padding: 0 0 10px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: #fff;
    text-align: left;
}

.drawer-media-grid button:hover {
    border-color: var(--admin-brand);
    background: #fff;
}

.drawer-media-grid button[hidden] {
    display: none;
}

.drawer-media-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.drawer-media-grid span,
.drawer-media-grid small {
    display: block;
    padding-inline: 10px;
}

.drawer-media-grid span {
    overflow: hidden;
    margin-top: 9px;
    color: var(--admin-ink);
    font-size: 11px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawer-media-grid small {
    margin-top: 4px;
    color: var(--admin-brand);
    font-size: 9px;
}

.drawer-media-empty {
    margin: 0 20px;
    padding: 26px 18px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    color: var(--admin-muted);
    text-align: center;
}

.drawer-media-empty[hidden] {
    display: none;
}

.drawer-media-empty span,
.drawer-media-empty small {
    display: block;
}

.drawer-media-empty span {
    font-size: 12px;
}

.drawer-media-empty small {
    margin-top: 5px;
    font-size: 10px;
}

.drawer-library-link {
    display: block;
    margin: 18px 20px 0;
    color: var(--admin-brand);
    font-size: 11px;
    text-align: right;
}

/* Media, design, inquiry */
.media-layout {
    gap: 20px;
}

.media-upload-panel {
    border-radius: 12px;
}

.dropzone {
    border-radius: 10px;
    background: #fafaf9;
}

.media-search {
    border-radius: 8px;
}

.media-grid {
    gap: 14px;
}

.media-card {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: #fff;
}

.media-image img {
    transition: none;
}

.media-card:hover .media-image img {
    transform: none;
}

.design-studio {
    gap: 22px;
}

.design-leave-dialog {
    width: min(470px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    color: var(--admin-ink);
    box-shadow: 0 28px 90px rgba(20, 24, 22, .26);
}

.design-leave-dialog::backdrop {
    background: rgba(20, 24, 22, .56);
    backdrop-filter: blur(4px);
}

.design-leave-modal {
    display: grid;
    gap: 20px;
    padding: 30px;
    grid-template-columns: 48px minmax(0, 1fr);
}

.design-leave-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #fff0f1;
    color: var(--admin-brand);
    font-size: 22px;
    font-weight: 850;
}

.design-leave-copy > span {
    color: var(--admin-brand);
    font-size: 10px;
    font-weight: 800;
}

.design-leave-copy h2 {
    margin: 7px 0 0;
    font-size: 21px;
    font-weight: 720;
    letter-spacing: -.04em;
    line-height: 1.3;
    word-break: keep-all;
}

.design-leave-copy p {
    margin: 10px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.7;
    word-break: keep-all;
}

.design-leave-actions {
    display: grid;
    gap: 9px;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1.35fr;
}

.design-leave-actions .button {
    width: 100%;
    min-height: 46px;
    border-radius: 9px;
    font-size: 12px;
}

.design-step {
    border-radius: 12px;
}

.theme-choice {
    border-radius: 10px;
}

.theme-choice:hover,
.theme-choice.is-selected {
    transform: none;
}

.theme-choice.is-selected,
.palette-choice.is-selected {
    border-color: var(--admin-brand);
    box-shadow: 0 0 0 2px rgba(247, 50, 63, 0.08);
}

.theme-choice-copy > span {
    color: var(--admin-brand);
    letter-spacing: 0;
}

.palette-choice,
.color-editor {
    border-radius: 9px;
}

.design-preview-column > .preview-toolbar {
    border-radius: 10px 10px 0 0;
    background: #2d302e;
}

.preview-frame-wrap {
    border-radius: 0 0 10px 10px;
}

.inquiry-card {
    border-left-width: 1px;
}

.inquiry-card.is-new {
    border-left: 3px solid var(--admin-brand);
}

.inquiry-mailboxes {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.inquiry-mailboxes a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: #fff;
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 700;
}

.inquiry-mailboxes a.is-active {
    border-color: var(--admin-brand);
    background: var(--admin-brand);
    color: #fff;
}

.inquiry-mailboxes b {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    font-size: 9px;
}

.inquiry-card.is-spam {
    border-left: 3px solid #8a6f51;
}

.inquiry-status.status-spam {
    background: #eee6db;
    color: #725638;
}

.inquiry-spam-score {
    color: #725638;
    font-size: 9px;
}

.inquiry-spam-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.inquiry-spam-reasons span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f3eee8;
    color: #725638;
    font-size: 9px;
    font-weight: 700;
}

.inquiry-contact span {
    color: var(--admin-muted);
    font-size: 9px;
}

@media (max-width: 1100px) {
    .service-brand-copy {
        display: none;
    }

    .landing-clean .landing-hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .landing-clean .landing-hero-copy {
        max-width: 800px;
        padding: 80px 0 35px;
    }

    .landing-product-preview {
        padding: 25px 0 80px;
    }

    .landing-roadmap {
        gap: 45px;
        padding: 64px 44px;
        grid-template-columns: 1fr;
    }

    .landing-domain {
        gap: 45px;
        padding: 64px 44px;
        grid-template-columns: 1fr;
    }

    .landing-join-head {
        gap: 36px;
        grid-template-columns: 1fr;
    }

    .landing-join-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-footer-rich .service-footer-grid {
        grid-template-columns: 1.25fr repeat(3, 1fr);
    }

    .auth-shell {
        gap: 50px;
        grid-template-columns: 1fr 390px;
    }

    .auth-shell-simple {
        gap: 0;
        grid-template-columns: 1fr;
    }

    .dashboard-spotlight {
        grid-template-columns: 1fr 180px;
    }

    .admin-topbar {
        flex-wrap: wrap;
    }

    .admin-topbar > .admin-topbar-actions {
        flex: 1 1 100%;
        justify-content: flex-end;
    }

    .operator-supplier-row {
        grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.5fr);
    }

    .operator-supplier-actions {
        display: flex;
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 920px) {
    :root {
        --admin-sidebar: 0px;
    }

    .admin-sidebar {
        box-shadow: none;
    }

    .admin-sidebar.is-open {
        box-shadow: 16px 0 40px rgba(26, 31, 28, 0.16);
    }

    .sidebar-close,
    .sidebar-open {
        border-radius: 8px;
    }

    .admin-main {
        padding-top: 30px;
    }

    .editor-workspace {
        height: auto;
        min-height: auto;
    }

    .editor-workspace.is-expanded {
        inset: 8px;
        height: auto;
        min-height: 0;
        overflow-y: auto;
    }

    .editor-pane textarea {
        min-height: 460px;
    }

    .rich-editor {
        min-height: 460px;
    }

    .operator-list-head {
        align-items: stretch;
        flex-direction: column;
    }

    .operator-filter-form {
        flex-wrap: wrap;
    }

    .operator-filter-form label:first-child {
        flex: 1 1 240px;
    }

    .operator-filter-form input {
        width: 100%;
    }

    .operator-supplier-row {
        grid-template-columns: 1fr;
    }

    .operator-supplier-actions {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .service-header {
        min-height: 62px;
    }

    .service-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-header {
        gap: 10px;
        padding-inline: 16px;
    }

    .service-header-actions {
        gap: 6px;
    }

    .service-header-link {
        display: none;
    }

    .service-header-actions .button {
        min-height: 36px;
        padding-inline: 11px;
        font-size: 11px;
    }

    .landing-clean .landing-hero,
    .landing-clean .landing-features,
    .landing-roadmap,
    .landing-domain,
    .landing-join {
        width: min(100% - 32px, 1240px);
    }

    .landing-clean .landing-hero-copy {
        padding: 60px 0 28px;
    }

    .landing-clean .landing-hero h1 {
        font-size: clamp(32px, 10vw, 38px);
    }

    .landing-clean .landing-hero-copy > p {
        font-size: 16px;
    }

    .landing-clean .landing-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-clean .landing-login-note {
        text-align: center;
    }

    .landing-product-preview {
        padding: 20px 0 55px;
    }

    .product-preview-body {
        min-height: 350px;
        grid-template-columns: 1fr;
    }

    .product-preview-body nav {
        display: none;
    }

    .product-preview-content {
        padding: 30px 24px;
    }

    .preview-summary article {
        padding: 13px;
    }

    .preview-summary span {
        min-height: 26px;
    }

    .landing-trust {
        padding: 0 16px;
        grid-template-columns: 1fr;
    }

    .landing-trust > div,
    .landing-trust > div:first-child {
        min-height: 82px;
        padding: 18px 8px;
        border-right: 0;
        border-bottom: 1px solid var(--service-line);
        border-left: 0;
    }

    .landing-clean .landing-features {
        padding: 78px 0;
    }

    .landing-clean .feature-grid {
        grid-template-columns: 1fr;
    }

    .landing-clean .feature-grid article {
        min-height: 190px;
    }

    .landing-roadmap {
        padding: 48px 24px;
        margin-bottom: 70px;
        border-radius: 14px;
    }

    .landing-data-flow {
        margin-top: 70px;
        margin-bottom: 0;
    }

    .roadmap-flow {
        align-items: stretch;
        flex-direction: column;
    }

    .roadmap-flow > i {
        padding: 8px;
        text-align: center;
        transform: rotate(90deg);
    }

    .landing-domain {
        padding: 48px 24px;
        margin-bottom: 70px;
        border-radius: 14px;
    }

    .landing-join {
        padding: 78px 0;
    }

    .landing-join-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-join-benefits {
        margin-top: 42px;
        grid-template-columns: 1fr;
    }

    .landing-join-benefits article {
        min-height: 190px;
    }

    .domain-preview {
        padding: 26px 20px;
    }

    .smartorder-plan-list p {
        gap: 6px 10px;
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .smartorder-plan-list em {
        grid-column: 2;
    }

    .landing-clean .landing-cta {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 52px;
    }

    .landing-cta-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .landing-cta-actions .button {
        flex: 1;
    }

    .service-footer-rich {
        padding: 54px 20px 24px;
    }

    .service-footer-rich .service-footer-grid {
        gap: 38px;
        padding-bottom: 44px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-footer-rich .service-footer-brand {
        grid-column: 1 / -1;
    }

    .service-footer-rich .service-footer-company,
    .service-footer-rich .service-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-shell {
        width: min(100% - 32px, 1040px);
        gap: 38px;
        padding: 55px 0;
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 28px 22px;
    }

    .auth-shell-simple {
        width: min(100% - 28px, 520px);
        padding: 48px 0 42px;
    }

    .auth-card-simple {
        padding: 30px 22px 26px;
        border-radius: 18px;
        box-shadow: 0 16px 42px rgba(26, 31, 28, .08);
    }

    .auth-card-simple .auth-card-label {
        font-size: 10px;
    }

    .auth-card-simple .auth-lock {
        width: 68px;
        height: 44px;
        margin: 20px auto 18px;
    }

    .auth-card-simple h1 {
        margin-bottom: 24px;
        font-size: 26px;
    }

    .auth-card-simple .button-primary {
        min-height: 52px;
        padding-inline: 14px;
        font-size: 13px;
    }

    .auth-card-simple > small {
        margin-top: 16px;
        font-size: 9px;
        line-height: 1.55;
    }

    .auth-logout-notice {
        margin: -6px 0 18px;
        padding: 12px 13px;
        font-size: 11px;
    }

    .auth-page {
        display: flex;
        min-height: 100svh;
        flex-direction: column;
    }

    .auth-page .service-header {
        min-height: 60px;
        flex: 0 0 60px;
    }

    .auth-page .service-header-actions .button-ghost {
        display: none;
    }

    .auth-page .auth-shell-simple {
        min-height: 0;
        flex: 1 0 auto;
        align-items: start;
        justify-items: center;
    }

    .auth-page .service-footer {
        min-height: 72px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 17px 18px;
        flex-direction: row;
        font-size: 9px;
        line-height: 1.45;
    }

    .auth-page .service-footer > span {
        max-width: 250px;
        text-align: right;
    }

    .admin-page-head,
    .editor-head {
        align-items: flex-start;
    }

    .admin-topbar {
        gap: 10px;
    }

    .admin-topbar > .admin-topbar-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .operator-site-switcher {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .operator-site-switcher label {
        grid-column: 1 / -1;
    }

    .operator-site-switcher select {
        width: 100%;
    }

    .admin-topbar-actions > .button {
        display: none;
    }

    .operator-page-head {
        flex-direction: column;
    }

    .operator-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operator-summary-grid article {
        min-height: 100px;
        padding: 16px;
    }

    .operator-summary-grid strong {
        font-size: 27px;
    }

    .operator-list-head {
        padding: 20px 16px;
    }

    .operator-filter-form label,
    .operator-filter-form label:first-child,
    .operator-filter-form select,
    .operator-filter-form .button {
        width: 100%;
        flex: 1 1 100%;
    }

    .operator-supplier-row {
        padding: 20px 16px;
    }

    .operator-supplier-meta {
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operator-supplier-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-spotlight {
        padding: 26px 22px;
        grid-template-columns: 1fr;
    }

    .spotlight-summary {
        max-width: none;
    }

    .editor-head-actions {
        width: 100%;
    }

    .editor-head-actions .button {
        flex: 1;
    }

    .editor-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .editor-toolbar > div {
        width: 100%;
        flex-wrap: wrap;
    }

    .preview-toolbar {
        align-items: center;
        flex-direction: row;
    }

    .preview-toolbar > div {
        width: auto;
    }

    .editor-format-actions button {
        flex: 1;
    }

    .editor-pane textarea {
        min-height: 420px;
        padding: 20px;
    }

    .rich-editor {
        min-height: 420px;
        padding: 22px 20px;
    }

    .writing-guide {
        padding: 22px;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .writing-guide-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .writing-guide ol {
        grid-template-columns: 1fr;
    }

    .writing-guide-markdown {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-markdown-preview {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button,
    .admin-nav a,
    .inline-upload-drop {
        transition: none;
    }
}

/* Design studio — Korean-market theme system */
.design-page-head {
    margin-bottom: 28px;
}

.design-page-head > div {
    max-width: 720px;
}

.design-studio {
    grid-template-columns: minmax(560px, .94fr) minmax(500px, 1.06fr);
}

.design-controls {
    gap: 20px;
}

.design-step {
    padding: 30px;
}

.design-loaded-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 19px;
    border: 1px solid #bcd8ca;
    border-radius: 11px;
    background: #f1f8f4;
    color: #24493b;
}

.design-loaded-notice > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #dcece3;
    font-size: 16px;
    font-weight: 800;
}

.design-loaded-notice strong {
    display: block;
    margin: 1px 0 4px;
    font-size: 13px;
}

.design-loaded-notice p {
    margin: 0;
    color: #527064;
    font-size: 11px;
    line-height: 1.55;
}

.design-vault .design-step-head {
    align-items: flex-start;
    margin-bottom: 22px;
}

.design-vault-count {
    min-width: 54px;
    padding: 6px 9px;
    margin-left: auto;
    border-radius: 999px;
    background: #f1f3f1;
    color: #69716c;
    font-size: 10px;
    text-align: center;
}

.design-vault-save {
    display: grid;
    align-items: end;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.design-vault-save label {
    display: grid;
    gap: 7px;
    margin: 0;
}

.design-vault-save label > span {
    color: var(--admin-ink);
    font-size: 11px;
    font-weight: 750;
}

.design-vault-save input {
    width: 100%;
    height: 46px;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid #dfe1de;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: var(--admin-ink);
    box-shadow: 0 1px 2px rgba(32, 32, 32, 0.03);
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.design-vault-save input::placeholder {
    color: #9a9f9c;
}

.design-vault-save input:hover {
    border-color: #c9cdca;
}

.design-vault-save input:focus,
.design-vault-save input:focus-visible {
    border-color: var(--admin-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 50, 63, 0.1);
}

.design-vault-save .button {
    height: 46px;
    min-height: 46px;
    padding: 0 16px;
    border-color: #d9ddda;
    background: #f8f9f8;
    color: var(--admin-ink);
    font-weight: 720;
    white-space: nowrap;
}

.design-vault-save .button:hover {
    border-color: #c8cdca;
    background: #f2f4f2;
}

.design-vault-save .button > span {
    color: var(--admin-brand);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.design-vault-help {
    margin: 9px 0 0;
    color: var(--admin-muted);
    font-size: 10px;
    line-height: 1.55;
}

.design-vault-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    margin-top: 18px;
    border: 1px solid #edf0ee;
    border-radius: 9px;
    background: #fafbfa;
    color: var(--admin-muted);
}

.design-vault-empty > span {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #eef1ef;
    color: #87918b;
    font-size: 20px;
}

.design-vault-empty p {
    display: grid;
    gap: 3px;
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
}

.design-vault-empty b {
    color: var(--admin-ink);
    font-size: 11px;
}

.design-preset-list {
    display: grid;
    max-height: 340px;
    gap: 9px;
    padding: 2px 6px 2px 2px;
    margin-top: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #bec4c0 transparent;
    scrollbar-width: thin;
}

.design-preset-card {
    display: grid;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: #fff;
}

.design-preset-card.is-loaded {
    border-color: #8fb8a5;
    background: #f8fbf9;
}

.design-preset-main,
.design-preset-meta,
.design-preset-actions {
    display: flex;
    align-items: center;
}

.design-preset-main,
.design-preset-actions {
    justify-content: space-between;
    gap: 12px;
}

.design-preset-main > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

.design-preset-main strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.design-preset-main em {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: #dcece3;
    color: #315f4d;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.design-preset-main small {
    flex: 0 0 auto;
    color: var(--admin-muted);
    font-size: 9px;
}

.design-preset-meta {
    gap: 10px;
    color: #626a65;
    font-size: 10px;
}

.design-preset-swatches {
    display: flex;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #d9ddda;
    border-radius: 999px;
}

.design-preset-swatches i {
    display: block;
    width: 18px;
    height: 18px;
}

.design-preset-actions {
    padding-top: 2px;
    border-top: 1px solid #edf0ee;
}

.design-preset-actions .button {
    min-height: 34px;
}

.design-preset-delete {
    padding: 6px 4px;
    border: 0;
    background: transparent;
    color: #8a5d61;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.design-preset-delete:hover,
.design-preset-delete:focus-visible {
    color: #b12735;
    text-decoration: underline;
}

.theme-choice-grid {
    max-height: min(72svh, 790px);
    gap: 14px;
    padding: 4px 10px 4px 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #b9bfbb transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    align-content: start;
}

.theme-choice-grid::-webkit-scrollbar {
    width: 7px;
}

.theme-choice-grid::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: #b9bfbb;
}

.theme-choice-grid::-webkit-scrollbar-track {
    background: transparent;
}

.theme-choice {
    display: flex;
    min-height: 348px;
    flex-direction: column;
    border-color: #dfe2df;
    border-radius: 12px;
    background: #fff;
}

.theme-choice:hover {
    border-color: color-mix(in srgb, var(--admin-brand) 60%, #dfe2df);
}

.theme-choice.is-selected {
    border-color: var(--admin-brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--admin-brand) 10%, transparent);
}

.theme-mini {
    height: 150px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.theme-mini::before,
.theme-mini::after {
    position: absolute;
    display: block;
    content: "";
}

.theme-choice-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 17px 16px;
}

.theme-choice-copy .theme-choice-kicker {
    color: var(--admin-brand);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .03em;
}

.theme-choice-copy h3 {
    margin: 7px 0 6px;
    font-size: 15px;
    letter-spacing: -.03em;
}

.theme-choice-copy p {
    min-height: 0;
    margin-bottom: 14px;
    font-size: 9px;
    line-height: 1.65;
    -webkit-line-clamp: 3;
}

.theme-choice-copy dl {
    display: grid;
    gap: 5px;
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--admin-line);
}

.theme-choice-copy dl > div {
    display: grid;
    gap: 8px;
    grid-template-columns: 38px minmax(0, 1fr);
}

.theme-choice-copy dt,
.theme-choice-copy dd {
    margin: 0;
    font-size: 8px;
    line-height: 1.45;
}

.theme-choice-copy dt {
    color: var(--admin-muted);
    font-weight: 700;
}

.theme-choice-copy dd {
    color: var(--admin-ink);
    font-weight: 650;
}

.theme-mini-clean-editorial .mini-title {
    width: 36%;
    height: 21px;
}

.theme-mini-clean-editorial .mini-image {
    top: 28px;
    height: 108px;
}

.theme-mini-clean-editorial i {
    right: 18%;
    bottom: 14px;
    width: 22px;
    height: 22px;
}

.theme-mini-business-trust {
    background-image:
        linear-gradient(rgba(0, 0, 0, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .07) 1px, transparent 1px);
    background-size: 25% 33.333%;
}

.theme-mini-business-trust .mini-nav {
    border-top-width: 4px;
}

.theme-mini-business-trust .mini-title {
    width: 38%;
    height: 18px;
}

.theme-mini-business-trust .mini-image {
    top: 42px;
    height: 68px;
    background:
        linear-gradient(to right, var(--mini-brand) 0 29%, transparent 29% 35%, var(--mini-brand) 35% 64%, transparent 64% 70%, var(--mini-brand) 70%);
}

.theme-mini-business-trust i {
    width: 44px;
    height: 7px;
    border-radius: 0;
}

.theme-mini-prestige-dark,
.theme-mini-cinematic-house {
    color: var(--mini-text);
}

.theme-mini-prestige-dark .mini-title {
    z-index: 2;
    width: 47%;
    height: 18px;
}

.theme-mini-prestige-dark .mini-image {
    top: 25px;
    right: 12%;
    width: 32%;
    height: 124px;
    border-radius: 48% 48% 0 0;
    background: linear-gradient(155deg, var(--mini-brand), var(--mini-surface));
}

.theme-mini-prestige-dark i {
    right: 23%;
    bottom: 12px;
    width: 20px;
    height: 20px;
}

.theme-mini-heritage-cellar {
    background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(70, 50, 30, .025) 5px 6px);
}

.theme-mini-heritage-cellar .mini-title {
    top: 34px;
    width: 45%;
    height: 28px;
    background: transparent;
    border-block: 2px solid currentColor;
}

.theme-mini-heritage-cellar .mini-image {
    top: 35px;
    right: 9px;
    width: 40%;
    height: 95px;
    border: 6px solid var(--mini-surface);
    transform: rotate(2deg);
}

.theme-mini-heritage-cellar i {
    right: 36%;
    bottom: 10px;
    width: 25px;
    height: 25px;
    border: 2px solid var(--mini-bg);
}

.theme-mini-washi-minimal .mini-nav {
    right: 12px;
    left: auto;
    width: 34%;
    border-bottom: 0;
}

.theme-mini-washi-minimal .mini-title {
    top: 29px;
    left: 24px;
    width: 18px;
    height: 75px;
}

.theme-mini-washi-minimal .mini-copy {
    top: 38px;
    left: 56px;
    width: 25%;
}

.theme-mini-washi-minimal .mini-image {
    top: 38px;
    right: 18px;
    width: 30%;
    height: 100px;
    background: var(--mini-surface);
    border: 1px solid var(--mini-text);
}

.theme-mini-washi-minimal i {
    right: 23px;
    bottom: 8px;
    width: 14px;
    height: 14px;
    border-radius: 0;
}

.theme-mini-natural-terroir .mini-image {
    top: 25px;
    right: 10px;
    width: 48%;
    height: 112px;
    border-radius: 54% 36% 46% 28%;
}

.theme-mini-natural-terroir .mini-title {
    border-radius: 0 14px 0 0;
}

.theme-mini-natural-terroir i {
    right: 33%;
    bottom: 4px;
    width: 34px;
    height: 18px;
    border-radius: 50%;
}

.theme-mini-bold-spirit .mini-title {
    top: 26px;
    width: 66%;
    height: 38px;
}

.theme-mini-bold-spirit .mini-copy {
    top: 82px;
}

.theme-mini-bold-spirit .mini-image {
    top: 54px;
    right: 7px;
    width: 33%;
    height: 82px;
    background: var(--mini-accent);
    border: 2px solid var(--mini-text);
    transform: rotate(7deg);
}

.theme-mini-bold-spirit i {
    right: 28%;
    bottom: 8px;
    width: 42px;
    height: 18px;
    border: 2px solid var(--mini-text);
    border-radius: 999px;
}

.theme-mini-catalog-pro .mini-title {
    top: 31px;
    width: 52%;
    height: 15px;
}

.theme-mini-catalog-pro .mini-copy {
    top: 60px;
    width: 20%;
    height: 52px;
    box-shadow: none;
    background:
        linear-gradient(var(--mini-text) 2px, transparent 2px 9px, var(--mini-text) 9px 11px, transparent 11px 18px, var(--mini-text) 18px 20px, transparent 20px 27px, var(--mini-text) 27px 29px);
}

.theme-mini-catalog-pro .mini-image {
    top: 58px;
    right: 12px;
    width: 57%;
    height: 72px;
    background:
        linear-gradient(90deg, var(--mini-brand) 0 29%, transparent 29% 35%, var(--mini-brand) 35% 64%, transparent 64% 70%, var(--mini-brand) 70%);
}

.theme-mini-catalog-pro i {
    display: none;
}

.theme-mini-brand-journal .mini-title {
    top: 32px;
    width: 62%;
    height: 26px;
}

.theme-mini-brand-journal .mini-copy {
    top: 71px;
    width: 43%;
}

.theme-mini-brand-journal .mini-image {
    top: 70px;
    right: 13px;
    width: 35%;
    height: 63px;
}

.theme-mini-brand-journal i {
    right: auto;
    bottom: 13px;
    left: 14px;
    width: 28%;
    height: 3px;
    border-radius: 0;
}

.theme-mini-cinematic-house {
    background: var(--mini-brand);
}

.theme-mini-cinematic-house .mini-nav {
    z-index: 3;
    color: var(--mini-bg);
}

.theme-mini-cinematic-house .mini-image {
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--mini-text) 78%, transparent), transparent),
        linear-gradient(145deg, var(--mini-brand), var(--mini-surface));
}

.theme-mini-cinematic-house .mini-title,
.theme-mini-cinematic-house .mini-copy {
    z-index: 2;
    color: var(--mini-bg);
}

.theme-mini-cinematic-house .mini-title {
    top: 52px;
    width: 58%;
    height: 30px;
}

.theme-mini-cinematic-house .mini-copy {
    top: 96px;
}

.theme-mini-cinematic-house i {
    z-index: 2;
    right: 15px;
    bottom: 13px;
    width: 9px;
    height: 9px;
    background: var(--mini-accent);
}

.theme-mini-kihya-clean {
    padding: 10px;
    background: color-mix(in srgb, var(--mini-bg) 90%, #fff);
}

.theme-mini-kihya-clean::before {
    inset: 10px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 12%, transparent);
    border-radius: 12px;
    background: var(--mini-surface);
}

.theme-mini-kihya-clean .mini-nav {
    z-index: 2;
    top: 22px;
    right: 22px;
    left: 22px;
    width: auto;
    border-top-color: var(--mini-brand);
}

.theme-mini-kihya-clean .mini-title {
    z-index: 2;
    top: 51px;
    left: 25px;
    width: 40%;
    height: 25px;
    border-radius: 4px;
}

.theme-mini-kihya-clean .mini-copy {
    z-index: 2;
    top: 91px;
    left: 25px;
}

.theme-mini-kihya-clean .mini-image {
    z-index: 2;
    top: 46px;
    right: 23px;
    width: 35%;
    height: 84px;
    border-radius: 10px;
}

.theme-mini-kihya-clean i {
    z-index: 3;
    right: 29%;
    bottom: 13px;
    width: 18px;
    height: 18px;
}

.theme-mini-orbital-glass {
    background:
        radial-gradient(circle at 68% 52%, color-mix(in srgb, var(--mini-accent) 68%, transparent) 0 16%, transparent 17%),
        linear-gradient(145deg, var(--mini-bg), var(--mini-surface));
    color: var(--mini-text);
}

.theme-mini-orbital-glass .mini-nav {
    z-index: 3;
    color: var(--mini-text);
}

.theme-mini-orbital-glass .mini-title {
    z-index: 3;
    top: 47px;
    left: 50%;
    width: 52%;
    height: 27px;
    background: var(--mini-text);
    transform: translateX(-50%);
}

.theme-mini-orbital-glass .mini-copy {
    z-index: 3;
    top: 88px;
    left: 50%;
    width: 30%;
    color: var(--mini-text);
    transform: translateX(-50%);
}

.theme-mini-orbital-glass .mini-image {
    inset: 25px 17% 10px auto;
    width: 44%;
    height: 112px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 32%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--mini-brand) 38%, transparent);
    filter: blur(1px);
}

.theme-mini-orbital-glass i {
    right: 11px;
    bottom: 11px;
    width: 42px;
    height: 24px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 28%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--mini-surface) 70%, transparent);
}

.theme-mini-museum-index {
    background-image:
        linear-gradient(color-mix(in srgb, var(--mini-text) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--mini-text) 10%, transparent) 1px, transparent 1px);
    background-size: 25% 50%;
}

.theme-mini-museum-index .mini-title {
    top: 32px;
    left: 8px;
    width: 77%;
    height: 46px;
}

.theme-mini-museum-index .mini-copy {
    top: 95px;
    left: 12px;
    width: 28%;
}

.theme-mini-museum-index .mini-image {
    top: 84px;
    right: 10px;
    width: 48%;
    height: 53px;
    border: 1px solid var(--mini-text);
}

.theme-mini-museum-index i {
    right: auto;
    bottom: 11px;
    left: 42%;
    width: 12px;
    height: 12px;
    border-radius: 0;
}

.theme-mini-reveal-terroir {
    background:
        radial-gradient(circle at 69% 64%, transparent 0 20%, color-mix(in srgb, var(--mini-bg) 78%, transparent) 21% 100%),
        linear-gradient(145deg, var(--mini-brand), var(--mini-accent));
    color: var(--mini-text);
}

.theme-mini-reveal-terroir .mini-nav,
.theme-mini-reveal-terroir .mini-title,
.theme-mini-reveal-terroir .mini-copy {
    z-index: 2;
    color: var(--mini-text);
}

.theme-mini-reveal-terroir .mini-title {
    top: 38px;
    width: 58%;
    height: 30px;
    background: var(--mini-text);
}

.theme-mini-reveal-terroir .mini-image {
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.theme-mini-reveal-terroir i {
    right: 20%;
    bottom: 12px;
    width: 45px;
    height: 45px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 40%, transparent);
    background: color-mix(in srgb, var(--mini-accent) 55%, transparent);
}

.theme-mini-floating-dock {
    padding: 9px;
    background: var(--mini-bg);
}

.theme-mini-floating-dock::before {
    inset: 9px;
    border-radius: 15px;
    background:
        linear-gradient(125deg, color-mix(in srgb, var(--mini-brand) 18%, var(--mini-surface)), var(--mini-surface));
}

.theme-mini-floating-dock .mini-nav {
    z-index: 2;
    top: auto;
    right: 24%;
    bottom: 15px;
    left: 24%;
    width: auto;
    height: 19px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 15%, transparent);
    border-radius: 999px;
    background: var(--mini-surface);
}

.theme-mini-floating-dock .mini-title {
    z-index: 2;
    top: 35px;
    left: 25px;
    width: 45%;
    height: 27px;
    border-radius: 5px;
}

.theme-mini-floating-dock .mini-copy {
    z-index: 2;
    top: 78px;
    left: 25px;
}

.theme-mini-floating-dock .mini-image {
    z-index: 2;
    top: 28px;
    right: 20px;
    width: 31%;
    height: 81px;
    border-radius: 12px;
}

.theme-mini-floating-dock i {
    z-index: 3;
    right: 48%;
    bottom: 20px;
    width: 10px;
    height: 10px;
}

.theme-mini-prism-noir {
    background: var(--mini-bg);
    color: var(--mini-text);
}

.theme-mini-prism-noir::before {
    inset: 10px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 14%, transparent);
    border-radius: 15px;
    background:
        radial-gradient(circle at 72% 38%, color-mix(in srgb, var(--mini-accent) 62%, transparent), transparent 29%),
        var(--mini-surface);
}

.theme-mini-prism-noir .mini-nav,
.theme-mini-prism-noir .mini-title,
.theme-mini-prism-noir .mini-copy {
    z-index: 2;
    color: var(--mini-text);
}

.theme-mini-prism-noir .mini-nav {
    right: 24px;
    left: 24px;
    width: auto;
}

.theme-mini-prism-noir .mini-title {
    top: 48px;
    left: 24px;
    width: 54%;
    height: 25px;
    background: var(--mini-text);
}

.theme-mini-prism-noir .mini-copy {
    top: 89px;
    left: 24px;
}

.theme-mini-prism-noir .mini-image {
    z-index: 2;
    top: 35px;
    right: 18px;
    width: 34%;
    height: 92px;
    border-radius: 50% 50% 14px 14px;
    background: linear-gradient(160deg, var(--mini-accent), var(--mini-brand));
}

.theme-mini-prism-noir i {
    z-index: 3;
    right: 24%;
    bottom: 12px;
    width: 17px;
    height: 17px;
}

.theme-mini-kihya-connect {
    background:
        radial-gradient(circle at 78% 52%, color-mix(in srgb, var(--mini-brand) 10%, transparent), transparent 28%),
        var(--mini-surface);
    color: var(--mini-text);
}

.theme-mini-kihya-connect::before {
    z-index: 1;
    inset: 0 0 auto;
    height: 25px;
    border-bottom: 1px solid color-mix(in srgb, var(--mini-text) 12%, transparent);
    background: var(--mini-surface);
}

.theme-mini-kihya-connect::after {
    z-index: 3;
    top: 8px;
    left: 12px;
    width: 19px;
    height: 8px;
    border-radius: 2px;
    background: var(--mini-brand);
}

.theme-mini-kihya-connect .mini-nav {
    z-index: 2;
    top: 11px;
    right: 12px;
    left: auto;
    width: 28%;
    height: 4px;
    border-color: color-mix(in srgb, var(--mini-text) 35%, transparent);
}

.theme-mini-kihya-connect .mini-title {
    top: 48px;
    left: 14px;
    width: 37%;
    height: 29px;
    border-radius: 3px;
}

.theme-mini-kihya-connect .mini-copy {
    top: 91px;
    left: 14px;
    width: 31%;
}

.theme-mini-kihya-connect .mini-image {
    top: 35px;
    right: 12px;
    width: 48%;
    height: 101px;
    border: 1px solid color-mix(in srgb, var(--mini-text) 13%, transparent);
    border-radius: 10px;
    background:
        linear-gradient(var(--mini-surface) 0 18px, transparent 18px),
        linear-gradient(90deg, color-mix(in srgb, var(--mini-brand) 10%, var(--mini-surface)) 0 27%, transparent 27%),
        repeating-linear-gradient(0deg, transparent 0 13px, color-mix(in srgb, var(--mini-text) 8%, transparent) 13px 14px),
        var(--mini-surface);
    box-shadow: 0 11px 22px color-mix(in srgb, var(--mini-text) 12%, transparent);
}

.theme-mini-kihya-connect i {
    z-index: 3;
    right: auto;
    bottom: 14px;
    left: 14px;
    width: 39px;
    height: 15px;
    border-radius: 4px;
    background: var(--mini-brand);
}

.palette-choice-row {
    gap: 10px;
}

.palette-choice {
    min-height: 54px;
    padding: 8px 13px;
    transition: border-color 140ms ease, background 140ms ease;
}

.palette-swatches i {
    width: 25px;
    height: 25px;
}

.palette-choice b {
    font-size: 11px;
}

.device-switcher button {
    display: grid;
    place-items: center;
}

.device-icon {
    display: block;
    border: 1.5px solid currentColor;
    border-radius: 1px;
}

.device-desktop {
    width: 14px;
    height: 10px;
}

.device-tablet {
    width: 9px;
    height: 12px;
}

.device-mobile {
    width: 7px;
    height: 12px;
    border-radius: 2px;
}

.preview-frame-wrap {
    position: relative;
    overflow: hidden;
    contain: layout paint;
    background:
        linear-gradient(45deg, #dfe2de 25%, transparent 25%),
        linear-gradient(-45deg, #dfe2de 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #dfe2de 75%),
        linear-gradient(-45deg, transparent 75%, #dfe2de 75%);
    background-color: #e9ebe8;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.preview-frame-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    flex: 0 0 auto;
    transform-origin: top left;
    transition: none;
}

@media (max-width: 1320px) {
    .design-studio {
        grid-template-columns: 1fr;
    }

    .design-preview-column {
        position: static;
    }
}

@media (max-width: 680px) {
    .design-page-head .button {
        width: 100%;
    }

    .design-leave-modal {
        gap: 16px;
        padding: 24px 20px 20px;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .design-leave-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 19px;
    }

    .design-leave-copy h2 {
        font-size: 18px;
    }

    .design-leave-actions {
        grid-template-columns: 1fr;
    }

    .design-vault-save {
        grid-template-columns: 1fr;
    }

    .design-vault-save .button {
        width: 100%;
    }

    .design-vault-count {
        display: none;
    }

    .design-preset-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .design-preset-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .design-preset-actions .button,
    .design-preset-delete {
        width: 100%;
        text-align: center;
    }

    .theme-choice {
        min-height: 330px;
    }

    .theme-mini {
        height: 145px;
    }

    .theme-choice-grid {
        max-height: min(70svh, 720px);
    }

    .theme-choice-copy dl > div {
        grid-template-columns: 42px minmax(0, 1fr);
    }
}

.about-location-settings {
    margin-bottom: 18px;
}

.about-location-settings .field > small {
    color: var(--admin-muted);
    font-size: 11px;
    line-height: 1.55;
}
