/* SKIFTA — shared product theme. Loaded last, included in both standalone builds. */
:root {
  --bg: #f4f6fb;
  --surface: #fff;
  --surface-2: #f7f9fc;
  --ink: #162238;
  --muted: #56657b;
  --line: #e2e7f0;
  --line-strong: #c7d1e0;
  --blue: #3456db;
  --teal: #3456db;
  --teal-dark: #2443b6;
  --night: #162238;
  --green: #157a5a;
  --red: #b93249;
  --amber: #996400;
  --radius: 16px;
  --sidebar: 248px;
  --shadow: 0 18px 54px #1e365212;
  --shadow-soft: 0 6px 24px #1e365209;
  --shadow-color: 0 10px 24px #3456db18;
  font-family: "Inter", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
body { background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-size: .9375rem; }
input, select, textarea { min-width: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.035em; text-wrap: balance; }
p { font-size: 1rem; line-height: 1.65; }
.eyebrow { color: #5c6b80; font-size: .75rem; font-weight: 650; letter-spacing: .12em; }
.ui-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
.btn { gap: 9px; min-height: 44px; padding: 11px 17px; border-radius: 10px; font-size: .875rem; font-weight: 650; box-shadow: none; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 10px #3456db18; }
.btn.primary:hover { background: #2848c4; border-color: #2848c4; box-shadow: 0 6px 16px #3456db24; transform: translateY(-1px); }
.btn.ghost, .btn.light { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover, .btn.light:hover { background: #f0f4ff; border-color: #b7c5f3; color: #2443b6; }
.btn.danger { background: #fff; border-color: var(--line); color: #6a4050; }
.btn.small { min-height: 38px; font-size: .875rem; padding: 8px 12px; }
.btn:active { transform: translateY(0); }
.btn:disabled { transform: none; box-shadow: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #3456db; outline-offset: 4px; }
.form-stack label, .form-grid label { gap: 8px; font-size: .875rem; font-weight: 600; color: #33455e; }
.form-stack input, .form-stack select, .form-stack textarea, .form-grid input, .form-grid select, .form-grid textarea { min-height: 46px; border-radius: 9px; border-color: #cbd5e3; background: #fff; font-size: 1rem; box-shadow: none; }
.segmented { border-radius: 10px; background: #f1f4fa; padding: 4px; border: 1px solid var(--line); }
.segmented button { font-size: .875rem; min-height: 40px; border-radius: 7px; }
.segmented button.active { background: #fff; color: #2545b7; box-shadow: 0 2px 5px #192b4310; }
.status-badge, .status-chip { border-radius: 6px; font-size: .75rem; font-weight: 650; padding: 5px 9px; }
.status-chip.green, .status-badge.green { color: #166048; background: #e7f5ef; }
.status-chip.blue, .status-badge.blue { color: #2744ac; background: #edf1ff; }
.status-chip.amber, .status-badge.amber { color: #805313; background: #fff5db; }
.auth-body, .public-site { background: #fff; }
.public-site .public-header { top: 0; left: 0; right: 0; width: 100%; max-width: none; min-height: 84px; padding: 16px max(24px, calc((100vw - 1200px) / 2)); border: 0; border-bottom: 1px solid #e8edf4; border-radius: 0; background: #ffffffee; backdrop-filter: blur(18px); box-shadow: none; }
.public-header:hover, .public-header.is-condensed { background: #ffffffef; box-shadow: 0 4px 20px #182e4c05; }
.public-brand { gap: 10px; }
.public-brand strong { color: var(--ink); font-size: 1.375rem; letter-spacing: .055em; font-weight: 750; }
.public-brand small { display: none; }
.brand-mark { background: transparent; box-shadow: none; }
.public-brand .brand-mark { width: 40px; height: 40px; }
.public-brand .brand-mark svg { display: block; width: 100%; height: 100%; animation: none; }
.public-desktop-nav { display: flex; align-items: center; gap: 25px; margin-inline: auto; padding-inline: 24px; }
.public-desktop-nav button { border: 0; padding: 10px 0; background: transparent; font-size: .875rem; font-weight: 550; color: #526077; }
.public-desktop-nav button:hover { color: var(--blue); }
.public-header-actions { gap: 12px; }
.public-header-actions .btn { border-color: #ccd5e7; }
.menu-button { width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.public-site .public-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 36px 56px; align-items: center; min-height: 0; padding: 144px max(24px, calc((100vw - 1200px) / 2)) 54px; background: linear-gradient(180deg, #f9fbff, #f4f7fd); overflow: hidden; color: var(--ink); }
.public-site .public-hero::before, .public-site .public-hero::after { display: none; animation: none; }
.public-site .public-hero-copy { width: auto; max-width: none; margin: 0; padding: 0; }
.public-site .public-hero-copy > .eyebrow { display: inline-block; margin-bottom: 22px; color: #3456bb; letter-spacing: .14em; }
.public-site .public-hero h1 { font-size: clamp(2.65rem, 4.55vw, 4.25rem); line-height: 1.08; letter-spacing: -.058em; font-weight: 740; margin: 0 0 22px; color: #162238; }
.public-site .public-hero h1 span { color: var(--blue); }
.public-site .public-hero .public-hero-offer { display: none; }
.public-site .public-hero p:not(.public-hero-offer) { max-width: 480px; font-size: 1.0625rem; line-height: 1.7; color: #526177; margin: 0 0 24px; }
.public-site .public-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.public-site .public-hero-actions .btn.light { min-height: 48px; padding: 12px 15px; background: #fff; color: #273956; border: 1px solid #cdd7e7; font-size: .875rem; box-shadow: 0 2px 3px #182e4c03; }
.public-hero-actions .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.hero-pilot-note { display: flex; align-items: center; gap: 8px; color: #617086; font-size: .75rem; line-height: 1.5; }
.hero-pilot-note .ui-icon { width: 14px; height: 14px; flex-basis: 14px; }
.hero-photography { position: relative; min-width: 0; height: 390px; margin: 0 0 20px 12px; }
.hero-photography figure { margin: 0; }
.hero-main-photo { position: absolute; inset: 0 20px 0 0; border-radius: 22px; overflow: hidden; background: #dae2e8; box-shadow: 0 14px 36px #1d345918; }
.hero-main-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero-main-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #0d1a30b3); }
.hero-main-photo figcaption { position: absolute; z-index: 1; left: 26px; bottom: 27px; color: #fff; }
.hero-main-photo figcaption span { display: block; margin-bottom: 10px; font-size: .75rem; letter-spacing: .03em; }
.hero-main-photo figcaption strong { font-size: 1.55rem; font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.hero-detail-photo { position: absolute; right: -6px; bottom: -28px; z-index: 2; width: 165px; height: 168px; border: 5px solid #f4f7fd; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px #142e4920; }
.hero-detail-photo img { height: 120px; width: 100%; object-fit: cover; }
.hero-detail-photo figcaption { padding: 7px 8px; font-size: .65rem; color: #33455e; line-height: 1.3; background: #fff; }
.hero-photo-label { position: absolute; left: -30px; top: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 17px; background: #fff; border: 1px solid #e4e9f2; border-radius: 13px; box-shadow: 0 10px 30px #19375a14; }
.hero-photo-label > .ui-icon { color: var(--blue); width: 26px; height: 26px; }
.hero-photo-label span { color: #67738b; font-size: .75rem; line-height: 1.6; }
.hero-photo-label strong { color: #20304e; font-size: .8125rem; font-weight: 600; }
.public-site .public-market-search { grid-column: 1 / -1; width: 100%; max-width: none; margin: 8px 0 0; padding: 20px 24px 24px; border: 1px solid #dce3f0; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px #17386607; }
.public-market-tabs { display: flex; gap: 26px; width: fit-content; padding: 0; margin-bottom: 18px; border: 0; border-radius: 0; background: transparent; }
.public-market-tabs button { padding: 0 0 10px; min-height: 36px; border-radius: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #5f6d80; font-size: .875rem; box-shadow: none; }
.public-market-tabs button.active { color: #294bc6; border-bottom-color: var(--blue); background: transparent; box-shadow: none; }
.public-market-fields { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) auto; gap: 14px; align-items: end; }
.public-market-fields label > span { color: #41516a; font-size: .8125rem; margin-bottom: 6px; }
.public-market-fields input, .public-market-fields select { height: 48px; background: #f8faff; border: 1px solid #dce3ef; border-radius: 8px; font-size: .9375rem; padding: 10px 12px; }
.public-market-submit { height: 48px; min-width: 150px; }
.public-site .public-proof-band { width: min(1200px, calc(100% - 48px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; padding: 30px 0; border: 0; border-bottom: 1px solid var(--line); gap: 32px; background: #fff; box-shadow: none; }
.public-site .public-proof-band div, .public-site .public-proof-band div:first-child { padding: 0; border: 0; }
.public-proof-band strong { font-size: .9375rem; color: #283b56; }
.public-site .public-proof-band span { font-size: .875rem; line-height: 1.6; color: #627087; margin-top: 5px; }
.public-site .public-section, .public-site .public-split { width: min(1200px, calc(100% - 48px)); max-width: 1200px; padding: 76px 0; margin: 0 auto; }
.public-site .public-section-copy { max-width: 650px; }
.public-site .public-section-copy h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); line-height: 1.16; font-weight: 670; color: #162238; letter-spacing: -.045em; margin: 14px 0 18px; }
.public-site .public-section-copy p { font-size: 1rem; color: #5b6b81; }
.public-marketplace-head { align-items: end; margin-bottom: 30px; }
.public-market-summary { font-size: .875rem; margin-bottom: 16px; color: #5c6b81; }
.public-market-summary strong { color: #203453; }
.public-listing-grid { gap: 22px; }
.public-site .public-listing-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 3px 9px #233e5c03; overflow: hidden; }
.public-site .public-listing-card::before, .public-site .public-listing-card::after { display: none; }
.public-listing-card:hover { box-shadow: 0 10px 28px #233e5c10; border-color: #bdcbee; transform: translateY(-3px); }
.public-listing-media { height: 175px; }
.public-listing-media img { height: 100%; width: 100%; object-fit: cover; }
.public-listing-body { padding: 21px; }
.public-listing-body h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.4; }
.public-listing-meta, .public-listing-role, .public-listing-price, .public-listing-facts, .public-listing-body p { font-size: .875rem; }
.public-market-disclosure { font-size: .75rem; margin-top: 22px; color: #627087; }
.public-site .public-step-grid { gap: 24px; margin-top: 36px; }
.public-site .public-step { background: #f6f8fd; border: 1px solid #e8ecf5; border-radius: 15px; box-shadow: none; padding: 28px; }
.public-step::before, .public-step::after { display: none; }
.public-site .public-step > span { background: #e7edff; color: #3456bd; font-size: .875rem; width: 38px; height: 38px; border-radius: 10px; border: 0; box-shadow: none; margin-bottom: 24px; }
.public-step h3 { font-size: 1.125rem; }
.public-step p { font-size: .9375rem; }
.public-process-visual { margin-top: 36px; gap: 30px; }
.public-illustration-card, .public-image-card { border-radius: 18px; box-shadow: none; border: 1px solid var(--line); }
.public-split { gap: 72px; align-items: center; }
.public-feature-list span { font-size: .875rem; border-radius: 7px; }
.image-overlay-panel, .floating-badge { border: 1px solid #e1e8f2; border-radius: 12px; background: #ffffffef; box-shadow: 0 8px 24px #1d36540d; }
.profession-category-grid { gap: 16px; }
.public-site .profession-category { padding: 23px; border: 1px solid #e4e9f2; border-radius: 12px; background: #fff; box-shadow: none; min-height: 0; }
.profession-category::before { display: none; }
.profession-category h3 { font-size: 1.1rem; margin: 18px 0 10px; }
.profession-category p { font-size: .875rem; }
.profession-category > span, .profession-category em { color: #4d6295; font-size: .75rem; }
.profession-category small { font-size: .75rem; color: #53657e; background: #f3f6fb; }
.public-site .public-section.tinted { background: #f3f6fd; padding: 48px; border-radius: 20px; }
.trust-cards article, .responsibility-grid article, .faq-grid article { border-radius: 12px; box-shadow: none; border-color: var(--line); background: #fff; }
.faq-grid h3 { font-size: 1rem; }
.faq-grid p { font-size: .9375rem; }
.public-site .public-auth-section { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0; gap: 70px; }
.public-auth-panel { border: 1px solid #dfe6f2; border-radius: 20px; background: #fff; box-shadow: 0 14px 60px #24446d0a; padding: 32px; }
.auth-back-link { display: none; align-items: center; gap: 8px; padding: 0; margin-bottom: 28px; background: transparent; border: 0; color: #526789; font-size: .875rem; min-height: 40px; }
.auth-focused main > :not(.public-auth-section):not(.public-footer) { display: none; }
.public-site.auth-focused { min-height: 100svh; background: #f4f7fc; }
.auth-focused .public-auth-section { min-height: calc(100svh - 180px); padding-top: 145px; align-items: center; }
.auth-focused .auth-back-link { display: flex; }
.auth-focused .public-section-copy > .eyebrow { display: none; }
.auth-focused .public-auth-panel { padding: 36px; }
.auth-focused .public-desktop-nav { visibility: hidden; }
.public-footer { background: #172640; color: #dbe3f2; border: 0; padding: 36px max(24px, calc((100vw - 1200px) / 2)); }
.public-footer p, .public-footer small, .public-footer button { color: #cad5e7; font-size: .8125rem; }
.public-drawer { background: #fff; border-radius: 18px 0 0 18px; }
.drawer-nav-group button { border-radius: 9px; }
.drawer-nav-group button:hover { background: #f1f5fd; }
.drawer-intro span { display: none; }
/* Workspaces: a quiet navigation rail and clear, shared action hierarchy. */
.app-shell { background: var(--bg); }
.app-shell .sidebar { background: #fff; border-right: 1px solid var(--line); box-shadow: none; padding: 27px 17px 20px; }
.sidebar .nav-logo { margin: 0 5px 24px; gap: 11px; }
.sidebar .nav-logo strong { color: #192b48; font-size: 1.3rem; letter-spacing: .035em; }
.sidebar .nav-logo small { font-size: .75rem; color: #65748b; margin-top: 4px; }
.sidebar .nav-group-label { color: #6c7a91; font-size: .6875rem; letter-spacing: .12em; margin: 21px 13px 7px; }
.sidebar .nav-item { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; color: #526178; background: transparent; font-size: .875rem; font-weight: 500; }
.sidebar .nav-item::before { display: none; }
.sidebar .nav-item span { flex: 1; }
.sidebar .nav-item > .ui-icon { color: #7a89a1; width: 19px; height: 19px; flex-basis: 19px; }
.sidebar .nav-item:hover { background: #f5f7fc; border-color: transparent; transform: none; color: #2745a9; }
.sidebar .nav-item.active { background: #edf2ff; color: #294ac6; border-color: transparent; box-shadow: none; font-weight: 650; }
.sidebar .nav-item.active > .ui-icon { color: #3456db; }
.sidebar .nav-item em { font-size: .6875rem; color: #64748b; background: #f0f3f8; border-radius: 5px; padding: 2px 6px; }
.sidebar .nav-item.active em { color: #3453b1; background: #e0e8ff; }
.sidebar-card { padding: 18px; background: #f7f9fe; border: 1px solid #e6ecf6; border-radius: 12px; box-shadow: none; }
.sidebar-card strong { font-size: .9375rem; color: #314665; }
.sidebar-card p { color: #63738b; font-size: .8125rem; }
.workspace .topbar { padding: 23px 34px; border-bottom: 1px solid var(--line); background: #ffffffed; backdrop-filter: blur(14px); box-shadow: none; gap: 20px; }
.topbar h2 { font-size: 1.125rem; line-height: 1.35; font-weight: 650; margin: 4px 0 0; color: #2d405d; }
.topbar .workspace-date { font-size: .6875rem; letter-spacing: .04em; text-transform: capitalize; }
.top-actions { gap: 11px; }
.top-actions .environment-badge { font-size: .6875rem; padding: 5px 8px; background: #f3f5fb; border: 1px solid #e1e7f0; color: #65738b; border-radius: 5px; }
.notification-shortcut { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #5f7290; }
.notification-shortcut em { position: absolute; right: 0; top: 0; background: #3456db; color: #fff; border: 2px solid #fff; border-radius: 12px; font-size: 10px; min-width: 17px; max-width: 100%; padding: 1px 3px; font-style: normal; }
.top-actions .profile-shortcut { min-height: 40px; padding: 0; border: 0; gap: 11px; background: transparent; }
.profile-shortcut-name { font-size: .8125rem; }
.profile-shortcut-initials { background: #e9eeff; color: #3453b1; border-radius: 50%; width: 38px; height: 38px; }
.top-actions .btn.danger { font-size: .75rem; padding: 7px 10px; min-height: 38px; }
.workspace .content-view { width: 100%; max-width: 1500px; margin: 0 auto; padding: 28px 34px 48px; }
.content-view .overview-command { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; padding: 28px 30px; margin-bottom: 24px; border: 1px solid #e0e6f3; border-radius: 16px; background: linear-gradient(110deg, #fff 38%, #edf2ff); box-shadow: none; }
.overview-command::before, .overview-command::after { display: none; }
.overview-command-copy { padding: 0; min-width: 0; }
.overview-kicker-row { display: none; }
.overview-greeting { display: block; font-size: .875rem; color: #667791; margin-bottom: 10px; }
.content-view .overview-command h1 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.18; margin-bottom: 12px; color: #1a2e4c; max-width: 680px; }
.content-view .overview-command p { max-width: 610px; font-size: .9375rem; line-height: 1.6; color: #5a6d87; margin-bottom: 20px; }
.overview-actions { margin: 0; gap: 10px; }
.overview-proof { display: none; }
.content-view .overview-command-visual { display: block; width: 220px; height: 168px; min-height: 0; align-self: center; margin: 0; border-radius: 12px; border: 0; box-shadow: none; overflow: hidden; }
.overview-command-visual img { width: 100%; height: 100%; object-fit: cover; }
.overview-command-visual figcaption { display: none; }
.overview-metrics { gap: 18px; margin-bottom: 26px; }
.content-view .metric-card { min-height: 145px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: none; }
.metric-card::before, .metric-card::after { display: none; }
.metric-card:hover { border-color: #bac9ee; transform: translateY(-2px); box-shadow: 0 6px 20px #19365f08; }
.metric-card .metric-card-label { display: flex; align-items: center; gap: 9px; color: #526786; font-size: .8125rem; font-weight: 500; }
.metric-card-label .ui-icon { color: #5574be; width: 17px; height: 17px; flex-basis: 17px; }
.metric-card strong { display: block; font-size: 2rem; line-height: 1.2; font-weight: 650; letter-spacing: -.035em; color: #1c3050; margin: 15px 0 6px; }
.metric-card em { font-size: .75rem; color: #697992; font-style: normal; }
.panel, .job-card, .pro-card, .booking-card, .application-card, .table-card, .empty-state { border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: none; }
.panel { padding: 25px; }
.panel::before, .panel::after, .job-card::before, .pro-card::before { display: none; }
.panel .section-head h3 { font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.02em; margin: 5px 0; }
.section-head .eyebrow { font-size: .6875rem; }
.compact-card { padding: 16px 0; border: 0; border-bottom: 1px solid #eef1f6; border-radius: 0; background: #fff; box-shadow: none; gap: 15px; }
.compact-card:last-child { border-bottom: 0; }
.compact-card img { width: 64px; height: 64px; border-radius: 9px; object-fit: cover; }
.compact-card strong { font-size: .9375rem; line-height: 1.5; }
.compact-card p, .compact-card .meta-row span { font-size: .75rem; color: #61728d; }
.compact-card .btn { border-color: #e1e7f3; background: #f8faff; color: #3453b1; font-size: .75rem; }
.activity-item strong { font-size: .875rem; }
.activity-item p { font-size: .8125rem; color: #697891; }
.activity-item time { font-size: .6875rem; }
.job-grid, .pro-grid { gap: 22px; }
.job-card { overflow: hidden; }
.job-image { height: 170px; }
.job-body { padding: 23px; }
.job-heading h3 { font-size: 1.125rem; line-height: 1.4; }
.job-heading > strong { font-size: .9375rem; color: #264cad; }
.job-body > p { font-size: .875rem; }
.meta-row span { font-size: .75rem; line-height: 1.5; background: #f2f5fb; border-color: #e7ecf5; color: #566a86; border-radius: 5px; }
.filter-bar, .filter-panel { border: 1px solid var(--line); border-radius: 12px; box-shadow: none; background: #fff; }
.filter-bar input, .filter-bar select { min-height: 44px; border: 1px solid #d9e2f0; border-radius: 8px; font-size: .875rem; }
.module-intro { border-radius: 13px; box-shadow: none; }
.account-readiness-banner { background: #f2f5ff; border: 1px solid #dce5ff; border-radius: 12px; color: #263f73; box-shadow: none; }
.account-readiness-banner p { font-size: .875rem; }
.pilot-explanation { display: flex; align-items: flex-start; gap: 13px; background: #f0f4ff; border: 1px solid #dce5fa; padding: 18px 21px; border-radius: 12px; margin-bottom: 22px; color: #3153b3; }
.pilot-explanation > .ui-icon { margin-top: 2px; }
.pilot-explanation strong { font-size: .875rem; }
.pilot-explanation p { font-size: .8125rem; margin: 5px 0 0; color: #50668b; line-height: 1.65; }
.empty-state { padding: 30px; background: #f9fbff; }
.mobile-tabbar .ui-icon { width: 21px; height: 21px; }
/* Short, finite entrance motion; no continuously moving photos or badges. */
@keyframes skifta-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photography { animation: skifta-enter 650ms ease both; }
  .hero-photo-label { animation: skifta-enter 700ms 120ms ease both; }
  .hero-detail-photo { animation: skifta-enter 700ms 200ms ease both; }
  .content-view > * { animation: skifta-enter 280ms ease both; }
  .content-view > :nth-child(2) { animation-delay: 35ms; }
  .content-view > :nth-child(3) { animation-delay: 65ms; }
}
@media (max-width: 1100px) {
  .public-desktop-nav { gap: 15px; padding-inline: 12px; }
  .public-desktop-nav button { font-size: .8125rem; }
  .public-site .public-hero { gap: 30px; }
  .hero-photography { height: 345px; }
  .public-site .public-split { gap: 38px; }
  .workspace .topbar { padding: 20px 24px; }
  .workspace .content-view { padding: 24px; }
  .content-view .overview-command { grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; padding: 24px; }
  .content-view .overview-command-visual { width: 150px; height: 150px; }
  .profile-shortcut-name { display: none; }
}
@media (max-width: 820px) {
  .public-desktop-nav { display: none; }
  .public-site .public-header { min-height: 70px; padding: 12px 20px; }
  .public-site .public-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 110px 24px 38px; }
  .public-site .public-hero-copy { max-width: 620px; }
  .public-site .public-hero h1 { font-size: clamp(2.5rem, 7.5vw, 3.8rem); }
  .hero-photography { height: 275px; margin: 0 12px 15px 20px; }
  .hero-main-photo img { object-position: 50% 45%; }
  .hero-detail-photo { width: 140px; height: 140px; }
  .hero-detail-photo img { height: 96px; }
  .hero-main-photo figcaption strong { font-size: 1.35rem; }
  .public-site .public-market-search { margin: 0; padding: 18px; }
  .public-market-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-market-query, .public-market-submit { grid-column: 1 / -1; }
  .public-market-submit { width: 100%; }
  .public-site .public-proof-band { gap: 22px; }
  .public-site .public-section, .public-site .public-split { padding: 52px 0; }
  .public-site .public-split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .public-site .public-section.tinted { padding: 30px; }
  .public-site .public-auth-section { gap: 28px; padding: 50px 0; }
  .auth-focused .public-auth-section { padding-top: 108px; min-height: 0; }
  .auth-focused .public-section-copy h2 { font-size: 1.8rem; margin-bottom: 12px; }
  .auth-focused .auth-back-link { margin-bottom: 12px; }
  .app-shell .sidebar { display: none; }
  .workspace .topbar { padding: 17px 20px; gap: 12px; }
  .topbar h2 { font-size: 1rem; }
  .top-actions { gap: 8px; }
  .top-actions .environment-badge { display: none; }
  .workspace .content-view { padding: 20px 18px 105px; }
  .content-view .overview-command { padding: 23px; grid-template-columns: minmax(0, 1fr); }
  .content-view .overview-command-visual { display: none; }
  .content-view .overview-command h1 { font-size: 1.75rem; }
  .overview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .content-view .metric-card { min-height: 134px; padding: 18px; }
  .metric-card .metric-card-label { font-size: .8125rem; }
  .metric-card strong { font-size: 1.85rem; }
  .mode-mobile .mobile-tabbar { position: fixed; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); left: 10px; right: 10px; bottom: 10px; width: auto; padding: 9px 4px max(9px, env(safe-area-inset-bottom)); border: 1px solid #dce4f0; border-radius: 18px; background: #fffffff5; backdrop-filter: blur(16px); box-shadow: 0 5px 24px #1e36521a; }
  .mode-mobile .mobile-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 46px; padding: 5px 1px; background: transparent; border-radius: 9px; color: #60738e; }
  .mode-mobile .mobile-tabbar button::before { display: none; }
  .mode-mobile .mobile-tabbar button.active { color: #3456db; background: #edf2ff; box-shadow: none; }
  .mode-mobile .mobile-tabbar button span { font-size: .6875rem; line-height: 1.35; }
  .mode-mobile .mobile-tabbar button em { top: 1px; right: 12%; font-size: .625rem; border-radius: 8px; }
  .panel { padding: 20px; }
  .job-body { padding: 20px; }
  .public-site.auth-focused .public-auth-panel { padding: 26px; }
}
@media (max-width: 560px) {
  .public-site .public-header { padding: 10px 16px; min-height: 66px; }
  .public-brand strong { font-size: 1.125rem; }
  .public-brand .brand-mark { width: 33px; height: 33px; }
  .public-site .public-hero { padding: 99px 20px 30px; gap: 24px; }
  .public-site .public-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.09; margin-bottom: 20px; }
  .public-site .public-hero-copy > .eyebrow { margin-bottom: 18px; font-size: .6875rem; }
  .public-site .public-hero p:not(.public-hero-offer) { font-size: 1rem; line-height: 1.65; }
  .public-site .public-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 17px; }
  .public-site .public-hero-actions .btn.light { padding: 11px 9px; font-size: .8125rem; line-height: 1.4; min-height: 48px; }
  .public-hero-actions .ui-icon { display: none; }
  .hero-photography { height: 228px; margin: 8px 6px 13px 12px; }
  .hero-main-photo { border-radius: 16px; right: 8px; }
  .hero-main-photo figcaption { left: 18px; bottom: 18px; }
  .hero-main-photo figcaption span { font-size: .6875rem; }
  .hero-main-photo figcaption strong { font-size: 1.15rem; }
  .hero-detail-photo { width: 110px; height: 113px; right: -10px; bottom: -20px; border-width: 4px; border-radius: 12px; }
  .hero-detail-photo img { height: 100%; }
  .hero-detail-photo figcaption { display: none; }
  .hero-photo-label { top: -7px; left: -12px; padding: 9px 12px; gap: 9px; }
  .hero-photo-label span { font-size: .65rem; }
  .hero-photo-label strong { font-size: .6875rem; }
  .public-site .public-market-search { padding: 16px; }
  .public-market-tabs { gap: 24px; margin-bottom: 15px; }
  .public-market-tabs button { font-size: .8125rem; }
  .public-market-fields { gap: 12px; }
  .public-market-fields input, .public-market-fields select { font-size: 1rem; padding-inline: 10px; height: 46px; }
  .public-site .public-proof-band { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 0; }
  .public-site .public-proof-band strong { font-size: .9375rem; }
  .public-site .public-proof-band span { font-size: .875rem; }
  .public-site .public-section, .public-site .public-split { width: calc(100% - 40px); padding: 43px 0; }
  .public-site .public-section-copy h2 { font-size: 1.8rem; }
  .public-listing-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .public-listing-media { height: 180px; }
  .public-listing-body { padding: 20px; }
  .public-site .public-section.tinted { padding: 26px 20px; }
  .profession-category-grid { grid-template-columns: minmax(0, 1fr); }
  .public-site .public-auth-section { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); }
  .public-auth-panel { padding: 23px; border-radius: 14px; }
  .auth-focused .public-auth-section { padding-top: 97px; }
  .public-site.auth-focused .public-auth-panel { padding: 23px; }
  .auth-focused .public-section-copy p { font-size: .9375rem; }
  .auth-back-link { margin-bottom: 10px; }
  .public-footer { padding: 30px 20px; }
  .workspace .topbar { padding: 15px; align-items: center; flex-wrap: nowrap; }
  .topbar > div:first-child { min-width: 0; }
  .topbar h2 { font-size: .875rem; letter-spacing: -.015em; }
  .topbar .workspace-date { font-size: .625rem; }
  .notification-shortcut { width: 34px; height: 34px; }
  .top-actions .profile-shortcut-initials { width: 32px; height: 32px; font-size: .6875rem; }
  .top-actions .btn.danger { min-height: 34px; padding: 6px 7px; font-size: .6875rem; }
  .workspace .content-view { padding: 17px 13px 110px; }
  .content-view .overview-command { padding: 22px; margin-bottom: 18px; }
  .content-view .overview-command h1 { font-size: 1.5rem; }
  .overview-greeting { font-size: .8125rem; }
  .overview-actions { display: flex; flex-wrap: wrap; }
  .overview-actions .btn { font-size: .8125rem; }
  .overview-metrics { gap: 10px; }
  .content-view .metric-card { padding: 16px; min-height: 132px; }
  .metric-card .metric-card-label { font-size: .75rem; gap: 6px; }
  .metric-card-label .ui-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .metric-card em { font-size: .6875rem; }
  .panel { padding: 18px; }
  .compact-card { gap: 10px; }
  .compact-card img { width: 45px; height: 55px; }
  .compact-card strong { font-size: .875rem; }
  .compact-card .btn { min-height: 36px; padding: 7px; font-size: .6875rem; }
  .panel .section-head { gap: 12px; }
  .panel .section-head h3 { font-size: .9375rem; }
  .mode-mobile .mobile-tabbar { left: 8px; right: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html, * { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-reveal, .motion-reveal.is-visible { opacity: 1; transform: none; }
}
@media print {
  .sidebar, .topbar, .mobile-tabbar, .public-header, .card-actions, .notification-shortcut { display: none !important; }
  .workspace, .app-shell { display: block; margin: 0; width: 100%; }
  .workspace .content-view { padding: 0; }
  .panel, .booking-card, .job-card { break-inside: avoid; box-shadow: none; }
  .motion-reveal { opacity: 1; transform: none; }
}

/* Commercial clarity: the estimate stays readable on small screens. */
.fee-calculator-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.fee-calculator { padding: 28px; background: #f5f8ff; border: 1px solid #dce5f4; border-radius: 24px; min-width: 0; }
.fee-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fee-inputs label { display: grid; gap: 8px; font-weight: 600; }
.fee-inputs input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #bac8df; border-radius: 10px; background: white; color: #17233b; font: inherit; }
.fee-calculator dl { margin: 24px 0 16px; }
.fee-calculator dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.fee-calculator dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-calculator .fee-result { border-top: 1px solid #c6d4ee; color: #194cc6; font-size: 1.08rem; }
.fee-disclosure { font-size: .82rem; line-height: 1.65; color: #52617a; }
@media (max-width: 760px) { .fee-calculator-section { grid-template-columns: 1fr; gap: 24px; } .fee-calculator { padding: 20px; } }
@media (max-width: 380px) { .fee-inputs { grid-template-columns: 1fr; } .fee-calculator dl > div { flex-wrap: wrap; gap: 4px; } }
/* The payment photo uses the same light caption surface as other panels. */
.image-overlay-panel.payment-flow-panel { color: #17233b; }
.image-overlay-panel.payment-flow-panel strong { color: #17233b; }
.image-overlay-panel.payment-flow-panel span { color: #52617a; }

/* Continuity, readable matching and personal preparation */
.continuity-intro { background: linear-gradient(125deg, #edf3ff, #fafcfe); border: 1px solid #cedcf0; }
.continuity-intro h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.035em; margin: .5rem 0 1rem; }
.continuity-intro p { max-width: 72ch; line-height: 1.65; }
.match-explanation, .preparation-panel { border: 1px solid #d6e0eb; border-radius: 12px; padding: 14px; margin: 14px 0; background: #f7f9fc; color: #263a50; }
.availability-signal { margin: 0; border: 1px solid #d6e0eb; border-left: 4px solid #61748a; border-radius: 9px; padding: 10px 12px; background: #f7f9fc; color: #263a50; font-weight: 650; line-height: 1.5; }
.availability-confirmed { border-left-color: #18734c; background: #edf8f1; color: #15573b; }
.availability-partial { border-left-color: #a56708; background: #fff7e8; color: #70490b; }
.availability-overlap { border-left-color: #b42318; background: #fff1ef; color: #7d1d16; }
.availability-needs-confirmation, .availability-unknown { border-left-color: #61748a; }
.match-explanation summary, .preparation-panel summary, .service-guide summary { cursor: pointer; font-weight: 650; line-height: 1.5; }
.match-explanation ul { padding-left: 18px; line-height: 1.8; }
.match-explanation small { display: block; line-height: 1.6; }
.service-guide details { padding: 18px 0; border-bottom: 1px solid #d6e0eb; }
.service-guide details:last-child { border-bottom: 0; }
.service-guide p { max-width: 75ch; line-height: 1.7; }
.preparation-panel .consent-control { align-items: start; }
@media (max-width: 640px) { .continuity-intro .card-actions, .preparation-panel .card-actions { display: grid; grid-template-columns: 1fr; } }

/* SKIFTA: restrained motion, semantic confirmations and comfortable controls. */
:root { --skifta-ease: cubic-bezier(.22,1,.36,1); }
.btn, .status-badge, .toggle-control, .job-card, .pro-card { transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--skifta-ease); }
.btn:active:not(:disabled) { transform: scale(.975); }
@media (hover:hover) { .job-card:hover, .pro-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #10343b12; } }
.btn:focus-visible, .experience-dismiss:focus-visible, .experience-preview summary:focus-visible { outline: 3px solid #477cec; outline-offset: 4px; }
.experience-enter { animation: skifta-enter 280ms var(--skifta-ease) both; }
@keyframes skifta-enter { from { opacity: .65; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.experience-toast { display: grid; grid-template-columns: 40px minmax(0,1fr) 44px; gap: 12px; align-items: center; max-width: min(540px, calc(100vw - 32px)); background: #123c43; color: #fff; border: 1px solid #9bbebd; border-radius: 18px; padding: 16px; box-shadow: 0 14px 42px #102d3430; overflow-wrap: anywhere; }
.experience-toast > div { display: grid; gap: 10px; }
.experience-toast .btn { justify-self: start; color: #10343b; background: #eefaf6; }
.experience-symbol { display: grid; place-items: center; width: 40px; height: 40px; color: #bdeadd; font-size: 22px; }
.experience-symbol svg { width: 40px; height: 40px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.experience-symbol circle { stroke-dasharray: 110; animation: skifta-ring 450ms var(--skifta-ease) both; }
.experience-symbol path { stroke-dasharray: 35; animation: skifta-check 380ms 100ms var(--skifta-ease) both; }
@keyframes skifta-ring { from { stroke-dashoffset: 110; } to { stroke-dashoffset: 0; } }
@keyframes skifta-check { from { stroke-dashoffset: 35; } to { stroke-dashoffset: 0; } }
.experience-dismiss { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; font-size: 26px; cursor: pointer; }
.experience-dismiss:hover { background: #ffffff18; }
.experience-error { border-color: #d5aa87; }
.experience-settings { margin-bottom: 24px; }
.experience-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.experience-options .toggle-control { align-items: flex-start; padding: 14px; border: 1px solid #dce7e7; border-radius: 14px; background: #f7faf9; }
.experience-options small { display: block; margin-top: 4px; color: #496366; line-height: 1.5; }
.experience-settings input[type=range] { width: min(100%, 360px); accent-color: #245ac9; min-height: 32px; }
.experience-volume { font-variant-numeric: tabular-nums; }
.experience-preview { border-top: 1px solid #dce7e7; padding-top: 18px; margin-top: 18px; }
.experience-preview summary { cursor: pointer; font-weight: 650; padding: 10px 0; }
.experience-samples { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.experience-samples .btn { min-height: 44px; }
.experience-timeline { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.experience-timeline li { padding-top: 10px; border-top: 3px solid #dce7e7; color: #53666a; font-size: 12px; line-height: 1.5; }
.experience-timeline li.done { border-color: #2e7467; color: #205d53; }
.experience-timeline li > span:first-child { display: block; font-size: 16px; }
@media(max-width:600px) { .experience-options { grid-template-columns: 1fr; } .experience-timeline { grid-template-columns: 1fr; gap: 0; } .experience-timeline li { display: flex; gap: 10px; border-top: 0; border-left: 3px solid #dce7e7; padding: 7px 12px; } .experience-timeline li.done { border-left-color: #2e7467; } }
html.skifta-reduced-motion *, html.skifta-reduced-motion *::before, html.skifta-reduced-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.skifta-reduced-motion .btn:active, html.skifta-reduced-motion .job-card:hover, html.skifta-reduced-motion .pro-card:hover { transform: none !important; }
html.skifta-reduced-motion .public-reveal { opacity: 1 !important; transform: none !important; }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .btn:active:not(:disabled), .job-card:hover, .pro-card:hover { transform: none !important; } }
.experience-toast { pointer-events: auto; }
html.skifta-reduced-motion .motion-reveal { opacity: 1 !important; transform: none !important; }
.control-center { margin: 0 0 24px; background: linear-gradient(145deg,#f8fbff,#f4faf8); border-color: #cddedb; }
.control-center h2 { margin: 4px 0 6px; font-size: clamp(1.35rem,2.3vw,1.9rem); }
.control-center-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.control-center-summary > div { display: grid; gap: 5px; padding: 14px; border: 1px solid #dbe7e5; border-radius: 14px; background: #fff; }
.control-center-summary span, .control-action small, .control-empty span { color: #53666a; }
.control-center-summary strong { font-size: 1.15rem; }
.control-center-list { display: grid; gap: 8px; }
.control-action { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 14px; border: 1px solid #dbe5e8; border-radius: 14px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.control-action > span { width: 9px; height: 9px; border-radius: 50%; background: #477cec; }
.control-action.red > span { background:#b5523a; } .control-action.amber > span { background:#bb7a19; } .control-action.teal > span { background:#277a72; } .control-action.violet > span { background:#7355b5; }
.control-action div { display:grid; gap:4px; } .control-action em { color:#245ac9; font-style:normal; font-weight:650; }
.control-empty { display:grid; gap:5px; padding:18px; border:1px dashed #b9cfca; border-radius:14px; }
.inbox-command { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.inbox-command button { display:grid; gap:5px; padding:17px; border:1px solid #d8e2e8; border-radius:16px; background:#fff; color:inherit; text-align:left; cursor:pointer; }
.inbox-command strong { font-size:1.45rem; color:#245ac9; } .inbox-command span { color:#53666a; }
.calendar-connect { margin-bottom:18px; }
.calendar-provider-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.calendar-provider-grid > div { display:grid; gap:9px; padding:15px; border:1px solid #dbe5e8; border-radius:14px; }
.calendar-provider-grid .status-chip { justify-self:start; } .calendar-provider-grid small { color:#53666a; line-height:1.45; }
.booking-safety { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px; margin:14px 0; border:1px solid #cfe0dc; border-radius:14px; background:#f4faf8; }
.booking-safety > div:first-child { display:grid; gap:5px; } .booking-safety small { color:#53666a; }
@media(max-width:700px) { .control-center-summary,.inbox-command,.calendar-provider-grid { grid-template-columns:1fr; } .control-action { grid-template-columns:9px minmax(0,1fr); } .control-action em { grid-column:2; } .booking-safety { align-items:stretch; flex-direction:column; } }
/* Give informational messages enough text width on narrow phones. */
@media(max-width:420px) {
  .experience-toast { grid-template-columns: 28px minmax(0,1fr) 44px; gap: 8px; padding: 12px; }
  .experience-toast .experience-symbol, .experience-toast .experience-symbol svg { width: 28px; height: 28px; }
  .experience-toast.experience-info { grid-template-columns: minmax(0,1fr) 44px; }
  .experience-toast.experience-info .experience-symbol { display: none; }
}
.btn[aria-busy="true"]::after, form[aria-busy="true"] button[type=submit]::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: skifta-working 900ms linear infinite; }
@keyframes skifta-working { to { transform: rotate(360deg); } }
.pro-visual .experience-match { display: inline-flex; align-items: center; gap: 8px; }
.experience-match svg { width: 28px; height: 28px; flex: 0 0 28px; }
.experience-match circle { fill: none; stroke: currentColor; stroke-width: 3; transform: rotate(-90deg); transform-origin: center; }
.experience-match circle:first-child { opacity: .25; }
.experience-enter .experience-match circle:last-child { animation: skifta-match 550ms var(--skifta-ease) both; }
@keyframes skifta-match { from { stroke-dasharray: 0 100; } }
.experience-invalid { outline: 2px solid #ac573e; outline-offset: 2px; animation: skifta-nudge 180ms ease-in-out; }
@keyframes skifta-nudge { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }


/* Color refresh: warmer accents across the workspaces while preserving contrast. */
:root {
  --teal: #0d9488;
  --teal-dark: #08776f;
  --violet: #7357d8;
  --coral: #d96c55;
  --sun: #bb790d;
  --mint-soft: #eaf8f3;
  --violet-soft: #f1edff;
  --coral-soft: #fff0e9;
  --sun-soft: #fff6df;
}
.app-shell { background: linear-gradient(135deg, #f6f7ff 0%, #f3faf8 52%, #fbf7f3 100%); }
.app-shell .sidebar { background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%); }
.sidebar .nav-item.active {
  background: linear-gradient(105deg, #eaf0ff 0%, #f1edff 100%);
  border-color: #dce1ff;
  color: #344fc1;
}
.sidebar .nav-item.active > .ui-icon { color: #6554cf; }
.content-view .overview-command {
  background: linear-gradient(112deg, #eef2ff 0%, #f4efff 52%, #eaf8f3 100%);
  border-color: #dce1f2;
}
.content-view .metric-card {
  background: linear-gradient(145deg, #fff 0%, #f8faff 100%);
  border-color: #e0e5f2;
}
.content-view .overview-metrics .metric-card:nth-child(4n + 1) {
  background: linear-gradient(145deg, #f0f3ff 0%, #fff 78%);
  border-color: #dce2fa;
}
.content-view .overview-metrics .metric-card:nth-child(4n + 1) .metric-card-label .ui-icon { color: #4f64d6; }
.content-view .overview-metrics .metric-card:nth-child(4n + 1) strong { color: #394bb2; }
.content-view .overview-metrics .metric-card:nth-child(4n + 2) {
  background: linear-gradient(145deg, #eaf8f3 0%, #fff 78%);
  border-color: #d6eee5;
}
.content-view .overview-metrics .metric-card:nth-child(4n + 2) .metric-card-label .ui-icon { color: #138c78; }
.content-view .overview-metrics .metric-card:nth-child(4n + 2) strong { color: #167662; }
.content-view .overview-metrics .metric-card:nth-child(4n + 3) {
  background: linear-gradient(145deg, #f2edff 0%, #fff 78%);
  border-color: #e2dcfa;
}
.content-view .overview-metrics .metric-card:nth-child(4n + 3) .metric-card-label .ui-icon { color: #765bd0; }
.content-view .overview-metrics .metric-card:nth-child(4n + 3) strong { color: #6449bd; }
.content-view .overview-metrics .metric-card:nth-child(4n) {
  background: linear-gradient(145deg, #fff5e6 0%, #fff 78%);
  border-color: #f1e3c8;
}
.content-view .overview-metrics .metric-card:nth-child(4n) .metric-card-label .ui-icon { color: #c27a18; }
.content-view .overview-metrics .metric-card:nth-child(4n) strong { color: #936013; }
.btn.primary {
  background: linear-gradient(115deg, #3f5edb 0%, #6757d5 100%);
  border-color: #4f5ed0;
  box-shadow: 0 4px 12px #4f5ed028;
}
.btn.primary:hover {
  background: linear-gradient(115deg, #334fc8 0%, #5947c5 100%);
  border-color: #4d4fc3;
  box-shadow: 0 6px 18px #4f5ed033;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-color: #7357d8;
}
.mode-mobile .mobile-tabbar button.active {
  color: #5144b7;
  background: linear-gradient(120deg, #eaf0ff 0%, #f0ebff 100%);
}
.status-chip.green, .status-badge.green { color: #116b52; background: #e3f5ed; }
.status-chip.blue, .status-badge.blue { color: #354db5; background: #e9eeff; }
.status-chip.amber, .status-badge.amber { color: #8b5a0c; background: #fff3d1; }


/* Keep the professionals in frame and separate illustrations from actual profile photos. */
.hero-main-photo img { object-position: 50% center; }
.pro-visual .profession-image-note { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 4px 8px; border-radius: 6px; background: #ffffffed; color: #23374f; font-size: .75rem; }
.agent-engine-note { color: #33455e; font-size: .875rem; line-height: 1.6; }
.agent-result { overflow-wrap: anywhere; }
.agent-clarifications { margin-block: 16px; padding: 16px 20px; background: #f5f7fb; border: 1px solid var(--line); border-radius: 10px; }
.agent-clarifications h4 { margin: 0 0 8px; font-size: 1rem; }
.agent-clarifications ul { margin: 0; padding-left: 20px; line-height: 1.7; }

/* Quiet surfaces keep attention on the task and photographic workplace imagery. */
.app-shell { background: #f4f6f9; }
.app-shell .sidebar { background: #fff; }
.content-view .overview-command { background: #f0f4fa; border-color: var(--line); }
.content-view .metric-card,
.content-view .overview-metrics .metric-card:nth-child(n) { background: #fff; border-color: var(--line); }
.btn.primary { background: #3456db; border-color: #3456db; box-shadow: none; }
.btn.primary:hover { background: #2848c4; border-color: #2848c4; box-shadow: 0 4px 12px #3456db20; }
.module-intro { grid-template-columns: minmax(0, 1fr) auto; }
.module-intro > img { display: none; }
.public-flow-photo { display: none; }
.hero-detail-photo, .hero-photo-label { display: none; }
.hero-main-photo { right: 0; box-shadow: 0 12px 30px #16223812; }
.public-site .public-hero-actions .btn.light:first-child { background: #3456db; border-color: #3456db; color: #fff; }
.public-site .public-hero-actions .btn.light:first-child:hover { background: #2848c4; }
.public-site .public-image-card img { filter: none; }
.public-site .public-hero-copy > p:not(.public-hero-offer) { display: block; -webkit-line-clamp: unset; max-height: none; overflow: visible; }
@media (min-width: 600px) and (max-width: 820px) {
  .hero-photography { height: auto; aspect-ratio: 3 / 2; margin: 0 0 15px; }
}
@media (max-width: 760px) {
  .module-intro { grid-template-columns: minmax(0, 1fr); }
  .btn.small { min-height: 44px; }
  .public-site .public-hero-actions { grid-template-columns: minmax(0, 1fr); }
  .public-site .public-hero-actions .btn.light { min-height: 48px; font-size: .9375rem; }
}
@media (max-width: 760px) {
  .filter-bar input, .filter-bar select { font-size: 1rem; }
  [data-form="staffing-agent"] .card-actions, [data-form="staffing-agent-review"] .card-actions { flex-wrap: wrap; }
  [data-form="staffing-agent"] textarea { font-size: 1rem; min-height: 112px; }
}
