/* Personal service pages; the separate research preview keeps its original skin. */
.personal-app {
  --paper: #f5f7f3;
  --ink: #203c30;
  --text: #43574b;
  --muted: #596c5d;
  --green: #286247;
  --soft: #eaf1e8;
  --line: #dfe6dd;
  --radius: 16px;
  background: var(--paper);
  line-height: 1.75;
}
.personal-app main { max-width: 1180px; padding: 36px 28px 72px; }
.personal-app h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.4; letter-spacing: -.025em; }
.personal-app h2 { font-size: 23px; }
.personal-app h3 { font-size: 19px; }
.personal-app .intro { margin: 12px 0 24px; max-width: 760px; }
.personal-app .preview-strip { background: #e9eee5; padding: 6px 20px; font-size: 12px; letter-spacing: 0; }
.personal-app .header { max-width: none; padding: 20px max(24px, calc((100vw - 1124px) / 2)); background: #fff; border-bottom: 1px solid var(--line); gap: 28px; }
.service-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.service-brand strong { display: block; color: var(--ink); font-size: 21px; font-weight: 650; }
.service-brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.service-emblem { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 13px; }
.ui-icon { width: 23px; height: 23px; flex: none; }
.personal-app .header nav { gap: 22px; font-size: 15px; justify-content: flex-end; }
.personal-app .header nav a[aria-current=page] { color: var(--green); font-weight: 650; }
.workspace-menu { position: relative; font-size: 15px; }
.workspace-menu > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); list-style: none; }
.workspace-menu > summary::-webkit-details-marker { display: none; }
.workspace-menu > summary::after { content: '⌄'; color: var(--muted); }
.workspace-links { position: absolute; right: 0; top: calc(100% + 10px); width: 290px; max-height: 70vh; overflow-y: auto; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 16px 45px #203c301c; z-index: 20; }
.workspace-links a { display: block; padding: 9px 10px !important; border-radius: 7px; }
.workspace-links a:hover { background: var(--soft); }
.workspace-links p { color: var(--muted); font-size: 12px; padding: 5px 10px; }
.workspace-links form { border-top: 1px solid var(--line); margin-top: 10px !important; padding: 4px 10px; }
.personal-app .button { border-radius: 10px; min-height: 48px; padding: 11px 22px; gap: 10px; font-size: 16px; }
.personal-app .button.secondary { background: #fff; border-color: #cfdccf; }
.personal-app .button.secondary:hover { background: var(--soft); }
.personal-app .button.compact { min-height: 44px; padding: 8px 16px; }
.personal-app .panel { box-shadow: 0 2px 4px #203c3003; }
.personal-app .record-section { margin-top: 32px; }
.personal-app .section-heading { margin-bottom: 16px; }
.personal-app .technical { margin-top: 18px; padding-top: 12px; }
.personal-app .technical summary { min-height: 44px; padding: 9px 0; }
.personal-app .wide-input { border-color: #c9d6c9; border-radius: 9px; padding: 12px 14px; min-height: 50px; }
.personal-app .wide-input:focus { outline: 3px solid #a8c6b2; }
.personal-app .narrow { max-width: 740px; padding: 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.service-home { padding-top: 6px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 64px; align-items: center; padding: 38px 0 46px; }
.home-hero h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.35; margin: 15px 0 22px; }
.home-hero .lead { max-width: 540px; font-size: 18px; line-height: 1.95; }
.home-hero .eyebrow { letter-spacing: .08em; font-size: 13px; }
.home-hero .action-row { margin-top: 28px; gap: 12px; }
.home-hero .hint { margin-top: 16px; }
.journey-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: relative; box-shadow: 0 16px 45px #203c3009; }
.journey-label { display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--green); font-size: 13px; margin-bottom: 25px; }
.journey-card h2 { font-size: 24px; margin-bottom: 12px; }
.journey-list { list-style: none; padding: 0; margin: 0; }
.journey-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 17px 0; position: relative; }
.journey-list li + li { border-top: 1px solid #edf0e9; }
.journey-list li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--green); font-size: 13px; }
.journey-list strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; }
.journey-list p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.journey-card > .hint { border-top: 1px solid var(--line); padding-top: 16px; }
.entry-section { padding: 30px 0 10px; border-top: 1px solid var(--line); }
.entry-section > .section-heading p { color: var(--muted); font-size: 15px; }
.service-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-entry { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.entry-symbol { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--green); background: var(--soft); }
.service-entry h3 { margin-bottom: 7px; }
.service-entry p { color: var(--muted); font-size: 15px; }
.service-entry .text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; min-height: 32px; }
.service-entry .entry-links { display: flex; gap: 20px; flex-wrap: wrap; }
.home-bottom { margin-top: 30px; padding: 22px 25px; display: flex; gap: 22px; justify-content: space-between; align-items: center; background: #edf2e9; border-radius: 14px; }
.home-bottom h2 { font-size: 18px; margin-bottom: 4px; }
.home-bottom p { font-size: 14px; color: var(--muted); }
.home-bottom a { flex-shrink: 0; }
.app-footer { max-width: 1180px; margin: auto; border-top: 1px solid var(--line); padding: 26px 28px; display: flex; justify-content: space-between; align-items: start; gap: 22px; color: var(--muted); font-size: 13px; }
.app-footer p + p { margin-top: 3px; font-size: 12px; }
.app-footer nav { font-size: 13px; gap: 20px; flex-wrap: wrap; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 4px 0 28px; }
.page-heading .intro { margin-bottom: 0; }
.page-heading .action-row { margin: 0; flex-shrink: 0; }
.profile-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.profile-card { border: 1px solid var(--line); border-radius: 16px; padding: 25px; background: #fff; }
.profile-card-top { display: flex; gap: 16px; align-items: center; margin-bottom: 23px; }
.profile-card-top .avatar { width: 54px; height: 54px; border-radius: 16px; font-size: 22px; }
.profile-card h2 { font-size: 23px; }
.profile-card .hint { font-size: 13px; }
.profile-card .button { width: 100%; }
.profile-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.profile-tools .panel { padding: 22px; }
.profile-tools p { font-size: 15px; color: var(--muted); margin: 8px 0 14px; }
.profile-local-nav, .report-local-nav { display: flex; gap: 24px; flex-wrap: wrap; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; font-size: 15px; color: var(--green); }
.profile-local-nav a, .report-local-nav a { min-height: 32px; display: inline-flex; align-items: center; }
.personal-app .row-list { margin-top: 12px; }
.personal-app .row-list > li { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 13px; margin-top: 12px; }
.profile-privacy { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #edf2e9; border-radius: 13px; margin-top: 24px; }
.profile-privacy h2 { font-size: 18px; }
.profile-privacy p { font-size: 14px; color: var(--muted); }
.assessment-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.assessment-steps { position: sticky; top: 24px; }
.assessment-steps .eyebrow { margin-bottom: 14px; }
.personal-app .assessment-steps .module-nav { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.assessment-steps .module-nav .text-button { display: flex; align-items: center; gap: 11px; width: 100%; text-decoration: none; border-radius: 10px; padding: 12px; background: transparent; color: var(--muted); font-size: 15px; }
.step-index { width: 28px; height: 28px; border: 1px solid #d1ddce; border-radius: 50%; display: grid; place-items: center; font-size: 12px; flex: none; }
.assessment-steps .module-nav .text-button[aria-current=step] { color: var(--green); background: #e7efdf; font-weight: 600; }
.module-nav [aria-current=step] .step-index { color: #fff; background: var(--green); border-color: var(--green); }
.assessment-steps > .hint { font-size: 13px; margin-top: 18px; padding: 0 12px; }
.assessment-content { min-width: 0; background: #fff; border: 1px solid var(--line); padding: 28px 32px; border-radius: 17px; }
.assessment-content h1 { font-size: 29px; }
.assessment-context { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.assessment-context .intro { margin-bottom: 8px; font-size: 15px; }
.personal-app .assessment-content .question-field { padding: 20px 0; }
.assessment-content .field-label { margin: 0 0 12px; font-size: 18px; font-weight: 500; }
.assessment-content .technical-code { color: #60735f; font-size: 12px; margin-top: 8px; }
.assessment-content .screen-reader-note { font-size: 14px; margin-top: 6px; }
.assessment-content .question-field.is-pending { padding: 14px 18px; background: #f6f8f3; border: 0; border-radius: 9px; margin: 12px 0; font-size: 15px; }
.assessment-content .save-notice { font-size: 14px; padding: 12px 16px; }
.form-save-bar { padding-top: 22px; border-top: 1px solid var(--line); margin-top: 24px; }
.form-save-bar .action-row { margin-top: 0; }
.form-save-bar > .hint { margin-top: 13px; font-size: 13px; }
.report-page .report-heading { margin: 8px 0 24px; }
.report-page .report-summary { border-radius: 17px; padding: 28px 32px; margin-bottom: 24px; background: #e8f0e5; }
.report-page .report-summary.attention { background: #f2efdf; border-color: #e6ddbf; }
.report-page .report-summary h2 { font-size: 27px; }
.report-page .report-summary p { font-size: 15px; }
.report-page .report-summary .score-card strong { font-size: 56px; font-variant-numeric: tabular-nums; }
.report-page > .record-section { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.report-page .factor-card { border: 1px solid #e8ede4; background: #f7f9f4; }
.report-page .factor-card strong { font-size: 24px; }
.report-page .record-section > h2 { margin-bottom: 15px; }
.report-page .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.report-page .module-grid .panel { padding: 18px; background: #f7f8f4; box-shadow: none; }
.report-page .module-grid h3 { font-size: 17px; }
.report-method-status { padding: 18px 22px; margin-top: 24px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.report-method-status > summary { min-height: 36px; cursor: pointer; color: var(--green); font-size: 15px; }
.report-method-status .intro { font-size: 14px; }
.report-page .report-next { margin-top: 24px; }
.report-page .table-scroll { margin-top: 18px; }
.report-page .import-table th, .report-page .import-table td { min-width: 100px; }
.report-page .import-table { font-size: 15px; }
@media (max-width: 980px) {
  .personal-app .header { align-items: start; padding: 20px 24px; }
  .personal-app .header nav { gap: 10px 18px; }
  .service-brand small { max-width: 200px; }
  .home-hero { gap: 30px; }
  .assessment-shell { grid-template-columns: 185px minmax(0, 1fr); gap: 20px; }
  .assessment-content { padding: 25px; }
}
@media (max-width: 680px) {
  .personal-app main { padding: 24px 18px 48px; }
  .personal-app .narrow { padding: 23px 20px; border-radius: 14px; }
  .personal-app .header { display: flex; flex-wrap: wrap; gap: 14px; padding: 17px 18px; }
  .service-brand strong { font-size: 20px; }
  .service-brand small { max-width: none; font-size: 11px; }
  .personal-app .header nav { justify-content: flex-start; width: 100%; margin-top: 0; gap: 8px 18px; font-size: 14px; }
  .workspace-menu { font-size: 14px; }
  .workspace-menu[open] { flex-basis: 100%; }
  .workspace-menu[open] .workspace-links { position: static; width: 100%; margin-top: 10px; box-shadow: none; }
  .home-hero { grid-template-columns: 1fr; padding: 16px 0 30px; gap: 30px; }
  .home-hero h1 { font-size: 34px; margin-top: 10px; }
  .home-hero .lead { font-size: 17px; }
  .journey-card { padding: 24px; }
  .journey-label { margin-bottom: 18px; }
  .service-entry-grid, .profile-card-grid { grid-template-columns: 1fr; }
  .service-entry { padding: 22px 19px; gap: 14px; grid-template-columns: 42px minmax(0, 1fr); }
  .entry-symbol { width: 40px; height: 40px; }
  .entry-section > .section-heading { display: block; }
  .home-bottom, .page-heading, .profile-privacy { display: block; }
  .home-bottom a { margin-top: 14px; }
  .page-heading .action-row { margin-top: 20px; }
  .profile-tools { grid-template-columns: 1fr; gap: 12px; }
  .profile-tools .panel { padding: 20px; }
  .profile-privacy > a { display: inline-flex; margin-top: 12px; }
  .profile-local-nav, .report-local-nav { gap: 12px 22px; }
  .assessment-shell { display: block; }
  .assessment-steps { position: static; margin-bottom: 20px; }
  .assessment-steps .eyebrow, .assessment-steps > .hint { display: none; }
  .personal-app .assessment-steps .module-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .assessment-steps .module-nav .text-button { flex-direction: column; text-align: center; gap: 5px; padding: 9px 4px; font-size: 12px; background: #edf2e8; }
  .step-index { width: 24px; height: 24px; }
  .assessment-content { padding: 23px 20px; border-radius: 14px; }
  .assessment-content h1 { font-size: 25px; }
  .assessment-content .wide-input { font-size: 18px; }
  .report-page .report-summary { padding: 24px; }
  .report-page .report-summary h2 { font-size: 25px; }
  .report-page > .record-section { padding: 22px 19px; }
  .report-page .module-grid { grid-template-columns: 1fr; }
  .app-footer { display: block; padding: 24px 18px; }
  .app-footer nav { margin-top: 14px; gap: 12px 20px; }
}

/* Persistent application frame and account-backed work surfaces. */
.platform-app { --paper: #f7f8fb; --ink: #202938; --text: #465164; --muted: #606b7d; --green: #3557b8; --soft: #eef2fb; --line: #e4e8ef; --space-unit: 8px; font-size: 16px; line-height: 1.65; }
.platform-sidebar { position: fixed; inset: 0 auto 0 0; width: 246px; z-index: 30; background: #fcfcfd; border-right: 1px solid var(--line); padding: 28px 18px 18px; display: flex; flex-direction: column; overflow-y: auto; }
.platform-brand { display: flex; gap: 11px; align-items: center; padding: 0 6px 27px; }
.platform-brand strong { display: block; font-size: 18px; color: var(--ink); letter-spacing: -.03em; }
.platform-brand small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.platform-brand .service-emblem { width: 37px; height: 40px; border-radius: 11px; flex: none; }
.platform-navigation { display: flex; flex-direction: column; gap: 4px; margin: 0; white-space: normal; font-size: 15px; }
.platform-navigation a { display: flex; gap: 12px; align-items: center; min-height: 46px; padding: 11px 14px; border-radius: 9px; color: #506171; font-weight: 500; }
.platform-navigation a:hover { background: #f0f4f5; }
.platform-navigation a[aria-current=page] { color: #304eac; background: #edf1fc; box-shadow: inset 3px 0 #4764bc; font-weight: 650; }
.platform-navigation .ui-icon { width: 20px; height: 20px; }
.nav-group-label { font-size: 11px; color: #647480; padding: 22px 14px 5px; letter-spacing: .07em; }
.sidebar-note { margin-top: auto; padding: 26px 14px 0; font-size: 11px; color: var(--muted); }
.sidebar-note p { margin-top: 10px; line-height: 1.8; }
.local-status { color: #256448; display: inline-flex; gap: 6px; align-items: center; }
.local-status::before { content: ''; width: 6px; height: 6px; background: #33785c; border-radius: 50%; }
.platform-body { margin-left: 246px; min-width: 0; }
.platform-app .preview-strip { text-align: right; font-size: 11px; padding: 4px 30px; background: #edf1f4; color: #5b6a76; }
.platform-app .header { padding: 12px 32px; gap: 18px; min-height: 64px; }
.topbar-label { font-size: 13px; color: var(--muted); font-weight: 400; }
.platform-app .header nav { font-size: 13px; gap: 18px; }
.platform-app .header nav > a:not(.button) { display: none; }
.platform-app .workspace-menu > summary { border: 0; background: #f1f4f6; padding: 8px 15px; min-height: 40px; }
.platform-app main { max-width: 1440px; margin: 0 auto; padding: 30px 36px 56px; }
.platform-app h1 { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.03em; }
.platform-app h2 { font-size: 19px; }
.platform-app h3 { font-size: 17px; }
.platform-app .button { font-size: 15px; min-height: 46px; border-radius: 8px; padding: 10px 18px; }
.platform-app .button.compact { min-height: 44px; }
.platform-app .app-footer { max-width: 1440px; padding: 22px 36px; font-size: 11px; }
.platform-app .app-footer > div > p:first-child { display: none; }
.platform-app .app-footer nav { font-size: 12px; }
.workspace-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin: 4px 0 25px; }
.workspace-heading h1 { margin: 7px 0 8px; }
.workspace-heading p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.workspace-heading > .button { flex: none; }
.workspace-heading .eyebrow { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.workspace-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 25px; }
.workspace-metric { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; display: flex; flex-direction: column; gap: 5px; }
.workspace-metric > span { font-size: 13px; color: var(--muted); }
.workspace-metric > strong { font-size: 32px; font-weight: 600; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; }
.workspace-metric > small { font-size: 11px; color: var(--muted); }
.workspace-metric:hover { border-color: #95b7a9; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 302px; gap: 24px; align-items: start; }
.workspace-primary, .workspace-secondary { min-width: 0; }
.workspace-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 23px 25px; margin-bottom: 22px; min-width: 0; }
.workspace-panel > .section-heading { gap: 14px; align-items: center; }
.workspace-panel .eyebrow { font-size: 10px; color: #5d736b; letter-spacing: .13em; margin-bottom: 5px; }
.workspace-panel .text-link, .record-access-bar .text-link { font-size: 13px; color: var(--green); min-height: 44px; display: inline-flex; align-items: center; }
.workspace-panel .quiet { font-size: 12px; }
.workspace-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 18px; gap: 12px; border: 1px dashed #dfe6ec; border-radius: 9px; background: #fbfcfd; }
.workspace-empty p { font-size: 14px; color: var(--muted); max-width: 430px; }
.compact-empty { padding: 23px 16px; }
.empty-symbol { width: 48px; height: 48px; display: grid; place-items: center; background: #eaf1ef; border-radius: 14px; color: #397660; }
.task-list { list-style: none; padding: 0; margin: 0; }
.task-list > li { display: flex; gap: 15px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.task-list > li > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.task-list > li > a { flex: none; }
.task-symbol { color: #467160; width: 38px; height: 44px; display: grid; place-items: center; background: #edf4ef; border-radius: 9px; flex: none; }
.task-list h3 { margin-bottom: 6px; }
.task-list p { font-size: 13px; color: var(--muted); }
.task-list small { font-size: 11px; color: var(--muted); }
.task-state { display: inline-block; font-weight: 400; font-size: 11px; padding: 3px 8px; background: #edf3f1; color: #31644f; border-radius: 5px; vertical-align: middle; }
.workspace-table-wrap { overflow-x: auto; }
.workspace-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.workspace-table th { background: #f6f8fa; color: var(--muted); font-size: 12px; font-weight: 500; padding: 11px 14px; }
.workspace-table td { padding: 16px 14px; border-bottom: 1px solid #ecf0f3; }
.workspace-table td strong, .workspace-table td small { display: block; }
.workspace-table td small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.workspace-table td:last-child { white-space: nowrap; }
.subject-shortcut { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #edf0f3; }
.subject-shortcut > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.subject-shortcut strong { font-size: 15px; display: block; color: var(--ink); }
.subject-shortcut small { display: block; color: var(--muted); font-size: 11px; }
.subject-shortcut > .ui-icon { width: 17px; color: var(--muted); }
.subject-avatar { width: 40px; height: 40px; border-radius: 12px; background: #e9f2ed; color: #32634e; display: grid; place-items: center; font-size: 18px; flex: none; }
.proxy-avatar { background: #f0eef8; color: #615576; }
.panel-bottom-link { display: block; padding-top: 14px; font-size: 13px; color: var(--green); min-height: 44px; }
.workspace-quick > h2 { margin-bottom: 10px; }
.workspace-quick > a { padding: 13px 0; display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #edf0f3; font-size: 14px; }
.workspace-quick > a:last-child { border-bottom: 0; padding-bottom: 0; }
.workspace-quick .ui-icon { width: 17px; }
.workspace-notice { padding: 5px 7px; }
.workspace-notice h2 { font-size: 14px; color: var(--muted); }
.workspace-notice p { font-size: 12px; line-height: 1.9; margin: 8px 0; color: var(--muted); }
.workspace-notice a { display: inline-block; font-size: 12px; color: var(--green); padding: 8px 0; }
.subject-heading { display: flex; gap: 18px; align-items: center; background: #fff; padding: 24px 28px; border: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.subject-heading > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.subject-heading h1 { font-size: 27px; }
.subject-heading p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.large-avatar { width: 58px; height: 58px; font-size: 26px; border-radius: 17px; }
.record-tabs { display: flex; gap: 25px; padding: 0 28px; background: #fff; border: 1px solid var(--line); border-top: 0; margin: 0 0 24px; overflow-x: auto; font-size: 14px; }
.record-tabs a { padding: 15px 0 13px; border-bottom: 3px solid transparent; min-height: 50px; }
.record-tabs a[aria-current=page] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.record-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.record-current { border-top: 1px solid var(--line); padding-top: 22px; }
.record-current h3 { font-size: 21px; margin: 14px 0 9px; }
.record-current p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.record-current .button { margin-top: 13px; }
.record-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.record-action-grid > a { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfd; }
.record-action-grid > a:hover { border-color: #95b7a9; background: #f4f8f6; }
.record-action-grid strong { font-size: 15px; display: block; color: var(--green); }
.record-action-grid span { font-size: 13px; color: var(--muted); display: block; margin-top: 8px; }
.record-access-bar { display: flex; align-items: center; gap: 20px; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 3px 4px; }
.platform-app .workspace-panel .record-section { margin-top: 0; }
.platform-app .home-hero { gap: 35px; padding: 10px 0 26px; }
.platform-app .home-hero h1 { font-size: clamp(29px, 3vw, 40px); }
.platform-app .home-hero .lead { font-size: 16px; }
.platform-app .journey-card { padding: 24px; box-shadow: none; border-radius: 12px; }
.platform-app .journey-card h2 { font-size: 21px; }
.platform-app .service-entry { border-radius: 12px; }
.guest-access > p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.guest-access .action-row { margin-top: 22px; }
.guest-open-access { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.guest-open-access span, .guest-open-access a { display: block; }
.guest-open-access a { color: var(--green); min-height: 44px; padding-top: 8px; }
.record-context { display: flex; justify-content: space-between; gap: 18px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 0 0; font-size: 14px; color: var(--ink); }
.record-context > span { color: var(--muted); font-size: 12px; flex: none; }
.record-context > a { min-width: 0; overflow-wrap: anywhere; }
.platform-app .account-name { display: block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-app .record-context + .record-tabs { border-top: 0; }
.platform-app .area-tabs { border: 1px solid var(--line); border-radius: 10px; }
.platform-app .narrow { width: 100%; margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.desk-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.desk-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.desk-breadcrumb > span { margin: 0 8px; color: #798393; }
.desk-heading h1 { font-size: 30px; font-weight: 650; margin-bottom: 8px; }
.desk-heading > div > p:last-child { font-size: 14px; color: var(--muted); }
.desk-date { text-align: right; font-size: 12px; flex: none; }
.desk-date time { display: block; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.launch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.launch-tile { display: flex; gap: 14px; align-items: start; padding: 24px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 3px #192c4503; }
.launch-tile:hover { border-color: #99abd8; background: #fcfdff; }
.launch-tile > div { flex: 1; min-width: 0; }
.launch-tile > .ui-icon { width: 16px; height: 16px; color: #66748c; margin-top: 7px; }
.launch-icon { width: 40px; height: 40px; border-radius: 10px; background: #edf1fd; color: #4663b4; display: grid; place-items: center; flex: none; }
.launch-import .launch-icon { background: #eaf4f1; color: #35715c; }
.launch-personal .launch-icon { background: #f3effa; color: #745a97; }
.launch-caption { font-size: 11px; color: var(--muted); }
.launch-tile h2 { font-size: 18px; margin: 4px 0 8px; font-weight: 600; }
.launch-tile p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.desk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 24px; align-items: start; }
.desk-main, .desk-side { min-width: 0; }
.desk-surface { border: 1px solid var(--line); background: #fff; border-radius: 12px; overflow: hidden; }
.surface-heading { padding: 24px 24px 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.surface-heading h2 { font-size: 18px; }
.surface-heading p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.subtle-link { font-size: 13px; color: var(--green); min-height: 44px; display: inline-flex; align-items: center; }
.desk-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 24px 16px; }
.view-tabs { gap: 4px; padding: 4px; background: #f3f5f8; border-radius: 7px; font-size: 12px; max-width: 100%; overflow-x: auto; }
.view-tabs a { border: 1px solid transparent; border-radius: 5px; padding: 7px 10px; min-height: 36px; flex: none; }
.view-tabs a[aria-current=page] { background: #fff; border-color: #e3e7ee; color: var(--ink); box-shadow: 0 1px 3px #2734550c; font-weight: 600; }
.desk-search { display: flex; align-items: center; width: 100%; max-width: 240px; border: 1px solid #d9dfe9; padding: 0 10px; border-radius: 7px; gap: 7px; background: #fff; }
.desk-search .ui-icon { width: 16px; height: 16px; color: #6c788a; }
.desk-search input { min-width: 0; width: 100%; border: 0; padding: 10px 0; font-size: 13px; background: transparent; color: var(--ink); }
.desk-search button { border: 0; border-left: 1px solid var(--line); padding: 8px 0 8px 10px; color: var(--green); background: transparent; font-size: 12px; cursor: pointer; min-height: 40px; flex: none; }
.desk-search:focus-within { outline: 2px solid #7794d4; outline-offset: 2px; }
.desk-search input:focus { outline: none; }
.desk-list-section { padding: 0 24px 24px; border-bottom: 1px solid var(--line); }
.desk-section-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 0 14px; }
.desk-section-caption h3 { font-size: 14px; font-weight: 600; }
.desk-section-caption > a, .desk-section-caption > span { font-size: 12px; color: var(--muted); }
.desk-section-caption > a { color: var(--green); padding: 7px 0; }
.desk-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.desk-table th { font-size: 11px; font-weight: 500; color: var(--muted); background: #f7f8fb; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.desk-table td { padding: 18px 14px; border-bottom: 1px solid #edf0f5; }
.desk-table tbody tr:last-child td { border-bottom: 0; }
.desk-table tbody tr:hover { background: #fcfdff; }
.desk-table th:first-child { width: 48%; border-radius: 6px 0 0 0; }
.table-identity { display: flex; gap: 12px; align-items: center; }
.table-identity > div { min-width: 0; }
.object-icon { width: 34px; height: 38px; border: 1px solid #e4e9f4; border-radius: 8px; background: #f5f7fc; color: #506ab0; display: grid; place-items: center; flex: none; }
.object-icon .ui-icon { width: 18px; height: 18px; }
.file-object { background: #f1f7f5; border-color: #e1ece7; color: #407563; }
.object-title { font-size: 14px; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.table-identity small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.state-pill { display: inline-flex; align-items: center; gap: 5px; color: #647085; background: #f0f2f5; border-radius: 5px; padding: 4px 8px; white-space: nowrap; font-size: 11px; }
.state-pill > i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.state-open { color: #2f7058; background: #eaf5ed; }
.state-paused { color: #88601f; background: #faf3e4; }
.state-closed { color: #677183; background: #f0f2f6; }
.row-actions { display: flex; flex-wrap: wrap; gap: 4px 13px; align-items: center; }
.row-actions a { color: var(--green); font-size: 12px; white-space: nowrap; padding: 8px 0; }
.cell-muted { font-size: 11px; color: var(--muted); }
.desk-empty { display: flex; gap: 16px; align-items: center; padding: 24px 20px; background: #fafbfd; border: 1px dashed #dfe5ef; border-radius: 8px; }
.empty-object { display: grid; place-items: center; width: 42px; height: 42px; color: #7b8ba7; background: #eff2f8; border: 1px solid #e3e9f2; border-radius: 10px; flex: none; }
.desk-empty > div { min-width: 0; flex: 1; }
.desk-empty h3 { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.desk-empty p { font-size: 12px; color: var(--muted); line-height: 1.85; }
.desk-empty > .button { flex: none; font-size: 12px; padding: 8px 12px; }
.desk-empty-line { font-size: 13px; padding: 16px 0 4px; color: var(--muted); }
.desk-empty-line a { color: var(--green); margin-left: 8px; }
.desk-task-list { list-style: none; margin: 0; padding: 0; }
.desk-task-list li { display: flex; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0f5; }
.desk-task-list li:last-child { border-bottom: 0; }
.desk-task-list li > div { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.desk-task-list h3 { font-size: 14px; font-weight: 550; }
.desk-task-list p { font-size: 12px; margin-top: 5px; color: var(--muted); }
.desk-task-list .subject-avatar { width: 34px; height: 34px; font-size: 15px; border-radius: 50%; background: #eef1fa; color: #51659b; }
.desk-task-list .button { font-size: 12px; padding: 8px 12px; }
.report-list-caption { margin-top: 8px; border-top: 1px solid var(--line); }
.desk-list-footer { padding: 14px 24px; color: var(--muted); font-size: 11px; background: #fcfcfd; }
.desk-side-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 20px; padding: 22px; }
.desk-side-card > header { display: flex; gap: 9px; align-items: center; margin-bottom: 12px; }
.desk-side-card h2 { font-size: 15px; font-weight: 600; }
.mini-icon { width: 23px; height: 23px; color: #667694; display: grid; place-items: center; flex: none; }
.mini-icon .ui-icon { width: 18px; height: 18px; }
.desk-side-card > p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 15px; }
.side-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf0f5; font-size: 13px; }
.side-action .ui-icon { width: 15px; height: 15px; color: #758196; }
.desk-side-card > .side-footnote { margin: 15px 0 0; font-size: 11px; color: var(--muted); }
.compact-subject { display: flex; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.compact-subject > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.compact-subject small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.compact-subject .ui-icon { width: 15px; height: 15px; }
.side-create { margin-top: 10px; }
.desk-side-note { display: flex; gap: 9px; padding: 0 4px; }
.desk-side-note h2 { font-size: 12px; color: var(--muted); font-weight: 500; }
.desk-side-note p { font-size: 11px; line-height: 1.9; color: var(--muted); margin-top: 7px; }
.desk-side-note a { font-size: 11px; color: var(--green); display: inline-block; padding-top: 12px; }
.organization-row { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.organization-row > div { flex: 1; min-width: 0; }
.organization-row h3 { font-size: 15px; overflow-wrap: anywhere; }
.organization-row p { color: var(--muted); font-size: 12px; }
.inline-scope-note { background: #f6f8fc; border: 1px solid var(--line); border-radius: 7px; padding: 16px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.inline-scope-note p { margin-top: 5px; }
.filter-notice { font-size: 12px; padding: 14px 24px 0; color: var(--muted); }
.filter-notice a { color: var(--green); padding-left: 12px; }
.list-count { font-size: 11px; font-weight: 500; color: var(--muted); background: #f0f2f7; border-radius: 5px; padding: 3px 8px; margin-left: 7px; vertical-align: middle; }
.managed-table-wrap { padding: 0 24px 24px; }
.cell-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.managed-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 48px 24px; }
.managed-empty h2 { font-size: 19px; }
.managed-empty p { max-width: 460px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.batch-process { list-style: none; margin: 0 0 24px; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 20px 32px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.batch-process li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.batch-process li > span { width: 24px; height: 24px; display: grid; place-items: center; font-size: 11px; border: 1px solid #dce2ef; border-radius: 50%; color: #536b9e; }
@media (max-width: 1300px) {
  .desk-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 20px; }
  .launch-tile { padding: 20px 16px; gap: 10px; }
  .launch-icon { width: 32px; height: 34px; }
  .launch-tile > .ui-icon { display: none; }
  .launch-tile h2 { font-size: 17px; }
  .desk-empty { flex-wrap: wrap; }
  .desk-empty > .button { margin-left: 58px; }
  .desk-toolbar { padding-left: 20px; padding-right: 20px; }
  .desk-list-section { padding-left: 20px; padding-right: 20px; }
  .desk-side-card { padding: 20px 18px; }
}
@media (max-width: 1080px) {
  .desk-layout { grid-template-columns: 1fr; }
  .desk-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .desk-side-note { grid-column: 1 / -1; }
  .launch-tile { display: block; }
  .launch-icon { margin-bottom: 12px; }
  .desk-empty > .button { margin-left: 0; }
}
@media (max-width: 760px) {
  .desk-heading { margin-bottom: 20px; flex-wrap: wrap; }
  .desk-heading > .button { width: 100%; }
  .desk-heading h1 { font-size: 27px; }
  .desk-date { display: none; }
  .desk-breadcrumb { margin-bottom: 10px; }
  .launch-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .launch-tile { display: flex; gap: 14px; padding: 18px; }
  .launch-icon { margin: 0; width: 38px; height: 40px; }
  .launch-tile h2 { margin: 3px 0 5px; font-size: 18px; }
  .launch-caption { font-size: 11px; }
  .launch-tile > .ui-icon { display: block; }
  .surface-heading { padding: 20px 17px 12px; flex-wrap: wrap; gap: 6px; }
  .desk-toolbar { padding: 0 17px 16px; }
  .view-tabs { width: 100%; margin-top: 0; }
  .view-tabs a { font-size: 12px; padding: 8px; min-height: 44px; }
  .desk-search { max-width: none; }
  .desk-search input { font-size: 16px; }
  .desk-list-section { padding: 0 16px 20px; }
  .desk-table { min-width: 540px; }
  .desk-table th, .desk-table td { padding-left: 10px; padding-right: 10px; }
  .desk-empty { padding: 20px 16px; gap: 12px; }
  .desk-empty > div { flex-basis: calc(100% - 60px); }
  .desk-empty > .button { margin-left: 54px; }
  .desk-side { display: block; }
  .desk-task-list li { flex-wrap: wrap; }
  .desk-task-list li > div { flex-basis: calc(100% - 50px); }
  .desk-task-list li > .button, .desk-task-list li > .subtle-link { margin-left: 46px; }
  .desk-section-caption { flex-wrap: wrap; gap: 4px; }
  .desk-list-footer { padding: 14px 16px; }
}
@media (min-width: 1650px) { .platform-app main { padding-top: 38px; } }
@media (max-width: 1200px) {
  .platform-sidebar { width: 214px; padding-left: 12px; padding-right: 12px; }
  .platform-brand { gap: 8px; }
  .platform-brand strong { font-size: 16px; }
  .platform-brand small { font-size: 10px; }
  .platform-body { margin-left: 214px; }
  .platform-app main { padding: 25px 24px 44px; }
  .workspace-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
  .workspace-panel { padding: 20px; }
  .workspace-metric { padding: 16px; }
  .record-tabs { gap: 20px; }
}
@media (max-width: 1000px) {
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .workspace-notice { grid-column: 1 / -1; }
  .workspace-metrics { gap: 10px; }
  .workspace-metric { padding: 14px 12px; }
  .record-overview-grid { grid-template-columns: 1fr; gap: 0; }
  .record-action-grid { grid-template-columns: 1fr; }
  .platform-app .home-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .platform-sidebar { position: static; width: auto; padding: 15px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); overflow: visible; }
  .platform-brand { padding: 0 0 14px; }
  .platform-brand strong { font-size: 18px; }
  .platform-brand small { font-size: 11px; }
  .platform-navigation { flex-direction: row; overflow-x: auto; white-space: nowrap; gap: 8px; padding-bottom: 10px; }
  .platform-navigation a { flex: none; padding: 10px 13px; font-size: 14px; }
  .nav-group-label, .sidebar-note { display: none; }
  .platform-navigation .ui-icon { display: none; }
  .platform-body { margin-left: 0; }
  .platform-app .header { padding: 10px 18px; min-height: 56px; flex-wrap: nowrap; align-items: center; }
  .platform-app .header nav { width: auto; flex: 1; justify-content: flex-end; margin: 0; }
  .platform-app .header .service-brand { flex-shrink: 1; min-width: 0; }
  .topbar-label { font-size: 11px; }
  .platform-app .workspace-menu[open] { position: static; flex-basis: auto; }
  .platform-app .workspace-menu[open] .workspace-links { position: absolute; right: 0; top: 100%; width: min(290px, calc(100vw - 36px)); }
  .platform-app .header { position: relative; }
  .platform-app .preview-strip { text-align: left; padding: 5px 18px; font-size: 10px; }
  .platform-app main { padding: 22px 16px 36px; }
  .workspace-heading { display: block; margin-bottom: 20px; }
  .workspace-heading > .button { margin-top: 18px; }
  .workspace-heading h1 { font-size: 26px; }
  .workspace-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
  .workspace-metric strong { font-size: 28px; }
  .workspace-panel { padding: 19px 17px; margin-bottom: 17px; }
  .workspace-secondary { display: block; }
  .workspace-panel .section-heading { flex-wrap: wrap; }
  .task-list > li { flex-wrap: wrap; gap: 12px; }
  .task-list > li > div { flex-basis: calc(100% - 55px); }
  .task-list > li > a { margin-left: 50px; }
  .workspace-table td, .workspace-table th { padding-left: 9px; padding-right: 9px; }
  .subject-heading { flex-wrap: wrap; padding: 20px 18px; gap: 13px; }
  .subject-heading h1 { font-size: 23px; }
  .subject-heading > .button { width: 100%; margin-top: 4px; }
  .large-avatar { width: 47px; height: 47px; font-size: 21px; }
  .record-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 5px 12px; gap: 0 8px; font-size: 14px; overflow: visible; }
  .record-tabs a { display: flex; align-items: center; justify-content: center; padding: 10px 0; min-height: 48px; white-space: normal; text-align: center; }
  .record-access-bar { display: block; }
  .platform-app .app-footer { padding: 22px 18px; }
}
