/* Self-hosted Google Fonts: Manrope and Source Serif 4. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../brand/fonts/jettset-type-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../brand/fonts/jettset-type-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../brand/fonts/jettset-type-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../brand/fonts/jettset-type-3.ttf) format('truetype');
}

/* Jettset Global visual identity. Source: jettset-global-site/public/styles.css.
   Local logo; system font fallbacks keep the workspace independent of font CDNs. */
:root,html[data-theme="light"] {
  --crm-bg:#f1f0ec;--crm-bg-deep:#ece8e1;--crm-surface:#faf9f6;
  --crm-surface-2:#f1f0ec;--crm-surface-muted:#efebe4;--crm-card-bg:#faf9f6;
  --crm-border:#bfc2c3;--crm-border-strong:#bfc2c3;--crm-text:#111315;
  --crm-text-muted:#51575a;--crm-muted:#51575a;--crm-bg-hover:#eee9df;
  --crm-bg-secondary:#eee9df;--crm-control-bg:#faf9f6;--crm-control-bg-muted:#f1f0ec;
  --crm-accent:#715d47;--crm-accent-strong:#51575a;--crm-accent-bg:#efe6d2;
  --crm-primary:#8e755a;--crm-primary-hover:#a38d74;--crm-primary-border:#8e755a;
  --crm-on-accent:#111315;--crm-focus-ring:#715d47;--crm-focus:rgba(142,117,90,.22);
  --color-primary-50:#f7f1e4;--color-primary-100:#efe6d2;--color-primary-200:#e6d4a5;
  --color-primary-300:#d8bd7a;--color-primary-500:#715d47;--color-primary-600:#6a501d;--color-primary-700:#513d15;
  --crm-modal-bg-top:#faf9f6;--crm-modal-bg-bottom:#f1f0ec;--crm-modal-accent:rgba(142,117,90,.08);
  --crm-modal-border:#bfc2c3;--crm-popover-bg:#faf9f6;--crm-popover-border:#bfc2c3;
  --crm-login-cover-a:#111315;--crm-login-cover-b:#242016;--crm-login-cover-glow:rgba(142,117,90,.16);--crm-login-sidebar-bg:#111315;
}
html[data-theme="dark"] {
  --crm-bg:#111315;--crm-bg-deep:#111315;--crm-surface:#111315;--crm-surface-2:#211e17;
  --crm-card-bg:#111315;--crm-border:#393328;--crm-text:#f1f0ec;--crm-text-muted:#b9b2a5;--crm-muted:#b9b2a5;
  --crm-accent:#8e755a;--crm-accent-strong:#a38d74;--crm-primary:#8e755a;--crm-primary-hover:#a38d74;
  --crm-on-accent:#111315;--crm-focus-ring:#8e755a;--crm-control-bg:#111315;--crm-control-bg-muted:#211e17;
}
body {font-family:'Manrope','Helvetica Neue',Arial,sans-serif;letter-spacing:.005em}
.crm-sidebar {background:#111315;border-right:1px solid #302a1f;color:#f1f0ec;padding:20px 16px}
.crm-sidebar .crm-brand {font-size:0;gap:12px;min-height:66px;margin-bottom:22px;border-bottom:1px solid #302a1f;padding-bottom:16px}
.crm-sidebar .crm-brand::before {content:'';display:block;width:174px;height:46px;background:url('../brand/jettset-logo.png') center/contain no-repeat;flex:1}
.crm-sidebar .crm-brand-mark {display:none}
.crm-sidebar .crm-sidebar-toggle {color:#8e755a;background:transparent;border:1px solid #393328;border-radius:2px}
.crm-sidebar .crm-nav .nav-link {color:#b9b5ac;border-radius:2px;font-weight:400;padding:11px 12px}
.crm-sidebar .crm-nav .crm-nav-icon {color:#8f897d}
.crm-sidebar .crm-nav .nav-link:hover,.crm-sidebar .crm-nav .nav-link:focus {color:#f1f0ec;background:#211e17}
.crm-sidebar .crm-nav .nav-link.active {background:#292316;color:#f1f0ec;border-color:#544323;box-shadow:inset 2px 0 #8e755a}
.crm-sidebar .crm-nav .nav-link.active .crm-nav-icon,.crm-sidebar .crm-nav .nav-link:hover .crm-nav-icon {color:#8e755a}
.crm-sidebar .btn {color:#c7bdab;border-color:#393328;background:transparent}
.crm-sidebar-collapsed .crm-sidebar .crm-brand::before {display:none}
.crm-topbar {border-bottom:1px solid var(--crm-border);box-shadow:none;background:var(--crm-surface)}
.crm-topbar .btn,.btn.crm-btn-primary,.btn.crm-btn-secondary {border-radius:3px}
.btn.crm-btn-primary {background:#8e755a;border-color:#8e755a;color:#111315;box-shadow:none}
.btn.crm-btn-primary:hover,.btn.crm-btn-primary:focus {background:#a38d74;border-color:#a38d74;color:#111315}
.crm-content h1,.crm-main h1 {font-family:'Source Serif 4',Georgia,serif;font-weight:400;letter-spacing:-.025em}
.jso-shell {--jso-gold:#8e755a;--jso-line:var(--crm-border)}
.jso-hero {min-height:240px;align-items:center;padding:42px 48px;background:#111315;border-top:2px solid #8e755a;margin-bottom:28px}
.jso-hero::after {border-color:rgba(142,117,90,.18);width:430px;right:-120px;bottom:-260px}
.jso-hero h1 {font-family:'Source Serif 4',Georgia,serif;font-size:clamp(2.3rem,3.8vw,4rem);line-height:1.08;letter-spacing:-.025em;margin:.75rem 0 1rem}
.jso-hero p:not(.jso-eyebrow) {color:#c3bdb2;font-size:.96rem;line-height:1.65;max-width:560px}
.jso-eyebrow {color:#8e755a;font-weight:500;font-size:10px;letter-spacing:.27em}
.jso-kpi,.jso-detail-panel {background:var(--crm-surface)}
.jso-table {background:var(--crm-surface);border:1px solid var(--crm-border);margin-top:0}
.jso-table th {background:var(--crm-surface-2);font-weight:500;font-size:10px;letter-spacing:.16em;padding:16px}
.jso-table td {padding:18px 16px;font-size:13px}
.jso-table tbody tr:hover {background:var(--crm-bg-hover)}
.jso-table-wrap {border-radius:3px}
.jso-dialog {background:#111315;border-color:#8c763f;color:#f1f0ec;border-radius:4px}
.jso-dialog .jso-form-grid label {color:#bfc2c3;font-size:10px;letter-spacing:.12em}
.jso-dialog input,.jso-dialog select,.jso-dialog textarea {background:#111315;border-color:#4a4233;color:#f1f0ec;border-radius:2px}
.jso-dialog input:focus,.jso-dialog select:focus,.jso-dialog textarea:focus {outline:2px solid #8e755a;outline-offset:2px}
.jso-dialog .jso-dialog-actions [role="status"] {color:#f1f0ec}
.jso-dialog a {color:#f1f0ec}
body[data-page="module-jettset-sales"] .jso-detail-panel article+article {border-color:var(--crm-border)}
@media(max-width:700px) {
 .jso-hero {padding:30px 24px;min-height:220px;gap:18px;align-items:flex-start}
 .jso-hero h1 {font-size:2.5rem}
 .jso-hero .btn {width:auto}
 .jso-table th,.jso-table td {padding:14px 12px}
}
/* Respect the existing explicit high-contrast accessibility option. */
html[data-theme="contrast"] .crm-sidebar {background:#000;color:#fff}
html[data-theme="contrast"] .crm-sidebar .crm-nav .nav-link {color:#fff}
html[data-theme="contrast"] .crm-sidebar .crm-nav .nav-link.active {border:2px solid #fff;color:#fff}
/* Core surface rules use !important; the sidebar is the dark brand surface. */
.crm-sidebar {background:#111315!important;box-shadow:none!important}
.crm-sidebar .crm-sidebar-toggle,.crm-sidebar .crm-sidebar-toggle .crm-icon {font-size:14px}
.crm-sidebar .crm-nav .crm-nav-icon {background:transparent!important;box-shadow:none!important}
:root,html[data-theme="light"] {--crm-status-bg:#715d47}
.jso-dialog .jso-form-grid label {font-size:11px}
.jso-dialog input,.jso-dialog select,.jso-dialog textarea {font-size:14px;letter-spacing:normal;text-transform:none;color-scheme:dark}
.jso-dialog .jso-form-grid>p {grid-column:1/-1;margin:0}
.jso-dialog .crm-searchable-input {background:#111315!important;color:#f1f0ec!important;border-color:#4a4233!important}
.jso-dialog .crm-searchable-dropdown {background:#211e17;color:#f1f0ec;border-color:#4a4233}
.jso-dialog .crm-searchable-item:hover,.jso-dialog .crm-searchable-item.is-selected {background:#39301e;color:#f1f0ec}
.crm-sidebar .crm-nav .nav-link .crm-nav-icon {background:transparent!important;box-shadow:none!important}
body[data-page="module-jettset-sales"] .jso-detail-grid {background:transparent}
body[data-page="module-jettset-sales"] .jso-detail-panel {border:1px solid var(--crm-border);border-top:2px solid #8e755a;border-radius:3px}
body[data-page="module-jettset-sales"] .jso-detail-panel h2 {font-family:'Source Serif 4',Georgia,serif;font-weight:400;font-size:1.6rem;margin-bottom:16px}

[data-onboard-documents] article {padding:18px 0;border-top:1px solid #4a4233;overflow-wrap:anywhere}
[data-onboard-documents] form,[data-onboard-invite] {display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
[data-onboard-documents] small {display:block;color:#bfc2c3}
[data-onboard-link] textarea {width:100%}
[data-rel-list] td .btn {display:block;margin:4px 0}
.jso-dialog h3 {color:#f1f0ec!important;font-family:'Source Serif 4',Georgia,serif;font-size:1.3rem;font-weight:400;margin:24px 0 12px}
[data-onboard-invite] label {display:grid;gap:6px;flex:1;min-width:180px}
[data-onboard-invite] select {min-height:44px;padding:8px}
[data-onboard-invite] button {align-self:end}

/* Jettset's public entrance: scoped to authentication, independent of workspace theme. */
body.crm-login-page {background:#f1f0ec;color:#111315;--crm-text:#111315;--crm-text-muted:#51575a;--crm-control-bg:#faf9f6;--crm-border:#bfc2c3}
body.crm-login-page .crm-login-wrap {grid-template-columns:minmax(360px,42%) minmax(0,1fr);min-height:calc(100dvh - 60px);gap:0;padding:0}
body.crm-login-page .crm-login-panel {padding:48px clamp(28px,5vw,84px);background:#f1f0ec!important;border:0;box-shadow:none}
body.crm-login-page .crm-login-panel-inner {max-width:370px;background:transparent!important}
.jso-login-wordmark {display:flex;width:218px;height:76px;align-items:center;background:#111315;padding:12px 20px;margin-bottom:48px}
.jso-login-wordmark img {width:100%;height:auto;max-height:54px;object-fit:contain}
body.crm-login-page .jso-login-eyebrow {font-size:9px;font-weight:500;letter-spacing:.23em;line-height:1.7;color:#715d47;margin-bottom:16px}
body.crm-login-page .crm-login-copy h1 {font-family:'Source Serif 4',Georgia,serif;font-size:44px;font-weight:400;letter-spacing:-.04em;line-height:1.12;color:#111315;margin-bottom:14px}
body.crm-login-page .crm-login-copy p {font-size:13px;line-height:1.8;color:#51575a;max-width:290px}
body.crm-login-page .crm-login-copy {margin-bottom:28px}
body.crm-login-page .crm-login-card {background:transparent;border:0;box-shadow:none;padding:0;display:grid;gap:17px}
body.crm-login-page .crm-login-field {margin:0}
body.crm-login-page .crm-login-field .form-label {font-size:11px;color:#4d483f;font-weight:500;margin-bottom:8px}
body.crm-login-page .crm-login-card .form-control,body.crm-login-page .crm-login-card .form-select {background:#faf9f6!important;color:#111315!important;border:1px solid #bfc2c3!important;border-radius:2px;min-height:46px;font-size:14px;box-shadow:none;padding:11px 13px;color-scheme:light}
body.crm-login-page .crm-login-card .form-control:focus,body.crm-login-page .crm-login-card .form-select:focus {outline:2px solid #715d47;outline-offset:2px}
body.crm-login-page .crm-login-card .crm-btn-primary {min-height:48px;border-radius:2px;background:#8e755a;color:#111315;border:1px solid #8e755a;letter-spacing:.12em;font-size:12px;font-weight:600;box-shadow:none;margin-top:3px}
body.crm-login-page .crm-login-card .crm-btn-primary:hover {background:#a38d74}
body.crm-login-page .crm-login-links {display:flex;justify-content:space-between;gap:16px;margin:3px 0 0;font-size:11px}
body.crm-login-page .crm-login-links a {color:#62522f;text-decoration:none;border-bottom:1px solid #cfc3a7;padding-bottom:3px}
.jso-login-advanced {font-size:11px;color:#51575a}
.jso-login-advanced summary {cursor:pointer;padding:3px 0;min-height:24px}
.jso-login-advanced[open] .crm-login-field {margin-top:12px}
body.crm-login-page .jso-login-editorial {position:relative;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate;padding:36px clamp(32px,5vw,80px);overflow:hidden;background:#111315 url('../brand/jettset-login-jet-card.png') center/cover no-repeat;border:0;border-radius:0;color:#f1f0ec}
.jso-login-editorial:before {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,9,8,.76),rgba(10,9,8,.28)),linear-gradient(0deg,rgba(10,9,8,.85),transparent 70%)}
.jso-login-cover-top,.jso-login-cover-bottom {display:flex;justify-content:space-between;gap:20px;font-size:8px;line-height:1.6;letter-spacing:.19em;color:#d3cabb}
.jso-login-cover-top {padding-bottom:22px;border-bottom:1px solid #ffffff30}
.jso-login-cover-copy {padding:80px 0}
body.crm-login-page .jso-login-cover-copy .jso-login-eyebrow {color:#bfc2c3}
body.crm-login-page .jso-login-cover-copy h2 {font-family:'Source Serif 4',Georgia,serif;font-size:clamp(48px,5.8vw,86px);font-weight:400;line-height:1.04;letter-spacing:-.04em;color:#f1f0ec;margin:0 0 30px;max-width:620px}
.jso-login-cover-copy h2 em {color:#bfc2c3;font-weight:400}
.jso-login-cover-copy p {font-size:13px;line-height:1.9;color:#bfc2c3;max-width:400px;margin:0}
.jso-login-cover-bottom {padding-top:22px;border-top:1px solid #ffffff30}
body.crm-login-page .crm-footer {margin:0;background:#111315;color:#aaa397;border:0;padding:18px 26px;font-size:10px}
body.crm-login-page .crm-footer-inner {max-width:none}
body.crm-login-page .crm-footer a {color:#c6bb9f}
body.crm-login-page .crm-footer-product strong {color:#e9dfcd}
body.crm-login-page a:focus-visible,body.crm-login-page summary:focus-visible {outline:2px solid #8e755a;outline-offset:5px}
@media(max-width:900px) {
 body.crm-login-page .crm-login-wrap {grid-template-columns:minmax(320px,48%) minmax(0,1fr)}
 body.crm-login-page .crm-login-panel {padding:36px 28px}
 .jso-login-cover-top span:last-child,.jso-login-cover-bottom span:last-child {display:none}
 body.crm-login-page .jso-login-cover-copy h2 {font-size:52px}
}
@media(max-width:700px) {
 body.crm-login-page .crm-login-wrap {display:block;min-height:calc(100dvh - 90px)}
 body.crm-login-page .crm-login-panel {min-height:calc(100dvh - 90px);padding:32px 24px 40px}
 body.crm-login-page .jso-login-editorial {display:none}
 .jso-login-wordmark {margin-bottom:32px;width:194px;height:66px}
 body.crm-login-page .crm-login-copy h1 {font-size:40px}
 body.crm-login-page .crm-footer-inner {flex-wrap:wrap;gap:12px;justify-content:center}
}

/* Brand book v03: neutral foundations and restrained bronze interactions.
   Preserve native high-contrast colours and semantic error/success indicators. */
:root,html[data-theme="light"] {
 --crm-primary:#111315;--crm-primary-hover:#51575a;--crm-primary-border:#111315;
 --crm-accent:#715d47;--crm-accent-strong:#51575a;--crm-on-accent:#f1f0ec;
 --crm-focus-ring:#51575a;--crm-focus:rgba(142,117,90,.18);
 --crm-ink:#111315;--crm-border:#bfc2c3;--crm-text-secondary:#51575a;
 --bs-primary:#111315;--bs-primary-rgb:17,19,21;--bs-link-color:#715d47;
 --bs-link-hover-color:#111315;--bs-focus-ring-color:rgba(142,117,90,.22);
 --bs-form-check-bg:#faf9f6;--bs-form-valid-color:#16834a;
}
html[data-theme="dark"] {--crm-focus-ring:#bfc2c3;--crm-focus:rgba(191,194,195,.2);--bs-primary:#bfc2c3;--bs-primary-rgb:191,194,195}
html:not([data-theme="contrast"]) .btn {--bs-btn-focus-shadow-rgb:142,117,90;--bs-btn-focus-box-shadow:0 0 0 .2rem var(--crm-focus)}
html:not([data-theme="contrast"]) :is(input,textarea,select,.form-control,.form-select,.crm-input,.crm-select,.crm-textarea):focus {
 border-color:var(--crm-focus-ring)!important;
 outline:2px solid var(--crm-focus-ring)!important;outline-offset:2px!important;
 box-shadow:0 0 0 3px var(--crm-focus)!important;
}
html:not([data-theme="contrast"]) :is(a,button,[tabindex],[role="button"],summary):focus-visible {
 outline:2px solid var(--crm-focus-ring)!important;outline-offset:3px!important;
 box-shadow:0 0 0 3px var(--crm-focus)!important;
}
html:not([data-theme="contrast"]) .form-check-input:checked {background-color:#715d47;border-color:#715d47}
html:not([data-theme="contrast"]) input {accent-color:#715d47}
html:not([data-theme="contrast"]) :is(.dropdown-item.active,.dropdown-item:active,.page-item.active .page-link,.nav-pills .nav-link.active) {background:#111315;color:#f1f0ec;border-color:#111315}
html:not([data-theme="contrast"]) .accordion {--bs-accordion-active-bg:#e5e2dc;--bs-accordion-active-color:#111315;--bs-accordion-btn-focus-box-shadow:0 0 0 .2rem var(--crm-focus)}
html:not([data-theme="contrast"]) .page-link {--bs-pagination-color:#715d47;--bs-pagination-focus-color:#111315;--bs-pagination-focus-box-shadow:0 0 0 .2rem var(--crm-focus)}
html:not([data-theme="contrast"]) .crm-searchable-item.is-selected {background:#e5e2dc;color:#111315}
html:not([data-theme="contrast"]) ::selection {background:#bfc2c3;color:#111315}
html:not([data-theme="contrast"]) input:-webkit-autofill { -webkit-box-shadow:0 0 0 1000px var(--crm-control-bg) inset!important;-webkit-text-fill-color:var(--crm-text)!important;caret-color:var(--crm-text)}
.btn.crm-btn-primary,body.crm-login-page .crm-login-card .crm-btn-primary {background:#111315;border-color:#111315;color:#f1f0ec}
.btn.crm-btn-primary:hover,body.crm-login-page .crm-login-card .crm-btn-primary:hover {background:#51575a;border-color:#51575a;color:#f1f0ec}
body.crm-login-page {--crm-focus-ring:#51575a;--crm-focus:rgba(142,117,90,.18)}
.crm-sidebar .crm-nav .nav-link.active {background:#292b2c;color:#f1f0ec;border-color:#51575a;box-shadow:inset 2px 0 #8e755a}
.crm-sidebar .crm-nav .nav-link.active .crm-nav-icon {color:#bfc2c3}
.jso-dialog {--crm-focus-ring:#bfc2c3;--crm-focus:rgba(191,194,195,.2)}
/* Explicit font inheritance overrides core control fonts. */
html body,html body input,html body select,html body textarea,html body button {font-family:'Manrope','Helvetica Neue',Arial,sans-serif}
html body h1,html body h2 {font-family:'Source Serif 4',Georgia,serif}
/* Autofill paint must win over the generic focus shadow in Chromium. */
html:not([data-theme="contrast"]) body input:-webkit-autofill,
html:not([data-theme="contrast"]) body input:-webkit-autofill:focus {
 -webkit-box-shadow:0 0 0 1000px var(--crm-control-bg) inset!important;
 box-shadow:0 0 0 1000px var(--crm-control-bg) inset!important;
 -webkit-text-fill-color:var(--crm-text)!important;
}
html:not([data-theme="contrast"]) .crm-sidebar .crm-nav .nav-link.active {background:#292b2c!important;color:#f1f0ec!important;border-color:#51575a!important}
:root {--crm-font-sans:'Manrope','Helvetica Neue',Arial,sans-serif}
