:root {
    --ohhsem-text: #171717;
    --ohhsem-muted: #6f6f6f;
    --ohhsem-line: #e8e8e8;
    --ohhsem-panel: #fff;
    --ohhsem-bg: #f5f5f3;
    --ohhsem-dark: #1d1d1b;
    --ohhsem-danger: #a62323;
}

* {
    box-sizing: border-box;
}

body:has(.ohhsem-v2-login-shell),
body:has(.ohhsem-v2-app-shell) {
    margin: 0;
    background: var(--ohhsem-bg);
    color: var(--ohhsem-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ohhsem-v2-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ohhsem-v2-login-card {
    width: min(440px, 100%);
    background: var(--ohhsem-panel);
    border: 1px solid var(--ohhsem-line);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .07);
}

.ohhsem-v2-logo {
    display: block;
    max-width: 145px;
    max-height: 42px;
    object-fit: contain;
    margin-bottom: 34px;
}

.ohhsem-v2-login-heading span,
.ohhsem-v2-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ohhsem-v2-login-heading h1 {
    font-size: 34px;
    line-height: 1.1;
    margin: 8px 0;
}

.ohhsem-v2-login-heading p {
    margin: 0 0 26px;
    color: var(--ohhsem-muted);
}

.ohhsem-v2-login-form {
    display: grid;
    gap: 16px;
}

.ohhsem-v2-login-form label > span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.ohhsem-v2-login-form input[type="text"],
.ohhsem-v2-login-form input[type="password"] {
    width: 100%;
    height: 48px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 0 14px;
    font: inherit;
    background: #fff;
}

.ohhsem-v2-login-form input:focus {
    outline: 2px solid #111;
    outline-offset: 1px;
}

.ohhsem-v2-login-form .ohhsem-v2-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ohhsem-v2-login-form .ohhsem-v2-check span {
    margin: 0;
    font-weight: 500;
}

.ohhsem-v2-login-form button {
    height: 49px;
    border: 0;
    border-radius: 12px;
    background: #171717;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.ohhsem-v2-alert {
    background: #fff2f2;
    color: var(--ohhsem-danger);
    border: 1px solid #f3cccc;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 13px;
}

.ohhsem-v2-app-shell {
    min-height: 100vh;
}

.ohhsem-v2-app-header {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid var(--ohhsem-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
    gap: 20px;
}

.ohhsem-v2-app-header > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ohhsem-v2-app-logo {
    max-width: 115px;
    max-height: 32px;
    object-fit: contain;
}

.ohhsem-v2-build {
    font-size: 11px;
    font-weight: 800;
    background: #f1f1ef;
    border-radius: 999px;
    padding: 6px 9px;
}

.ohhsem-v2-user {
    font-size: 12px;
}

.ohhsem-v2-user strong,
.ohhsem-v2-user span {
    display: block;
}

.ohhsem-v2-user span {
    color: var(--ohhsem-muted);
}

.ohhsem-v2-user a {
    color: #171717;
    font-weight: 700;
    margin-left: 8px;
}

.ohhsem-v2-foundation {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 70px 0;
}

.ohhsem-v2-foundation h1 {
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -.04em;
    margin: 10px 0 16px;
}

.ohhsem-v2-foundation > p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ohhsem-muted);
    max-width: 760px;
}

.ohhsem-v2-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.ohhsem-v2-status-grid article {
    background: #fff;
    border: 1px solid var(--ohhsem-line);
    border-radius: 18px;
    padding: 22px;
    min-height: 150px;
}

.ohhsem-v2-status-grid span,
.ohhsem-v2-status-grid small {
    display: block;
    color: var(--ohhsem-muted);
    font-size: 12px;
}

.ohhsem-v2-status-grid strong {
    display: block;
    font-size: 20px;
    margin: 22px 0 6px;
    overflow-wrap: anywhere;
}

.ohhsem-v2-notice {
    margin-top: 18px;
    background: var(--ohhsem-dark);
    color: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    gap: 10px;
    line-height: 1.5;
}

.ohhsem-v2-notice span {
    color: #d7d7d2;
}

@media (max-width: 820px) {
    .ohhsem-v2-app-header {
        height: auto;
        min-height: 72px;
        padding: 14px 20px;
    }

    .ohhsem-v2-app-header > .ohhsem-v2-user {
        align-items: flex-end;
        flex-direction: column;
        gap: 1px;
    }

    .ohhsem-v2-user a {
        margin: 2px 0 0;
    }

    .ohhsem-v2-status-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ohhsem-v2-foundation {
        width: min(calc(100% - 32px), 1180px);
        padding: 44px 0;
    }

    .ohhsem-v2-notice {
        display: block;
    }

    .ohhsem-v2-notice strong {
        display: block;
        margin-bottom: 6px;
    }
}

@media (max-width: 520px) {
    .ohhsem-v2-login-card {
        border-radius: 18px;
        padding: 26px 22px;
    }

    .ohhsem-v2-status-grid {
        grid-template-columns: 1fr;
    }

    .ohhsem-v2-build {
        display: none;
    }

    .ohhsem-v2-app-logo {
        max-width: 90px;
    }

    .ohhsem-v2-foundation > p {
        font-size: 15px;
    }
}

/* Phase 2 · Package Core */
.ohhsem-v2-app-header {
    position: sticky;
    top: 0;
    z-index: 30;
}

.ohhsem-v2-brand-wrap,
.ohhsem-v2-brand-link {
    display: flex;
    align-items: center;
}

.ohhsem-v2-brand-link {
    text-decoration: none;
}

.ohhsem-v2-topnav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: 4px;
    margin-right: auto;
    margin-left: 20px;
}

.ohhsem-v2-topnav a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.ohhsem-v2-topnav a:hover,
.ohhsem-v2-topnav a.is-active {
    color: var(--ohhsem-text);
}

.ohhsem-v2-topnav a.is-active {
    border-bottom-color: var(--ohhsem-text);
}

.ohhsem-v2-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ohhsem-v2-user > div strong,
.ohhsem-v2-user > div span {
    display: block;
    text-align: right;
}

.ohhsem-page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.ohhsem-narrow-page {
    width: min(900px, calc(100% - 48px));
}

.ohhsem-page-heading,
.ohhsem-workspace-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.ohhsem-page-heading h1,
.ohhsem-workspace-heading h1 {
    margin: 8px 0 7px;
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.ohhsem-page-heading p,
.ohhsem-workspace-heading p {
    margin: 0;
    color: var(--ohhsem-muted);
    line-height: 1.55;
}

.ohhsem-heading-single {
    align-items: flex-start;
}

.ohhsem-heading-actions,
.ohhsem-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ohhsem-btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.ohhsem-btn-primary {
    background: #191919;
    color: #fff;
    border-color: #191919;
}

.ohhsem-btn-secondary {
    background: #fff;
    color: #1d1d1b;
    border-color: #dededb;
}

.ohhsem-filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 190px 160px auto auto;
    gap: 10px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ohhsem-line);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 16px;
}

.ohhsem-filter-bar input,
.ohhsem-filter-bar select,
.ohhsem-field input,
.ohhsem-field select,
.ohhsem-field textarea {
    width: 100%;
    border: 1px solid #dcdcd9;
    border-radius: 10px;
    background: #fff;
    color: var(--ohhsem-text);
    font: inherit;
    font-size: 14px;
}

.ohhsem-filter-bar input,
.ohhsem-filter-bar select,
.ohhsem-field input,
.ohhsem-field select {
    min-height: 43px;
    padding: 0 12px;
}

.ohhsem-field textarea {
    padding: 11px 12px;
    resize: vertical;
    line-height: 1.5;
}

.ohhsem-filter-bar input:focus,
.ohhsem-filter-bar select:focus,
.ohhsem-field input:focus,
.ohhsem-field select:focus,
.ohhsem-field textarea:focus {
    outline: 2px solid #1f1f1f;
    outline-offset: 1px;
}

.ohhsem-filter-reset {
    color: var(--ohhsem-muted);
    font-size: 12px;
    font-weight: 700;
}

.ohhsem-package-table-wrap {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ohhsem-line);
    border-radius: 17px;
}

.ohhsem-package-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ohhsem-package-table th {
    padding: 13px 16px;
    color: #777;
    background: #fafaf8;
    border-bottom: 1px solid var(--ohhsem-line);
    text-align: left;
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.ohhsem-package-table td {
    padding: 17px 16px;
    border-bottom: 1px solid #efefed;
    vertical-align: middle;
}

.ohhsem-package-table tbody tr:last-child td {
    border-bottom: 0;
}

.ohhsem-package-name {
    display: block;
    color: var(--ohhsem-text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ohhsem-package-table td small {
    display: block;
    margin-top: 3px;
    color: #8a8a86;
    font-size: 11px;
}

.ohhsem-row-action {
    text-align: right;
}

.ohhsem-row-action a {
    color: #252525;
    font-weight: 800;
}

.ohhsem-type-badge,
.ohhsem-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.ohhsem-type-badge {
    color: #333;
    background: #efefec;
}

.ohhsem-status.is-active {
    color: #17623c;
    background: #e9f6ef;
}

.ohhsem-status.is-inactive,
.ohhsem-status.is-draft {
    color: #6b6554;
    background: #f2f0e8;
}

.ohhsem-empty-state {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 44px 24px;
    background: #fff;
    border: 1px solid var(--ohhsem-line);
    border-radius: 18px;
}

.ohhsem-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    border-radius: 16px;
    background: #efefed;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ohhsem-empty-state h2 {
    margin: 0 0 7px;
    font-size: 22px;
}

.ohhsem-empty-state p {
    max-width: 480px;
    margin: 0 0 20px;
    color: var(--ohhsem-muted);
}

.ohhsem-back-link {
    display: inline-flex;
    margin-bottom: 22px;
    color: #61615d;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ohhsem-type-chooser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ohhsem-type-chooser > a {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--ohhsem-line);
    border-radius: 19px;
    color: var(--ohhsem-text);
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .025);
    transition: transform .15s ease, border-color .15s ease;
}

.ohhsem-type-chooser > a:hover {
    transform: translateY(-2px);
    border-color: #bdbdb7;
}

.ohhsem-type-symbol {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 32px;
    border-radius: 14px;
    background: #f0f0ed;
    font-size: 20px;
}

.ohhsem-type-chooser strong {
    font-size: 20px;
}

.ohhsem-type-chooser p {
    margin: 9px 0 20px;
    color: var(--ohhsem-muted);
    line-height: 1.55;
}

.ohhsem-type-chooser small {
    margin-top: auto;
    color: #777;
    font-weight: 700;
}

.ohhsem-inline-note,
.ohhsem-locked-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #efefec;
    color: #555550;
    font-size: 12px;
    line-height: 1.55;
}

.ohhsem-locked-note code {
    color: #222;
    font-weight: 800;
}

.ohhsem-workspace-heading {
    align-items: flex-start;
    margin-bottom: 18px;
}

.ohhsem-heading-meta {
    display: flex;
    gap: 8px;
}

.ohhsem-workspace-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    margin: 0 0 22px;
    padding: 5px;
    background: #eaeae7;
    border-radius: 13px;
    scrollbar-width: none;
}

.ohhsem-workspace-tabs::-webkit-scrollbar {
    display: none;
}

.ohhsem-workspace-tabs a,
.ohhsem-workspace-tabs span {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 0 13px;
    border-radius: 9px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ohhsem-workspace-tabs a.is-active {
    color: #1f1f1f;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}

.ohhsem-workspace-tabs span {
    opacity: .6;
    cursor: default;
}

.ohhsem-workspace-tabs small {
    padding: 3px 5px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .06);
    font-size: 9px;
}

.ohhsem-editor-form {
    display: grid;
    gap: 14px;
}

.ohhsem-form-card,
.ohhsem-overview-card,
.ohhsem-summary-card {
    background: #fff;
    border: 1px solid var(--ohhsem-line);
    border-radius: 18px;
    padding: 22px;
}

.ohhsem-form-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 19px;
    border-bottom: 1px solid #efefed;
}

.ohhsem-form-card-heading h2 {
    margin: 0 0 5px;
    font-size: 17px;
}

.ohhsem-form-card-heading p {
    margin: 0;
    color: var(--ohhsem-muted);
    font-size: 12px;
}

.ohhsem-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ohhsem-field {
    display: block;
}

.ohhsem-field-full {
    grid-column: 1 / -1;
}

.ohhsem-field > span {
    display: block;
    margin-bottom: 7px;
    color: #393936;
    font-size: 12px;
    font-weight: 800;
}

.ohhsem-field > span b {
    color: #a62323;
}

.ohhsem-field > span small {
    color: #888;
    font-weight: 500;
}

.ohhsem-field > small {
    display: block;
    margin-top: 6px;
    color: #858581;
    font-size: 11px;
}

.ohhsem-field > small a {
    color: #4d4d49;
    font-weight: 700;
}

.ohhsem-field input:disabled {
    color: #777;
    background: #f4f4f1;
}

.ohhsem-form-actions {
    justify-content: flex-end;
    padding-top: 3px;
}

.ohhsem-two-column {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: 16px;
    align-items: start;
}

.ohhsem-destination-form {
    display: grid;
    gap: 15px;
}

.ohhsem-destination-form .ohhsem-form-card-heading {
    margin-bottom: 0;
}

.ohhsem-destination-list {
    display: grid;
}

.ohhsem-destination-list > div {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #efefed;
}

.ohhsem-destination-list > div:last-child {
    border-bottom: 0;
}

.ohhsem-destination-list strong {
    font-size: 13px;
}

.ohhsem-destination-list span {
    color: #777;
    font-size: 12px;
}

.ohhsem-mini-empty {
    padding: 24px 0;
    color: #777;
    text-align: center;
}

.ohhsem-overview-card {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    overflow: hidden;
    background: #ededeb;
}

.ohhsem-overview-card > div {
    padding: 20px;
    background: #fff;
}

.ohhsem-overview-card span,
.ohhsem-overview-card strong {
    display: block;
}

.ohhsem-overview-card span {
    margin-bottom: 9px;
    color: #888;
    font-size: 11px;
}

.ohhsem-overview-card strong {
    font-size: 14px;
}

.ohhsem-summary-card {
    margin-top: 14px;
}

.ohhsem-summary-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.ohhsem-summary-card p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.65;
}

.ohhsem-flash {
    margin-bottom: 16px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.ohhsem-flash.is-success {
    color: #17623c;
    background: #edf8f2;
    border-color: #cbe7d7;
}

.ohhsem-flash.is-error {
    color: #902525;
    background: #fff1f1;
    border-color: #f0cece;
}

@media (max-width: 900px) {
    .ohhsem-v2-app-header {
        flex-wrap: wrap;
        gap: 0;
    }

    .ohhsem-v2-topnav {
        order: 3;
        width: 100%;
        height: 42px;
        margin: 8px 0 -14px;
        border-top: 1px solid var(--ohhsem-line);
    }

    .ohhsem-v2-topnav a {
        flex: 1;
        justify-content: center;
        padding: 0 10px;
    }

    .ohhsem-filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .ohhsem-filter-bar input {
        grid-column: 1 / -1;
    }

    .ohhsem-filter-reset {
        text-align: center;
    }

    .ohhsem-overview-card {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .ohhsem-page,
    .ohhsem-narrow-page {
        width: min(calc(100% - 28px), 1180px);
        padding: 32px 0 56px;
    }

    .ohhsem-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ohhsem-heading-actions {
        width: 100%;
    }

    .ohhsem-heading-actions .ohhsem-btn {
        flex: 1;
    }

    .ohhsem-filter-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .ohhsem-package-table-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
    }

    .ohhsem-package-table,
    .ohhsem-package-table tbody,
    .ohhsem-package-table tr,
    .ohhsem-package-table td {
        display: block;
        width: 100%;
    }

    .ohhsem-package-table thead {
        display: none;
    }

    .ohhsem-package-table tr {
        margin-bottom: 10px;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--ohhsem-line);
        border-radius: 15px;
    }

    .ohhsem-package-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 34px;
        padding: 6px 0;
        border: 0;
        text-align: right;
    }

    .ohhsem-package-table td::before {
        content: attr(data-label);
        color: #888;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .ohhsem-package-table td:first-child {
        display: block;
        padding: 0 0 12px;
        margin-bottom: 7px;
        border-bottom: 1px solid #efefed;
        text-align: left;
    }

    .ohhsem-package-table td:first-child::before,
    .ohhsem-package-table .ohhsem-row-action::before {
        display: none;
    }

    .ohhsem-package-table .ohhsem-row-action {
        justify-content: flex-end;
        padding-top: 12px;
    }

    .ohhsem-type-chooser,
    .ohhsem-form-grid,
    .ohhsem-two-column {
        grid-template-columns: 1fr;
    }

    .ohhsem-field-full {
        grid-column: auto;
    }

    .ohhsem-type-chooser > a {
        min-height: 220px;
    }

    .ohhsem-workspace-tabs {
        margin-right: -14px;
        margin-left: -14px;
        border-radius: 0;
        padding-right: 14px;
        padding-left: 14px;
    }

    .ohhsem-form-card {
        padding: 18px;
    }

    .ohhsem-form-card-heading {
        flex-direction: column;
        gap: 10px;
    }

    .ohhsem-form-actions {
        position: sticky;
        bottom: 0;
        z-index: 10;
        margin: 0 -14px -20px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        background: rgba(245, 245, 243, .96);
        border-top: 1px solid #e1e1de;
        backdrop-filter: blur(12px);
    }

    .ohhsem-form-actions .ohhsem-btn {
        flex: 1;
    }

    .ohhsem-overview-card {
        grid-template-columns: 1fr 1fr;
    }

    .ohhsem-destination-list > div {
        grid-template-columns: 1fr auto;
    }

    .ohhsem-destination-list span {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 480px) {
    .ohhsem-v2-user > div {
        display: none;
    }

    .ohhsem-v2-user {
        gap: 0;
    }

    .ohhsem-overview-card {
        grid-template-columns: 1fr;
    }
}

/* Phase 3 — Simplified Pricing Setup */
.ohhsem-pricing-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 14px;
    padding: 18px 20px;
    background: #171716;
    border-radius: 15px;
    color: #fff;
}

.ohhsem-pricing-intro strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.ohhsem-pricing-intro p {
    max-width: 720px;
    margin: 0;
    color: #c8c8c2;
    font-size: 11px;
    line-height: 1.55;
}

.ohhsem-pricing-intro > span {
    flex: 0 0 auto;
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    color: #deded8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .07em;
}

.ohhsem-readonly-note {
    margin: 14px 0;
    padding: 13px 15px;
    border: 1px solid #deded9;
    border-radius: 11px;
    background: #fff;
    color: #686864;
    font-size: 11px;
    line-height: 1.5;
}

.ohhsem-simple-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ohhsem-simple-price-card {
    margin: 0;
}

.ohhsem-simple-price-card .ohhsem-form-card-heading {
    margin-bottom: 14px;
}

.ohhsem-simple-price-card .ohhsem-form-card-heading h2 {
    margin-bottom: 4px;
}

.ohhsem-simple-price-card .ohhsem-form-card-heading p {
    max-width: 520px;
    margin: 0;
    color: #7a7a75;
    font-size: 10px;
    line-height: 1.5;
}

.ohhsem-setting-kicker {
    display: block;
    margin-bottom: 5px;
    color: #9a332b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.ohhsem-price-type-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ohhsem-price-type-list > div {
    min-height: 72px;
    padding: 12px;
    border: 1px solid #e1e1dd;
    border-radius: 10px;
    background: #fafaf8;
}

.ohhsem-price-type-list span,
.ohhsem-price-type-list small {
    display: block;
}

.ohhsem-price-type-list span {
    margin-bottom: 5px;
    color: #242422;
    font-size: 12px;
    font-weight: 850;
}

.ohhsem-price-type-list small {
    color: #8a8a85;
    font-size: 9px;
    line-height: 1.4;
}

.ohhsem-simple-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #dfdfdb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.ohhsem-simple-choice.is-selected {
    border-color: #b9aaa5;
    background: #faf8f7;
}

.ohhsem-simple-choice input {
    width: auto;
    margin-top: 2px;
}

.ohhsem-simple-choice span,
.ohhsem-simple-choice strong,
.ohhsem-simple-choice small {
    display: block;
}

.ohhsem-simple-choice strong {
    margin-bottom: 3px;
    font-size: 11px;
}

.ohhsem-simple-choice small {
    color: #858580;
    font-size: 9px;
    line-height: 1.45;
}

.ohhsem-money-field {
    display: block;
    margin-top: 8px;
}

.ohhsem-money-field > span {
    display: block;
    margin-bottom: 6px;
    color: #646460;
    font-size: 10px;
    font-weight: 800;
}

.ohhsem-money-field > div {
    display: flex;
    align-items: center;
    max-width: 260px;
    overflow: hidden;
    border: 1px solid #d8d8d4;
    border-radius: 9px;
    background: #fff;
}

.ohhsem-money-field b {
    padding: 0 10px;
    color: #74746f;
    font-size: 10px;
}

.ohhsem-money-field input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-left: 1px solid #e1e1dd;
    background: transparent;
    font-size: 12px;
}

.ohhsem-simple-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 10px 11px;
    border-radius: 9px;
    background: #f1f1ee;
    color: #696965;
    font-size: 10px;
}

.ohhsem-simple-formula strong {
    color: #20201e;
}

.ohhsem-simple-note {
    margin: 8px 0 0;
    color: #8a8a85;
    font-size: 9px;
    line-height: 1.5;
}

.ohhsem-toggle-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border: 1px solid #dfdfdb;
    border-radius: 10px;
    background: #fff;
}

.ohhsem-toggle-line input {
    width: auto;
    margin-top: 2px;
}

.ohhsem-toggle-line span,
.ohhsem-toggle-line strong,
.ohhsem-toggle-line small {
    display: block;
}

.ohhsem-toggle-line strong {
    margin-bottom: 3px;
    font-size: 11px;
}

.ohhsem-toggle-line small {
    color: #858580;
    font-size: 9px;
}

.ohhsem-simple-value {
    padding: 13px;
    border: 1px solid #e1e1dd;
    border-radius: 10px;
    background: #fafaf8;
}

.ohhsem-simple-value span,
.ohhsem-simple-value strong {
    display: block;
}

.ohhsem-simple-value span {
    margin-bottom: 5px;
    color: #84847f;
    font-size: 9px;
    font-weight: 800;
}

.ohhsem-simple-value strong {
    font-size: 13px;
}

.ohhsem-simple-age-card {
    grid-column: 1 / -1;
}

.ohhsem-simple-age-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.ohhsem-simple-age-grid label,
.ohhsem-simple-age-grid > div {
    min-height: 88px;
    padding: 11px;
    border: 1px solid #e1e1dd;
    border-radius: 10px;
    background: #fafaf8;
}

.ohhsem-simple-age-grid span,
.ohhsem-simple-age-grid small,
.ohhsem-simple-age-grid em,
.ohhsem-simple-age-grid strong {
    display: block;
}

.ohhsem-simple-age-grid span {
    margin-bottom: 5px;
    color: #282826;
    font-size: 11px;
    font-weight: 850;
}

.ohhsem-simple-age-grid small,
.ohhsem-simple-age-grid em {
    color: #8c8c87;
    font-size: 9px;
    font-style: normal;
}

.ohhsem-simple-age-grid input {
    width: 84px;
    min-height: 34px;
    margin: 4px 0;
    padding: 6px 8px;
    border: 1px solid #d8d8d4;
    border-radius: 8px;
    background: #fff;
}

.ohhsem-simple-age-grid strong {
    margin: 9px 0 3px;
    font-size: 17px;
}

.ohhsem-pricing-summary-card {
    margin-top: 14px;
}

.ohhsem-pricing-flow {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.ohhsem-flow-step {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e1e1dd;
    border-radius: 10px;
    background: #fafaf8;
}

.ohhsem-flow-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #242422;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.ohhsem-flow-step strong,
.ohhsem-flow-step small {
    display: block;
}

.ohhsem-flow-step strong {
    margin-bottom: 4px;
    font-size: 10px;
}

.ohhsem-flow-step small {
    color: #858580;
    font-size: 9px;
    line-height: 1.45;
}

.ohhsem-flow-arrow {
    display: flex;
    align-items: center;
    color: #a3a39d;
    font-size: 15px;
}

.ohhsem-simple-pricing-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

@media (max-width: 800px) {
    .ohhsem-simple-price-grid {
        grid-template-columns: 1fr;
    }

    .ohhsem-simple-age-card {
        grid-column: auto;
    }

    .ohhsem-pricing-flow {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ohhsem-flow-arrow {
        display: none;
    }
}

@media (max-width: 680px) {
    .ohhsem-pricing-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .ohhsem-pricing-intro > span {
        align-self: flex-start;
    }

    .ohhsem-price-type-list,
    .ohhsem-simple-age-grid,
    .ohhsem-pricing-flow {
        grid-template-columns: 1fr;
    }

    .ohhsem-money-field > div {
        max-width: none;
    }

    .ohhsem-simple-pricing-actions .ohhsem-btn {
        width: 100%;
    }
}

/* Phase 4 · Schedule / Departure Core + Flight Logistics */
.ohhsem-schedule-heading {
    margin-top: 18px;
}

.ohhsem-schedule-list,
.ohhsem-flight-list {
    display: grid;
    gap: 10px;
}

.ohhsem-schedule-card,
.ohhsem-flight-card {
    border: 1px solid var(--ohhsem-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.ohhsem-schedule-card-main {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 150px auto;
    align-items: center;
    gap: 16px;
    padding: 15px 18px;
    color: inherit;
    text-decoration: none;
}

.ohhsem-schedule-card-main:hover,
.ohhsem-flight-card:hover {
    background: #fafaf8;
}

.ohhsem-schedule-datebox {
    padding: 10px;
    border-radius: 11px;
    background: #f2f2ef;
    text-align: center;
}

.ohhsem-schedule-datebox strong,
.ohhsem-schedule-datebox small {
    display: block;
}

.ohhsem-schedule-datebox strong {
    color: #252523;
    font-size: 14px;
}

.ohhsem-schedule-datebox small {
    margin-top: 3px;
    color: #858580;
    font-size: 9px;
}

.ohhsem-schedule-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.ohhsem-schedule-title > strong {
    font-size: 13px;
}

.ohhsem-schedule-card-info > small {
    color: #989892;
    font-size: 9px;
}

.ohhsem-schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    color: #777771;
    font-size: 10px;
}

.ohhsem-schedule-price {
    text-align: right;
}

.ohhsem-schedule-price small,
.ohhsem-schedule-price strong,
.ohhsem-schedule-price span {
    display: block;
}

.ohhsem-schedule-price small,
.ohhsem-schedule-price span {
    color: #8c8c87;
    font-size: 9px;
}

.ohhsem-schedule-price strong {
    margin: 3px 0;
    font-size: 14px;
}

.ohhsem-schedule-open {
    color: #62625e;
    font-size: 10px;
    font-weight: 800;
}

.ohhsem-form-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 14px;
}

.ohhsem-form-title-row h1,
.ohhsem-form-title-row h2 {
    margin: 5px 0 2px;
}

.ohhsem-form-title-row small {
    color: #8a8a85;
    font-size: 10px;
}

.ohhsem-inline-form {
    margin: 0;
}

.ohhsem-schedule-form,
.ohhsem-flight-form {
    display: grid;
    gap: 14px;
}

.ohhsem-schedule-form-grid,
.ohhsem-readonly-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 14px;
}

.ohhsem-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ohhsem-field-grid .ohhsem-field:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.ohhsem-form-card-heading h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.ohhsem-setting-kicker {
    display: block;
    margin-bottom: 5px;
    color: #92928c;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .09em;
}

.ohhsem-config-pill {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 8px;
    background: #f0f0ed;
    color: #555550;
    font-size: 9px;
    font-weight: 800;
}

.ohhsem-market-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ohhsem-market-price-grid > :only-child {
    grid-column: 1 / -1;
    max-width: 680px;
}

.ohhsem-market-price-card {
    border: 1px solid #e2e2de;
    border-radius: 13px;
    background: #fafaf8;
    overflow: hidden;
}

.ohhsem-market-price-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #e8e8e4;
    background: #f3f3f0;
}

.ohhsem-market-price-heading strong {
    font-size: 12px;
}

.ohhsem-market-price-heading small {
    color: #898984;
    font-size: 9px;
}

.ohhsem-schedule-price-row {
    display: grid;
    grid-template-columns: minmax(125px, 1fr) minmax(120px, 150px) 105px;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border-bottom: 1px solid #ecece8;
}

.ohhsem-schedule-price-row > span {
    font-size: 11px;
    font-weight: 800;
}

.ohhsem-price-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #dadad6;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.ohhsem-price-input-wrap b {
    padding: 0 8px;
    color: #858580;
    font-size: 9px;
}

.ohhsem-price-input-wrap input {
    min-width: 0;
    width: 100%;
    min-height: 36px;
    padding: 6px 8px;
    border: 0;
    border-left: 1px solid #e0e0dc;
    background: transparent;
}

.ohhsem-agency-price-preview {
    text-align: right;
}

.ohhsem-agency-price-preview small,
.ohhsem-agency-price-preview strong {
    display: block;
}

.ohhsem-agency-price-preview small {
    color: #999993;
    font-size: 8px;
}

.ohhsem-agency-price-preview strong {
    margin-top: 2px;
    font-size: 10px;
}

.ohhsem-solo-preview {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    background: #f1f1ee;
}

.ohhsem-solo-preview span {
    font-size: 10px;
    font-weight: 850;
}

.ohhsem-solo-preview small {
    color: #858580;
    font-size: 9px;
}

.ohhsem-solo-preview strong {
    font-size: 11px;
}

.ohhsem-readonly-schedule-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
}

.ohhsem-readonly-schedule-head h2 {
    margin: 5px 0 0;
}

.ohhsem-fact-list {
    display: grid;
    gap: 10px;
}

.ohhsem-fact-list > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ededeb;
}

.ohhsem-fact-list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ohhsem-fact-list span {
    color: #858580;
    font-size: 10px;
}

.ohhsem-fact-list strong {
    font-size: 11px;
}

.ohhsem-readonly-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 13px;
    border-bottom: 1px solid #ecece8;
}

.ohhsem-readonly-price-row span,
.ohhsem-readonly-price-row strong {
    font-size: 11px;
}

.ohhsem-readonly-price-row.is-solo {
    background: #f1f1ee;
}

.ohhsem-flight-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px auto;
    align-items: center;
    gap: 18px;
    padding: 15px 18px;
    color: inherit;
    text-decoration: none;
}

.ohhsem-flight-card > div:first-child strong,
.ohhsem-flight-card > div:first-child small {
    display: block;
}

.ohhsem-flight-card > div:first-child strong {
    margin: 7px 0 4px;
    font-size: 13px;
}

.ohhsem-flight-card > div:first-child small,
.ohhsem-flight-date small {
    color: #888883;
    font-size: 9px;
}

.ohhsem-flight-date strong {
    display: block;
    margin-top: 3px;
    font-size: 11px;
}

.ohhsem-flight-card > span {
    color: #656560;
    font-size: 10px;
    font-weight: 800;
}

.ohhsem-flight-segments {
    display: grid;
    gap: 10px;
}

.ohhsem-flight-segment-row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 32px;
    align-items: start;
    gap: 12px;
    padding: 13px;
    border: 1px solid #e2e2de;
    border-radius: 12px;
    background: #fafaf8;
}

.ohhsem-segment-index {
    padding-top: 6px;
    text-align: center;
}

.ohhsem-segment-index span,
.ohhsem-segment-index strong {
    display: block;
}

.ohhsem-segment-index span {
    color: #999993;
    font-size: 7px;
    font-weight: 900;
}

.ohhsem-segment-index strong {
    margin-top: 4px;
    font-size: 17px;
}

.ohhsem-segment-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ohhsem-segment-fields label > span {
    display: block;
    margin-bottom: 5px;
    color: #666661;
    font-size: 9px;
    font-weight: 800;
}

.ohhsem-segment-fields input,
.ohhsem-segment-fields select {
    width: 100%;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid #dcdcd8;
    border-radius: 8px;
    background: #fff;
    font-size: 10px;
}

.ohhsem-segment-remove {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #dededa;
    border-radius: 8px;
    background: #fff;
    color: #858580;
    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 900px) {
    .ohhsem-schedule-card-main {
        grid-template-columns: 72px minmax(0, 1fr) 125px;
    }
    .ohhsem-schedule-open {
        display: none;
    }
    .ohhsem-segment-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ohhsem-schedule-form-grid,
    .ohhsem-readonly-grid,
    .ohhsem-market-price-grid,
    .ohhsem-field-grid {
        grid-template-columns: 1fr;
    }
    .ohhsem-field-grid .ohhsem-field:last-child:nth-child(odd),
    .ohhsem-market-price-grid > :only-child {
        grid-column: auto;
        max-width: none;
    }
    .ohhsem-schedule-card-main {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 11px;
        padding: 13px;
    }
    .ohhsem-schedule-price {
        grid-column: 1 / -1;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        padding-top: 10px;
        border-top: 1px solid #ededeb;
        text-align: left;
    }
    .ohhsem-schedule-price small,
    .ohhsem-schedule-price strong,
    .ohhsem-schedule-price span {
        display: inline;
        margin: 0;
    }
    .ohhsem-schedule-price span {
        margin-left: auto;
    }
    .ohhsem-form-title-row {
        align-items: stretch;
        flex-direction: column;
    }
    .ohhsem-inline-form .ohhsem-btn {
        width: 100%;
    }
    .ohhsem-schedule-price-row {
        grid-template-columns: 1fr 1fr;
    }
    .ohhsem-schedule-price-row > span {
        grid-column: 1 / -1;
    }
    .ohhsem-agency-price-preview {
        text-align: right;
    }
    .ohhsem-flight-card {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }
    .ohhsem-flight-date {
        display: none;
    }
    .ohhsem-flight-segment-row {
        grid-template-columns: 45px minmax(0, 1fr) 28px;
        padding: 10px;
    }
    .ohhsem-segment-fields {
        grid-template-columns: 1fr;
    }
}
