:root{--bg:#f6f7f9;--surface:#fff;--border:#dfe3e8;--text:#1a2233;--muted:#667085;--accent:#1f5eff;--accent-hover:#1848c4;--danger:#d92d20;--success:#067647;font-family:Inter,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}.container{max-width:1100px;margin:0 auto;padding:2.5rem 1.25rem 4rem}.workspace{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:1.5rem;display:grid}.workspace-main{min-width:0}.history-panel.card{max-height:calc(100vh - 2.5rem);margin-bottom:0;position:sticky;top:1.25rem;overflow:auto}.history-list{flex-direction:column;gap:.75rem;display:flex}.job-card{border:1px solid var(--border);background:#fafbfc;border-radius:10px;padding:.85rem 1rem}.job-card-header{flex-direction:column;gap:.5rem;margin-bottom:.5rem;display:flex}.job-card-title{margin:0;font-size:.95rem;font-weight:600;line-height:1.3}.history-load-more{margin-top:.75rem;padding-left:0}@media (width<=860px){.workspace{grid-template-columns:1fr}.history-panel.card{max-height:none;position:static}}.header h1{margin:0 0 .25rem;font-size:1.6rem}.header p{color:var(--muted);margin:0 0 2rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.card h2{margin:0 0 1rem;font-size:1.05rem}.user-banner{justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.user-banner p{margin:.15rem 0 0}.field{flex-direction:column;gap:.3rem;margin-bottom:1rem;display:flex}.field label{font-size:.85rem;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--border);font:inherit;background:var(--surface);color:var(--text);border-radius:8px;padding:.55rem .7rem;font-size:.95rem}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.field textarea{resize:vertical;min-height:5.5rem;line-height:1.45}.summary-field,.agenda-item-list{border:1px solid var(--border);background:#fafbfc;border-radius:10px;padding:.9rem 1rem}.summary-field .hint,.agenda-item-list .hint{margin:0 0 .55rem}.summary-field textarea,.agenda-item-list input{background:var(--surface)}.agenda-items{flex-direction:column;gap:.45rem;margin-bottom:.55rem;display:flex}.agenda-item-row{align-items:center;gap:.35rem;display:flex}.agenda-item-row input{flex:1;min-width:0}.icon-button{width:2.1rem;height:2.1rem;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover{color:var(--danger);background:#fdecea}.row{align-items:flex-end;gap:.75rem;display:flex}.row .field{flex:1}.section-item{border:1px solid var(--border);border-radius:10px;margin-bottom:.75rem;padding:.85rem 1rem}.section-item-excluded{opacity:.65}.section-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.section-include{cursor:pointer;align-items:center;gap:.6rem;min-width:0;margin:0;font-weight:600;display:flex}.section-include input{flex-shrink:0;width:1rem;height:1rem}.section-title{font-size:.95rem}.section-twirl{color:var(--muted);background:0 0;flex-shrink:0;align-items:center;gap:.35rem;padding:.25rem .4rem;font-size:.82rem;font-weight:600;display:inline-flex}.section-twirl:hover:not(:disabled){color:var(--accent);text-decoration:none}.section-twirl:disabled{opacity:.7;cursor:not-allowed;color:var(--muted)}.section-twirl-icon{align-items:center;line-height:1;transition:transform .15s;display:inline-flex}.section-twirl-icon.open{transform:rotate(90deg)}.section-body{border-top:1px solid var(--border);margin-top:.85rem;padding-top:.85rem}.source-choice{flex-direction:column;gap:.85rem;display:flex}.source-choice-switch{border:1px solid var(--border);background:#eef0f3;border-radius:12px;grid-template-columns:1fr 1fr;gap:.2rem;width:100%;padding:.25rem;display:grid}.source-choice-option{width:100%;color:var(--muted);text-align:center;background:0 0;border:none;border-radius:9px;margin:0;padding:.75rem .6rem;font-size:.9rem;font-weight:600;transition:background .15s,color .15s,box-shadow .15s}.source-choice-option:hover:not(.selected){color:var(--text)}.source-choice-option.selected{background:var(--surface);color:var(--accent);box-shadow:0 1px 2px #10182814}.source-choice-note{color:var(--muted);text-align:center;margin:0;padding:1rem 1.25rem;font-size:.85rem;line-height:1.4}.file-drop{border:2px dashed var(--border);cursor:pointer;background:#fafbfc;border-radius:10px;justify-content:center;align-items:center;min-height:7rem;padding:1.25rem 1rem;transition:border-color .15s,background .15s;display:flex;position:relative}.file-drop:hover,.file-drop:focus-visible{border-color:var(--accent);outline:none}.file-drop-active{border-color:var(--accent);background:#eef2ff}.file-drop-filled{background:var(--surface);border-style:solid;justify-content:space-between;min-height:auto;padding:.9rem 1rem}.file-drop-input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.file-drop-prompt{text-align:center;pointer-events:none;flex-direction:column;align-items:center;gap:.25rem;display:flex}.file-drop-title{color:var(--text);font-size:.95rem;font-weight:600}.file-drop-subtitle{color:var(--muted);font-size:.85rem}.file-drop-selected{justify-content:space-between;align-items:center;gap:.75rem;width:100%;display:flex}.file-drop-name{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.file-drop-clear{flex-shrink:0;padding:.25rem .4rem}button{cursor:pointer;border:none;border-radius:8px;padding:.55rem 1rem;font-size:.92rem;font-weight:600}button.primary{background:var(--accent);color:#fff}button.primary:hover{background:var(--accent-hover)}button.primary:disabled{opacity:.5;cursor:not-allowed}button.ghost{color:var(--accent);background:0 0}button.ghost:hover{text-decoration:underline}.status-badge{color:var(--accent);text-transform:none;background:#eef2ff;border-radius:999px;padding:.2rem .75rem;font-size:.8rem;font-weight:600;display:inline-block}.status-badge.completed{color:var(--success);background:#e6f4ee}.status-badge.failed,.status-badge.cancelled{color:var(--danger);background:#fdecea}.job-status-header{align-items:center;gap:.65rem;margin-bottom:.65rem;display:flex}.job-status-waiting{margin:0}.job-status-detail{margin:0 0 .35rem;font-size:.95rem}.spinner{color:var(--accent);flex-shrink:0;animation:.7s linear infinite spinner-rotate}@keyframes spinner-rotate{to{transform:rotate(360deg)}}.job-progress{background:var(--border);border-radius:999px;height:.55rem;margin:.85rem 0 .5rem;overflow:hidden}.job-progress-fill{border-radius:999px;width:0;height:100%;transition:width .35s}.job-progress-fill.active{background-color:var(--accent);background-image:repeating-linear-gradient(-45deg, var(--accent), var(--accent) 8px, #4a7aff 8px, #4a7aff 16px);background-size:22px 22px;animation:.6s linear infinite job-progress-stripes}.job-progress-fill.completed{background:var(--success)}.job-progress-fill.failed{background:var(--danger)}@keyframes job-progress-stripes{0%{background-position:0 0}to{background-position:22px 0}}.error-text{color:var(--danger);font-size:.9rem}.muted{color:var(--muted);font-size:.88rem}.hint{color:var(--muted);margin:.35rem 0 0;font-size:.85rem}.checkbox-label{cursor:pointer;align-items:center;gap:.5rem;font-size:.9rem;font-weight:600;display:flex}.checkbox-label input{width:1rem;height:1rem;accent-color:var(--accent)}ul.documents{margin:.35rem 0 0;padding:0;list-style:none}ul.documents li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem 0;font-size:.9rem;display:flex}ul.documents li:last-child{border-bottom:none}.document-format-pill{color:var(--muted);background:#eef1f6;border-radius:999px;padding:.15rem .55rem;font-size:.72rem;font-weight:600;line-height:1.3;display:inline-block}a.download-button{color:var(--accent);cursor:pointer;background:0 0;border-radius:8px;flex-shrink:0;padding:.35rem .5rem;font-size:.82rem;font-weight:600;line-height:1.2;text-decoration:none}a.download-button:hover{text-decoration:underline}
