.report-page{min-height:var(--application-viewport-height,100dvh);color:#172033;background:#f6f7f9}:root{color:#172033;font-synthesis:none;background:#f6f7f9;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:2px solid #0891b2}.app-shell{--application-viewport-height:100dvh;min-height:100dvh}.report-handoff-page{height:100dvh}.logout-button{color:#526070;cursor:pointer;background:0 0;border:0}.muted{color:#64748b;font-size:13px;line-height:1.6}.loading-page{place-content:center;gap:16px;min-height:60dvh;display:grid}.login-page{background:linear-gradient(135deg,#eaf3f5,#f8fafc);place-items:center;min-height:100dvh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #dce2ea;border-radius:18px;gap:18px;width:min(420px,100%);padding:36px;display:grid;box-shadow:0 24px 64px #1720330c}.login-card h1{margin:0;font-size:28px}.login-card label,.preview-controls label{gap:8px;font-size:13px;font-weight:600;display:grid}.login-card input,.preview-controls input,.preview-controls select{background:#fff;border:1px solid #ccd4dd;border-radius:8px;width:100%;min-height:42px;padding:8px 12px}.preview-page{height:var(--application-viewport-height);grid-template-columns:300px minmax(0,1fr);display:grid}.preview-controls{background:#fff;border-right:1px solid #dce2ea;flex-direction:column;gap:20px;padding:28px 24px;display:flex;overflow:auto}.preview-controls h1{margin:-14px 0 8px;font-size:24px}.preview-controls details{font-size:13px}.preview-controls summary{cursor:pointer;color:#526070}.preview-controls textarea{resize:vertical;border:1px solid #ccd4dd;border-radius:8px;width:100%;min-height:180px;padding:12px;font:12px/1.6 ui-monospace,monospace}.preview-actions{gap:8px;display:flex}.preview-surface{background:#edf1f5;min-width:0;padding:16px}.preview-placeholder{color:#64748b;text-align:center;align-content:center;justify-items:center;height:100%;padding:24px;display:grid}.preview-placeholder span{color:#164e63;background:#fff;border:1px solid #dce2ea;border-radius:8px;place-items:center;width:72px;height:90px;font-size:18px;font-weight:800;display:grid}.preview-placeholder h2{color:#172033;margin:24px 0 8px;font-size:22px}.preview-placeholder p{max-width:380px;font-size:14px;line-height:1.8}@media (width<=800px){.preview-page{grid-template-columns:1fr;height:auto}.preview-surface{height:70dvh}.preview-controls{border-right:0}}.report-page__inner{width:min(1120px,100% - 32px);margin:0 auto;padding:32px 0 56px}.report-page__header{grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:end;gap:24px;margin-bottom:20px;display:grid}.report-page__title-row{align-items:center;gap:10px;display:flex}.report-page__eyebrow{color:#526070;margin:0 0 6px;font-size:13px;font-weight:700}.report-page h1{color:#101827;margin:0;font-size:30px;line-height:1.2}.report-create{justify-content:end}.report-create,.report-search,.report-rename{align-items:center;gap:10px;display:flex}.report-create input,.report-search input,.report-rename input,.report-editor__name-field input{color:#172033;width:100%;min-width:0;min-height:40px;font:inherit;background:#fff;border:1px solid #ccd4dd;border-radius:8px;padding:0 12px}.report-editor__name-field input:disabled{color:#526070;background:#f4f6f8}.report-search{color:#526070;background:#fff;border:1px solid #d6dde5;border-radius:8px;max-width:520px;min-height:44px;margin-bottom:18px;padding:0 12px}.report-search input{border:0;min-height:42px;padding:0}.report-search input:focus{outline:none}.report-template-list{gap:10px;display:grid}.report-template-row{background:#fff;border:1px solid #dce2ea;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:10px 12px;display:flex}.report-template-row__name{color:#172033;align-items:center;gap:10px;min-width:0;font-weight:700;text-decoration:none;display:inline-flex}.report-template-row__name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.report-template-row__actions{flex-shrink:0;gap:8px;display:flex}.report-button,.report-icon-button{color:#172033;cursor:pointer;min-height:40px;font:inherit;background:#fff;border:1px solid #c7d0db;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-weight:700;text-decoration:none;display:inline-flex}.report-button{white-space:nowrap;flex-shrink:0;padding:0 14px}.report-button--primary{color:#fff;background:#164e63;border-color:#164e63}.report-button:disabled{cursor:not-allowed;opacity:.55}.report-icon-button{width:40px;padding:0}.report-icon-button--danger{color:#b42318}.report-rename{width:100%}.report-empty{color:#526070;text-align:center;background:#fff;border:1px dashed #c7d0db;border-radius:8px;padding:24px}.report-editor{height:var(--application-viewport-height,100dvh);color:#172033;background:#edf1f5;flex-direction:column;min-height:0;display:flex;overflow:hidden}.report-editor__toolbar{background:#fff;border-bottom:1px solid #d4dbe4;grid-template-columns:40px minmax(260px,520px) minmax(120px,1fr) auto;align-items:end;gap:12px;padding:12px 16px;display:grid}.report-editor__back{color:#172033;border:1px solid #c7d0db;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.report-editor__name-field{color:#526070;gap:5px;font-size:13px;font-weight:700;display:grid}.report-editor__fields{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.report-editor__fields .report-editor__name-field{flex:140px;min-width:0}.report-editor__name-field select{color:#172033;background:#fff;border:1px solid #c7d0db;border-radius:8px;max-width:100%;min-height:40px;padding:8px 10px}.report-editor__status{color:#526070;align-content:center;min-height:40px;font-size:13px}.report-editor__actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.report-editor__alert{color:#991b1b;background:#fef2f2;border-bottom:1px solid #fecaca;padding:10px 16px}.report-editor__workspace{flex:1;min-height:0;overflow:hidden}.report-editor__surface,.report-editor__surface .mescius-surface{height:100%;min-height:0}.report-editor--missing{place-items:center}.report-editor__missing{background:#fff;border:1px solid #dce2ea;border-radius:8px;justify-items:start;gap:12px;padding:28px;display:grid}.report-editor__missing h1,.report-editor__missing p{margin:0}@media (width<=760px){.report-page__header,.report-editor__toolbar{grid-template-columns:1fr}.report-template-row{flex-direction:column;align-items:stretch}.report-template-row__actions{justify-content:flex-end}}.report-create-panel{background:#fff;border:1px solid #cbdde3;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px;padding:24px;display:grid}.report-create-panel label{gap:8px;font-size:13px;font-weight:600;display:grid}.report-create-panel input{border:1px solid #ccd4dd;border-radius:7px;width:100%;min-height:42px;padding:8px 12px}.report-create-panel>p{grid-column:1/-1;margin:0}.report-create-panel>.report-editor__actions{grid-column:1/-1}.report-state{white-space:nowrap;color:#475569;background:#f1f5f9;border-radius:5px;padding:5px 10px;font-size:12px}.report-editor__notice{color:#16634d;background:#edf8f5;border-bottom:1px solid #cee5dc;padding:10px 20px;font-size:13px}.draft-fields-panel{background:#fff;height:100%;padding:24px 32px 40px;overflow:auto}.draft-fields-panel h2{margin:0 0 12px}.draft-fields-panel fieldset{border:0;min-width:0;margin:0;padding:0}.field-table-scroll{margin:20px 0 14px;overflow:auto}.field-catalog{border-collapse:collapse;width:100%;min-width:880px;font-size:13px}.field-catalog th,.field-catalog td{text-align:left;border-bottom:1px solid #e2e8ee;padding:8px}.field-catalog th{color:#526070;background:#f4f7f9}.field-catalog input:not([type=checkbox]),.field-catalog select{border:1px solid #cbd5df;border-radius:5px;width:100%;min-height:36px;padding:6px}.sample-label{gap:10px;margin-top:24px;font-size:14px;font-weight:600;display:grid}.sample-label textarea{resize:vertical;border:1px solid #cbd5df;border-radius:8px;width:100%;min-height:230px;padding:14px;font:13px/1.7 ui-monospace,monospace}.editor-preview{grid-template-rows:auto minmax(0,1fr);height:100%;display:grid}.editor-preview__actions{background:#fff;border-bottom:1px solid #dce2ea;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;font-size:13px;display:flex}@media (width<=760px){.report-create-panel{grid-template-columns:1fr}.draft-fields-panel{padding:20px 16px}}.report-filters{gap:12px;display:grid}.report-filter{background:#f8fafc;border:1px solid #dce2ea;border-radius:8px;gap:8px;padding:12px;display:grid}.report-filter select,.report-filter input{width:100%;min-width:0}.report-pagination{border-top:1px solid #e2e8ef;padding-top:10px;font-size:13px}.preview-controls details[open]>label{margin-top:12px}.editor-preview__modes{gap:6px;display:flex}.preview-data-form{gap:14px;display:grid}.preview-data-form p{margin:0}.preview-data-form label{gap:8px;font-size:13px;font-weight:600;display:grid}.preview-data-form select{background:#fff;border:1px solid #ccd4dd;border-radius:6px;width:100%;min-height:36px;padding:6px 10px}.preview-data-form__json{max-height:52vh;font:12px/1.6 ui-monospace,monospace}.preview-data-form__error{color:#b42318}
