:root { color-scheme: light; --ink:#202429; --muted:#6f777b; --line:#dfe3df; --paper:#f6f7f3; --white:#fff; --accent:#b5ee77; --dark:#263138; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:15px/1.48 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
.shell { max-width:1320px; padding:0 32px 34px; margin:auto; }
.topbar { height:75px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #d9ded8; }
.brand { display:flex; gap:10px; align-items:center; letter-spacing:.17em; font-weight:800; font-size:12px; }
.brand-mark { display:grid; place-items:center; background:var(--dark); color:var(--accent); border-radius:9px; width:28px; height:28px; font-size:17px; font-style:italic; letter-spacing:0; }
.local-pill { border:1px solid #cdd6c7; border-radius:99px; padding:7px 11px; color:#506341; font-size:10px; font-weight:800; letter-spacing:.12em; white-space:nowrap; }
.status-dot { display:inline-block; width:7px; height:7px; border-radius:100%; background:#75b744; margin-right:5px; }
.intro { padding:44px 0 33px; max-width:760px; }
.eyebrow { color:#64813f; font-size:11px; letter-spacing:.18em; font-weight:800; margin:0 0 11px; }
h1 { font-size:clamp(42px,5.2vw,70px); letter-spacing:-.065em; line-height:1.03; margin:0; font-weight:750; }
h1 em { font-weight:450; color:#7aa64c; }
.intro-copy { margin:20px 0 0; color:#636e70; max-width:600px; font-size:16px; }
.layout { display:grid; grid-template-columns:minmax(330px, 1fr) minmax(420px, 1.14fr); gap:18px; align-items:start; }
.left-stack { display:grid; gap:18px; }
.card { background:var(--white); border:1px solid var(--line); border-radius:19px; padding:24px; box-shadow:0 10px 32px rgba(36,51,37,.035); }
.card-heading { display:flex; gap:14px; align-items:start; margin-bottom:22px; }
.step { display:grid; place-items:center; flex:none; border-radius:8px; width:31px; height:31px; background:#ecf3e5; color:#58753e; font-weight:800; font-size:12px; }
h2 { margin:-3px 0 1px; font-size:21px; line-height:1.25; letter-spacing:-.035em; }
.card-heading p { color:var(--muted); margin:0; font-size:13px; }
.drop-zone { border:1.5px dashed #aebbae; background:#f8faf6; border-radius:14px; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:205px; text-align:center; padding:17px; outline:none; transition:.15s; }
.drop-zone.dragover,.drop-zone:focus-visible { border-color:#72a540; background:#f1f9eb; box-shadow:0 0 0 3px #d8ebc7; }
.drop-icon { color:#7ea35c; font-size:31px; line-height:1; margin-bottom:5px; }
.drop-zone strong { font-size:16px; }
.drop-zone span { color:var(--muted); font-size:13px; }
.picker-actions,.export-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.button { border:1px solid transparent; border-radius:9px; padding:10px 15px; font-weight:700; font-size:12px; min-height:39px; transition:transform .12s,filter .12s; }
.button:hover:not(:disabled) { transform:translateY(-1px); filter:brightness(.96); }
.button:focus-visible { outline:3px solid #7fb441; outline-offset:2px; }
.button:disabled { opacity:.5; cursor:not-allowed; }
.button-dark { background:var(--dark); color:#fff; }
.button-light { color:#2b373d; border-color:#d0d8d2; background:#fff; }
.button-accent { display:flex; justify-content:space-between; align-items:center; width:100%; background:var(--accent); color:#20301c; margin-top:18px; font-size:14px; padding:13px 16px; }
.selection { color:#69736c; font-size:12px; margin-top:12px; overflow-wrap:anywhere; }
.fields { display:grid; gap:13px; }
.fields.two-col { grid-template-columns:1fr 1fr; margin-bottom:13px; }
label { color:#4c5756; font-weight:700; font-size:12px; }
input[type=text],input[type=number],select,textarea { display:block; width:100%; border:1px solid #d8dfd9; background:#fcfdfb; border-radius:8px; color:var(--ink); padding:10px 11px; margin-top:5px; outline:none; min-height:39px; }
input:focus,select:focus,textarea:focus { border-color:#7cac4d; box-shadow:0 0 0 3px #e6f3d9; }
textarea { resize:vertical; }
.scan-option { display:flex; gap:11px; align-items:start; border:1px solid #e0e7dc; background:#f9fbf7; border-radius:11px; padding:13px; cursor:pointer; }
.scan-option input { margin:3px 0 0; accent-color:#70994b; }
.scan-option strong,.scan-option small { display:block; }
.scan-option small { font-weight:400; color:var(--muted); line-height:1.4; margin-top:2px; }
.progress { margin:12px 1px 0; font-size:12px; color:#637063; min-height:18px; }
.empty-results { margin-top:32px; text-align:center; border-top:1px solid #edf0eb; padding:47px 15px 35px; }
.empty-orbit { display:block; color:#a8c390; font-size:39px; line-height:1; margin-bottom:10px; }
.empty-results strong { display:block; font-size:16px; }
.empty-results p { color:var(--muted); margin:3px auto 0; max-width:300px; font-size:13px; }
.results { margin-top:21px; }
.summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.stat { background:#f3f7ef; border-radius:10px; padding:12px; }
.stat b { display:block; line-height:1; font-size:24px; letter-spacing:-.06em; }
.stat span { color:#5f6a61; font-size:11px; }
.file-results { max-height:500px; overflow:auto; margin-top:15px; border:1px solid #e3e8e2; border-radius:11px; }
.file-row { padding:14px; border-bottom:1px solid #e6eae6; }
.file-row:last-child { border-bottom:0; }
.file-top { display:flex; justify-content:space-between; gap:9px; align-items:start; }
.filename { font-weight:750; overflow-wrap:anywhere; }
.path { display:block; color:#7d8881; font-size:11px; overflow-wrap:anywhere; }
.tag { white-space:nowrap; font-size:10px; font-weight:800; border-radius:99px; padding:3px 8px; background:#eaf4e2; color:#526f3c; }
.tag.warn { background:#fff0dd; color:#911f4e; }
.metadata { color:#647069; margin-top:5px; font-size:12px; }
.flags { padding-left:17px; color:#8d2751; margin:7px 0 0; font-size:12px; }
.row-fields { display:grid; grid-template-columns:125px 1fr; gap:8px; margin-top:10px; }
.row-fields label { font-size:11px; }
.row-fields select,.row-fields input { font-size:12px; padding:6px 8px; min-height:32px; margin-top:3px; }
.alignment-note { border-left:3px solid #a9ce87; color:#5a6859; background:#f8fbf5; padding:9px 11px; font-size:12px; margin:15px 0; }
.export-actions { margin-top:0; }
.repair-panel { border-top:1px solid #e2e8df; margin-top:24px; padding-top:22px; }
.repair-heading { display:flex; gap:14px; align-items:start; margin-bottom:16px; }
.repair-heading p { color:var(--muted); margin:0; font-size:12px; }
.repair-settings { display:flex; gap:18px; align-items:end; justify-content:space-between; margin-bottom:12px; }
.repair-settings label { min-width:160px; }
.target-duration { font-size:12px; color:#617163; margin:0 0 5px; text-align:right; }
.confirm-start { display:flex; gap:9px; align-items:start; border:1px solid #dfe8d7; background:#f7fbf3; border-radius:9px; padding:10px; cursor:pointer; line-height:1.4; }
.confirm-start input { margin:3px 0 0; accent-color:#71994a; }
.repair-list { margin-top:13px; display:grid; gap:9px; }
.repair-item { border:1px solid #e0e6df; border-radius:10px; padding:12px; background:#fdfefd; }
.repair-item-head { display:flex; justify-content:space-between; gap:8px; font-size:13px; font-weight:750; overflow-wrap:anywhere; }
.repair-issue { color:#744659; margin:5px 0 9px; font-size:11px; }
.repair-options { display:flex; flex-wrap:wrap; gap:6px; }
.repair-options label { border:1px solid #dbe3d9; background:#f7faf5; padding:6px 8px; border-radius:7px; font-size:11px; font-weight:650; cursor:pointer; }
.repair-options label.disabled { color:#929a95; background:#f8f8f7; cursor:not-allowed; }
.repair-options input { accent-color:#72994c; margin:0 4px 0 0; vertical-align:middle; }
.repair-proposal { color:#435449; background:#f1f7ed; border-radius:7px; padding:8px; margin-top:10px; font-size:11px; line-height:1.5; overflow-wrap:anywhere; white-space:pre-line; }
.repair-status { color:#667063; font-size:12px; margin-top:12px; white-space:pre-line; }
.repair-status.error { color:#a34434; }
.folder-export { width:100%; margin-top:8px; }
.folder-support { color:#718077; font-size:11px; margin:8px 1px 0; }
.repair-caveat { color:#738078; font-size:11px; line-height:1.45; margin:11px 1px 0; }
footer { color:#879088; text-align:center; font-size:11px; padding-top:31px; }
.visually-hidden { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
@media(max-width:900px) { .layout { grid-template-columns:1fr; } .shell { padding:0 17px 20px; } .intro { padding-top:34px; } }
@media(max-width:500px) { .fields.two-col { grid-template-columns:1fr; } .card { padding:18px; } .local-pill { font-size:8px; } .row-fields { grid-template-columns:1fr; } }
@media(max-width:500px) { .repair-settings { display:block; } .target-duration { text-align:left; margin-top:8px; } }
