/* Pherogent product shell — quiet reading surfaces, purposeful interaction. */
:root{
  --ink:#203b32;--muted:#6e7d75;--green:#214e3e;--green-hover:#153d2e;
  --green-soft:#eaf2e8;--paper:#fffefa;--surface:#f5f7f1;--canvas:#f3f5ef;
  --line:#dde4d9;--line-strong:#c1d0bf;--sidebar-width:234px;
  --sidebar:#173f33;--accent:#ddedbc;--radius:13px;
  font-size:15px;line-height:1.55;font-synthesis:none;
}
html{scroll-behavior:auto}body{overflow-wrap:break-word;background:var(--canvas)}
button,a,input,select,textarea{transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s}
button:disabled{opacity:.5}svg{flex-shrink:0}button svg{vertical-align:middle}
:focus-visible{outline:3px solid #99bb79;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{z-index:3000}

/* Persistent product shell. */
.topbar{height:78px;min-height:78px;position:sticky;top:0;z-index:40;display:flex;flex-wrap:nowrap;align-items:center;padding:14px 28px;gap:25px;background:#fffefb;border-bottom:1px solid var(--line)}
.brand{min-width:180px;font-size:28px;gap:11px;letter-spacing:-1px}.brand-symbol{width:33px;height:39px;border-radius:12px 12px 4px 12px;font-size:30px;box-shadow:inset 0 1px 0 #ffffff1f}.brand-caption{font-size:9px;letter-spacing:.045em;font-weight:500;color:#87938c;margin-top:4px}
.project-switcher-wrap{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.header-divider{height:29px;width:1px;background:var(--line);flex-shrink:0}.project-switcher{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:9px;min-width:0;max-width:450px;min-height:42px;padding:8px 11px;background:transparent;color:var(--ink);font-size:13px;font-weight:500;text-align:left}.project-switcher:hover{background:var(--surface);border-color:var(--line)}.project-folder{color:#839079;display:flex}#projectLabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.switcher-chevron{color:#8a978a;margin-left:7px}.top-actions{margin-left:auto;gap:13px;flex-shrink:0}.top-actions .btn{min-height:39px;font-size:12px;padding:8px 12px}.status-button{gap:7px;padding:7px 10px;border:1px solid #ebe6d9;border-radius:20px;font-size:10px;color:#857d6a;background:#faf8f0;white-space:nowrap}.status-button:hover{border-color:#d4c6a7;background:#f6f0e2}.status-dot{width:5px;height:5px;background:#b69a64}.export-button{box-shadow:0 1px 2px #153d2e08}.help-button{color:#6c7c70!important}
.app-layout{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:calc(100dvh - 78px)}
.sidebar{display:flex;flex-direction:column;position:sticky;top:78px;height:calc(100dvh - 78px);overflow-y:auto;gap:26px;padding:27px 17px 22px;background:var(--sidebar);border:0;scrollbar-width:thin;scrollbar-color:#527260 transparent}
.new-project-button{display:flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;width:100%;padding:12px 15px;min-height:44px;border:1px solid #dcedb5;border-radius:9px;background:var(--accent);color:#274630;font-size:13px;font-weight:650;box-shadow:0 2px 8px #0a281b0d}.new-project-button:hover{background:#e9f5cd;border-color:#e9f5cd;transform:translateY(-1px)}
#navigation{display:flex;flex-direction:column;align-items:stretch;gap:5px;flex-wrap:nowrap;width:100%;padding:0;border:0;order:initial}#navigation button{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:12px;flex:none;min-height:46px;padding:11px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:#b4c8b9;font-size:13px;line-height:1.4;white-space:normal;text-align:left}#navigation button:hover{background:#ffffff0b;color:#edf4e8}#navigation button.active,#navigation button[aria-current="page"]{border-color:#ffffff12;background:#ffffff12;color:#f2f6e9;font-weight:600;box-shadow:inset 3px 0 #d9e9b4}#navigation .nav-label{display:block;margin:24px 13px 7px;color:#7b9b88;font-size:9px;font-weight:650;letter-spacing:.15em;text-transform:uppercase}#navigation .nav-label:first-child{margin-top:0}#navigation .nav-icon,#navigation .nav-number{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;min-height:20px;color:#95b59b;font-size:18px}#navigation button.active .nav-icon{color:#d6e8ba}#navigation .nav-icon svg{width:18px;height:18px}#navigation .navlabel{flex:1;min-width:0}#navigation .navlabel small{display:none}.nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:6px;background:#ffffff0e;color:#c9d9c1;font-size:10px}
.sidebar-bottom{margin-top:auto;padding-top:25px;border-top:1px solid #ffffff12;flex-shrink:0}.sidebar-tutorial{display:flex;align-items:center;gap:10px;width:100%;padding:13px 11px;border:1px solid #608064;border-radius:10px;background:linear-gradient(130deg,#315d43,#244b3a);color:#eaf5d2;text-align:left}.sidebar-tutorial:hover{background:#365f45;border-color:#a7bf8c;transform:translateY(-1px)}.sidebar-tutorial strong{display:block;font-size:12px;font-weight:600;line-height:1.4}.sidebar-tutorial small{display:block;margin-top:5px;color:#b2c8a5;font-size:9px}.sidebar-tutorial>span:nth-child(2){flex:1;min-width:0}.sidebar-tutorial>span:last-child{font-size:14px;color:#afc694}.tutorial-launch-icon{display:flex;color:#d8e9ac}.sidebar-sample{display:flex;align-items:center;gap:10px;width:100%;padding:13px 10px;min-height:44px;border:0;border-radius:7px;background:transparent;color:#a8bda9;font-size:11px;text-align:left;margin-top:9px}.sidebar-sample:hover{background:#ffffff09;color:#eef4e5}.sidebar-local{display:flex;align-items:flex-start;gap:8px;margin:21px 10px 0;color:#9bb39f;font-size:10px}.sidebar-local small{display:block;font-size:9px;color:#75947f;margin-top:4px}.local-dot{width:5px;height:5px;border-radius:50%;background:#a6c684;flex-shrink:0;margin-top:5px}
.app-content{display:flex;flex-direction:column;min-width:0;background:var(--canvas)}.workspace-mode:empty,.project-context:empty{display:none}.workspace-mode,.project-context{padding:10px 34px;border-bottom:1px solid var(--line);background:#eaf1e4;font-size:11px;line-height:1.6;color:#758269}.project-context{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.project-context .btn{min-height:32px;padding:5px 9px;font-size:11px}.sample-badge{font-weight:600;color:#526c42}.sample-badge::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#9bb875;margin-right:7px}.workspace-mode .tab{font-size:12px;padding:7px 11px}
#main{flex:1;min-width:0}#main:focus{outline:none}.page,.product-page{width:100%;max-width:1460px;margin:0 auto;padding:32px 34px 40px}.page-head,.product-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.page-head h1,.product-head h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:30px;line-height:1.2;font-weight:620;letter-spacing:-1px}.page-head p,.product-head p{font-size:13px;color:var(--muted);line-height:1.7;margin:8px 0 0;max-width:720px}.page-head .eyebrow{margin-bottom:10px}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:600}.product-head .actions{flex-shrink:0;padding-top:2px}.section-head{gap:12px;margin-bottom:18px}.section-head h2{font-size:16px;line-height:1.4;letter-spacing:-.3px}.section-head h3{font-size:15px}.muted{font-size:13px;line-height:1.7}.subtle{font-size:12px;line-height:1.65}.actions{gap:9px}.btn{min-height:42px;border-radius:8px;padding:10px 15px;font-size:12px;font-weight:600;box-shadow:0 1px 2px #183c2d04}.btn.primary{box-shadow:0 2px 4px #1e452d10}.btn.primary:hover{box-shadow:0 3px 7px #1e452d18}.btn.small{min-height:35px;padding:7px 11px;font-size:11px}.btn.ghost{box-shadow:none}.inline-link{font-size:12px;line-height:1.6}.icon-button{width:36px;height:36px;min-height:36px;border-radius:9px;font-size:23px;background:#f1f4ec}.scope-pill,.project-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;border:1px solid #dce6d1;background:#f0f5e9;color:#718260;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:500;line-height:1.5}.scope-pill::before{content:"";width:4px;height:4px;flex-shrink:0;border-radius:50%;background:#95ac77}.site-footer{display:flex;align-items:center;justify-content:space-between;max-width:1460px;width:100%;margin:0 auto;padding:5px 34px 23px;color:#8a978a;font-size:10px;line-height:1.6}

/* The project hub is a working desk, with a small optional learning entry. */
.workspace-hero{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:0 0 27px;margin:0 0 24px;border-bottom:1px solid var(--line)}.workspace-welcome{flex:1;min-width:0}.hero-kicker{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#8a987e;font-size:10px;font-weight:650;letter-spacing:.12em;text-transform:uppercase}.hero-kicker::before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#8daa70}.workspace-welcome h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:30px;font-weight:600;line-height:1.25;letter-spacing:-1px}.workspace-welcome p{font-size:13px;color:var(--muted);max-width:610px;margin:9px 0 0;line-height:1.7}.workspace-welcome .actions{margin-top:17px}.tutorial-launch-card{display:flex;align-items:center;gap:15px;max-width:330px;min-width:260px;border:1px solid #d5e2c3;border-radius:12px;padding:17px 18px;background:linear-gradient(125deg,#e7efd9,#f0f5e7);color:#2f5137;text-align:left;box-shadow:0 2px 6px #214e3e03}.tutorial-launch-card:hover{background:#e5efd6;border-color:#b2c594;transform:translateY(-1px)}.tutorial-launch-card strong{display:block;font-size:13px;font-weight:650;line-height:1.5}.tutorial-launch-card small,.tutorial-launch-card p{display:block;font-size:11px;color:#7a8a66;margin-top:4px;line-height:1.6}.tutorial-launch-card svg{width:25px;height:25px}.tutorial-launch-card>span{min-width:0}.tutorial-launch-card .tutorial-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fbfff2;color:#668e45;box-shadow:0 1px 3px #5a753e10;flex-shrink:0}
.workspace-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:25px}.shortcut-card{position:relative;display:flex;align-items:center;gap:13px;padding:17px 18px;border:1px solid var(--line);border-radius:11px;background:#fffefa;min-width:0;text-align:left;box-shadow:0 1px 2px #173d2902}.shortcut-card:hover{background:#fbfdf6;border-color:#b9cda7;transform:translateY(-1px);box-shadow:0 4px 14px #173d2905}.shortcut-icon{display:flex;align-items:center;justify-content:center;width:36px;height:39px;flex-shrink:0;color:#6d8d50;background:#edf3e4;border:1px solid #e2ead7;border-radius:9px}.shortcut-icon svg{width:20px;height:20px}.shortcut-card>span:not(.shortcut-icon){min-width:0}.shortcut-card strong{display:block;font-size:12px;font-weight:600;line-height:1.5}.shortcut-card p,.shortcut-card small{font-size:10px;color:#89967d;line-height:1.55;margin:4px 0 0;display:block}.shortcut-card .shortcut-arrow{margin-left:auto;color:#9ba990;font-size:14px}
.product-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:25px}.metric-tile{display:flex;align-items:center;gap:13px;min-width:0;border:1px solid var(--line);border-radius:11px;padding:19px 20px;background:var(--paper);text-align:left;box-shadow:0 2px 3px #153e3202}.metric-tile:hover{border-color:#bdcfae;background:#fcfef7}.metric-tile strong{display:block;font-size:28px;line-height:1.1;font-weight:500;letter-spacing:-1px;color:#305640;font-variant-numeric:tabular-nums}.metric-tile span{display:block;font-size:11px;color:var(--muted);line-height:1.5}.metric-tile small{display:block;font-size:10px;color:#91a084}.metric-arrow{margin-left:auto!important;color:#a4b095!important;font-size:15px!important;flex-shrink:0}.metric-icon{display:flex!important;align-items:center;justify-content:center;width:33px;height:33px;border:1px solid #e1ead6;border-radius:8px;background:#f0f5e8;color:#92a676!important;font-size:16px!important}
.product-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;align-items:start}.product-main,.product-side{min-width:0}.product-panel{min-width:0;padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 4px #183e2b02}.product-panel h2{font-size:16px;font-weight:600;letter-spacing:-.3px}.product-panel h3{font-size:14px;letter-spacing:-.2px}.product-panel>p{font-size:13px;color:var(--muted);line-height:1.75}.product-main .product-panel+.product-panel,.product-side .product-panel+.product-panel{margin-top:20px}.product-grid>.product-panel+.product-panel{margin-top:0}.field{margin-bottom:19px}.field input,.field textarea,.field select{font-size:15px;line-height:1.65;background:#fffefa;border-color:#d1deca;border-radius:8px}.field textarea{padding:12px 14px;min-height:105px}.field>span{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8ba77a;box-shadow:0 0 0 3px #9fb58412}.field small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:6px}.field:last-child{margin-bottom:0}.field-label{font-size:12px}
.product-brief .field{margin-bottom:16px}.product-brief .field>span{display:none}.product-brief textarea{background:#fcfdf7;border-color:#dde6d4;min-height:118px;font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.5;letter-spacing:-.3px;padding:16px}.product-brief .brief-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-top:15px;border-top:1px solid #e7eddf}.brief-bottom p{font-size:11px;line-height:1.75;margin:0;max-width:530px}.save-inline{color:#94a188;font-size:9px;white-space:nowrap;margin-top:3px}.brief-editor{max-width:950px}.brief-editor .field>textarea{min-height:120px;font-size:15px;line-height:1.8}.brief-editor .field:first-child textarea{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.5}.product-panel .empty-state{padding:28px 22px;background:#f8faf3;border:1px dashed #c8d8bb;border-radius:10px;color:var(--muted);text-align:center}.product-panel .empty-state h2,.product-panel .empty-state h3{font-size:16px;margin-bottom:8px}.product-panel .empty-state p{font-size:12px;line-height:1.75}.empty-symbol{display:inline-flex;justify-content:center;align-items:center;margin-bottom:12px;width:44px;height:44px;border-radius:11px;background:#eaf1e1;color:#91aa77;font-size:22px}.empty-inline{padding:15px 0;font-size:12px;line-height:1.75;color:#8b9880;margin:0}

/* Research tasks and artifacts. */
.task-form{display:flex;align-items:center;gap:9px;margin-bottom:14px}.task-form input{flex:1;min-width:0;font-size:13px;min-height:42px;padding:10px 12px;border-color:#d9e2d0;background:#fcfdf8}.task-form .btn{flex-shrink:0;min-height:42px;font-size:11px;padding:9px 12px}.task-list{padding:0;margin:0}.task-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e8edde;font-size:12px;line-height:1.6}.task-row:last-child{border-bottom:0;padding-bottom:0}.task-row .task-text{flex:1;min-width:0}.task-check,.task-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:21px;height:21px;min-height:21px;padding:0;border:1px solid #bacba9;border-radius:6px;background:var(--paper);color:#5e7d43;font-size:12px}.task-check:hover{background:#eef5e4;border-color:#93af75}.task-check[aria-checked="true"],.task-toggle[aria-pressed="true"]{background:#e9f1df;border-color:#b5c79f}.task-row.done .task-text,.task-row.completed .task-text{color:#9aa68d;text-decoration:line-through}.task-state{flex-shrink:0;font-size:9px;padding:3px 7px;border-radius:4px;color:#97a289;background:#f4f7ed}.task-row.done .task-state{color:#7b9265;background:#edf3e5}
.artifact-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;text-align:left}.artifact-card>.section-head{width:100%;margin:0}.artifact-card h3,.artifact-card strong{font-size:14px;line-height:1.5}.artifact-card .artifact-excerpt{font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.85;white-space:pre-line;color:#78866c;padding:4px 0;margin:0}.artifact-card .actions{margin-top:7px}.artifact-empty{width:100%;padding:23px 15px;border:1px dashed #d6e1ca;border-radius:9px;background:#fafcf5;text-align:center}.artifact-empty svg{color:#b1c39b}.artifact-empty p{font-size:12px;color:#8b9b7c;margin:10px 0 0}.artifact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.artifact-grid .artifact-card{padding:19px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}.artifact-card .artifact-link{font-size:12px;color:var(--green)}.draft-preview{font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.85;padding:17px;background:#fcfdf7;border:1px solid #e3ead8;border-radius:9px;white-space:pre-line}
.compact-source-list{margin:-6px 0 13px}.compact-source{display:flex;align-items:flex-start;gap:11px;width:100%;padding:15px 0;border:0;border-bottom:1px solid #e7edde;background:transparent;text-align:left}.compact-source:last-child{border-bottom:0}.compact-source:hover{color:var(--green)}.compact-source>span:nth-child(2){flex:1;min-width:0}.compact-source strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:500;line-height:1.65}.compact-source small{display:block;font-size:10px;color:#91a084;margin-top:6px}.compact-source>span:last-child{font-size:13px;color:#9eb08d;flex-shrink:0}.source-file-icon{display:flex;align-items:center;justify-content:center;width:27px;height:31px;flex-shrink:0;border-radius:5px;border:1px solid #e1ead4;background:#f0f5e8;color:#8ca375;font-size:18px}.compact-record{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;background:#edf3e5}.compact-record .eyebrow{width:100%;font-size:9px;margin:0}.compact-record p{font-size:12px;margin:0}.compact-record .btn{font-size:11px;padding:3px 0}.recent-activity{list-style:none;padding:0;margin:0}.recent-activity li{display:flex;align-items:flex-start;gap:11px;padding:14px 0;border-bottom:1px solid #e8eede}.recent-activity li:last-child{border:0}.activity-dot{width:7px;height:7px;flex-shrink:0;background:#bed09e;border-radius:50%;margin-top:6px}.activity-copy{min-width:0;flex:1}.activity-copy strong{display:block;font-size:12px;color:#657b53;font-weight:500}.activity-copy span,.activity-copy small,.activity-copy time{display:block;color:#99a68c;font-size:10px;margin-top:4px}.recent-activity p{font-size:12px;line-height:1.6;color:#87977a;margin:0}

/* Source collection and live search. */
.collection-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:22px;align-items:start}.collection-list{min-width:0}.collection-paper{padding:22px 0;border-bottom:1px solid var(--line);min-width:0}.collection-paper:first-child{padding-top:0}.collection-paper:last-child{padding-bottom:0;border-bottom:0}.collection-paper>.section-head{align-items:flex-start;gap:9px;margin-bottom:9px}.collection-paper h3{font-size:15px;line-height:1.55;font-weight:600;margin:7px 0 14px}.collection-paper .source-meta{font-size:10px;color:#829573;line-height:1.7;margin:0}.collection-paper .scope-pill{font-size:9px;padding:3px 6px}.paper-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.paper-actions .actions{gap:11px;margin:0}.source-status{margin:0}.collection-paper select{width:auto;max-width:170px;min-width:124px;font-size:11px;min-height:34px;padding:5px 24px 5px 9px;border-radius:6px;background:#f4f7ee;border-color:#dbe5ce;color:#738a60}.source-scope{font-size:11px;line-height:1.7;color:#7a8e69;margin-top:13px}.source-scope summary{cursor:pointer}.source-scope p{font-size:12px;margin:9px 0 0}.collection-paper .source-note{display:block;margin:15px 0 9px;font-size:11px;color:#7f906e}.source-note textarea{min-height:87px!important;font-size:13px!important;line-height:1.7!important;background:#fafcf5!important;padding:12px!important;border-color:#dee8d2!important}.source-note-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px}.source-note-footer .subtle{font-size:10px;color:#9ba98c}.source-note-footer .btn{font-size:10px;padding:4px 0;min-height:30px}.collection-search,.search-panel{position:sticky;top:100px}.collection-layout .literature-search{border-top:0;margin-top:0;padding-top:0}.literature-search .section-head{margin-bottom:12px}.literature-search h3{font-size:16px}.collection-layout .search-form{gap:8px;align-items:flex-end;margin-top:17px}.search-form .field{margin:0;flex:1;min-width:0}.search-form .field>span{font-size:11px}.search-form input{min-height:43px;padding:10px 11px;font-size:13px}.search-form .btn{min-height:43px;font-size:11px;padding:10px 12px}.paper-result{padding:20px 0;border-top:1px solid var(--line)}.paper-result>strong{display:block;font-size:13px;line-height:1.6;letter-spacing:-.1px}.paper-result .source-meta{font-size:11px;margin:7px 0;color:#8c9a80;line-height:1.7}.paper-result p{font-size:12px;line-height:1.75;color:#7d8d71}.paper-result .actions{margin-top:13px;gap:12px}.paper-result .btn,.paper-result .inline-link{font-size:11px}.search-question{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);color:#8c9a7e;font-size:12px}.search-question summary{font-size:11px;cursor:pointer}.search-question p{font-size:12px;line-height:1.8;margin:12px 0 0}

/* A notebook built for reading, and an uncluttered writing surface. */
.notebook-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;align-items:start}.notebook-main,.notebook-side{min-width:0}.notebook-main .field>span,.notebook-side .field>span{display:block;font-size:12px;margin-bottom:9px}.notebook-main textarea{min-height:300px;padding:18px;font-size:16px;line-height:1.9;background:var(--paper)}.notebook-main textarea[data-research-field="limitations"]{min-height:175px;font-size:14px;line-height:1.8}.notebook-side textarea{min-height:160px;font-size:14px;line-height:1.8}.notebook-side .product-panel+.product-panel{margin-top:20px}.notebook-source{padding:15px 0;border-top:1px solid var(--line)}.notebook-source:first-of-type{padding-top:0;border:0}.notebook-source:last-child{padding-bottom:0}.notebook-source>strong{font-size:12px}.notebook-source p{font-size:12px;line-height:1.8;color:#819171;margin:8px 0}.notebook-source .btn{font-size:11px;min-height:30px;padding:4px 0}.source-mini-list{list-style:none;padding:0;margin:0}.source-mini-list li{padding:13px 0;border-top:1px solid var(--line)}
.product-manuscript{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;align-items:start}.product-manuscript>.document-outline{padding:19px 13px;background:#eaf1e2;box-shadow:none}.document-outline .section-head{margin:0 8px 14px}.document-outline h2{font-size:11px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;color:#7e9369}.document-outline nav{display:block}.document-outline .outline-item,.document-outline button{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:#7d926a;font-size:12px;text-align:left;min-height:38px}.document-outline button:hover{background:#dfe9d2;color:#345c35}.outline-item .subtle{margin-left:auto;font-size:10px;color:#9bac8b}.outline-dot{width:4px;height:4px;border-radius:50%;background:#bdcdae;flex-shrink:0}.outline-item.present{color:#5b7c46!important}.outline-item.present .outline-dot{background:#8aa96b}.document-outline>.btn{margin-top:16px;border:1px solid #ceddbe;background:#f6faee;font-size:10px;justify-content:center;padding:8px}.outline-divider{height:1px;width:100%;background:#d7e3c9;margin:20px 0}.document-outline>.eyebrow{font-size:9px;padding:0 8px;color:#8a9e76}.document-outline>.subtle{font-size:10px;line-height:1.8;padding:0 8px;margin:8px 0 12px}.product-manuscript>.manuscript-editor{padding:0;overflow:hidden;box-shadow:0 4px 14px #203d2a03}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;background:#fafcf5;border-bottom:1px solid var(--line);padding:13px 21px}.editor-toolbar .btn{font-size:11px;min-height:34px;padding:7px 10px}.editor-toolbar .actions{gap:6px}.editor-file{font-size:12px;color:#80936e}.product-manuscript .draft-editor{margin:0;border:0;border-radius:0;background:var(--paper);padding:27px 32px}.product-manuscript .draft-editor summary{font-size:11px;color:#94a487;font-weight:500;letter-spacing:.02em;margin-bottom:22px}.product-manuscript .draft-editor label{font-size:11px;color:#829772}.product-manuscript .draft-editor input{font-family:Georgia,"Times New Roman",serif;font-size:27px;line-height:1.45;letter-spacing:-.5px;border:0;border-bottom:1px solid #e4eadb;border-radius:0;padding:11px 0;background:transparent;box-shadow:none}.product-manuscript .draft-editor textarea{min-height:490px;padding:20px;border:1px solid #e2e9d9;background:#fffefa;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.9}.product-manuscript .draft-editor .actions{padding-top:18px;border-top:1px solid var(--line);margin-top:20px}.product-manuscript .draft-editor .subtle{font-size:11px;margin-top:12px;line-height:1.75}

/* Evidence review retains its exact-check/author-approval distinction. */
.workspace{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:0 5px 22px #214e3e04;overflow:clip}.manuscript-panel{padding:27px;min-width:0}.evidence-panel{padding:27px;min-width:0;border-left:1px solid var(--line);border-top:0;background:#f8faf3}.document-title{font-size:27px;line-height:1.35;letter-spacing:-.5px}.paragraph{font-size:17px;line-height:1.9}.claim-row{padding:16px 15px;border-radius:9px}.claim-text{font-size:17px;line-height:1.8}.claim-meta{gap:9px}.status{font-size:10px;padding:4px 7px}.queue{gap:9px;margin-bottom:20px}.issue-chip{padding:12px 14px;border-radius:9px;font-size:11px;max-width:100%;line-height:1.5}.issue-chip>span:last-child{min-width:0}.issue-chip small{font-size:10px;line-height:1.6;margin-top:4px}.claim-number{width:22px;height:22px;font-size:10px}.source-card{padding:19px;border-radius:10px;background:#fffefa;margin:18px 0}.source-card .section-head{margin-bottom:13px}.source-card .section-head strong{font-size:13px}.source-card .scope-label{font-size:10px;margin-top:0}.source-title{font-size:14px;line-height:1.7;letter-spacing:-.1px}.source-meta{font-size:11px;line-height:1.75}.source-passage{font-size:17px;line-height:1.75;border-left:3px solid #a8bf85;margin:17px 0;padding-left:15px}.source-card .subtle{font-size:11px}.source-card .actions{gap:13px}.source-card .inline-link{font-size:11px}.scope-label{font-size:11px}.evidence-panel>.muted{font-size:12px;line-height:1.75}.evidence-panel>h2{font-size:22px;font-weight:600;margin-top:7px;letter-spacing:-.5px}.evidence-panel .field>textarea{font-size:14px}.evidence-panel .field>select{font-size:13px;min-height:43px}.evidence-panel .field>span{font-size:12px}.evidence-panel .field{font-size:12px}.criteria-grid{gap:15px}.criterion{font-size:12px;line-height:1.8}.activity{font-size:12px;line-height:1.75}.activity summary{cursor:pointer;padding:8px 0}.disclosure{display:flex;gap:13px;align-items:center;margin:0 0 24px;padding:12px 15px;border:1px solid #e2e9d6;border-radius:8px;background:#eef4e5;font-size:11px;line-height:1.65;color:#8c9b7b}.disclosure strong{color:#6c8456;font-weight:600;white-space:nowrap}.disclosure span{min-width:0}.draft-editor{border-radius:11px;padding:23px;margin-bottom:25px}.draft-editor summary{cursor:pointer;font-size:12px}.draft-editor label{font-size:12px}.draft-editor textarea{font-size:17px;line-height:1.8}.reference-list{padding-top:8px}.reference-list .eyebrow{font-size:9px;color:#8a9d78}.reference-list p{font-size:11px;line-height:1.8;color:#809270}.reference-list p .inline-link{font-size:11px}.callout{font-size:12px;line-height:1.8;padding:16px 18px;border-radius:9px}.callout .btn{margin-top:12px}.before,.after{font-size:17px;line-height:1.7;padding:12px 14px}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.source-grid .source-card{margin:0}.log-list{list-style:none;padding:0 25px;border-radius:12px;box-shadow:0 2px 5px #214e3e02}.log-item{position:relative;padding:20px 0}.log-item h3{font-size:14px}.log-item p{font-size:12px;line-height:1.75}.log-item time{font-size:11px}.info-grid{gap:15px}.info-grid>div{padding:19px;background:#f1f5e9;border-radius:9px;font-size:13px}.info-grid p{line-height:1.75}

/* Dialogs feel like part of the workbench. */
dialog{max-width:700px;width:calc(100% - 40px);padding:29px;border-radius:17px;background:#fffef9;border-color:#d9e3ce;box-shadow:0 25px 90px #0925192e;max-height:calc(100dvh - 56px)}dialog::backdrop{background:#102b204d;backdrop-filter:blur(4px)}.dialog-head{margin-bottom:22px;align-items:center}.dialog-head h2{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:23px;letter-spacing:-.6px;font-weight:600}.dialog-head .icon-button{flex-shrink:0}#dialogContent p{font-size:13px;line-height:1.8}#dialogContent .actions{margin-top:23px}#dialogContent .field{font-size:12px}#dialogContent .field input{font-size:15px;min-height:46px}#dialogContent .field textarea{font-size:15px}.intro-lead{font-size:16px!important;line-height:1.8!important;color:#667e55!important;max-width:540px;margin-bottom:21px}.intro-features{display:grid;gap:8px;margin:22px 0}.intro-features p{display:grid;grid-template-columns:135px minmax(0,1fr);gap:17px;margin:0!important;padding:12px 0;border-bottom:1px solid #e6ecd9}.intro-features p:last-child{border:0}.intro-features strong{color:#4d7039}.intro-features span{color:#82966e}.project-picker{display:grid;gap:10px;max-height:52vh;overflow:auto}.project-choice{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;width:100%;padding:18px;border:1px solid #dde7d0;border-radius:10px;background:#fafcf4;text-align:left}.project-choice:hover{border-color:#adc68e;background:#f1f7e7}.project-choice.active{border-color:#aabe8d;background:#edf5e0}.project-choice>strong{flex:1;min-width:0;font-size:14px;color:#4e713c}.project-choice>span{max-width:45%;font-size:11px;line-height:1.7;color:#90a37b;text-align:right}.toast{z-index:1500;max-width:min(540px,calc(100% - 32px));font-size:12px;line-height:1.7;padding:13px 20px;border:1px solid #4d7252;border-radius:10px;background:#234b37;box-shadow:0 8px 28px #0e281921;bottom:23px}

/* Flexible compact layouts: work stays usable without the tutorial. */
@media(min-width:1600px){.page,.product-page{padding-top:38px}.product-grid{grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr)}.product-panel{padding:27px}.product-manuscript{grid-template-columns:180px minmax(0,1fr)}.product-manuscript .draft-editor{padding:31px 42px}}
@media(max-width:1280px){:root{--sidebar-width:218px}.topbar{padding-left:24px;padding-right:24px;gap:18px}.brand{min-width:168px;font-size:27px}.project-switcher-wrap{gap:14px}.project-switcher{max-width:340px}.top-actions{gap:9px}.page,.product-page{padding:28px 27px 35px}.site-footer{padding-left:27px;padding-right:27px}.workspace-mode,.project-context{padding-left:27px;padding-right:27px}.product-panel{padding:21px}.product-grid{grid-template-columns:minmax(0,1.25fr) minmax(275px,1fr);gap:18px}.collection-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:18px}.collection-layout .search-form{flex-wrap:wrap}.collection-layout .search-form .field{flex-basis:100%}.collection-layout .search-form .btn{width:100%}.metric-tile{padding:17px 16px;gap:10px}.metric-tile strong{font-size:25px}.metric-arrow{display:none!important}.workspace-hero{gap:20px}.workspace-welcome h1{font-size:28px}.tutorial-launch-card{min-width:240px;max-width:270px;padding:15px}.workspace-shortcuts{gap:10px}.shortcut-card{padding:15px 14px;gap:10px}.shortcut-card p,.shortcut-card small{font-size:10px}.shortcut-icon{width:32px;height:35px}.workspace{grid-template-columns:minmax(0,1fr)}.evidence-panel{border-left:0;border-top:1px solid var(--line)}.notebook-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:18px}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){:root{--sidebar-width:200px}.sidebar{padding:23px 13px 19px;gap:22px}#navigation button{font-size:12px;gap:10px;padding:10px 12px}.sidebar-tutorial{padding:12px 9px;gap:8px}.sidebar-tutorial strong{font-size:11px}.sidebar-tutorial small{font-size:8px}.sidebar-tutorial>span:last-child{display:none}.topbar{gap:13px;padding:13px 20px}.brand{min-width:155px;font-size:25px}.brand-caption{font-size:8px}.brand-symbol{width:30px;height:37px;font-size:29px}.project-switcher{max-width:275px;font-size:12px}.project-switcher-wrap{gap:10px}.top-actions .btn{padding:8px 10px}.status-button{font-size:9px;padding:6px 8px}.help-button span{display:none}.top-actions{gap:7px}.product-grid{grid-template-columns:minmax(0,1fr)}.product-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.product-side .product-panel+.product-panel{margin-top:0}.product-side .compact-record{grid-column:1/-1}.product-metrics{gap:10px}.metric-tile{flex-direction:column;align-items:flex-start;gap:7px}.workspace-hero{align-items:flex-start}.workspace-welcome h1{font-size:27px}.tutorial-launch-card{min-width:205px;max-width:230px;gap:10px;padding:14px}.tutorial-launch-card .tutorial-icon{width:34px;height:34px}.tutorial-launch-card strong{font-size:12px}.tutorial-launch-card small,.tutorial-launch-card p{font-size:10px}.workspace-shortcuts{gap:9px}.shortcut-card{flex-direction:column;align-items:flex-start;padding:16px}.shortcut-card .shortcut-arrow{position:absolute;right:14px;top:18px}.collection-layout{grid-template-columns:minmax(0,1fr)}.collection-search{position:static;order:-1}.collection-layout .search-form{flex-wrap:nowrap}.collection-layout .search-form .field{flex-basis:auto}.collection-layout .search-form .btn{width:auto}.notebook-grid{grid-template-columns:minmax(0,1fr)}.notebook-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.notebook-side .product-panel+.product-panel{margin-top:0}.product-manuscript{grid-template-columns:minmax(0,1fr);gap:18px}.product-manuscript>.document-outline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:13px 15px}.document-outline .section-head{margin:0}.document-outline nav{display:flex;align-items:center;flex-wrap:wrap;gap:2px}.document-outline .outline-item{width:auto;padding:7px 9px;font-size:11px}.document-outline>.btn{width:auto;margin:0 0 0 auto;font-size:10px}.outline-divider,.document-outline>.eyebrow,.document-outline>.subtle{display:none}.product-manuscript .draft-editor{padding:25px}.product-manuscript .draft-editor input{font-size:25px}.product-manuscript .draft-editor textarea{min-height:450px}.project-context{font-size:10px}}
@media(max-width:820px){.topbar{height:auto;min-height:73px;position:relative;flex-wrap:wrap;padding:15px 20px 11px;gap:12px}.brand{font-size:25px;min-width:0}.brand-caption{font-size:8px}.top-actions{order:2;margin-left:auto;gap:10px}.top-actions .status-button{font-size:10px}.project-switcher-wrap{order:3;flex-basis:100%;padding-top:8px;border-top:1px solid var(--line);gap:0}.header-divider{display:none}.project-switcher{max-width:100%;padding:4px 2px;min-height:31px;font-size:12px}.project-folder svg{width:16px;height:16px}.app-layout{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - 116px)}.sidebar{position:relative;top:0;height:auto;overflow:visible;flex-direction:row;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #0c2d22}.new-project-button{width:auto;flex-shrink:0;padding:9px 11px;font-size:11px;min-height:39px;white-space:nowrap}.new-project-button svg{width:15px;height:15px}#navigation{flex-direction:row;align-items:center;flex-wrap:nowrap;overflow-x:auto;gap:3px;min-width:0;width:auto;flex:1;scrollbar-width:none}#navigation::-webkit-scrollbar{display:none}#navigation button{width:auto;min-height:40px;flex:0 0 auto;padding:9px 12px;font-size:11px;gap:7px;white-space:nowrap}#navigation button.active,#navigation button[aria-current="page"]{box-shadow:inset 0 -2px #d9e9b4}#navigation .nav-label{display:none}#navigation .nav-icon{width:16px;min-width:16px;font-size:15px}#navigation .nav-count{font-size:9px;min-width:17px;height:17px}.sidebar-bottom{display:none}.page,.product-page{padding:27px 24px 34px}.site-footer{padding:6px 24px 21px}.workspace-mode,.project-context{padding:10px 24px}.workspace-welcome h1,.page-head h1{font-size:28px}.product-grid{grid-template-columns:minmax(0,1.25fr) minmax(250px,1fr);gap:18px}.product-side{display:block}.product-side .product-panel+.product-panel{margin-top:18px}.product-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-tile{flex-direction:row;align-items:center;gap:11px}.product-panel{padding:21px}.workspace-shortcuts{gap:12px}.shortcut-card{flex-direction:row;align-items:center;padding:15px}.shortcut-card .shortcut-arrow{display:none}.tutorial-launch-card{min-width:220px;max-width:250px}.notebook-grid{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}.notebook-side{display:block}.notebook-side .product-panel+.product-panel{margin-top:18px}.collection-layout{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px}.collection-search{order:initial}.collection-layout .search-form{flex-wrap:wrap}.collection-layout .search-form .field{flex-basis:100%}.collection-layout .search-form .btn{width:100%}.product-manuscript .draft-editor textarea{min-height:450px}}
@media(max-width:650px){.topbar{padding:14px 17px 10px;gap:12px}.top-actions{gap:8px}.top-actions .status-button{font-size:9px;padding:6px 7px}.top-actions .btn{font-size:11px;padding:8px 10px}.help-button{min-width:34px;padding:7px!important}.page,.product-page{padding:25px 18px 30px}.page-head,.product-head{flex-wrap:wrap;gap:14px;margin-bottom:22px}.page-head h1,.product-head h1{font-size:27px}.page-head p{font-size:12px}.product-head .actions{gap:8px}.workspace-mode,.project-context{padding:9px 18px}.site-footer{padding:7px 18px 20px;font-size:9px;flex-wrap:wrap;gap:5px}.workspace-hero{flex-direction:column;align-items:stretch;gap:18px;padding-bottom:22px;margin-bottom:20px}.workspace-welcome h1{font-size:28px}.workspace-welcome p{font-size:12px}.hero-kicker{font-size:9px}.tutorial-launch-card{max-width:none;width:100%;min-width:0;padding:14px 16px;gap:13px}.tutorial-launch-card strong{font-size:12px}.tutorial-launch-card small,.tutorial-launch-card p{font-size:10px}.tutorial-launch-card .tutorial-icon{width:35px;height:35px}.workspace-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:21px}.shortcut-card{flex-direction:column;align-items:flex-start;gap:10px;padding:14px 13px;border-radius:10px}.shortcut-card strong{font-size:11px}.shortcut-card p,.shortcut-card small{font-size:9px}.shortcut-icon{width:31px;height:34px}.product-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:21px}.metric-tile{flex-direction:row;align-items:center;padding:17px 18px;gap:14px}.metric-tile strong{font-size:27px}.metric-tile span{font-size:11px}.product-grid,.collection-layout,.notebook-grid{grid-template-columns:minmax(0,1fr);gap:19px}.product-panel{padding:22px}.product-main .product-panel+.product-panel,.product-side .product-panel+.product-panel{margin-top:19px}.product-side{display:grid;grid-template-columns:minmax(0,1fr);gap:19px}.product-side .product-panel+.product-panel{margin-top:0}.product-brief textarea{font-size:21px;min-height:115px}.product-brief .brief-bottom{flex-direction:column;gap:9px}.brief-bottom p{font-size:11px}.save-inline{margin:0}.collection-search{order:-1}.collection-layout .search-form{flex-wrap:nowrap}.collection-layout .search-form .field{flex-basis:auto}.collection-layout .search-form .btn{width:auto}.collection-paper h3{font-size:15px}.collection-paper .source-meta{font-size:10px}.collection-paper .scope-pill{font-size:9px}.notebook-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.notebook-side .product-panel+.product-panel{margin-top:0}.notebook-side .product-panel{padding:18px}.notebook-side textarea{font-size:13px;min-height:170px}.notebook-main textarea{font-size:16px;min-height:300px}.product-manuscript .draft-editor{padding:22px}.product-manuscript .draft-editor input{font-size:25px}.product-manuscript .draft-editor textarea{font-size:17px;min-height:430px;padding:16px}.editor-toolbar{padding:12px 15px}.document-outline nav{gap:1px}.document-outline>.section-head{flex-basis:100%;margin-bottom:4px}.document-outline>.btn{margin-left:0}.document-outline .outline-item{font-size:10px;padding:7px 8px}.source-grid{grid-template-columns:minmax(0,1fr)}.manuscript-panel,.evidence-panel{padding:23px 20px}.document-title{font-size:26px}.claim-text{font-size:17px}.criteria-grid{grid-template-columns:minmax(0,1fr)}.disclosure{align-items:flex-start;gap:7px;flex-direction:column;font-size:11px;padding:13px 15px;margin-bottom:22px}.artifact-card .artifact-excerpt{font-size:16px}.compact-source strong{font-size:12px}.compact-source small{font-size:10px}.source-note-footer{gap:8px}.source-note-footer .subtle{font-size:10px}.dialog-head h2{font-size:22px}dialog{padding:25px}.toast{font-size:12px;bottom:16px}.source-passage{font-size:16px}.info-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:430px){.topbar{padding:13px 14px 9px;gap:11px}.brand{font-size:24px;gap:8px}.brand-symbol{width:29px;height:35px;font-size:28px}.brand-caption{font-size:7px;letter-spacing:.03em}.top-actions{gap:6px}.top-actions .status-button{max-width:76px;white-space:normal;text-align:left;line-height:1.4;font-size:9px;padding:6px 7px;border-radius:7px}.status-dot{display:none!important}.top-actions .btn{padding:7px 9px;min-height:35px;font-size:10px}.export-button svg{width:15px;height:15px}.help-button{display:none!important}.project-switcher{font-size:11px}.sidebar{padding:9px 10px;gap:9px}.new-project-button{font-size:10px;padding:8px 9px;min-height:38px;gap:5px}#navigation button{padding:8px 10px;font-size:11px;min-height:38px}#navigation .nav-icon{display:none}.page,.product-page{padding:23px 14px 28px}.workspace-mode,.project-context{padding:9px 14px}.workspace-welcome h1{font-size:26px}.page-head h1{font-size:26px}.product-panel{padding:20px}.workspace-shortcuts{gap:7px}.shortcut-card{padding:12px 10px}.shortcut-card strong{font-size:10px}.shortcut-card p,.shortcut-card small{font-size:9px}.shortcut-icon{width:29px;height:31px}.shortcut-icon svg{width:18px;height:18px}.metric-tile{padding:15px 16px;gap:12px}.metric-tile strong{font-size:26px}.metric-tile span{font-size:10px}.product-brief textarea{font-size:20px;padding:13px}.task-form{gap:7px}.task-form input{font-size:12px;padding:10px}.task-form .btn{font-size:10px;padding:8px 10px}.task-row{font-size:12px;gap:10px}.task-state{font-size:8px;padding:3px 5px}.collection-layout .search-form{flex-wrap:wrap}.collection-layout .search-form .field{flex-basis:100%}.collection-layout .search-form .btn{width:100%}.collection-paper .section-head{gap:7px}.collection-paper select{font-size:11px;min-width:116px}.source-note-footer .subtle{width:100%}.notebook-side{display:block}.notebook-side .product-panel+.product-panel{margin-top:18px}.notebook-side textarea{min-height:140px;font-size:14px}.product-manuscript .draft-editor{padding:20px 16px}.product-manuscript .draft-editor input{font-size:23px}.product-manuscript .draft-editor textarea{font-size:16px;padding:14px;min-height:400px}.product-manuscript .draft-editor .actions .btn{font-size:11px;padding:9px 11px}.editor-toolbar .btn{font-size:10px;padding:6px 8px}.outline-item .subtle{display:none}.artifact-grid{grid-template-columns:minmax(0,1fr)}.site-footer{padding-left:15px;padding-right:15px}dialog{padding:23px 20px;width:calc(100% - 24px);max-height:calc(100dvh - 30px)}.dialog-head h2{font-size:21px}.intro-features p{grid-template-columns:1fr;gap:4px}.project-choice{flex-direction:column;gap:7px;padding:16px}.project-choice>span{max-width:100%;text-align:left}.manuscript-panel,.evidence-panel{padding:21px 18px}.source-card{padding:17px}.source-title{font-size:14px}.source-card .section-head{gap:7px}}
@media(pointer:coarse){button,.btn,summary,.inline-link{min-height:44px}.task-check,.task-toggle{width:30px;height:30px;min-height:30px}.task-row{padding:14px 0}.compact-source{min-height:66px}.document-outline button{min-height:38px}.new-project-button{min-height:42px}.source-note-footer .btn{min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Project artifact details and first-run welcome. */
.metric-body{min-width:0;flex:1}.metric-icon{flex-shrink:0}.metric-icon svg{width:18px;height:18px}.source-file-icon svg{width:17px;height:17px}.product-panel .section-head>div .eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:6px;color:#98a68b}.manuscript-preview-page{width:100%;padding:21px 20px;border:1px solid #e8ecde;border-radius:4px 4px 8px 8px;background:#fffffc;box-shadow:0 4px 10px #36502d04;position:relative}.manuscript-preview-page::before{content:"";position:absolute;left:18px;right:18px;top:0;height:2px;background:#e1e9d6}.manuscript-preview-page h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:20px;line-height:1.45;letter-spacing:-.25px;margin-bottom:11px}.manuscript-preview-page .artifact-excerpt{font-size:14px;line-height:1.85;color:#869479}.artifact-empty h3{font-size:14px;margin:10px 0 7px}.artifact-empty>span:not(.artifact-empty-icon){display:block;font-size:11px;color:#99a88a;line-height:1.75;margin-top:6px}.artifact-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:43px;border-radius:9px;background:#eef4e4;color:#a5ba8c}.artifact-empty-icon svg{width:22px;height:22px}.empty-feature-list{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:19px}.empty-feature-list span{display:inline-block;padding:5px 8px;border:1px solid #e1e9d6;background:#fcfef6;border-radius:5px;color:#95a684;font-size:9px;line-height:1.5}.compact-record{display:block;background:#f9fbf3}.compact-record>.section-head{width:100%;margin-bottom:8px}.compact-record .recent-activity{width:100%}.compact-record .activity-copy p{font-size:11px;line-height:1.75;margin-top:5px;color:#8b9c7b}.compact-record .artifact-empty{margin-top:14px;border:0;background:transparent;padding:8px 0 5px;text-align:left}.compact-record .artifact-empty p{font-size:12px}.compact-record .artifact-empty>span{font-size:11px}.hero-kicker .scope-pill{font-size:9px;letter-spacing:0;text-transform:none;margin-left:4px}.workspace-notes #researchAnalysisNotes{min-height:165px;font-size:14px;line-height:1.85}
#dialog:has(.welcome-art){max-width:720px;padding:27px 30px 28px}#dialog:has(.welcome-art) .dialog-head{margin-bottom:20px}#dialog:has(.welcome-art) .dialog-head h2{font-size:18px;letter-spacing:-.4px}#dialog:has(.welcome-art) .welcome-art{height:115px;border-radius:12px;background:#214c39;position:relative;overflow:hidden;margin-bottom:25px;isolation:isolate}#dialog:has(.welcome-art) .welcome-art::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 150%,#80a76565,transparent 65%)}.welcome-orbit{position:absolute;left:50%;top:50%;width:310px;height:175px;border:1px solid #a3c78735;border-radius:50%;transform:translate(-50%,-50%) rotate(-15deg)}.welcome-orbit::before,.welcome-orbit::after{content:"";position:absolute;left:50%;top:50%;width:410px;height:230px;border:1px solid #a3c78720;border-radius:50%;transform:translate(-50%,-50%)}.welcome-orbit::after{width:190px;height:105px;border-color:#a3c78740}.welcome-symbol{display:flex;align-items:center;justify-content:center;position:absolute;left:50%;top:50%;width:59px;height:65px;border:1px solid #bdce964d;border-radius:18px 18px 6px 18px;background:#dcebbd;color:#315337;font-family:Georgia,"Times New Roman",serif;font-size:49px;line-height:1;font-style:italic;padding:0 4px 8px 0;transform:translate(-50%,-50%) rotate(-5deg);box-shadow:0 10px 25px #102d2226}.welcome-chip{position:absolute;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #6e946553;border-radius:6px;background:#3c6246;color:#dfebd0;font-size:9px;box-shadow:0 4px 13px #0a281b13;letter-spacing:.02em}.welcome-chip::before{content:"";width:4px;height:4px;border-radius:50%;background:#b9d194}.welcome-chip:nth-of-type(3){left:19%;top:20px;transform:rotate(-7deg)}.welcome-chip:nth-of-type(4){right:18%;top:22px;transform:rotate(6deg)}.welcome-chip:nth-of-type(5){right:25%;bottom:15px;transform:rotate(-5deg)}#dialog:has(.welcome-art) .eyebrow{font-size:8px;letter-spacing:.15em;color:#91a17f;margin-bottom:8px}#dialog:has(.welcome-art) .intro-lead{font-family:Georgia,"Times New Roman",serif;font-size:29px!important;line-height:1.25!important;letter-spacing:-.6px!important;color:#315534!important;max-width:560px;margin-bottom:11px}#dialog:has(.welcome-art) #dialogContent>p:not(.intro-lead):not(.welcome-footnote){font-size:12px;line-height:1.85;color:#849676;max-width:610px}.welcome-tour{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #d8e5c8;border-radius:10px;background:#eff5e5;margin:22px 0 17px}.welcome-tour>div{min-width:0;flex:1}.welcome-tour strong{font-size:13px;line-height:1.4;color:#476d35;display:block;margin-bottom:5px}.welcome-tour span{display:block;font-size:10px;color:#8ba176;line-height:1.65}.welcome-tour .btn{flex-shrink:0;min-height:43px;font-size:11px}#dialog:has(.welcome-art) .intro-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:18px 0}#dialog:has(.welcome-art) .intro-features p{display:block;padding:0;border:0}#dialog:has(.welcome-art) .intro-features strong{display:block;font-size:12px;margin-bottom:5px}#dialog:has(.welcome-art) .intro-features span{display:block;font-size:11px;line-height:1.75;color:#8ca17b}#dialog:has(.welcome-art) #dialogContent>.actions{gap:9px;border-top:1px solid #e4ecd9;padding-top:18px;margin-top:20px}#dialog:has(.welcome-art) #dialogContent>.actions .btn{min-height:37px;font-size:10px;padding:8px 11px}#dialog:has(.welcome-art) .welcome-footnote{font-size:9px!important;color:#9daa92!important;margin:15px 0 0;line-height:1.6!important}
.export-options{display:grid;gap:9px;margin:20px 0}.export-option{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #dfe8d2;border-radius:9px;background:#fafcf5;text-align:left;width:100%}.export-option:hover{border-color:#a9c18d;background:#f2f7e7}.export-format{display:flex;align-items:center;justify-content:center;width:39px;height:43px;border:1px solid #e1ead4;border-radius:6px;background:#edf4e1;color:#85a366;font-size:9px;letter-spacing:.04em;flex-shrink:0}.export-option>span:nth-child(2){min-width:0;flex:1}.export-option strong{display:block;font-size:13px;font-weight:600;color:#557743;line-height:1.5}.export-option small{display:block;font-size:11px;margin-top:3px;color:#91a47e;line-height:1.6}.export-option>span:last-child{font-size:20px;color:#99b282}.export-option:first-child{background:#f2f7e9}.export-option:first-child .export-format{background:#e8f0db}#exportPreview{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.8;min-height:330px;background:#fafcf5;padding:18px;border-color:#dbe6cd;tab-size:2}
@media(max-width:1280px){.metric-icon{display:none!important}.metric-tile{flex-direction:row!important;align-items:center!important}.metric-body{flex:initial}.metric-arrow{display:block!important}.workspace-welcome .hero-kicker{flex-wrap:wrap}.manuscript-preview-page{padding:19px 17px}}
@media(max-width:650px){.metric-arrow{margin-left:auto!important}.metric-icon{display:none!important}.hero-kicker .scope-pill{font-size:8px}#dialog:has(.welcome-art){padding:23px}#dialog:has(.welcome-art) .welcome-art{height:100px;margin-bottom:22px}#dialog:has(.welcome-art) .intro-lead{font-size:26px!important}.welcome-tour{flex-direction:column;align-items:stretch;gap:13px;padding:16px}.welcome-tour .btn{width:100%}.welcome-chip:nth-of-type(3){left:11%}.welcome-chip:nth-of-type(4){right:10%}.welcome-chip:nth-of-type(5){right:19%}#dialog:has(.welcome-art) .intro-features{gap:13px}#dialog:has(.welcome-art) #dialogContent>.actions{gap:7px}#dialog:has(.welcome-art) #dialogContent>.actions .btn{flex:1}.export-option{padding:13px}.export-option strong{font-size:12px}.export-option small{font-size:10px}.manuscript-preview-page h3{font-size:21px}.manuscript-preview-page .artifact-excerpt{font-size:15px}}
@media(max-width:430px){#dialog:has(.welcome-art){padding:21px 18px}#dialog:has(.welcome-art) .welcome-art{height:88px}.welcome-symbol{width:50px;height:55px;font-size:41px}.welcome-chip{padding:4px 7px;font-size:8px}.welcome-chip:nth-of-type(3){left:7%;top:16px}.welcome-chip:nth-of-type(4){right:6%;top:19px}.welcome-chip:nth-of-type(5){right:14%;bottom:13px}#dialog:has(.welcome-art) .intro-lead{font-size:24px!important}#dialog:has(.welcome-art) .intro-features{gap:10px}#dialog:has(.welcome-art) .intro-features strong{font-size:11px}#dialog:has(.welcome-art) .intro-features span{font-size:10px}#dialog:has(.welcome-art) #dialogContent>.actions .btn{font-size:9px;padding:8px 7px;min-height:38px}.export-format{width:35px;height:39px;font-size:8px}.export-option{gap:11px}.export-option small{font-size:10px}.metric-arrow{display:none!important}}
@media(max-width:360px){.brand{font-size:22px;gap:7px}.brand-symbol{width:26px;height:32px;font-size:26px}.brand-caption{font-size:6px}.top-actions .status-button{max-width:62px;padding:5px;font-size:8px}.export-button svg{display:none}.top-actions .export-button{padding:7px 8px}.topbar{gap:8px}.shortcut-card p,.shortcut-card small{font-size:8px}.metric-tile{padding:14px 13px;gap:10px}}

/* Honest zero-state metering until a model backend exists. */
.top-actions .usage-button{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:94px;padding:6px 11px;border-radius:10px;line-height:1.25}
.usage-value{font-variant-numeric:tabular-nums;color:var(--ink);font-size:12px}.usage-value strong{font-size:15px;font-weight:700}.usage-connection{font-size:9px;color:#857d6a;white-space:nowrap}
.usage-state{display:flex;align-items:center;gap:8px;font-size:13px;color:#857d6a}.usage-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.usage-metrics>div{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:18px 12px}.usage-metrics strong{display:block;font-size:28px;font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink)}.usage-metrics span{display:block;margin-top:7px;font-size:12px;color:var(--muted)}
@media(max-width:430px){.top-actions .usage-button{min-width:76px;max-width:none;padding:5px 6px}.usage-value{font-size:10px}.usage-value strong{font-size:13px}.usage-connection{font-size:8px}.usage-metrics{gap:7px}.usage-metrics>div{padding:14px 8px}.usage-metrics span{font-size:10px}}
