/* Corporate dashboard, with separate public sample and restricted staff views. */
.app { background: #f4f7fa; min-width: 0; grid-template-columns: 258px minmax(0,1fr); }
.app svg:not(.chart) { width: 18px; height: 18px; flex: none; }
.app .target-tag svg { width: 14px; height: 14px; }
.app .sidebar { background: #0c3049; padding: 25px 17px 20px; }
.app .sidebar:before { display: none; }
.app .brand { gap: 12px; padding: 0 0 25px; border-bottom: 1px solid #ffffff1c; }
.portal-brand-logo { width: 56px; height: 56px; object-fit: contain; background: white; border-radius: 9px; flex: none; }
.portal-brand-logo.sita-dashboard-logo { width:54px;height:65px;background:transparent;border-radius:0; }
.app .mobile-head .sita-mobile-logo { display:block;width:65px;height:auto;object-fit:contain; }
.rs-answer-needed { color:#9b1c1c;font-weight:600; }
.app .brand-text { font: 700 13px/1.55 Manrope,Arial,sans-serif; letter-spacing: -.15px; color: white; }
.app .brand-text small { font: 400 9px/1.7 'DM Sans',Arial,sans-serif; color: #b4c9d5; margin-top: 4px; }
.app .nav-caption { font-size: 9px; letter-spacing: .13em; color: #8faebf; margin: 26px 14px 13px; }
.app .nav-button { min-height: 46px; border-radius: 8px; padding: 12px 14px; margin-bottom: 5px; font-size: 12px; color: #c0d2dd; gap: 12px; }
.app .nav-button[aria-current=page] { background: #ffffff13; border-color: #ffffff20; color: #fff; }
.app .nav-button[aria-current=page]:before { width: 3px; border-radius: 3px; background: #71cbb5; }
.app .nav-button:hover { background: #ffffff0c; }
.app .side-project { border: 1px solid #ffffff1b; background: #ffffff06; border-radius: 12px; padding: 18px; }
.app .side-project strong { font-size: 12px; }
.app .side-project p { font-size: 11px; line-height: 1.7; }
.app .side-progress { display: none; }
.app .side-legal { font-size: 10px; line-height: 1.8; color: #93b1c2; }
.app .topbar { background: white; box-shadow: none; border-bottom: 1px solid #e1e9f0; min-height: 80px; height: auto; padding: 20px 32px; gap: 20px; }
.app .breadcrumb { font-size: 12px; color: #78909f; }
.app .breadcrumb strong { color: #274c64; }
.app .top-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; }
.app .status-pill { border: 1px solid #d7e8df; background: #edf7f1; color: #34735e; font-size: 10px; padding: 6px 9px; border-radius: 6px; white-space: normal; }
.portal-access-link { background: white; border: 1px solid #d3e0e9; border-radius: 7px; color: #476b81; padding: 7px 11px; font: 600 11px/1.5 'DM Sans',Arial,sans-serif; text-decoration: none; cursor: pointer; }
.app .content { padding: 28px 32px 64px; max-width: 1600px; }
.demo-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; border: 1px solid #d9e6ef; border-radius: 10px; background: #eef5fa; padding: 14px 18px; margin: 0 0 28px; color: #5c7789; font: 400 12px/1.7 'DM Sans',Arial,sans-serif; }
.demo-notice strong { font-size: 11px; color: #315e7b; white-space: nowrap; }
.demo-notice span { flex: 1 1 340px; }
.demo-notice a { font-size: 11px; font-weight: 700; color: #096c9e; text-decoration: none; }
.app .page-head { align-items: center; gap: 20px; margin-bottom: 25px; }
.app .eyebrow { font-size: 9px; color: #4f869a; letter-spacing: .13em; }
.app .eyebrow:before { width: 14px; height: 2px; background: #378c9b; }
.app .page-head h1 { font-size: clamp(28px,2.8vw,36px); line-height: 1.25; letter-spacing: -.04em; color: #183d56; margin: 10px 0; }
.app .page-head p { max-width: 660px; font-size: 13px; line-height: 1.8; color: #6b8393; }
.app .head-buttons { gap: 10px; align-items: stretch; }
.app .btn { min-height: 44px; font: 700 11px/1.5 'DM Sans',Arial,sans-serif; padding: 11px 15px; border-radius: 8px; gap: 9px; white-space: normal; box-shadow: none; }
.app .btn:hover { transform: none; }
.app .btn-primary { background: #0b6b9e; border: 1px solid #0b6b9e; color: white; }
.app .btn-primary:hover { background: #07577f; }
.app .btn-white { border: 1px solid #d3e1ea; color: #3b6179; background: white; }
.app .btn-accent { background: #e5f4ed; border: 1px solid #bcded0; color: #266c54; }
.app .hero { grid-template-columns: minmax(0,1fr) 245px; min-height: 285px; background: #103e5b; border: 1px solid #204e68; box-shadow: 0 12px 30px #143e5c0c; border-radius: 18px; }
.app .hero:after { display: none; }
.app .hero-main { padding: 31px 34px; }
.app .hero-kicker { font-size: 9px; letter-spacing: .13em; color: #a8d7ca; }
.app .hero-kicker:before { display: none; }
.app .hero-title { margin-top: 20px; font-size: 13px; color: #c2d8e4; }
.app .hero-score { font-size: 76px; letter-spacing: -.055em; line-height: 1.2; margin-top: 2px; }
.app .hero-score small { font-size: 31px; color: #a6e0cc; }
.app .hero-description { font-size: 12px; line-height: 1.75; color: #b6cedd; }
.app .target-tag { border-radius: 6px; font-size: 10px; padding: 6px 9px; background: #ffffff0a; border-color: #ffffff20; color: #c4ebdd; }
.hero-meta { margin: 30px 30px 30px 0; padding: 5px 0 5px 30px; align-self: stretch; border-left: 1px solid #ffffff20; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.hero-meta span { display: block; color: #9ab9ca; font-size: 10px; letter-spacing: .02em; }
.hero-meta strong { display: block; color: #fff; font: 700 25px/1.3 Manrope,Arial,sans-serif; margin-top: 5px; }
.hero-meta .hero-meta-label { font-size: 12px; line-height: 1.7; font-family: 'DM Sans',Arial,sans-serif; color: #d1e3ec; }
.app .metric-grid { gap: 16px; margin-top: 21px; }
.app .metric { border-radius: 13px; border-color: #dfe8ef; padding: 21px; min-height: 148px; box-shadow: 0 3px 10px #1f496308; }
.app .metric:hover, .app .panel:hover { transform: none; box-shadow: 0 3px 10px #1f496308; }
.app .metric-title { font-size: 11px; color: #658194; }
.app .metric-icon { border-radius: 9px; background: #edf5fa; color: #267fab; width: 31px; height: 31px; }
.app .metric strong { font-family: Manrope,Arial,sans-serif; font-size: 30px; letter-spacing: -.035em; color: #1a445f; }
.app .metric small { font-size: 10px; line-height: 1.65; color: #8396a4; }
.app .panel { border-radius: 14px; border-color: #dfe8ef; padding: 24px; box-shadow: 0 3px 10px #1f496308; }
.app .panel-head { gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.app .panel-head h2 { font-size: 15px; color: #244e66; letter-spacing: -.02em; }
.app .panel-sub { font-size: 11px; line-height: 1.7; color: #8396a4; margin-top: 5px; }
.app .link-button { color: #267699; font-size: 11px; white-space: normal; text-align: left; }
.app .helper { font-size: 11px; line-height: 1.8; color: #8395a3; }
.app .filters { border: 1px solid #dde7ee; box-shadow: none; border-radius: 12px; gap: 14px; padding: 20px; }
.app .field label { font-size: 11px; color: #57758a; }
.app .field input, .app .field select, .app .field textarea { min-height: 44px; border-color: #cadbe5; border-radius: 8px; font-size: 13px; background: #fff; }
.app .field input:focus, .app .field select:focus, .app .field textarea:focus { outline: 3px solid #0b77aa17; border-color: #0b77aa; }
.app .toolbar { flex-wrap: wrap; gap: 16px; }
.app .search-wrap { flex: 1 1 260px; min-width: 0; }
.app .search-wrap input { width: 100%; min-width: 0; }
.app .table-wrap { max-width: 100%; overflow-x: auto; }
.table-mobile-hint { display: none; }
.app .form-actions { gap: 12px; flex-wrap: wrap; }
.app .form-actions > button { flex: 1 1 150px; }
.app .scale label { position: relative; isolation: isolate; }
.app .scale input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.app .scale label:has(input:checked) { transform: none; }
.app .scale label:has(input:focus-visible) { outline: 3px solid #70b5dc; outline-offset: 3px; }
.app .report-cover, .app .survey-aside { background: #103e5b; border-radius: 16px; box-shadow: none; }
.app .report-title { font-size: clamp(24px,2.4vw,34px); line-height: 1.3; }
.app .empty { color: #6b8393; font-size: 13px; padding: 32px 20px; line-height: 1.8; }
.app :focus-visible { outline: 3px solid #70b5dc; outline-offset: 3px; }
.staff-gate { max-width: 620px; font-family: 'DM Sans',Arial,sans-serif; border-top: 4px solid #1e769b; }
.portal-login-logo { display: block; width: 105px; height: 105px; object-fit: contain; margin: 0 0 22px; }
.staff-gate h1 { font: 700 32px/1.3 Manrope,Arial,sans-serif; letter-spacing: -.035em; color: #183e58; }
.staff-gate .portal-login-subtitle { color: #548199; font-size: 13px; }
.staff-gate a { color: #0d719d; font-weight: 600; }
.rs a.sita-demo-chip { text-decoration: none; flex: none; }
@media(max-width:1150px) and (min-width:751px) {
  .app .content { padding: 26px 25px 56px; }
  .app .page-head { align-items: flex-start; }
  .app .head-buttons { justify-content: flex-start; }
  .app .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .app .hero { grid-template-columns: minmax(0,1fr) 185px; }
  .app .hero-main { padding: 28px; }
  .hero-meta { margin-right: 20px; padding-left: 22px; }
}
@media(max-width:750px) {
  .app .table-mobile-hint { display: block; font-size: 10px; line-height: 1.6; color: #78909f; margin: 0 0 14px; }
  .app { display: block; }
  .app .sidebar { position: fixed; width: 258px; height: 100dvh; min-height: 0; }
  .app .sidebar:not(.open) { visibility: hidden; }
  .app .sidebar.open { visibility: visible; }
  .app .topbar { padding: 15px 18px; min-height: 80px; gap: 13px; align-items: center; flex-wrap: wrap; }
  .app .mobile-head { min-width: 0; gap: 12px; flex: 1 1 240px; }
  .app .mobile-head strong { font-size: 12px; line-height: 1.45; max-width: 220px; color: #234d66; }
  .app .top-actions { justify-content: flex-start; width: 100%; padding-left: 47px; gap: 10px; }
  .app .menu { background: #edf4f8; color: #3c6e89; flex: none; }
  .app .content { padding: 22px 16px 45px; }
  .demo-notice { padding: 15px; margin-bottom: 24px; font-size: 11px; border-radius: 9px; }
  .demo-notice span { flex-basis: 100%; }
  .app .page-head { gap: 18px; }
  .app .page-head h1 { font-size: 28px; }
  .app .page-head p { font-size: 12px; }
  .app .head-buttons { display: grid; width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .app .head-buttons .btn { width: 100%; min-width: 0; font-size: 11px; }
  .app .hero { grid-template-columns: 1fr; border-radius: 14px; }
  .app .hero-main { padding: 26px; }
  .app .hero-score { font-size: 67px; }
  .hero-meta { margin: 0 26px 25px; padding: 22px 0 0; border-left: 0; border-top: 1px solid #ffffff20; flex-direction: row; flex-wrap: wrap; gap: 22px 28px; }
  .hero-meta div { flex: 1 1 100px; }
  .hero-meta strong { font-size: 21px; }
  .app .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .app .metric { padding: 17px 15px; min-height: 140px; border-radius: 11px; }
  .app .metric strong { font-size: 27px; }
  .app .metric-title { font-size: 10px; line-height: 1.6; }
  .app .metric-icon { width: 26px; height: 26px; }
  .app .panel { padding: 21px 18px; border-radius: 12px; }
  .app .panel-head { gap: 10px; }
  .app .filters { padding: 17px; }
  .app .form-actions { align-items: stretch; }
  .app .scale { gap: 5px; }
  .app .scale label { padding: 10px 4px; font-size: 11px; min-width: 0; }
}
@media(max-width:520px) {
  .rs a.sita-demo-chip { display: inline-flex; white-space: normal; max-width: 78px; text-align: center; justify-content: center; font-size: 8px; line-height: 1.5; padding: 5px 7px; }
  .rs a.sita-demo-chip:before { display: none; }
}
.analysis-jump { display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px; }
.analysis-jump button { color:#135d7c;background:#eaf3f7;border:1px solid #d7e7ee;border-radius:7px;padding:11px 14px;font-size:12px;text-decoration:none;font-weight:600; }
.analysis-section { margin-top:20px;scroll-margin-top:145px;min-width:0; }
.analysis-controls { display:flex;gap:18px;align-items:end;flex-wrap:wrap; }
.analysis-controls .field { flex:1;min-width:210px;max-width:420px; }
.analysis-controls .btn { margin-bottom:16px; }
.analysis-score { display:flex;align-items:center;gap:24px;margin:16px 0 20px;padding:22px;background:#edf6f8;border-radius:10px;color:#123f57; }
.analysis-score strong { font-size:42px;letter-spacing:-1px; }
.analysis-score span { font-size:12px;color:#547181; }
.analysis-dimension { max-width:320px;margin-bottom:20px; }
.analysis-table { max-width:100%;overflow-x:auto; }
.analysis-table .data-table { min-width:700px;width:100%; }
.analysis-table th,.analysis-table td { white-space:normal!important;min-width:100px;padding:15px!important;vertical-align:top;line-height:1.5; }
.analysis-table tbody th { text-align:left;font-size:12px;font-weight:600;min-width:170px; }
.analysis-table td small { display:block;font-size:10px;color:#627d8d;margin-top:5px; }
.analysis-subheading { margin:28px 0 16px;font-size:16px; }
.correlation-value { display:block;font-variant-numeric:tabular-nums;margin-bottom:7px; }
.correlation-rail { position:relative;display:block;width:100px;height:8px;background:#e6edf1;border-radius:3px; }
.correlation-rail:before { content:'';position:absolute;left:50%;top:-3px;height:14px;border-left:1px solid #698293; }
.correlation-rail i { position:absolute;top:0;height:8px;background:#1681a2; }
.theme-evidence { border:1px solid #dde8ed;border-radius:8px;margin:12px 0; }
.theme-evidence summary { cursor:pointer;padding:16px;font-weight:600;line-height:1.5; }
.theme-evidence summary span { font-size:11px;color:#637d8a;margin-left:10px; }
.theme-evidence blockquote { border-left:3px solid #afd5df;margin:14px 20px;padding:0 16px;overflow-wrap:anywhere; }
.theme-evidence blockquote p { font-size:13px;line-height:1.7; }
.theme-evidence footer { font-size:10px;color:#637d8a; }
.prototype-links { display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px; }
@media(max-width:750px) { .analysis-score { align-items:flex-start;flex-direction:column;gap:8px; }.analysis-jump button { flex:1 1 130px; }.analysis-controls .btn { width:100%; }.analysis-table .data-table { min-width:700px; } }
@media(prefers-reduced-motion:reduce) { .app * { transition: none !important; animation: none !important; } }

.theme-tester textarea{width:100%;box-sizing:border-box;border:1px solid #c8d9e3;border-radius:10px;padding:12px;font:inherit;resize:vertical}.theme-tester .field{display:block;margin:16px 0}.theme-review-options{border:1px solid #d5e2ea;border-radius:10px;margin:16px 0;padding:16px;display:grid;gap:12px}.theme-review-options label{display:flex;align-items:center;gap:10px}.theme-review-options input{width:18px;height:18px;flex-shrink:0}.theme-tester #theme-test-result{margin-top:18px}
