:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--purple:#7033ca;--purple-soft:#f3f0fe;--rose:#e55a7f;--ink:#1b1c1d;--heading:#201840;--muted:#6e6d72;--subtle:#8d9197;--border:#e1e3e8;--surface:#fafafa;--bg:#faf8ff}*{box-sizing:border-box}html,body{width:100%;min-height:100%;color:var(--ink);background:#fff;margin:0;font-family:Work Sans,system-ui,-apple-system,Segoe UI,sans-serif}button,textarea{font:inherit}button{color:inherit}svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.landing{background:#fff;min-height:100vh}.landing-toolbar{justify-content:flex-end;min-height:58px;padding:14px 32px 0;display:flex}.past-reports{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:4px;align-items:center;gap:8px;height:34px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.past-reports span{background:var(--purple-soft);min-width:20px;height:20px;color:var(--purple);border-radius:999px;justify-content:center;align-items:center;padding:0 5px;font-size:12px;display:inline-flex}.drawer-backdrop{z-index:20;background:#1b1c1d52;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{border-left:1px solid var(--border);background:#fff;flex-direction:column;width:min(560px,100%);height:100%;animation:.18s ease-out drawer-slide-in;display:flex;box-shadow:-10px 0 25px -5px #0000001f}@keyframes drawer-slide-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.drawer-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:8px;padding:16px;display:flex}.drawer-header h2{color:var(--heading);margin:0;font-size:16px;font-weight:600}.drawer-header .icon-button{margin-left:auto}.drawer-mark{width:18px;height:18px;color:var(--rose)}.drawer-mark rect{fill:currentColor;stroke:none}.drawer-mark path{fill:none;stroke:currentColor;stroke-width:13px}.drawer-count{background:var(--purple-soft);min-width:20px;height:20px;color:var(--purple);border-radius:999px;justify-content:center;align-items:center;padding:0 6px;font-size:12px;font-weight:600;display:inline-flex}.drawer-body{flex-direction:column;flex:1;gap:8px;min-height:0;padding:16px;display:flex;overflow-y:auto}.drawer-empty{border:1px dashed var(--border);background:var(--surface);color:var(--muted);text-align:center;border-radius:8px;margin:0;padding:24px 16px;font-size:14px}.drawer-row{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:center;gap:8px;min-width:0;padding:8px 12px;display:flex}.drawer-row:hover{background:#f4f4f6}.drawer-row-main{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;gap:2px;min-width:0;padding:4px 0;display:flex}.drawer-row-main:disabled{cursor:default;opacity:.6}.drawer-row-main strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:14px;overflow:hidden}.drawer-row-main span{color:var(--muted);font-size:12px}.drawer-row-actions{flex-shrink:0;gap:4px;display:flex}.drawer-row-actions .icon-button:disabled{color:var(--border);cursor:default}.drawer-row-actions .icon-button:disabled:hover{color:var(--border);background:0 0}.drawer-row-actions svg{width:16px;height:16px}.landing-content{width:min(100% - 48px,960px);margin:36px auto 80px}.landing-content>header{text-align:center;margin-bottom:36px}.landing h1{color:var(--heading);margin:0 0 10px;font-size:24px;line-height:1.25}.landing .lede{color:var(--muted);margin:0;font-size:14px}.composer{border:1px solid var(--border);background:#fff;border-radius:20px;grid-template-rows:1fr auto;grid-template-columns:auto minmax(0,1fr);column-gap:14px;min-height:132px;margin:0 0 46px;padding:18px 20px 12px;display:grid;box-shadow:0 10px 25px -5px #0000000d,0 8px 10px -6px #0000000d}.composer:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px var(--purple-soft)}.assistant-mark{width:24px;height:24px;color:var(--rose);grid-area:1/1;margin-top:3px}.assistant-mark rect{fill:currentColor;stroke:none}.assistant-mark path{fill:none;stroke:currentColor;stroke-width:13px}.composer textarea{resize:none;width:100%;min-height:64px;color:var(--ink);background:0 0;border:0;outline:0;grid-area:1/2;padding:1px 0;font-size:16px;line-height:1.5}.composer textarea::placeholder{color:var(--subtle)}.composer-actions{grid-area:2/2;justify-content:flex-end;gap:4px;display:flex}.quiet-action,.icon-button{width:30px;height:30px;color:var(--subtle);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex}.quiet-action:hover:not(:disabled),.icon-button:hover:not(:disabled){color:var(--purple);background:var(--purple-soft)}.quiet-action:disabled{opacity:.42;cursor:default}.quiet-action svg{width:16px;height:16px}.or{color:var(--muted);letter-spacing:.04em;margin:0 0 14px;font-size:12px;font-weight:700}.presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.preset{text-align:left;border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:10px;min-height:164px;padding:18px;transition:border-color .18s,box-shadow .18s,transform .18s;display:flex}.preset:hover{border-color:var(--purple);transform:translateY(-2px);box-shadow:0 4px 12px #7033ca14}.preset-icon{background:var(--surface);width:32px;height:32px;color:var(--ink);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.preset-icon svg{width:18px;height:18px}.preset strong{min-height:36px;font-size:14px;line-height:1.25;display:block}.preset-copy{color:var(--muted);font-size:12px;line-height:1.42}.prompt-limit{color:var(--muted);text-align:right;margin:-36px 0 24px;font-size:13px}.disclaimer{color:var(--muted);text-align:center;margin-top:24px;font-size:12px}.status{background:var(--purple-soft);color:var(--purple);border-radius:8px;margin:22px 0 0;padding:12px 16px;font-size:13px;font-weight:600}.status--error{color:#b91c1c;background:#fef2f2}@media (max-width:820px){.presets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.landing-toolbar{padding-inline:18px}.landing-content{width:min(100% - 28px,960px);margin-top:24px}.presets{grid-template-columns:1fr}}.report-page{background:#fff;min-height:100vh;padding:0}.report-page--building,.report-page--building .report-shell{background:var(--surface)}.report-toolbar__actions{flex-shrink:0;gap:8px;display:flex}.report-toolbar__action{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.report-toolbar__icon{display:block}.report-toolbar__icon--sm{width:16px;height:16px}.report-toolbar__action:hover:not(:disabled){color:var(--ink);background:#ededf0}.report-toolbar__action:disabled{opacity:.4;cursor:default}.report-toolbar__action:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.download-dialog{width:min(420px,100vw - 32px);color:var(--ink);border:0;border-radius:12px;padding:0;box-shadow:0 18px 48px #0f172a2e}.download-dialog::backdrop{background:#0f172a59}.download-dialog__header{justify-content:space-between;align-items:center;padding:20px 20px 0;display:flex}.download-dialog__header h2{margin:0;font-size:16px}.download-dialog__close{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:20px;line-height:1}.download-dialog__body{align-items:center;gap:16px;padding:24px 20px;display:flex}.download-dialog__body--stacked{flex-direction:column;align-items:stretch;gap:8px}.download-dialog__body label{color:var(--ink);white-space:nowrap;font-size:14px}.download-dialog__body input,.download-dialog__body select{border:1px solid var(--border);width:100%;font:inherit;background:#fff;border-radius:6px;padding:8px 10px;font-size:14px}.download-dialog__error{color:#b91c1c;margin:0 20px 12px;font-size:13px}.download-dialog__actions{justify-content:flex-end;gap:8px;padding:0 20px 20px;display:flex}.button{font:inherit;cursor:pointer;border-radius:6px;padding:8px 16px;font-size:14px}.button:disabled{opacity:.6;cursor:default}.button--ghost{border:1px solid var(--border);color:var(--ink);background:#fff}.button--primary{border:1px solid var(--purple);background:var(--purple);color:#fff}.report-page__content{max-width:none;margin:0}.report-page .report-shell{border:0;border-radius:0;margin-top:0}.report-page .report-preview{margin-top:0}.report-page .report-preview iframe{border:0;border-radius:0;min-height:0}.report-unavailable{text-align:center;color:var(--muted);justify-items:center;gap:16px;padding:48px 24px 64px;display:grid}.report-unavailable p{max-width:28rem;margin:0;font-size:15px;line-height:1.5}.report-unavailable__back{border:1px solid var(--border);color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:10px 18px;font-size:14px}.report-unavailable__back:hover{border-color:var(--purple);color:var(--purple)}.report-shell{border:1px solid var(--border);background:#fff;border-radius:16px;margin-top:24px;overflow:hidden}.report-shell__notice{color:#9a3412;background:#fff7ed;border-radius:8px;margin:0 0 16px;padding:12px 14px;font-size:13px;line-height:1.45}.report-shell__header{justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 28px 0;display:flex}.report-shell__heading{align-items:center;gap:8px;min-width:0;padding-right:16px;display:inline-flex}.report-shell__title{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:24px;font-weight:600;line-height:1.25;overflow:hidden}.report-shell__edit{color:#9ca3af;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.report-shell__edit:hover{color:var(--ink);background:#f3f4f6}.report-shell__edit:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.report-shell__canvas{min-height:520px;padding:24px;position:relative}.report-building{background:var(--surface)}.report-building__skeleton{border:1px solid var(--border);background:#fff;border-radius:12px;flex-direction:column;gap:20px;padding:32px;display:flex}.report-building__line,.report-building__block,.report-building__panel{background:var(--purple-soft);border-radius:6px;animation:1.4s ease-in-out infinite report-building-pulse}.report-building__line{height:12px}.report-building__line--title{width:40%;height:16px}.report-building__line--copy{width:65%}.report-building__line--wide{width:100%}.report-building__line--medium{width:72%}.report-building__metrics,.report-building__panels{gap:16px;display:grid}.report-building__metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.report-building__panels{grid-template-columns:repeat(2,minmax(0,1fr))}.report-building__block{min-height:96px}.report-building__panel{min-height:144px}.report-building__table{flex-direction:column;gap:12px;display:flex}.report-building__status{z-index:1;border:1px solid var(--border);background:#fff;border-radius:12px;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 32px);padding:12px 16px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 32px #0f172a1f,0 2px 8px #0f172a0f}.report-building__spinner{width:20px;height:20px;color:var(--purple);flex-shrink:0;animation:.9s linear infinite report-spin}.report-building__status strong,.report-building__status span{display:block}.report-building__status strong{color:var(--ink);font-size:14px;font-weight:600}.report-building__status span{color:var(--muted);margin-top:2px;font-size:12px;line-height:1.35}@keyframes report-building-pulse{50%{opacity:.45}}@keyframes report-spin{to{transform:rotate(360deg)}}.reports-page-loading{text-align:center;background:radial-gradient(ellipse 60% 45% at 50% 42%, var(--purple-soft) 0%, #fff 70%);flex-direction:column;justify-content:center;align-items:center;gap:20px;width:100%;min-height:100vh;display:flex}.reports-page-loading p{color:var(--ink);letter-spacing:-.105px;margin:0;font-size:14px;font-weight:600}.reports-page-loading__flow{align-items:center;gap:8px;padding:8px 0;display:flex;position:relative}.reports-page-loading__node{border:1px solid var(--border);width:40px;height:40px;color:var(--purple);background:#fff;border-radius:10px;justify-content:center;align-items:center;animation:1.6s ease-in-out infinite reports-page-flow-node;display:flex;box-shadow:0 1px 2px #0000000d}.reports-page-loading__node svg{width:16px;height:16px}.reports-page-loading__node:first-child{animation-delay:0s}.reports-page-loading__node:nth-child(3){animation-delay:.2s}.reports-page-loading__node:nth-child(5){animation-delay:.4s}.reports-page-loading__connector{background:var(--border);border-radius:999px;width:28px;height:2px;position:relative;overflow:hidden}.reports-page-loading__connector:after{content:"";background:var(--purple);animation:1.6s ease-in-out infinite reports-page-flow-connector;position:absolute;inset:0;transform:translate(-100%)}.reports-page-loading__connector:nth-child(2):after{animation-delay:50ms}.reports-page-loading__connector:nth-child(4):after{animation-delay:.25s}.reports-page-loading__pulse{background:var(--purple);opacity:.35;border-radius:50%;width:12px;height:12px;margin-top:-6px;animation:1.6s ease-in-out infinite reports-page-flow-pulse;position:absolute;top:50%;left:12px}@keyframes reports-page-flow-node{0%,to{border-color:var(--border);transform:translateY(0)}40%{border-color:var(--purple);transform:translateY(-3px)}}@keyframes reports-page-flow-connector{0%,15%{transform:translate(-100%)}55%,to{transform:translate(100%)}}@keyframes reports-page-flow-pulse{0%{opacity:0;left:12px}20%{opacity:.4}80%{opacity:.25}to{opacity:0;left:calc(100% - 24px)}}@media (prefers-reduced-motion:reduce){.report-building__spinner,.report-building__line,.report-building__block,.report-building__panel,.reports-page-loading__node,.reports-page-loading__connector:after,.reports-page-loading__pulse{animation:none}.reports-page-loading__pulse{visibility:hidden}}@media (max-width:768px){.report-page{padding:0 16px 24px}.report-building__metrics,.report-building__panels{grid-template-columns:1fr}}.plan-preview{margin-top:16px}.plan-preview pre{background:var(--bg);border-radius:8px;padding:12px;font-size:13px;overflow-x:auto}.execution-results{margin-top:24px}.execution-results h2{margin-bottom:4px;font-size:20px}.execution-results__lede{color:var(--muted);margin-bottom:16px;font-size:14px}.execution-results__card{border:1px solid var(--border);background:#fff;border-radius:12px;margin-bottom:16px;padding:16px}.execution-results__header{align-items:center;gap:12px;margin-bottom:12px;display:flex}.execution-results__header h3{margin:0;font-size:16px}.execution-results__status{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:2px 8px;font-size:12px}.execution-results__status--ok{color:#047857;background:#ecfdf5}.execution-results__status--error{color:#b91c1c;background:#fef2f2}.execution-results__meta{color:var(--muted);margin:0 0 12px;font-size:13px}.execution-results__error{color:#b91c1c;margin:0 0 12px}.execution-results__empty{color:var(--muted);margin:0 0 12px}.execution-results__table-wrap{margin-bottom:12px;overflow-x:auto}.execution-results__table{border-collapse:collapse;width:100%;font-size:14px}.execution-results__table th,.execution-results__table td{border:1px solid var(--border);text-align:left;padding:8px 10px}.execution-results__table th{background:var(--bg)}.execution-results__details{margin-top:8px}.execution-results__details pre{background:var(--bg);border-radius:8px;padding:12px;font-size:12px;overflow-x:auto}.report-preview{margin-top:24px}.report-preview iframe{border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;min-height:640px;display:block}.viewer{padding:16px 24px 32px}.viewer-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.viewer iframe{border:1px solid var(--border);background:#fff;border-radius:12px;width:100%;min-height:720px}a.back{color:var(--purple);text-decoration:none}
