:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2f28;
  background: #f5f7f8;
  font-synthesis: none;
  --green: #28745d;
  --green-dark: #205b49;
  --green-soft: #edf5f0;
  --text: #1f2f28;
  --secondary: #59675f;
  --muted: #68766e;
  --line: #dfe6e2;
  --surface: #fff;
  --orange: #a97026;
  --orange-soft: #fff7e9;
  --blue: #2e648d;
  --blue-soft: #eaf2fa;
  --blue-line: #b9cfe1;
  --slate-soft: #eef2f6;
  --nav-height: 60px;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { border: 0; color: inherit; background: none; cursor: pointer; }
button:disabled { opacity: .42; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 3px solid #95bfac; outline-offset: 2px; }
input, textarea, select { width: 100%; min-width: 0; color: var(--text); border: 1px solid #dce4df; border-radius: 8px; background: #fff; padding: 11px 12px; }
input:focus, textarea:focus, select:focus { outline: 2px solid #9ac7b2; outline-offset: 1px; }
textarea { resize: vertical; min-height: 94px; line-height: 1.7; }
label { font-size: 13px; }
svg.ico { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 42px; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 550; white-space: nowrap; }
.btn .ico { width: 17px; height: 17px; }
.btn.primary { color: #fff; background: var(--green); }
.btn.primary:hover { background: var(--green-dark); }
.btn.secondary { border: 1px solid var(--blue-line); background: #fff; color: var(--blue); }
.btn.soft { background: var(--green-soft); color: var(--green); }
.btn.danger { color: #a65b4e; background: #fcf0ed; }
.btn.small { min-height: 36px; padding: 7px 11px; font-size: 12px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 0; color: var(--blue); font-size: 12px; }
.text-button .ico { width: 14px; height: 14px; }
.close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: #7c8a82; border-radius: 8px; }
.close:hover { background: #f0f4f1; }
.muted { color: var(--secondary); }
.dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #7a9c89; }
.tag, .metric-status { display: inline-flex; align-items: center; gap: 5px; flex: none; border-radius: 5px; padding: 3px 7px; font-size: 11px; font-weight: 450; line-height: 1.5; white-space: nowrap; color: #527b63; background: #edf5ef; }
.tag.orange, .s-vague { color: #a57028; background: #fff3df; }
.tag.gray, .s-unasked { color: #7c8780; background: #f0f3f1; }
.tag.red, .s-refused { color: #a46c58; background: #f9eee9; }
.tag.blue, .s-awaiting { color: #648095; background: #edf3f7; }
.s-sufficient { color: #4f7d61; background: #edf6ef; }
.s-na { color: #7f7b94; background: #f0eff6; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #edf2ec; color: #71856d; font-size: 12px; }
.shell { display: grid; grid-template-columns: 216px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; width: 216px; padding: 30px 16px 20px; border-right: 1px solid var(--line); background: #fff; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 25px; font-weight: 700; letter-spacing: 1px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 39px; border-radius: 11px; background: var(--green); color: #fff; }
.brand-mark .ico { width: 23px; height: 23px; }
.brand small { display: block; margin-top: 1px; font-size: 10px; font-weight: 400; color: var(--secondary); letter-spacing: 1px; }
.workspace-tag { margin: 37px 14px 12px; font-size: 11px; color: #929e96; }
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav a { display: flex; gap: 12px; align-items: center; min-height: 45px; padding: 11px 14px; font-size: 13px; color: #6b7b70; border-radius: 8px; }
.nav a:hover { background: #f5f8f5; }
.nav a.active { color: var(--green); background: var(--green-soft); font-weight: 600; }
.mobile-label { display: none; }
.nav-count { margin-left: auto; padding: 1px 5px; border-radius: 5px; background: #deebe0; color: #65856a; font-size: 10px; font-weight: 500; }
.sidebar-bottom { margin-top: auto; }
.demo-card { padding: 15px 12px; background: #f6f8f5; border-radius: 9px; margin: 25px 0 18px; }
.demo-card b { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 550; }
.demo-card p { font-size: 10px; margin-top: 7px; color: var(--secondary); }
.demo-card a { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 10px; margin-top: 9px; }
.demo-card .ico { width: 12px; height: 12px; }
.profile { display: flex; gap: 9px; align-items: center; border-top: 1px solid var(--line); padding: 17px 8px 0; }
.profile b { display: block; font-size: 11px; font-weight: 550; }
.profile small { font-size: 9px; color: var(--secondary); }
.main { grid-column: 2; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding: 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 12px; color: #8e9a92; white-space: nowrap; }
.breadcrumb span:last-child { color: #52685a; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.demo-badge { display: inline-flex; align-items: center; gap: 5px; color: #7c8a80; font-size: 10px; white-space: nowrap; background: #f4f6f3; border-radius: 5px; padding: 4px 7px; }
.demo-badge .dot { background: #a1afa2; width: 4px; height: 4px; }
.app-brand, .mobile-header-title { display: none; }
.content { max-width: 1260px; margin: 0 auto; padding: 28px 32px 24px; min-width: 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 23px; }
.page-heading>div { min-width: 0; }
.page-heading h1 { font-size: 25px; font-weight: 650; line-height: 1.5; letter-spacing: -.3px; }
.subtext { color: var(--secondary); font-size: 12px; line-height: 1.8; margin-top: 6px; }
.eyebrow { display: none; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 19px 20px 16px; background: var(--slate-soft); border-bottom: 1px solid #d9e1e8; }
.panel-head h2, .panel-head h3 { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.panel-head h3 .ico { width: 16px; height: 16px; color: #7e9b83; }
.panel-sub { font-size: 11px; color: var(--secondary); margin-top: 5px; line-height: 1.8; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { background: #f9faf9; font-size: 11px; color: #8b978e; font-weight: 450; padding: 11px 20px; }
td { padding: 17px 20px; border-top: 1px solid #eff2ef; font-size: 12px; }
.person-cell { display: flex; gap: 10px; align-items: center; }
.person-cell b { display: block; font-size: 13px; font-weight: 550; }
.person-cell small { display: block; font-size: 11px; color: var(--secondary); margin-top: 4px; }
.recent-foot { display: flex; justify-content: center; align-items: center; border-top: 1px solid var(--line); padding: 10px; font-size: 11px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.filters { display: flex; gap: 5px; align-items: center; }
.filter { min-height: 38px; padding: 8px 12px; border-radius: 7px; font-size: 12px; color: #7b8a7e; white-space: nowrap; }
.filter.active { color: var(--green); background: #e8f1eb; font-weight: 600; }
.search-wrap { display: flex; gap: 8px; align-items: center; min-width: 0; background: #fff; border: 1px solid #e0e7e1; border-radius: 8px; padding: 0 12px; max-width: 300px; flex: 1; }
.search-wrap .ico { width: 16px; height: 16px; color: #8c9b90; }
.search-wrap input { border: 0; padding: 10px 0; background: none; outline: 0; font-size: 12px; }
.notice { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.8; color: #66846b; background: #f0f6ee; border: 1px solid #e0eadb; border-radius: 8px; padding: 11px 14px; margin-bottom: 17px; }
.notice .ico { width: 17px; height: 17px; }
.notice.warning { color: #a47c42; background: var(--orange-soft); border-color: #f0e4ce; }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 24px; font-size: 10px; color: #9aa59c; }
.footer span { display: flex; align-items: center; gap: 5px; }
.footer .ico { width: 12px; height: 12px; }
.mobile-tabs { display: none; }
.empty { padding: 40px 20px; text-align: center; color: var(--secondary); font-size: 12px; line-height: 2; }
.empty>.ico { display: inline-block; width: 30px; height: 30px; margin-bottom: 7px; color: #9eb09f; }
.empty h3 { font-size: 14px; color: #607d68; font-weight: 550; }
.empty .btn { margin-top: 17px; }

/* Home */
.portable-home { margin-bottom: 23px; }
.portable-greeting { display: none; }
.portable-start { position: relative; padding: 25px 28px; border-radius: 13px; background: #edf4ef; border: 1px solid #e1ebe3; }
.portable-start-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: #dcebe1; color: var(--green); margin-bottom: 12px; }
.portable-start h2 { font-size: 20px; font-weight: 600; }
.portable-start>p { color: #758d7c; font-size: 12px; margin-top: 7px; }
.portable-start>.btn { margin-top: 19px; min-height: 45px; min-width: 190px; }
.portable-start>.text-button { margin-left: 15px; font-size: 11px; }
.portable-start-note { display: block; margin-top: 9px; font-size: 11px; color: #88a18e; }
.portable-home-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.portable-home-links>* { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 51px; color: #718776; font-size: 12px; }
.portable-home-links>*+* { border-left: 1px solid var(--line); }
.portable-home-links b { color: #3b6b4c; font-size: 15px; margin-left: 5px; font-weight: 600; }
.portable-home-links .ico { width: 17px; height: 17px; }

/* Archive detail */
.session-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; min-width: 0; }
.session-title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.session-title>div { min-width: 0; }
.session-title h1 { font-size: 23px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.session-title p { font-size: 11px; color: #85948a; line-height: 1.8; margin-top: 4px; }
.back-button { display: grid; place-items: center; width: 38px; height: 40px; flex: none; border: 1px solid #dfe7e0; border-radius: 8px; color: #607e68; background: #fff; }
.session-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; }
.session-actions .btn { min-height: 36px; font-size: 12px; padding: 7px 11px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; color: var(--secondary); font-size: 11px; }
.detail-meta span { white-space: nowrap; }
.detail-meta .detail-location { white-space: normal; overflow-wrap: anywhere; }
.detail-utility { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.detail-utility .session-actions { margin-left: auto; }
.detail-banner { padding: 10px 13px; font-size: 12px; margin-top: 14px; margin-bottom: 17px; }
.interview-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 20px; min-width: 0; }
.tabs { display: flex; align-items: center; gap: 23px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 48px; color: #8a998d; font-size: 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.active { border-bottom-color: var(--green); color: var(--green); font-weight: 550; }
.detail-body { padding: 20px; min-width: 0; }
.review-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-radius: 8px; padding: 13px 0; background: #f7f9f7; margin-bottom: 19px; }
.review-kpis>div { text-align: center; }
.review-kpis>div+div { border-left: 1px solid #e8ede7; }
.review-kpis b { display: block; font-size: 22px; font-weight: 650; line-height: 1.3; color: #3d6850; }
.review-kpis b small { font-size: 11px; color: #98a498; font-weight: 400; }
.review-kpis span { font-size: 10px; color: var(--secondary); }
.review-kpis .has-open b { color: var(--orange); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 11px; }
.section-heading h2, .section-heading h3 { font-size: 14px; font-weight: 600; }
.section-heading>span { font-size: 10px; color: var(--secondary); }
.summary-grid { display: grid; grid-template-columns: 1fr; }
.summary-item { display: block; width: 100%; text-align: left; padding: 13px 0; border-bottom: 1px solid #edf1ed; min-width: 0; }
.summary-item:first-child { padding-top: 4px; }
.summary-item:last-child { border-bottom: 0; }
.summary-item-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 5px; }
.summary-item small { font-size: 12px; color: var(--text); font-weight: 600; }
.summary-item b { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; font-weight: 400; color: #46574f; line-height: 1.8; overflow-wrap: anywhere; }
.summary-item b .ico { width: 13px; height: 13px; color: #a0afa2; }
.summary-narrative { margin-top: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.summary-narrative summary { cursor: pointer; font-size: 12px; color: var(--green); font-weight: 600; padding: 13px 0; }
.summary-text { font-size: 13px; line-height: 1.9; color: #46574f; overflow-wrap: anywhere; }
.summary-narrative .summary-text { padding-bottom: 16px; }
.check-list { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; line-height: 1.9; color: #a2804c; padding: 11px 12px; background: #fff8eb; border-radius: 8px; }
.check-list>p { width: 100%; font-size: 11px; }
.followup-chip { display: inline-flex; padding: 2px 7px; border: 1px solid #eddfc5; border-radius: 4px; font-size: 11px; }
.review-note { margin-top: 20px; }
.review-note label { display: block; font-size: 12px; font-weight: 550; margin-bottom: 8px; color: #5f7667; }
.review-note textarea { min-height: 90px; font-size: 13px; }
.detail-review-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 17px; }
.archive-state { padding: 14px; background: #f0f7ef; border-radius: 8px; margin-top: 19px; color: #6c8e6a; font-size: 12px; line-height: 1.9; }
.archive-state .ico { width: 15px; height: 15px; vertical-align: middle; margin-right: 4px; }
.summary-title { display: flex; align-items: center; gap: 7px; font-size: 15px; margin-bottom: 17px; }
.audit-row { display: flex; justify-content: space-between; align-items: start; gap: 17px; padding: 13px 0; border-bottom: 1px solid #edf1ec; font-size: 12px; line-height: 1.8; color: #758a7b; }
.audit-row small { color: #96a39a; flex: none; font-size: 10px; }
.assist-stack { display: grid; gap: 15px; align-content: start; min-width: 0; }
.assist-panel .panel-head { padding: 17px 17px 13px; }
.assist-label { font-size: 8px; letter-spacing: 1px; color: #9ba99f; }
.progress-meta { display: flex; justify-content: space-between; gap: 8px; padding: 0 17px 10px; color: #8a9a8c; font-size: 10px; }
.progress-track { margin: 0 17px 13px; height: 4px; border-radius: 4px; background: #edf2eb; overflow: hidden; }
.progress-track i { display: block; height: 100%; background: #80a17b; border-radius: 4px; }
.metric-list { padding: 0 17px 9px; max-height: 420px; overflow: auto; }
.metric { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; text-align: left; padding: 12px 0; border-top: 1px solid #edf1eb; }
.metric>span:first-child { min-width: 0; }
.metric-title { display: block; font-size: 13px; color: var(--text); font-weight: 600; }
.metric-value { display: block; margin-top: 5px; font-size: 12px; color: #46574f; line-height: 1.8; overflow-wrap: anywhere; }
.mini-note { color: #9baa9b; font-size: 9px; line-height: 1.9; text-align: center; }
.ai-tip { margin: 0 15px 15px; padding: 12px; border: 1px solid #eddfc7; border-radius: 8px; background: var(--orange-soft); }
.ai-tip b { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #a47d46; }
.ai-tip b .ico { width: 15px; height: 15px; }
.ai-tip p { font-size: 11px; color: #a08d6d; margin-top: 6px; line-height: 1.9; }
.ai-tip .text-button { font-size: 10px; color: #a08760; margin-top: 7px; }
.speech-card { padding: 0 17px 16px; }
.speech-card p { color: #78916e; font-size: 12px; line-height: 1.9; }
.speech-actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 12px; }

/* Configuration */
.config-layout { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 18px; min-width: 0; }
.config-nav { display: flex; flex-direction: column; padding: 9px; height: max-content; }
.config-nav button { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px; text-align: left; color: var(--secondary); font-size: 12px; border-radius: 7px; }
.config-nav button.active { color: var(--green); background: var(--green-soft); font-weight: 550; }
.config-nav .ico { width: 17px; height: 17px; }
.config-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 20px; border-top: 1px solid #edf1ec; }
.row-main { min-width: 0; }
.config-row b { display: block; font-size: 13px; font-weight: 550; }
.config-row p { font-size: 12px; line-height: 1.8; color: var(--secondary); margin-top: 6px; overflow-wrap: anywhere; }
.config-row>.btn, .switch { flex: none; }
.switch { width: 36px; height: 22px; padding: 3px; background: #d9e2d7; border-radius: 12px; }
.switch:before { content: ''; display: block; height: 16px; width: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch.on { background: #78a286; }.switch.on:before { transform: translateX(14px); }

/* Live interview */
.field-page { display: flex; flex-direction: column; gap: 14px; }
.field-head { margin: 0; min-height: 44px; }
.field-head h1 { font-size: 20px; }.field-head h1 span { font-size: 13px; color: #8da091; font-weight: 400; margin-left: 7px; }
.field-head-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.field-head-tools button { display: flex; justify-content: center; align-items: center; gap: 4px; min-height: 44px; min-width: 39px; color: var(--secondary); }
.field-head-tools small { font-size: 10px; }
.field-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; border: 0; background: transparent; border-radius: 10px; }
.field-overview>button { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 11px 8px; min-height: 63px; border: 1px solid #c5dbc9; border-radius: 9px; background: #e5f2e9; }
.field-overview>button:nth-child(2) { background: #f0f3f6; border-color: #d5dee6; }
.field-overview>button:nth-child(3) { background: #fff0d6; border-color: #e4af65; }
.field-overview>button:nth-child(3) b, .field-overview>button:nth-child(3) em { color: #8a531b; }
.field-overview>button:nth-child(3) .overview-icon { color: #8a531b; background: #f9dfb4; }
.field-overview>button.attention { background: #c43d3d; border-color: #b63232; }
.overview-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #80a286; background: #edf4eb; }
.overview-icon .ico { width: 17px; height: 17px; }
.field-overview b { display: block; text-align: left; font-size: 22px; line-height: 1.15; font-weight: 650; }
.field-overview b small { font-size: 10px; color: #a4b19f; font-weight: 400; }
.field-overview em { display: block; text-align: left; font-style: normal; font-size: 10px; color: var(--secondary); margin-top: 4px; }
.field-overview .attention b, .field-overview .attention em { color: #fff; }.field-overview .attention .overview-icon { color: #fff; background: #ffffff24; }
.field-overview>button>.ico { display: none; }
.field-focus { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 11px; padding: 0; }
.field-focus.needs-attention { border-color: #e7b879; background: #fff4e5; }
.focus-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 10px 13px; text-align: left; border-radius: inherit; }
.focus-toggle>.ico { width: 16px; height: 16px; color: var(--green); }
.focus-level { display: inline-flex; align-items: center; flex: none; gap: 4px; padding: 3px 6px; border-radius: 5px; color: #fff; background: var(--blue); font-size: 10px; font-weight: 600; line-height: 1.5; }
.focus-level .ico { width: 13px; height: 13px; }
.needs-attention .focus-level { background: #a35a16; }
.focus-summary-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--text); }
.focus-toggle-indicator { display: inline-flex; align-items: center; flex: none; gap: 4px; font-size: 11px; color: var(--blue); }
.focus-toggle-indicator .ico { width: 13px; height: 13px; transform: rotate(90deg); }
.is-expanded .focus-toggle-indicator .ico { transform: rotate(-90deg); }
.needs-attention .focus-toggle>.ico, .needs-attention .focus-toggle-indicator { color: #a35a16; }
.needs-attention .focus-summary-text { color: #8a4b13; }
.focus-body { padding: 12px 13px 9px; border-top: 1px solid var(--blue-line); max-height: min(42dvh,320px); overflow-y: auto; overscroll-behavior: contain; }
.needs-attention .focus-body { border-top-color: #efdcb9; }
.field-focus.is-expanded .focus-question { display: block; overflow: visible; -webkit-line-clamp: unset; }
.focus-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.focus-heading>span:first-child { display: flex; gap: 5px; align-items: center; font-size: 11px; color: #779a78; font-weight: 550; }
.focus-heading .ico { width: 15px; height: 15px; }.focus-reference { color: var(--secondary); font-size: 9px; white-space: nowrap; }
.needs-attention .focus-heading>span:first-child { color: #b28a4f; }.needs-attention .focus-reference { color: #bda982; }
.field-focus h2 { font-size: 18px; font-weight: 600; line-height: 1.6; margin-top: 7px; overflow-wrap: anywhere; }
.focus-question { color: #648269; font-size: 16px; line-height: 1.8; margin-top: 6px; overflow-wrap: anywhere; }
.needs-attention .focus-question { color: #805b27; }
.focus-actions { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 7px; }
.focus-actions>div { display: flex; align-items: center; gap: 4px; }
.focus-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--green); font-size: 11px; min-height: 44px; padding: 6px 7px; border-radius: 7px; white-space: nowrap; }
.focus-actions .ico { width: 14px; height: 14px; }.focus-actions .ask-now { background: #fff9; border: 1px solid #d6e5cf; padding: 6px 12px; }
.needs-attention .focus-actions button { color: #805b27; }.needs-attention .focus-actions .ask-now { border-color: #ecdabb; }
.field-facts { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 46px; overflow: hidden; padding: 5px 8px; border: 1px solid #c8d6e5; border-radius: 10px; background: #edf2f7; }
.facts-label { display: flex; align-items: center; gap: 4px; color: #385a78; font-size: 11px; font-weight: 600; flex: none; white-space: nowrap; padding-right: 8px; border-right: 1px solid #cdd9d1; min-height: 32px; }
.facts-label .ico { width: 13px; height: 13px; }.facts-empty { font-size: 11px; color: var(--secondary); }
.fact-chip { background: transparent; border: 0; border-radius: 0; padding: 5px 7px; flex: 1; min-width: 0; min-height: 44px; text-align: left; }
.fact-chip+.fact-chip { border-left: 1px solid #cdd9d1; }
.fact-chip span, .fact-chip b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact-chip span { font-size: 11px; color: var(--secondary); }.fact-chip b { font-size: 12px; font-weight: 500; margin-top: 3px; color: #284864; }
.fact-chip:hover { background: #e3ebe6; }
.facts-all { margin-left: auto; min-width: 28px; min-height: 44px; padding: 0; display: grid; place-items: center; color: var(--green); }.facts-all .ico { width: 16px; height: 16px; }
.field-live-layout { min-height: 0; }
.transcript-panel { display: flex; flex-direction: column; position: relative; min-width: 0; }
.field-mode .transcript-panel { min-height: 450px; max-height: 600px; }
.record-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; padding: 10px 16px; background: #e9eef3; border-bottom: 1px solid #cbd6e0; flex: none; }
.record-status { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #384b5d; font-weight: 600; }.record-status .dot { width: 5px; height: 5px; background: #bca28b; }
.record-status.live .dot { background: #94b38d; animation: pulse 1.6s infinite; }
.record-caption { font-size: 9px; color: var(--secondary); }
.wave { display: flex; align-items: center; gap: 2px; height: 15px; }.wave i { width: 2px; height: 8px; border-radius: 3px; background: #a8bd99; }.wave i:nth-child(2n) { height: 13px; }.wave i:nth-child(3n) { height: 10px; }.live .wave i { animation: wave .7s alternate infinite; }.live .wave i:nth-child(2n) { animation-delay: .3s; }
.transcript-scroll { flex: 1; min-height: 0; overflow: auto; padding: 19px; overscroll-behavior: contain; scroll-behavior: auto; overflow-anchor: none; }
.message { display: flex; gap: 9px; margin-bottom: 18px; scroll-margin: 16px; }
.message>.avatar { width: 28px; height: 28px; font-size: 10px; background: #edf3e8; color: #819a76; }
.message.respondent>.avatar { background: #f2efe5; color: #b39e7b; }
.message-body { flex: 1; min-width: 0; }
.message-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 9px; font-size: 10px; line-height: 1.7; color: var(--secondary); margin-bottom: 6px; }
.message-meta b { font-weight: 650; color: var(--text); }.message.worker .message-meta b { color: #3a5e7b; }.edit-button { margin-left: auto; padding: 2px; font-size: 10px; color: var(--blue); }
.message-text { background: #fff; border: 1px solid #dfe6e2; border-radius: 0 9px 9px 9px; padding: 11px 13px; color: var(--text); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.message.worker .message-text { background: #eef4fb; border-left: 3px solid #7b9abb; }.field-mode .message-text { cursor: pointer; touch-action: manipulation; }
.field-mode .message-text { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.field-mode .message-text.is-pressing { outline: 2px solid #d9a43b; outline-offset: 2px; }
.message.highlight .message-text { background: #fff6dc; box-shadow: 0 0 0 2px #d8ba7b; }.message.corrected .message-text { border-left: 2px solid #aabd94; }
.message.is-bookmarked .message-text { background: #fff3cc; border-color: #d9a43b; border-left: 4px solid #d18d17; box-shadow: inset 0 0 0 1px #f3d793; }
.message.highlight.is-bookmarked .message-text { box-shadow: 0 0 0 2px #c69229; }
.bookmark-label { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 4px; background: #aa6b08; color: #fff; font-size: 10px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.bookmark-label .ico { width: 12px; height: 12px; }
.new-messages { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 8px 13px; font-size: 11px; color: #8da875; background: #f7fced; border: 1px solid #dbe7cc; border-radius: 22px; white-space: nowrap; box-shadow: 0 3px 12px #65854813; }
.new-messages[hidden] { display: none; }.new-messages .ico { width: 13px; height: 13px; transform: rotate(90deg); }
.field-mode .assist-stack .assist-panel:nth-child(n+2), .field-mode .assist-stack>.mini-note { display: none; }
#field-dock { flex: none; position: sticky; bottom: 10px; z-index: 25; }
.field-dock { background: #edf4f0; border: 1px solid #bfd5c7; border-radius: 11px; padding: 12px 18px 6px; box-shadow: 0 -4px 17px #59794109; }
.dock-state { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; color: #a5b398; padding-bottom: 10px; }
.dock-state>span:first-child { display: flex; align-items: center; gap: 5px; color: #567362; }.dock-state b { font-size: 11px; font-weight: 550; font-variant-numeric: tabular-nums; margin-left: 3px; }.dock-state .is-live { color: var(--green); }.is-live .dot { background: #9ebd86; animation: pulse 1.6s infinite; }
.dock-zone-label { color: #315b44; font-weight: 600; }
.dock-primary { display: grid; grid-template-columns: 1fr minmax(180px,2fr) 1fr; gap: 11px; max-width: 650px; margin: 0 auto; }
.dock-tool { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 51px; border: 1px solid #a8c1d6; border-radius: 9px; color: var(--blue); background: #fff; font-size: 12px; }.dock-tool .ico { width: 19px; height: 19px; }.dock-tool.marked { background: #fff1cb; color: #896625; border-color: #c39336; }
.dock-record { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 51px; border-radius: 9px; background: var(--green); color: #fff; font-size: 14px; font-weight: 550; }.dock-record.recording { background: var(--green-dark); }.dock-record .ico { width: 21px; height: 21px; }
.dock-primary>button>.ico { width: 20px; height: 20px; }
.dock-secondary [data-action="next-line"] { white-space: nowrap; }
.dock-secondary { display: flex; justify-content: space-between; align-items: center; gap: 5px; padding-top: 4px; }.dock-secondary>div { display: flex; align-items: center; gap: 8px; }.dock-secondary button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; font-size: 10px; color: var(--secondary); padding: 4px; }.dock-secondary .ico { width: 12px; height: 12px; }.dock-secondary .sync-status { font-size: 9px; padding-left: 0; }.dock-secondary .dock-finish { color: #fff; background: #c43d3d; border: 1px solid #b63232; border-radius: 7px; min-width: 64px; padding: 7px 12px; font-size: 12px; font-weight: 600; gap: 6px; }.dock-secondary .dock-finish:hover { background: #ad3030; }.dock-secondary .dock-finish:active { background: #972828; }

/* Dialogs and sheets */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: #1d302762; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal { width: 100%; max-width: 510px; max-height: 90dvh; overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 20px 80px #1d30272e; }
.modal.wide { max-width: 660px; }
.modal-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 24px 24px 18px; }
.modal-header>div { min-width: 0; }.modal-header h2 { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }.modal-header p { font-size: 12px; line-height: 1.8; color: var(--secondary); margin-top: 7px; }
.modal-body { padding: 0 24px 23px; }.modal-footer { display: flex; gap: 9px; border-top: 1px solid var(--line); padding: 16px 24px 22px; background: #fff; }.modal-footer .btn { flex: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.field { display: grid; gap: 7px; }.field.full { grid-column: 1/-1; }.field label { font-size: 12px; color: var(--secondary); }.field input, .field select, .field textarea { font-size: 13px; }.required { color: #c29b7f; }
.scenario-card { background: #f2f7eb; border: 1px solid #e2ebd5; border-radius: 8px; padding: 14px; color: var(--secondary); font-size: 11px; line-height: 1.9; margin: 18px 0; }.scenario-card b { display: block; color: #45694e; font-size: 12px; margin-bottom: 5px; }.scenario-card .ico { width: 14px; height: 14px; vertical-align: middle; }
.consent { display: flex; align-items: start; gap: 8px; font-size: 11px; font-weight: 400; color: var(--secondary); line-height: 1.8; margin-top: 17px; }.consent input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--green); }
.form-help { font-size: 11px; color: var(--secondary); line-height: 1.9; margin-top: 9px; }.evidence-meta { font-size: 11px; color: var(--secondary); line-height: 1.8; }
.quote-block { margin: 14px 0; border-left: 3px solid #bcccaa; padding: 12px 15px; background: #f3f8eb; color: var(--text); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.field-sheet-tabs { display: flex; gap: 5px; margin-bottom: 11px; }.field-sheet-tabs button { flex: 1; min-width: 0; min-height: 42px; font-size: 11px; white-space: nowrap; padding: 5px; border-radius: 6px; background: #f6f8f2; color: var(--secondary); }.field-sheet-tabs button.active { background: var(--green); color: #fff; font-weight: 600; }
.modal.field-sheet[data-metric-filter] { height: min(720px,88dvh); display: flex; flex-direction: column; overflow: hidden; }
.modal.field-sheet[data-metric-filter]:before, .modal.field-sheet[data-metric-filter] .modal-header, .modal.field-sheet[data-metric-filter] .modal-footer { flex: none; }
.modal.field-sheet[data-metric-filter] .modal-body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-bottom: 12px; }
.modal.field-sheet[data-metric-filter] .field-sheet-tabs, .modal.field-sheet[data-metric-filter] .form-help { flex: none; }
.modal.field-sheet[data-metric-filter] .modal-footer { position: static; }
.field-sheet-metrics { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.field-sheet-metrics .metric { display: grid; grid-template-columns: minmax(0,1fr) auto 14px; gap: 6px 10px; padding: 15px 0; border-top-color: #dce4df; }
.field-sheet-metrics .metric>span:first-child { display: contents; }
.field-sheet-metrics .metric-title { grid-column: 1; grid-row: 1; color: var(--text); font-weight: 650; }
.field-sheet-metrics .metric-value { grid-column: 1/-1; grid-row: 2; font-size: 14px; color: #46574f; margin: 0; line-height: 1.8; }
.field-sheet-metrics .metric>.metric-status { grid-column: 2; grid-row: 1; }
.field-sheet-metrics .metric>.ico { grid-column: 3; grid-row: 1; width: 14px; color: #80958a; }
.bookmark-entry { display: block; width: 100%; text-align: left; padding: 16px 0; border-top: 1px solid #edf2e6; }.bookmark-entry small { font-size: 11px; color: var(--secondary); }.bookmark-entry p { font-size: 13px; line-height: 1.9; margin-top: 8px; color: var(--text); }.bookmark-entry>span { display: flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--green); font-size: 11px; }.bookmark-entry .ico { width: 13px; height: 13px; }
.help-steps { display: grid; gap: 18px; }.help-step { display: flex; gap: 12px; }.step-num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; background: #edf5e4; color: #91af73; font-size: 12px; }.help-step b { font-size: 13px; font-weight: 550; }.help-step p { font-size: 12px; line-height: 1.9; color: var(--secondary); margin-top: 5px; }
#toast { position: fixed; z-index: 150; left: 50%; bottom: 30px; transform: translate(-50%,10px); opacity: 0; pointer-events: none; background: #355943; color: #fff; padding: 11px 18px; width: max-content; max-width: min(360px,calc(100vw - 32px)); border-radius: 8px; font-size: 12px; text-align: center; transition: .16s; }
#toast.show { opacity: 1; transform: translate(-50%,0); }
@keyframes pulse { 50% { opacity: .35; } }@keyframes wave { to { height: 4px; } }

/* Mobile: a native header, concise labels, and predictable spacing at 277px. */
@media (max-width: 1000px) { .interview-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 16px; }.content { padding-left: 23px; padding-right: 23px; }.config-layout { grid-template-columns: 150px minmax(0,1fr); gap: 14px; } }
@media (max-width: 760px) {
  .dock-primary>button { display: grid; grid-template-rows: 20px 16px; justify-items: center; align-content: center; gap: 2px; padding: 3px 0; }.dock-primary>button>span { line-height: 16px; white-space: nowrap; }
  .modal.field-sheet[data-metric-filter] { height: 88dvh; }
  body { font-size: 14px; }.shell { display: block; }.sidebar { display: none; }.main { padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); }
  .topbar { height: 52px; padding: 0 16px; gap: 10px; }.breadcrumb { display: none; }.app-brand { display: flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; }.app-brand>span { display: grid; place-items: center; width: 24px; height: 26px; border-radius: 7px; background: var(--green); color: #fff; }.app-brand .ico { width: 16px; height: 16px; }.app-brand b { font-size: 17px; font-weight: 650; letter-spacing: .5px; }
  .mobile-header-title { display: block; color: var(--secondary); font-size: 12px; padding-left: 10px; border-left: 1px solid #e3ebe0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; line-height: 18px; }
  .top-actions { gap: 4px; margin: 0; }.demo-badge { font-size: 10px; padding: 3px 6px; background: #f3f6f0; }.top-actions .close { width: 36px; height: 44px; }.top-actions .ico { width: 18px; height: 18px; }
  .content { padding: 19px 16px 18px; max-width: 650px; }.footer { display: none; }.page-heading { gap: 10px; margin-bottom: 17px; align-items: center; }.page-heading h1 { font-size: 22px; letter-spacing: -.2px; }.subtext { font-size: 12px; margin-top: 4px; }.page-heading>.btn { min-height: 40px; padding: 9px 11px; font-size: 12px; }.page-heading>.tag { font-size: 10px; }
  .mobile-tabs { display: flex; position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); height: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding: 6px 6px max(6px,env(safe-area-inset-bottom)); }
  .mobile-tabs a { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; flex: 1; min-width: 0; color: #6f7c74; font-size: 11px; white-space: nowrap; min-height: 44px; }
  .mobile-tabs .desktop-label { display: none; }.mobile-tabs .mobile-label { display: block; }.mobile-tabs a.active { color: var(--green); font-weight: 550; }.mobile-tabs a.active .ico { stroke-width: 2; }.mobile-tabs .ico { width: 20px; height: 20px; }.mobile-tabs .nav-count { position: absolute; top: -2px; left: calc(50% + 7px); margin: 0; font-size: 8px; min-width: 13px; line-height: 1.4; padding: 1px 3px; }
  .portable-home-mode .page-heading { display: none; }.portable-home-mode .content { padding-top: 20px; }.portable-greeting { display: block; margin-bottom: 17px; }.portable-greeting .tag { display: none; }.portable-greeting h1 { font-size: 23px; line-height: 1.5; font-weight: 650; letter-spacing: -.3px; }.portable-greeting h1 br { display: none; }.portable-greeting>p { font-size: 12px; margin-top: 6px; color: var(--secondary); }.portable-start { padding: 20px; border-radius: 12px; }.portable-start-icon { width: 35px; height: 35px; margin-bottom: 10px; }.portable-start-icon .ico { width: 20px; height: 20px; }.portable-start h2 { font-size: 17px; }.portable-start>p { font-size: 11px; margin-top: 6px; }.portable-start>.btn { width: 100%; margin-top: 16px; min-height: 48px; font-size: 14px; }.portable-start>.text-button { display: flex; margin: 6px 0 -6px; min-height: 38px; font-size: 11px; }.portable-start-note { text-align: center; font-size: 11px; margin-top: 11px; }.portable-home-links { margin-top: 12px; }.portable-home-links>* { min-height: 49px; font-size: 12px; }.portable-home-links b { font-size: 15px; }.portable-home { margin-bottom: 20px; }
  .panel-head { padding: 16px 16px 13px; }.panel-head h2, .panel-head h3 { font-size: 14px; }.panel-sub { font-size: 11px; }.table-wrap { overflow: visible; }table, tbody { display: block; white-space: normal; }thead { display: none; }tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; padding: 16px; border-top: 1px solid var(--line); }td { display: block; padding: 0; border: 0; min-width: 0; }td:nth-child(1) { grid-row: 1; grid-column: 1; }td:nth-child(2) { grid-row: 2; grid-column: 1; font-size: 10px; padding-left: 42px; margin-top: 4px; }td:nth-child(2):before { content: '创建 '; color: #7b887f; }td:nth-child(3) { grid-column: 2; grid-row: 1; align-self: center; }td:nth-child(4) { grid-column: 1; grid-row: 3; padding-left: 42px; font-size: 10px; }td:nth-child(4):before { content: '时长 '; color: #7b887f; }td:nth-child(5) { grid-column: 2; grid-row: 2/4; align-self: center; }.person-cell { gap: 9px; min-width: 0; }.person-cell>span:last-child { min-width: 0; }.person-cell .avatar { width: 33px; height: 33px; }.person-cell b { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }.person-cell small { font-size: 10px; line-height: 1.7; margin-top: 2px; }.tag, .metric-status { font-size: 10px; padding: 3px 6px; }.recent-foot { padding: 10px; }.text-button { font-size: 11px; }
  .toolbar { flex-direction: column-reverse; align-items: stretch; gap: 12px; margin-bottom: 14px; }.filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }.filter { font-size: 11px; padding: 8px 2px; min-height: 36px; }.search-wrap { width: 100%; max-width: none; }.search-wrap input { font-size: 13px; padding: 11px 0; }.notice { font-size: 11px; padding: 10px 12px; line-height: 1.8; margin-bottom: 14px; }.notice .ico { width: 16px; height: 16px; }
  .detail-page { margin-top: -3px; }.detail-head { margin: 0; }.detail-head .session-title { gap: 8px; align-items: start; }.detail-head .back-button { width: 31px; height: 38px; border: 0; background: none; margin-left: -6px; }.session-title h1 { font-size: 21px; line-height: 1.5; }.detail-meta { font-size: 11px; gap: 1px 9px; margin-top: 4px; line-height: 1.8; }.detail-utility { margin-top: 10px; }.session-actions { gap: 6px; flex-wrap: wrap; }.session-actions .btn { font-size: 11px; padding: 7px 9px; min-height: 34px; }.session-actions .btn .ico { width: 14px; height: 14px; }.detail-banner { margin-top: 8px; margin-bottom: 10px; padding: 8px 10px; font-size: 11px; }
  .detail-page>.interview-layout { display: block; }.detail-page .assist-stack { display: none; }.tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 0 12px; }.tabs button { min-height: 46px; font-size: 12px; text-align: center; }.detail-body { padding: 16px; }.review-kpis { margin-bottom: 10px; padding: 8px 0; }.review-kpis b { font-size: 21px; }.review-kpis span { font-size: 10px; }.section-heading { margin: 10px 0 8px; }.section-heading h2, .section-heading h3 { font-size: 14px; }.section-heading>span { font-size: 10px; }.summary-item { padding: 12px 0; }.summary-item-top { margin-bottom: 4px; }.summary-item small { font-size: 11px; }.summary-item b { font-size: 13px; line-height: 1.8; gap: 10px; }.summary-narrative summary { font-size: 12px; }.summary-text { font-size: 13px; line-height: 1.9; }.check-list { padding: 10px; font-size: 11px; gap: 5px; }.followup-chip { font-size: 10px; padding: 2px 5px; }.review-note label { font-size: 12px; }.review-note textarea { font-size: 16px; }.archive-state { font-size: 12px; padding: 12px; }.audit-row { font-size: 12px; display: block; padding: 13px 0; }.audit-row small { display: block; margin-top: 5px; font-size: 10px; }
  .detail-review-actions { position: fixed; z-index: 35; left: 0; right: 0; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding: 10px 16px; margin: 0; border-top: 1px solid var(--line); background: #fff; gap: 8px; }.detail-review-actions .btn { min-height: 44px; padding: 9px 12px; font-size: 12px; }.detail-review-actions .primary { flex: 1; }.review-mode .main { padding-bottom: calc(var(--nav-height) + 78px + env(safe-area-inset-bottom)); }
  .config-layout { display: block; }.config-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 5px; gap: 2px; margin-bottom: 14px; }.config-nav button { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 7px 1px; min-height: 52px; font-size: 11px; text-align: center; white-space: nowrap; }.config-nav .ico { width: 16px; height: 16px; }.config-row { padding: 15px 16px; gap: 11px; }.config-row b { font-size: 13px; }.config-row p { font-size: 11px; line-height: 1.8; margin-top: 5px; }.config-row>.btn { padding: 7px 8px; font-size: 10px; min-height: 34px; }
  .field-mode .topbar, .field-mode .mobile-tabs, .field-mode .footer { display: none; }.field-mode .main { height: 100svh; padding-bottom: 0; }.field-mode .content { height: 100%; padding: 10px 16px 0; overflow: hidden; max-width: 650px; }.field-page { gap: 9px; height: 100%; min-height: 0; }.field-head { flex: none; min-height: 44px; gap: 6px; }.field-head .session-title { gap: 6px; min-width: 0; }.field-head .back-button { width: 30px; height: 44px; margin-left: -6px; border: 0; background: none; }.field-head h1 { font-size: 17px; max-width: calc(100vw - 136px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.field-head h1 span { font-size: 12px; margin-left: 4px; }.field-head p { font-size: 10px; margin-top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100vw - 136px); }.field-head-tools { gap: 1px; }.field-head-tools button { min-width: 34px; min-height: 44px; }.field-head-tools .ico { width: 17px; height: 17px; }
  #field-overview, #field-focus, #field-facts { flex: none; min-width: 0; }.field-overview { border-radius: 9px; }.field-overview>button { gap: 7px; min-height: 58px; padding: 9px 5px; }.overview-icon { width: 24px; height: 24px; border-radius: 7px; }.overview-icon .ico { width: 15px; height: 15px; }.field-overview b { font-size: 21px; }.field-overview em { font-size: 10px; margin-top: 3px; }
  .field-focus { border-radius: 10px; }.focus-heading>span:first-child { font-size: 10px; gap: 4px; }.focus-heading .ico { width: 13px; height: 13px; }.focus-reference { font-size: 8px; }.field-focus h2 { font-size: 17px; margin-top: 6px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }.focus-question { font-size: 15px; margin-top: 6px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }.focus-actions { gap: 2px; margin-top: 4px; }.focus-actions button { font-size: 11px; min-height: 44px; gap: 4px; padding: 5px; }.focus-actions .ico { width: 13px; height: 13px; }.focus-actions .ask-now { padding: 5px 9px; min-height: 44px; }
  .field-facts { gap: 6px; min-height: 44px; }.facts-label { font-size: 10px; gap: 3px; }.facts-label .ico { width: 11px; height: 11px; }.facts-empty { font-size: 10px; }.fact-chip { min-height: 44px; padding: 5px 7px; }.fact-chip span { font-size: 10px; }.fact-chip b { font-size: 12px; }.field-facts .fact-chip:nth-of-type(n+3) { display: none; }.facts-all { min-width: 22px; }
  .field-live-layout { display: flex; flex: 1; min-height: 80px; overflow: hidden; gap: 0; }.field-mode .assist-stack { display: none; }.field-mode .transcript-panel { flex: 1; height: 100%; min-height: 0; max-height: none; border-radius: 9px; }.record-bar { min-height: 34px; padding: 7px 11px; }.record-status { font-size: 10px; gap: 6px; }.record-caption { font-size: 8px; }.transcript-scroll { padding: 12px 11px 3px; }.field-mode .message { gap: 7px; margin-bottom: 14px; }.field-mode .message>.avatar { width: 23px; height: 23px; font-size: 9px; }.field-mode .message-meta { font-size: 10px; gap: 6px; margin-bottom: 4px; }.field-mode .edit-button { font-size: 9px; }.field-mode .message-text { font-size: 14px; line-height: 1.8; padding: 9px 11px; }.field-mode .empty { padding: 12px 5px; }.field-mode .empty>.ico { width: 24px; height: 24px; margin-bottom: 3px; }.field-mode .empty h3 { font-size: 12px; }.field-mode .empty p { font-size: 10px; line-height: 1.8; }
  #field-dock { position: relative; bottom: auto; margin: 0 -16px; }.field-dock { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 9px 16px max(2px,env(safe-area-inset-bottom)); box-shadow: none; background: #edf4f0; }.dock-state { font-size: 9px; padding-bottom: 8px; }.dock-state b { font-size: 10px; }.dock-primary { grid-template-columns: 61px minmax(0,1fr) 61px; gap: 10px; }.dock-tool { min-height: 52px; flex-direction: column; gap: 3px; font-size: 10px; border-radius: 8px; }.dock-tool .ico { width: 18px; height: 18px; }.dock-record { min-height: 52px; gap: 7px; font-size: 14px; border-radius: 8px; }.dock-secondary { gap: 3px; padding-top: 2px; }.dock-secondary>div { gap: 5px; }.dock-secondary button { min-height: 44px; font-size: 10px; padding: 4px 3px; }.dock-secondary .sync-status { max-width: 52%; white-space: nowrap; overflow: hidden; font-size: 8px; }.dock-secondary .dock-finish { padding: 7px 12px; }
  .modal-overlay { padding: 0; align-items: flex-end; }.modal { border-radius: 18px 18px 0 0; max-width: 650px; max-height: 88dvh; box-shadow: 0 -12px 50px #20332124; }.modal:before { content: ''; display: block; width: 32px; height: 4px; border-radius: 4px; background: #e0e8d8; margin: 10px auto 0; }.modal-header { padding: 15px 18px 15px; gap: 8px; }.modal-header h2 { font-size: 18px; }.modal-header p { font-size: 11px; }.modal-header .close { min-width: 40px; height: 44px; }.modal-body { padding: 0 18px 20px; }.modal-footer { padding: 13px 18px max(18px,env(safe-area-inset-bottom)); position: sticky; bottom: 0; z-index: 1; }.modal-footer .btn { min-height: 44px; padding: 9px 10px; font-size: 12px; }.form-grid { grid-template-columns: 1fr; gap: 15px; }.field, .field.full { grid-column: 1; }.field label { font-size: 12px; }.field input, .field textarea, .field select { font-size: 16px; }.scenario-card { font-size: 11px; margin: 16px 0; padding: 12px; }.consent { font-size: 11px; line-height: 1.8; }.form-help { font-size: 11px; }.field-sheet-tabs { gap: 4px; }.field-sheet-tabs button { font-size: 11px; min-height: 44px; padding: 5px 1px; }.field-sheet-metrics .metric-value { font-size: 14px; }.field-sheet-metrics .metric-title { font-size: 13px; }.modal .text-button { min-height: 44px; }.quote-block { font-size: 13px; padding: 11px 12px; }.help-step p { font-size: 12px; }
  #toast { bottom: calc(var(--nav-height) + 20px + env(safe-area-inset-bottom)); font-size: 11px; padding: 10px 14px; }.field-mode~#toast, body:has(.field-mode) #toast { bottom: 155px; }
}
@media (max-width: 340px) {
  .topbar { padding: 0 12px; gap: 8px; }.app-brand { gap: 5px; }.app-brand b { font-size: 16px; }.mobile-header-title { font-size: 11px; padding-left: 8px; }.top-actions { gap: 1px; }.top-actions .close { width: 31px; }.content { padding-left: 12px; padding-right: 12px; }.page-heading h1 { font-size: 21px; }.page-heading>.btn { padding: 8px 9px; font-size: 11px; }.subtext { font-size: 11px; }
  .portable-start { padding: 17px; }.portable-start h2 { font-size: 16px; }.portable-greeting h1 { font-size: 22px; }.portable-greeting>p { font-size: 11px; }.portable-home-links>* { font-size: 11px; gap: 5px; }.panel-head { padding: 14px 13px 12px; }.panel-head h2 { font-size: 13px; }tbody tr { padding: 14px 13px; gap: 4px 5px; }.person-cell .avatar { display: none; }.person-cell b { font-size: 12px; }.person-cell small { font-size: 10px; }td:nth-child(2),td:nth-child(4) { padding-left: 0; }.tag { font-size: 9px; padding: 3px 5px; }
  .session-title h1 { font-size: 19px; }.detail-meta { font-size: 10px; gap: 1px 7px; }.detail-utility .btn { font-size: 10px; min-height: 34px; }.detail-banner { font-size: 11px; }.detail-body { padding: 13px; }.tabs { padding: 0 9px; }.tabs button { font-size: 11px; }.summary-item b { font-size: 13px; }.summary-item small { font-size: 11px; }.detail-review-actions { padding-left: 12px; padding-right: 12px; }.detail-review-actions .btn { font-size: 11px; padding: 8px 10px; }.config-row { padding-left: 13px; padding-right: 13px; }.config-row b { font-size: 12px; }.config-row>.btn { padding: 6px; font-size: 9px; }.config-row p { font-size: 11px; }.config-nav { padding: 4px; }.config-nav button { font-size: 10px; }
  .field-mode .content { padding-left: 12px; padding-right: 12px; }#field-dock { margin-left: -12px; margin-right: -12px; }.field-dock { padding-left: 12px; padding-right: 12px; }.dock-primary { grid-template-columns: 55px minmax(0,1fr) 55px; gap: 8px; }.dock-record { font-size: 12px; gap: 5px; }.dock-record .ico { width: 18px; height: 18px; }.overview-icon { display: none; }.focus-reference { display: none; }.focus-actions button { font-size: 10px; padding: 5px 3px; gap: 3px; }.focus-actions .ask-now { padding: 5px 7px; }.focus-toggle, .focus-body { padding-left: 11px; padding-right: 11px; }.focus-summary-text { font-size: 12px; }.field-focus h2 { font-size: 15px; }.focus-question { font-size: 13px; }.dock-state { font-size: 8px; }.dock-secondary button { font-size: 9px; }.dock-secondary .sync-status { font-size: 7px; }.field-head h1 { max-width: calc(100vw - 126px); }.field-head p { max-width: calc(100vw - 126px); }
  .modal-header { padding-left: 15px; padding-right: 15px; }.modal-header h2 { font-size: 17px; }.modal-body { padding-left: 15px; padding-right: 15px; }.modal-footer { padding-left: 15px; padding-right: 15px; }.field-sheet-tabs button { font-size: 10px; }.metric-status { font-size: 9px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .field-page { gap: 7px; }.field-mode .content { padding-top: 7px; }.field-overview>button { min-height: 51px; padding: 7px 5px; }.field-overview b { font-size: 20px; }.field-overview em { font-size: 9px; }.field-focus h2 { font-size: 15px; margin-top: 5px; -webkit-line-clamp: 1; }.focus-question { font-size: 13px; line-height: 1.7; margin-top: 5px; -webkit-line-clamp: 2; }.focus-actions { margin-top: 2px; }.field-facts { min-height: 40px; }.fact-chip { padding: 4px 6px; min-height: 40px; }.dock-state { padding-bottom: 6px; }.dock-tool, .dock-record { min-height: 48px; }.field-mode .message-text { font-size: 13px; }
}
@media (max-width: 760px) and (max-height: 620px) {
  #field-facts { display: none; }.field-head { min-height: 38px; }.field-head h1 span { display: none; }.field-head h1 { font-size: 16px; }.field-head .back-button { height: 38px; }.field-head-tools button { min-height: 38px; }.focus-reference, .dock-state { display: none; }.field-overview>button { min-height: 47px; }.field-focus h2 { font-size: 14px; }.focus-question { font-size: 12px; }.dock-tool,.dock-record { min-height: 46px; }.field-dock { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation: none!important; scroll-behavior: auto!important; transition: none!important; } }
