:root{color-scheme:dark;--bg:#141619;--surface:#1b1e22;--line:#30343a;--text:#eceeef;--muted:#a1a8b0;--accent:#cadc98;--warning:#d9b276;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0;height:100vh;display:flex;flex-direction:column}button,input,textarea,select{font:inherit;color:inherit}button,select{border:1px solid var(--line);background:#202429;min-height:35px;border-radius:3px;padding:7px 12px}button{cursor:pointer;white-space:nowrap}button:hover{background:#2c3138}button.accent{background:var(--accent);border-color:var(--accent);color:#172011;font-weight:600}button.accent:hover{background:#d9e8b1}button:disabled{opacity:.4;cursor:not-allowed}input,textarea{width:100%;background:#15181b;border:1px solid var(--line);border-radius:3px;padding:10px 11px;outline:none}textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.6}input:focus,textarea:focus,select:focus,button:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}header{height:58px;min-height:58px;border-bottom:1px solid var(--line);padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.identity,.project-actions{display:flex;align-items:center;gap:14px}.identity strong{font-size:17px;letter-spacing:.06em;white-space:nowrap}.identity span{color:#6d747c}.identity h1{font-size:16px;font-weight:400;color:#b4bbc4;margin:0}.project-actions select{width:215px}.workflow{display:flex;justify-content:center;align-items:center;gap:22px;min-height:56px;border-bottom:1px solid var(--line);color:#b2bac3;font-size:11px;letter-spacing:.025em}.workflow span{display:flex;align-items:center;gap:9px}.workflow b{width:25px;height:25px;display:grid;place-items:center;border:1px solid #606973;border-radius:50%;font-size:12px;font-weight:500}.workflow i{height:1px;width:45px;background:#56606a}main{display:grid;grid-template-columns:30% 33% 37%;flex:1;min-height:0}main>section{padding:20px;min-width:0;overflow:auto;border-right:1px solid var(--line)}main>section:last-child{border:0}h2{font-size:16px;font-weight:600;margin:0 0 20px}h3{font-size:14px;font-weight:600;margin:0 0 14px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.section-heading>span{color:var(--muted);font-size:11px}.section-heading h2{margin-bottom:18px}#drop{border:1px dashed #57616c;border-radius:3px;padding:22px 10px;text-align:center;cursor:pointer;min-height:150px;display:flex;flex-direction:column;justify-content:center}#drop.dragging{background:#263026;border-color:var(--accent)}.drop-icon{font-size:30px;color:var(--muted);margin-bottom:6px}#drop strong{font-size:14px}#drop p{line-height:1.5;color:#b1b8c1;margin:7px 0 0}.import-actions{display:flex;gap:10px;margin:14px 0 20px}.import-actions button{flex:1}.list-head{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding:0 0 10px;border-bottom:1px solid var(--line)}.resource{display:flex;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;gap:12px;padding:13px 4px;align-items:center}.resource.selected{background:#282d33}.resource .file-symbol{font-family:monospace;color:#bfc6ce;width:20px;flex-shrink:0}.resource .file-name{min-width:0;flex:1;overflow-wrap:anywhere}.resource .file-name small{display:block;margin-top:4px;color:var(--muted);font-size:10px}.resource .file-meta{font-size:10px;color:var(--muted);text-align:right;white-space:nowrap}.resource.ignored{opacity:.5}.hint{font-size:12px;line-height:1.65;color:var(--muted)}.inbox>.hint{margin-top:22px}label{display:block;margin:0 0 16px;color:#bac1c9;font-size:12px}label input,label textarea,label select{margin-top:7px}label select{width:100%}.muted{color:var(--muted);font-size:11px;font-weight:400}.inspector{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.inspector label{margin-bottom:12px}.inspector .pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-label{display:flex;align-items:center;gap:8px}.check-label input{width:auto;margin:0;accent-color:var(--accent)}.original-link{font-size:12px;color:var(--accent);text-decoration:none}.thumbnail{max-height:120px;max-width:100%;object-fit:contain;margin-bottom:10px;background:#22272b}.tree{border:1px solid var(--line);border-radius:3px;min-height:160px;max-height:280px;overflow:auto;padding:5px;background:#171a1d}.tree button{display:flex;align-items:center;gap:9px;min-height:27px;font-size:12px;width:100%;text-align:left;padding:5px 10px;border:0;background:none;border-radius:2px;overflow-wrap:anywhere;white-space:normal}.tree button.selected{background:#30353c}.tree button:hover{background:#252b32}.tree button.original{padding-left:29px;color:#b4bdc7}.tree .folder{color:#abc4d0;padding:6px 10px;font-size:12px}.tree .glyph{color:#afb8c2;font-family:monospace}.preview-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0 8px;gap:8px}.preview-heading strong{font-size:12px;overflow-wrap:anywhere}.preview-heading select{font-size:10px;min-height:27px;padding:4px;background:none;border:0}.rename-row{display:flex;align-items:center;gap:7px;font-size:10px;margin:8px 0;color:var(--muted)}.rename-row input{flex:1;margin:0;font-size:11px;min-width:0;padding:6px}.rename-row button{font-size:10px;min-height:27px;padding:4px 7px}.preview{min-height:210px;height:300px;overflow:auto;border:1px solid var(--line);background:#15181b;padding:15px 12px}.preview pre{margin:0;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#c9d0d7}.preview.rendered{font-size:12px;line-height:1.65}.preview.rendered h1{font-size:18px;margin:0 0 15px}.preview.rendered h2{font-size:15px;margin:18px 0 10px}.preview.rendered h3{font-size:13px;margin:14px 0}.preview.rendered p{white-space:pre-wrap;overflow-wrap:anywhere}.warnings{margin-top:12px;border-top:1px solid var(--line);padding-top:12px;color:var(--warning);font-size:11px;line-height:1.6}.warnings summary{cursor:pointer}.warnings ul{padding-left:16px;margin-bottom:0}footer{min-height:65px;border-top:1px solid var(--line);padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#191c20}.save-state{display:flex;gap:14px;align-items:center;min-width:0}#status{font-size:12px;color:var(--accent);white-space:nowrap}#message{overflow-wrap:anywhere}#message.error{color:#eab397}.build-actions{display:flex;align-items:center;gap:12px}.build-actions>.muted{margin-right:8px}dialog{width:400px;background:var(--surface);border:1px solid #525b65;border-radius:4px;color:var(--text);padding:25px}dialog::backdrop{background:#0009}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.empty{padding:20px 4px;line-height:1.7;color:var(--muted)}@media(min-width:1600px){main{grid-template-columns:29% 32% 39%}.preview{height:360px}}@media(max-width:1100px){header{height:auto;min-height:68px;flex-wrap:wrap}.identity h1{font-size:14px}main>section{padding:14px}.workflow{gap:14px}.workflow i{width:28px}.build-actions>.muted{display:none}.project-actions{gap:8px}.project-actions select{width:180px}.preview-heading select{max-width:120px}}@media(max-width:800px){body{height:auto;min-height:100vh}header{align-items:flex-start;padding:14px}.identity{gap:8px;flex-wrap:wrap}.identity strong{font-size:14px}.identity h1{font-size:13px}.project-actions{flex-wrap:wrap;width:100%}.project-actions select{flex:1;min-width:130px}.workflow{padding:12px 10px;gap:7px;min-height:50px;font-size:8px}.workflow b{width:20px;height:20px;font-size:10px}.workflow span{gap:4px}.workflow i{width:8px}main{display:block}main>section{border:0;border-bottom:1px solid var(--line);overflow:visible;padding:20px}.preview{height:350px}footer{position:sticky;bottom:0;flex-wrap:wrap;padding:10px 14px}.save-state{width:100%;font-size:11px}.build-actions{width:100%;justify-content:flex-end}.tree{max-height:320px}}
/* Sprint 02: native extensions to the existing workbench. */
.import-actions{gap:6px}.import-actions button{font-size:11px;padding:7px 8px}.source-list{border-bottom:1px solid var(--line);margin-bottom:15px}.source-row{display:flex;width:100%;text-align:left;justify-content:space-between;align-items:center;border:0;border-bottom:1px solid var(--line);background:none;padding:10px 4px;border-radius:0;gap:8px}.source-row strong{font-size:12px;color:var(--accent)}.source-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.source-status{font-size:10px;color:var(--muted)}.source-status.error,.dialog-error{color:#eab397}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.intent-field{position:relative}.mention-hint{font-size:10px;margin:-7px 0 17px}.mention-menu{position:absolute;left:0;right:0;top:100%;z-index:5;border:1px solid #525b65;background:var(--surface);max-height:170px;overflow:auto;box-shadow:0 7px 22px #0008}.mention-menu button{display:block;width:100%;text-align:left;border:0;border-radius:0;background:none;min-height:30px;font-size:12px}.mention-menu button.active{background:#30353c;color:var(--accent)}.resolution-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.resolution-heading h3{margin:0;font-size:12px;color:var(--muted)}.resolution-heading button{font-size:10px;min-height:25px;padding:4px 7px}.resolution{margin-bottom:12px;max-height:175px;overflow:auto;font-size:11px;line-height:1.6;border-bottom:1px solid var(--line)}.resolution details{border-top:1px solid var(--line);padding:7px 0}.resolution summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px}.resolution summary span{color:var(--muted)}.resolution ul{padding-left:16px;margin:8px 0}.resolution li{overflow-wrap:anywhere;margin:3px 0}.resolution li.excluded{color:var(--warning)}.resolution li.error{color:#eab397}.package .preview{height:260px}#source-dialog{width:570px;max-width:calc(100vw - 25px);max-height:90vh;overflow:auto}#source-dialog label{margin-bottom:12px}#source-dialog h2{margin-bottom:16px}#source-dialog .hint{font-size:10px}#source-dialog textarea{font-size:11px}#source-dialog select{width:100%}.dialog-error{font-size:11px;line-height:1.5}.error-list{color:#eab397}#rename-row[hidden],.mention-menu[hidden]{display:none}@media(max-width:800px){.package .preview{height:350px}.resolution{max-height:220px}}@media(min-width:1600px){.package .preview{height:310px}}
.notes-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.notes-heading h3{margin:0}.notes-heading button{min-height:28px;padding:4px 9px;font-size:11px}.notes-table-wrap{overflow-x:auto;border:1px solid var(--line)}.notes-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:380px;font-size:10px}.notes-table th{font-weight:500;color:var(--muted);text-align:left;padding:9px 6px;border-bottom:1px solid var(--line)}.notes-table td{padding:8px 6px;border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notes-table tr:last-child td{border-bottom:0}.notes-table th:first-child{width:23%}.notes-table th:nth-child(2){width:25%}.notes-table th:nth-child(3){width:17%}.notes-table th:nth-child(4){width:13%}.notes-table th:nth-child(5){width:17%}.notes-table th:last-child{width:30px}.notes-table td button{border:0;background:none;min-height:25px;padding:2px 3px;line-height:1;font-size:18px}.excluded-note{opacity:.45}.notes-hint{font-size:10px;margin-bottom:0}#note-dialog{width:540px;max-width:calc(100vw - 25px);max-height:90vh;overflow:auto}

ui-text{display:contents}.project-actions #language{width:65px;min-width:65px;flex:0 0 65px}html[lang="ru"] .workflow{letter-spacing:0}@media(max-width:800px){.workflow{justify-content:flex-start;overflow-x:auto;max-width:100vw}.workflow>span{flex-shrink:0}.workflow i{flex-shrink:0}}
