:root {
  --bg:#f5f6f8;
  --paper:#fff;
  --ink:#202927;
  --muted:#6f7c73;
  --line:#e8ece9;
  --accent:#2c6252;
  --mint:#eaf3ec;
  --lime:#d3eea8;
  --danger:#ad534b;
  --warn:#ac7b34;
  --sidebar:238px;
  font-synthesis:none;
  color-scheme:light
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  color:var(--ink);
  background:var(--bg);
  font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased
}
button,input,a {
  -webkit-tap-highlight-color:transparent
}
button,input {
  font:inherit
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.42
}
a {
  color:inherit;
  text-decoration:none
}
svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3 {
  line-height:1.35
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible {
  outline:3px solid #a7ccb8;
  outline-offset:3px
}
[hidden] {
  display:none!important
}
.svg-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
.muted {
  color:var(--muted)
}
.small {
  font-size:12px
}
.eyebrow {
  font-size:10px;
  font-weight:600;
  letter-spacing:1.9px;
  color:#6e857b;
  display:inline-flex;
  align-items:center;
  gap:9px
}
.eyebrow i {
  width:6px;
  height:6px;
  background:#6b9671;
  border-radius:50%
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:21px;
  font-weight:680;
  letter-spacing:-.7px
}
.logo-mark {
  width:35px;
  height:35px;
  border-radius:10px;
  background:#223831;
  color:#e1f5c2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:19px;
  letter-spacing:-2px;
  font-weight:700;
  flex-shrink:0
}
.logo-mark span {
  font-size:22px;
  font-weight:400;
  margin-left:2px
}
.button {
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  padding:10px 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-weight:550;
  font-size:13px;
  white-space:nowrap;
  transition:background .18s,box-shadow .18s,transform .18s
}
.button:hover {
  background:#f3f6f3
}
.button.primary {
  color:#fff;
  background:#253e34;
  border-color:#253e34;
  box-shadow:0 2px 3px #182a2110
}
.button.primary:hover {
  background:#345642;
  box-shadow:0 4px 12px #2238311a
}
.button.disabled {
  opacity:.4;
  pointer-events:none
}
.button.subtle {
  background:transparent;
  padding:6px 10px;
  color:#626e66
}
.button[aria-pressed=true] {
  background:var(--mint);
  border-color:#c8decf;
  color:var(--accent)
}
.text-button {
  background:none;
  border:0;
  padding:4px 0;
  color:#6e8076;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  gap:6px
}
.text-button:hover {
  color:var(--ink)
}
.text-button svg {
  width:15px;
  height:15px
}
.icon-button {
  padding:7px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#77827b;
  display:inline-flex;
  justify-content:center;
  align-items:center
}
.icon-button:hover {
  background:#edf2ed;
  color:#314f3e
}
.boot {
  height:100vh;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
  justify-content:center;
  color:var(--muted)
}
.mobile-only {
  display:none
}
.app-shell {
  min-height:100vh
}
.sidebar {
  width:var(--sidebar);
  position:fixed;
  inset:0 auto 0 0;
  background:#fff;
  border-right:1px solid var(--line);
  z-index:20;
  padding:30px 18px 0;
  display:flex;
  flex-direction:column
}
.sidebar .brand {
  margin:0 10px 36px
}
.new-button {
  margin:0 8px 17px;
  min-height:43px
}
.nav-button {
  background:transparent;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:10px 13px;
  border:0;
  border-radius:8px;
  color:#606e67;
  text-align:left;
  font-size:13px
}
.nav-button:hover,.nav-button.active {
  background:#f2f5f1;
  color:#345742
}
.nav-count {
  margin-left:auto;
  font-size:11px;
  color:#8e988f
}
.side-label {
  font-size:10px;
  font-weight:600;
  color:#7a8970;
  letter-spacing:1px;
  text-transform:uppercase
}
.sidebar>.side-label {
  padding:28px 14px 10px;
  display:flex;
  justify-content:space-between
}
.recent-nav {
  overflow:auto;
  min-height:50px;
  flex:1
}
.side-job {
  background:none;
  border:0;
  border-radius:8px;
  width:100%;
  padding:11px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
  color:#718075
}
.side-job>svg {
  width:16px;
  height:16px
}
.side-job span {
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  flex:1
}
.side-job:hover {
  background:#f6f8f5
}
.side-job.active {
  background:#edf3e9;
  color:#355a39
}
.status-dot {
  width:5px;
  height:5px;
  background:#6b9671;
  border-radius:50%;
  flex-shrink:0
}
.status-dot.error {
  background:#c98176
}
.status-dot.running {
  background:#c2a25b
}
.sidebar-bottom {
  margin-top:20px
}
.save-tip {
  margin:0 8px 22px;
  background:#f6f8f3;
  border:1px solid #eef0e9;
  border-radius:10px;
  padding:14px
}
.mini-mark {
  display:block;
  color:#829677;
  margin-bottom:7px
}
.mini-mark svg {
  width:18px;
  height:18px
}
.save-tip strong {
  font-size:11px;
  font-weight:550;
  color:#617054
}
.save-tip p {
  font-size:11px;
  line-height:1.9;
  color:#7b896d;
  margin:5px 0 0
}
.account {
  border-top:1px solid var(--line);
  padding:19px 7px 21px;
  display:flex;
  gap:10px;
  align-items:center
}
.avatar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ecece6;
  color:#80856e;
  width:31px;
  height:31px;
  border-radius:50%;
  font-size:11px;
  font-weight:600
}
.account>div {
  flex:1;
  min-width:0
}
.account strong {
  display:block;
  font-size:11px;
  font-weight:600;
  overflow:hidden;
  text-overflow:ellipsis
}
.account div>span {
  display:block;
  font-size:10px;
  color:#7e8c75
}
.account .text-button {
  font-size:11px
}
.main-shell {
  margin-left:var(--sidebar)
}
.topbar {
  height:77px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  background:#ffffffa0;
  gap:12px
}
.breadcrumb {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:12px;
  min-width:0
}
.breadcrumb>span {
  color:#929a95;
  white-space:nowrap
}
.breadcrumb>svg {
  width:10px;
  height:10px;
  color:#b4bbb6
}
.breadcrumb strong {
  font-weight:500;
  color:#5f6e64;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:350px
}
.connection {
  font-size:10px;
  color:#87968b;
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap
}
.connection i {
  width:5px;
  height:5px;
  background:#77a37e;
  border-radius:50%
}
.connection.offline {
  color:#b68e50
}
.connection.offline i {
  background:#be9a58
}
main {
  max-width:1660px;
  margin:auto;
  padding:0 38px
}
.new-view {
  max-width:1140px;
  margin:auto
}
.intro {
  padding:53px 0 30px
}
.intro h1 {
  font-size:clamp(30px,3.1vw,43px);
  font-weight:620;
  letter-spacing:-1.5px;
  margin:15px 0 13px
}
.intro h1>span {
  color:#86a96e
}
.intro>p {
  font-size:13px;
  color:#738174;
  letter-spacing:.2px;
  line-height:1.9;
  margin-bottom:0
}
.upload-layout {
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:20px
}
.upload-card {
  background:#fff;
  border:1px solid #e1e7e0;
  border-radius:15px;
  padding:23px 24px 19px;
  box-shadow:0 5px 20px #23372603;
  min-width:0
}
.card-heading,.format-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:20px
}
.step-label {
  font-size:9px;
  font-weight:600;
  letter-spacing:1.3px;
  color:#91a18e
}
.card-heading>.small {
  font-size:10px;
  color:#85947b
}
.dropzone {
  border:1.5px dashed #d5e0d2;
  border-radius:9px;
  background:#fbfcf9;
  display:flex;
  position:relative;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:233px;
  padding:24px;
  transition:background .2s,border-color .2s;
  text-align:center;
  cursor:pointer;
  overflow:hidden
}
.dropzone:hover,.dropzone.dragging {
  background:#f0f7e8;
  border-color:#90b178
}
.dropzone:focus-within {
  outline:3px solid #acc89a;
  outline-offset:2px
}
.dropzone input {
  opacity:0;
  position:absolute;
  inset:0;
  cursor:pointer;
  width:100%;
  height:100%
}
.upload-art {
  display:flex;
  width:61px;
  height:65px;
  border-radius:14px;
  background:linear-gradient(145deg,#eef6e4,#e0efd1);
  align-items:center;
  justify-content:center;
  position:relative;
  margin-bottom:20px;
  color:#7c9f60;
  box-shadow:0 4px 12px #68814908
}
.upload-art>svg {
  width:27px;
  height:27px
}
.file-tag {
  position:absolute;
  bottom:-5px;
  right:-9px;
  font:600 8px/1.5 ui-monospace,monospace;
  letter-spacing:1px;
  border:2px solid #fcfdf9;
  background:#738d5e;
  color:#fff;
  border-radius:4px;
  padding:2px 6px
}
.dropzone>strong {
  font-weight:550;
  font-size:16px;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin-bottom:6px
}
.dropzone>span:not(.upload-art) {
  color:#73826b;
  font-size:12px
}
.browse-link {
  color:#6d8c5e;
  margin-left:4px
}
.dropzone small {
  margin-top:18px;
  font-size:10px;
  color:#7f8d75
}
.upload-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:20px
}
.upload-bottom>span {
  font-size:10px;
  color:#77876a;
  display:flex;
  align-items:center;
  gap:5px
}
.upload-bottom>span>svg {
  width:12px;
  height:12px
}
.upload-bottom .button {
  padding:9px 14px;
  font-size:12px
}
.upload-bottom .button>svg {
  width:15px;
  height:15px
}
.upload-meter {
  margin-top:15px;
  font-size:11px;
  color:#7b8b7b
}
.upload-meter>div {
  display:flex;
  justify-content:space-between
}
progress {
  width:100%;
  height:5px;
  accent-color:var(--accent)
}
.error {
  color:var(--danger);
  font-size:12px;
  margin:12px 0 0
}
.format-card {
  border:1px solid #e5e9e2;
  background:#eef1eb;
  border-radius:15px;
  padding:23px 23px 15px;
  overflow:hidden;
  position:relative
}
.example-label {
  font-size:9px;
  color:#80906d
}
.sample-paper {
  background:#fff;
  border:1px solid #e7ebe3;
  border-radius:8px;
  padding:18px 21px 19px;
  box-shadow:0 7px 18px #52614907;
  transform:rotate(-1.5deg);
  margin:4px 3px 15px
}
.sample-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #edf0e9;
  padding-bottom:12px;
  margin-bottom:17px;
  color:#80916d;
  font:10px ui-monospace,monospace
}
.sample-top svg {
  width:14px;
  height:14px
}
.sample-paper h3 {
  font-size:16px;
  letter-spacing:.4px;
  font-weight:600;
  margin-bottom:11px
}
.sample-paper p {
  font-size:10px;
  line-height:1.9;
  color:#7b8b69;
  margin-bottom:18px
}
.sample-table>div {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  padding:7px 9px;
  font-size:9px;
  color:#87917e;
  border-bottom:1px solid #edf0e7
}
.sample-table>div:first-child {
  background:#f6f8f2;
  font-size:8px;
  color:#7b8b68
}
.sample-table b {
  font-size:10px;
  font-weight:400;
  margin-left:4px;
  color:#a4b18f
}
.sample-code {
  padding:10px 9px;
  background:#f6f8f3;
  border-radius:4px;
  font:8px ui-monospace,monospace;
  margin-top:14px;
  color:#7d8d6a;
  white-space:nowrap
}
.sample-code>span:first-child {
  color:#b1bd9f
}
.cursor {
  height:8px;
  width:1px;
  background:#9fac8f;
  margin-left:4px;
  display:inline-block;
  vertical-align:middle
}
.format-foot {
  display:block;
  font-size:9px;
  letter-spacing:1px;
  text-align:center;
  color:#899978
}
.benefits {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:29px 0 44px;
  padding:0 3px
}
.benefits>div {
  display:flex;
  gap:12px;
  align-items:center
}
.benefit-icon {
  width:35px;
  height:35px;
  background:#ecf0e9;
  border:1px solid #e7ece2;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  color:#829776;
  flex-shrink:0
}
.benefit-icon svg {
  width:16px;
  height:16px
}
.benefits strong {
  font-weight:550;
  font-size:11px;
  color:#718166
}
.benefits p {
  font-size:10px;
  margin:4px 0 0;
  color:#7d8a73
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px
}
.section-heading h2 {
  font-size:14px;
  font-weight:600;
  margin:0;
  color:#5f6e64
}
.section-heading h2>span {
  font-size:10px;
  font-weight:400;
  color:#829079;
  margin-left:7px
}
.document-list {
  background:white;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden
}
.doc-row {
  display:flex;
  width:100%;
  align-items:center;
  gap:15px;
  padding:18px 20px;
  background:none;
  border:0;
  border-bottom:1px solid #f0f2ee;
  text-align:left;
  color:var(--ink);
  transition:background .15s
}
.doc-row:last-child {
  border-bottom:0
}
.doc-row:hover {
  background:#fcfdf9
}
.doc-icon {
  color:#9aa98c;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3f6ef;
  border:1px solid #ecf0e7;
  border-radius:8px;
  width:35px;
  height:41px;
  flex-shrink:0
}
.doc-icon svg {
  width:17px;
  height:17px
}
.doc-info {
  flex:1;
  min-width:0
}
.doc-name {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:500;
  color:#59695e
}
.doc-sub {
  display:block;
  color:#7e8b73;
  font-size:10px;
  margin-top:3px
}
.doc-row>svg {
  width:13px;
  height:13px;
  color:#aeb7a9;
  margin-left:12px
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  padding:3px 8px;
  border-radius:5px;
  background:#eff5eb;
  color:#849971;
  white-space:nowrap
}
.badge::before {
  content:"";
  width:4px;
  height:4px;
  background:currentColor;
  border-radius:50%
}
.badge.error {
  background:#faf0ed;
  color:#ba8a7c
}
.badge.running,.badge.partial {
  background:#faf4e7;
  color:#b09966
}
.page-footer {
  display:flex;
  justify-content:space-between;
  padding:27px 0 24px;
  font-size:9px;
  color:#89947f
}
.history-view {
  padding:42px 0
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px
}
.page-heading h1 {
  font-size:32px;
  font-weight:600;
  margin:10px 0
}
.search-field input {
  border:1px solid #e1e7dc;
  padding:10px 14px;
  border-radius:8px;
  background:white;
  color:var(--ink);
  width:240px
}
.empty-list {
  padding:36px;
  text-align:center;
  color:#9fa799;
  font-size:12px
}
.job-view {
  padding:27px 0
}
.job-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:23px
}
.job-heading>div {
  min-width:0
}
.job-kicker {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px
}
.job-heading h1 {
  font-size:21px;
  font-weight:600;
  margin:0;
  overflow-wrap:anywhere;
  letter-spacing:-.4px
}
.job-actions>.button {
  font-size:12px;
  padding:11px 14px
}
.progress-card {
  border:1px solid #e2e8de;
  border-radius:12px;
  background:#fff;
  padding:18px 21px;
  margin-bottom:22px
}
.progress-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font-size:12px
}
.progress-head>div {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap
}
.progress-head strong {
  font-size:12px;
  font-weight:550
}
.activity-dot {
  width:6px;
  height:6px;
  background:#83a174;
  border-radius:50%
}
.activity-dot.running {
  animation:breathe 2s ease-in-out infinite
}
.activity-dot.error {
  background:#c1846e
}
.progress-head #elapsed {
  margin-left:5px;
  font-size:10px;
  color:#7b8c6d
}
.saved-note {
  font-size:10px;
  color:#6e835a;
  white-space:nowrap
}
.progress-track {
  height:4px;
  background:#edf2e8;
  border-radius:4px;
  overflow:hidden;
  margin-top:17px
}
.progress-track>div {
  height:100%;
  width:0;
  transition:width .6s;
  background:#8ca879;
  border-radius:4px
}
.progress-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:11px;
  gap:15px
}
.phases {
  list-style:none;
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  padding:0
}
.phases li {
  font-size:10px;
  color:#8e9c81;
  display:flex;
  align-items:center;
  gap:12px
}
.phases li+li:before {
  content:"›";
  color:#c1c9ba
}
.phases li.done,.phases li.active {
  color:#73905e
}
.phases li.active {
  font-weight:600
}
.progress-bottom>span {
  font-size:10px;
  color:#87957c;
  white-space:nowrap
}
.job-notice {
  padding:11px 13px;
  border-radius:7px;
  background:#f9f5ec;
  color:#a48959;
  font-size:11px;
  margin-top:15px;
  line-height:1.9
}
.progress-card details {
  border-top:1px solid #f0f3ec;
  margin-top:15px;
  padding-top:10px;
  color:#9aa592;
  font-size:10px
}
.progress-card summary {
  cursor:pointer
}
.progress-card summary>span {
  margin-left:8px;
  color:#adb6a5
}
.parts-list {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:12px 0
}
.part-pill {
  padding:4px 9px;
  border:1px solid #e9eee3;
  border-radius:5px;
  color:#a6afa0
}
.part-pill.done {
  color:#789066;
  background:#f3f7ee;
  border-color:#e3ecd8
}
.part-pill.saved {
  color:#aa955f;
  background:#faf7ee
}
.editor {
  border:1px solid #e1e6df;
  border-radius:12px;
  background:white;
  overflow:hidden
}
.editor-toolbar {
  height:60px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line)
}
.tabs {
  display:flex;
  gap:4px;
  background:#f4f6f1;
  padding:3px;
  border-radius:7px
}
.tabs button {
  border:0;
  background:none;
  border-radius:5px;
  padding:6px 12px;
  color:#788969;
  font-size:11px
}
.tabs button[aria-selected=true] {
  background:white;
  box-shadow:0 1px 5px #30471f0a;
  color:#577247
}
.editor-actions {
  display:flex;
  gap:10px;
  align-items:center
}
.editor-actions>.small {
  font-size:10px
}
.editor-actions>.button {
  font-size:10px;
  padding:6px 9px
}
.editor-actions svg {
  width:16px;
  height:16px
}
.editor-body {
  display:flex;
  height:clamp(450px,65vh,900px);
  min-height:450px
}
.outline {
  width:170px;
  border-right:1px solid var(--line);
  flex-shrink:0;
  padding:24px 17px;
  overflow:auto;
  background:#fdfefb
}
.outline nav {
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:4px
}
.outline nav a {
  font-size:10px;
  line-height:1.7;
  color:#6f815f;
  padding:6px 0;
  overflow-wrap:anywhere
}
.outline nav a:hover {
  color:#4f7044
}
.outline nav a.subheading {
  padding-left:10px
}
.outline nav>span {
  font-size:10px;
  color:#b3bca9
}
.reading-pane {
  overflow:auto;
  flex:1;
  min-width:0;
  scroll-behavior:smooth
}
.markdown-body {
  max-width:850px;
  margin:auto;
  padding:38px 44px 65px;
  color:#434b40;
  font-size:14px;
  line-height:1.95;
  overflow-wrap:anywhere
}
.markdown-body h1 {
  font-size:27px;
  border-bottom:1px solid #edf0e8;
  padding-bottom:13px;
  margin:0 0 23px;
  letter-spacing:-.5px
}
.markdown-body h2 {
  font-size:21px;
  margin:1.7em 0 .7em
}
.markdown-body h3 {
  font-size:17px;
  margin:1.5em 0 .6em
}
.markdown-body h4 {
  font-size:15px
}
.markdown-body h5,.markdown-body h6 {
  font-size:14px
}
.markdown-body p {
  margin:0 0 1em
}
.markdown-body .katex-display {
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:.15em 0
}
.markdown-body img {
  max-width:100%;
  height:auto;
  display:block;
  margin:22px auto;
  border-radius:4px
}
.markdown-body table {
  border-collapse:collapse;
  display:block;
  width:max-content;
  max-width:100%;
  overflow-x:auto;
  margin:20px 0;
  font-size:12px
}
.markdown-body th,.markdown-body td {
  padding:9px 13px;
  border:1px solid #e2e8da;
  min-width:65px
}
.markdown-body th {
  background:#f1f5eb;
  color:#6b8158;
  font-weight:600
}
.markdown-body tr:nth-child(even) {
  background:#fcfdf9
}
.markdown-body blockquote {
  margin:20px 0;
  border-left:3px solid #b9cd9f;
  background:#f7f9f2;
  padding:12px 20px;
  color:#89977a
}
.markdown-body blockquote p:last-child {
  margin:0
}
.markdown-body code {
  background:#f1f4ed;
  padding:2px 4px;
  border-radius:4px;
  font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace
}
.markdown-body pre {
  padding:18px;
  background:#f4f6f0;
  border:1px solid #e9eddf;
  border-radius:7px;
  overflow:auto;
  line-height:1.7
}
.markdown-body pre code {
  background:none;
  padding:0
}
.markdown-body a {
  color:#588848;
  text-decoration:underline;
  text-underline-offset:3px
}
.markdown-body ul,.markdown-body ol {
  padding-left:24px
}
.markdown-body li {
  margin:5px 0
}
.markdown-body hr {
  border:0;
  border-top:1px solid #e9eedf;
  margin:25px 0
}
.source-code {
  padding:30px;
  margin:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:12px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace;
  color:#77816c
}
.preview-empty {
  height:100%;
  min-height:380px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  color:#7b8c6c;
  padding:25px
}
.empty-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f5eb;
  width:54px;
  height:60px;
  border:1px solid #e6eddd;
  border-radius:12px;
  margin-bottom:21px;
  color:#b4c5a1
}
.empty-icon>svg {
  width:24px;
  height:24px
}
.preview-empty h3 {
  font-size:15px;
  font-weight:500;
  margin-bottom:12px;
  color:#819174
}
.preview-empty p {
  font-size:11px;
  line-height:2;
  color:#7f8f6f
}
.editor-footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:11px 18px;
  border-top:1px solid var(--line);
  font-size:9px;
  color:#7d8b70
}
.original-pane {
  width:50%;
  border-right:1px solid var(--line);
  background:#f0f2ee;
  display:flex;
  flex-direction:column;
  min-width:0
}
.original-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 15px;
  font-size:10px;
  color:#92a084;
  border-bottom:1px solid #e3e9dd;
  background:#f8faf5
}
.original-toolbar>div {
  display:flex;
  align-items:center;
  gap:3px
}
.original-toolbar input {
  width:43px;
  font-size:10px;
  color:#6c8159;
  padding:3px 5px;
  border:1px solid #dfe7d6;
  border-radius:4px;
  background:white;
  -moz-appearance:textfield
}
.original-toolbar input::-webkit-inner-spin-button {
  appearance:none
}
.original-scroll {
  overflow:auto;
  padding:18px;
  flex:1
}
.original-scroll img {
  width:100%;
  box-shadow:0 2px 10px #2d3f1e12;
  background:white
}
.original-scroll p {
  text-align:center;
  font-size:11px;
  margin:35px 10px
}
.rotate {
  transform:rotate(180deg)
}
.editor.compare .outline {
  display:none
}
.editor.compare .markdown-body {
  padding:25px;
  font-size:12px
}
.editor.compare .markdown-body h1 {
  font-size:23px
}
.editor.compare .markdown-body h2 {
  font-size:18px
}
.editor.focus {
  position:fixed;
  inset:18px;
  z-index:40;
  box-shadow:0 0 0 100vmax #192c2980;
  display:flex;
  flex-direction:column
}
.editor.focus .editor-body {
  height:auto;
  flex:1;
  min-height:0
}
.editor.focus .editor-toolbar,.editor.focus .editor-footer {
  flex-shrink:0
}
.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  z-index:100;
  background:#294034;
  color:white;
  border:1px solid #496049;
  padding:11px 22px;
  font-size:12px;
  border-radius:9px;
  box-shadow:0 8px 25px #23392522;
  max-width:90vw
}
.login-view {
  min-height:100vh;
  display:grid;
  grid-template-columns:1.05fr 1fr
}
.login-story {
  padding:50px 60px;
  background:#eaf0e4;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100vh
}
.login-story .eyebrow {
  font-size:9px
}
.login-story h1 {
  font-size:clamp(40px,5vw,68px);
  font-weight:550;
  letter-spacing:-2px;
  margin:25px 0
}
.login-story p {
  font-size:13px;
  line-height:2.1;
  color:#879a78
}
.login-tags {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:30px 0 60px
}
.login-tags span {
  padding:5px 12px;
  border:1px solid #d5dfcb;
  border-radius:20px;
  font-size:10px;
  color:#95a687
}
.login-form {
  max-width:410px;
  width:100%;
  padding:45px;
  margin:auto
}
.login-form h2 {
  font-size:26px;
  margin:17px 0 10px;
  font-weight:550;
  letter-spacing:-1px
}
.login-form>.muted {
  font-size:11px;
  margin-bottom:32px
}
.login-form label {
  display:block;
  font-size:11px;
  margin:20px 0 7px;
  color:#74846c
}
.login-form input {
  width:100%;
  padding:11px 13px;
  font-size:12px;
  background:#fff;
  border:1px solid #e0e6d9;
  border-radius:7px
}
.login-form input::placeholder {
  color:#7e8d71
}
.login-form>.button {
  width:100%;
  margin-top:28px
}
.login-private {
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  gap:5px;
  color:#7e906a;
  margin:20px 0
}
.login-private>svg {
  width:13px;
  height:13px
}
@keyframes breathe {
  50% {
    opacity:.3
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(min-width:1450px) {
  .intro {
    padding-top:65px
  }
  .dropzone {
    min-height:270px
  }
  .sample-paper {
    padding:24px 27px
  }
  .sample-paper p {
    font-size:12px
  }
  .sample-table>div {
    font-size:10px
  }
  .sample-code {
    font-size:10px
  }
  .sample-paper h3 {
    font-size:20px
  }
  .format-foot {
    margin-top:20px
  }
}
@media(max-width:1100px) {
  :root {
    --sidebar:210px
  }
  .sidebar {
    padding:28px 12px 0
  }
  .sidebar .brand {
    font-size:19px;
    margin-left:8px
  }
  main {
    padding:0 25px
  }
  .topbar {
    padding:0 25px
  }
  .intro {
    padding-top:39px
  }
  .upload-layout {
    gap:15px;
    grid-template-columns:1.2fr 1fr
  }
  .upload-card,.format-card {
    padding:18px
  }
  .dropzone {
    min-height:222px;
    padding:18px 10px
  }
  .upload-bottom>span {
    max-width:110px;
    line-height:1.8
  }
  .sample-paper {
    padding:15px
  }
  .sample-paper h3 {
    font-size:14px
  }
  .sample-code {
    font-size:7px
  }
  .benefits {
    gap:12px
  }
  .benefits>div {
    gap:8px
  }
  .benefit-icon {
    width:29px;
    height:32px
  }
  .benefits p {
    font-size:9px
  }
  .benefits strong {
    font-size:10px
  }
  .outline {
    width:135px;
    padding:20px 13px
  }
  .markdown-body {
    padding:30px
  }
  .editor-actions {
    gap:5px
  }
  .saved-note {
    font-size:9px
  }
  .progress-head #elapsed {
    font-size:9px
  }
  .job-heading h1 {
    font-size:18px
  }
  .job-actions>.button {
    font-size:11px
  }
  .editor-actions>#char-count {
    display:none
  }
}
@media(max-width:850px) {
  .upload-layout {
    grid-template-columns:1fr
  }
  .format-card {
    display:none
  }
  .dropzone {
    min-height:240px
  }
  .upload-bottom>span {
    max-width:none
  }
  .benefits {
    grid-template-columns:1fr;
    margin:23px 0 30px;
    gap:15px
  }
  .benefits>div {
    gap:12px
  }
  .benefits p {
    font-size:10px;
    display:inline;
    margin-left:10px
  }
  .benefits strong {
    font-size:11px
  }
  .benefit-icon {
    width:27px;
    height:27px
  }
  .intro h1 {
    font-size:32px
  }
  .intro>.eyebrow {
    font-size:8px;
    letter-spacing:1px
  }
  .progress-head {
    align-items:flex-start
  }
  .progress-bottom {
    flex-wrap:wrap
  }
  .job-heading {
    align-items:flex-start
  }
  .job-actions>.button {
    padding:9px 11px
  }
  .job-actions>.button>svg {
    display:none
  }
  .outline {
    display:none
  }
  .phases {
    gap:7px
  }
  .phases li {
    gap:7px
  }
  .login-story {
    padding:40px
  }
  .login-form {
    padding:30px
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column
  }
  .search-field,.search-field input {
    width:100%
  }
  .job-kicker {
    flex-wrap:wrap;
    gap:5px
  }
  .saved-note {
    max-width:110px;
    white-space:normal;
    text-align:right
  }
  .original-toolbar {
    padding:8px
  }
  .original-toolbar>span {
    display:none
  }
  .editor-toolbar {
    padding:0 10px
  }
  .editor-actions>.button>span {
    display:none
  }
  .editor.compare .markdown-body {
    padding:17px
  }
  .tabs button {
    padding:6px 8px
  }
}
@media(max-width:640px) {
  :root {
    --sidebar:238px
  }
  .mobile-only {
    display:inline-flex
  }
  .sidebar {
    transform:translateX(-100%);
    transition:transform .2s
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .sidebar-overlay {
    position:fixed;
    inset:0;
    background:#20332666;
    z-index:19;
    border:0;
    width:100%;
    height:100%
  }
  .main-shell {
    margin-left:0
  }
  .topbar {
    height:62px;
    padding:0 17px
  }
  .breadcrumb {
    gap:9px;
    font-size:11px
  }
  .breadcrumb>span {
    display:none
  }
  .breadcrumb strong {
    max-width:175px
  }
  .breadcrumb>svg {
    display:none
  }
  .connection {
    font-size:9px
  }
  .connection i {
    width:4px;
    height:4px
  }
  main {
    padding:0 18px
  }
  .intro {
    padding:33px 0 23px
  }
  .intro h1 {
    font-size:31px;
    letter-spacing:-1.3px;
    margin-top:13px
  }
  .intro>p {
    font-size:11px;
    line-height:1.9
  }
  .intro>.eyebrow {
    font-size:7px;
    letter-spacing:.8px
  }
  .upload-card {
    padding:17px
  }
  .card-heading {
    margin-bottom:14px
  }
  .dropzone {
    min-height:230px
  }
  .dropzone>strong {
    font-size:15px
  }
  .upload-bottom>span {
    font-size:9px;
    max-width:140px
  }
  .upload-bottom .button {
    font-size:11px;
    padding:10px 12px
  }
  .benefits p {
    font-size:9px;
    margin-left:8px
  }
  .benefits {
    margin-bottom:30px
  }
  .benefits strong {
    font-size:10px
  }
  .section-heading h2 {
    font-size:13px
  }
  .doc-row {
    padding:15px 12px;
    gap:10px
  }
  .doc-name {
    font-size:11px
  }
  .doc-sub {
    font-size:9px
  }
  .badge {
    font-size:9px;
    padding:3px 6px
  }
  .doc-row>svg {
    display:none
  }
  .doc-icon {
    width:29px;
    height:35px
  }
  .page-footer {
    font-size:8px;
    padding-top:24px
  }
  .job-view {
    padding-top:20px
  }
  .job-heading {
    flex-direction:column;
    gap:14px;
    margin-bottom:17px
  }
  .job-actions>.button {
    align-self:stretch;
    padding:11px;
    font-size:12px
  }
  .job-actions>.button>svg {
    display:block;
    width:15px
  }
  .job-heading h1 {
    font-size:19px
  }
  .job-kicker {
    margin-bottom:9px
  }
  .job-kicker .small {
    font-size:10px
  }
  .progress-card {
    padding:16px 14px;
    margin-bottom:17px
  }
  .progress-head strong {
    font-size:11px
  }
  .progress-head #elapsed {
    margin-left:0
  }
  .progress-head>div {
    column-gap:6px;
    row-gap:4px
  }
  .saved-note {
    font-size:9px;
    min-width:90px
  }
  .phases li {
    font-size:9px
  }
  .progress-bottom {
    gap:8px
  }
  .progress-bottom>span {
    font-size:9px
  }
  .job-notice {
    font-size:10px;
    padding:9px
  }
  .editor-toolbar {
    height:54px;
    padding:0 9px;
    gap:4px
  }
  .tabs {
    gap:0
  }
  .tabs button {
    font-size:10px;
    padding:6px 8px
  }
  .editor-actions {
    gap:1px
  }
  .editor-actions .icon-button {
    padding:6px
  }
  .editor-actions .button {
    padding:5px 6px;
    border:0
  }
  .editor-actions svg {
    width:15px;
    height:15px
  }
  .editor-body {
    height:65vh;
    min-height:400px
  }
  .markdown-body {
    padding:24px 22px;
    font-size:13px
  }
  .markdown-body h1 {
    font-size:24px
  }
  .markdown-body h2 {
    font-size:19px
  }
  .editor-footer {
    font-size:8px;
    padding:10px
  }
  .editor-footer>span:last-child {
    display:none
  }
  .editor.compare .editor-body {
    display:flex;
    flex-direction:column;
    height:950px
  }
  .editor.compare .original-pane {
    width:100%;
    height:420px;
    flex-shrink:0;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .editor.compare .reading-pane {
    height:530px;
    flex-shrink:0
  }
  .editor.compare .markdown-body {
    padding:24px 22px
  }
  .original-toolbar>span {
    display:block
  }
  .original-scroll {
    padding:14px
  }
  .editor.focus {
    inset:6px
  }
  .editor.focus.compare .editor-body {
    overflow:auto
  }
  .editor.focus.compare .reading-pane {
    flex:none;
    height:530px
  }
  .editor.focus.compare .original-pane {
    height:400px
  }
  .login-view {
    display:flex;
    flex-direction:column
  }
  .login-story {
    min-height:auto;
    padding:30px
  }
  .login-story>div {
    display:none
  }
  .login-story>.small {
    display:none
  }
  .login-form {
    padding:40px 28px;
    max-width:420px;
    margin:20px auto
  }
  .login-form h2 {
    font-size:25px
  }
  .history-view {
    padding-top:28px
  }
  .page-heading h1 {
    font-size:28px
  }
  .page-heading p {
    font-size:11px
  }
  .preview-empty h3 {
    font-size:13px
  }
  .preview-empty p {
    font-size:10px
  }
  .source-code {
    padding:20px;
    font-size:11px
  }
}

/* Keep operational information readable at every breakpoint. */
.side-job span, .outline nav a { font-size: 12px; }
.save-tip strong, .save-tip p, .account strong, .account .text-button { font-size: 12px; }
.account div > span, .connection, .dropzone small, .upload-bottom > span,
.doc-sub, .badge, .saved-note, .progress-head #elapsed,
.phases li, .progress-bottom > span, .progress-card details,
.editor-footer, .editor-actions > .small, .editor-actions > .button { font-size: 11px; }
.benefits strong, .benefits p { font-size: 12px; }
.doc-name { font-size: 13px; }
@media (max-width: 1100px) { .benefits p { font-size: 10px; } .benefits strong { font-size: 11px; } }
@media (max-width: 640px) {
  .connection, .doc-sub, .saved-note, .progress-head #elapsed, .phases li,
  .progress-bottom > span, .progress-card details, .editor-footer { font-size: 10px; }
  .doc-name { font-size: 12px; }
  .benefits p { display: block; margin: 3px 0 0; font-size: 11px; }
  .benefits strong { font-size: 12px; }
  .upload-bottom > span { font-size: 10px; }
  .phases { gap: 5px; } .phases li { gap: 5px; }
}

/* Task removal remains a separate control from opening a document. */
.doc-entry { display:flex; align-items:center; border-bottom:1px solid #f0f2ee; padding-right:12px; }
.doc-entry:last-child { border-bottom:0; }
.doc-entry .doc-row { flex:1; min-width:0; border-bottom:0; }
.doc-entry .delete-button { flex-shrink:0; width:36px; height:36px; }
.delete-button { color:var(--danger); }
.delete-button:hover:not(:disabled) { background:#fbefed; border-color:#e6c5c0; }
.delete-button:disabled { opacity:.35; }
.job-actions { display:flex; align-items:center; flex-shrink:0; gap:10px; }
.delete-dialog { width:min(460px, calc(100% - 32px)); padding:28px; border:1px solid var(--line); border-radius:16px; color:var(--ink); box-shadow:0 24px 80px #14271f33; }
.delete-dialog::backdrop { background:#14271f66; }
.delete-dialog h2 { margin:16px 0 10px; font-size:21px; }
.delete-dialog p { line-height:1.7; }
.delete-dialog-icon { display:inline-flex; padding:12px; border-radius:12px; color:var(--danger); background:#fbefed; }
.delete-dialog-icon svg { width:24px; height:24px; }
.delete-name { font-weight:600; overflow-wrap:anywhere; }
.dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
.button.danger { color:white; background:var(--danger); border-color:var(--danger); }
.button.danger:hover:not(:disabled) { background:#93433c; }
  .login-security { line-height:1.7; margin-top:14px; }
  .wallet-button { width:100%; display:flex; align-items:center; gap:8px; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--paper); color:var(--ink); text-align:left; }
  .wallet-button strong { margin-left:auto; font-size:15px; }
  .wallet-button span { color:var(--accent); font-size:12px; }
  .wallet-dialog { width:min(500px,calc(100% - 32px)); }
  .wallet-dialog .wallet-total { font-size:30px; font-weight:700; color:var(--accent); margin:0 0 20px; }
  .wallet-dialog label { display:block; margin-bottom:6px; font-weight:600; }
  .wallet-dialog input { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; }
  .wallet-dialog h3 { margin:24px 0 6px; font-size:15px; }
  .wallet-orders { max-height:180px; overflow:auto; }
  .wallet-order { border-bottom:1px solid var(--line); padding:8px 0; margin:0; }
@media (max-width: 850px) { .job-actions { flex-wrap:wrap; justify-content:flex-end; } }
@media (max-width: 640px) {
  .doc-entry { padding-right:6px; }
  .doc-entry .doc-row { flex-wrap:wrap; gap:8px; }
  .doc-entry .doc-info { flex-basis:calc(100% - 42px); }
  .doc-entry .badge { margin-left:37px; }
  .job-actions { align-self:stretch; }
  .job-actions>.primary { flex:1; }
  .delete-dialog { padding:22px; }
}

/* Shared AdriaIsland colors and a way home in every workspace view. */
:root{--ink:#204f59;--accent:#327e86;--mint:#e5efec;--bg:#f6f8f6}
.portal-home{display:inline-flex;align-items:center;min-height:36px;color:#327e86;font-size:12px;white-space:nowrap}
.portal-home:hover{color:#204f59;text-decoration:underline}
.login-home{margin-top:18px}
.sidebar .brand{margin-bottom:6px}
.sidebar-home{margin:0 10px 24px}
.topbar-home{margin-left:auto;padding:4px 10px;border:1px solid var(--line);border-radius:8px}
.topbar{gap:14px}
.button.primary{background:#204f59;border-color:#204f59}
.button.primary:hover{background:#327e86}
.logo-mark{background:#204f59;color:#e1f1ed}
.login-story{background:linear-gradient(145deg,#edf3ed,#d8e8e6);color:#204f59}
.login-story p{color:#526c70}
.login-tags span{color:#526c70;border-color:#bdcfca}
@media(max-width:600px){.topbar{flex-wrap:wrap;height:auto;min-height:68px;padding-top:12px;padding-bottom:12px;gap:8px}.topbar .connection{font-size:10px}.topbar-home{font-size:11px;padding:4px 7px}.login-home{margin-top:12px}}

/* Per-document conversion preferences. */
.conversion-settings { border:0; padding:0; margin:24px 0 0; min-width:0; }
.conversion-settings legend { padding:0 0 10px; font-weight:650; font-size:14px; }
.image-mode-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.image-mode { display:flex; align-items:flex-start; gap:8px; border:1px solid #dce4e1; border-radius:10px; padding:12px 10px; cursor:pointer; background:#fff; }
.image-mode:has(input:checked) { border-color:#218171; background:#f0f8f5; }
.image-mode:focus-within { outline:2px solid #218171; outline-offset:2px; }
.image-mode input { width:15px; height:15px; margin:3px 0 0; flex-shrink:0; accent-color:#218171; }
.image-mode strong { display:block; font-size:13px; line-height:1.6; }
.image-mode small { display:block; margin-top:3px; font-size:11px; line-height:1.6; color:#62726c; }
.image-mode em { font-size:10px; font-style:normal; font-weight:400; color:#218171; }
.conversion-help { font-size:12px; line-height:1.7; color:#62726c; margin:9px 0 0; }
.conversion-subheading { margin:20px 0 10px; font-weight:650; font-size:14px; }
.notes-label { display:flex; gap:8px; margin:18px 0 8px; font-size:13px; font-weight:600; }
.notes-label .muted { font-weight:400; font-size:12px; }
#notes-count { margin-left:auto; }
#conversion-notes { display:block; width:100%; min-height:90px; resize:vertical; padding:11px 12px; border:1px solid #dce4e1; border-radius:9px; font:inherit; font-size:13px; line-height:1.7; background:#fff; color:inherit; }
#conversion-notes:focus { outline:2px solid #218171; outline-offset:1px; }
.conversion-settings:disabled { opacity:.65; }
.job-conversion-options { padding:14px 18px; margin-bottom:18px; background:#fff; border:1px solid #e2e9e5; border-radius:12px; font-size:13px; }
.job-conversion-options summary { cursor:pointer; }
.job-image-setting { margin-top:12px; }
.job-image-setting label { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.job-image-setting select { max-width:100%; padding:7px 10px; border:1px solid #d9dde4; border-radius:6px; background:white; color:inherit; }
#job-conversion-notes { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
@media(max-width:380px) { .image-mode-grid { grid-template-columns:1fr; } }

.page-navigation { flex: 0 0 auto; border-bottom: 1px solid var(--line); }
.page-navigation > div { display: flex; align-items: center; gap: 8px; }

.page-mode-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 18px; border-bottom:1px solid var(--line); font-size:13px; }
.page-mode-toolbar label { display:flex; align-items:center; gap:8px; }
.page-mode-toolbar select { max-width:180px; padding:6px 10px; border:1px solid #d9dde4; border-radius:6px; background:white; color:inherit; }
.keep-images-option { display:flex; align-items:center; gap:8px; margin-top:12px; font-size:13px; }
button.part-pill { cursor:pointer; font:inherit; }

/* Public workspace, account forms, and bounded long-document progress. */
.engine-picker { border:0; padding:0; margin:26px 0 20px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.engine-option { cursor:pointer; display:flex; align-items:flex-start; gap:12px; padding:22px; border:1px solid #dce4d5; border-radius:12px; background:#fff; transition:border-color .15s,background .15s; }
.engine-option:has(input:checked) { border-color:#71885e; background:#f0f5ea; box-shadow:0 0 0 1px #71885e; }
.engine-option input { accent-color:#617b50; margin-top:5px; width:16px; height:16px; flex-shrink:0; }
.engine-copy { display:flex; flex-direction:column; gap:8px; color:#53604d; font-size:13px; }
.engine-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.engine-heading strong { font-size:19px; color:#303d29; font-weight:600; }
.engine-heading em { font-size:10px; font-style:normal; border:1px solid #dbe5d1; padding:3px 8px; border-radius:20px; color:#657b52; }
.engine-copy small { color:#78836f; font-size:11px; }
.free-policy { margin:24px 0 4px; padding:18px 20px; border-radius:8px; background:#f5f7f2; color:#627058; font-size:12px; line-height:1.8; }
.free-policy strong { color:#36442d; font-size:13px; }
.free-policy p { margin:8px 0; }
.free-policy .button { margin-top:12px; }
.guide-card h2 { margin:28px 0 20px; font-size:23px; font-weight:550; color:#43513b; }
.quick-steps { list-style:none; padding:15px 0 5px; display:grid; gap:20px; font-size:12px; color:#64725b; }
.quick-steps li { display:flex; align-items:center; gap:14px; }
.quick-steps b { font-size:10px; color:#94a185; font-weight:500; }
.verify-banner { display:flex; align-items:center; gap:15px; justify-content:space-between; margin:20px 0; padding:15px 20px; background:#fbf7e9; color:#766435; border:1px solid #e9dfbc; border-radius:10px; font-size:12px; line-height:1.8; }
.verify-banner .button { flex-shrink:0; }
.account>div { min-width:0; flex:1; }
.account-name { max-width:100%; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#425138; }
.auth-panel { width:min(100%, 470px); margin:auto; padding:48px 30px; }
.auth-panel .login-form { width:100%; max-width:none; margin:0; padding:20px 0; }
.auth-tabs { display:flex; gap:8px; padding:5px; border:1px solid #e0e6da; background:#f2f5ee; border-radius:10px; }
.auth-tabs button { flex:1; border:0; background:none; border-radius:7px; padding:10px; font:inherit; font-size:13px; color:#7b886f; cursor:pointer; }
.auth-tabs button[aria-selected="true"] { background:#fff; color:#405334; box-shadow:0 1px 4px #263c1710; }
.password-field, .code-field { display:flex; align-items:center; gap:8px; min-width:0; }
.password-field { position:relative; }
.password-field input { padding-right:56px; }
.password-toggle { position:absolute; right:14px; font-size:11px; }
.code-field input { min-width:0; flex:1; }
.code-field button { min-width:112px; white-space:nowrap; padding:11px 12px; font-size:12px; }
.auth-links { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.auth-links button { font-size:12px; white-space:nowrap; }
.auth-free { width:100%; margin:16px 0; }
.auth-panel .login-home { text-align:center; display:block; }
.auth-panel #email-info { line-height:1.7; margin-top:12px; }
.details-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:15px 0 10px; font-size:11px; }
.details-tools label, .details-tools>div { display:flex; align-items:center; gap:8px; }
.details-tools select, .details-tools input { font:inherit; background:#fff; border:1px solid #dce4d4; border-radius:6px; padding:6px 8px; color:#526546; }
.details-tools input { width:68px; }
.details-tools .button { padding:5px 8px; font-size:11px; }
.parts-list { display:grid; grid-template-columns:1fr 1fr; align-content:start; max-height:280px; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:8px 4px 8px 0; }
.part-pill { text-align:left; font-size:11px!important; padding:10px 12px; line-height:1.6; color:#6d7a64; min-width:0; overflow-wrap:anywhere; background:#fff; }
.part-pill.selected { outline:2px solid #82996c; outline-offset:-2px; }
.part-pill.issue { color:#886c31; background:#faf7ed; border-color:#e7dfc8; }
#parts-error { max-height:90px; overflow-y:auto; overflow-wrap:anywhere; }
#details-count { color:#70835e; }
#account-email { overflow-wrap:anywhere; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:700px) {
  .engine-picker { gap:10px; margin-top:22px; }
  .engine-option { padding:15px 12px; gap:8px; }
  .engine-heading { gap:7px; }
  .engine-heading strong { font-size:16px; }
  .engine-copy { font-size:11px; line-height:1.6; }
  .engine-copy small { font-size:10px; }
  .engine-heading em { font-size:9px; padding:1px 5px; }
  .auth-panel { padding:28px 24px 40px; }
  .auth-panel .login-form { padding:16px 0; }
  .auth-links { align-items:flex-start; }
  .verify-banner { align-items:flex-start; flex-direction:column; }
  .details-tools { justify-content:flex-start; gap:10px; }
  .parts-list { grid-template-columns:1fr; max-height:240px; }
  #activity-time { display:block; margin:6px 0 0; }
}
