:root{color-scheme:light;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#f6f8fb;color:#17324d;--bg: #f6f8fb;--surface: #ffffff;--surface-soft: #f8fbff;--surface-muted: #eef3f8;--text: #17324d;--muted: #61768c;--border: #dbe5ef;--primary: #1f5f95;--primary-strong: #154a75;--success: #2f7d54;--danger: #b54b4b;--danger-bg: #fff1f0;--shadow: 0 18px 45px rgba(23, 50, 77, .08)}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:linear-gradient(180deg,#f8fbfe,#f3f6fa);color:var(--text)}button,input,select,textarea{font:inherit}button{transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}.app-shell{max-width:1180px;margin:0 auto;padding:32px 20px 64px}.hero{padding:8px 0 24px}.hero__badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#eaf2f9;color:var(--primary);font-size:.86rem;font-weight:700}.hero h1{margin:16px 0 0;font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.08;letter-spacing:-.03em}.hero__copy{max-width:760px;margin:14px 0 0;font-size:1.05rem;line-height:1.7;color:var(--muted)}.stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:12px 0 26px}.stepper__item{display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;border:1px solid var(--border);background:#ffffffe0;border-radius:18px;padding:16px;color:var(--text);box-shadow:0 12px 30px #17324d0d}.stepper__item:disabled{cursor:not-allowed;opacity:.7}.stepper__item.is-active{border-color:#1f5f9561;background:#f1f7fd;box-shadow:0 14px 34px #1f5f951f}.stepper__item.is-completed .stepper__number{background:var(--success);color:#fff}.stepper__number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#dde9f4;color:var(--primary);font-weight:800;flex-shrink:0}.stepper__content{display:flex;flex-direction:column;gap:4px}.stepper__content strong{font-size:.98rem}.stepper__content small{color:var(--muted);line-height:1.45}.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.layout__main{display:flex;flex-direction:column;gap:20px}.layout__side{position:sticky;top:20px}.section-card,.summary-card{background:#fffffff2;border:1px solid rgba(23,50,77,.09);border-radius:22px;box-shadow:var(--shadow)}.section-card__header,.summary-card{padding:24px}.section-card__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid rgba(23,50,77,.07)}.section-card__header h2,.summary-card h2{margin:0;font-size:1.35rem}.section-card__header p{margin:8px 0 0;color:var(--muted);line-height:1.6}.section-card__actions{flex-shrink:0}.section-card__body{padding:24px}.summary-card{display:flex;flex-direction:column;gap:18px}.summary-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.summary-list li{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.summary-list span{color:var(--muted)}.summary-list strong{text-align:right;max-width:60%}.summary-list--compact strong{max-width:52%}.status-card{border-radius:18px;background:var(--surface-soft);border:1px solid #d8e7f5;padding:16px}.status-card__label{display:inline-block;margin-bottom:8px;color:var(--primary);font-size:.84rem;font-weight:700}.status-card p{margin:10px 0 0;color:var(--muted);line-height:1.6}.technical-panel{border:1px solid var(--border);border-radius:16px;background:var(--surface-muted);overflow:hidden}.technical-panel summary{cursor:pointer;padding:14px 16px;font-weight:700;list-style:none}.technical-panel summary::-webkit-details-marker{display:none}.technical-panel[open] summary{border-bottom:1px solid var(--border)}.grid{display:grid;gap:18px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:8px}.field--full{grid-column:1 / -1}.field span{font-weight:700}.field input,.field select,.field textarea{width:100%;padding:13px 15px;border-radius:14px;border:1px solid var(--border);background:#fff;color:var(--text);outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#1f5f9580;box-shadow:0 0 0 4px #1f5f951f}.field__hint{color:var(--muted);line-height:1.5}.field__error{color:var(--danger);font-weight:600}.question-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:12px}.question-card{border:1px solid rgba(23,50,77,.1);border-radius:16px;padding:14px;background:#f8fbff;display:flex;flex-direction:column;gap:10px}.question-card__title{font-weight:800;color:var(--primary);font-size:.95rem}.button-group{display:flex;gap:12px;flex-wrap:wrap}.button{border:1px solid transparent;border-radius:999px;background:var(--surface-muted);color:var(--text);padding:12px 18px;font-weight:700;cursor:pointer}.button:hover:not(:disabled){transform:translateY(-1px)}.button:focus-visible{outline:0;box-shadow:0 0 0 4px #1f5f9526}.button:disabled{opacity:.6;cursor:not-allowed;transform:none}.button--primary{background:var(--primary);color:#fff;box-shadow:0 12px 28px #1f5f9538}.button--primary:hover:not(:disabled){background:var(--primary-strong)}.button--secondary{background:#eaf2f9;color:var(--primary);border-color:#d4e3f0}.button--ghost{background:transparent;color:var(--primary);border-color:#1f5f9533}.button--large{padding:14px 22px}.upload-panel{margin-bottom:18px}.upload-panel--compact{margin-bottom:20px}.upload-dropzone{position:relative;display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-height:150px;padding:24px;text-align:center;border:1.5px dashed #b9cfe1;border-radius:18px;background:#fbfdff;color:var(--muted)}.upload-dropzone strong{color:var(--text)}.upload-dropzone input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.stack,.content-stack{display:flex;flex-direction:column;gap:16px}.file-card,.panel,.variant-card{border-radius:18px;border:1px solid rgba(23,50,77,.08);background:#fff}.file-card,.panel{padding:18px}.file-card__header,.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.file-card__header p,.panel-heading p{margin:6px 0 0;color:var(--muted)}.preview{margin:0;padding:14px;background:#f5f8fb;border-radius:12px;overflow:auto;white-space:pre-wrap;word-break:break-word;max-height:360px;font-size:.93rem;line-height:1.6}.preview--compact{max-height:220px}.hint,.empty-state{color:var(--muted);line-height:1.7}.alert{padding:14px 16px;border-radius:14px;margin-top:16px}.alert--error{background:var(--danger-bg);color:var(--danger);border:1px solid #f3c8c8}.summary-banner{display:flex;justify-content:space-between;gap:16px;padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #d9e7f3}.summary-banner p{margin:8px 0 0;color:var(--muted)}.summary-banner__stats{display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start;justify-content:flex-end}.summary-banner__stats span,.chip{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eaf2f9;color:var(--primary);font-size:.88rem;font-weight:700}.loading-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #dbe7f2}.loading-card p{margin:6px 0 0;color:var(--muted)}.spinner{width:24px;height:24px;border-radius:50%;border:3px solid rgba(31,95,149,.18);border-top-color:var(--primary);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.tabs__item{border:1px solid var(--border);border-radius:999px;background:#f4f7fa;color:var(--muted);padding:10px 14px;font-weight:700;cursor:pointer}.tabs__item.is-active{background:#eaf2f9;color:var(--primary);border-color:#d2e2ef}.tabs__panel{min-height:240px}.editor-panel{border-color:#1f5f9524;background:linear-gradient(180deg,#fbfdff,#f6faff)}.editor-grid{margin-top:18px}.editor-grid .field textarea{resize:vertical;min-height:120px}.editor-grid .field input[type=number]{max-width:180px}.editor-hint{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#eef5fb;border:1px solid #d8e7f3;color:var(--muted);line-height:1.6}.audit-note{margin-top:0}.list-clean,.list-numbered{margin:0;padding-left:20px;line-height:1.7}.rubric-table-card{overflow:hidden}.rubric-table{display:grid;gap:10px}.rubric-table__row{padding:12px 14px;border-radius:14px;background:#f7fafc;border:1px solid #e3ebf3;line-height:1.6}.rubric-meta{display:block;margin-top:6px;color:var(--muted);font-size:.92rem}.question-selector{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;color:var(--muted);font-weight:600}.question-selector__list{display:flex;gap:8px;flex-wrap:wrap}.question-pill{border:1px solid var(--border);border-radius:999px;padding:8px 14px;background:#fff;color:var(--text);font-weight:700;cursor:pointer}.question-pill.is-active{background:#eaf2f9;color:var(--primary);border-color:#d2e2ef}.chip-stack{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.log-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.log-list li{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:14px;background:#f7fafc;border:1px solid #e3ebf3}.log-list small{color:var(--muted);font-size:.85rem}.variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.variant-card{padding:18px}.wizard-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}@media (max-width: 1080px){.layout{grid-template-columns:1fr}.layout__side{position:static}.stepper{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.app-shell{padding:20px 14px 48px}.two-columns,.variant-grid,.stepper{grid-template-columns:1fr}.field--full{grid-column:auto}.section-card__header,.summary-banner,.wizard-actions,.file-card__header,.panel-heading{flex-direction:column}.button,.button--large{width:100%;justify-content:center}}
