@charset "UTF-8";:root{--font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--bg: #f5f7fc;--bg-gradient: radial-gradient( 1200px 800px at 80% -200px, rgba(151, 178, 255, .35), rgba(151, 178, 255, 0) ), radial-gradient( 900px 900px at -200px 1400px, rgba(255, 200, 220, .22), rgba(255, 200, 220, 0) ), #f5f7fc;--surface: #ffffff;--surface-weak: #f9fbff;--surface-border: #dfe5f2;--surface-ink: #1f2433;--surface-muted: #5f6373;--card: #ffffff;--card-elevated: #fffefc;--border: #d7dff0;--ring: rgba(125, 152, 235, .45);--radius: 14px;--radius-lg: 18px;--radius-xl: 22px;--shadow: 0 25px 80px rgba(115, 134, 181, .22);--text: #1f2433;--muted: #5f6373;--accent: #94a8ff;--accent-soft: rgba(148, 168, 255, .22);--accent-ink: #1f2433;--assistant-bg: #eef2ff;--assistant-border: #cfd8ff;--assistant-text: #1b2250;--user-bg: #ffeef4;--user-border: #ffcddf;--user-text: #4f2135;--ok: #39b5b3;--good: #75c287;--warn: #f4a259;--danger: #e85d75;--topbar-h: 64px;--sidebar-w: 288px;--content-max: 1280px;--transition: .16s ease}*,*:before,*:after{box-sizing:border-box}html,body{min-height:100%}body{margin:0;font-family:var(--font-sans);font-size:16px;line-height:1.55;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img,svg,video,canvas{display:block;max-width:100%}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--ring);outline-offset:2px}::selection{background:#5b8dff59;color:var(--text)}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:#6684c46b;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:#6684c49e}*::-webkit-scrollbar-track{background:transparent}h1,h2,h3,h4,h5,h6{margin:0 0 .75rem;font-weight:700;letter-spacing:-.01em}h1{font-size:clamp(1.75rem,1.5rem + 1vw,2.4rem)}h2{font-size:clamp(1.35rem,1.15rem + .6vw,1.8rem)}h3{font-size:clamp(1.1rem,1rem + .4vw,1.35rem)}p{margin:0 0 1rem}small{font-size:.85rem}a{color:#4f63c6;text-decoration:none;transition:color var(--transition)}a:hover{color:#2f3f92}.muted{color:var(--muted)}.text-danger{color:var(--danger)}.text-warn{color:var(--warn)}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.card{background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}.surface{background:var(--surface);border-radius:var(--radius)}.btn{--btn-bg: #eef2fb;--btn-border: #d5ddf1;--btn-ink: var(--text);display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:12px;border:1px solid var(--btn-border);background:var(--btn-bg);color:var(--btn-ink);padding:.625rem 1rem;cursor:pointer;transition:transform 80ms ease,box-shadow var(--transition),background var(--transition),border-color var(--transition)}.btn:hover{background:#e1e8fb;border-color:#c4d0f1}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn--sm{padding:.45rem .75rem;font-size:.9rem}.btn--lg{padding:.75rem 1.25rem;font-size:1.05rem}.btn--primary{--btn-bg: linear-gradient(135deg, #a9bbff, #fbc8e8);--btn-border: rgba(169, 187, 255, .6);--btn-ink: var(--accent-ink);box-shadow:0 12px 30px #b9aeff59}.btn--primary:hover{box-shadow:0 16px 36px #b9aeff73}.btn--secondary{--btn-bg: #f7f4ff;--btn-border: #d8ccf1;--btn-ink: #51436d}.btn--danger{--btn-bg: #ffe7ed;--btn-border: #f6bfcf;--btn-ink: #a61f3a}.btn--ghost{--btn-bg: transparent;--btn-border: transparent}.btn--ghost:hover{background:#586eac1a}.btn--link{--btn-bg: transparent;--btn-border: transparent;--btn-ink: #6c74c6;padding:0}.btn--quiet{--btn-bg: transparent;--btn-border: transparent;--btn-ink: var(--muted);padding:.35rem .45rem;border-radius:10px}.btn--icon{width:34px;height:34px;padding:0;border-radius:10px}.btn.is-busy{filter:brightness(.9);cursor:wait}.btn__spinner,.spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(108,124,170,.18);border-top-color:var(--accent);animation:spin .7s linear infinite}.spinner--sm{width:14px;height:14px}.spinner--md{width:24px;height:24px;border-width:3px}.spinner--lg{width:34px;height:34px;border-width:3px}.spinner--light{border-color:#6c7caa47;border-top-color:var(--accent-ink)}@keyframes spin{to{transform:rotate(360deg)}}.input,.select,.textarea{width:100%;padding:.65rem .85rem;border-radius:12px;border:1px solid #dbe3f5;background:#f9fbff;color:var(--surface-ink);transition:border-color var(--transition),box-shadow var(--transition),background var(--transition)}.input::placeholder,.textarea::placeholder{color:#2d324c73}.input:focus,.select:focus,.textarea:focus{border-color:#7d98ebe6;background:#fff;box-shadow:0 0 0 3px #94a8ff52;outline:none}.textarea{resize:vertical}.pill{display:inline-flex;gap:.4rem;align-items:center;padding:.35rem .65rem;border-radius:999px;border:1px solid rgba(154,171,217,.4);background:#9aabd926;font-size:.75rem;letter-spacing:.01em}.pill--soft{border-color:#94a8ff59;background:#94a8ff2e}.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .55rem;border-radius:999px;background:#96aad726;border:1px solid rgba(150,170,215,.35);font-size:.7rem;font-weight:600;letter-spacing:.02em}.badge--ok{color:var(--ok);border-color:#39b5b359}.badge--info{color:#5b6fcf;border-color:#5b6fcf59}.badge--warn{color:#f4a259;border-color:#f4a25959}.badge--danger{color:var(--danger);border-color:#e85d7559}.ai-doc{line-height:1.62;font-size:.98rem}.ai-doc p{margin:0 0 .75rem}.msg.msg--user .ai-doc p{margin:0 0 .35rem}.msg.msg--user .ai-doc p:last-child{margin-bottom:0}.ai-doc ul,.ai-doc ol{margin:.5rem 0 .85rem 1.4rem;padding:0}.ai-doc li+li{margin-top:.25rem}.ai-doc pre{margin:.75rem 0;padding:.85rem;border-radius:14px;background:#f4f6ff;border:1px solid rgba(148,168,255,.3);box-shadow:inset 0 0 0 1px #94a8ff14;overflow:auto}.ai-doc code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:.88rem;background:#edf1fb;color:#1f2433;padding:.15rem .45rem;border-radius:8px;border:1px solid rgba(148,168,255,.35)}.ai-doc pre code{display:block;padding:0;border:0;background:transparent}.ai-doc blockquote{margin:.75rem 0;padding:.6rem 1rem;border-left:3px solid rgba(148,168,255,.6);background:#94a8ff1f;border-radius:0 var(--radius-lg) var(--radius-lg) 0}.ai-doc a{color:#6a7fd1}.ai-doc a:hover{color:#4c5db4}.typing{display:inline-flex;align-items:center;gap:.35rem}.typing .dot{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.35;animation:pulse 1.3s ease-in-out infinite}.typing .dot:nth-child(2){animation-delay:.15s}.typing .dot:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:.9;transform:translateY(-3px)}}.material-symbols-outlined{font-variation-settings:"FILL" 0,"wght" 450,"GRAD" 0,"OPSZ" 20;font-size:20px;line-height:1;display:inline-block;vertical-align:middle;color:inherit}.user-manage{gap:24px}.user-manage__layout{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(18px,3vw,32px)}.user-manage__sidebar{display:grid;gap:14px}.user-manage__sidebar .search{flex-direction:column;align-items:stretch}.user-manage__sidebar .search input[type=search]{width:100%}.user-manage__list{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-height:420px;overflow:auto}.user-manage__row{width:100%;text-align:left;display:grid;gap:4px;padding:10px 12px;border-radius:12px;border:1px solid rgba(180,196,235,.6);background:#fff;color:var(--text);box-shadow:0 8px 16px #546eae14;cursor:pointer}.user-manage__row.active{border-color:#94a8ff99;background:#f1f4ff;box-shadow:0 12px 24px #546eae26}.user-manage__detail{min-height:320px;display:grid}.user-access-selection{margin-bottom:16px;display:grid;gap:12px}.user-access-selection .search,.user-access-selection .search--stack{display:grid;gap:6px;align-items:stretch}.user-access-selection input[type=search],.user-access-selection select{width:100%;border-radius:14px;border:1px solid rgba(176,192,232,.8);background:#fff;color:var(--text);padding:12px 14px;transition:border-color .2s ease,box-shadow .2s ease}.user-access-selection input[type=search]:focus,.user-access-selection select:focus{border-color:#94a8ffd9;box-shadow:0 0 0 3px #94a8ff40}.editor__actions{align-items:center;gap:12px;flex-wrap:wrap}.user-manage__form{display:grid;gap:16px}.user-manage__actions{display:flex;gap:12px}.user-manage__checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:.95rem}.user-manage__checkbox input{width:18px;height:18px}.user-manage__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.persona-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.persona-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;border:1px solid rgba(180,196,235,.6);background:#fff;box-shadow:0 6px 18px #5d74b014}.persona-list li.is-default{border-color:#94a8ffa6;box-shadow:0 0 0 1px #94a8ff66}.persona-list .details{display:grid;gap:6px}.persona-list .desc{font-size:.85rem;color:var(--muted)}.persona-list .actions{display:inline-flex;gap:10px;align-items:center}.persona-pill,.persona-pill--assigned{padding:4px 8px;border-radius:999px;background:#94a8ff33;color:#35416d;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}.persona-pill--assigned{background:#3ab5b333;color:#1e504e}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,32px)}.files{list-style:none;margin:0;padding:0;display:grid;gap:12px}.files li{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:12px 14px;border-radius:16px;border:1px solid rgba(186,197,227,.8);background:#fff;box-shadow:0 6px 14px #546eae14}.files .file .name{font-weight:600}.files .file .meta{color:var(--muted);font-size:.85rem}.results{max-height:420px;border-radius:16px;overflow:hidden;border:1px solid rgba(189,200,233,.9);background:#fff;box-shadow:0 18px 44px #6178b22e}.results table{width:100%;border-collapse:collapse}.results thead{background:#eef2ff}.results th,.results td{padding:12px 14px;text-align:left}.results th{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:#4b5270}.results tbody tr:nth-child(2n){background:#f8f9ff}.results tbody tr:nth-child(odd){background:#fff}.results tbody tr:hover{background:#e8efff}.results code,.hint code{padding:3px 6px;border-radius:8px;background:#f3f5ff;border:1px solid rgba(148,168,255,.35);color:#2a3150}.modal-backdrop{position:fixed;inset:0;padding:clamp(16px,4vw,48px);background:#10182c47;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:grid;place-items:center;z-index:40}.modal{width:min(520px,100%);max-height:calc(100vh - 6rem);display:flex}.modal--wide{width:min(720px,100%)}.modal__content{background:var(--card-elevated, var(--card));border:1px solid rgba(171,187,232,.6);border-radius:var(--radius-xl);box-shadow:0 24px 60px #697eb440;display:flex;flex-direction:column;width:100%;max-height:inherit}.modal__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem 1rem}.modal__header h2{margin:0;font-size:1.25rem}.modal__body{padding:0 1.5rem 1.5rem;display:grid;gap:1rem}.modal__body--scroll{max-height:calc(100vh - 13rem);overflow-y:auto;padding-right:1rem}.modal__footer{padding:1rem 1.5rem 1.25rem;display:flex;justify-content:flex-end;gap:.75rem}.modal__search{display:flex;align-items:center;gap:.5rem;border:1px solid rgba(171,187,232,.55);border-radius:var(--radius-lg);padding:.5rem .7rem;background:#f6f8ff}.modal__search input{flex:1;border:none;background:transparent;color:var(--text);font-size:.95rem}.modal__search input:focus{outline:none}.modal__helper{margin:0;font-size:.9rem;color:var(--muted)}.modal__error{margin:0;font-size:.85rem;color:#fca5a5}.modal__selection{border:1px solid rgba(188,198,233,.75);border-radius:var(--radius-lg);background:#f9faff;padding:.75rem .85rem;display:flex;flex-direction:column;gap:.25rem}.modal-directory-list{max-height:260px}.modal-directory-card{cursor:pointer!important;-webkit-user-select:none;user-select:none;transition:border-color var(--transition),background var(--transition)}.modal-directory-card:hover,.modal-directory-card:focus-visible{border-color:#94a8ffb3;background:#fff}.modal-directory-card:active{cursor:pointer!important}.modal-directory-card.is-selected{border-color:#94a8ffd9!important;background:#94a8ff38!important}.modal-directory-card .material-symbols-outlined{color:#6b74c9}@media (max-width: 720px){.user-manage__layout,.user-manage__grid,.grid{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
