:root {
  --ink: #18201d;
  --muted: #66716d;
  --line: #d9dfdc;
  --soft: #f3f6f4;
  --surface: #ffffff;
  --green: #146c56;
  --green-dark: #0d5342;
  --amber: #b7791f;
  --red: #b42318;
  --blue: #265d97;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #f7f9f8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f7f9f8; font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif; }
button, input, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
.topbar {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 3.4vw, 64px); background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; font-size: 17px; font-weight: 700; }
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px;
  color: white; background: var(--green); font-size: 15px;
}
.brand-logo { width: 32px; height: 36px; display: block; flex: 0 0 auto; object-fit: contain; }
.brand-copy { display: flex; align-items: baseline; gap: 12px; min-width: 0; line-height: 1; white-space: nowrap; }
.brand-copy strong {
  color: #18231f; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: .04em;
}
.brand-tagline { color: #63746d; font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.customer-topbar { padding: 0; }
.topbar-inner {
  width: min(1480px, calc(100% - 64px)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.login-mode .topbar { display: none; }
.login-mode .login-shell, .login-mode .auth-shell { min-height: 100vh; }
.workspace-mode { background: #f5f7f8; }
.workspace-mode .topbar { box-shadow: 0 2px 10px rgba(24, 48, 39, .025); border-color: #e4e9e7; }
.admin-label { color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
main { width: 100%; }
.login-shell {
  min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 32px 20px;
  background:
    radial-gradient(circle at 50% 14%, rgba(23, 107, 77, .075), transparent 31rem),
    linear-gradient(180deg, #f8faf9 0%, #f3f7f5 100%);
}
.login-panel { width: min(380px, 100%); padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(22, 47, 37, .08); }
.login-heading { margin-top: 0; margin-bottom: 18px; font-size: 17px; }
.product-login {
  width: min(420px, 100%); padding: 42px 38px 36px;
  border-color: rgba(19, 71, 52, .15); border-radius: 16px;
  box-shadow: 0 28px 80px rgba(19, 53, 41, .12);
}
.brand-wordmark {
  margin: 0; display: flex; align-items: center; justify-content: center;
  color: #14231d; font-family: "Microsoft YaHei", sans-serif;
  font-size: 32px; font-weight: 760; letter-spacing: .12em;
}
.brand-wordmark i {
  margin: 0 .08em; color: var(--green); font-family: Georgia, serif;
  font-size: .78em; font-style: normal; font-weight: 700; letter-spacing: 0;
}
.login-divider { height: 1px; margin: 30px 0 26px; background: linear-gradient(90deg, transparent, var(--line) 24%, var(--line) 76%, transparent); }
.product-login label { color: #52605a; font-size: 13px; }
.product-login input { height: 48px; border-radius: 9px; background: #fcfdfc; }
.product-login .button { min-height: 48px; border-radius: 9px; letter-spacing: .08em; }
.auth-shell {
  min-height: 100vh; display: grid; grid-template-columns: minmax(440px, 43vw) minmax(0, 1fr);
  align-items: stretch; background: #f7f9f9;
}
.auth-brand-panel {
  position: relative; min-width: 0; min-height: 100vh;
  padding: clamp(46px, 6vh, 72px) clamp(46px, 5vw, 78px); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #141a1d; background: #e8edef;
  box-shadow: inset -1px 0 #d1d9dc;
}
.auth-brand-content { position: relative; z-index: 2; width: min(470px, 100%); text-align: center; }
.auth-brand-header { display: grid; justify-items: center; text-align: center; }
.auth-app-icon {
  width: clamp(96px, 8vw, 124px); height: auto; margin: 0 0 18px;
  filter: none;
}
.auth-kicker {
  width: 100%; margin: 0 0 21px; color: #52666a; font-size: 12px; font-weight: 750;
  text-align: center; letter-spacing: .22em;
}
.auth-wordmark {
  margin: 0; display: flex; align-items: center; justify-content: center;
  color: #141a1d; font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(44px, 3.7vw, 58px); font-weight: 650; letter-spacing: .075em;
  text-shadow: none;
}
.auth-wordmark i {
  margin: 0 .07em; color: #1e755d; font-family: Georgia, serif;
  font-size: .78em; font-style: normal; font-weight: 700; letter-spacing: 0;
}
.auth-positioning {
  margin: 16px 0 0; color: #146c56; font-size: 16px; font-weight: 600; letter-spacing: .035em;
}
.auth-intro {
  max-width: 440px; margin: clamp(36px, 4.7vh, 50px) auto 0;
  color: #273338; font-size: 18px; font-weight: 700; line-height: 1.72;
  letter-spacing: 0;
}
.auth-capabilities {
  margin: clamp(26px, 3.5vh, 36px) 0 0; padding: 0; list-style: none; display: grid; gap: 12px;
}
.auth-capabilities li {
  color: #59686d; font-size: 15px; font-weight: 600;
  line-height: 1.6; letter-spacing: 0; text-align: center;
}
.auth-stage {
  min-width: 0; min-height: 100vh; padding: 48px clamp(36px, 5vw, 76px);
  display: grid; place-items: center; background: #f7f9f9;
}
.auth-panel {
  width: min(480px, 100%); padding: 32px 34px 30px; background: #ffffff;
  border: 1px solid #d1dadc; border-radius: 8px;
  box-shadow: 0 22px 58px rgba(28, 47, 53, .09);
}
.auth-panel-head { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.auth-panel-head h2 { color: #15231e; font-size: 28px; font-weight: 720; line-height: 1.15; letter-spacing: -.02em; }
.auth-panel-head > p { margin: 0 0 2px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.text-button { padding: 0 1px 2px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--green); cursor: pointer; font: inherit; font-weight: 750; }
.text-button:hover { border-bottom-color: currentColor; }
.auth-panel > label { margin-top: 15px; color: #4c5a54; font-size: 12px; }
.auth-panel > label:first-of-type { margin-top: 0; }
.auth-panel input {
  height: 48px; border-color: #c4cec9; border-radius: 7px; background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.auth-panel input:hover:not(:focus) { border-color: #aebbb5; }
.auth-submit { width: 100%; min-height: 48px; margin-top: 22px; border-radius: 7px; letter-spacing: .08em; }
.email-verification { margin: 13px 0 0; padding: 0; border: 0; }
.email-verification legend { margin-bottom: 7px; color: #4c5a54; font-size: 12px; font-weight: 600; }
.email-address-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 9px; }
.email-verification > input { margin-top: 8px; }
.code-button {
  min-height: 44px; border-color: rgba(23, 107, 77, .48); border-radius: 8px; padding: 0 12px;
  background: #f5faf7; color: var(--green-dark);
}
.code-button:hover:not(:disabled) { border-color: var(--green); background: #eaf5ef; }
.register-panel { padding: 30px 34px 29px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: 26px; line-height: 1.2; }
h2 { margin: 0; font-size: 20px; }
label { display: grid; gap: 8px; color: #3e4945; font-size: 14px; font-weight: 600; }
input, select {
  width: 100%; height: 44px; border: 1px solid #c7cfcb; border-radius: 6px;
  padding: 0 12px; background: white; color: var(--ink); outline: none;
}
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 107, 77, .12); }
.login-panel label + label { margin-top: 16px; }
.login-panel .button { width: 100%; margin-top: 22px; }
.button {
  min-height: 42px; border: 1px solid transparent; border-radius: 6px; padding: 0 17px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; white-space: nowrap; font-weight: 650;
}
.button:disabled { cursor: not-allowed; opacity: .55; }
.primary { background: var(--green); color: white; }
.primary:hover:not(:disabled) { background: var(--green-dark); }
.secondary { background: white; color: var(--ink); border-color: #bcc6c1; }
.secondary:hover { background: var(--soft); }
.button.code-button { border-color: #8db9a5; background: #f4faf7; color: var(--green); }
.button.code-button:hover:not(:disabled) { border-color: var(--green); background: #e8f4ee; }
.subtle { min-height: 34px; background: transparent; color: var(--muted); padding: 0 8px; }
.workspace { width: min(1120px, calc(100% - 40px)); margin: 38px auto 80px; }
.workspace.wide { width: min(1320px, calc(100% - 40px)); }
.customer-workspace { width: min(1480px, calc(100% - 64px)); margin: 32px auto 64px; }
.customer-workspace .section-heading { min-height: 40px; margin-bottom: 16px; align-items: center; }
.customer-workspace .section-heading h1 { margin: 0; color: #17221e; font-size: 26px; line-height: 1.3; font-weight: 650; }
.customer-workspace .section-heading h2 { color: #17221e; font-size: 21px; font-weight: 650; }
.section-heading { min-height: 46px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading.compact { min-height: 32px; align-items: center; }
.eyebrow { margin-bottom: 5px; color: var(--green); font-size: 11px; line-height: 1; font-weight: 800; }
.upload-band { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: end; gap: 12px; padding: 22px; background: var(--surface); border-block: 1px solid var(--line); }
.field-grow { min-width: 0; }
.file-picker { position: relative; display: block; }
.file-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-picker span { height: 42px; padding: 0 17px; display: inline-flex; align-items: center; border: 1px solid #bcc6c1; border-radius: 6px; background: white; cursor: pointer; }
.selected-files { padding: 12px 22px; border-bottom: 1px solid var(--line); background: white; color: var(--muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.folder-upload-band { overflow: hidden; background: white; border: 1px solid #dfe6e3; border-radius: 12px; box-shadow: 0 2px 6px rgba(24, 48, 39, .018); }
.folder-controls { min-height: 76px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.media-selector { min-width: 0; margin: 0; padding: 0; border: 0; }
.media-selector legend { margin-bottom: 9px; color: #34423c; font-size: 14px; font-weight: 700; }
.segments { display: inline-grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); padding: 3px; background: #edf1ef; border-radius: 6px; }
.workflow-segments { grid-template-columns: minmax(136px, 1fr); }
.delivery-segments { grid-template-columns: repeat(2, minmax(112px, 1fr)); }
.segments label { display: block; }
.segments input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segments span { min-height: 40px; padding: 0 18px; display: grid; place-items: center; border-radius: 4px; color: var(--muted); cursor: pointer; font-size: 14px; }
.segments input:checked + span { background: white; color: var(--green-dark); box-shadow: 0 1px 4px rgba(20, 50, 38, .12); font-weight: 750; }
.segments input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 1px; }
.batch-toggle { grid-template-columns: 18px auto; align-items: center; gap: 9px; padding-bottom: 10px; cursor: pointer; }
.batch-toggle input { width: 18px; height: 18px; accent-color: var(--green); }
.narration-language-selector { min-width: 176px; color: #34423c; font-size: 14px; font-weight: 700; }
.narration-language-selector select { width: 100%; min-height: 46px; margin: 0; padding: 0 38px 0 13px; border: 1px solid #d5ddd9; border-radius: 6px; background: #fff; color: #17221d; font: inherit; font-weight: 650; }
.narration-language-selector select:focus { outline: 2px solid rgba(18, 121, 75, .2); border-color: var(--green); }
.folder-drop { min-height: 100px; margin: 0 24px 16px; padding: 18px 24px; border: 1px dashed #b9c9c1; border-radius: 8px; background: #f9fbfa; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); transition: background .15s ease, border-color .15s ease; }
.folder-drop.dragging { border-color: var(--green); background: #eef7f2; }
.folder-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.folder-list { border-top: 1px solid var(--line); }
.folder-row { min-height: 70px; padding: 12px 18px 12px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.folder-row.folder-invalid { background: #fffafa; }
.folder-main { min-width: 0; display: grid; gap: 5px; }
.folder-main strong { overflow-wrap: anywhere; }
.folder-main > span { color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.folder-main .progress { max-width: 460px; margin-top: 2px; }
.customer-transfer-summary { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.customer-task-pipelines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 6px; }
.remove-folder { width: 36px; height: 36px; font-size: 20px; }
.upload-command { padding: 12px 24px; display: flex; justify-content: flex-end; border-top: 1px solid #edf0ee; background: white; }
.customer-workspace .upload-command .button { min-width: 168px; }
.message { min-height: 22px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.message.error { color: var(--red); }
.message.success { color: var(--green); }
.task-heading { margin-top: 30px; }
.customer-workspace #upload-status:empty { display: none; }
.task-heading-actions { display: flex; align-items: center; gap: 10px; }
.danger-outline { min-height: 40px; padding: 0 14px; border: 1px solid #e3b9b4; background: white; color: var(--red); }
.danger-outline:hover { background: #fff8f7; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 6px; color: var(--ink); cursor: pointer; font-size: 20px; }
.task-list { overflow: hidden; display: grid; gap: 1px; background: #e8eeeb; border: 1px solid #dfe6e3; border-radius: 12px; }
.task-row {
  background: white; padding: 14px 22px; display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px; align-items: center;
}
.task-row.task-complete { grid-template-columns: minmax(0, 1fr) auto; }
.task-overview { min-width: 0; display: grid; gap: 6px; }
.task-row:hover { background: #fcfdfd; }
.task-context { color: var(--muted); font-size: 12px; line-height: 1.4; }
.task-side { min-width: max-content; display: grid; justify-items: end; gap: 6px; }
.task-side-top { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.task-time { color: #73817a; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.task-action { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.task-cancel { width: 30px; height: 30px; display: inline-grid; place-items: center; color: #718079; font-size: 0; border-color: #dfe6e3; }
.task-cancel::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 1px; }
.task-cancel:hover { color: var(--red); border-color: #e3b9b4; }
.task-state-line { min-height: 34px; min-width: 116px; padding: 0 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--green-dark); background: #edf6f2; border-radius: 7px; font-size: 13px; }
.task-state-line.is-uploading { background: #edf3f8; color: #355e7f; }
.task-state-line.is-uploading .task-breathe-dot { background: #4c82a6; }
.task-state-line.is-error { color: var(--red); background: #fff2ef; }
.task-breathe-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); animation: task-breathe-dot 1.7s ease-in-out infinite; }
@keyframes task-breathe-dot { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.task-complete-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.result-download-button { min-height: 34px; min-width: 116px; padding: 0 14px; border-radius: 7px; font-size: 13px; }
.task-record-delete { min-height: 30px; padding: 0 2px; border: 0; background: transparent; color: #8a9691; cursor: pointer; font-size: 12px; }
.task-record-delete:hover { color: var(--red); }
.result-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.task-title { color: #1b2823; font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.task-meta { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.status-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.status-text { font-weight: 650; }
.progress { height: 8px; margin-top: 10px; background: #e8ecea; overflow: hidden; border-radius: 3px; }
.progress > span { display: block; height: 100%; background: var(--green); transition: width .2s ease; }
.file-lines { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.empty { padding: 34px 20px; background: white; color: var(--muted); text-align: center; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.metric { min-height: 112px; padding: 22px; background: white; }
.metric-label { color: var(--muted); font-size: 13px; }
.metric-value { margin-top: 12px; font-size: 26px; font-weight: 750; }
.metric-detail { margin-top: 4px; color: var(--muted); font-size: 12px; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 30px; margin-top: 42px; }
.plain-section { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 10px; padding: 16px; background: white; border-block: 1px solid var(--line); }
.invitation-form { grid-template-columns: minmax(180px, 1fr) 130px auto; }
.registration-code-output {
  margin: 12px 0 0; padding: 16px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: #eaf5ef; border: 1px solid #b8dbc9; border-radius: 8px;
}
.registration-code-output code { color: var(--green-dark); font: 700 17px/1.2 Consolas, monospace; letter-spacing: .05em; }
.registration-code-output p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.customer-heading { margin-top: 34px; }
.one-column { grid-template-columns: 1fr; align-items: stretch; }
.table-wrap { width: 100%; overflow-x: auto; background: white; border-block: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 13px 14px; border-bottom: 1px solid #e4e8e6; text-align: left; font-size: 13px; vertical-align: middle; }
th { color: var(--muted); font-weight: 650; background: #fafbfa; }
tr:last-child td { border-bottom: 0; }
.small-button { border: 0; background: transparent; color: var(--blue); cursor: pointer; padding: 4px 0; }
.receiver-section { padding-left: 2px; }
.transfer-settings-heading { margin-top: 26px; }
.transfer-settings-form { margin-top: 8px; padding-inline: 0; border-bottom: 0; }
.transfer-settings-form label { min-width: 0; }
.receiver-status { min-height: 90px; padding: 20px; background: white; border-block: 1px solid var(--line); }
.receiver-state { font-size: 18px; font-weight: 750; }
.receiver-detail { margin-top: 7px; color: var(--muted); font-size: 13px; }
.button-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.password-heading { margin-top: 34px; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 4px; background: var(--soft); color: #42504a; font-size: 12px; font-weight: 700; }
.badge.good { background: #e5f3ec; color: var(--green-dark); }
.badge.warn { background: #fff2d8; color: #8a5b14; }
.badge.bad { background: #fde9e7; color: var(--red); }
.admin-task-board { min-width: 0; }
.admin-task-list { display: grid; gap: 16px; }
.admin-task-card {
  min-width: 0; overflow: hidden; padding: 22px;
  background: white; border: 1px solid var(--line); border-radius: 9px;
  box-shadow: 0 5px 18px rgba(24, 48, 39, .035);
}
.admin-task-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 22px;
}
.admin-task-title { color: #1b2823; font-size: 17px; font-weight: 760; overflow-wrap: anywhere; }
.admin-task-meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.admin-task-state { display: grid; justify-items: end; gap: 7px; flex: 0 0 auto; }
.admin-task-state time { color: var(--muted); font-size: 12px; }
.admin-task-message {
  margin-top: 13px; padding: 9px 11px; color: #53615b; font-size: 13px;
  background: #f7f9f8; border-left: 3px solid #b6c6bf; border-radius: 3px;
}
.transfer-pipelines { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.transfer-lane { min-width: 0; padding: 14px; border: 1px solid #e0e7e3; border-radius: 7px; background: #fbfcfb; }
.transfer-lane-heading { display: flex; justify-content: space-between; gap: 12px; color: #34423c; font-size: 13px; }
.transfer-lane-heading strong { min-width: 0; overflow-wrap: anywhere; }
.transfer-lane-heading span { color: #263a32; font-weight: 750; }
.transfer-progress { height: 9px; margin-top: 9px; }
.transfer-upload .progress > span, .progress.transfer-upload > span { background: #397eab; }
.transfer-receive .progress > span, .progress.transfer-receive > span { background: var(--green); }
.transfer-stats {
  margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px;
  color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums;
}
.admin-file-list { margin-top: 16px; border-top: 1px solid #e4e9e6; }
.admin-file-row { padding: 13px 0; border-bottom: 1px solid #edf0ee; }
.admin-file-row:last-child { padding-bottom: 0; border-bottom: 0; }
.admin-file-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.admin-file-heading strong {
  min-width: 0; max-width: 64%; overflow: hidden; color: #34423c; font-size: 13px;
  text-overflow: ellipsis; white-space: nowrap;
}
.admin-file-heading > span { color: var(--muted); font-size: 11px; text-align: right; }
.admin-file-progress { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-file-lane-label {
  display: flex; justify-content: space-between; gap: 10px; color: var(--muted);
  font-size: 11px; font-variant-numeric: tabular-nums;
}
.file-progress { height: 5px; margin-top: 5px; }
@media (min-width: 1800px) {
  .auth-shell { grid-template-columns: 42% minmax(0, 58%); }
  .auth-brand-panel { padding: 64px 96px; }
  .auth-brand-content { width: min(590px, 100%); }
  .auth-app-icon { width: 132px; }
  .auth-kicker { font-size: 13px; }
  .auth-wordmark { font-size: 64px; }
  .auth-positioning { font-size: 17px; }
  .auth-intro { max-width: 540px; font-size: 21px; }
  .auth-capabilities { gap: 14px; }
  .auth-capabilities li { font-size: 17px; line-height: 1.65; }
  .auth-stage { padding: 56px 96px; }
  .auth-panel { width: min(560px, 100%); padding: 38px 40px 36px; }
  .register-panel { padding: 34px 40px 33px; }
  .auth-panel-head h2 { font-size: 31px; }
  .auth-panel input { height: 52px; }
  .auth-submit { min-height: 52px; }
  .customer-workspace { width: min(1680px, calc(100% - 128px)); margin-top: 36px; }
  .customer-topbar { height: 72px; }
  .customer-topbar .topbar-inner { width: min(1680px, calc(100% - 128px)); }
  .customer-topbar .brand-logo { width: 34px; height: 38px; }
  .customer-topbar .brand-copy strong { font-size: 22px; }
  .customer-workspace .folder-controls { padding-inline: 32px; }
  .customer-workspace .folder-drop { margin-inline: 32px; }
  .customer-workspace .upload-command { padding-inline: 32px; }
  .customer-workspace .task-row { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 22px 16px 28px; gap: 38px; }
  .customer-workspace .task-row.task-complete { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 330px minmax(0, 1fr); }
  .auth-brand-panel { padding: 40px 28px; }
  .auth-app-icon { width: 82px; margin-bottom: 12px; }
  .auth-kicker { margin-bottom: 16px; }
  .auth-wordmark { font-size: 38px; }
  .auth-positioning { font-size: 13px; }
  .auth-intro { margin-top: 28px; font-size: 15px; }
  .auth-capabilities { margin-top: 20px; gap: 8px; }
  .auth-capabilities li { font-size: 13px; line-height: 1.5; }
  .auth-stage { padding: 38px 30px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .task-row { grid-template-columns: 1fr; gap: 12px; }
  .task-row.task-complete { grid-template-columns: 1fr; }
  .task-side { min-width: 0; width: 100%; justify-items: stretch; }
  .task-side-top { width: 100%; justify-content: space-between; }
  .task-action, .task-complete-actions { justify-content: flex-start; }
  .transfer-pipelines { grid-template-columns: 1fr; }
  .customer-task-pipelines { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .task-breathe-dot { animation: none; opacity: .75; }
}
@media (max-width: 700px) {
  .auth-shell { min-height: 100vh; display: block; }
  .auth-brand-panel {
    width: auto; min-height: 160px; height: 160px; padding: 17px 22px;
    display: flex; justify-content: center; background: #e8edef;
    box-shadow: none;
  }
  .auth-brand-panel::before, .auth-brand-panel::after { display: none; }
  .auth-brand-content { width: 100%; }
  .auth-brand-header { justify-items: center; text-align: center; }
  .auth-app-icon { width: 40px; margin-bottom: 4px; filter: none; }
  .auth-kicker { margin-bottom: 6px; font-size: 8px; }
  .auth-kicker { text-align: center; }
  .auth-wordmark { justify-content: center; font-size: 25px; letter-spacing: .1em; }
  .auth-positioning { margin-top: 5px; font-size: 10px; letter-spacing: .04em; }
  .auth-intro, .auth-capabilities { display: none; }
  .auth-stage { min-height: calc(100vh - 160px); padding: 24px 16px 40px; place-items: start center; }
  .auth-panel { padding: 26px 22px 24px; border-radius: 10px; }
  .auth-panel-head { margin-bottom: 28px; }
  .auth-panel-head h2 { font-size: 26px; }
  .auth-panel-head > p { font-size: 12px; }
  .email-address-row { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }
  .code-button { padding: 0 10px; font-size: 13px; }
  .topbar { padding: 0 16px; }
  .customer-topbar { padding: 0; }
  .customer-topbar .topbar-inner { width: calc(100% - 32px); }
  .customer-topbar .brand-logo { width: 34px; height: 34px; }
  .customer-topbar .brand-copy strong { font-size: 17px; }
  .customer-topbar .brand-tagline { display: none; }
  .workspace, .workspace.wide { width: calc(100% - 24px); margin-top: 24px; }
  .upload-band { grid-template-columns: 1fr; align-items: stretch; padding: 16px; }
  .file-picker span, .upload-band .button { width: 100%; justify-content: center; }
  .folder-controls { min-height: 0; padding: 16px; display: grid; align-items: stretch; }
  .segments { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow-segments { grid-template-columns: 1fr; }
  .delivery-segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segments span { padding: 0 8px; }
  .batch-toggle { padding: 0; }
  .narration-language-selector { width: 100%; }
  .folder-drop { min-height: 122px; margin: 0 16px 16px; padding: 18px; flex-direction: column; }
  .folder-drop .button { width: 100%; }
  .folder-row { grid-template-columns: minmax(0, 1fr) auto 36px; padding-left: 16px; gap: 8px; }
  .upload-command { padding: 14px 16px; }
  .upload-command .button { width: 100%; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 96px; padding: 16px; }
  .metric-value { font-size: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .invitation-form { grid-template-columns: 1fr; }
  .registration-code-output { align-items: stretch; flex-direction: column; }
  .login-panel { padding: 26px 22px; }
  .product-login { padding: 36px 24px 30px; border-radius: 14px; }
  .brand-wordmark { font-size: 29px; letter-spacing: .1em; }
  .top-actions #identity { display: none; }
  .admin-task-card { padding: 16px; }
  .admin-task-card-head, .admin-file-heading { display: grid; gap: 8px; }
  .admin-task-state { justify-items: start; }
  .admin-file-heading strong { max-width: 100%; }
  .admin-file-heading > span { text-align: left; }
  .admin-file-progress { grid-template-columns: 1fr; gap: 9px; }
}

/* Customer-only R9 composition. The existing admin stylesheet stays unchanged. */
.luoyin-r9 { font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif; font-size: 16px; }
.luoyin-r9.login-mode main { min-height: 100vh; display: grid; place-items: center; padding: 36px; background: #f3f6f5; }
.luoyin-r9 .auth-shell { width: min(1220px, 100%); min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #dce5df; border-radius: 22px; overflow: hidden; background: white; box-shadow: 0 20px 70px rgba(19, 50, 40, .055); }
.luoyin-r9 .auth-brand-panel { min-height: 680px; padding: 46px 48px; background: #124b3e; color: #fff; align-items: stretch; box-shadow: none; }
.luoyin-r9 .auth-brand-panel::after { content: ""; display: block; position: absolute; width: 380px; height: 380px; right: -230px; bottom: -160px; border: 64px solid rgba(154, 204, 176, .045); border-radius: 72px; transform: rotate(-20deg); pointer-events: none; }
.luoyin-r9 .auth-brand-content { width: 100%; display: flex; flex-direction: column; text-align: left; }
.luoyin-r9 .auth-brand-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; text-align: left; }
.luoyin-r9 .auth-app-icon { width: 34px; height: 38px; margin: 0; filter: brightness(0) invert(1); }
.luoyin-r9 .auth-brand-name { font-size: 26px; font-weight: 600; letter-spacing: .04em; }
.luoyin-r9 .auth-brand-descriptor { font-size: 13px; color: #b4d2c6; font-weight: 400; margin-left: 2px; }
.luoyin-r9 .auth-story { margin: auto 0; padding: 64px 0; }
.luoyin-r9 .auth-headline { color: #fff; font-size: clamp(34px, 3.05vw, 46px); font-weight: 600; line-height: 1.6; letter-spacing: .015em; margin: 0 0 26px; }
.luoyin-r9 .auth-headline span { color: #c5e5d6; white-space: nowrap; }
.luoyin-r9 .auth-description { margin: 0; color: #c4d9cf; font-size: 16px; font-weight: 400; line-height: 2; }
.luoyin-r9 .auth-footnote { display: grid; gap: 8px; color: #b3cfc1; font-size: 13px; line-height: 1.7; }
.luoyin-r9 .auth-stage { min-height: 680px; padding: 46px; background: #fff; }
.luoyin-r9 .auth-panel { width: min(414px, 100%); padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.luoyin-r9 .auth-panel-head { margin-bottom: 36px; gap: 16px; }
.luoyin-r9 .auth-panel-head h2 { font-size: 29px; font-weight: 600; }
.luoyin-r9 .auth-panel-head > p { font-size: 14px; }
.luoyin-r9 .auth-panel > label { font-size: 14px; color: #4c5e54; margin-top: 22px; font-weight: 500; }
.luoyin-r9 .auth-panel input { height: 50px; border-radius: 8px; font-size: 16px; background: #fbfcfb; border-color: #d5dfd8; }
.luoyin-r9 .auth-submit { min-height: 50px; margin-top: 28px; font-size: 16px; letter-spacing: .04em; border-radius: 8px; }
.luoyin-r9 .auth-panel .message:empty { display: none; }
.luoyin-r9 .register-panel .auth-panel-head { margin-bottom: 24px; }
.luoyin-r9 .register-panel > label { margin-top: 14px; }
.luoyin-r9 .email-verification legend { font-size: 14px; font-weight: 500; }
.luoyin-r9 .code-button { font-size: 14px; font-weight: 500; }
.luoyin-r9 .customer-topbar { height: 76px; }
.luoyin-r9 .topbar-inner, .luoyin-r9 .customer-workspace { width: min(1440px, calc(100% - 80px)); }
.luoyin-r9 .customer-workspace { margin-top: 34px; }
.luoyin-r9 .brand-logo { width: 32px; height: 36px; }
.luoyin-r9 .brand-copy strong { font-size: 22px; font-weight: 600; }
.luoyin-r9 .brand-tagline { font-size: 14px; font-weight: 400; }
.luoyin-r9 .customer-workspace .section-heading h1 { font-size: 28px; font-weight: 600; }
.luoyin-r9 .customer-workspace .section-heading h2 { font-size: 23px; font-weight: 600; }
.luoyin-r9 .folder-controls { justify-content: flex-start; padding: 20px 26px; gap: 24px; }
.luoyin-r9 .delivery-selector { margin-left: 12px; }
.luoyin-r9 .narration-language-selector { margin-left: auto; width: 188px; }
.luoyin-r9 .segments span { min-height: 40px; font-size: 15px; font-weight: 500; }
.luoyin-r9 .segments input:checked + span { font-weight: 600; }
.luoyin-r9 .narration-language-selector select { font-size: 15px; font-weight: 500; }
.luoyin-r9 .folder-drop { min-height: 116px; margin: 0 26px 20px; padding: 22px; font-size: 15px; }
.luoyin-r9 #choose-folder { min-height: 44px; padding: 0 22px; font-size: 16px; font-weight: 500; }
.luoyin-r9 .upload-command { padding: 14px 26px; }
.luoyin-r9 #upload-button { min-height: 44px; font-size: 15px; font-weight: 500; }
.luoyin-r9 #upload-button:disabled { opacity: 1; color: #718078; background: #e9eeeb; border-color: #e9eeeb; }
.luoyin-r9 .task-heading { margin-top: 32px; }
.luoyin-r9 .task-row { padding: 17px 24px; gap: 24px; }
.luoyin-r9 .task-context { font-size: 13px; }
.luoyin-r9 .task-title { font-size: 17px; font-weight: 500; line-height: 1.55; }
.luoyin-r9 .task-state-line, .luoyin-r9 .result-download-button { min-height: 36px; min-width: 126px; font-size: 14px; }
.luoyin-r9 .status-text, .luoyin-r9 .result-download-button { font-weight: 500; }
.luoyin-r9 .task-time, .luoyin-r9 .task-record-delete { font-size: 12px; }
.luoyin-r9 .task-side { gap: 7px; }
.luoyin-r9 .danger-outline { color: #a9443c; border-color: #e6d4d0; font-size: 14px; font-weight: 500; }
@media (min-width: 1800px) {
  .luoyin-r9 .auth-shell { width: 1300px; min-height: 700px; }
  .luoyin-r9 .auth-brand-panel { padding: 52px 60px; min-height: 700px; }
  .luoyin-r9 .auth-stage { padding: 52px 60px; min-height: 700px; }
  .luoyin-r9 .auth-headline { font-size: 48px; }
  .luoyin-r9 .auth-description { font-size: 17px; }
  .luoyin-r9 .auth-panel { width: 420px; }
}
@media (max-width: 1050px) {
  .luoyin-r9 .auth-brand-panel { padding: 36px 30px; }
  .luoyin-r9 .auth-stage { padding: 36px 30px; }
  .luoyin-r9 .auth-headline { font-size: 34px; }
  .luoyin-r9 .auth-description { font-size: 14px; }
  .luoyin-r9 .folder-controls { gap: 16px; }
  .luoyin-r9 .delivery-selector { margin-left: 0; }
  .luoyin-r9 .topbar-inner, .luoyin-r9 .customer-workspace { width: calc(100% - 48px); }
}
@media (max-width: 760px) {
  .luoyin-r9.login-mode main { display: block; padding: 20px 16px; }
  .luoyin-r9 .auth-shell { min-height: 0; display: block; border-radius: 16px; }
  .luoyin-r9 .auth-brand-panel { min-height: 0; height: auto; padding: 24px; }
  .luoyin-r9 .auth-app-icon { width: 26px; height: 30px; }
  .luoyin-r9 .auth-brand-name { font-size: 23px; }
  .luoyin-r9 .auth-brand-descriptor { font-size: 12px; }
  .luoyin-r9 .auth-story { padding: 28px 0 0; }
  .luoyin-r9 .auth-headline { font-size: 28px; line-height: 1.5; margin-bottom: 12px; }
  .luoyin-r9 .auth-description { font-size: 13px; line-height: 1.8; }
  .luoyin-r9 .auth-footnote { display: none; }
  .luoyin-r9 .auth-stage { min-height: 0; padding: 32px 24px; }
  .luoyin-r9 .auth-panel { padding: 0; width: 100%; }
  .luoyin-r9 .auth-panel-head { margin-bottom: 26px; }
  .luoyin-r9 .auth-panel-head h2 { font-size: 26px; }
  .luoyin-r9 .auth-panel-head > p { font-size: 12px; }
  .luoyin-r9 .topbar-inner, .luoyin-r9 .customer-workspace { width: calc(100% - 32px); }
  .luoyin-r9 .customer-workspace .section-heading h1 { font-size: 24px; }
  .luoyin-r9 .folder-controls { display: grid; grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
  .luoyin-r9 .delivery-selector { margin: 0; }
  .luoyin-r9 .narration-language-selector { margin: 0; width: 100%; }
  .luoyin-r9 .folder-drop { margin: 0 18px 18px; padding: 18px; flex-direction: column; gap: 12px; text-align: center; }
  .luoyin-r9 #choose-folder { width: 100%; }
  .luoyin-r9 .upload-command { padding: 14px 18px; }
  .luoyin-r9 .task-row { padding: 16px 18px; gap: 12px; }
.luoyin-r9 .task-title { font-size: 16px; }
}

/* R10: calm brand light, stronger working-surface contrast, stable feedback. */
.luoyin-r10 {
  --ink: #182b28; --muted: #526661; --line: #dbe5e1;
  --green: #116c55; --green-dark: #0c503f;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-size: 16px; color: var(--ink); line-height: 1.5;
}
.luoyin-r10 button, .luoyin-r10 input, .luoyin-r10 select { font-family: inherit; }
.luoyin-r10.login-mode main {
  background:
    radial-gradient(ellipse at 8% 94%, rgba(128, 184, 163, .19), transparent 48%),
    radial-gradient(ellipse at 93% 7%, rgba(248, 232, 204, .22), transparent 44%), #f4f7f6;
}
.luoyin-r10 .auth-shell { border-color: #dbe5df; box-shadow: 0 22px 70px rgba(23, 62, 49, .075), 0 2px 8px rgba(23, 62, 49, .025); }
.luoyin-r10 .auth-footnote { color: #d0e4db; font-size: 14px; gap: 9px; }
.luoyin-r10 .auth-description { color: #d1e2d9; }
.luoyin-r10 .auth-panel > label, .luoyin-r10 .email-verification legend { color: #354e46; }
.luoyin-r10 .auth-panel input { background: #fbfcfc; border-color: #cbd9d3; }
.luoyin-r10 .auth-panel input:focus { background: #fff; border-color: #18725b; box-shadow: 0 0 0 3px rgba(24, 114, 91, .10); outline: none; }
.luoyin-r10 .auth-panel input[aria-invalid="true"] { border-color: #b42318; }
.luoyin-r10 .auth-field-error { display: block; font-size: 13px; color: #a53228; margin-top: 6px; }
.luoyin-r10 .auth-panel .text-button { font-size: 14px; }
.luoyin-r10.workspace-mode {
  background: radial-gradient(ellipse at 0 0, rgba(204, 226, 216, .22), transparent 48rem), #f3f6f5;
}
.luoyin-r10 .customer-topbar { background: rgba(255, 255, 255, .98); border-bottom-color: #dfe7e3; box-shadow: none; }
.luoyin-r10 .brand-copy strong { font-family: inherit; color: #183c30; font-size: 23px; }
.luoyin-r10 .brand-tagline { color: #536c62; }
.luoyin-r10 .topbar-inner, .luoyin-r10 .customer-workspace { width: min(1480px, calc(100% - 80px)); }
.luoyin-r10 .customer-workspace { margin-top: 36px; }
.luoyin-r10 .customer-workspace .section-heading h1 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.luoyin-r10 .customer-workspace .section-heading h2 { font-size: 24px; font-weight: 700; }
.luoyin-r10 .folder-upload-band, .luoyin-r10 .task-list { border-color: #dbe5df; border-radius: 14px; box-shadow: 0 3px 12px rgba(25, 54, 43, .025); background: #fff; }
.luoyin-r10 .folder-controls { gap: 18px; flex-wrap: wrap; padding: 22px 26px 18px; }
.luoyin-r10 .delivery-selector, .luoyin-r10 .narration-language-selector { margin: 0; }
.luoyin-r10 .narration-language-selector { width: 182px; }
.luoyin-r10 .segments { background: #edf2ef; border: 1px solid #e1e8e4; padding: 3px; border-radius: 9px; }
.luoyin-r10 .segments span { min-height: 40px; color: #50645b; font-size: 15px; padding-inline: 22px; border-radius: 6px; font-weight: 400; }
.luoyin-r10 .segments input:checked + span { background: #fff; color: #0c563f; box-shadow: 0 1px 4px rgba(17, 67, 48, .13); font-weight: 700; }
.luoyin-r10 .segments input:focus-visible + span { outline: 2px solid #16715a; outline-offset: 2px; }
.luoyin-r10 .narration-language-selector select { height: 48px; border-radius: 9px; background: #fff; border-color: #cfdcd5; color: #294f40; font-weight: 500; }
.luoyin-r10 .folder-drop { background: #f8fbf9; border: 1px dashed #acc9bc; border-radius: 10px; min-height: 120px; color: #526a5e; }
.luoyin-r10 .folder-drop.dragover { background: #edf7f1; border-color: #16715a; }
.luoyin-r10 #choose-folder { color: #12593f; background: #fff; border-color: #aac8b9; font-size: 16px; font-weight: 700; border-radius: 8px; }
.luoyin-r10 .upload-command { background: #fff; border-top-color: #edf1ee; border-radius: 0 0 14px 14px; }
.luoyin-r10 #upload-button { min-height: 44px; padding-inline: 28px; border-radius: 8px; font-size: 16px; font-weight: 700; }
.luoyin-r10 #upload-button:disabled { color: #65736d; border-color: #e3eae6; background: #e9efeb; cursor: not-allowed; }
.luoyin-r10 .task-heading { margin-top: 36px; margin-bottom: 16px; }
.luoyin-r10 .task-row { padding: 15px 24px; border-bottom: 1px solid #e7ede9; gap: 24px; transition: background-color .15s ease; }
.luoyin-r10 .task-row:last-child { border-bottom: none; }
.luoyin-r10 .task-row:hover { background: #f9fcfa; }
.luoyin-r10 .task-context { color: #557064; font-size: 14px; line-height: 1.5; margin-bottom: 5px; }
.luoyin-r10 .task-title { color: #1c3029; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.55; }
.luoyin-r10 .task-state-line, .luoyin-r10 .result-download-button { min-width: 134px; min-height: 38px; border-radius: 8px; font-size: 15px; }
.luoyin-r10 .task-state-line { background: #edf6f1; color: #165940; }
.luoyin-r10 .task-state-line.is-uploading { background: #edf3fa; color: #355c83; }
.luoyin-r10 .task-state-line.is-error { color: #a6342b; background: #fff1ee; }
.luoyin-r10 .result-download-button { font-weight: 600; }
.luoyin-r10 .task-time { color: #5c7066; font-size: 13px; font-variant-numeric: tabular-nums; }
.luoyin-r10 .task-side { gap: 7px; }
.luoyin-r10 .task-record-delete { color: #5b7065; min-height: 38px; min-width: 82px; padding: 0 10px; border-radius: 7px; font-size: 14px; transition: background .15s, color .15s; }
.luoyin-r10 .task-record-delete:hover { background: #fff1ee; color: #ae352a; }
.luoyin-r10 .task-record-delete:disabled { opacity: 1; color: #67786f; background: #f0f4f1; cursor: wait; }
.luoyin-r10 .task-record-error { grid-column: 1 / -1; color: #a6342b; font-size: 14px; text-align: right; }
.luoyin-r10 .task-record-message { min-height: 0; margin: 0 0 12px; font-size: 14px; }
.luoyin-r10 .task-record-message:empty { display: none; }
.luoyin-r10 .task-row.is-removing { opacity: 0; transition: opacity .14s ease; }
.luoyin-r10 .danger-outline { color: #9f4134; border-color: #e5cfc9; min-height: 40px; }
.luoyin-r10 button:not(:disabled), .luoyin-r10 .button { transition: background-color .15s, border-color .15s, box-shadow .15s; }
.luoyin-r10 button:focus-visible, .luoyin-r10 a:focus-visible, .luoyin-r10 select:focus-visible { outline: 2px solid #16715a; outline-offset: 3px; }
.luoyin-r10 .primary:not(:disabled):hover { background: #0c563f; box-shadow: 0 2px 5px rgba(12, 86, 63, .12); }
@media (max-width: 1050px) {
  .luoyin-r10 .topbar-inner, .luoyin-r10 .customer-workspace { width: calc(100% - 48px); }
  .luoyin-r10 .folder-controls { gap: 14px; }
  .luoyin-r10 .segments span { padding-inline: 14px; }
}
@media (max-width: 760px) {
  .luoyin-r10 .topbar-inner, .luoyin-r10 .customer-workspace { width: calc(100% - 32px); }
  .luoyin-r10 .auth-description, .luoyin-r10 .auth-brand-descriptor { font-size: 14px; }
  .luoyin-r10 .auth-headline span { white-space: normal; }
  .luoyin-r10 .auth-footnote { display: grid; margin-top: 22px; font-size: 13px; gap: 4px; }
  .luoyin-r10 .auth-panel-head > p { font-size: 14px; }
  .luoyin-r10 .customer-workspace .section-heading h1 { font-size: 25px; }
  .luoyin-r10 .folder-controls { display: grid; padding: 18px; }
  .luoyin-r10 .narration-language-selector { width: 100%; }
  .luoyin-r10 .task-row { padding: 16px 18px; gap: 12px; }
  .luoyin-r10 .task-title { font-size: 17px; }
  .luoyin-r10 .task-state-line, .luoyin-r10 .result-download-button { min-width: 126px; }
  .luoyin-r10 .task-record-error { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .luoyin-r10 *, .luoyin-r10 *::before, .luoyin-r10 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:root { --luoyin-touch-duration: 160ms; }
/* R11 motion is peripheral: content never drifts, and polling preserves rows. */
.luoyin-r11.login-mode main { position: relative; isolation: isolate; }
.luoyin-r11.login-mode main::before {
  content: ''; position: fixed; inset: -24px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 5% 91%, rgba(110,173,151,.16), transparent 43%),
              radial-gradient(ellipse at 93% 8%, rgba(241,216,174,.12), transparent 38%);
  animation: luoyin-soft-light 24s ease-in-out infinite alternate;
}
@keyframes luoyin-soft-light {
  from { transform: translate3d(-8px,8px,0); opacity: .5; }
  to { transform: translate3d(12px,-12px,0); opacity: 1; }
}
.luoyin-r11 button, .luoyin-r11 a.button, .luoyin-r11 .segments label span {
  transition: background-color var(--luoyin-touch-duration), border-color var(--luoyin-touch-duration),
    box-shadow var(--luoyin-touch-duration), transform 120ms, color var(--luoyin-touch-duration);
}
.luoyin-r11 button:not(:disabled):active, .luoyin-r11 a.button:active { transform: translateY(1px) scale(.99); }
.luoyin-r11 .folder-drop.dragging { background: #edf7f2; border-color: #16715c; box-shadow: inset 0 0 0 1px #16715c; }
.luoyin-r11 .task-operation-space { display: block; width: 82px; flex: 0 0 82px; }
.luoyin-r11 .task-enter, .luoyin-r11 .result-enter { animation: luoyin-row-enter 180ms ease-out; }
@keyframes luoyin-row-enter { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.luoyin-r11 .task-row:has([aria-busy="true"]) .result-download-button { pointer-events: none; opacity: .65; }
.luoyin-r11 .task-record-delete:disabled { cursor: wait; }
@media (prefers-reduced-motion: reduce) {
  .luoyin-r11 *, .luoyin-r11 *::before, .luoyin-r11 *::after { animation: none !important; transition: none !important; }
}
