/* A restrained user-facing surface. Shared functional styles remain in style.css. */
.refined {
  --bg: #f5f1e9;
  --paper: #fffdf9;
  --ink: #292925;
  --muted: #6b6257;
  --line: #ddd6ca;
  --accent: #715942;
  --dark: #33372f;
  --radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.refined .wrap {
  width: min(1080px, calc(100% - 88px));
}
.refined [id] {
  scroll-margin-top: 110px;
}
.refined .demo-bar {
  padding: 8px 20px;
  background: #ece6db;
  color: #61594e;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.refined .site-header {
  height: 90px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.refined .brand {
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.8px;
  gap: 0;
  line-height: 1;
}
.refined .brand-period {
  color: var(--accent);
  font-size: 23px;
  line-height: 0;
  margin: 0 0 5px 2px;
}
.refined .site-header nav {
  gap: 28px;
  align-items: center;
}
.refined .site-header nav > a,
.refined .site-header nav > button {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.refined #support-open {
  max-width: 160px;
}
.refined .text-button {
  color: var(--muted);
  font-size: 12px;
  padding: 5px 0;
  font-weight: 400;
}
.refined .text-button:hover,
.refined a:hover {
  color: var(--ink);
}
.refined .hero {
  display: block;
  padding: 66px 0 44px;
  margin: 0;
}
.refined .hero h1 {
  display: block;
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0;
  font-family: inherit;
}
.refined .title-en {
  display: block;
  font-family: inherit;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 450;
  letter-spacing: -1.7px;
  line-height: 1.1;
}
.refined .title-cn {
  display: block;
  margin: 14px 0 0;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1.4;
}
.refined .hero-copy {
  font-size: 13px;
  margin: 19px 0 0;
  line-height: 1.8;
  color: var(--muted);
}
.refined .workbench {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 12px 40px #352a1e04;
}
.refined .section-heading {
  padding: 27px 32px 0;
  margin: 0;
  align-items: center;
  min-height: 54px;
}
.refined .section-heading h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1px;
  margin: 0;
}
.refined .section-heading .subtle {
  font-size: 11px;
}
.refined .steps {
  border: 0;
  display: flex;
  padding: 0 32px;
  margin: 19px 0 0;
  gap: 26px;
  list-style: none;
}
.refined .steps li {
  flex: initial;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
}
.refined .steps li > span {
  display: inline;
  margin: 0;
  background: none;
  border: 0;
  width: auto;
  height: auto;
  font-size: 10px;
  font-family: inherit;
  color: inherit;
}
.refined .steps li.active {
  color: var(--ink);
  font-weight: 500;
}
.refined .steps li.active > span {
  background: none;
  color: var(--accent);
  border: 0;
}
.refined .steps li.done {
  color: #4c5a43;
}
.refined .steps li.done > span {
  background: none;
  color: inherit;
  border: 0;
}
.refined .workspace-grid {
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 0;
  align-items: stretch;
  margin: 23px 0 0;
}
.refined .main-card {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0 32px 28px;
  min-height: 0;
}
.refined .quote-card {
  display: flex;
  flex-direction: column;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0 28px 25px;
  margin-bottom: 0;
}
.refined .quote-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 25px;
  padding-top: 4px;
}
.refined .service-picker {
  display: flex;
  gap: 28px;
  background: none;
  border-bottom: 1px solid var(--line);
  margin: 0 0 24px;
}
.refined .service {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: flex-start;
  flex: initial;
  position: relative;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 2px 0 14px;
  box-shadow: none;
  color: var(--muted);
  text-align: left;
}
.refined .service.selected {
  background: none;
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.refined .service > span:first-child {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.refined .service small {
  font-size: 11px;
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}
.refined .dropzone {
  display: flex;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  min-height: 235px;
  background: #f5f2ec;
  padding: 25px 15px;
  transition: background 0.18s;
}
.refined .dropzone:hover,
.refined .dropzone.dragging {
  background: #eee8de;
  border-color: transparent;
}
.refined .upload-icon {
  display: block;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #706253;
  margin: 0 0 8px;
}
.refined .upload-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}
.refined .dropzone strong {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}
.refined .dropzone > span:not(.upload-icon) {
  font-size: 11px;
}
.refined .dropzone .file-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 34px;
  padding: 6px 21px;
  border: 1px solid #48483f;
  border-radius: 5px;
  margin-top: 10px;
  background: #48483f;
  color: #fffdf9;
  font-size: 12px;
}
.refined .upload-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  gap: 18px;
}
.refined .upload-footer .text-button {
  font-size: 11px;
  margin: 0;
  padding: 4px 0;
  color: var(--muted);
}
.refined .counting-hint {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin: 9px 0 0;
}
.refined .summary-lines {
  margin: 0;
}
.refined .summary-lines > div {
  font-size: 11px;
  padding: 6px 0;
  gap: 12px;
}
.refined .summary-lines dt {
  color: var(--muted);
  white-space: nowrap;
}
.refined .summary-lines dd {
  font-size: 11px;
  color: var(--ink);
  max-width: 145px;
  overflow-wrap: anywhere;
}
.refined .coupon-details {
  margin-top: 21px;
}
.refined .coupon-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
}
.refined .coupon-details > summary::-webkit-details-marker {
  display: none;
}
.refined .coupon-details > summary > span {
  font-size: 14px;
}
.refined .coupon-details[open] > summary > span {
  transform: rotate(45deg);
}
.refined .coupon-row {
  margin-top: 9px;
  border-color: var(--line);
  border-radius: 5px;
  background: transparent;
  min-height: 37px;
}
.refined .coupon-row input {
  padding: 8px 9px;
  font-size: 11px;
}
.refined .coupon-row button {
  font-size: 11px;
  color: var(--accent);
}
.refined .field-message {
  font-size: 11px;
  color: var(--muted);
  min-height: 0;
  margin: 5px 0 0;
}
.refined .quote-bottom {
  margin-top: auto;
  padding-top: 34px;
}
.refined .total-row {
  border-top: 1px solid var(--line);
  padding: 20px 0 17px;
  margin: 0;
  align-items: center;
  gap: 12px;
}
.refined .total-row > span {
  font-size: 12px;
  color: var(--muted);
}
.refined .total-row strong {
  font-family: inherit;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.refined .total-row small {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  margin-right: 4px;
}
.refined .button.primary,
.refined .primary {
  background: #33372f;
  color: #fffdf9;
  border: 1px solid #33372f;
  border-radius: 6px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 400;
  box-shadow: none;
}
.refined .primary:hover {
  background: #252b22;
}
.refined button:disabled {
  opacity: 0.45;
}
.refined .quote-bottom > .text-button {
  font-size: 10px;
  margin-top: 9px;
  color: var(--muted);
}
.refined .file-result {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 0 0;
  margin-top: 17px;
  background: none;
}
.refined .file-result strong {
  font-weight: 500;
  font-size: 12px;
}
.refined .file-stats {
  font-size: 10px;
  gap: 5px 12px;
}
.refined .file-result > p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
.refined .report-guide {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  margin: 54px 0 0;
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line);
}
.refined .section-intro h2 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.3px;
}
.refined .section-intro p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0 0;
}
.refined .report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.refined .report-card {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0;
  min-width: 0;
}
.refined .report-card h3 {
  font-family: inherit;
  font-size: 23px;
  letter-spacing: -0.4px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.refined .report-card h3 span {
  display: block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  margin-top: 12px;
}
.refined .report-card > p {
  font-size: 11px;
  line-height: 1.8;
  margin: 7px 0 16px;
  color: var(--muted);
}
.refined .report-card > .text-button {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 11px;
  padding: 5px 0;
  color: var(--accent);
}
.refined .faq-section {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  padding: 37px 0 28px;
  border-top: 0;
}
.refined .faq-list details {
  border-color: var(--line);
}
.refined .faq-list details:first-child {
  border-top: 0;
}
.refined .faq-list summary {
  font-size: 12px;
  font-weight: 400;
  padding: 16px 0;
  gap: 20px;
  line-height: 1.6;
}
.refined .faq-list details:first-child summary {
  padding-top: 0;
}
.refined .faq-list summary > span {
  font-size: 15px;
  color: var(--muted);
}
.refined .faq-list details > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  padding: 0 25px 18px 0;
}
.refined .report-note {
  padding: 17px 0;
  margin-top: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}
.refined .report-note summary {
  font-size: 11px;
  font-weight: 400;
  gap: 15px;
}
.refined .report-note summary > span {
  font-size: 10px;
  color: var(--muted);
}
.refined .report-note summary::after {
  font-size: 14px;
  color: var(--muted);
}
.refined .report-note .prose {
  max-width: 780px;
}
.refined .report-note .prose p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.refined .support-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 29px 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  gap: 24px;
}
.refined .support-strip h3 {
  font-size: 17px;
  font-weight: 400;
  font-family: inherit;
  margin: 0 0 6px;
}
.refined .support-strip p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.refined #wechat-copy {
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
}
.refined .footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 25px;
  gap: 12px;
  background: none;
}
.refined .footer > span {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 1.3px;
  font-weight: 500;
}
.refined .footer > div {
  font-size: 10px;
  color: var(--muted);
  gap: 20px;
}
.refined .footer .text-button {
  font-size: 10px;
  color: var(--muted);
}
.refined .footer > p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.refined .order-title h3 {
  font-size: 21px;
  font-weight: 400;
}
.refined .badge {
  font-size: 10px;
  background: #f4f0e8;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  padding: 3px 7px;
}
.refined .order-id {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
  margin: 9px 0 24px;
}
.refined .status-panel {
  border: 0;
  border-radius: 9px;
  background: #f5f2ec;
  padding: 24px;
}
.refined .status-panel h4 {
  font-size: 18px;
  font-weight: 400;
}
.refined .status-panel p {
  color: var(--muted);
  font-size: 12px;
}
.refined .secondary {
  border-color: var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: none;
}
.refined .secondary:hover {
  background: #f2ece3;
}
.refined .download-row {
  border-color: var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 12px;
}
.refined .download-row small {
  font-size: 10px;
}
.refined .deadline {
  color: #715942 !important;
}
.refined .save-box {
  border-color: var(--line);
}
.refined .save-box p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.refined .save-actions .button {
  font-size: 10px;
  min-height: 33px;
  padding: 7px 10px;
}
.refined .delete-link {
  font-size: 10px;
  color: #8e4030;
}
.refined .progress-track {
  background: #e4ddcf;
}
.refined .progress-track > div {
  background: #8d8c72;
}
.refined dialog {
  background: var(--paper);
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: 0 22px 90px #28241b20;
  padding: 28px;
}
.refined .modal-top h2 {
  font-size: 19px;
  font-weight: 400;
}
.refined .prose p,
.refined .prose li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.refined .prose strong {
  color: var(--ink);
  font-weight: 500;
}
.refined .preview-dialog h3 {
  font-family: inherit;
  font-size: 27px;
  font-weight: 400;
  margin: 14px 0;
}
.refined .mini-report {
  background: #f8f5ef;
  border-color: var(--line);
  border-radius: 6px;
}
.refined .preview-dialog .report-preview-note {
  background: #f4eee3;
  border-left-color: #95836d;
  color: var(--muted);
  font-size: 11px;
}
.refined .demo-tag {
  font-size: 9px;
  border: 0;
  background: #eee8dc;
  border-radius: 3px;
  color: var(--muted);
  padding: 4px 7px;
}
.refined .field input {
  background: var(--paper);
  border-color: var(--line);
  border-radius: 5px;
}
.refined .field {
  font-size: 11px;
}
.refined .order-list button {
  background: #f6f2eb;
  border-color: var(--line);
  border-radius: 5px;
}
.refined .order-list button span,
.refined .order-list button small {
  color: var(--muted);
}
.refined .toast {
  background: #36382f;
  border-radius: 6px;
  font-size: 12px;
  box-shadow: 0 6px 25px #29251a14;
}
@media (min-width: 1450px) {
  .refined .hero {
    padding: 78px 0 50px;
  }
}
@media (max-width: 900px) {
  .refined .wrap {
    width: calc(100% - 48px);
  }
  .refined .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .refined .main-card {
    padding: 0 24px 25px;
  }
  .refined .quote-card {
    padding: 0 23px 24px;
  }
  .refined .section-heading {
    padding-left: 24px;
    padding-right: 24px;
  }
  .refined .steps {
    padding-left: 24px;
    padding-right: 24px;
  }
  .refined .report-guide,
  .refined .faq-section {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 25px;
  }
  .refined .report-grid {
    gap: 25px;
  }
  .refined .service-picker {
    gap: 22px;
  }
  .refined .service {
    gap: 8px;
  }
  .refined .service > span:first-child {
    font-size: 13px;
  }
  .refined .service small {
    font-size: 10px;
  }
}
@media (max-width: 680px) {
  .refined .wrap {
    width: calc(100% - 36px);
  }
  .refined .site-header {
    height: 76px;
  }
  .refined .brand {
    font-size: 14px;
    letter-spacing: 1.3px;
  }
  .refined .site-header nav {
    gap: 18px;
  }
  .refined .site-header nav > a,
  .refined .site-header nav > button {
    font-size: 11px;
  }
  .refined .desktop-link {
    display: none;
  }
  .refined #support-open {
    font-size: 10px;
    max-width: 105px;
  }
  .refined .hero {
    padding: 42px 0 29px;
  }
  .refined .title-en {
    font-size: clamp(28px, 7.7vw, 43px);
    letter-spacing: -1.1px;
    line-height: 1.2;
  }
  .refined .title-cn {
    font-size: 24px;
    letter-spacing: 0.6px;
    margin-top: 10px;
    line-height: 1.4;
  }
  .refined .hero-copy {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 14px;
  }
  .refined .workbench {
    border-radius: 11px;
  }
  .refined .section-heading {
    padding: 23px 20px 0;
    min-height: 45px;
  }
  .refined .section-heading h2 {
    font-size: 16px;
  }
  .refined .section-heading .subtle {
    font-size: 10px;
  }
  .refined .steps {
    padding: 0 20px;
    margin-top: 17px;
    gap: 23px;
  }
  .refined .steps li {
    font-size: 10px;
    gap: 6px;
  }
  .refined .steps li > span {
    font-size: 9px;
  }
  .refined .workspace-grid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .refined .main-card {
    padding: 0 20px 21px;
  }
  .refined .service-picker {
    gap: 26px;
    margin-bottom: 20px;
  }
  .refined .service {
    padding-bottom: 13px;
    gap: 10px;
  }
  .refined .service > span:first-child {
    font-size: 13px;
  }
  .refined .service small {
    font-size: 10px;
  }
  .refined .dropzone {
    min-height: 220px;
    border-radius: 8px;
    padding: 24px 10px;
    gap: 8px;
  }
  .refined .dropzone strong {
    font-size: 13px;
  }
  .refined .dropzone > span:not(.upload-icon) {
    font-size: 10px;
  }
  .refined .dropzone .file-pill {
    min-height: 33px;
    margin-top: 10px;
    font-size: 11px;
  }
  .refined .upload-footer .text-button {
    font-size: 10px;
  }
  .refined .counting-hint {
    font-size: 10px;
    line-height: 1.7;
    margin-top: 8px;
  }
  .refined .quote-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 21px 20px 18px;
  }
  .refined .quote-card h3 {
    font-size: 13px;
    margin-bottom: 15px;
    padding-top: 0;
  }
  .refined .summary-lines > div {
    font-size: 11px;
    padding: 4px 0;
  }
  .refined .summary-lines dd {
    font-size: 11px;
    max-width: none;
  }
  .refined .coupon-details {
    margin-top: 15px;
  }
  .refined .quote-bottom {
    padding-top: 20px;
  }
  .refined .total-row {
    padding: 17px 0;
  }
  .refined .total-row strong {
    font-size: 33px;
  }
  .refined .quote-bottom > .text-button {
    font-size: 10px;
    margin-top: 8px;
  }
  .refined .report-guide {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
    padding-bottom: 29px;
  }
  .refined .section-intro h2 {
    font-size: 21px;
    letter-spacing: 0;
  }
  .refined .section-intro p {
    font-size: 10px;
    margin-top: 7px;
  }
  .refined .report-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .refined .report-card h3 {
    font-size: 21px;
    letter-spacing: -0.3px;
  }
  .refined .report-card h3 span {
    font-size: 11px;
    margin-top: 10px;
  }
  .refined .report-card > p {
    font-size: 10px;
    line-height: 1.8;
    margin: 6px 0 13px;
  }
  .refined .report-card > .text-button {
    font-size: 10px;
    gap: 18px;
  }
  .refined .faq-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 29px 0 18px;
  }
  .refined .faq-list summary {
    font-size: 11px;
    padding: 14px 0;
  }
  .refined .faq-list details > p {
    font-size: 11px;
    padding-right: 16px;
  }
  .refined .report-note summary {
    font-size: 10px;
  }
  .refined .report-note .prose p {
    font-size: 11px;
  }
  .refined .support-strip {
    padding: 24px 0;
    align-items: flex-start;
    gap: 18px;
  }
  .refined .support-strip h3 {
    font-size: 16px;
  }
  .refined .support-strip p {
    font-size: 10px;
    max-width: 210px;
  }
  .refined #wechat-copy {
    font-size: 10px;
  }
  .refined .footer {
    padding: 19px 0 22px;
    gap: 11px;
  }
  .refined .footer > span {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .refined .footer > div,
  .refined .footer .text-button {
    font-size: 9px;
    gap: 16px;
  }
  .refined .footer > p {
    font-size: 9px;
  }
  .refined .status-panel {
    padding: 20px;
  }
  .refined .status-panel h4 {
    font-size: 17px;
  }
  .refined .status-panel p {
    font-size: 11px;
  }
  .refined .save-actions {
    gap: 7px;
  }
  .refined .save-actions .button {
    font-size: 9px;
  }
  .refined dialog {
    padding: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .refined .dropzone {
    transition: none;
  }
}
.refined .delivery-items {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  border-top: 1px solid var(--line);
}
.refined .delivery-items li {
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.refined .delivery-format {
  font-size: 11px;
  color: var(--muted);
  margin: 17px 0;
}
/* Academic service composition: one visual focus, one submission surface. */
.refined {
  --bg: #f6f3ed;
  --paper: #fffefa;
  --ink: #26302a;
  --muted: #61665b;
  --line: #ddd9cf;
  --accent: #586448;
  --dark: #344432;
  background: var(--bg);
}
.refined .wrap {
  width: min(1120px, calc(100% - 88px));
}
.refined .brand {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: 1.6px;
}
.refined .brand-period {
  color: #716040;
}
.refined .site-header {
  height: 86px;
}
.refined .hero.academic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 42px;
  align-items: center;
  padding: 48px 0 52px;
}
.refined .hero-label,
.refined .section-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 20px;
}
.refined .title-en {
  font-size: clamp(36px, 3.55vw, 51px);
  font-weight: 500;
  letter-spacing: -1.8px;
  line-height: 1.15;
}
.refined .title-cn {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 12px;
  line-height: 1.4;
}
.refined .hero-copy {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 20px;
}
.refined .hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.refined .hero-actions > .primary {
  min-width: 142px;
  min-height: 46px;
  font-size: 13px;
  padding: 12px 21px;
}
.refined .hero-actions > .text-button {
  font-size: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.refined .hero-meta {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0 0;
}
.refined .report-stage {
  height: 395px;
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  background: #e6e6db;
  overflow: hidden;
  border: 1px solid #dedfd2;
}
.refined .stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#7d866514 1px, transparent 1px),
    linear-gradient(90deg, #7d866514 1px, transparent 1px);
  background-size: 27px 27px;
  mask-image: linear-gradient(120deg, transparent, #0008);
  opacity: 0.7;
}
.refined .report-paper {
  position: absolute;
  background: #fff;
  border: 1px solid #dbdfd2;
  box-shadow: 0 15px 35px #313c2620;
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  padding: 0;
  display: block;
}
.refined .paper-similarity {
  width: 315px;
  left: 27px;
  top: 29px;
  transform: rotate(-4deg);
}
.refined .paper-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 15px 16px 12px;
  border-bottom: 1px solid #e8e9e3;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
}
.refined .paper-heading small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.refined .paper-docmark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 31px;
  background: #edf0e7;
  border: 1px solid #d9e0ce;
  border-radius: 4px;
  color: #455a33;
  font-family: Georgia, serif;
  font-size: 17px;
}
.refined .paper-filetype {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.refined .report-paper > .sample-overview {
  width: 100%;
  display: block;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: top left;
  padding: 13px 11px;
  background: #fff;
}
.refined .paper-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e9e9e5;
  padding: 11px 15px;
  font-size: 10px;
  color: var(--muted);
  background: #fbfcf8;
}
.refined .paper-ai {
  width: 219px;
  right: 17px;
  top: 155px;
  transform: rotate(5deg);
  cursor: pointer;
}
.refined .paper-ai:hover {
  transform: rotate(3deg) translateY(-3px);
  box-shadow: 0 18px 38px #313c262b;
}
.refined .paper-ai .paper-heading {
  font-size: 11px;
  padding: 12px;
}
.refined .ai-docmark {
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  background: #f3ecde;
  border-color: #e3d7bc;
  color: #79613b;
}
.refined .paper-ai > .sample-overview {
  aspect-ratio: 1.6;
  padding: 12px 10px;
}
.refined .paper-ai .paper-footer {
  padding: 9px 12px;
  font-size: 9px;
}
.refined .stage-caption {
  position: absolute;
  bottom: 15px;
  left: 23px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #545e49;
  letter-spacing: 0.2px;
}
.refined .caption-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #65734e;
}
.refined .workbench {
  border: 1px solid #deded4;
  box-shadow: 0 10px 38px #2c39250a;
  border-radius: 14px;
  background: var(--paper);
}
.refined .section-heading {
  padding: 27px 30px 0;
}
.refined .section-heading h2 {
  font-size: 20px;
  font-weight: 550;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.refined .work-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.refined .secure-mark {
  font-size: 14px;
  margin-right: 2px;
  color: var(--accent);
}
.refined .steps {
  padding: 0 30px;
  margin-top: 18px;
  gap: 24px;
}
.refined .steps li.active {
  color: #425436;
}
.refined .steps li.active > span {
  color: #425436;
}
.refined .workspace-grid {
  grid-template-columns: minmax(0, 1fr) 305px;
  margin-top: 24px;
}
.refined .main-card {
  padding: 0 30px 27px;
}
.refined .service-picker {
  gap: 26px;
}
.refined .service.selected {
  border-bottom-color: #526843;
  color: #34472b;
}
.refined .service > span:first-child {
  font-weight: 550;
}
.refined .dropzone {
  background: #f0f2e9;
  border: 1px dashed #b6bea8;
  border-radius: 9px;
  min-height: 215px;
}
.refined .dropzone:hover,
.refined .dropzone.dragging {
  background: #e9eddf;
  border-color: #879773;
}
.refined .upload-icon {
  color: #647655;
  width: 31px;
  height: 31px;
  margin-bottom: 6px;
}
.refined .dropzone strong {
  font-size: 15px;
  font-weight: 500;
}
.refined .dropzone .file-pill {
  background: #405437;
  border-color: #405437;
  border-radius: 5px;
  min-height: 35px;
  padding: 7px 22px;
  font-size: 12px;
}
.refined .quote-card {
  background: #f8f7f1;
  border-left-color: #e2e2d8;
  padding: 1px 27px 23px;
}
.refined .quote-card h3 {
  font-size: 14px;
  font-weight: 500;
  padding-top: 2px;
}
.refined .total-row strong {
  font-size: 37px;
  font-weight: 450;
  color: #34472b;
}
.refined .button.primary,
.refined .primary {
  background: #405437;
  border-color: #405437;
  color: #fffefa;
  font-size: 12px;
  font-weight: 500;
}
.refined .primary:hover {
  background: #314329;
}
.refined .report-guide.academic-reports {
  display: block;
  margin-top: 49px;
  padding-bottom: 43px;
}
.refined .report-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}
.refined .report-section-heading .section-label {
  margin-bottom: 9px;
  font-size: 9px;
}
.refined .report-section-heading h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin: 0;
}
.refined .report-section-heading > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.refined .academic-reports .report-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.refined .academic-reports .report-card {
  background: var(--paper);
  border: 1px solid #deded5;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 6px 20px #26361c04;
}
.refined .sample-thumbnail {
  position: relative;
  height: 224px;
  background: #e9ece1;
  overflow: hidden;
  padding: 24px 38px 0;
}
.refined .sample-thumbnail > .sample-overview {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid #d6ddcb;
  box-shadow: 0 6px 20px #34452b12;
  padding: 19px;
  transform: rotate(-2deg);
  min-height: 190px;
  object-fit: cover;
  object-position: top;
}
.refined .ai-thumbnail {
  background: #eee9df;
}
.refined .ai-thumbnail > .sample-overview {
  transform: rotate(2deg);
  border-color: #e0d8c6;
}
.refined .thumbnail-label {
  position: absolute;
  left: 17px;
  bottom: 14px;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 0.8px;
  border: 1px solid #e0e4d9;
  border-radius: 3px;
  background: #fffef9;
  color: #56634a;
}
.refined .ai-thumbnail .thumbnail-label {
  color: #746044;
  border-color: #e6dece;
}
.refined .sample-card-content {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  min-height: 130px;
}
.refined .sample-card-content h3 {
  font-size: 21px;
  letter-spacing: -0.4px;
  font-weight: 500;
  margin: 0;
}
.refined .sample-card-content h3 span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 7px;
}
.refined .sample-card-content p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
  line-height: 1.8;
}
.refined .sample-card-content > .text-button {
  font-size: 11px;
  white-space: nowrap;
  color: #4b603b;
}
.refined .faq-section {
  padding-top: 38px;
}
.refined .faq-section .section-intro h2 {
  font-size: 24px;
  font-weight: 500;
}
.refined .support-strip {
  padding: 30px 0;
}
.refined .support-strip h3 {
  font-weight: 500;
}
.refined .no-preview {
  background: #f0f0e6;
}
.refined dialog.is-report {
  width: min(1060px, calc(100vw - 44px));
  height: min(92dvh, 1000px);
  max-height: 92dvh;
  padding: 0;
  border: 1px solid #cdd1c5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.refined dialog.is-report:not([open]) {
  display: none;
}
.refined .is-report .modal-top {
  padding: 18px 22px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  flex-shrink: 0;
}
.refined .is-report .modal-top h2 {
  font-size: 18px;
  font-weight: 500;
}
.refined .is-report #modal-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.refined .pdf-viewer {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.refined .pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  font-size: 11px;
  border-bottom: 1px solid #d9ddd1;
  background: #f7f8f2;
  flex-shrink: 0;
}
.refined .viewer-label {
  color: var(--muted);
}
.refined .pdf-toolbar > a {
  color: #4d613f;
  font-size: 11px;
}
.refined .pdf-pager {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.refined .pdf-pager button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid #cfd5c4;
  background: #fffefa;
  border-radius: 4px;
  color: #49573d;
  font-size: 13px;
}
.refined .pdf-pager input {
  width: 39px;
  text-align: center;
  border: 1px solid #cfd5c4;
  padding: 4px 2px;
  font-size: 11px;
  appearance: textfield;
  background: white;
  border-radius: 4px;
  color: var(--ink);
}
.refined .pdf-pager input::-webkit-inner-spin-button,
.refined .pdf-pager input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.refined .pdf-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #e5e8e0;
  padding: 24px;
  overscroll-behavior: contain;
}
.refined #pdf-page {
  display: block;
  width: min(100%, 780px);
  height: auto;
  margin: 0 auto;
  background: white;
  box-shadow: 0 5px 30px #27321c1a;
  opacity: 1;
}
.refined #pdf-page.loading {
  opacity: 0;
}
.refined .pdf-loading {
  position: absolute;
  left: 0;
  right: 0;
  top: 35px;
  text-align: center;
  font-size: 12px;
  color: #4c5a40;
  margin: 0;
  z-index: 1;
}
.refined .pdf-caption {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  padding: 8px 20px;
  background: #f7f8f3;
  flex-shrink: 0;
}
.refined .viewer-initial {
  font-size: 13px;
  padding: 24px;
  color: var(--muted);
}
@media (max-width: 1050px) {
  .refined .hero.academic-hero {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
  }
  .refined .title-en {
    font-size: 39px;
  }
  .refined .title-cn {
    font-size: 30px;
  }
  .refined .report-stage {
    height: 365px;
  }
  .refined .paper-similarity {
    width: 275px;
    left: 19px;
    top: 26px;
  }
  .refined .paper-ai {
    width: 192px;
    right: 12px;
    top: 151px;
  }
  .refined .sample-card-content {
    padding: 20px;
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .refined .sample-thumbnail {
    padding: 25px 25px 0;
    height: 200px;
  }
}
@media (max-width: 800px) {
  .refined .wrap {
    width: calc(100% - 44px);
  }
  .refined .hero.academic-hero {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    padding: 35px 0;
  }
  .refined .title-en {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .refined .title-cn {
    font-size: 27px;
  }
  .refined .hero-copy {
    font-size: 12px;
  }
  .refined .hero-actions {
    gap: 18px;
  }
  .refined .hero-actions > .primary {
    min-width: 124px;
    min-height: 42px;
    font-size: 12px;
  }
  .refined .hero-actions > .text-button {
    font-size: 11px;
    gap: 8px;
  }
  .refined .report-stage {
    height: 330px;
  }
  .refined .paper-similarity {
    width: 230px;
    left: 16px;
    top: 27px;
  }
  .refined .paper-ai {
    width: 166px;
    right: 8px;
    top: 153px;
  }
  .refined .paper-heading {
    font-size: 10px;
    padding: 12px;
  }
  .refined .paper-heading small {
    font-size: 8px;
  }
  .refined .paper-docmark {
    width: 22px;
    height: 27px;
    font-size: 14px;
  }
  .refined .paper-ai .paper-heading {
    font-size: 9px;
    padding: 9px;
  }
  .refined .ai-docmark {
    font-size: 8px;
  }
  .refined .stage-caption {
    left: 16px;
    font-size: 8px;
  }
  .refined .work-subtitle {
    display: none;
  }
  .refined .hero-label {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .refined .sample-card-content h3 {
    font-size: 19px;
  }
  .refined .sample-thumbnail {
    height: 175px;
    padding: 20px 20px 0;
  }
}
@media (max-width: 680px) {
  .refined .wrap {
    width: calc(100% - 36px);
  }
  .refined .hero.academic-hero {
    display: block;
    padding: 31px 0 29px;
  }
  .refined .hero-label {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .refined .title-en {
    font-size: clamp(28px, 8vw, 43px);
    letter-spacing: -1px;
  }
  .refined .title-cn {
    font-size: 27px;
    letter-spacing: 0.7px;
    margin-top: 8px;
  }
  .refined .hero-copy {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 17px;
  }
  .refined .hero-copy br {
    display: none;
  }
  .refined .hero-actions {
    margin-top: 22px;
    gap: 25px;
  }
  .refined .hero-meta {
    font-size: 10px;
    margin-top: 16px;
    gap: 9px;
  }
  .refined .report-stage {
    height: 240px;
    margin-top: 28px;
    border-radius: 13px;
  }
  .refined .paper-similarity {
    width: 225px;
    left: 18px;
    top: 16px;
    transform: rotate(-4deg);
  }
  .refined .paper-ai {
    width: 161px;
    right: 12px;
    top: 93px;
    transform: rotate(5deg);
  }
  .refined .paper-heading {
    padding: 10px 12px;
    font-size: 10px;
  }
  .refined .paper-heading small {
    font-size: 8px;
  }
  .refined .report-paper > .sample-overview {
    aspect-ratio: 1.65;
    padding: 9px;
  }
  .refined .paper-ai > .sample-overview {
    aspect-ratio: 1.9;
    padding: 8px;
  }
  .refined .paper-footer {
    padding: 8px 12px;
    font-size: 8px;
  }
  .refined .paper-ai .paper-heading {
    font-size: 9px;
    padding: 8px 10px;
  }
  .refined .paper-ai .paper-heading small {
    font-size: 8px;
  }
  .refined .paper-ai .paper-footer {
    font-size: 8px;
    padding: 7px 10px;
  }
  .refined .stage-caption {
    font-size: 8px;
    left: 14px;
    bottom: 9px;
    z-index: 3;
    background: #e6e6dbee;
    padding: 3px 5px;
    border-radius: 3px;
  }
  .refined .section-heading {
    padding: 22px 20px 0;
  }
  .refined .section-heading h2 {
    font-size: 17px;
    gap: 0;
  }
  .refined .section-heading .subtle {
    font-size: 10px;
  }
  .refined .steps {
    padding: 0 20px;
    margin-top: 16px;
  }
  .refined .workspace-grid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .refined .main-card {
    padding: 0 20px 22px;
  }
  .refined .quote-card {
    border-left: 0;
    border-top: 1px solid #e0e2d7;
    padding: 21px 20px 20px;
  }
  .refined .quote-card h3 {
    font-size: 13px;
    margin-bottom: 15px;
    padding-top: 0;
  }
  .refined .dropzone {
    min-height: 210px;
  }
  .refined .dropzone strong {
    font-size: 13px;
  }
  .refined .dropzone .file-pill {
    font-size: 11px;
    min-height: 34px;
  }
  .refined .report-guide.academic-reports {
    margin-top: 35px;
    padding-bottom: 30px;
  }
  .refined .report-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  .refined .report-section-heading h2 {
    font-size: 23px;
  }
  .refined .report-section-heading > p {
    font-size: 10px;
    line-height: 1.8;
  }
  .refined .report-section-heading .section-label {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .refined .academic-reports .report-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .refined .sample-thumbnail {
    height: 204px;
    padding: 23px 29px 0;
  }
  .refined .sample-card-content {
    padding: 20px;
    flex-direction: row;
    align-items: end;
    gap: 12px;
    min-height: 121px;
  }
  .refined .sample-card-content h3 {
    font-size: 19px;
    letter-spacing: -0.4px;
  }
  .refined .sample-card-content h3 span {
    font-size: 10px;
    margin-top: 6px;
  }
  .refined .sample-card-content p {
    font-size: 10px;
    margin-top: 5px;
  }
  .refined .sample-card-content > .text-button {
    font-size: 10px;
  }
  .refined .faq-section {
    padding-top: 30px;
  }
  .refined .faq-section .section-intro h2 {
    font-size: 22px;
  }
  .refined dialog.is-report {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100vw;
    border: 0;
    border-radius: 0;
    margin: 0;
  }
  .refined .is-report .modal-top {
    padding: 15px 17px;
  }
  .refined .is-report .modal-top h2 {
    font-size: 16px;
  }
  .refined .pdf-toolbar {
    padding: 9px 15px;
    gap: 12px;
    font-size: 10px;
  }
  .refined .viewer-label {
    display: none;
  }
  .refined .pdf-toolbar > a {
    font-size: 10px;
  }
  .refined .pdf-pager {
    gap: 8px;
  }
  .refined .pdf-body {
    padding: 12px 9px;
  }
  .refined .pdf-caption {
    font-size: 9px;
    padding: 8px 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .refined .paper-ai:hover {
    transform: rotate(5deg);
  }
}

.refined .pdf-tools {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  color: #4d613f;
}
.refined .pdf-tools > button {
  border: 0;
  background: none;
  color: inherit;
  font-size: 11px;
  padding: 3px 0;
}
.refined .pdf-tools > a {
  font-size: 11px;
  color: inherit;
}
.refined .pdf-body.zoomed #pdf-page {
  width: 1100px;
  max-width: none;
  cursor: zoom-out;
}
@media (max-width: 680px) {
  .refined .pdf-tools {
    gap: 12px;
  }
  .refined .pdf-tools > button,
  .refined .pdf-tools > a {
    font-size: 10px;
  }
}
/* Make the source document and preview action explicit. */
.refined .academic-reports .sample-thumbnail {
  display: block;
  width: 100%;
  height: 258px;
  padding: 0 27px;
  border: 0;
  border-bottom: 1px solid #dfe2d6;
  border-radius: 0;
  background: #e9ece1;
  text-align: left;
  overflow: hidden;
  color: #536048;
  cursor: pointer;
}
.refined .academic-reports .sample-thumbnail.ai-thumbnail {
  background: #eee9df;
  border-bottom-color: #e1dcd0;
}
.refined .sample-file-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 10px;
  color: #536048;
  line-height: 1.5;
}
.refined .sample-file-bar > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.refined .sample-file-bar svg {
  width: 15px;
  height: 15px;
}
.refined .ai-thumbnail .sample-file-bar {
  color: #6b5d44;
}
.refined .academic-reports .sample-thumbnail > .sample-overview {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 16px;
  background: #fff;
  transform: none;
  border: 1px solid #d6ddcb;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 5px 18px #34452b10;
  object-fit: contain;
  object-position: top;
  transition: box-shadow 0.18s;
}
.refined .academic-reports .ai-thumbnail > .sample-overview {
  transform: none;
  border-color: #e0d8c6;
}
.refined .sample-thumbnail:hover > .sample-overview {
  box-shadow: 0 8px 22px #34452b20;
}
.refined .sample-card-content {
  align-items: center;
  gap: 18px;
  padding: 24px;
  min-height: 142px;
}
.refined .report-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 170px;
  min-height: 45px;
  padding: 11px 16px;
  border: 1px solid #405437;
  border-radius: 6px;
  background: #405437;
  color: #fffefa;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 3px 7px #26361c10;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.refined .report-preview-cta > svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.refined .report-preview-cta > span:last-child {
  font-size: 14px;
  margin-left: 3px;
}
.refined .report-preview-cta:hover {
  background: #314329;
  border-color: #314329;
  box-shadow: 0 5px 11px #26361c20;
}
.refined .report-preview-cta:active {
  background: #283a20;
}
@media (max-width: 1050px) {
  .refined .sample-card-content {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .refined .report-preview-cta {
    width: 100%;
  }
  .refined .academic-reports .sample-thumbnail {
    height: 225px;
    padding: 0 21px;
  }
}
@media (max-width: 680px) {
  .refined .academic-reports .sample-thumbnail {
    height: 226px;
    padding: 0 20px;
  }
  .refined .sample-file-bar {
    font-size: 10px;
    padding: 11px 0;
  }
  .refined .sample-card-content {
    padding: 21px;
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    gap: 18px;
  }
  .refined .report-preview-cta {
    font-size: 12px;
    min-height: 46px;
    width: 100%;
  }
  .refined .sample-card-content h3 {
    font-size: 21px;
  }
  .refined .sample-card-content p {
    font-size: 11px;
  }
  .refined .academic-reports .sample-thumbnail > .sample-overview {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .refined .report-preview-cta,
  .refined .academic-reports .sample-thumbnail > .sample-overview {
    transition: none;
  }
}
/* A brief light sweep draws attention to the optional coupon field. */
.refined .coupon-details > summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9c5a6;
  border-radius: 6px;
  background: #f3ecdf;
  color: #6c502f;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.refined .coupon-details > summary:hover {
  border-color: #b69a70;
  background: #efe4d1;
}
.refined .coupon-details > summary > .coupon-label {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  transform: none;
}
.refined .coupon-label svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #8a6737;
}
.refined .coupon-details > summary > .coupon-expand {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 400;
  color: #775b39;
}
.refined .coupon-details[open] > summary > .coupon-label {
  transform: none;
}
.refined .coupon-details[open] > summary > .coupon-expand {
  transform: rotate(45deg);
}
.refined .coupon-details > summary::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  bottom: -40%;
  width: 45%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fffdf4dd, transparent);
  transform: translateX(-180%) skewX(-20deg);
  animation: coupon-light-sweep 5.2s ease-in-out infinite;
}
@keyframes coupon-light-sweep {
  0%,
  8% {
    transform: translateX(-180%) skewX(-20deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  28% {
    transform: translateX(350%) skewX(-20deg);
    opacity: 1;
  }
  29%,
  100% {
    transform: translateX(350%) skewX(-20deg);
    opacity: 0;
  }
}
.refined .coupon-details[open] > summary::after {
  animation: none;
  opacity: 0;
}
.refined .coupon-help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 11px 0 0;
}
.refined .coupon-help > button {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #aaa78d;
  border-radius: 0;
  background: none;
  color: #405437;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
}
.refined .coupon-help > button:hover {
  color: #263d1c;
  border-bottom-color: #405437;
}
.refined .coupon-details[open] .coupon-row {
  margin-top: 10px;
}
@media (max-width: 680px) {
  .refined .coupon-details > summary {
    min-height: 43px;
  }
  .refined .coupon-help {
    font-size: 11px;
    margin-top: 10px;
    line-height: 1.9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .refined .coupon-details > summary::after {
    animation: none;
    opacity: 0;
  }
  .refined .coupon-details > summary {
    transition: none;
  }
}

/* Additional cloud-only fixture choice fits the existing upload footer. */
.refined .upload-footer {
  flex-wrap: wrap;
  gap: 10px 18px;
}

/* Cloud-only previews contain no private PDF images or fabricated scores. */
.refined .cloud-report-placeholder {
  background: #fffefb;
  border: 1px solid #ddd7ca;
  margin: 18px;
  padding: 20px;
  text-align: left;
  min-height: 150px;
  box-sizing: border-box;
  color: #28362b;
}
.refined .cloud-report-placeholder strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 17px;
  margin: 12px 0 8px;
}
.refined .cloud-report-placeholder p {
  font-size: 11px;
  margin: 0;
  color: #586151;
}
.refined .cloud-mock-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: #435b3c;
  border: 1px solid #435b3c;
  padding: 3px 5px;
}
.refined .cloud-report-lines {
  margin-top: 17px;
  display: grid;
  gap: 6px;
}
.refined .cloud-report-lines i {
  display: block;
  height: 3px;
  background: #d9ded2;
  width: 100%;
}
.refined .cloud-report-lines i:nth-child(2) {
  width: 82%;
}
.refined .cloud-report-lines i:nth-child(3) {
  width: 62%;
}
.refined .report-paper .cloud-report-placeholder {
  margin: 0;
  padding: 13px;
  min-height: 135px;
}
.refined .report-paper .cloud-report-placeholder strong {
  font-size: 13px;
  margin: 9px 0 6px;
}
