/* Reply CMP light palette and Alaska typography. Presentation only; upstream controls remain. */
@font-face { font-family: Alaska; src: url('AlaskaBeta-Light.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Alaska; src: url('AlaskaBeta-Regular.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Alaska; src: url('AlaskaBeta-SemiBold.otf') format('opentype'); font-weight: 600 800; font-display: swap; }

:root {
    --cmp-orange: #f19653;
    --cmp-ink: #111217;
    --cmp-muted: #666;
    --cmp-surface: #f5f5f5;
    --cmp-border: #e6e6e6;
}
body.cmp-marketplace {
    font-family: Alaska, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 14px !important;
    color: var(--cmp-ink) !important;
    background: #fff;
    margin: 0;
    line-height: 1.55;
}
.cmp-marketplace h1, .cmp-marketplace h2, .cmp-marketplace h3,
.cmp-marketplace input, .cmp-marketplace select, .cmp-marketplace button { font-family: inherit; }
.cmp-marketplace a { color: #9a4b10; }
.cmp-marketplace a:hover { color: #753608; }
.cmp-marketplace :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #9a4b10;
    outline-offset: 3px;
}
.cmp-marketplace .cm-top-nav-bar {
    height: 64px;
    padding: 0 24px;
    background: var(--cmp-surface) !important;
    border-bottom: 1px solid var(--cmp-border);
}
.cmp-marketplace .navbar-brand { margin: 0; line-height: 1; }
.cmp-marketplace .cm-logo { height: 40px; max-height: 40px; width: auto; padding: 0 !important; margin: 0; }
.cmp-brand { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.cmp-workspace-label {
    border-left: 1px solid #d7d7d7;
    padding-left: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cmp-muted);
}
.cmp-marketplace .cm-top-nav-bar .text-white { color: var(--cmp-ink) !important; }
.cmp-marketplace .cm-username { font-size: 13px; border-color: #d7d7d7; padding-right: 16px; }
.cmp-marketplace .cm-logout { padding-left: 12px; }
.cmp-marketplace .cm-section-heading {
    display: inline-block;
    font-family: inherit !important;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
    color: var(--cmp-ink);
    background: transparent;
    border: 0;
    margin-bottom: 0;
}
.cmp-marketplace .cm-panel-default, .cmp-marketplace .customcards, .cmp-marketplace .card {
    background: var(--cmp-surface) !important;
    border: 1px solid var(--cmp-border);
    border-radius: 10px;
    box-shadow: none;
    padding: 24px;
}
.cmp-marketplace dl.row { margin-bottom: 0; }
.cmp-marketplace dt { color: var(--cmp-muted); font-size: 13px; font-weight: 500; }
.cmp-marketplace dd { font-weight: 500; overflow-wrap: anywhere; margin-bottom: 0; }
.cmp-marketplace dl :is(dt, dd) { padding-top: 9px !important; padding-bottom: 9px !important; }
.cmp-marketplace :is(.cm-button, .cm-button-default, .cm-button-error, .cm-button-success, .cm-button-danger, .btn-primary) {
    border-radius: 7px;
    border: 1px solid transparent;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
    text-decoration: none;
    box-shadow: none;
}
.cmp-marketplace :is(.cm-button, .cm-button-default, .cm-button-error, .btn-primary) {
    background: var(--cmp-orange) !important;
    color: var(--cmp-ink) !important;
}
.cmp-marketplace :is(.cm-button, .cm-button-default, .cm-button-error, .btn-primary):hover { background: #ffb867 !important; }
.cmp-marketplace .cm-button-danger { background: #fff1f1; color: #a51d32; border-color: #ecc8ce; }
.cmp-marketplace .cm-button-danger:hover { background: #ffe2e5; color: #a51d32; }
.cmp-marketplace .cm-button-success { background: #e8f5ec; color: #166534; border-color: #c1dfcb; }
.cmp-marketplace .cm-button-success:hover { background: #d7eddf; color: #166534; }
.cmp-marketplace :is(.form-control, .form-select, input:not([type]), input[type=text], input[type=email], input[type=number], select, textarea) {
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: var(--cmp-ink);
    font-size: 14px;
    max-width: 100%;
}
.cmp-marketplace :is(.form-control, .form-select):focus { border-color: var(--cmp-orange); box-shadow: 0 0 0 3px #f196532b; }
.cmp-marketplace input[type=checkbox] { accent-color: #9a4b10; margin-right: 8px; }
.cmp-marketplace .cmp-provisioning { border-left: 3px solid var(--cmp-orange); }
.cmp-marketplace .cmp-provisioning > label:first-child { display: block; margin-bottom: 8px; font-weight: 600; }
.cmp-marketplace .cmp-provisioning p { margin: 12px 0 0; color: var(--cmp-muted); font-size: 13px; }
.cmp-marketplace .cm-table { border-color: var(--cmp-border); background: #fff; font-size: 14px; }
.cmp-marketplace .cm-table th { background: var(--cmp-surface) !important; color: var(--cmp-muted); font-size: 12px; font-weight: 600; text-align: left; }
.cmp-marketplace .cm-table :is(th, td) { padding: 14px 16px; vertical-align: middle; border-color: var(--cmp-border); }
.cmp-marketplace .cm-table tbody tr:hover { background: #fff8f2; }
.cmp-marketplace .dataTables_wrapper { max-width: 100%; }
.cmp-marketplace .dropdown-menu { border: 1px solid var(--cmp-border); border-radius: 8px; box-shadow: 0 8px 24px #11121714; }
.cmp-marketplace a.cm-dropdown-option:hover { background: var(--cmp-surface) !important; color: var(--cmp-ink) !important; }
.cmp-status { display: inline-block; border-radius: 5px; padding: 3px 9px; font-size: 12px; font-weight: 600; background: #ededed; color: #555; }
.cmp-status[data-status^=Pending] { background: #fff0dd; color: #884613; }
.cmp-status[data-status=Subscribed] { background: #e8f5ec; color: #166534; }
.cmp-status[data-status=Suspend], .cmp-status[data-status$=Failed] { background: #ffe8e8; color: #a51d32; }
.cmp-marketplace .cm-footer { position: static; height: auto; padding: 18px 24px; line-height: 1.5; color: var(--cmp-muted) !important; background: #fff; border-top: 1px solid var(--cmp-border); }

.cmp-customer { padding-top: 64px; }
.cmp-customer > .container { min-height: calc(100vh - 169px); padding: 24px; }
.cmp-customer .cm-menu-bar { margin-top: 0; height: 48px; background: #fff !important; border-bottom: 1px solid var(--cmp-border); box-shadow: none !important; }
.cmp-customer .cm-menu-bar .nav { height: 48px; padding-bottom: 0 !important; align-items: center; }
.cmp-customer .cm-menu-bar .nav-link { padding: 10px 16px; color: var(--cmp-muted); font-family: inherit; }
.cmp-customer .cm-menu-bar .nav-link:hover { color: var(--cmp-ink); background: #fff0dd; border-radius: 6px; }
.cmp-marketplace .cm-top-nav-bar .offcanvas-collapse { position: static; visibility: visible; transform: none; width: auto; padding: 0; margin: 0; background: transparent; display: flex; flex: 1; }
.cmp-customer .display-4 { font-size: 32px; font-weight: 600; }
.cmp-customer .mt40, .cmp-admin .mt40 { margin-top: 24px; }
.cmp-customer .card-body { padding: 0; }

/* Welcome page only: the purchase details and operator portal retain their layouts. */
.cmp-welcome { padding: 8px 0 32px; }
.cmp-welcome .cmp-eyebrow { margin: 0 0 16px; color: #854117; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cmp-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; padding: 48px 44px; border-radius: 18px; background: linear-gradient(115deg, #fff8f1, #f7ebdf); border: 1px solid #f0decd; }
.cmp-hero h1 { margin: 0 0 24px; font-size: clamp(38px, 4.4vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; }
.cmp-hero h1 span { color: #a85318; }
.cmp-hero-description { max-width: 490px; margin-bottom: 26px; font-size: 17px; line-height: 1.6; color: #4d4843; }
.cmp-welcome-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cmp-welcome .cmp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 46px; padding: 12px 18px; border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; }
.cmp-welcome .cmp-cta-primary { background: var(--cmp-ink); color: #fff; }
.cmp-welcome .cmp-cta-primary:hover { background: #333; color: #fff; }
.cmp-welcome .cmp-cta-secondary { border: 1px solid #d5b79d; color: var(--cmp-ink); background: #ffffff80; }
.cmp-welcome .cmp-cta-secondary:hover { background: #fff; }
.cmp-welcome .cmp-activation-link { display: inline-flex; gap: 10px; margin-top: 22px; color: #704322; font-size: 12px; text-underline-offset: 4px; }
.cmp-cloud-map { min-width: 0; }
.cmp-cloud-map svg { width: 100%; height: auto; display: block; }
.cmp-capabilities { padding: 56px 0 40px; }
.cmp-section-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 12px; }
.cmp-section-intro h2, .cmp-activation h2 { font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.cmp-section-intro > p { max-width: 310px; color: var(--cmp-muted); margin: 0; font-size: 14px; }
.cmp-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
.cmp-feature { padding: 30px 0; border-bottom: 1px solid var(--cmp-border); }
.cmp-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #fff0e2; color: #9a4b10; border-radius: 10px; font-size: 19px; margin-bottom: 18px; }
.cmp-feature h3 { font-size: 20px; font-weight: 600; line-height: 1.25; margin: 0 0 6px; letter-spacing: -.015em; }
.cmp-welcome .cmp-feature-label { color: #854117; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.cmp-feature > p:not(.cmp-feature-label) { font-size: 14px; color: var(--cmp-muted); margin-bottom: 16px; }
.cmp-feature > a { display: inline-flex; gap: 8px; font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.cmp-activation { padding: 36px; background: var(--cmp-surface); border: 1px solid var(--cmp-border); border-radius: 14px; scroll-margin-top: 80px; }
.cmp-activation > p:not(.cmp-eyebrow) { color: var(--cmp-muted); margin: 14px 0 0; }
.cmp-activation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 32px 0; padding: 0; }
.cmp-step-number { display: block; color: #a85318; font-size: 28px; font-weight: 500; margin-bottom: 14px; }
.cmp-activation-steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.cmp-activation-steps p { color: #555; font-size: 13px; margin: 0; }
.cmp-activation-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ddd; padding-top: 20px; }
.cmp-activation-footer p { font-size: 12px; color: #555; margin: 0; max-width: 540px; }
.cmp-activation-footer a { font-weight: 600; font-size: 13px; text-underline-offset: 4px; }
.cmp-docs-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0 0; }
.cmp-docs-strip h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.cmp-docs-strip p { color: var(--cmp-muted); font-size: 13px; margin: 0; }
.cmp-docs-links { display: flex; flex-wrap: wrap; gap: 20px; }
.cmp-docs-links a { font-size: 13px; font-weight: 600; text-underline-offset: 4px; }

@media (max-width: 991px) {
    .cmp-hero { padding: 32px; grid-template-columns: 1.2fr 1fr; }
    .cmp-hero h1 { font-size: 42px; }
    .cmp-hero-description { font-size: 15px; }
    .cmp-section-intro { align-items: start; }
    .cmp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmp-activation { padding: 28px; }
    .cmp-activation-steps { gap: 22px; }
    .cmp-activation-footer, .cmp-docs-strip { align-items: start; flex-direction: column; gap: 16px; }
}
@media (max-width: 575px) {
    .cmp-welcome { padding-top: 0; }
    .cmp-hero { grid-template-columns: 1fr; padding: 26px 22px 18px; gap: 18px; }
    .cmp-hero h1 { font-size: 42px; }
    .cmp-cloud-map { width: 100%; max-width: 310px; margin: 0 auto; }
    .cmp-welcome-actions { align-items: stretch; flex-direction: column; }
    .cmp-welcome .cmp-cta { justify-content: space-between; }
    .cmp-capabilities { padding-top: 36px; }
    .cmp-section-intro { flex-direction: column; gap: 16px; }
    .cmp-section-intro h2, .cmp-activation h2 { font-size: 26px; }
    .cmp-feature-grid { grid-template-columns: 1fr; }
    .cmp-feature { padding: 24px 0; }
    .cmp-activation { padding: 24px; }
    .cmp-activation-steps { grid-template-columns: 1fr; gap: 26px; }
    .cmp-step-number { margin-bottom: 8px; }
    .cmp-docs-links { gap: 12px 20px; }
}

.cmp-admin .mycontainer { margin-top: 0; padding-top: 64px !important; }
.cmp-admin .class1 { background: var(--cmp-surface); border-right: 1px solid var(--cmp-border); }
.cmp-admin .class1 svg { fill: var(--cmp-muted); }
.cmp-admin .class1 svg [fill]:not([fill="none"]) { fill: var(--cmp-muted); }
.cmp-admin .class1 .nav-link:hover { background: #ffe8d1; border-radius: 6px; color: var(--cmp-ink); }
.cmp-admin .class1 .nav-underline .nav-link { font-family: inherit; }
.cmp-admin .class2 { background: #fff; min-width: 0; overflow: visible; }
.cmp-admin .class2 > br { display: none; }
.cmp-admin .class2 > .container-fluid { max-width: 1400px; margin: 0 auto; padding: 24px; }
.cmp-admin .class2 main > .container { max-width: none; padding: 0; }

@media (max-width: 767px) {
    .cmp-marketplace .cm-top-nav-bar { padding: 0 16px; }
    .cmp-brand { gap: 12px; }
    .cmp-workspace-label { display: none; }
    .cmp-marketplace .cm-username { max-width: 110px; display: inline-block; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; padding-right: 8px; }
    .cmp-marketplace .cm-logo { height: 32px; }
    .cmp-marketplace .cm-section-heading { font-size: 23px; }
    .cmp-marketplace .cm-panel-default, .cmp-marketplace .card { padding: 16px; }
    .cmp-customer > .container, .cmp-admin .class2 > .container-fluid { padding: 16px; }
    .cmp-marketplace .cm-panel-default dl.row > :is(dt, dd) { flex: 0 0 100%; max-width: 100%; }
    .cmp-marketplace .cm-panel-default dd { padding-top: 0 !important; padding-bottom: 16px !important; }
    .cmp-marketplace .cm-button-default { margin-top: 16px; }
    .cmp-marketplace .btn { max-width: 100%; }
    .cmp-marketplace .cmp-provisioning { text-align: left !important; }
}
