/* Existing Native Materials tab; INPUT only. Parent owns themes and OUTPUT. */
.forge-project-inputs { display:grid; gap:12px; min-width:0; max-width:100%; color:var(--workspace-text); font:inherit; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.forge-project-inputs * { box-sizing:border-box; min-width:0; }
.forge-project-inputs h3,.forge-project-inputs h4,.forge-project-inputs p { margin:0; }
.forge-project-inputs__header { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.forge-project-inputs__title { font-size:16px; font-weight:600; }
.forge-project-inputs__badge { color:var(--workspace-blue); border:1px solid var(--workspace-line); background:var(--workspace-raised); padding:3px 8px; border-radius:6px; font-size:11px; }
.forge-project-inputs__scope,.forge-project-inputs__muted,.forge-project-inputs__status { color:var(--workspace-muted); font-size:12px; }
.forge-project-inputs__notice { padding:12px; border:1px solid var(--workspace-line); border-radius:8px; background:var(--workspace-panel); color:var(--workspace-muted); font-size:13px; }
.forge-project-inputs__button { justify-self:start; display:inline-flex; align-items:center; justify-content:center; min-height:36px; max-width:100%; padding:7px 10px; border:1px solid var(--workspace-line-bright); border-radius:8px; background:var(--workspace-panel); color:var(--workspace-blue); font:inherit; font-size:12px; line-height:1.4; white-space:normal; cursor:pointer; }
.forge-project-inputs__button:disabled { opacity:.6; cursor:not-allowed; }
.forge-project-inputs__materials,.forge-project-inputs__answer-list { display:grid; gap:10px; }
.forge-project-inputs__material,.forge-project-inputs__answer { display:grid; gap:8px; padding:12px; border:1px solid var(--workspace-line); border-radius:8px; background:var(--workspace-panel); }
.forge-project-inputs__material h4,.forge-project-inputs__answer h4 { font-size:14px; font-weight:600; line-height:1.45; }
.forge-project-inputs__material-context { font-size:13px; }
.forge-project-inputs__answer-value { white-space:pre-wrap; }
.forge-project-inputs details { min-width:0; }
.forge-project-inputs summary { min-height:36px; padding:8px 0; cursor:pointer; color:var(--workspace-text); font-size:12px; }
.forge-project-inputs__answers > summary { border-bottom:1px solid var(--workspace-line); }
.forge-project-inputs__answer-list { padding-top:10px; }
.forge-project-inputs__provenance,.forge-project-inputs__selection { border-top:1px solid var(--workspace-line); }
.forge-project-inputs__facts { display:grid; gap:8px; padding:4px 0 8px; }
.forge-project-inputs__fact { display:grid; gap:2px; }
.forge-project-inputs__fact > span { font-size:11px; color:var(--workspace-muted); }
.forge-project-inputs__fact > strong { font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.forge-project-inputs__selection-source { display:grid; gap:8px; padding:8px 0; font-size:12px; }
.forge-project-inputs__text-body { max-width:100%; max-height:420px; margin:4px 0 8px; padding:12px; border:1px solid var(--workspace-line-bright); border-radius:6px; color:var(--workspace-text); background:var(--workspace-bg); font:12px/1.6 ui-monospace,Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; overflow:auto; tab-size:2; }
.forge-project-inputs__text-body:empty::before { content:"Файл пустой."; color:var(--workspace-muted); }
.forge-project-inputs button:focus-visible,.forge-project-inputs summary:focus-visible,.forge-project-inputs pre:focus-visible { outline:2px solid var(--workspace-blue); outline-offset:3px; }
.forge-project-inputs__status:empty { display:none; }
@media(max-width:560px),(pointer:coarse) { .forge-project-inputs__button,.forge-project-inputs summary { min-height:44px; } .forge-project-inputs__button { padding:10px 12px; } }
@media(max-width:560px) { .forge-project-inputs__material,.forge-project-inputs__answer { padding:10px; } .forge-project-inputs__text-body { max-height:340px; padding:10px; } }
@media(prefers-reduced-motion:reduce) { .forge-project-inputs,.forge-project-inputs * { scroll-behavior:auto; animation:none; transition:none; } }
@media(forced-colors:active) { .forge-project-inputs__badge { border-color:CanvasText; } .forge-project-inputs__button:disabled { opacity:1; color:GrayText; } }
