.notification-toast{position:fixed;z-index:1000;bottom:24px;right:24px;width:min(400px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #363640;border-radius:12px;background:#1b1b23;color:#f2f2f5;box-shadow:0 12px 40px #0005;font-family:inherit;animation:toast-enter .18s ease-out}.notification-toast>svg{flex-shrink:0;margin-top:2px;color:#84c5a7}.notification-toast-error>svg{color:#f1a58c}.notification-toast-loading>svg{color:#b6b9ff}.toast-content{flex:1;min-width:0}.toast-content p{margin:0;font-size:14px;line-height:1.5;color:inherit;overflow-wrap:anywhere}.toast-action,.toast-dismiss{font:inherit;cursor:pointer;border:0;background:transparent}.toast-dismiss{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;padding:0;color:#b5b5c1;border-radius:5px}.toast-dismiss:hover{background:#ffffff12;color:#fff}.toast-action{padding:0;margin-top:10px;font-size:13px;color:#bcc2ff;text-decoration:underline;text-underline-offset:3px}.toast-action:focus-visible,.toast-dismiss:focus-visible{outline:2px solid #a5adff;outline-offset:3px}.toast-spinner{animation:toast-spin 1s linear infinite}@keyframes toast-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-spin{to{transform:rotate(1turn)}}@media (max-width:600px){.notification-toast{bottom:16px;right:16px}}@media (prefers-reduced-motion:reduce){.notification-toast,.toast-spinner{animation:none}}.app-shell{font-family:Dashboard Geist,Segoe UI,Arial,sans-serif;font-size:14px;--sidebar-width:272px;--paper:#10101b;--surface:#19191f;--raised:#23232b;--white:#19191f;--line:#303039;--ink:#ededf3;--muted:#aaaab6;--quiet:#91919e;--radius:12px;line-height:1.5}.app-shell h1,.app-shell h2,.app-shell h3,.app-shell h4{font-family:inherit;color:var(--ink);font-weight:500}.app-shell h1{font-size:29px;line-height:1.3;letter-spacing:-.9px}.app-shell h2{font-size:19px;letter-spacing:-.4px;line-height:1.4}.app-shell h3{font-size:15px;line-height:1.5}.app-shell .button{font:500 14px Dashboard Geist,sans-serif;padding:6px 12px;min-height:32px;border-radius:8px}.app-shell .button-primary{background:#4255f5;color:#fff;border-color:#6875ff33}.app-shell .button-primary:hover:not(:disabled){background:#5868fc}.app-shell .button-outline{color:#e0d9eb}.app-shell .button-outline,.app-shell .button-outline:hover:not(:disabled){background:var(--surface);border-color:var(--line)}.app-shell .button-ghost:hover{background:var(--surface)}.app-shell input,.app-shell select,.app-shell textarea{font-family:inherit;font-size:13px;border-color:var(--line);background:var(--surface);border-radius:8px}.app-shell input::placeholder,.app-shell textarea::placeholder{color:#8e859e}.app-shell input:focus,.app-shell select:focus,.app-shell textarea:focus{border-color:var(--line);box-shadow:0 0 0 3px #9b81d614}.app-shell :focus-visible{outline:2px solid #b399e9;outline-offset:4px}.app-shell .sidebar{width:var(--sidebar-width);background:var(--surface);padding:16px 8px 12px;border-color:var(--line);overflow-y:auto;transition:width .2s}.app-shell .brand{margin:0 9px 25px;gap:9px;font-family:inherit;font-size:23px;font-weight:500}.app-shell .brand-symbol{background:transparent;color:#a58bea;width:30px;height:35px;font-size:33px;font-family:Georgia,serif;font-weight:600}.app-shell .brand-symbol span{color:#cc91e4}.app-shell .brand-caption{display:none}.app-shell .nav-create{width:100%;justify-content:flex-start;gap:12px;margin-bottom:22px}.app-shell .workspace-switch{padding:11px 10px;border:0;background:var(--surface);margin-bottom:24px}.app-shell .workspace-switch strong{font-size:12px;font-weight:500}.app-shell .workspace-switch small{font-size:12px;color:var(--muted);margin-top:3px}.app-shell .book-tile{padding:7px;background:var(--surface);color:#c4a8e9}.app-shell .nav-caption{margin:0 12px 10px;font:500 10px Dashboard Geist,sans-serif;color:var(--muted);letter-spacing:.6px}.app-shell .nav-item{position:relative;width:100%;height:36px;padding:0 12px;margin:3px 0;gap:11px;font-size:14px;font-weight:450;border-radius:8px;color:var(--muted)}.app-shell .nav-item svg{flex-shrink:0;stroke-width:1.6}.app-shell .nav-item:hover{background:var(--surface);color:#f0eafa}.app-shell .nav-item.active{background:var(--raised);color:var(--ink)}.app-shell .nav-item.active:before{display:none}.app-shell .nav-count{margin-left:auto;min-width:20px;background:var(--surface);color:#e6d2ff;font-size:12px;border-radius:5px}.app-shell .sidebar-note{margin:auto 0 17px;padding:16px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface);position:relative}.app-shell .sidebar-note>svg{position:static;width:18px;height:18px;color:#b89cdd;margin-bottom:9px}.app-shell .sidebar-note strong{display:block;font-size:12px;font-weight:500}.app-shell .sidebar-note small{display:block;margin-top:7px;color:var(--muted);line-height:1.8}.app-shell .sidebar nav{margin-bottom:24px}.app-shell .settings{margin-top:0;position:static}.app-shell .profile{border-top:1px solid var(--line);padding:17px 6px 0;margin-top:14px;gap:11px}.app-shell .profile>span{width:33px;height:33px;background:var(--surface);border:1px solid var(--line);color:#ceb8e9;font-size:12px}.app-shell .profile strong{font-size:12px;font-weight:500}.app-shell .profile small{font-size:12px;color:var(--muted);margin-top:3px}.app-shell .main-shell{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));transition:margin .2s,width .2s}.app-shell .topbar{position:sticky;top:0;z-index:15;height:49px;padding:0 36px;background:#0e0d16f5;backdrop-filter:blur(12px);border-color:var(--line)}.app-shell .breadcrumb{font-size:12px;gap:16px}.app-shell .breadcrumb-root{color:var(--muted)}.app-shell .breadcrumb strong{color:#ded5eb}.app-shell .sidebar-toggle{display:flex;align-items:center;margin-left:-7px;border-right:1px solid var(--line);border-radius:4px;padding:7px 18px 7px 7px;color:#b8acc9}.app-shell .topbar-right{gap:9px;font-size:12px}.app-shell .topbar-right .status-dot{width:5px;height:5px}.app-shell .topbar-home,.app-shell .topbar-settings{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid var(--line);background:var(--surface);border-radius:8px;color:#b7a9c8;margin-left:4px}.app-shell .topbar-home:hover,.app-shell .topbar-settings:hover{background:var(--surface)}.app-shell main{width:100%;max-width:none;margin:0;padding:24px}.app-shell .page-heading{margin-bottom:28px;gap:20px;align-items:center}.app-shell .page-heading h1{margin:0}.app-shell .page-heading p{color:var(--muted);font-size:14px;line-height:1.8;margin-top:8px}.app-shell .eyebrow{font-family:inherit;letter-spacing:.8px}.app-shell .eyebrow,.app-shell .subtle{color:var(--muted);font-size:12px}.app-shell .stats-grid{gap:16px;border:0;margin-bottom:24px}.app-shell .stat,.app-shell .stat:nth-child(n){background:var(--surface);padding:16px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:4px}.app-shell .stat-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--surface)}.app-shell .stat-icon svg{color:#bea2df}.app-shell .stat>strong{font:500 30px/1 Dashboard Geist,sans-serif;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:8px 0 0}.app-shell .stat>small{color:var(--muted);font-size:14px}.app-shell .panel{border-color:var(--line);border-radius:12px;background:var(--surface)}.app-shell .section-heading{padding:16px;border-color:var(--line);align-items:center;gap:16px}.app-shell .section-heading h2{font-weight:500}.app-shell .section-heading p{color:var(--muted);font-size:14px;line-height:1.5;margin-top:5px}.app-shell .count-badge{border:1px solid var(--line);background:var(--surface);color:#d8bcef;font-size:12px;line-height:25px;padding:0 8px;border-radius:7px;font-variant-numeric:tabular-nums}.app-shell .overview-grid{grid-template-columns:1.15fr 1fr;gap:24px;margin-bottom:24px}.app-shell .current-draft-body{padding:16px}.app-shell .current-draft-title{display:flex;gap:13px;align-items:center}.app-shell .chapter-tile{display:flex;align-items:center;justify-content:center;width:46px;height:50px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#c5a6e5;flex-shrink:0}.app-shell .current-draft-title h3{font-size:21px;letter-spacing:-.5px;margin-top:5px}.app-shell .draft-excerpt{font:400 14px/1.65 Dashboard Geist,sans-serif;color:var(--muted);margin:22px 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:70px}.app-shell .draft-check-status{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);padding-top:16px;border-top:1px solid #382d47}.app-shell .draft-check-status svg{flex-shrink:0;color:var(--muted)}.app-shell .draft-card-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.app-shell .review-queue-panel{display:flex;flex-direction:column}.app-shell .review-queue{padding:4px 20px;flex:1}.app-shell .review-queue-item{display:flex;text-align:left;align-items:flex-start;gap:11px;width:100%;padding:16px 0;border-bottom:1px solid #302738}.app-shell .review-queue-item:last-child{border-bottom:0}.app-shell .review-queue-item>span:nth-child(2){flex:1;min-width:0}.app-shell .review-queue-item strong{display:block;font-size:14px;color:var(--muted);font-weight:500;line-height:1.6}.app-shell .review-queue-item small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.app-shell .review-queue-item>svg{color:#a58cbf;margin-top:4px;flex-shrink:0}.app-shell .review-queue-item:hover strong{color:#cfa9ff}.app-shell .queue-indicator{width:7px;height:7px;border-radius:50%;background:var(--surface);flex-shrink:0;margin-top:7px}.app-shell .queue-indicator.high{background:#e79c8b}.app-shell .queue-indicator.explained{background:#8bb4ac}.app-shell .queue-empty{padding:39px 15px;text-align:center}.app-shell .queue-empty svg{color:var(--muted);margin:0 auto 14px}.app-shell .queue-empty h3{font-size:13px}.app-shell .queue-empty p{color:var(--muted);font-size:14px;line-height:1.8;margin:9px auto 0;max-width:270px}.app-shell .panel-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-top:1px solid var(--line)}.app-shell .panel-bottom>span{color:var(--muted);font-size:12px;line-height:1.7}.app-shell .text-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#c0a4e5;white-space:nowrap}.app-shell .text-link:hover{color:#e1cafa}.app-shell .table-wrap{position:relative}.app-shell table{border-collapse:collapse;width:100%}.app-shell th{font-size:12px;text-transform:none;font-weight:500;background:var(--surface);letter-spacing:.1px}.app-shell td,.app-shell th{color:var(--muted);padding:16px;border-color:var(--line)}.app-shell td{font-size:14px}.app-shell tbody tr:hover{background:var(--surface)}.app-shell .chapter-name{display:inline-flex;align-items:center;gap:12px;text-align:left}.app-shell .chapter-name strong{font-size:14px;font-weight:500;min-width:0;color:var(--ink)}.app-shell .chapter-number{display:inline-flex;align-items:center;justify-content:center;width:31px;height:33px;min-width:31px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:#c6a8e3;font-size:12px;font-family:var(--mono)}.app-shell .version-tag{font-size:12px;font-family:var(--mono);color:var(--muted)}.app-shell .row-open{color:#ad95c6;display:flex;padding:5px;border-radius:5px}.app-shell .row-open:hover{background:var(--surface);color:#ead6ff}.app-shell .badge{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:var(--surface);color:#ceb7e7;padding:4px 7px;border-radius:5px;font-size:12px;text-transform:capitalize;line-height:1.4;letter-spacing:0}.app-shell .badge.high{color:#edb2a5;background:#392528;border-color:#6b403d}.app-shell .badge.low{color:#c9b5e9;background:var(--surface);border-color:var(--line)}.app-shell .badge.explained{color:#a9d0c0;background:#1e302b;border-color:#355249}.app-shell .chapter-table-tools{display:flex;align-items:center;gap:10px;padding:18px 22px;border-bottom:1px solid var(--line)}.app-shell .chapter-search{position:relative;flex:1;max-width:400px;display:flex}.app-shell .chapter-search svg{position:absolute;top:12px;left:12px;color:#a28db6}.app-shell .chapter-search input{width:100%;padding-left:36px;font-size:14px;height:39px}.app-shell .chapter-table-tools select{font-size:14px;height:39px}.app-shell .chapter-table-tools>.button{margin-left:auto;font-size:14px}.app-shell .table-footer{display:flex;justify-content:space-between;gap:20px;padding:15px 22px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.app-shell .table-empty{padding:35px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px}.app-shell .table-empty svg{color:#a18ab8}.app-shell .table-empty strong{color:#e1d5ec;font-size:13px;font-weight:500}.app-shell .table-empty p{font-size:12px;color:#a896bb;line-height:1.8}.app-shell .check-toolbar{padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:12px}.app-shell .check-toolbar label{color:#b8a7cb;font-size:12px}.app-shell .check-toolbar select{font-size:12px}.app-shell .draft-panel{background:var(--surface)}.app-shell .draft-panel h2{font-size:22px}.app-shell .manuscript-meta{color:#ad99bf;font-size:12px;letter-spacing:.7px}.app-shell .manuscript{font:400 16px/1.9 Dashboard Geist,sans-serif;border-radius:0;color:#e1d4ec;background:var(--surface);padding:8px 25px 22px}.app-shell .draft-footer{font-size:12px;color:#b1a0c1}.app-shell .draft-footer,.app-shell .finding-card{background:var(--surface);border-color:var(--line)}.app-shell .finding-card{padding:16px}.app-shell .finding-card.selected{border-color:var(--line);background:var(--surface);box-shadow:inset 2px 0 #bc9ae0}.app-shell .finding-card>strong{font-size:13px;font-weight:500;color:#e9ddf4}.app-shell .finding-card>p{font-size:14px;color:var(--muted);line-height:1.8}.app-shell .finding-bottom{font-size:12px;color:#ad97bf}.app-shell .finding-tabs button{font-size:14px;color:#b2a1c3}.app-shell .finding-tabs button.selected{color:#d9baf3;border-color:var(--line)}.app-shell .finding-tabs{flex-wrap:wrap}.app-shell .run-banner>button{display:flex;margin-top:10px}.app-shell .finding-actions:has(button){padding:0 22px 22px}.app-shell .fix-progress{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px}.app-shell .run-banner,.app-shell .run-metrics{font-size:12px;color:#ad98be;background:var(--surface)}.app-shell .evidence-grid{padding:22px}.app-shell .draft-quote{font:400 16px/1.8 Dashboard Geist,sans-serif;border-color:var(--line);background:var(--surface);color:#e0ceef}.app-shell .evidence-grid p{font-size:14px;color:var(--muted);line-height:1.8}.app-shell .source-card{background:#1a2a25;border-color:#365147}.app-shell .source-card blockquote{color:#cce4d9;font:400 16px/1.8 Dashboard Geist,sans-serif}.app-shell .source-card small,.app-shell .source-card>span{color:#9bbfb0;font-size:12px}.app-shell .review-bar{background:var(--surface);border-color:var(--line)}.app-shell .review-bar label{color:#c0accf;font-size:12px}.app-shell .memory-toolbar{color:#b6a4c8;font-size:12px}.app-shell .search-field{border-color:var(--line);background:var(--surface);color:#b79dcc}.app-shell .search-field input{border:0;background:transparent;font-size:12px}.app-shell .entity-list h3{color:#cdb7e0;font-size:12px}.app-shell .entity-list button{font-size:12px;color:#c0afcf}.app-shell .entity-list button.selected{background:var(--surface);color:#e7cdfb}.app-shell .entity-initial{background:var(--surface);color:#c4a3e1}.app-shell .fact-card{text-align:left}.app-shell .fact-card h3{font-size:15px}.app-shell .fact-card p{color:var(--muted);font-size:14px}.app-shell .fact-card blockquote{color:#c9b6d9;font:400 14px/1.7 Dashboard Geist,sans-serif}.app-shell .fact-card footer{color:#ac95bd;font-size:12px}.app-shell .chapter-detail h2{font-size:23px}.app-shell .chapter-prose{color:#d8c9e3}.app-shell .candidate-fact{border-color:var(--line);font-size:14px;color:var(--muted)}.app-shell .candidate-fact strong{color:#dcc9ec;font-weight:500}.app-shell .history-list strong{color:#d5bce8;font-size:12px;font-weight:500}.app-shell .history-list p{color:var(--muted);font-size:14px}.app-shell .history-list time{color:#a18bad;font-size:12px}.app-shell .history-icon{background:var(--surface);color:#c8a7e7}.app-shell .connections-grid h3{font-size:17px}.app-shell .connections-grid p{color:var(--muted);font-size:14px;line-height:1.9}.app-shell .connections-grid dt{color:#b59ec6;font-size:12px}.app-shell .connections-grid dd{color:var(--muted);font-size:14px;overflow-wrap:anywhere}.app-shell pre{background:var(--surface);border-color:var(--line);color:#c8b0dc}.app-shell .empty{color:#a999bc;font-size:12px}.app-shell .empty svg{color:#a78bc1}.app-shell .empty h3{font-size:15px}.app-shell .empty p{font-size:14px;line-height:1.8}.app-shell .message{border-radius:9px;font-size:12px}.app-shell .modal{font-family:Dashboard Geist,sans-serif;background:var(--surface);border-color:var(--line)}.app-shell .modal h2{font-size:23px}.app-shell .modal label{font-size:12px;color:#cab3da}.app-shell .source-text{color:#e0cdea!important;font:400 16px/1.9 Dashboard Geist,sans-serif}.app-shell mark{color:#f5dfff}.app-shell .connection-note,.app-shell .upload-zone,.app-shell mark{background:var(--surface);border-color:var(--line)}.app-shell .saved-note{color:#cab1dd}@media (min-width:901px){.app-shell.sidebar-collapsed{--sidebar-width:76px}.sidebar-collapsed .sidebar{padding-left:12px;padding-right:12px;overflow:visible}.sidebar-collapsed .brand{margin:0 auto 25px;justify-content:center}.sidebar-collapsed .brand-name,.sidebar-collapsed .nav-caption,.sidebar-collapsed .nav-count,.sidebar-collapsed .nav-create span,.sidebar-collapsed .nav-label,.sidebar-collapsed .profile,.sidebar-collapsed .sidebar-note,.sidebar-collapsed .workspace-switch{display:none}.sidebar-collapsed .nav-create,.sidebar-collapsed .nav-item{justify-content:center;padding:0}.sidebar-collapsed .sidebar nav{flex:1}}@media (max-width:1150px){.app-shell{--sidebar-width:222px}.app-shell main{padding:24px}.app-shell .topbar{padding:0 24px}.app-shell .stats-grid{gap:12px}.app-shell .stat{padding:16px!important}.app-shell .check-grid,.app-shell .connections-grid,.app-shell .overview-grid{grid-template-columns:1fr}}@media (max-width:900px) and (min-width:761px){.app-shell .sidebar-toggle{display:none}.app-shell .stats-grid{grid-template-columns:1fr 1fr}}@media (max-width:760px){.app-shell{--sidebar-width:0px}.app-shell .sidebar{width:100%;position:relative;padding:16px 8px 12px;display:grid;grid-template-columns:1fr auto;gap:16px 10px;overflow:hidden}.app-shell .brand{margin:0;font-size:21px;gap:5px;align-self:center}.app-shell .brand-symbol{font-size:30px;width:25px}.app-shell .nav-create{width:auto;margin:0;font-size:14px;min-height:36px;gap:6px;padding:8px 10px}.app-shell .sidebar nav{grid-column:1/-1;margin:0;gap:5px}.app-shell .sidebar .nav-item{width:auto;height:36px;font-size:14px;gap:7px;flex-shrink:0}.app-shell .sidebar .nav-item svg{width:15px}.app-shell .profile,.app-shell .settings,.app-shell .sidebar-note,.app-shell .sidebar-toggle,.app-shell .workspace-switch{display:none}.app-shell .main-shell{margin:0;width:100%}.app-shell .topbar{height:49px;padding:0 17px}.app-shell .breadcrumb{font-size:12px;gap:9px}.app-shell .breadcrumb-root{display:none}.app-shell .topbar-right{font-size:12px;gap:6px}.app-shell .topbar-home{display:none}.app-shell main{padding:24px}.app-shell .page-heading{flex-direction:row;flex-wrap:wrap;gap:13px;margin-bottom:23px}.app-shell .page-heading h1{font-size:25px}.app-shell .page-heading p{font-size:14px;max-width:290px}.app-shell .page-heading>.button{display:none}.app-shell .stats-grid{gap:10px}.app-shell .stat-icon{width:24px;height:24px;border-radius:6px}.app-shell .stat-icon svg{width:14px}.app-shell .stat>strong{font-size:28px}.app-shell .stat>small{font-size:14px}.app-shell .overview-grid{gap:24px}.app-shell .section-heading{padding:16px;gap:10px}.app-shell .section-heading h2{font-size:15px}.app-shell .section-heading p{font-size:14px}.app-shell .current-draft-body{padding:16px}.app-shell .current-draft-title h3{font-size:19px}.app-shell .draft-excerpt{font-size:15px}.app-shell .panel-bottom{padding:14px 17px;flex-wrap:wrap}.app-shell td{padding:16px;font-size:14px}.app-shell th{padding:16px}.app-shell .chapter-name strong{font-size:14px;min-width:130px}.app-shell .chapter-table-tools{flex-wrap:wrap;padding:16px;gap:10px}.app-shell .chapter-search{min-width:100%}.app-shell .chapter-table-tools>.button{font-size:14px}.app-shell .table-footer{padding:13px 16px;font-size:12px}.app-shell .table-footer>span:last-child{display:none}.app-shell .check-toolbar{padding:14px;flex-wrap:wrap}.app-shell .check-toolbar label:first-child{min-width:100%}.app-shell .check-toolbar label:nth-child(2){min-width:0}.app-shell .check-toolbar>.button{font-size:14px}.app-shell .review-bar>div{display:flex;flex-wrap:wrap;gap:8px}.app-shell .review-bar .button{font-size:14px;padding:9px}.app-shell .modal{padding:20px}}.app-shell .stat-label{font-size:14px;line-height:20px;color:var(--muted)}.app-shell .stat-icon{width:28px;height:28px;align-self:flex-start;border-radius:8px;color:var(--muted)}.app-shell .stat-icon svg{color:#b9b9c5}.app-shell .current-draft-panel{background:var(--surface)}.app-shell .chapter-prose{font:400 16px/1.9 Dashboard Geist,sans-serif;color:var(--muted)}.app-shell .sidebar-note strong{font-size:14px}.app-shell .sidebar-note small{font-size:12px}.app-shell .section-heading h2{font-size:16px}.app-shell .breadcrumb,.app-shell .modal label{font-size:14px}.app-shell .brand{gap:0;letter-spacing:-.7px}.app-shell .brand-symbol{width:auto;height:auto;line-height:1;letter-spacing:-2px}.app-shell .brand-name{font-family:Dashboard Geist,sans-serif;font-weight:500}.app-shell .story-switcher{display:flex;flex-direction:column;gap:8px;min-width:0}.app-shell .story-switcher label{color:var(--muted);font-size:12px}.app-shell .story-switcher select{width:100%;min-width:0;padding:8px;font-size:14px}.app-shell .story-switcher .text-link{font-size:12px;align-self:flex-start}.app-shell .profile{margin-top:auto}.app-shell .profile>div{min-width:0;flex:1}.app-shell .profile small{overflow:hidden;text-overflow:ellipsis;max-width:175px}.app-shell .signout{flex-shrink:0;width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center}.app-shell .memory-view-toggle{display:flex;gap:8px;margin:0 0 16px}.app-shell .graph-tools{display:flex;gap:8px}.app-shell .graph-tools .button{padding:8px}.app-shell .graph-canvas{width:100%;height:520px;display:block;touch-action:none;background:radial-gradient(#383842 1px,transparent 0);background-size:24px 24px;cursor:grab}.app-shell .graph-canvas:active{cursor:grabbing}.app-shell .graph-node{cursor:pointer;outline:none}.app-shell .graph-node circle{stroke:#19191f;stroke-width:2px}.app-shell .graph-entity circle{fill:#a58bea}.app-shell .graph-claim circle{fill:#aaaab6}.app-shell .graph-chapter circle{fill:#79b8a4}.app-shell .graph-node:focus-visible circle,.app-shell .graph-node:hover circle{stroke:#ededf3;stroke-width:3px}.app-shell .graph-node text{font:12px Dashboard Geist,sans-serif;fill:#c6c6d1;paint-order:stroke;stroke:#19191f;stroke-width:3px;stroke-linejoin:round}.app-shell .graph-entity text{font-weight:600;fill:#ededf3}.app-shell .graph-edge-label{font:10px Dashboard Geist,sans-serif;fill:#aaaab6;text-anchor:middle;paint-order:stroke;stroke:#19191f;stroke-width:3px}.app-shell .graph-legend{padding:16px;display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.app-shell .graph-legend span{display:flex;align-items:center;gap:6px}.app-shell .graph-legend i{width:8px;height:8px;border-radius:50%;background:#aaaab6}.app-shell .graph-legend .entity-dot{background:#a58bea}.app-shell .graph-legend .chapter-dot{background:#79b8a4}.app-shell .modal form{display:flex;flex-direction:column;gap:16px}@media (min-width:901px){.sidebar-collapsed .story-switcher{display:none}}@media (max-width:760px){.app-shell .story-switcher{display:flex;grid-column:1/-1;flex-direction:row;align-items:center;padding:0;margin:0}.app-shell .story-switcher label{display:none}.app-shell .story-switcher select{width:auto;flex:1}.app-shell .story-switcher .text-link{align-self:center;flex-shrink:0}.app-shell .signout{grid-column:1/-1;width:auto;margin:0;justify-self:end}.app-shell .graph-canvas{height:420px}.app-shell .canon-graph .section-heading{flex-wrap:wrap}}.app-shell .graph-node .claim-label{opacity:0}.app-shell .graph-node:focus .claim-label,.app-shell .graph-node:hover .claim-label{opacity:1}.app-shell .provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.app-shell .provider-card,.app-shell .provider-edit{padding:16px}.app-shell .provider-actions,.app-shell .provider-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.app-shell .provider-title h2{margin:0;font-size:18px}.app-shell .provider-card p,.app-shell .provider-edit p{font-size:14px;color:var(--muted);line-height:1.6;margin:16px 0}.app-shell .provider-card .provider-error{color:#edb2a5}.app-shell .provider-edit h2{font-size:18px}.app-shell .provider-edit form{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:24px 0}.app-shell .provider-edit label{display:flex;flex-direction:column;gap:8px;font-size:14px;flex:1;min-width:160px}.app-shell .provider-edit input,.app-shell .provider-edit select{padding:8px 12px}@media (max-width:1050px){.app-shell .provider-grid{grid-template-columns:1fr}}.app-shell .workflow-guide{padding:20px;margin-bottom:20px}.workflow-guide ol{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:0 0 14px;color:var(--muted);font-size:13px}.workflow-guide li[aria-current=step]{color:var(--ink);font-weight:600}.workflow-guide p{margin:10px 0;line-height:1.65}.workflow-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.app-shell .next-action{outline:2px solid #929bff;outline-offset:3px;animation:workflow-hint 2.2s ease-in-out infinite}@keyframes workflow-hint{50%{box-shadow:0 0 0 6px #7681ff20,0 0 20px #7681ff35}}.workflow-facts{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.workflow-facts summary{cursor:pointer;font-weight:500}.workflow-facts article{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:8px}.workflow-facts blockquote{margin:8px 0 0;padding-left:12px;border-left:2px solid var(--line);color:var(--muted);white-space:pre-wrap}.workflow-modal{width:min(620px,calc(100vw - 32px))}.workflow-modal .modal-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.workflow-modal p{line-height:1.7}.immutable-note{display:flex;gap:12px;padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--surface);margin:20px 0}.immutable-note svg{flex-shrink:0;margin-top:4px}.immutable-note p{margin:0}.app-shell .workflow-modal .approval-checkbox{color:var(--ink);font-size:13px;display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.6}.workflow-modal .approval-checkbox input{width:17px;height:17px;flex-shrink:0;margin:4px 0 0;accent-color:#5965f5}.fix-comparison{display:grid;gap:14px;margin:20px 0}.fix-comparison section{padding:16px;border:1px solid var(--line);border-radius:9px}.fix-comparison h3{font-size:13px;margin:0 0 8px;color:var(--muted)}.fix-comparison blockquote{margin:0;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}@media (prefers-reduced-motion:reduce){.app-shell .next-action{animation:none}}.app-shell .check-hint{animation:check-hint 2.4s ease-in-out infinite}@keyframes check-hint{0%,to{opacity:.68;box-shadow:0 0 0 0 #7681ff00}50%{opacity:1;box-shadow:0 0 0 5px #7681ff24,0 0 22px #7681ff60}}@media (prefers-reduced-motion:reduce){.app-shell .check-hint{animation:none;opacity:1}}