:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0b1117; color: #edf4f5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 82% 10%, #143d46 0, transparent 38%), #0b1117; }
.shell { width: min(100% - 40px, 1600px); margin: 0 auto; padding: 72px 0 48px; }
.intro { max-width: 760px; margin-bottom: 34px; }
.eyebrow { color: #65d7c6; letter-spacing: .15em; font-size: 12px; font-weight: 800; margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -.045em; margin: 0; max-width: 800px; }
.lede { color: #a7b8bd; font-size: 18px; line-height: 1.55; max-width: 690px; margin: 26px 0 0; }
.panel { background: #f4f8f7; color: #0b1a20; border-radius: 24px; padding: 28px; box-shadow: 0 25px 80px #0007; }
h2 { margin: 0 0 22px; font-size: 24px; }
.config-notice { border-radius: 10px; padding: 11px 13px; margin: 0 0 16px; font-size: 13px; line-height: 1.45; }
.config-notice.preview { background: #dcefe9; color: #17655a; }
.config-notice.error { background: #fde8e7; color: #9b2929; }
.dropzone { min-height: 190px; border: 2px dashed #82aaa9; background: #e8f2f0; border-radius: 17px; display: grid; place-content: center; text-align: center; cursor: pointer; transition: .2s ease; }
.dropzone:hover, .dropzone:focus-within { border-color: #128c7e; background: #dcece9; }
.dropzone input { position: absolute; opacity: 0; pointer-events: none; }
.drop-title { font-size: 20px; font-weight: 750; }
.drop-meta { color: #587078; font-size: 14px; margin-top: 9px; }
.field-label { display: block; margin: 22px 0 7px; font-weight: 700; }
select, button { width: 100%; min-height: 50px; border-radius: 11px; font: inherit; }
select { border: 1px solid #b8ccca; padding: 0 14px; background: white; color: #0b1a20; }
button { margin-top: 18px; border: 0; background: #087f74; color: white; font-weight: 800; cursor: pointer; }
button:hover { background: #09685f; }
button:disabled { opacity: .55; cursor: wait; }
.status { min-height: 26px; margin-top: 18px; color: #315158; line-height: 1.45; }
.status.processing { padding: 12px 14px; border-radius: 11px; background: #e8f2f0; }
.progress-label { font-weight: 750; color: #0b514a; }
.progress-track { height: 9px; margin: 10px 0 7px; overflow: hidden; border-radius: 999px; background: #c5dbd7; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #087f74, #65d7c6); transition: width .35s ease; }
.progress-detail { color: #567078; font-size: 13px; }
.status.error { color: #a22929; }
.status.success { color: #087f74; }
.status-review, .button-quiet { width: auto; min-height: 38px; padding: 0 16px; margin: 10px 0 0 10px; border: 1px solid #a5c7c2; background: transparent; color: #087f74; font-weight: 750; }
.status-review:hover, .button-quiet:hover { background: #e2f0ed; }
.review-shell { margin-top: 34px; background: #e8f2f0; color: #0b1a20; border-radius: 24px; padding: 28px; box-shadow: 0 25px 80px #0005; }
.review-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.review-header h2 { margin: 0; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.035em; }
.review-header .eyebrow { color: #087f74; margin-bottom: 12px; }
.review-subtitle { max-width: 650px; color: #567078; line-height: 1.5; margin: 10px 0 0; }
.review-toolbar { display: flex; gap: 18px; align-items: center; border-top: 1px solid #c5dbd7; border-bottom: 1px solid #c5dbd7; margin: 24px 0 14px; padding: 12px 0; font-size: 13px; color: #45636a; }
.review-toolbar span { display: inline-flex; align-items: center; gap: 7px; }
.review-hint { margin-left: auto; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.original-dot { background: #66818a; }.translated-dot { background: #087f74; }
.column-heading { display: grid; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); gap: 14px; margin: 0 4px 8px; color: #45636a; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.column-heading span:nth-child(2) { text-align: center; }
.review-rows { display: grid; gap: 14px; max-height: 900px; overflow-y: auto; padding: 2px 5px 20px; scrollbar-color: #91b8b3 transparent; }
.review-row { display: grid; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.slide-card, .comment-card { background: #f8fbfa; border: 1px solid #c5dbd7; border-radius: 14px; padding: 12px; box-shadow: 0 5px 18px #0b464d0a; }
.slide-card-top, .comment-card-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; font-size: 12px; color: #587078; }
.slide-card-top strong, .comment-card-top strong { color: #0b1a20; }
.slide-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 9px; background: #dfeae8; }
.preview-placeholder { min-height: 180px; display: grid; place-content: center; text-align: center; border-radius: 9px; background: linear-gradient(145deg, #dceae7, #eff6f4); color: #087f74; font-weight: 800; }
.preview-placeholder small { display: block; max-width: 180px; margin-top: 7px; color: #6b8589; font-size: 11px; font-weight: 500; line-height: 1.35; }
.comment-card { background: #f4f8f7; display: flex; flex-direction: column; justify-content: center; }
.comment-card textarea { width: 100%; min-height: 104px; border: 1px solid #b8ccca; border-radius: 9px; padding: 10px; resize: vertical; font: inherit; font-size: 13px; color: #0b1a20; background: white; }
.comment-card textarea:focus { outline: 2px solid #65d7c6; border-color: #087f74; }
.apply-comment { min-height: 38px; margin-top: 9px; font-size: 13px; }
.comment-state { min-height: 18px; color: #557078; font-size: 12px; line-height: 1.35; margin: 8px 0 0; }
.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; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.notes div { border-top: 1px solid #29424b; padding-top: 14px; display: grid; gap: 7px; }
.notes strong { color: #edf4f5; }
.notes span { color: #8fa5aa; line-height: 1.45; font-size: 14px; }
@media (max-width: 720px) { .shell { padding-top: 42px; } .panel { padding: 20px; } .notes { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .column-heading, .review-row { grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr); gap: 10px; } }
@media (max-width: 720px) { .review-header { display: block; } .button-quiet { margin: 16px 0 0; width: 100%; } .review-toolbar { flex-wrap: wrap; } .review-hint { width: 100%; margin-left: 0; } .column-heading { display: none; } .review-row { grid-template-columns: 1fr; gap: 8px; } .comment-card { order: 3; } .slide-card { order: 1; } .review-row .slide-card:last-child { order: 2; } }
.page-version{position:fixed;top:18px;right:24px;z-index:10;padding:7px 11px;border:1px solid #65d7c655;border-radius:999px;background:#10242bcc;color:#a9e6dc;font-size:12px;font-weight:800;letter-spacing:.04em;box-shadow:0 8px 24px #0004}
@media (max-width:720px){.page-version{top:12px;right:14px;font-size:11px}}
