:root {
  --bg: #f7f8f4;
  --paper: #fff;
  --ink: #252e28;
  --muted: #70776e;
  --line: #e2e6dc;
  --green: #245c41;
  --green-hover: #17452f;
  --sage: #e9eddf;
  --soft-green: #edf3e9;
  --red: #a33e32;
  --ease: cubic-bezier(.2,.7,.3,1);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #6e926d; outline-offset: 4px; }
::selection { background: #cbdcbd; color: #173e2a; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #67725f; font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #789568; border-radius: 50%; flex-shrink: 0; }
em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 20; padding: 12px 20px; background: var(--green); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; font-size: 23px; font-weight: 700; letter-spacing: -.055em; }
.wordmark .dot { color: #7e8877; font-weight: 450; }
.brand-icon { display: grid; place-items: center; height: 34px; width: 34px; background: var(--green); color: #f6f8ee; border-radius: 10px; }
.brand-icon svg { height: 24px; width: 24px; }
.field { display: grid; gap: 9px; font-size: 12px; font-weight: 600; }
.field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.field-hint { color: #848c80; font-weight: 400; font-size: 11px; }
input, textarea { width: 100%; min-width: 0; border: 1px solid #d9dfd2; border-radius: 7px; background: #fbfcf9; color: var(--ink); padding: 13px 14px; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover, textarea:hover { border-color: #b2bea9; }
input:focus, textarea:focus { border-color: #6a8761; box-shadow: 0 0 0 3px #c2d1b83d; background: #fff; }
input::placeholder, textarea::placeholder { color: #747e6e; font-weight: 400; opacity: 1; }
input { height: 47px; }
textarea { resize: vertical; min-height: 154px; max-height: 440px; line-height: 1.9; padding: 16px 17px; font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; background: transparent; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s, box-shadow .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 2px 2px #1e442013; }
.btn.primary:hover { background: var(--green-hover); box-shadow: 0 4px 10px #1e44201c; }
.btn.ghost { color: #737b6d; }
.btn.ghost:hover { background: #edf0e7; color: var(--ink); }
.btn.sm { min-height: 36px; padding: 8px 13px; font-size: 11px; gap: 7px; }
.btn.sm svg { width: 16px; height: 16px; }
.btn.block { width: 100%; justify-content: space-between; }
.btn[disabled] { cursor: wait; opacity: .6; }
.btn.loading .download-arrow { display: none; }
.spin { display: none; width: 16px; height: 16px; border: 1.5px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: rotate .8s linear infinite; }
.btn.loading .spin { display: inline-block; }
.alert { padding: 13px 15px; margin-top: 18px; color: var(--red); background: #fbefeb; border: 1px solid #ebd0c7; border-radius: 7px; font-size: 12px; overflow-wrap: anywhere; }
.alert ul { padding-left: 18px; margin: 6px 0 0; }
/* Sign-in: a quiet workspace beside an illustrated film study. */
.auth-layout { min-height: 100dvh; display: grid; grid-template-columns: 1fr .92fr; padding: 18px; gap: 18px; max-width: 1800px; margin: auto; }
.auth-panel { display: flex; flex-direction: column; padding: 25px 42px 17px; }
.auth-form-wrap { width: 100%; max-width: 366px; margin: auto; padding: 70px 0 85px; }
.auth-form-wrap h1 { margin: 20px 0 14px; font-size: clamp(39px,4vw,53px); line-height: 1.08; font-weight: 500; letter-spacing: -.06em; white-space: nowrap; }
.auth-form-wrap h1 em { color: var(--green); letter-spacing: -.035em; font-size: 1.15em; }
.auth-intro { font-size: 13px; line-height: 1.9; }
.stack { display: grid; gap: 20px; margin-top: 32px; }
.stack .btn { margin-top: 6px; min-height: 49px; }
.access-note { display: flex; align-items: flex-start; gap: 11px; padding-top: 25px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.8; }
.access-note svg { width: 16px; height: 16px; margin-top: 2px; color: #89917e; }
.auth-footer { display: flex; justify-content: space-between; gap: 15px; color: #8a9183; font-size: 10px; }
.auth-story { min-width: 0; position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--sage); border-radius: 12px; padding: 33px 44px; }
.auth-story::before { content: ''; position: absolute; inset: 0; opacity: .19; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23465138' opacity='.22' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.auth-story > * { position: relative; }
.story-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.story-heading .eyebrow { font-size: 9px; }
.edition { color: #6f7c60; font-family: monospace; font-size: 10px; letter-spacing: .08em; }
.source-art { height: min(45vh,420px); min-height: 310px; width: 100%; max-width: 450px; margin: auto; }
.art-orbit { position: absolute; border: 1px solid #cdd5bf; border-radius: 50%; width: 360px; height: 360px; top: 25px; left: 50%; transform: translateX(-50%); }
.art-orbit::before, .art-orbit::after { content: '+'; position: absolute; color: #92a080; font-size: 18px; font-weight: 400; }
.art-orbit::before { left: -6px; top: 154px; }
.art-orbit::after { right: 14px; top: 56px; }
.film { position: absolute; width: 177px; height: 264px; border-radius: 6px; overflow: hidden; background: #fcfcf2; border: 6px solid #fcfcf2; box-shadow: 6px 17px 20px -10px #46513633; }
.film > svg { width: 100%; height: calc(100% - 43px); display: block; stroke: none; }
.frame-back { top: 40px; left: calc(50% - 33px); transform: rotate(11deg); }
.frame-front { top: 95px; left: calc(50% - 174px); transform: rotate(-9deg); }
.film-top { display: flex; justify-content: space-between; height: 17px; align-items: flex-start; padding: 2px 3px 0; }
.film-top span { width: 5px; height: 6px; background: #e2e6d8; border-radius: 1px; }
.film-bottom { height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 5px 3px 0; color: #546447; font-family: monospace; font-size: 7px; letter-spacing: .1em; }
.art-play { position: absolute; left: calc(50% - 21px); top: 110px; height: 42px; width: 42px; display: grid; place-items: center; border-radius: 50%; background: #fcfcf2e6; color: #42503b; }
.art-play svg { width: 19px; height: 19px; fill: currentColor; stroke: none; transform: translateX(-1px); }
.quality-note { position: absolute; right: 3px; bottom: 10px; display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 550; color: #4c5c41; transform: rotate(-5deg); }
.quality-note div span { color: #7c886e; font-weight: 400; }
.quality-symbol { align-self: flex-start; font-family: 'Instrument Serif',serif; font-size: 34px; line-height: 1; }
.story-copy { margin-top: 22px; }
.story-copy h2 { font-size: clamp(42px,4.7vw,65px); font-weight: 450; line-height: 1.04; letter-spacing: -.055em; }
.story-copy h2 em { color: #4d6843; font-size: 1.12em; }
.story-copy p { margin-top: 20px; font-size: 12px; line-height: 1.9; color: #78836e; }
.story-footer { display: flex; align-items: center; gap: 9px; margin-top: 35px; font-size: 9px; color: #748167; }
.footer-rule { display: inline-block; width: 26px; height: 1px; margin: 0 3px; background: #bcc7ae; }
/* Workspace */
.top { border-bottom: 1px solid var(--line); background: #fcfdf9; }
.top-inner { max-width: 1248px; min-height: 82px; margin: auto; padding: 16px 40px; display: flex; align-items: center; gap: 24px; }
.workspace-label { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; padding-left: 25px; border-left: 1px solid #dfe4d7; color: #7d8574; font-size: 10px; }
.who { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; background: #e8eddf; border: 1px solid #dce3cf; border-radius: 50%; color: #657758; font-size: 11px; font-weight: 600; }
.email { font-size: 11px; color: #626c5a; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-divider { height: 15px; width: 1px; background: var(--line); margin: 0 3px 0 9px; }
.who form { flex-shrink: 0; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 40px; }
#main-content:focus { outline: none; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 49px 0 34px; }
.hero h1 { font-size: clamp(36px,4.3vw,56px); font-weight: 500; line-height: 1.15; letter-spacing: -.055em; margin: 10px 0 12px; text-wrap: balance; }
.hero h1 em { font-size: 1.13em; letter-spacing: -.035em; color: #5b7651; }
.hero p.muted { font-size: 12px; }
.hero-detail { display: flex; align-items: center; gap: 13px; margin: 15px 12px 0 0; padding-left: 25px; border-left: 1px solid #dbe1d2; font-size: 11px; line-height: 1.7; color: #526247; }
.hero-detail svg { width: 39px; height: 39px; stroke-width: 1; color: #879b75; }
.capture-layout { display: grid; grid-template-columns: minmax(0,1fr) 272px; gap: 34px; align-items: stretch; }
.composer { padding: 25px 28px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 3px 5px #38412603; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; gap: 15px; }
.panel-heading h2 { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.panel-heading svg { color: #87947d; width: 17px; height: 17px; }
.section-index { font-family: monospace; font-size: 9px; letter-spacing: .09em; color: #909784; }
.input-help { margin-top: 9px; color: #6f7966; font-size: 11px; }
.composer-controls { margin: 21px 0 25px; display: flex; align-items: flex-end; gap: 18px; }
.count { width: 132px; flex-shrink: 0; gap: 8px; font-size: 11px; }
.count input { height: 43px; padding: 10px 13px; font-size: 13px; font-variant-numeric: tabular-nums; }
.count-help { color: #6e7964; font-size: 10px; line-height: 1.7; margin-bottom: 5px; }
.composer-controls .btn { margin-left: auto; min-height: 43px; }
.composer-controls .btn svg { height: 16px; width: 16px; }
.composer-foot { display: flex; align-items: center; gap: 8px; padding: 15px 0; border-top: 1px solid #edf0e8; font-size: 10px; color: #6f7c64; }
.composer-foot .status-dot { width: 5px; height: 5px; background: #aab79a; }
.guide { padding: 11px 0 0 4px; }
.guide .eyebrow { color: #8c977f; font-size: 9px; }
.guide h2 { margin: 13px 0 24px; font-size: 28px; font-weight: 450; line-height: 1.18; letter-spacing: -.035em; }
.guide h2 em { font-size: 1.1em; color: #6a805b; }
.steps { padding: 0; list-style: none; display: grid; gap: 20px; }
.steps li { display: flex; gap: 13px; }
.step-number { font-family: monospace; color: #99a48d; font-size: 10px; border-bottom: 1px solid #dce3d3; padding: 1px 0 3px; height: fit-content; }
.steps h3 { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.steps p { font-size: 11px; line-height: 1.8; color: #69775f; max-width: 205px; }
.retention-note { display: flex; align-items: center; gap: 7px; color: #6c7c5e; font-size: 9px; margin: 22px 0 0 28px; }
.retention-note svg { width: 13px; height: 13px; }
.library { margin-top: 43px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.sec-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -.045em; }
.title-period { color: #829a6b; }
.sec-head p { margin-top: 5px; font-size: 10px; color: #6d7a62; }
.stats { color: #68795c; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.download-list { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.list-heading { display: grid; grid-template-columns: 96px minmax(0,1fr) 150px; gap: 24px; align-items: center; background: #fcfdf9; padding: 14px 24px; border-bottom: 1px solid #e9ede2; color: #7a876d; font-family: monospace; font-size: 9px; letter-spacing: .1em; }
.list-heading span:last-child { text-align: center; }
.empty { padding: 36px 20px 29px; text-align: center; }
.empty-art { width: 85px; height: 67px; position: relative; margin: 0 auto 14px; }
.empty-art::before { content: ''; width: 65px; height: 50px; background: #f0f4e9; border-radius: 50%; position: absolute; left: 10px; top: 9px; }
.empty-art svg { position: relative; width: 80px; height: 64px; stroke: #b2c09e; stroke-width: 1.1; transform: rotate(-6deg); }
.empty-art span { position: absolute; right: -3px; top: 12px; width: 13px; height: 1px; background: #bfcbaa; transform: rotate(-25deg); }
.empty h3 { font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.empty p { color: #6f7c63; font-size: 10px; line-height: 1.8; margin-top: 7px; }
.empty-footnote { display: block; color: #69765c; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 13px; margin-top: 20px; }
.list-loading { display: flex; align-items: center; gap: 16px; padding: 30px 23px; color: var(--muted); font-size: 12px; }
.skeleton { width: 40px; height: 40px; background: #edf1e6; border-radius: 6px; animation: pulse 1.4s infinite; }
.job { display: grid; grid-template-columns: 96px minmax(0,1fr) 150px; gap: 24px; padding: 24px; align-items: center; border-bottom: 1px solid #e7ecdf; position: relative; overflow: hidden; animation: appear .3s var(--ease) both; transition: background .2s; }
.job:hover { background: #fdfefb; }
.job:last-child { border-bottom: 0; }
.job.is-update { animation: none; }
.job-preview { width: 96px; height: 128px; position: relative; align-self: start; overflow: hidden; border: 1px solid #e0e6d7; border-radius: 7px; background: #eff2e9; }
.job-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.preview-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 8px; text-align: center; color: #889978; }
.preview-placeholder svg { width: 26px; height: 26px; stroke-width: 1.2; }
.preview-placeholder span { max-width: 72px; font-size: 9px; line-height: 1.6; color: #758569; }
.has-thumbnail .preview-placeholder { display: none; }
.preview-kind { position: absolute; left: 6px; bottom: 6px; padding: 3px 5px; background: #223d2dd9; color: #fff; border-radius: 3px; font-size: 7px; font-weight: 600; letter-spacing: .08em; }
.preview-unavailable img, .preview-unavailable .preview-kind { display: none; }
.preview-unavailable .preview-placeholder { display: flex; }
.audio-preview { background: #eaf0e3; border-color: #dce6d1; }
.job.failed .job-preview { background: #f8f1eb; border-color: #eee0d3; }
.job.failed .preview-placeholder { color: #a38b75; }
.job .main { min-width: 0; }
.job-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 8px; }
.creator { color: #697c5b; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.job-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; background: #f0f2eb; color: #6c785f; border-radius: 4px; font-size: 9px; line-height: 1.3; font-weight: 550; }
.job-status::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.job-status.st-done { background: #eaf2e5; color: #456d37; }
.job-status.st-running, .job-status.st-expanding { background: #f2f2df; color: #777c36; }
.job-status.st-queued, .job-status.st-expand { background: #f5f0e3; color: #89703f; }
.job-status.st-failed { background: #f9eae3; color: #a2513b; }
.job-status.st-skipped { background: #f1ede4; color: #817451; }
.job .title { font-size: 14px; font-weight: 550; letter-spacing: -.02em; line-height: 1.6; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 13px; margin-top: 9px; }
.tag { font-size: 10px; font-variant-numeric: tabular-nums; color: #748169; line-height: 1.6; }
.tag.hd { color: #4f743e; font-weight: 550; }
.job-progress { margin-top: 12px; max-width: 460px; padding: 10px 12px; background: #f4f7ed; border: 1px solid #e1e8d5; border-left: 2px solid #8c9e73; border-radius: 5px; }
.progress-heading { color: #4f6640; font-size: 11px; font-weight: 600; line-height: 1.6; }
.progress-detail { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; margin-top: 3px; font-size: 10px; line-height: 1.7; color: #748065; }
.progress-time { font-variant-numeric: tabular-nums; font-weight: 550; white-space: nowrap; }
.progress-reason { font-size: 10px; color: #8b7e57; margin-top: 3px; line-height: 1.7; }
.job-progress.is-retrying { background: #faf6e9; border-color: #e9dfbd; border-left-color: #b5a064; }
.is-retrying .progress-heading { color: #82703b; }
.source-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; text-decoration: none; color: #7b886e; font-size: 10px; }
.source-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.source-link svg { width: 10px; height: 10px; }
.job.expired .title { color: #7b8671; }
.job.running .preview-placeholder svg, .job.expanding .preview-placeholder svg { animation: pulse 1.5s ease-in-out infinite; }
.job.running::after, .job.expanding::after { content: ''; position: absolute; width: 35%; height: 1px; background: #93ac7c; bottom: 0; left: 0; animation: progress 2s infinite; }
.err { color: var(--red); font-size: 11px; margin-top: 9px; line-height: 1.7; overflow-wrap: anywhere; }
.skip-note { color: #817451; font-size: 11px; margin-top: 9px; line-height: 1.7; overflow-wrap: anywhere; }
.actions { display: flex; flex-direction: column; align-items: stretch; gap: 7px; padding-left: 12px; }
.actions .btn.primary { min-height: 40px; background: #edf3e8; color: #456735; border-color: #dae6d0; box-shadow: none; }
.actions .btn.primary:hover { background: #dfead5; }
.actions .btn.primary svg { width: 14px; height: 14px; }
.actions .btn.ghost { align-self: center; font-size: 10px; color: #7a886c; min-height: 34px; }
.workspace-footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 30px; color: #a1aa94; font-size: 9px; }
.footer-slash { margin: 0 8px; color: #c0c8b4; }
.footer-dot { margin: 0 5px; }
.rise { animation: appear .5s var(--ease) both; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .1s; }
@keyframes appear { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes progress { from { transform: translateX(-110%); } to { transform: translateX(300%); } }
@media (min-width: 1600px) { .auth-panel { padding: 32px 50px 23px; } .auth-story { padding: 40px 55px; } }
@media (max-width: 1000px) {
  .auth-panel { padding: 22px 24px 15px; }
  .auth-story { padding: 30px; }
  .auth-form-wrap { padding: 65px 0; max-width: 330px; }
  .auth-footer span:last-child { display: none; }
  .capture-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 25px; }
  .top-inner, .wrap { padding-left: 30px; padding-right: 30px; }
  .workspace-label { display: none; }
  .count-help { display: none; }
  .composer { padding-left: 23px; padding-right: 23px; }
}
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; padding: 0; }
  .auth-panel { min-height: 100dvh; padding: 28px 25px 22px; }
  .auth-form-wrap { max-width: 390px; padding: 65px 0; }
  .auth-form-wrap h1 { font-size: 46px; }
  .auth-form-wrap .eyebrow { font-size: 9px; }
  .auth-story { display: none; }
  .auth-footer { justify-content: center; }
  .top-inner { min-height: 74px; padding: 17px 22px; gap: 12px; }
  .wordmark { font-size: 21px; }
  .brand-icon { width: 31px; height: 31px; border-radius: 9px; }
  .email { display: none; }
  .account-divider { display: none; }
  .who { gap: 7px; }
  .avatar { width: 28px; height: 28px; }
  .who .btn { padding: 8px; font-size: 10px; }
  .who .btn svg { display: none; }
  .wrap { padding: 0 22px; }
  .hero { padding: 35px 0 27px; }
  .hero h1 { font-size: clamp(34px,6.5vw,46px); margin: 11px 0; }
  .hero .eyebrow { font-size: 9px; }
  .hero p.muted { max-width: 280px; font-size: 11px; line-height: 1.8; }
  .hero-detail { display: none; }
  .capture-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
  .composer { padding: 23px 21px 0; border-radius: 9px; }
  .panel-heading { margin-bottom: 22px; }
  .section-index { font-size: 8px; }
  .guide { display: none; }
  textarea { font-size: 12px; min-height: 155px; }
  .composer-controls { gap: 15px; }
  .composer-controls .btn { padding: 12px 17px; }
  .composer-controls .count { width: 128px; }
  .composer-foot { font-size: 9px; align-items: flex-start; gap: 6px; }
  .composer-foot .status-dot { margin-top: 4px; }
  .library { margin-top: 32px; }
  .sec-head { align-items: flex-start; gap: 10px; }
  .sec-head h2 { font-size: 21px; }
  .sec-head p { max-width: 190px; line-height: 1.7; font-size: 9px; }
  .stats { font-size: 9px; padding-top: 6px; white-space: normal; text-align: right; max-width: 113px; }
  .list-heading { grid-template-columns: 80px minmax(0,1fr); gap: 14px; padding: 12px 16px; font-size: 8px; }
  .list-heading span:last-child { display: none; }
  .empty { padding: 34px 15px 25px; }
  .empty h3 { font-size: 12px; }
  .job { grid-template-columns: 80px minmax(0,1fr); gap: 15px 14px; padding: 20px 16px; align-items: start; }
  .job-preview { width: 80px; height: 112px; grid-row: 1 / 3; }
  .job .title { font-size: 12px; line-height: 1.6; -webkit-line-clamp: 3; }
  .job-kicker { gap: 6px 9px; margin-bottom: 7px; }
  .creator { font-size: 10px; }
  .job-status { font-size: 8px; padding: 3px 6px; }
  .meta { gap: 4px 9px; margin-top: 7px; }
  .tag { font-size: 9px; }
  .source-link { font-size: 9px; }
  .err { font-size: 10px; }
  .job-progress { padding: 9px 10px; margin-top: 10px; }
  .progress-detail, .progress-reason { font-size: 9px; }
  .actions { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px; padding-left: 0; }
  .actions .btn.primary { min-height: 40px; padding: 10px 12px; font-size: 10px; }
  .actions .btn.ghost { min-height: 40px; padding: 9px; font-size: 9px; }
  .preview-kind { font-size: 6px; left: 4px; bottom: 4px; }
  .workspace-footer { flex-direction: column; gap: 6px; padding-top: 22px; font-size: 8px; }
}
@media (max-width: 370px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-inner { padding-left: 16px; padding-right: 16px; }
  .auth-panel { padding-left: 21px; padding-right: 21px; }
  .auth-form-wrap h1 { font-size: 40px; }
  .composer { padding-left: 16px; padding-right: 16px; }
  .composer-controls { gap: 10px; }
  .composer-controls .count { width: 117px; }
  .composer-controls .btn { padding-left: 13px; padding-right: 13px; gap: 7px; }
  .section-index { display: none; }
  .job, .list-heading { grid-template-columns: 64px minmax(0,1fr); gap: 12px; }
  .job-preview { width: 64px; height: 96px; }
  .preview-placeholder { padding: 5px; gap: 7px; }
  .preview-placeholder span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
