:root {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  color: #232c3c;
  background: #f7f9fc;
  font-synthesis: none;
  --accent: #2566e8;
  --accent-hover: #1954cc;
  --accent-soft: #edf3ff;
  --accent-border: #c4d7ff;
  --ink: #232c3c;
  --muted: #7a8495;
  --border: #e5eaf1;
  --surface: #fff;
  --success: #268567;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, a, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; flex: 0 0 auto; stroke-linecap: round; stroke-linejoin: round; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1280px; margin: auto; height: 76px; padding: 0 48px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 35px; height: 38px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 9px; font-size: 22px; font-weight: 700; letter-spacing: -2px; padding-right: 2px; }
.brand-name { font-size: 22px; font-weight: 650; letter-spacing: -.8px; color: #243044; }
.brand-name span { font-weight: 400; }
.header-nav { height: 100%; display: flex; align-items: center; gap: 26px; color: #7d8798; font-size: 13px; }
.nav-active { color: var(--ink); height: 100%; display: flex; align-items: center; position: relative; }
.nav-active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); border-radius: 2px 2px 0 0; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.sample-badge { font-size: 11px; letter-spacing: .4px; color: #8b94a2; white-space: nowrap; }
.theme-switch { display: flex; gap: 3px; background: #f0f3f7; border: 1px solid #e8edf3; padding: 3px; border-radius: 8px; font-size: 12px; }
.theme-switch a { padding: 6px 11px; border-radius: 5px; white-space: nowrap; color: #7d8694; }
.theme-switch a.active { background: white; color: var(--accent); box-shadow: 0 1px 4px #1e314012; font-weight: 600; }
.page { max-width: 1184px; margin: 0 auto; padding: 33px 32px 0; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.eyebrow { font-size: 11px; font-weight: 650; color: var(--accent); letter-spacing: 2px; margin: 0 0 5px; }
h1 { font-size: 31px; line-height: 1.4; letter-spacing: -1px; font-weight: 650; margin: 0 0 7px; }
.hero-copy { color: #7b8697; font-size: 13px; margin: 0; }
.hero-note { display: flex; align-items: center; gap: 7px; color: #7e899a; font-size: 12px; white-space: nowrap; }
.hero-note .icon { width: 16px; height: 16px; color: #8a9bb6; }
.process { display: flex; align-items: center; padding: 16px 25px; border: 1px solid var(--border); border-radius: 11px; background: #fff; margin-bottom: 25px; }
.process-step { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #939bab; white-space: nowrap; }
.process-step.current { color: var(--accent); font-weight: 600; }
.process-step.done { color: var(--success); }
.step-circle { display: grid; place-items: center; width: 23px; height: 23px; background: #f0f3f7; color: #929bab; border-radius: 50%; font-size: 11px; }
.current .step-circle { color: white; background: var(--accent); }
.done .step-circle { color: var(--success); background: #eaf6f0; }
.step-circle .icon { width: 13px; height: 13px; }
.process-line { height: 1px; background: #e8edf3; flex: 1; margin: 0 28px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; min-height: 24px; }
.work-label { font-size: 12px; font-weight: 600; color: #677386; display: flex; align-items: center; gap: 9px; }
.work-label .icon { width: 15px; height: 15px; }
.work-label span { font-size: 11px; font-weight: 400; padding: 1px 7px; background: #edf0f5; color: #8691a2; border-radius: 4px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: none; color: #7b8799; font-size: 12px; }
.text-button:hover { color: var(--accent); }
.text-button .icon { width: 13px; height: 13px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; position: relative; }
.panel { background: white; border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; overflow: hidden; box-shadow: 0 3px 10px #253e6210; }
.panel-top { padding: 21px 24px 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.panel-number { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 650; }
.panel h2 { font-size: 17px; margin: 0; font-weight: 600; color: var(--ink); }
.panel-description { margin: 1px 0 0; color: #8a94a4; font-size: 11px; }
.panel-tag { font-size: 10px; padding: 3px 8px; color: #98a1af; background: #f5f7fa; border-radius: 4px; white-space: nowrap; }
.panel-tag.ready { color: var(--success); background: #eaf6f0; }
.drop-area { position: relative; width: calc(100% - 48px); margin: 0 24px; min-height: 236px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1.5px dashed var(--accent-border); background: #f8faff; border-radius: 10px; padding: 19px 15px 15px; color: var(--ink); transition: background .15s, border-color .15s; }
.drop-area:hover, .drop-area.drag-over { background: #edf3ff; border-color: var(--accent); }
.drop-area.drag-over { outline: 3px solid var(--accent-soft); }
.file-illustration { position: relative; width: 88px; height: 105px; background: #fff; border: 1px solid #dee7f5; box-shadow: 0 5px 13px #2554a211; border-radius: 4px; margin-bottom: 14px; transform: rotate(-3deg); text-align: left; overflow: hidden; padding: 18px 11px 0; }
.panel-target .file-illustration { transform: rotate(3deg); }
.file-illustration::before { content: "W"; position: absolute; left: -1px; top: 8px; width: 21px; height: 19px; line-height: 19px; text-align: center; font-weight: 700; color: white; background: #3875da; border-radius: 0 3px 3px 0; font-size: 12px; }
.paper-heading { margin-top: 19px; height: 4px; width: 43px; background: #86a8df; border-radius: 1px; margin-bottom: 8px; }
.paper-line { height: 2px; background: #dfe6f1; margin-bottom: 5px; width: 100%; }
.paper-line.short { width: 73%; }
.paper-line.tiny { width: 48%; }
.file-illustration.empty { transform: none; padding: 0; display: grid; place-items: center; width: 66px; height: 76px; background: #fff; }
.file-illustration.empty::before { display: none; }
.file-illustration.empty .icon { width: 30px; height: 30px; color: #9ab5e5; }
.file-name { font-size: 13px; font-weight: 600; max-width: 100%; overflow-wrap: anywhere; line-height: 1.5; }
.file-meta { font-size: 10px; color: #9aa5b5; margin-top: 4px; display: flex; align-items: center; gap: 7px; }
.demo-label { padding: 0 5px; border: 1px solid #dbe5f6; border-radius: 3px; color: #8da0bc; font-size: 9px; }
.drop-caption { margin-top: 9px; font-size: 10px; color: #8d9bb1; }
.choose-file { display: none; }
.panel-bottom { padding: 17px 24px 18px; }
.panel-hint { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: #929dad; min-height: 19px; margin-bottom: 10px; gap: 10px; }
.panel-hint .file-limit { white-space: nowrap; }
.action { width: 100%; border: 1px solid var(--accent); background: var(--accent); color: white; height: 43px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; transition: background .15s, transform .15s; }
.action:hover:not(:disabled) { background: var(--accent-hover); }
.action:active:not(:disabled) { transform: translateY(1px); }
.action .icon { width: 16px; height: 16px; }
.action.secondary { background: white; color: var(--accent); border-color: #c6d6f4; }
.action.secondary:hover:not(:disabled) { background: var(--accent-soft); }
.action:disabled { color: #9eafca; background: #edf2fa; border-color: #edf2fa; }
.transfer { position: absolute; top: 195px; left: 50%; transform: translateX(-50%); z-index: 1; width: 35px; height: 35px; border: 1px solid #e4ebf7; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: #fff; box-shadow: 0 2px 6px #273e6010; }
.transfer .icon { width: 17px; height: 17px; }
.format-summary { display: flex; align-items: center; gap: 24px; margin-top: 20px; padding: 17px 22px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.summary-title { flex: 0 0 auto; padding-right: 22px; border-right: 1px solid var(--border); }
.summary-title strong { display: block; font-size: 12px; font-weight: 600; }
.summary-title small { display: block; font-size: 9px; color: #9ba4b2; margin-top: 3px; }
.summary-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; flex: 1; gap: 15px; }
.summary-item label { color: #9aa3b1; font-size: 10px; display: block; }
.summary-item p { font-size: 11px; margin: 3px 0 0; color: #59677d; }
.summary-item .pending { color: #bac1cc; }
.result-bar { margin-top: 15px; min-height: 76px; padding: 16px 22px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--border); background: #f0f4fa; border-radius: 10px; }
.result-icon { width: 34px; height: 34px; display: grid; place-items: center; background: #e5ebf4; color: #9ba8bc; border-radius: 9px; flex: 0 0 auto; }
.result-icon .icon { width: 18px; height: 18px; }
.result-text { min-width: 0; }
.result-text strong { font-size: 12px; font-weight: 500; display: block; }
.result-text p { font-size: 10px; color: #9aa4b4; margin: 3px 0 0; }
.result-tag { margin-left: auto; font-size: 10px; color: #9ba7b9; padding-left: 10px; white-space: nowrap; }
.result-bar.success { background: #f3faf7; border-color: #dceee5; }
.success .result-icon { background: #e3f2e9; color: var(--success); }
.result-download { width: auto; min-width: 140px; height: 37px; margin-left: auto; padding: 0 16px; flex: 0 0 auto; font-size: 11px; }
.site-footer { max-width: 1184px; margin: auto; padding: 23px 32px 24px; font-size: 10px; color: #a0a9b6; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-note { display: flex; align-items: center; gap: 6px; }
.footer-note .icon { width: 12px; height: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links button { font-size: 10px; }
.progress-line { height: 3px; background: #dce6f7; margin-top: 9px; overflow: hidden; border-radius: 2px; width: 190px; }
.progress-line span { display: block; height: 100%; width: 55%; background: var(--accent); animation: progress 1.1s infinite; }
.spinner { animation: spin .8s linear infinite; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); padding: 12px 20px; max-width: calc(100vw - 32px); background: #253248; color: white; border-radius: 8px; font-size: 12px; opacity: 0; pointer-events: none; transition: .2s; box-shadow: 0 6px 24px #0002; z-index: 20; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { border: 0; border-radius: 16px; box-shadow: 0 18px 70px #17233933; max-width: 460px; width: calc(100% - 32px); padding: 27px; color: var(--ink); }
dialog::backdrop { background: #1d293966; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { margin: 0; font-size: 18px; }
.close-dialog { background: #f3f5f8; border: 0; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; }
.close-dialog .icon { width: 15px; height: 15px; }
.dialog-body { font-size: 13px; color: #748095; line-height: 1.9; margin: 17px 0 23px; white-space: pre-line; }
[hidden] { display: none !important; }
@keyframes progress { from { transform: translateX(-110%); } to { transform: translateX(220%); } }
@keyframes spin { to { transform: rotate(360deg); } }
/* Version B: the same two-document workspace, with a classic conversion-tool skin. */
body[data-theme="classic"] { --accent: #e84c47; --accent-hover: #ce3a35; --accent-soft: #fdf0ee; --accent-border: #d7d7d7; --ink: #2d2e32; --muted: #8c8c8c; --border: #dedede; --radius: 5px; background: #f5f5f5; color: var(--ink); }
[data-theme="classic"] .site-header { background: #fff; }
[data-theme="classic"] .header-inner { height: 73px; }
[data-theme="classic"] .brand-mark { border-radius: 3px; height: 35px; }
[data-theme="classic"] .brand-name { font-weight: 700; color: #292b2f; }
[data-theme="classic"] .brand-name span { font-weight: 400; }
[data-theme="classic"] .nav-active { color: #e84c47; }
[data-theme="classic"] .theme-switch { background: #f1f1f1; border-color: #e3e3e3; border-radius: 4px; }
[data-theme="classic"] .theme-switch a { border-radius: 2px; }
[data-theme="classic"] .page { padding-top: 34px; }
[data-theme="classic"] .hero { display: block; text-align: center; margin-bottom: 24px; position: relative; }
[data-theme="classic"] .eyebrow { color: #999; font-size: 10px; margin-bottom: 8px; letter-spacing: 2.5px; }
[data-theme="classic"] h1 { font-size: 35px; font-weight: 650; letter-spacing: -.5px; }
[data-theme="classic"] .hero-copy { color: #929292; font-size: 12px; }
[data-theme="classic"] .hero-note { display: none; }
[data-theme="classic"] .process { padding: 11px 36px; border: none; border-radius: 0; background: none; max-width: 680px; margin: 0 auto 24px; }
[data-theme="classic"] .process-step { font-size: 12px; color: #999; }
[data-theme="classic"] .process-step.current { color: #343434; }
[data-theme="classic"] .step-circle { width: 25px; height: 25px; background: #e9e9e9; color: #999; font-size: 12px; border-radius: 3px; }
[data-theme="classic"] .current .step-circle { background: #e84c47; color: #fff; }
[data-theme="classic"] .done .step-circle { background: #e7f1ea; color: var(--success); }
[data-theme="classic"] .process-line { background: #d7d7d7; margin: 0 22px; }
[data-theme="classic"] .work-label { color: #7b7b7b; }
[data-theme="classic"] .work-label span { background: #e9e9e9; color: #999; }
[data-theme="classic"] .text-button { color: #909090; }
[data-theme="classic"] .text-button:hover { color: var(--accent); }
[data-theme="classic"] .workspace { gap: 28px; }
[data-theme="classic"] .panel { box-shadow: 0 2px 3px #00000003; border-color: #ddd; }
[data-theme="classic"] .panel-top { padding-top: 18px; padding-bottom: 17px; border-bottom: 1px solid #ededed; margin-bottom: 20px; }
[data-theme="classic"] .panel-number { background: #f2f2f2; color: #999; width: 30px; height: 34px; border-radius: 2px; font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
[data-theme="classic"] .panel h2 { font-size: 17px; }
[data-theme="classic"] .panel-description { color: #999; font-size: 10px; }
[data-theme="classic"] .panel-tag { background: #f4f4f4; color: #999; border-radius: 2px; }
[data-theme="classic"] .panel-tag.ready { color: var(--success); background: #edf6ef; }
[data-theme="classic"] .drop-area { min-height: 216px; padding-top: 13px; padding-bottom: 13px; background: #fcfcfc; border-radius: 2px; border-color: #d8d8d8; }
[data-theme="classic"] .drop-area:hover, [data-theme="classic"] .drop-area.drag-over { background: #fff5f4; border-color: #e84c47; }
[data-theme="classic"] .file-illustration { width: 70px; height: 80px; transform: none; border-color: #e1e1e1; box-shadow: 3px 3px 0 #ececec; border-radius: 0; margin-bottom: 12px; padding: 12px 9px 0; }
[data-theme="classic"] .panel-target .file-illustration { transform: none; }
[data-theme="classic"] .file-illustration::before { background: #607b9c; width: 19px; height: 17px; line-height: 17px; top: 6px; border-radius: 0 2px 2px 0; font-size: 11px; }
[data-theme="classic"] .paper-heading { background: #b6c0cd; width: 30px; height: 3px; margin-bottom: 5px; margin-top: 18px; }
[data-theme="classic"] .paper-line { background: #dedede; margin-bottom: 4px; }
[data-theme="classic"] .file-name { font-size: 12px; color: #666; font-weight: 500; }
[data-theme="classic"] .file-meta { color: #aaa; }
[data-theme="classic"] .demo-label { color: #a0a0a0; border-color: #dfdfdf; border-radius: 1px; }
[data-theme="classic"] .drop-caption { display: none; }
[data-theme="classic"] .choose-file { display: flex; align-items: center; justify-content: center; gap: 9px; background: #33353a; color: white; min-height: 32px; margin-top: 13px; padding: 0 14px; font-size: 11px; }
[data-theme="classic"] .choose-file .icon { width: 13px; height: 13px; }
[data-theme="classic"] .choose-arrow { margin-left: 7px; padding-left: 11px; border-left: 1px solid #ffffff3b; display: flex; }
[data-theme="classic"] .panel-bottom { padding-top: 15px; padding-bottom: 19px; }
[data-theme="classic"] .panel-hint { color: #a0a0a0; }
[data-theme="classic"] .action { border-radius: 3px; height: 43px; }
[data-theme="classic"] .action.secondary { background: #33353a; color: white; border-color: #33353a; }
[data-theme="classic"] .action.secondary:hover:not(:disabled) { background: #202226; }
[data-theme="classic"] .action:disabled { background: #f3d5d2; color: #c29490; border-color: #f3d5d2; }
[data-theme="classic"] .action.secondary:disabled { background: #ececec; border-color: #ececec; color: #aaa; }
[data-theme="classic"] .transfer { top: 194px; background: #f5f5f5; border: none; box-shadow: none; color: #a5a5a5; width: 27px; }
[data-theme="classic"] .format-summary { border-radius: 3px; margin-top: 19px; padding-top: 15px; padding-bottom: 15px; }
[data-theme="classic"] .summary-item label { color: #999; }
[data-theme="classic"] .summary-item p { color: #666; }
[data-theme="classic"] .summary-item .pending { color: #bbb; }
[data-theme="classic"] .result-bar { background: #eeeeee; border-color: #e4e4e4; border-radius: 3px; }
[data-theme="classic"] .result-icon { border-radius: 3px; background: #e4e4e4; color: #a6a6a6; }
[data-theme="classic"] .result-text p, [data-theme="classic"] .result-tag { color: #999; }
[data-theme="classic"] .result-bar.success { background: #f0f7f1; border-color: #dbe9de; }
[data-theme="classic"] .success .result-icon { background: #e0eee3; color: var(--success); }
[data-theme="classic"] .result-download { height: 37px; }
[data-theme="classic"] .site-footer { color: #aaa; }
[data-theme="classic"] dialog { border-radius: 5px; }
@media (max-width: 900px) {
  .header-inner { padding: 0 24px; gap: 22px; }
  .sample-badge { display: none; }
  .page { padding-left: 24px; padding-right: 24px; }
  .hero-note { display: none; }
  .panel-top { padding-left: 18px; padding-right: 18px; }
  .panel-description { font-size: 10px; }
  .drop-area { width: calc(100% - 36px); margin-left: 18px; margin-right: 18px; }
  .panel-bottom { padding-left: 18px; padding-right: 18px; }
  .format-summary { gap: 17px; padding-left: 18px; padding-right: 18px; }
  .summary-title { padding-right: 15px; }
  .summary-grid { gap: 10px; }
}
@media (max-width: 650px) {
  .header-inner, [data-theme="classic"] .header-inner { padding: 0 16px; height: 66px; gap: 10px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 29px; height: 32px; font-size: 19px; }
  [data-theme="classic"] .brand-mark { height: 31px; }
  .header-nav { display: none; }
  .header-right { gap: 0; }
  .theme-switch a { padding: 6px 8px; font-size: 11px; }
  .page, [data-theme="classic"] .page { padding: 25px 16px 0; }
  .hero { margin-bottom: 20px; }
  h1, [data-theme="classic"] h1 { font-size: 27px; }
  .hero-copy { font-size: 12px; max-width: 310px; }
  [data-theme="classic"] .hero-copy { margin: auto; }
  .process, [data-theme="classic"] .process { padding: 14px; margin-bottom: 20px; }
  .process-step, [data-theme="classic"] .process-step { gap: 6px; font-size: 10px; }
  .process-line, [data-theme="classic"] .process-line { margin: 0 9px; }
  .step-circle, [data-theme="classic"] .step-circle { width: 21px; height: 21px; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .transfer { display: none; }
  .panel-tag { font-size: 9px; }
  .panel-top { padding-top: 18px; }
  .drop-area { min-height: 221px; }
  .format-summary { align-items: stretch; flex-direction: column; gap: 15px; }
  .summary-title { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 11px; display: flex; gap: 12px; align-items: center; }
  .summary-title small { margin: 0; }
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 17px 12px; }
  .result-bar { padding: 15px; gap: 11px; flex-wrap: wrap; }
  .result-text { flex: 1; }
  .result-tag { font-size: 9px; }
  .result-download { flex-basis: 100%; margin-top: 7px; }
  .site-footer { padding: 21px 17px 25px; align-items: flex-start; font-size: 9px; }
  .footer-links { gap: 13px; }
  .footer-links button { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Live application controls, using the selected A layout and palette. */
.loading { margin: 80px auto; padding: 24px; max-width: 600px; text-align: center; color: #75839a; }
.connection { display: inline-flex; align-items: center; gap: 7px; color: #939cac; font-size: 12px; }
.connection::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c1c9d5; }
.connection.online::before { background: #30a17d; }
.work-meta { color: #97a0af; font-size: 11px; }
.file-illustration > span { display: block; }
.panel-hint { align-items: flex-start; }
.panel-hint > span:first-child { overflow-wrap: anywhere; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
button:disabled, fieldset:disabled { opacity: .75; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #edf3ff; color: #4d6c9a; border: 1px solid #dce7fd; border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 12px; overflow-wrap: anywhere; }
.notice.warning { background: #fff9ec; border-color: #f0e4c6; color: #8b6c29; }
.notice.error { background: #fff2f1; border-color: #f2d4d1; color: #a94a45; }
.notice button { flex: 0 0 auto; }
.notice .icon { width: 15px; height: 15px; }
.small-button { display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px; border: 1px solid #d6dfed; color: #4b668c; background: white; border-radius: 5px; font-size: 11px; min-height: 31px; }
.small-button:hover:not(:disabled) { background: #f3f7fe; border-color: #afc6ec; }
.standard-details, .advanced { margin-top: 13px; padding: 13px 20px; border: 1px solid var(--border); border-radius: 9px; background: white; }
.standard-details summary, .advanced > summary { font-size: 12px; cursor: pointer; color: #65758d; overflow-wrap: anywhere; }
.advanced > summary { color: #35445c; font-weight: 600; }
.advanced > summary span { color: #94a0b1; font-size: 11px; font-weight: 400; margin-left: 9px; }
.advanced[open] > summary { margin-bottom: 18px; }
.muted { color: #7d8a9d; font-size: 12px; line-height: 1.8; }
.warning-text { color: #9b7128; font-size: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; color: #61728a; }
th, td { padding: 10px 13px; border-bottom: 1px solid #ecf0f6; white-space: nowrap; }
th { background: #f6f8fc; font-weight: 500; color: #8390a3; }
tr:last-child td { border-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.form-grid.compact { grid-template-columns: repeat(4, minmax(0,1fr)); margin: 15px 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 9px 0; font-size: 11px; color: #78869b; min-width: 0; }
.field > span { min-height: 18px; }
select, .field input { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #dce3ee; border-radius: 5px; background: white; color: #43536b; font-size: 12px; line-height: 1.6; }
select { min-height: 36px; }
.field small { color: #ad7d31; }
.option-note { font-size: 11px; color: #92a0b2; line-height: 1.8; margin: 8px 0; }
.check-field { display: flex; gap: 9px; align-items: flex-start; color: #677890; font-size: 12px; margin: 15px 0 5px; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); margin: 4px 0 0; width: 15px; height: 15px; flex: 0 0 auto; }
.margin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.confirmation { background: white; border: 1px solid #e5d9bc; border-left: 3px solid #d4ab50; border-radius: 9px; padding: 22px; margin-top: 20px; scroll-margin-top: 20px; }
.confirmation > p { color: #7d8795; font-size: 12px; }
.confirmation-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.confirmation-heading > div { display: flex; align-items: center; gap: 8px; }
.confirmation-heading .icon { color: #bd9845; width: 18px; height: 18px; }
.confirmation h2 { font-size: 16px; color: #645f51; margin: 0; font-weight: 600; }
.confirmation-heading > span { color: #9b978e; font-size: 10px; overflow-wrap: anywhere; }
.bulk-actions { display: flex; gap: 8px; margin: 16px 0 12px; flex-wrap: wrap; }
.bulk-actions select { width: auto; min-width: 100px; }
.classification-list { border: 1px solid #e4e9f1; border-radius: 6px; overflow: hidden; }
.classification-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 15px; border-bottom: 1px solid #edf0f5; }
.classification-row:nth-child(2n) { background: #fbfcfe; }
.classification-row:last-child { border-bottom: 0; }
.classification-row > div { min-width: 0; }
.classification-row select { width: 145px; flex: 0 0 auto; }
.row-meta { font-size: 10px; color: #9ba7b7; }
.classification-row p { font-size: 12px; color: #50617b; overflow-wrap: anywhere; margin: 5px 0; }
.classification-row small { font-size: 10px; color: #9ba5b4; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 11px; color: #92a0b1; margin: 15px 0; }
.candidates { margin: 20px 0; }
.candidates legend { font-size: 12px; color: #65748a; margin-bottom: 8px; font-weight: 600; }
.candidate { display: flex; gap: 11px; border: 1px solid #e0e7f2; padding: 13px; border-radius: 6px; margin: 9px 0; cursor: pointer; }
.candidate:has(input:checked) { border-color: #a8c3f3; background: #f6f9ff; }
.candidate strong { display: block; font-size: 12px; color: #516581; font-weight: 500; }
.candidate small { display: block; font-size: 11px; color: #91a0b3; margin-top: 4px; overflow-wrap: anywhere; }
.candidate > span { min-width: 0; }
.confirmation-submit { width: auto; padding: 0 22px; font-size: 12px; margin-top: 15px; }
.mapping-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px 15px; margin-top: 13px; }
.line-override { font-size: 12px; color: #74859e; margin: 12px 0; }
.line-override summary { cursor: pointer; }
.result-bar { margin-top: 20px; }
.job-meta { display: flex; justify-content: space-between; gap: 15px; color: #94a0b2; font-size: 10px; margin: 9px 2px 0; }
.job-meta > span { overflow-wrap: anywhere; }
.job-meta .text-button { flex: 0 0 auto; font-size: 10px; }
.word-note { font-size: 11px; color: #8695aa; margin: 12px 2px 6px; }
.report-link { margin-left: 2px; font-size: 11px; }
.result-text { flex: 1; }
.result-text p { overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .form-grid.compact, .mapping-grid { grid-template-columns: 1fr 1fr; }
  .connection { font-size: 10px; }
}
@media (max-width: 650px) {
  .connection { font-size: 9px; gap: 4px; }
  .connection::before { width: 5px; height: 5px; }
  .form-grid, .form-grid.compact, .mapping-grid { grid-template-columns: 1fr; gap: 0; }
  .margin-grid { grid-template-columns: 1fr 1fr; }
  .advanced > summary span { display: block; margin: 4px 0 0 15px; }
  .advanced, .standard-details { padding: 14px; }
  .confirmation { padding: 16px 13px; }
  .confirmation-heading { align-items: flex-start; flex-direction: column; }
  .classification-row { gap: 10px; padding: 12px; align-items: stretch; flex-direction: column; }
  .classification-row select { width: 100%; }
  .confirmation-submit { width: 100%; }
  .notice { flex-wrap: wrap; padding: 12px; }
  .job-meta { align-items: flex-start; }
  .format-summary { padding: 16px; }
  .summary-grid { gap: 18px 13px; }
  .site-footer { flex-direction: column; gap: 6px; }
}
