:root{color:#1f2328;--ok:#1a7f37;--error:#cf222e;--muted:#59636e;--border:#d1d9e0;--warning:#9a6700;--warning-bg:#fff8c5;--error-bg:#ffebe9;background:#f6f8fa;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}body{margin:0}.shell{grid-template-columns:14rem 1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;gap:1.5rem;padding:1rem;display:flex}.brand{font-weight:600}.sidenav{gap:.25rem;display:grid}.sidenav a{color:inherit;border-radius:6px;padding:.4rem .6rem;text-decoration:none}.sidenav a:hover{background:#eaeef2}.sidenav a.active{background:#eaeef2;font-weight:600}.sidebar-health{margin-top:auto;font-size:.8125rem}.main{min-width:0;max-width:72rem;padding:1.5rem 2rem}@media (width<=48rem){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border)}.sidebar-health{margin-top:0}.main{padding:1rem}}.status{border:1px solid var(--border);background:#fff;border-left-width:4px;border-radius:6px;padding:.75rem 1rem}.status p{margin:0 0 .5rem}.status-ok{border-left-color:var(--ok)}.status-error{border-left-color:var(--error)}.muted{color:var(--muted);font-size:.875rem}.form fieldset{border:0;gap:1rem;min-width:0;margin:0 0 1.5rem;padding:0;display:grid}.field{flex:1;gap:.25rem;min-width:0;display:grid}.label{font-size:.875rem;font-weight:600}.row{align-items:start;gap:.5rem;display:flex}@media (width<=40rem){.row:has(>.field){flex-direction:column;align-items:stretch}}input,select,textarea{min-width:0;font:inherit;border:1px solid var(--border);background:#fff;border-radius:6px;flex:1;padding:.4rem .6rem}button{font:inherit;border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:6px;padding:.4rem .9rem}button:disabled{cursor:default;opacity:.6}button.primary{color:#fff;background:var(--ok);border-color:var(--ok)}button.add{justify-self:start}.actions{gap:.5rem;display:flex}.field-error{color:var(--error);font-size:.875rem}.collapsible{margin-top:.5rem}.collapsible pre{border:1px solid var(--border);white-space:pre-wrap;word-break:break-word;background:#f6f8fa;border-radius:6px;max-height:30rem;padding:.75rem;font-size:.8125rem;overflow:auto}.spinner{vertical-align:-.1em;border:2px solid var(--border);border-top-color:var(--ok);border-radius:50%;width:.9em;height:.9em;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.user-menu{justify-items:start;gap:.5rem;display:grid}.user-menu a{color:inherit}.login{box-sizing:border-box;place-items:center;min-height:100vh;padding:1rem;display:grid}.card{box-sizing:border-box;border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;min-width:0;max-width:25rem;padding:1.5rem}.card h1{margin-top:0;font-size:1.5rem}.narrow{max-width:24rem}.legal{max-width:42rem;margin:0 auto;padding:1.5rem 1rem 3rem}.legal h1{margin-bottom:.25rem}.legal h2{margin-top:2rem;font-size:1.125rem}.legal li{margin-bottom:.5rem}.legal hr{border:0;border-top:1px solid var(--border);margin:2rem 0 1rem}.beta-note{margin:.5rem 0 0;font-weight:400}.terms-banner{margin-bottom:1.5rem}.checkbox{align-items:flex-start;gap:.5rem;display:flex}.checkbox input{flex:none;width:auto;margin-top:.3rem}.resend{justify-items:start;gap:.5rem;margin:1rem 0;display:grid}.resend .field,.resend .turnstile{width:100%}.turnstile{min-height:65px;margin-bottom:1rem}.page-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}a.button{color:inherit;border:1px solid var(--border);background:#fff;border-radius:6px;padding:.4rem .9rem;text-decoration:none;display:inline-block}a.button.primary{color:#fff;background:var(--ok);border-color:var(--ok)}button.danger{color:#fff;background:var(--error);border-color:var(--error)}.narrow-wide{max-width:36rem}.site-list{gap:.75rem;margin:1rem 0;padding:0;list-style:none;display:grid}.site-row{border:1px solid var(--border);background:#fff;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.site-info{flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;display:flex}.site-row-error{flex-basis:100%;margin:0}.actions{flex-wrap:wrap;align-items:center}.badge{white-space:nowrap;border-radius:999px;padding:.05rem .5rem;font-size:.8125rem;font-weight:600;display:inline-block}.badge-ok{color:#fff;background:var(--ok)}.badge-running{color:#0a3069;background:#ddf4ff}.progress-running{margin-left:.5rem}.article-error,.article-retrying{margin:.25rem 0 0;font-size:.875rem}.article-error{color:var(--error)}.article-retrying{color:var(--muted)}.badge-muted{color:var(--muted);background:#eaeef2}.steps{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.step{gap:.5rem;display:flex}.step-icon{text-align:center;flex:none;width:1.25rem;font-weight:700}.step-ok .step-icon{color:var(--ok)}.step-failed .step-icon{color:var(--error)}.step-skipped{color:var(--muted)}.hint{background:#fff8c5;border-radius:4px;margin-top:.25rem;padding:.25rem .5rem;font-size:.875rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.result{margin-top:1rem}.prompt-group{margin-bottom:1.5rem}.prompt-group h2{font-size:1.125rem}.step-section{margin-bottom:2rem}.step-section h2{font-size:1.125rem}.picked{flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;display:flex}.tabs{border-bottom:1px solid var(--border);gap:.25rem;margin-bottom:1rem;display:flex}.tabs button{background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0}.tabs button[aria-selected=true]{border-bottom-color:var(--ok);font-weight:600}.article-card{border:1px solid var(--border);background:#fff;border-radius:8px;gap:1rem;margin-bottom:1rem;padding:1rem;display:grid}.article-card h3{margin:0;font-size:1rem}.dropzone{text-align:center;border:2px dashed var(--border);background:#fff;border-radius:8px;justify-items:center;gap:.5rem;padding:2rem 1rem;display:grid}.dropzone p{margin:0}.dropzone-active{border-color:var(--ok);background:#dafbe1}.summary{font-size:1.125rem}.text-error{color:var(--error);font-weight:600}.text-warning{color:var(--warning);font-weight:600}.text-ok{color:var(--ok)}.badge-error{color:#fff;background:var(--error)}.badge-warning{color:#3b2300;background:#f4c430}.prompt-line{border:1px solid var(--border);background:#fff;border-radius:6px;flex-wrap:wrap;align-items:baseline;gap:.25rem 1rem;padding:.5rem .75rem;display:flex}.prompt-line .collapsible{margin:0}.prompt-line .collapsible[open]{flex-basis:100%}.explainer{background:#ddf4ff;border-radius:6px;margin:1rem 0;padding:.75rem 1rem}.explainer p{margin:.5rem 0 0}.link-button{color:#0969da;text-align:left;background:0 0;border:0;padding:0;text-decoration:underline}.table-wrap{overflow-x:auto}.preview-table,.excel-rows{border-collapse:collapse;background:#fff;width:100%}.preview-table th,.preview-table td,.excel-rows th,.excel-rows td{text-align:left;vertical-align:top;border-bottom:1px solid var(--border);padding:.5rem .75rem}.preview-row{cursor:pointer}.preview-row:hover,.preview-row-open,.preview-detail>td{background:#f6f8fa}.detail{gap:.75rem;display:grid}.detail p{margin:0}.findings{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.finding{border-left:4px solid;border-radius:4px;gap:.75rem;padding:.5rem .75rem;display:flex}.finding-error{background:var(--error-bg);border-color:var(--error)}.finding-warning{background:var(--warning-bg);border-color:#d4a72c}.finding-label{flex:none;width:6rem;font-weight:600}.fix{font-weight:600}.kota-picker{max-width:28rem}.excel-rows{font-size:.875rem}.excel-rows caption{text-align:left}.cell-error{background:var(--error-bg);outline:2px solid var(--error);outline-offset:-2px}.cell-warning{background:var(--warning-bg);outline-offset:-2px;outline:2px solid #d4a72c}.detail-list{grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0;display:grid}.detail-list dt{font-weight:600}.detail-list dd{margin:0}.process-bar{margin-top:1rem}.status-warning{background:var(--warning-bg);border-color:#d4a72c}.prompt-editor{grid-template-columns:minmax(0,1fr) 18rem;align-items:start;gap:1.5rem;display:grid}@media (width<=900px){.prompt-editor{grid-template-columns:minmax(0,1fr)}}.prompt-main{gap:1rem;min-width:0;display:grid}.prompt-textarea{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.875rem;line-height:1.5}.prompt-side{position:sticky;top:1rem}.checklist h2{margin:0 0 .25rem;font-size:1rem}.checklist ul{gap:.375rem;margin:.5rem 0 0;padding:0;list-style:none;display:grid}.check-item{align-items:baseline;gap:.5rem;font-size:.875rem;display:flex}.check-body{flex:1}.check-icon{text-align:center;width:1rem;font-weight:700}.check-used .check-icon{color:var(--ok)}.check-missing .check-icon,.check-missing .muted{color:var(--error)}.insert-button{padding:0 .375rem;font-size:.75rem}.rendered,.history pre{white-space:pre-wrap;max-height:24rem;overflow:auto}.history{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.history summary .badge{margin-left:.5rem}.archived-prompts{margin-top:1.5rem}.new-prompt{max-width:32rem}.site-prompt{align-items:center;gap:.375rem;font-size:.875rem;display:inline-flex}.password-input{gap:.25rem;min-width:0;display:flex}.password-input button{flex:none;font-size:.875rem}.feedback-dialog{box-sizing:border-box;border:1px solid var(--border);border-radius:8px;width:100%;max-width:32rem;padding:1.25rem}.feedback-dialog::backdrop{background:#1f232873}.feedback-dialog h2{margin-top:0}.feedback-dialog textarea{box-sizing:border-box;width:100%;font:inherit}.help-link{width:1.15rem;height:1.15rem;color:var(--muted);text-align:center;vertical-align:baseline;border:1px solid var(--border);border-radius:50%;font-size:.75rem;font-weight:600;line-height:1.15rem;text-decoration:none;display:inline-block}.help-link:hover,.help-link:focus-visible{color:#fff;background:var(--muted)}.guide-hint{white-space:nowrap;font-weight:600}.empty-state{border:1px dashed var(--border);background:#fff;border-radius:8px;max-width:40rem;padding:1rem}.empty-state p{margin:0}.empty-state p+p{margin-top:.5rem}.onboarding{border:1px solid var(--border);background:#fff;border-radius:8px;max-width:44rem;margin-bottom:1.5rem;padding:.25rem 1rem .75rem}.onboarding h2{font-size:1.1rem}.onboarding-steps{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.onboarding-steps li{flex-wrap:wrap;align-items:baseline;gap:.25rem .6rem;display:flex}.onboarding-mark{width:1.1rem;color:var(--muted);font-weight:700}.onboarding-done .onboarding-mark{color:var(--ok)}.onboarding-done>span:nth-child(2){color:var(--muted);text-decoration:line-through}.onboarding-links{gap:.75rem;margin-left:auto;font-size:.875rem;display:inline-flex}.guide-toc{padding-left:1.25rem}.guide-section{border-top:1px solid var(--border);margin-top:2rem;padding-top:.5rem}.guide-section h3{margin-top:1.5rem}.guide [id]{scroll-margin-top:1rem}.guide pre{border:1px solid var(--border);background:#fff;border-radius:6px;padding:.6rem .75rem;font-size:.8125rem;overflow-x:auto}.guide-table{border-collapse:collapse;max-width:100%;font-size:.9375rem;display:block;overflow-x:auto}.guide-table th,.guide-table td{text-align:left;vertical-align:top;border:1px solid var(--border);padding:.45rem .6rem}.guide-table th{background:#eaeef2}.guide-shot{margin:1rem 0}.guide-shot img{border:1px solid var(--border);border-radius:6px;max-width:100%;height:auto;display:block}.guide-shot figcaption{margin-top:.35rem;font-size:.875rem}.guide-video{aspect-ratio:16/9;margin:1rem 0}.guide-video iframe{border:0;width:100%;height:100%}.form fieldset>ul{margin:0}
