texlite 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/DESIGN.md +98 -5
  2. package/OPERATIONS.md +27 -0
  3. package/README.md +6 -0
  4. package/README.zh-CN.md +6 -0
  5. package/dist/client/assets/AdminUsers-5cAOkdRO.js +1 -0
  6. package/dist/client/assets/CitationLibraryDialog-G2kKkA2f.js +1 -0
  7. package/dist/client/assets/Dashboard-BJDFbzQa.js +5 -0
  8. package/dist/client/assets/GitDialog-BEtLh2S_.js +3 -0
  9. package/dist/client/assets/GitHubAccountDialog-D2kdCzOs.js +1 -0
  10. package/dist/client/assets/{HistoryDialog-IurkSJuU.js → HistoryDialog-BwxDdj-j.js} +3 -3
  11. package/dist/client/assets/LatexEditor-sMjmvA6V.js +141 -0
  12. package/dist/client/assets/{PdfPreview-BTmvQDCV.js → PdfPreview-z5KnowpL.js} +1 -1
  13. package/dist/client/assets/ProjectIconPickerDialog-DNV7M7vH.js +1 -0
  14. package/dist/client/assets/ProjectSettings-Mf8zDGRu.js +1 -0
  15. package/dist/client/assets/ProjectWorkspace-BJFxjMCn.js +32 -0
  16. package/dist/client/assets/QuickOpenDialog-C758pouQ.js +1 -0
  17. package/dist/client/assets/{SelectionHistoryDialog-DiRKiMEt.js → SelectionHistoryDialog-p8L2n4RS.js} +2 -2
  18. package/dist/client/assets/SystemMetricsDialog-DDiSuglF.js +1 -0
  19. package/dist/client/assets/TagManagementDialog-BTVERmQS.js +1 -0
  20. package/dist/client/assets/WordCountDialog-B6RvAI6V.js +1 -0
  21. package/dist/client/assets/check-Hlb-tLSh.js +1 -0
  22. package/dist/client/assets/chevron-up-D0psXvTv.js +1 -0
  23. package/dist/client/assets/{chktex-CZIYuMLb.js → chktex-ZnIx425m.js} +1 -1
  24. package/dist/client/assets/{citationLibrary-ZeQPCv5O.js → citationLibrary-C9WnXB-1.js} +2 -2
  25. package/dist/client/assets/clock-3-C71NmJZI.js +1 -0
  26. package/dist/client/assets/{editor-CLY5CgkY.js → editor-_i6aPXT4.js} +1 -1
  27. package/dist/client/assets/eye-swovgNYS.js +1 -0
  28. package/dist/client/assets/github-y6i0qxSV.js +1 -0
  29. package/dist/client/assets/{hard-drive-B9h-a7KY.js → hard-drive-BqcHPdoY.js} +1 -1
  30. package/dist/client/assets/index-7WrjzKvC.js +5 -0
  31. package/dist/client/assets/index-C5T8_lAl.js +1 -0
  32. package/dist/client/assets/index-DF5cor0N.js +10 -0
  33. package/dist/client/assets/index-Do5FsFqg.js +1 -0
  34. package/dist/client/assets/index-Y-wXUwwe.css +1 -0
  35. package/dist/client/assets/{minimize-2-Crq_SyYM.js → minimize-2-CK7jUy7-.js} +1 -1
  36. package/dist/client/assets/{minus-Dn3USloe.js → minus-B2sswwWT.js} +1 -1
  37. package/dist/client/assets/{plus-BwKRQJHI.js → plus-Co7iyp5m.js} +1 -1
  38. package/dist/client/assets/{refresh-cw-C5yVKb1r.js → refresh-cw-BHVcjInn.js} +1 -1
  39. package/dist/client/assets/{search-CDyQWr9H.js → search-Tpi6WAga.js} +1 -1
  40. package/dist/client/assets/{sigma-9fiQHdlo.js → sigma-DoHJQYf7.js} +1 -1
  41. package/dist/client/assets/spellCheck-BSbFJY9f.js +1 -0
  42. package/dist/client/assets/{tags-C_3BvsxV.js → tags-BHDlIcSb.js} +1 -1
  43. package/dist/client/assets/{type-CnT0mBxu.js → type-C-6Jq_0r.js} +1 -1
  44. package/dist/client/index.html +16 -4
  45. package/dist/client/texlite-icon.svg +8 -0
  46. package/dist/server/app.js +6 -1
  47. package/dist/server/auth.js +0 -3
  48. package/dist/server/cgroups.js +35 -0
  49. package/dist/server/chktex.js +3 -4
  50. package/dist/server/compilerVersions.js +46 -0
  51. package/dist/server/config.js +8 -0
  52. package/dist/server/cpuMetrics.js +122 -0
  53. package/dist/server/db.js +13 -0
  54. package/dist/server/environment.js +11 -0
  55. package/dist/server/i18n.js +4 -2
  56. package/dist/server/latexCompletion.js +11 -88
  57. package/dist/server/projectOutline.js +4 -39
  58. package/dist/server/resourceMetrics.js +214 -0
  59. package/dist/server/routes/citations.js +22 -0
  60. package/dist/server/routes/projectFiles.js +1 -59
  61. package/dist/server/routes/system.js +32 -1
  62. package/dist/server/routes/users.js +21 -3
  63. package/dist/server/systemMemory.js +51 -0
  64. package/dist/server/updates.js +116 -0
  65. package/dist/shared/bibtexReferences.js +5 -1
  66. package/dist/shared/compilerVersions.js +11 -0
  67. package/dist/shared/latexCompletion.js +1 -0
  68. package/dist/shared/latexReferences.js +13 -3
  69. package/dist/shared/latexSymbols.js +77 -0
  70. package/dist/shared/resourceMetrics.js +1 -0
  71. package/dist/shared/updates.js +5 -0
  72. package/package.json +3 -1
  73. package/texlite.config.example.json +3 -0
  74. package/dist/client/assets/AdminUsers-Cau9nlv9.js +0 -1
  75. package/dist/client/assets/CitationLibraryDialog-Cf_bbSq3.js +0 -1
  76. package/dist/client/assets/Dashboard-JQ8pJe2d.js +0 -2
  77. package/dist/client/assets/GitDialog-BcqqWKr-.js +0 -3
  78. package/dist/client/assets/GitHubAccountDialog-Cqcezf6G.js +0 -1
  79. package/dist/client/assets/LatexEditor-msdbtTyG.js +0 -141
  80. package/dist/client/assets/ProjectIconPickerDialog-Cbm-0YQW.js +0 -1
  81. package/dist/client/assets/ProjectNavigationDialogs-CozcEa2v.js +0 -1
  82. package/dist/client/assets/ProjectSettings-BlthcpdA.js +0 -1
  83. package/dist/client/assets/ProjectWorkspace-DUPLJCQ3.js +0 -32
  84. package/dist/client/assets/SystemMetricsDialog-DJJZueSr.js +0 -1
  85. package/dist/client/assets/TagManagementDialog-3c-WAWQd.js +0 -1
  86. package/dist/client/assets/WordCountDialog-BqlX2s36.js +0 -1
  87. package/dist/client/assets/check-EZ2H-iDj.js +0 -1
  88. package/dist/client/assets/external-link-DGfNJFKy.js +0 -1
  89. package/dist/client/assets/github-DJezB5ef.js +0 -1
  90. package/dist/client/assets/index-BgeOKYIx.js +0 -10
  91. package/dist/client/assets/index-CMBalIBd.css +0 -1
  92. package/dist/client/assets/index-DmBKxZf9.js +0 -5
  93. package/dist/client/assets/spellCheck-BCpcq-VN.js +0 -1
  94. package/dist/client/assets/user-plus-pxz36w4w.js +0 -1
  95. package/dist/client/assets/x-DN0Ol4Ya.js +0 -1
  96. package/dist/server/projectSearch.js +0 -117
@@ -0,0 +1 @@
1
+ import{c as kn,o as L,q as ae,t as Q,v as D,p as Ee,x as Ae,w as mt,y as Un,z as Vn}from"./index-DF5cor0N.js";import{r as s,R as ue,j as y,a as ge,b as Kn}from"./react-CltQJflK.js";import{r as ht,s as Bn,t as Wn,u as zn}from"./index-C5T8_lAl.js";const ko=kn("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);var Gn=Object.defineProperty,U=(t,e)=>Gn(t,"name",{value:e,configurable:!0});function vt(t){const e=s.forwardRef((n,r)=>{let{children:o,...c}=n,i=null,a=!1;const f=[];Fe(o)&&typeof pe=="function"&&(o=pe(o._payload)),s.Children.forEach(o,d=>{if(gt(d)){a=!0;const h=d;let m="child"in h.props?h.props.child:h.props.children;Fe(m)&&typeof pe=="function"&&(m=pe(m._payload)),i=Yn(h,m),f.push(i?.props?.children)}else f.push(d)}),i?i=s.cloneElement(i,void 0,f):!a&&s.Children.count(o)===1&&s.isValidElement(o)&&(i=o);const u=i?bt(i):void 0,v=L(r,u);if(!i){if(o||o===0)throw new Error(a?qn(t):Xn(t));return o}const l=Et(c,i.props??{});return i.type!==s.Fragment&&(l.ref=r?v:u),s.cloneElement(i,l)});return e.displayName=`${t}.Slot`,e}U(vt,"createSlot");var yt=Symbol.for("radix.slottable");function Hn(t){const e=U(n=>"child"in n?n.children(n.child):n.children,"Slottable");return e.displayName=`${t}.Slottable`,e.__radixId=yt,e}U(Hn,"createSlottable");var Yn=U((t,e)=>{if("child"in t.props){const n=t.props.child;return s.isValidElement(n)?s.cloneElement(n,void 0,t.props.children(n.props.children)):null}return s.isValidElement(e)?e:null},"getSlottableElementFromSlottable");function Et(t,e){const n={...e};for(const r in e){const o=t[r],c=e[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...a)=>{const f=c(...a);return o(...a),f}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"?n[r]=[o,c].filter(Boolean).join(" "):r==="aria-describedby"&&(n[r]=Ct(c,o))}return{...t,...n}}U(Et,"mergeProps");function bt(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}U(bt,"getElementRef");function gt(t){return s.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===yt}U(gt,"isSlottable");var Zn=Symbol.for("react.lazy");function Fe(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===Zn&&"_payload"in t&&St(t._payload)}U(Fe,"isLazyComponent");function St(t){return typeof t=="object"&&t!==null&&"then"in t}U(St,"isPromiseLike");function Ct(...t){const e=new Set;for(const n of t)if(typeof n=="string")for(const r of String(n).trim().split(/\s+/))r&&e.add(r);return e.size>0?Array.from(e).join(" "):void 0}U(Ct,"concatAriaDescribedby");var Xn=U(t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),qn=U(t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),pe=ue[" use ".trim().toString()],Jn=Object.defineProperty,Qn=(t,e)=>Jn(t,"name",{value:e,configurable:!0}),er=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],tr=er.reduce((t,e)=>{const n=vt(`Primitive.${e}`),r=s.forwardRef((o,c)=>{const{asChild:i,...a}=o,f=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(f,{...a,ref:c})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function nr(t,e){t&&ge.flushSync(()=>t.dispatchEvent(e))}Qn(nr,"dispatchDiscreteCustomEvent");var rr=Object.defineProperty,V=(t,e)=>rr(t,"name",{value:e,configurable:!0});function ce(t){const e=s.forwardRef((n,r)=>{let{children:o,...c}=n,i=null,a=!1;const f=[];Ne(o)&&typeof me=="function"&&(o=me(o._payload)),s.Children.forEach(o,d=>{if(wt(d)){a=!0;const h=d;let m="child"in h.props?h.props.child:h.props.children;Ne(m)&&typeof me=="function"&&(m=me(m._payload)),i=sr(h,m),f.push(i?.props?.children)}else f.push(d)}),i?i=s.cloneElement(i,void 0,f):!a&&s.Children.count(o)===1&&s.isValidElement(o)&&(i=o);const u=i?It(i):void 0,v=L(r,u);if(!i){if(o||o===0)throw new Error(a?ar(t):cr(t));return o}const l=Pt(c,i.props??{});return i.type!==s.Fragment&&(l.ref=r?v:u),s.cloneElement(i,l)});return e.displayName=`${t}.Slot`,e}V(ce,"createSlot");var Rt=Symbol.for("radix.slottable");function or(t){const e=V(n=>"child"in n?n.children(n.child):n.children,"Slottable");return e.displayName=`${t}.Slottable`,e.__radixId=Rt,e}V(or,"createSlottable");var sr=V((t,e)=>{if("child"in t.props){const n=t.props.child;return s.isValidElement(n)?s.cloneElement(n,void 0,t.props.children(n.props.children)):null}return s.isValidElement(e)?e:null},"getSlottableElementFromSlottable");function Pt(t,e){const n={...e};for(const r in e){const o=t[r],c=e[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...a)=>{const f=c(...a);return o(...a),f}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"?n[r]=[o,c].filter(Boolean).join(" "):r==="aria-describedby"&&(n[r]=_t(c,o))}return{...t,...n}}V(Pt,"mergeProps");function It(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}V(It,"getElementRef");function wt(t){return s.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Rt}V(wt,"isSlottable");var ir=Symbol.for("react.lazy");function Ne(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===ir&&"_payload"in t&&xt(t._payload)}V(Ne,"isLazyComponent");function xt(t){return typeof t=="object"&&t!==null&&"then"in t}V(xt,"isPromiseLike");function _t(...t){const e=new Set;for(const n of t)if(typeof n=="string")for(const r of String(n).trim().split(/\s+/))r&&e.add(r);return e.size>0?Array.from(e).join(" "):void 0}V(_t,"concatAriaDescribedby");var cr=V(t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),ar=V(t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),me=ue[" use ".trim().toString()],ur=Object.defineProperty,N=(t,e)=>ur(t,"name",{value:e,configurable:!0});function He(t){const e=t+"CollectionProvider",[n,r]=ae(e),[o,c]=n(e,{collectionRef:{current:null},itemMap:new Map}),i=N(E=>{const{scope:I,children:C}=E,R=s.useRef(null),p=s.useRef(new Map).current;return y.jsx(o,{scope:I,itemMap:p,collectionRef:R,children:C})},"CollectionProvider");i.displayName=e;const a=t+"CollectionSlot",f=ce(a),u=s.forwardRef((E,I)=>{const{scope:C,children:R}=E,p=c(a,C),b=L(I,p.collectionRef);return y.jsx(f,{ref:b,children:R})});u.displayName=a;const v=t+"CollectionItemSlot",l="data-radix-collection-item",d=ce(v),h=s.forwardRef((E,I)=>{const{scope:C,children:R,...p}=E,b=s.useRef(null),S=L(I,b),P=c(v,C);return s.useEffect(()=>(P.itemMap.set(b,{ref:b,...p}),()=>{P.itemMap.delete(b)})),y.jsx(d,{[l]:"",ref:S,children:R})});h.displayName=v;function m(E){const I=c(t+"CollectionConsumer",E);return s.useCallback(()=>{const R=I.collectionRef.current;if(!R)return[];const p=Array.from(R.querySelectorAll(`[${l}]`));return Array.from(I.itemMap.values()).sort((P,O)=>p.indexOf(P.ref.current)-p.indexOf(O.ref.current))},[I.collectionRef,I.itemMap])}return N(m,"useCollection"),[{Provider:i,Slot:u,ItemSlot:h},m,r]}N(He,"createCollection");var at=new WeakMap,_e=class X extends Map{static{N(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],at.set(this,!0)}set(e,n){return at.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,n),this}insert(e,n,r){const o=this.has(n),c=this.#e.length,i=Ye(e);let a=i>=0?i:c+i;const f=a<0||a>=c?-1:a;if(f===this.size||o&&f===this.size-1||f===-1)return this.set(n,r),this;const u=this.size+(o?0:1);i<0&&a++;const v=[...this.#e];let l,d=!1;for(let h=a;h<u;h++)if(a===h){let m=v[h];v[h]===n&&(m=v[h+1]),o&&this.delete(n),l=this.get(m),this.set(n,r)}else{!d&&v[h-1]===n&&(d=!0);const m=v[d?h:h-1],E=l;l=this.get(m),this.delete(m),this.set(m,E)}return this}with(e,n,r){const o=new X(this);return o.insert(e,n,r),o}before(e){const n=this.#e.indexOf(e)-1;if(!(n<0))return this.entryAt(n)}setBefore(e,n,r){const o=this.#e.indexOf(e);return o===-1?this:this.insert(o,n,r)}after(e){let n=this.#e.indexOf(e);if(n=n===-1||n===this.size-1?-1:n+1,n!==-1)return this.entryAt(n)}setAfter(e,n,r){const o=this.#e.indexOf(e);return o===-1?this:this.insert(o+1,n,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){const n=super.delete(e);return n&&this.#e.splice(this.#e.indexOf(e),1),n}deleteAt(e){const n=this.keyAt(e);return n!==void 0?this.delete(n):!1}at(e){const n=ye(this.#e,e);if(n!==void 0)return this.get(n)}entryAt(e){const n=ye(this.#e,e);if(n!==void 0)return[n,this.get(n)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return ye(this.#e,e)}from(e,n){const r=this.indexOf(e);if(r===-1)return;let o=r+n;return o<0&&(o=0),o>=this.size&&(o=this.size-1),this.at(o)}keyFrom(e,n){const r=this.indexOf(e);if(r===-1)return;let o=r+n;return o<0&&(o=0),o>=this.size&&(o=this.size-1),this.keyAt(o)}find(e,n){let r=0;for(const o of this){if(Reflect.apply(e,n,[o,r,this]))return o;r++}}findIndex(e,n){let r=0;for(const o of this){if(Reflect.apply(e,n,[o,r,this]))return r;r++}return-1}filter(e,n){const r=[];let o=0;for(const c of this)Reflect.apply(e,n,[c,o,this])&&r.push(c),o++;return new X(r)}map(e,n){const r=[];let o=0;for(const c of this)r.push([c[0],Reflect.apply(e,n,[c,o,this])]),o++;return new X(r)}reduce(...e){const[n,r]=e;let o=0,c=r??this.at(0);for(const i of this)o===0&&e.length===1?c=i:c=Reflect.apply(n,this,[c,i,o,this]),o++;return c}reduceRight(...e){const[n,r]=e;let o=r??this.at(-1);for(let c=this.size-1;c>=0;c--){const i=this.at(c);c===this.size-1&&e.length===1?o=i:o=Reflect.apply(n,this,[o,i,c,this])}return o}toSorted(e){const n=[...this.entries()].sort(e);return new X(n)}toReversed(){const e=new X;for(let n=this.size-1;n>=0;n--){const r=this.keyAt(n),o=this.get(r);e.set(r,o)}return e}toSpliced(...e){const n=[...this.entries()];return n.splice(...e),new X(n)}slice(e,n){const r=new X;let o=this.size-1;if(e===void 0)return r;e<0&&(e=e+this.size),n!==void 0&&n>0&&(o=n-1);for(let c=e;c<=o;c++){const i=this.keyAt(c),a=this.get(i);r.set(i,a)}return r}every(e,n){let r=0;for(const o of this){if(!Reflect.apply(e,n,[o,r,this]))return!1;r++}return!0}some(e,n){let r=0;for(const o of this){if(Reflect.apply(e,n,[o,r,this]))return!0;r++}return!1}};function ye(t,e){if("at"in Array.prototype)return Array.prototype.at.call(t,e);const n=Ot(t,e);return n===-1?void 0:t[n]}N(ye,"at");function Ot(t,e){const n=t.length,r=Ye(e),o=r>=0?r:n+r;return o<0||o>=n?-1:o}N(Ot,"toSafeIndex");function Ye(t){return t!==t||t===0?0:Math.trunc(t)}N(Ye,"toSafeInteger");function lr(t){const e=t+"CollectionProvider",[n,r]=ae(e),[o,c]=n(e,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new _e,setItemMap:N(()=>{},"setItemMap")}),i=N(({state:p,...b})=>p?y.jsx(f,{...b,state:p}):y.jsx(a,{...b}),"CollectionProvider");i.displayName=e;const a=N(p=>{const b=I();return y.jsx(f,{...p,state:b})},"CollectionInit");a.displayName=e+"Init";const f=N(p=>{const{scope:b,children:S,state:P}=p,O=s.useRef(null),[x,w]=s.useState(null),W=L(O,w),[$,_]=P;return s.useEffect(()=>{if(!x)return;const j=Tt(()=>{});return j.observe(x,{childList:!0,subtree:!0}),()=>{j.disconnect()}},[x]),y.jsx(o,{scope:b,itemMap:$,setItemMap:_,collectionRef:W,collectionRefObject:O,collectionElement:x,children:S})},"CollectionProviderImpl");f.displayName=e+"Impl";const u=t+"CollectionSlot",v=ce(u),l=s.forwardRef((p,b)=>{const{scope:S,children:P}=p,O=c(u,S),x=L(b,O.collectionRef);return y.jsx(v,{ref:x,children:P})});l.displayName=u;const d=t+"CollectionItemSlot",h="data-radix-collection-item",m=ce(d),E=s.forwardRef((p,b)=>{const{scope:S,children:P,...O}=p,x=s.useRef(null),[w,W]=s.useState(null),$=L(b,x,W),_=c(d,S),{setItemMap:j}=_,z=s.useRef(O);Dt(z.current,O)||(z.current=O);const G=z.current;return s.useEffect(()=>{const H=G;return j(T=>w?T.has(w)?T.set(w,{...H,element:w}).toSorted(Le):(T.set(w,{...H,element:w}),T.toSorted(Le)):T),()=>{j(T=>!w||!T.has(w)?T:(T.delete(w),new _e(T)))}},[w,G,j]),y.jsx(m,{[h]:"",ref:$,children:P})});E.displayName=d;function I(){return s.useState(new _e)}N(I,"useInitCollection");function C(p){const{itemMap:b}=c(t+"CollectionConsumer",p);return b}return N(C,"useCollection"),[{Provider:i,Slot:l,ItemSlot:E},{createCollectionScope:r,useCollection:C,useInitCollection:I}]}N(lr,"createCollection");function Dt(t,e){if(t===e)return!0;if(typeof t!="object"||typeof e!="object"||t==null||e==null)return!1;const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(e,o)||t[o]!==e[o])return!1;return!0}N(Dt,"shallowEqual");function Mt(t,e){return!!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}N(Mt,"isElementPreceding");function Le(t,e){return!t[1].element||!e[1].element?0:Mt(t[1].element,e[1].element)?-1:1}N(Le,"sortByDocumentPosition");function Tt(t){return new MutationObserver(n=>{for(const r of n)if(r.type==="childList"){t();return}})}N(Tt,"getChildListObserver");var dr=Object.defineProperty,fr=(t,e)=>dr(t,"name",{value:e,configurable:!0}),pr={LTR:"ltr"},mr=s.createContext(void 0);function Ze(t){const e=s.useContext(mr);return t||e||pr.LTR}fr(Ze,"useDirection");var hr=Object.defineProperty,K=(t,e)=>hr(t,"name",{value:e,configurable:!0});function Xe(t){const e=s.forwardRef((n,r)=>{let{children:o,...c}=n,i=null,a=!1;const f=[];$e(o)&&typeof he=="function"&&(o=he(o._payload)),s.Children.forEach(o,d=>{if(Lt(d)){a=!0;const h=d;let m="child"in h.props?h.props.child:h.props.children;$e(m)&&typeof he=="function"&&(m=he(m._payload)),i=yr(h,m),f.push(i?.props?.children)}else f.push(d)}),i?i=s.cloneElement(i,void 0,f):!a&&s.Children.count(o)===1&&s.isValidElement(o)&&(i=o);const u=i?Nt(i):void 0,v=L(r,u);if(!i){if(o||o===0)throw new Error(a?gr(t):br(t));return o}const l=Ft(c,i.props??{});return i.type!==s.Fragment&&(l.ref=r?v:u),s.cloneElement(i,l)});return e.displayName=`${t}.Slot`,e}K(Xe,"createSlot");var At=Symbol.for("radix.slottable");function vr(t){const e=K(n=>"child"in n?n.children(n.child):n.children,"Slottable");return e.displayName=`${t}.Slottable`,e.__radixId=At,e}K(vr,"createSlottable");var yr=K((t,e)=>{if("child"in t.props){const n=t.props.child;return s.isValidElement(n)?s.cloneElement(n,void 0,t.props.children(n.props.children)):null}return s.isValidElement(e)?e:null},"getSlottableElementFromSlottable");function Ft(t,e){const n={...e};for(const r in e){const o=t[r],c=e[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...a)=>{const f=c(...a);return o(...a),f}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"?n[r]=[o,c].filter(Boolean).join(" "):r==="aria-describedby"&&(n[r]=jt(c,o))}return{...t,...n}}K(Ft,"mergeProps");function Nt(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}K(Nt,"getElementRef");function Lt(t){return s.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===At}K(Lt,"isSlottable");var Er=Symbol.for("react.lazy");function $e(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===Er&&"_payload"in t&&$t(t._payload)}K($e,"isLazyComponent");function $t(t){return typeof t=="object"&&t!==null&&"then"in t}K($t,"isPromiseLike");function jt(...t){const e=new Set;for(const n of t)if(typeof n=="string")for(const r of String(n).trim().split(/\s+/))r&&e.add(r);return e.size>0?Array.from(e).join(" "):void 0}K(jt,"concatAriaDescribedby");var br=K(t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),gr=K(t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),he=ue[" use ".trim().toString()],Sr=Object.defineProperty,Cr=(t,e)=>Sr(t,"name",{value:e,configurable:!0}),Rr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Se=Rr.reduce((t,e)=>{const n=Xe(`Primitive.${e}`),r=s.forwardRef((o,c)=>{const{asChild:i,...a}=o,f=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(f,{...a,ref:c})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function qe(t,e){t&&ge.flushSync(()=>t.dispatchEvent(e))}Cr(qe,"dispatchDiscreteCustomEvent");var Pr=Object.defineProperty,F=(t,e)=>Pr(t,"name",{value:e,configurable:!0}),je="dismissableLayer.update",Ir="dismissableLayer.pointerDownOutside",wr="dismissableLayer.focusOutside",ut,kt=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),xr=s.forwardRef(F(function(e,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:c,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:f,onDismiss:u,...v}=e,l=s.useContext(kt),[d,h]=s.useState(null),m=d?.ownerDocument??globalThis?.document,[,E]=s.useState({}),I=L(n,h),C=Array.from(l.layers),[R]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),p=R?C.indexOf(R):-1,b=d?C.indexOf(d):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,P=b>=p,O=s.useRef(!1),x=Ut(_=>{i?.(_),f?.(_),_.defaultPrevented||u?.()},{ownerDocument:m,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:O,dismissableSurfaces:l.dismissableSurfaces,shouldHandlePointerDownOutside:s.useCallback(_=>{if(!(_ instanceof Node))return!1;const j=[...l.branches].some(z=>z.contains(_));return P&&!j},[l.branches,P])}),w=Vt(_=>{if(o&&O.current)return;const j=_.target;[...l.branches].some(G=>G.contains(j))||(a?.(_),f?.(_),_.defaultPrevented||u?.())},m),W=d?b===C.length-1:!1,$=Q(_=>{_.key==="Escape"&&(c?.(_),!_.defaultPrevented&&u&&(_.preventDefault(),u()))});return s.useEffect(()=>{if(W)return m.addEventListener("keydown",$,{capture:!0}),()=>m.removeEventListener("keydown",$,{capture:!0})},[m,W,$]),s.useEffect(()=>{if(d)return r&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(ut=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),ke(),()=>{r&&(l.layersWithOutsidePointerEventsDisabled.delete(d),l.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=ut))}},[d,m,r,l]),s.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),ke())},[d,l]),s.useEffect(()=>{const _=F(()=>E({}),"handleUpdate");return document.addEventListener(je,_),()=>document.removeEventListener(je,_)},[]),y.jsx(Se.div,{...v,ref:I,style:{pointerEvents:S?P?"auto":"none":void 0,...e.style},onFocusCapture:D(e.onFocusCapture,w.onFocusCapture),onBlurCapture:D(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:D(e.onPointerDownCapture,x.onPointerDownCapture)})},"DismissableLayer"));function _r(){const t=s.useContext(kt),[e,n]=s.useState(null);return s.useEffect(()=>{if(e)return t.dismissableSurfaces.add(e),()=>{t.dismissableSurfaces.delete(e)}},[e,t.dismissableSurfaces]),n}F(_r,"useDismissableLayerSurface");var Or=F(()=>!0,"IS_TRUE");function Ut(t,e){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:c,shouldHandlePointerDownOutside:i=Or}=e,a=Q(t),f=s.useRef(!1),u=s.useRef(!1),v=s.useRef(new Map),l=s.useRef(()=>{});return s.useEffect(()=>{function d(){u.current=!1,o.current=!1,v.current.clear()}F(d,"resetOutsideInteraction");function h(){return Array.from(v.current.values()).some(Boolean)}F(h,"isOutsideInteractionIntercepted");function m(p){if(!u.current)return;const b=p.target;b instanceof Node&&[...c].some(P=>P.contains(b))||v.current.set(p.type,!0),p.type==="click"&&window.setTimeout(()=>{u.current&&l.current()},0)}F(m,"handleInteractionCapture");function E(p){u.current&&v.current.set(p.type,!1)}F(E,"handleInteractionBubble");const I=F(p=>{if(p.target&&!f.current){let b=function(){n.removeEventListener("click",l.current);const P=h();d(),P||Je(Ir,a,S,{discrete:!0})};if(F(b,"handleAndDispatchPointerDownOutsideEvent"),!i(p.target)){n.removeEventListener("click",l.current),d(),f.current=!1;return}const S={originalEvent:p};u.current=!0,o.current=r&&p.button===0,v.current.clear(),!r||p.button!==0?b():(n.removeEventListener("click",l.current),l.current=b,n.addEventListener("click",l.current,{once:!0}))}else n.removeEventListener("click",l.current),d();f.current=!1},"handlePointerDown"),C=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const p of C)n.addEventListener(p,m,!0),n.addEventListener(p,E);const R=window.setTimeout(()=>{n.addEventListener("pointerdown",I)},0);return()=>{window.clearTimeout(R),n.removeEventListener("pointerdown",I),n.removeEventListener("click",l.current);for(const p of C)n.removeEventListener(p,m,!0),n.removeEventListener(p,E)}},[n,a,r,o,c,i]),{onPointerDownCapture:F(()=>f.current=!0,"onPointerDownCapture")}}F(Ut,"usePointerDownOutside");function Vt(t,e=globalThis?.document){const n=Q(t),r=s.useRef(!1);return s.useEffect(()=>{const o=F(c=>{c.target&&!r.current&&Je(wr,n,{originalEvent:c},{discrete:!1})},"handleFocus");return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:F(()=>r.current=!0,"onFocusCapture"),onBlurCapture:F(()=>r.current=!1,"onBlurCapture")}}F(Vt,"useFocusOutside");function ke(){const t=new CustomEvent(je);document.dispatchEvent(t)}F(ke,"dispatchUpdate");function Je(t,e,n,{discrete:r}){const o=n.originalEvent.target,c=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?qe(o,c):o.dispatchEvent(c)}F(Je,"handleAndDispatchCustomEvent");var Dr=Object.defineProperty,A=(t,e)=>Dr(t,"name",{value:e,configurable:!0}),Oe="focusScope.autoFocusOnMount",De="focusScope.autoFocusOnUnmount",lt={bubbles:!1,cancelable:!0},Mr=s.forwardRef(A(function(e,n){const{loop:r=!1,trapped:o=!1,branches:c,onMountAutoFocus:i,onUnmountAutoFocus:a,...f}=e,[u,v]=s.useState(null),l=Q(i),d=Q(a),h=s.useRef(null),m=L(n,v),E=s.useRef(c);s.useEffect(()=>{E.current=c});const I=s.useCallback(p=>p?u?.contains(p)?!0:!!E.current?.some(b=>b.contains(p)):!1,[u]),C=s.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;s.useEffect(()=>{if(o){let p=function(O){if(C.paused||!u)return;const x=O.target;I(x)?h.current=x:Y(h.current,{select:!0})},b=function(O){if(C.paused||!u)return;const x=O.relatedTarget;x!==null&&(I(x)||Y(h.current,{select:!0}))},S=function(O){if(document.activeElement===document.body)for(const w of O)w.removedNodes.length>0&&Y(u)};A(p,"handleFocusIn"),A(b,"handleFocusOut"),A(S,"handleMutations"),document.addEventListener("focusin",p),document.addEventListener("focusout",b);const P=new MutationObserver(S);return u&&P.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",b),P.disconnect()}}},[o,u,C.paused,I]),s.useEffect(()=>{if(u){dt.add(C);const p=document.activeElement;if(!u.contains(p)){const S=new CustomEvent(Oe,lt);u.addEventListener(Oe,l),u.dispatchEvent(S),S.defaultPrevented||(Gt(qt(Qe(u)),{select:!0}),document.activeElement===p&&Y(u))}return()=>{u.removeEventListener(Oe,l),setTimeout(()=>{const S=new CustomEvent(De,lt);u.addEventListener(De,d),u.dispatchEvent(S),S.defaultPrevented||Y(p??document.body,{select:!0}),u.removeEventListener(De,d),dt.remove(C)},0)}}},[u,l,d,C]);const R=s.useCallback(p=>{if(!r&&!o||C.paused)return;const b=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,S=document.activeElement;if(b&&S){const P=p.currentTarget,[O,x]=Ht(P);O&&x?!p.shiftKey&&S===x?(p.preventDefault(),r&&Y(O,{select:!0})):p.shiftKey&&S===O&&(p.preventDefault(),r&&Y(x,{select:!0})):S===P&&p.preventDefault()}},[r,o,C.paused]);return y.jsx(Se.div,{tabIndex:-1,...f,ref:m,onKeyDown:R})},"FocusScope")),Kt=s.createContext(null);function Bt({registry:t,children:e}){return t?y.jsx(Kt.Provider,{value:t,children:e}):e}A(Bt,"FocusScopeBranchProvider");function Wt(){const[t,e]=s.useState([]),n=s.useMemo(()=>({add:A(r=>e(o=>o.includes(r)?o:[...o,r]),"add"),remove:A(r=>e(o=>o.filter(c=>c!==r)),"remove")}),[]);return{nodes:t,registry:n}}A(Wt,"useFocusScopeBranchRegistry");function zt(t){const e=s.useContext(Kt);s.useEffect(()=>{if(!(!t||!e))return e.add(t),()=>e.remove(t)},[t,e])}A(zt,"useFocusScopeBranch");function Gt(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(Y(r,{select:e}),document.activeElement!==n)return}A(Gt,"focusFirst");function Ht(t){const e=Qe(t),n=Ue(e,t),r=Ue(e.reverse(),t);return[n,r]}A(Ht,"getTabbableEdges");function Qe(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:A(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)e.push(n.currentNode);return e}A(Qe,"getTabbableCandidates");function Ue(t,e){const n=typeof e.checkVisibility=="function"&&e.checkVisibility({checkVisibilityCSS:!0});for(const r of t)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Yt(r,{upTo:e})))return r}A(Ue,"findVisible");function Yt(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}A(Yt,"isHidden");function Zt(t){return t instanceof HTMLInputElement&&"select"in t}A(Zt,"isSelectableInput");function Y(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&Zt(t)&&e&&t.select()}}A(Y,"focus");var dt=Xt();function Xt(){let t=[];return{add(e){const n=t[0];e!==n&&n?.pause(),t=Ve(t,e),t.unshift(e)},remove(e){t=Ve(t,e),t[0]?.resume()}}}A(Xt,"createFocusScopesStack");function Ve(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}A(Ve,"arrayRemove");function qt(t){return t.filter(e=>e.tagName!=="A")}A(qt,"removeLinks");var Tr=Object.defineProperty,Ar=(t,e)=>Tr(t,"name",{value:e,configurable:!0}),Fr=s.forwardRef(Ar(function(e,n){const{container:r,...o}=e,[c,i]=s.useState(!1);Ee(()=>i(!0),[]);const a=r||c&&globalThis?.document?.body;return a?ge.createPortal(y.jsx(Se.div,{...o,ref:n}),a):null},"Portal")),Nr=Object.defineProperty,Z=(t,e)=>Nr(t,"name",{value:e,configurable:!0});function Jt(t,e){return s.useReducer((n,r)=>e[n][r]??n,t)}Z(Jt,"useStateMachine");var Qt=Z(t=>{const{present:e,children:n}=t,r=en(e),o=typeof n=="function"?n({present:r.isPresent}):s.Children.only(n),c=tn(r.ref,nn(o));return typeof n=="function"||r.isPresent?s.cloneElement(o,{ref:c}):null},"Presence");function en(t){const[e,n]=s.useState(),r=s.useRef(null),o=s.useRef(t),c=s.useRef("none"),i=s.useRef(void 0),a=t?"mounted":"unmounted",[f,u]=Jt(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{f==="mounted"?(c.current=i.current??oe(r.current),i.current=void 0):c.current="none"},[f]),Ee(()=>{const v=r.current,l=o.current;if(l!==t){const h=c.current,m=oe(v);t?(i.current=m,u("MOUNT")):m==="none"||v?.display==="none"?u("UNMOUNT"):u(l&&h!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,u]),Ee(()=>{if(e){let v;const l=e.ownerDocument.defaultView??window,d=Z(m=>{const I=oe(r.current).includes(CSS.escape(m.animationName));if(m.target===e&&I&&(u("ANIMATION_END"),!o.current)){const C=e.style.animationFillMode;e.style.animationFillMode="forwards",v=l.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=C)})}},"handleAnimationEnd"),h=Z(m=>{m.target===e&&(c.current=oe(r.current))},"handleAnimationStart");return e.addEventListener("animationstart",h),e.addEventListener("animationcancel",d),e.addEventListener("animationend",d),()=>{l.clearTimeout(v),e.removeEventListener("animationstart",h),e.removeEventListener("animationcancel",d),e.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:s.useCallback(v=>{if(v){const l=getComputedStyle(v);r.current=l,i.current=oe(l)}else r.current=null;n(v)},[])}}Z(en,"usePresence");function Ke(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}Z(Ke,"setRef");function tn(...t){const e=s.useRef(t);return e.current=t,s.useCallback(n=>{const r=e.current;let o=!1;const c=r.map(i=>{const a=Ke(i,n);return!o&&typeof a=="function"&&(o=!0),a});if(o)return()=>{for(let i=0;i<c.length;i++){const a=c[i];typeof a=="function"?a():Ke(r[i],null)}}},[])}Z(tn,"useStableComposedRefs");function oe(t){return t?.animationName||"none"}Z(oe,"getAnimationName");function nn(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}Z(nn,"getElementRef");var Lr=Object.defineProperty,B=(t,e)=>Lr(t,"name",{value:e,configurable:!0});function rn(t){const e=s.forwardRef((n,r)=>{let{children:o,...c}=n,i=null,a=!1;const f=[];Be(o)&&typeof ve=="function"&&(o=ve(o._payload)),s.Children.forEach(o,d=>{if(an(d)){a=!0;const h=d;let m="child"in h.props?h.props.child:h.props.children;Be(m)&&typeof ve=="function"&&(m=ve(m._payload)),i=jr(h,m),f.push(i?.props?.children)}else f.push(d)}),i?i=s.cloneElement(i,void 0,f):!a&&s.Children.count(o)===1&&s.isValidElement(o)&&(i=o);const u=i?cn(i):void 0,v=L(r,u);if(!i){if(o||o===0)throw new Error(a?Vr(t):Ur(t));return o}const l=sn(c,i.props??{});return i.type!==s.Fragment&&(l.ref=r?v:u),s.cloneElement(i,l)});return e.displayName=`${t}.Slot`,e}B(rn,"createSlot");var on=Symbol.for("radix.slottable");function $r(t){const e=B(n=>"child"in n?n.children(n.child):n.children,"Slottable");return e.displayName=`${t}.Slottable`,e.__radixId=on,e}B($r,"createSlottable");var jr=B((t,e)=>{if("child"in t.props){const n=t.props.child;return s.isValidElement(n)?s.cloneElement(n,void 0,t.props.children(n.props.children)):null}return s.isValidElement(e)?e:null},"getSlottableElementFromSlottable");function sn(t,e){const n={...e};for(const r in e){const o=t[r],c=e[r];/^on[A-Z]/.test(r)?o&&c?n[r]=(...a)=>{const f=c(...a);return o(...a),f}:o&&(n[r]=o):r==="style"?n[r]={...o,...c}:r==="className"?n[r]=[o,c].filter(Boolean).join(" "):r==="aria-describedby"&&(n[r]=ln(c,o))}return{...t,...n}}B(sn,"mergeProps");function cn(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}B(cn,"getElementRef");function an(t){return s.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===on}B(an,"isSlottable");var kr=Symbol.for("react.lazy");function Be(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===kr&&"_payload"in t&&un(t._payload)}B(Be,"isLazyComponent");function un(t){return typeof t=="object"&&t!==null&&"then"in t}B(un,"isPromiseLike");function ln(...t){const e=new Set;for(const n of t)if(typeof n=="string")for(const r of String(n).trim().split(/\s+/))r&&e.add(r);return e.size>0?Array.from(e).join(" "):void 0}B(ln,"concatAriaDescribedby");var Ur=B(t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Vr=B(t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ve=ue[" use ".trim().toString()],Kr=Object.defineProperty,Br=(t,e)=>Kr(t,"name",{value:e,configurable:!0}),Wr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],dn=Wr.reduce((t,e)=>{const n=rn(`Primitive.${e}`),r=s.forwardRef((o,c)=>{const{asChild:i,...a}=o,f=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(f,{...a,ref:c})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function zr(t,e){t&&ge.flushSync(()=>t.dispatchEvent(e))}Br(zr,"dispatchDiscreteCustomEvent");var Gr=Object.defineProperty,et=(t,e)=>Gr(t,"name",{value:e,configurable:!0}),Me=!1;function fn(){const[t,e]=s.useState(Me);return s.useEffect(()=>{Me||(Me=!0,e(!0))},[]),t}et(fn,"useIsHydrated");var pn=ue[" useSyncExternalStore ".trim().toString()];function mn(){return()=>{}}et(mn,"subscribe");function hn(){return pn(mn,()=>!0,()=>!1)}et(hn,"useIsHydratedModern");var Hr=typeof pn=="function"?hn:fn,Yr=Object.defineProperty,ee=(t,e)=>Yr(t,"name",{value:e,configurable:!0}),Te="rovingFocusGroup.onEntryFocus",Zr={bubbles:!1,cancelable:!0},Ce="RovingFocusGroup",[We,vn,Xr]=He(Ce),[qr,yn]=ae(Ce,[Xr]),ft={Vertical:"vertical",Horizontal:"horizontal"},Jr={RTL:"rtl"},[Qr,eo]=qr(Ce),to=s.forwardRef(ee(function(e,n){return y.jsx(We.Provider,{scope:e.__scopeRovingFocusGroup,children:y.jsx(We.Slot,{scope:e.__scopeRovingFocusGroup,children:y.jsx(no,{...e,ref:n})})})},"RovingFocusGroup")),no=s.forwardRef(ee(function(e,n){const{__scopeRovingFocusGroup:r,orientation:o,loop:c=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:u,onEntryFocus:v,preventScrollOnEntryFocus:l=!1,...d}=e,h=s.useRef(null),m=L(n,h),E=Ze(i),[I,C]=mt({prop:a,defaultProp:f??null,onChange:u,caller:Ce}),[R,p]=s.useState(!1),b=Q(v),S=vn(r),P=s.useRef(!1),[O,x]=s.useState(0);return s.useEffect(()=>{const w=h.current;if(w)return w.addEventListener(Te,b),()=>w.removeEventListener(Te,b)},[b]),y.jsx(Qr,{scope:r,orientation:o,dir:E,loop:c,currentTabStopId:I,onItemFocus:s.useCallback(w=>C(w),[C]),onItemShiftTab:s.useCallback(()=>p(!0),[]),onFocusableItemAdd:s.useCallback(()=>x(w=>w+1),[]),onFocusableItemRemove:s.useCallback(()=>x(w=>w-1),[]),children:y.jsx(dn.div,{tabIndex:R||O===0?-1:0,"data-orientation":o,...d,ref:m,style:{outline:"none",...e.style},onMouseDown:D(e.onMouseDown,()=>{P.current=!0}),onFocus:D(e.onFocus,w=>{const W=!P.current;if(w.target===w.currentTarget&&W&&!R){const $=new CustomEvent(Te,Zr);if(w.currentTarget.dispatchEvent($),!$.defaultPrevented){const _=S().filter(T=>T.focusable),j=_.find(T=>T.active),z=_.find(T=>T.id===I),H=[j,z,..._].filter(Boolean).map(T=>T.ref.current);tt(H,l)}}P.current=!1}),onBlur:D(e.onBlur,()=>p(!1))})})},"RovingFocusGroupImpl")),ro="RovingFocusGroupItem",oo=s.forwardRef(ee(function(e,n){const{__scopeRovingFocusGroup:r,focusable:o=!0,active:c=!1,tabStopId:i,children:a,...f}=e,u=Ae(),v=i||u,l=eo(ro,r),d=l.currentTabStopId===v,h=vn(r),{onFocusableItemAdd:m,onFocusableItemRemove:E,currentTabStopId:I}=l,C=Hr();return Ee(()=>{if(!(!C||!o))return m(),()=>E()},[C,o,m,E]),s.useEffect(()=>{if(!(C||!o))return m(),()=>E()},[C,o,m,E]),y.jsx(We.ItemSlot,{scope:r,id:v,focusable:o,active:c,children:y.jsx(dn.span,{tabIndex:d?0:-1,"data-orientation":l.orientation,...f,ref:n,onMouseDown:D(e.onMouseDown,R=>{o?l.onItemFocus(v):R.preventDefault()}),onFocus:D(e.onFocus,()=>l.onItemFocus(v)),onKeyDown:D(e.onKeyDown,R=>{if(R.key==="Tab"&&R.shiftKey){l.onItemShiftTab();return}if(R.target!==R.currentTarget)return;const p=bn(R,l.orientation,l.dir);if(p!==void 0){if(R.metaKey||R.ctrlKey||R.altKey||R.shiftKey)return;R.preventDefault();let S=h().filter(P=>P.focusable).map(P=>P.ref.current);if(p==="last")S.reverse();else if(p==="prev"||p==="next"){p==="prev"&&S.reverse();const P=S.indexOf(R.currentTarget);S=l.loop?gn(S,P+1):S.slice(P+1)}setTimeout(()=>tt(S))}}),children:typeof a=="function"?a({isCurrentTabStop:d,hasTabStop:I!=null}):a})})},"RovingFocusGroupItem")),so={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function En(t,e){return e!==Jr.RTL?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}ee(En,"getDirectionAwareKey");function bn(t,e,n){const r=En(t.key,n);if(!(e===ft.Vertical&&["ArrowLeft","ArrowRight"].includes(r))&&!(e===ft.Horizontal&&["ArrowUp","ArrowDown"].includes(r)))return so[r]}ee(bn,"getFocusIntent");function tt(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}ee(tt,"focusFirst");function gn(t,e){return t.map((n,r)=>t[(e+r)%t.length])}ee(gn,"wrapArray");var io=Object.defineProperty,M=(t,e)=>io(t,"name",{value:e,configurable:!0}),co=["Enter"," "],ao=["ArrowDown","PageUp","Home"],Sn=["ArrowUp","PageDown","End"],uo=[...ao,...Sn],Re="Menu",[ze,lo,fo]=He(Re),[te,Cn]=ae(Re,[fo,ht,yn]),nt=ht(),Rn=yn(),[po,le]=te(Re),[mo,rt]=te(Re),ho=M(t=>{const{__scopeMenu:e,open:n=!1,children:r,dir:o,onOpenChange:c,modal:i=!0}=t,a=nt(e),[f,u]=s.useState(null),v=s.useRef(!1),l=Q(c),d=Ze(o);return s.useEffect(()=>{const h=M(()=>{v.current=!0,document.addEventListener("pointerdown",m,{capture:!0,once:!0}),document.addEventListener("pointermove",m,{capture:!0,once:!0})},"handleKeyDown"),m=M(()=>v.current=!1,"handlePointer");return document.addEventListener("keydown",h,{capture:!0}),()=>{document.removeEventListener("keydown",h,{capture:!0}),document.removeEventListener("pointerdown",m,{capture:!0}),document.removeEventListener("pointermove",m,{capture:!0})}},[]),s.useEffect(()=>{if(!n)return;const h=M(()=>l(!1),"handleBlur");return window.addEventListener("blur",h),()=>window.removeEventListener("blur",h)},[n,l]),y.jsx(Bn,{...a,children:y.jsx(po,{scope:e,open:n,onOpenChange:l,content:f,onContentChange:u,children:y.jsx(mo,{scope:e,onClose:s.useCallback(()=>l(!1),[l]),isUsingKeyboardRef:v,dir:d,modal:i,children:r})})})},"Menu"),vo=s.forwardRef(M(function(e,n){const{__scopeMenu:r,...o}=e,c=nt(r);return y.jsx(Wn,{...c,...o,ref:n})},"MenuAnchor")),Pn="MenuPortal",[yo,Eo]=te(Pn,{forceMount:void 0}),bo=M(t=>{const{__scopeMenu:e,forceMount:n,children:r,container:o}=t,c=le(Pn,e);return y.jsx(yo,{scope:e,forceMount:n,children:y.jsx(Qt,{present:n||c.open,children:y.jsx(Fr,{asChild:!0,container:o,children:r})})})},"MenuPortal"),q="MenuContent",[go,In]=te(q),So=s.forwardRef(M(function(e,n){const r=Eo(q,e.__scopeMenu),{forceMount:o=r.forceMount,...c}=e,i=le(q,e.__scopeMenu),a=rt(q,e.__scopeMenu);return y.jsx(ze.Provider,{scope:e.__scopeMenu,children:y.jsx(Qt,{present:o||i.open,children:y.jsx(ze.Slot,{scope:e.__scopeMenu,children:a.modal?y.jsx(Co,{...c,ref:n}):y.jsx(Ro,{...c,ref:n})})})})},"MenuContent")),Co=s.forwardRef(M(function(e,n){const r=le(q,e.__scopeMenu),o=s.useRef(null),c=L(n,o);return s.useEffect(()=>{const i=o.current;if(i)return Un(i)},[]),y.jsx(wn,{...e,ref:c,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:D(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})},"MenuRootContentModal")),Ro=s.forwardRef(M(function(e,n){const r=le(q,e.__scopeMenu);return y.jsx(wn,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})},"MenuRootContentNonModal")),Po=Xe("MenuContent.ScrollLock"),wn=s.forwardRef(M(function(e,n){const{__scopeMenu:r,loop:o=!1,trapFocus:c,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:f,onEntryFocus:u,onEscapeKeyDown:v,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:h,onDismiss:m,disableOutsideScroll:E,...I}=e,C=le(q,r),R=rt(q,r),p=nt(r),b=Rn(r),S=lo(r),[P,O]=s.useState(null),x=s.useRef(null),[w,W]=s.useState(null);zt(w);const{nodes:$,registry:_}=Wt(),j=!!(c||E),z=L(n,x,C.onContentChange,W),G=s.useRef(0),H=s.useRef(""),T=s.useRef(0),Pe=s.useRef(null),st=s.useRef("right"),Ie=s.useRef(0),Nn=s.useMemo(()=>E?[x,...$.map(g=>({current:g}))]:[],[x,$,E]),Ln=E?Kn:s.Fragment,$n=E?{as:Po,allowPinchZoom:!0,shards:Nn}:void 0,jn=M(g=>{const re=H.current+g,J=S().filter(k=>!k.disabled),se=document.activeElement,we=J.find(k=>k.ref.current===se)?.textValue,xe=J.map(k=>k.textValue),it=Mn(xe,re,we),ie=J.find(k=>k.textValue===it)?.ref.current;M((function k(ct){H.current=ct,window.clearTimeout(G.current),ct!==""&&(G.current=window.setTimeout(()=>k(""),1e3))}),"updateSearch")(re),ie&&setTimeout(()=>ie.focus())},"handleTypeaheadSearch");s.useEffect(()=>()=>window.clearTimeout(G.current),[]),Vn();const ne=s.useCallback(g=>st.current===Pe.current?.side&&An(g,Pe.current?.area),[]);return y.jsx(go,{scope:r,searchRef:H,onItemEnter:s.useCallback(g=>{ne(g)&&g.preventDefault()},[ne]),onItemLeave:s.useCallback(g=>{ne(g)||(x.current?.focus(),O(null))},[ne]),onTriggerLeave:s.useCallback(g=>{ne(g)&&g.preventDefault()},[ne]),pointerGraceTimerRef:T,onPointerGraceIntentChange:s.useCallback(g=>{Pe.current=g},[]),children:y.jsx(Bt,{registry:j?_:null,children:y.jsx(Ln,{...$n,children:y.jsx(Mr,{asChild:!0,trapped:c,branches:$,onMountAutoFocus:D(i,g=>{g.preventDefault(),x.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:y.jsx(xr,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:v,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:h,onDismiss:m,children:y.jsx(to,{asChild:!0,...b,dir:R.dir,orientation:"vertical",loop:o,currentTabStopId:P,onCurrentTabStopIdChange:O,onEntryFocus:D(u,g=>{R.isUsingKeyboardRef.current||g.preventDefault()}),preventScrollOnEntryFocus:!0,children:y.jsx(zn,{role:"menu","aria-orientation":"vertical","data-state":xn(C.open),"data-radix-menu-content":"",dir:R.dir,...p,...I,ref:z,style:{outline:"none",...I.style},onKeyDown:D(I.onKeyDown,g=>{const J=g.target.closest("[data-radix-menu-content]")===g.currentTarget,se=g.ctrlKey||g.altKey||g.metaKey,we=g.key.length===1;J&&(g.key==="Tab"&&g.preventDefault(),!se&&we&&jn(g.key));const xe=x.current;if(g.target!==xe||!uo.includes(g.key))return;g.preventDefault();const ie=S().filter(k=>!k.disabled).map(k=>k.ref.current);Sn.includes(g.key)&&ie.reverse(),On(ie)}),onBlur:D(e.onBlur,g=>{g.currentTarget.contains(g.target)||(window.clearTimeout(G.current),H.current="")}),onPointerMove:D(e.onPointerMove,be(g=>{const re=g.target,J=Ie.current!==g.clientX;if(g.currentTarget.contains(re)&&J){const se=g.clientX>Ie.current?"right":"left";st.current=se,Ie.current=g.clientX}}))})})})})})})})},"MenuContentImpl")),Ge="MenuItem",pt="menu.itemSelect",Io=s.forwardRef(M(function(e,n){const{disabled:r=!1,onSelect:o,...c}=e,i=s.useRef(null),a=rt(Ge,e.__scopeMenu),f=In(Ge,e.__scopeMenu),u=L(n,i),v=s.useRef(!1),l=M(()=>{const d=i.current;if(!r&&d){const h=new CustomEvent(pt,{bubbles:!0,cancelable:!0});d.addEventListener(pt,m=>o?.(m),{once:!0}),qe(d,h),h.defaultPrevented?v.current=!1:a.onClose()}},"handleSelect");return y.jsx(wo,{...c,ref:u,disabled:r,onClick:D(e.onClick,l),onPointerDown:d=>{e.onPointerDown?.(d),v.current=!0},onPointerUp:D(e.onPointerUp,d=>{v.current||d.currentTarget?.click()}),onKeyDown:D(e.onKeyDown,d=>{r||d.target!==d.currentTarget||f.searchRef.current!==""&&d.key===" "||co.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})},"MenuItem")),wo=s.forwardRef(M(function(e,n){const{__scopeMenu:r,disabled:o=!1,textValue:c,...i}=e,a=In(Ge,r),f=Rn(r),u=s.useRef(null),v=L(n,u),[l,d]=s.useState(!1),[h,m]=s.useState("");return s.useEffect(()=>{const E=u.current;E&&m((E.textContent??"").trim())},[i.children]),y.jsx(ze.ItemSlot,{scope:r,disabled:o,textValue:c??h,children:y.jsx(oo,{asChild:!0,...f,focusable:!o,children:y.jsx(Se.div,{role:"menuitem","data-highlighted":l?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...i,ref:v,onPointerMove:D(e.onPointerMove,be(E=>{o?a.onItemLeave(E):(a.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:D(e.onPointerLeave,be(E=>a.onItemLeave(E))),onFocus:D(e.onFocus,()=>d(!0)),onBlur:D(e.onBlur,()=>d(!1))})})})},"MenuItemImpl")),xo="MenuRadioGroup",[Uo,Vo]=te(xo,{value:void 0,onValueChange:M(()=>{},"onValueChange")}),_o="MenuItemIndicator",[Ko,Bo]=te(_o,{checked:!1}),Oo="MenuSub",[Wo,zo]=te(Oo);function xn(t){return t?"open":"closed"}M(xn,"getOpenState");function _n(t){return t==="indeterminate"}M(_n,"isIndeterminate");function Do(t){return _n(t)?"indeterminate":t?"checked":"unchecked"}M(Do,"getCheckedState");function On(t){const e=document.activeElement;for(const n of t)if(n===e||(n.focus(),document.activeElement!==e))return}M(On,"focusFirst");function Dn(t,e){return t.map((n,r)=>t[(e+r)%t.length])}M(Dn,"wrapArray");function Mn(t,e,n){const o=e.length>1&&Array.from(e).every(u=>u===e[0])?e[0]:e,c=n?t.indexOf(n):-1;let i=Dn(t,Math.max(c,0));o.length===1&&(i=i.filter(u=>u!==n));const f=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return f!==n?f:void 0}M(Mn,"getNextMatch");function Tn(t,e){const{x:n,y:r}=t;let o=!1;for(let c=0,i=e.length-1;c<e.length;i=c++){const a=e[c],f=e[i],u=a.x,v=a.y,l=f.x,d=f.y;v>r!=d>r&&n<(l-u)*(r-v)/(d-v)+u&&(o=!o)}return o}M(Tn,"isPointInPolygon");function An(t,e){if(!e)return!1;const n={x:t.clientX,y:t.clientY};return Tn(n,e)}M(An,"isPointerInGraceArea");function be(t){return e=>e.pointerType==="mouse"?t(e):void 0}M(be,"whenMouse");var Mo=Object.defineProperty,de=(t,e)=>Mo(t,"name",{value:e,configurable:!0}),ot="DropdownMenu",[To,Go]=ae(ot,[Cn]),fe=Cn(),[Ao,Fn]=To(ot),Ho=de(t=>{const{__scopeDropdownMenu:e,children:n,dir:r,open:o,defaultOpen:c,onOpenChange:i,modal:a=!0}=t,f=fe(e),u=s.useRef(null),[v,l]=mt({prop:o,defaultProp:c??!1,onChange:i,caller:ot});return y.jsx(Ao,{scope:e,triggerId:Ae(),triggerRef:u,contentId:Ae(),open:v,onOpenChange:l,onOpenToggle:s.useCallback(()=>l(d=>!d),[l]),modal:a,children:y.jsx(ho,{...f,open:v,onOpenChange:l,dir:r,modal:a,children:n})})},"DropdownMenu"),Fo="DropdownMenuTrigger",Yo=s.forwardRef(de(function(e,n){const{__scopeDropdownMenu:r,disabled:o=!1,...c}=e,i=Fn(Fo,r),a=fe(r),f=L(n,i.triggerRef);return y.jsx(vo,{asChild:!0,...a,children:y.jsx(tr.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...c,ref:f,onPointerDown:D(e.onPointerDown,u=>{!o&&u.button===0&&u.ctrlKey===!1&&(i.onOpenToggle(),i.open||u.preventDefault())}),onKeyDown:D(e.onKeyDown,u=>{o||(["Enter"," "].includes(u.key)&&i.onOpenToggle(),u.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})})},"DropdownMenuTrigger")),Zo=de(t=>{const{__scopeDropdownMenu:e,...n}=t,r=fe(e);return y.jsx(bo,{...r,...n})},"DropdownMenuPortal"),No="DropdownMenuContent",Xo=s.forwardRef(de(function(e,n){const{__scopeDropdownMenu:r,...o}=e,c=Fn(No,r),i=fe(r),a=s.useRef(!1);return y.jsx(So,{id:c.contentId,"aria-labelledby":c.triggerId,...i,...o,ref:n,onCloseAutoFocus:D(e.onCloseAutoFocus,f=>{a.current||c.triggerRef.current?.focus(),a.current=!1,f.preventDefault()}),onInteractOutside:D(e.onInteractOutside,f=>{const u=f.detail.originalEvent,v=u.button===0&&u.ctrlKey===!0,l=u.button===2||v;(!c.modal||l)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})},"DropdownMenuContent")),qo=s.forwardRef(de(function(e,n){const{__scopeDropdownMenu:r,...o}=e,c=fe(r);return y.jsx(Io,{...c,...o,ref:n})},"DropdownMenuItem"));export{Ho as D,ko as U,Yo as a,Zo as b,Xo as c,qo as d};
@@ -0,0 +1 @@
1
+ :root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ui-text, #202421);background:var(--ui-page, #f3f4f1);font-synthesis:none}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.muted{color:var(--ui-muted, #737a75)}.dashboard-update{max-width:1180px;width:100%;margin:0 auto;padding:0 34px}.update-notice{display:flex;align-items:center;gap:9px;margin:16px 0 0;padding:10px 12px;border:1px solid var(--ui-danger-border, #efceca);border-left:3px solid var(--ui-danger-border, #bd5147);border-radius:9px;background:var(--ui-danger-bg, #fff5f3);color:var(--ui-danger, #9f3930);font-size:13px}.update-notice>svg{flex-shrink:0;color:var(--ui-danger, #b54a40)}.update-notice>span{flex:1;font-weight:500}.update-notice button{color:inherit;transition:background-color .15s,border-color .15s,box-shadow .15s}.update-notice-details{border:1px solid var(--ui-danger-border, #e8bcb6);border-radius:6px;padding:6px 10px;background:var(--ui-surface, #fff);font-size:12px;font-weight:600;white-space:nowrap}.update-notice-dismiss{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;padding:0;border:1px solid var(--ui-danger-border, #ecd3ce);border-radius:50%;background:var(--ui-surface, #fff)}.update-notice button:hover:not(:disabled){border-color:var(--ui-danger-border, #cd8e84);background:var(--ui-hover, #ffe9e4);box-shadow:0 1px 3px #923d3014}.update-notice button:focus-visible,.dialog-footer .update-dismiss-action:focus-visible{outline:2px solid var(--ui-danger-border, #b95449);outline-offset:3px}.update-methods{display:flex;gap:5px;padding:4px;border:1px solid var(--ui-border, #dce3dd);border-radius:8px;width:fit-content}.update-methods button{border:0;border-radius:5px;padding:6px 17px;background:transparent;color:var(--ui-text, #536059);font-size:13px}.update-methods button[aria-pressed=true]{background:var(--ui-accent-bg, #e6f1e9);color:var(--ui-accent, #195d3b);font-weight:600}.update-command-hint{font-size:13px;line-height:1.6;margin:14px 0 10px}.update-command-hint.muted{font-size:11px}.update-commands{background:var(--ui-surface, #f3f5f3);border:1px solid var(--ui-border, #e1e6e1);border-radius:7px;padding:14px;overflow-x:auto;font-size:12px;line-height:1.8;user-select:text}.update-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px}.update-links a{display:inline-flex;align-items:center;gap:5px;color:var(--ui-accent, #21623f);font-size:12px}@media(max-width:600px){.dashboard-update{padding:0 14px}.update-notice{gap:5px;font-size:12px}}.error{color:var(--ui-danger, #b3261e);font-size:14px}.dialog-error{margin:0;padding:8px 10px;border:1px solid var(--ui-danger-border, #e9b6b0);border-radius:6px;background:var(--ui-danger-bg, #fff3f1)}.field-hint{color:var(--ui-muted, #778179);font-size:11px;font-weight:400}.primary,.compile{border:0;border-radius:8px;background:#176b44;color:#fff;padding:10px 18px;font-weight:650}.icon-button{display:inline-flex;align-items:center;gap:6px}.ghost{border:0;background:transparent;color:inherit}.page{min-height:100vh;display:flex;flex-direction:column}.login-page{min-height:100vh;display:grid;grid-template-rows:1fr auto;place-items:center;padding-top:44px;background:radial-gradient(circle at 50% 0,var(--ui-subtle, #d8e8dd),var(--ui-surface, #f5f5f1) 45%)}.login-card{width:min(390px,calc(100vw - 32px));padding:38px;display:flex;flex-direction:column;gap:16px;background:#ffffffeb;border:1px solid var(--ui-border, #dfe4df);border-radius:16px;box-shadow:0 24px 70px #1d31241f}.login-card h1{text-align:center;margin:0;letter-spacing:-.04em}.login-card>p{text-align:center;margin:-8px 0 8px}.login-card label,.settings label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650}.login-card input,.settings input,.settings select,.settings textarea{width:100%;border:1px solid var(--ui-border, #cbd2cc);border-radius:8px;padding:10px 11px;background:var(--ui-surface, white);outline:none}.login-card input:focus,.settings input:focus{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 3px #176b4420}.site-logo{width:34px;height:34px;flex:none;display:inline-flex;align-items:center;justify-content:center}.site-logo svg{display:block;width:100%;height:100%}.site-logo.compact{width:34px;height:34px;margin:0 16px 0 10px}.site-logo.auth-logo{width:76px;height:76px;margin:0 auto 2px;filter:drop-shadow(0 10px 18px #1e2a4a25)}.brand-link{display:inline-flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.brand-link:hover .site-title{color:#d9f0df}.compact-brand-link{flex:none}.site-title{font-size:20px;font-weight:800;letter-spacing:-.04em}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.support{color:var(--ui-muted, #737a75);text-align:center}.topbar,.editor-topbar{height:62px;display:flex;align-items:center;padding:0 26px;background:#123c2a;color:#fff}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:14px}.top-actions .ghost{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;border-radius:6px;padding:6px 8px;background:transparent;color:inherit;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,transform .08s ease}.top-actions .ghost:hover,.top-actions .ghost:focus-visible{border-color:#ffffff20;background:#ffffff16;color:#d9f0df;box-shadow:0 4px 12px #061c1130;outline:none}.top-actions .ghost:active{transform:translateY(1px);box-shadow:0 1px 4px #061c1126}.top-actions .ghost.top-return-action,.top-actions .ghost.top-return-action:hover,.top-actions .ghost.top-return-action:focus-visible,.top-actions .ghost.top-return-action:active{transform:none;box-shadow:none}.user-menu-trigger{display:inline-flex;align-items:center;gap:9px;min-width:0;padding:7px 10px;border:1px solid transparent;border-radius:10px;background:#ffffff0c;color:#f0f7f2}.user-menu-trigger:hover,.user-menu-trigger[data-state=open]{border-color:#ffffff20;background:#ffffff18}.user-menu-trigger:focus-visible{outline:2px solid #c6e6d3;outline-offset:3px}.user-menu-trigger>svg{flex:none;color:#c3d6cb;transition:transform .15s}.user-menu-trigger[data-state=open]>svg{transform:rotate(180deg)}.user-menu-name{max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600}.user-menu-avatar{display:inline-flex;flex:none;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:#e9f4ed;color:#164a32;font-size:13px;font-weight:650}.user-menu-content{z-index:90;width:300px;max-width:calc(100vw - 24px);max-height:var(--radix-popover-content-available-height);overflow-y:auto;padding:8px 12px;border:1px solid var(--ui-border, #dce4de);border-radius:14px;background:var(--ui-surface, #fff);color:var(--ui-text, #26372e);box-shadow:0 14px 48px #071c2428,0 2px 8px #071c2410;font-size:13px}.user-menu-content:focus{outline:none}.user-menu-profile{display:flex;align-items:center;gap:11px;padding:12px 2px 18px;border-bottom:1px solid var(--ui-border, #e3e9e5)}.user-menu-profile .user-menu-avatar{width:40px;height:40px;background:var(--ui-accent-bg, #e7f2eb);color:var(--ui-accent, #176b44);font-size:17px}.user-menu-profile>div{display:grid;min-width:0;flex:1;gap:3px;overflow-wrap:anywhere}.user-menu-profile strong{font-size:14px;font-weight:650}.user-menu-profile>div>span{color:var(--ui-muted, #718077);font-size:11px}.user-menu-github{display:grid;flex:none;place-items:center;width:32px;height:32px;border:1px solid var(--ui-border, #dce4de);border-radius:8px;background:transparent;color:var(--ui-muted, #60756a)}.user-menu-github:hover{color:var(--ui-accent, #176b44);background:var(--ui-accent-bg, #edf6f0)}.user-menu-settings{display:grid;gap:17px;padding:14px 2px 17px}.user-menu-language{display:flex;align-items:center;justify-content:space-between;gap:12px}.user-menu-language label,.user-menu-setting-label{display:inline-flex;align-items:center;gap:9px}.user-menu-setting-label>svg,.user-menu-language label>svg{color:var(--ui-muted, #718077)}.user-menu-language-select{position:relative;display:flex;align-items:center}.user-menu-language-select select{appearance:none;max-width:130px;padding:7px 23px 7px 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ui-muted, #60756a);font-size:12px;cursor:pointer}.user-menu-language-select select:hover{background:var(--ui-hover, #f1f6f2)}.user-menu-language-select>svg{position:absolute;right:5px;pointer-events:none;color:var(--ui-muted, #718077)}.user-menu-theme{display:grid;gap:10px}.user-menu-signout{display:flex;align-items:center;gap:10px;width:100%;padding:13px 9px 10px;border:0;border-top:1px solid var(--ui-border, #e3e9e5);border-radius:0 0 7px 7px;background:transparent;color:var(--ui-text, #26372e);text-align:left;font-size:13px}.user-menu-signout>svg{color:var(--ui-muted, #718077)}.user-menu-signout:hover:not(:disabled){background:var(--ui-hover, #f1f6f2)}.user-menu-github:focus-visible,.user-menu-signout:focus-visible,.user-menu-language-select select:focus-visible{outline:2px solid var(--ui-accent, #176b44);outline-offset:2px}.user-menu-error{margin:0 2px 10px;color:var(--ui-danger, #b3261e);font-size:12px;line-height:1.5}@media(max-width:640px){.user-menu-name{max-width:90px}}.language-switcher{position:fixed;top:18px;right:20px;z-index:5;display:flex;align-items:center;gap:6px;color:var(--ui-text, #536059);font-size:12px}.language-switcher select{border:1px solid var(--ui-border, #c9d0ca);border-radius:6px;padding:5px 7px;background:var(--ui-surface, #fff);color:var(--ui-text, #26342b)}.dashboard{width:100%;max-width:1180px;flex:1;margin:0 auto;padding:52px 34px}.citation-library-page{display:flex;flex-direction:column}.dashboard-back-button{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:40px;border:1px solid var(--ui-border, #bfc8c1);border-radius:8px;padding:10px 16px;background:var(--ui-surface, white);color:var(--ui-muted, #52685a);font-size:14px}.dashboard-back-button:hover{border-color:var(--ui-border, #8eaa98);background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}.citation-library-page .citation-library-dialog{padding:18px;border:1px solid var(--ui-border, #dfe4df);border-radius:12px;background:var(--ui-surface, white);box-shadow:0 8px 26px #25352a0f}.citation-library-page .citation-entry-list{max-height:none}.citation-library-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px;color:var(--ui-muted, #66736b);font-size:10px}.citation-library-pagination button{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--ui-border, #cbd5ce);border-radius:6px;padding:6px 9px;background:var(--ui-surface, white);color:var(--ui-muted, #52685a);font-size:10px}.citation-library-pagination button:hover:not(:disabled){border-color:var(--ui-border, #8eaa98);background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}.site-footer{width:100%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 16px;padding:18px 24px;border-top:1px solid var(--ui-border, #dfe3df);background:var(--ui-subtle, #eef0ed);color:var(--ui-muted, #737b75);font-size:11px;text-align:center}.site-footer a{color:var(--ui-accent, #176b44);text-decoration:none}.site-footer a:hover{text-decoration:underline}.login-page>.site-footer{align-self:end;background:var(--ui-hover, #ffffff50)}.section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:28px}.section-title>div{min-width:0}.section-title h1{display:flex;align-items:center;gap:9px;margin:0;color:var(--ui-text, #202421);font-size:30px;line-height:1.2;letter-spacing:-.04em}.section-title h1 svg{flex:none;color:var(--ui-accent, #315b43)}.section-title p{max-width:720px;margin:8px 0 0;color:var(--ui-muted, #737a75);font-size:14px;line-height:1.5}.section-actions{display:flex;flex-wrap:wrap;gap:9px}.section-actions>button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ui-border, #bfc8c1);border-radius:8px;background:var(--ui-surface, white);padding:10px 16px;font-size:14px}.section-actions>.primary{border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.project-catalog-layout{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px}.project-catalog-content{min-width:0}.project-tag-sidebar{position:sticky;z-index:20;top:18px;min-width:0;overflow:visible}.project-tag-toggle{width:42px;min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--ui-border, #dce3dd);border-radius:9px;padding:8px;background:var(--ui-surface, #f7f9f7);color:var(--ui-text, #526158);box-shadow:0 2px 8px #25352a08;font-size:11px;font-weight:700;text-align:left}.project-tag-toggle:hover,.project-tag-toggle:focus-visible,.project-tag-toggle[aria-expanded=true]{border-color:var(--ui-border, #a6c0ad);background:var(--ui-hover, #eaf1eb);color:var(--ui-accent, #176b44);outline:none}.project-tag-sidebar.has-active-filter .project-tag-toggle{color:var(--ui-accent, #176b44)}.project-tag-sidebar.has-active-filter .project-tag-toggle:after{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:#21804e;box-shadow:0 0 0 2px #21804e24}.project-tag-toggle-copy{min-width:0;display:inline-flex;align-items:center;gap:6px}.project-tag-toggle-copy svg{flex:none}.project-tag-toggle-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-tag-toggle-chevron{flex:none;transition:transform .15s ease}.project-tag-toggle[aria-expanded=true] .project-tag-toggle-chevron{transform:rotate(90deg)}.project-tag-toggle-copy span,.project-tag-toggle-chevron{display:none}.project-tag-filters{position:absolute;z-index:21;top:0;left:calc(100% + 8px);width:260px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;border:1px solid var(--ui-border, #cfd9d1);border-radius:10px;background:var(--ui-surface, #fff);box-shadow:0 14px 34px #1c2e2220}.project-tag-filters>button{min-width:0;display:flex;align-items:center;gap:5px;border:1px solid var(--ui-border, #e0e6e1);border-radius:6px;padding:6px 7px;background:var(--ui-surface, white);color:var(--ui-muted, #59675f);font-size:10px;text-align:left}.project-tag-filters>button:first-child{grid-column:1 / -1;justify-content:center;color:var(--ui-text, #4c5f52);font-weight:650}.project-tag-filters>button:hover{border-color:var(--ui-accent-border, #9dbba6);background:var(--ui-hover, #f1f7f2);color:var(--ui-accent, #176b44)}.project-tag-filters>button.active{border-color:var(--ui-accent-border, #8fb99c);background:var(--ui-accent-bg, #e6f1e9);color:var(--ui-accent, #176b44);box-shadow:inset 0 0 0 1px #176b4410}.project-tag-filters>button .tag-dot{flex:none;width:7px;height:7px}.project-tag-filters>button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-tag-empty{grid-column:1 / -1;margin:1px 0;padding:12px 6px;color:var(--ui-muted, #7b857e);font-size:11px;text-align:center}.project-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px;padding:10px;background:var(--ui-subtle, #e9ece8);border-radius:10px}.project-toolbar>input{width:220px;border:1px solid var(--ui-border, #cbd2cc);border-radius:7px;padding:8px 10px;background:var(--ui-surface, white);font-size:14px}.project-scope{display:flex;flex:none;gap:2px}.project-scope button{display:flex;align-items:center;gap:5px;flex:none;border:1px solid transparent;border-radius:7px;padding:7px 9px;background:transparent;color:var(--ui-text, #536059);font-size:12px}.project-scope button.active{border-color:var(--ui-border, #b8c4ba);background:var(--ui-accent-bg, white);color:var(--ui-accent, #174b33)}.view-toggle button{display:flex;align-items:center;gap:5px;flex:none;border:1px solid transparent;border-radius:7px;padding:7px 9px;background:transparent;color:var(--ui-text, #536059);font-size:12px}.view-toggle button.active{border-color:var(--ui-border, #b8c4ba);background:var(--ui-accent-bg, white);color:var(--ui-accent, #174b33)}.project-sort{flex:none;display:flex;align-items:center;gap:5px;color:var(--ui-text, #536059);font-size:11px}.project-sort>span{white-space:nowrap}.project-sort select{max-width:150px;border:1px solid var(--ui-border, #c4ccc6);border-radius:7px;padding:7px 25px 7px 8px;background:var(--ui-surface, white);color:var(--ui-text, #34433a);font-size:12px}.view-toggle{display:flex;gap:2px;margin-left:auto}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.project-card{position:relative;text-align:left;background:var(--ui-surface, white);border:1px solid var(--ui-border, #dfe2de);border-radius:11px;transition:.15s ease}.project-grid:not(.list-view) .project-grid-card{min-height:220px;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;padding:15px 16px 16px;overflow:visible;cursor:pointer}.project-grid:not(.list-view) .project-grid-card:hover{border-color:var(--ui-accent-border, #8bae9a);background:var(--ui-hover, #fcfefc);transform:translateY(-2px);box-shadow:0 10px 30px #25352a10}.project-grid:not(.list-view) .project-grid-card:focus-visible{outline:3px solid var(--ui-focus-ring, #176b4455);outline-offset:2px}.project-grid:not(.list-view) .project-grid-card.project-card-menu-open{z-index:4;border-color:var(--ui-accent-border, #8caf99);box-shadow:0 10px 30px #25352a18}.project-grid:not(.list-view).project-list-menu-active .project-grid-card:not(.project-card-menu-open){opacity:.48;filter:saturate(.72)}.project-card-meta-row{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.project-card-badges{min-width:0;display:flex;flex:1 1 auto;flex-wrap:nowrap;align-items:center;gap:6px;overflow:hidden}.project-card-title-row{min-width:0;display:flex;align-items:center;gap:10px}.project-card-icon-control{display:inline-flex;flex:none}.project-card-title{min-width:0;overflow:hidden;color:var(--ui-text, #18221b);font-size:17px;font-weight:730;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.project-card-tags{min-height:21px;display:flex;flex-wrap:nowrap;align-items:center;gap:5px;overflow:hidden}.project-card-tags .tag{min-width:0;max-width:100%;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-icon-avatar{width:36px;height:36px;box-sizing:border-box;display:grid;place-items:center;flex:none;overflow:hidden;border:1px solid transparent;border-radius:50%;padding:0;background:var(--ui-info-bg, #d9eafe);color:var(--ui-info, #1b5aa0);font-size:15px;font-weight:750;line-height:1}.project-icon-avatar>svg{width:18px;height:18px}.project-icon-external-glyph{width:18px;height:18px;display:block;background:currentColor;mask-position:center;mask-repeat:no-repeat;mask-size:contain;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain}button.project-icon-avatar{cursor:pointer;font:inherit}button.project-icon-avatar.editable:hover,button.project-icon-avatar.editable:focus-visible{border-color:var(--ui-info-border, #7ba7d8);background:var(--ui-hover, #cbe1fb);color:var(--ui-info, #134e90);box-shadow:0 0 0 3px #3b82c425;outline:0}.project-card-icon{width:30px;height:30px;font-size:13px}.project-card-icon>svg,.project-card-icon .project-icon-external-glyph{width:16px;height:16px}.owner-badge{max-width:100%;overflow:hidden;padding:4px 8px;border-radius:6px;background:var(--ui-surface, #f1f5f9);color:var(--ui-info, #475569);font-size:10.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.project-card-badges .owner-badge{min-width:0;max-width:100%;flex:1 1 auto}.project-card-badges .project-mentions-badge{flex:none}.project-meta{width:100%;display:grid;grid-template-columns:1fr;gap:8px;margin:auto 0 0}.project-grid:not(.list-view) .project-meta{margin:0}.project-meta div{min-width:0}.project-meta dt{display:flex;align-items:center;gap:4px;color:var(--ui-muted, #8a918c);font-size:10px;font-weight:650;text-transform:none}.project-meta dt svg{flex:none;color:var(--ui-accent, #6f8e7a)}.project-meta-created-label{justify-content:space-between;gap:8px}.project-meta-created-label>span:first-child{min-width:0;display:inline-flex;align-items:center;gap:4px}.project-meta-created-label .project-comments-badge{flex:none}.project-meta dd{overflow:hidden;margin:2px 0 0;color:var(--ui-text, #555e58);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.project-grid:not(.list-view) .project-meta dd{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.project-modified-by{color:var(--ui-muted, #68716b)}.project-grid.list-view{display:flex;flex-direction:column;gap:6px}.project-list-header,.project-grid.list-view .project-card.project-list-row{display:grid;grid-template-columns:36px minmax(260px,1fr) 100px 90px 110px 36px 36px;align-items:center;gap:10px;box-sizing:border-box}.project-list-header{padding:1px 12px 4px;color:var(--ui-muted, #858d87);font-size:11px;font-weight:750;letter-spacing:.025em;text-transform:uppercase}.project-list-header-avatar{display:block;width:36px;height:1px}.project-list-header-mentions,.project-list-header-actions,.project-list-mentions{justify-self:center}.project-list-mentions.project-mentions-badge{padding:2px 4px}.project-grid.list-view .project-card{height:72px;min-height:72px;padding:0 11px;overflow:visible;cursor:pointer}.project-grid.list-view .project-card:hover{transform:none;border-color:var(--ui-border, #a6c2ae);background:var(--ui-hover, #f8fbf8);box-shadow:0 8px 22px #25352a0d}.project-grid.list-view .project-card.project-list-menu-open{border-color:var(--ui-accent-border, #8caf99);box-shadow:0 8px 22px #25352a12}.project-grid.list-view.project-list-menu-active .project-card:not(.project-list-menu-open){opacity:.48;filter:saturate(.7)}.project-list-cell-open{all:unset;min-width:0;align-self:stretch;box-sizing:border-box;display:flex;align-items:center;cursor:pointer}.project-list-cell-open:focus-visible{outline:3px solid var(--ui-focus-ring, #176b4455);outline-offset:2px;border-radius:5px}.project-list-avatar{width:36px;height:36px;margin:0;justify-self:center}.project-list-summary{min-width:0;display:flex;align-items:center;gap:7px}.project-list-summary-open{min-width:0;flex:1 1 auto}.project-list-title-line{width:100%;min-width:0;display:flex;align-items:center;gap:7px}.project-list-title-line .project-comments-badge{flex:none}.project-list-title{min-width:0;overflow:hidden;color:var(--ui-text, #17211a);font-size:15px;font-weight:730;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.project-list-tags{min-width:0;display:flex;flex:0 1 auto;gap:5px;overflow:hidden}.project-list-tag{min-width:0;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list-owner{min-width:0;overflow:hidden;color:var(--ui-muted, #657068);font-size:11px;font-weight:550;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;text-align:left;justify-content:flex-start}.project-list-created,.project-list-modified{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;color:var(--ui-text, #4d5750)}.project-list-created{font-size:11px;font-weight:650;white-space:nowrap}.project-list-modified{gap:1px;font-size:11px;font-weight:700}.project-list-modified time,.project-list-modified small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-list-modified small{color:var(--ui-muted, #7a837d);font-size:10px;font-weight:500}.project-action-menu-root{position:relative;z-index:3;display:grid;place-items:center}.project-action-menu-list{justify-self:center}.project-action-menu-trigger{width:32px;height:32px;min-width:32px;min-height:32px;display:grid;place-items:center;border:1px solid transparent;border-radius:8px;padding:0;background:transparent;color:var(--ui-text, #526058)}.project-action-menu-trigger:hover,.project-action-menu-trigger[aria-expanded=true]{border-color:var(--ui-border, #c5d0c7);background:var(--ui-hover, #f4f7f4);color:var(--ui-accent, #1b6541)}.project-action-menu-trigger:focus-visible{outline:3px solid var(--ui-focus-ring, #176b4455);outline-offset:2px}.project-action-menu{position:absolute;z-index:30;width:208px;padding:5px;border:1px solid var(--ui-border, #d7dfd9);border-radius:10px;background:var(--ui-surface, #fff);box-shadow:0 14px 34px #18271d24}.project-action-menu-list .project-action-menu{top:7px;right:36px}.project-action-menu-grid .project-action-menu{top:calc(100% + 5px);right:0}.project-action-menu button,.project-action-menu a{width:100%;display:flex;align-items:center;gap:8px;box-sizing:border-box;border:0;border-radius:6px;padding:8px 9px;background:transparent;color:var(--ui-text, #435047);font-size:12px;line-height:1.25;text-align:left;text-decoration:none}.project-action-menu button:hover:not(:disabled),.project-action-menu a:hover{background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}.project-action-menu button:focus-visible,.project-action-menu a:focus-visible{outline:2px solid var(--ui-focus-ring, #176b4477);outline-offset:-1px}.project-action-menu button:disabled{cursor:wait;opacity:.55}.project-action-menu button.danger{border-color:transparent;background:transparent;color:var(--ui-danger, #b3261e)}.project-action-menu button.danger:hover{border-color:transparent;background:var(--ui-hover, #fdf0ef);color:var(--ui-danger, #982019)}.project-action-menu-separator{height:1px;margin:5px 3px;background:var(--ui-subtle, #e5e9e5)}.project-comments-badge{display:inline-flex;align-items:center;gap:3px;width:fit-content;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:650;line-height:1.4}.project-comments-badge.unresolved{background:var(--ui-warning-bg, #fef3c7);color:var(--ui-warning, #92400e);border:1px solid var(--ui-warning-border, #fde68a)}.project-mentions-badge{min-width:0;display:inline-flex;align-items:center;gap:3px;border:1px solid var(--ui-danger-border, #f8c8c5);border-radius:999px;padding:2px 6px;background:var(--ui-subtle, #fde8e7);color:var(--ui-danger, #b3261e);font:inherit;font-size:10px;font-weight:700;line-height:1.35;white-space:nowrap}.project-mentions-badge:hover,.project-mentions-badge:focus-visible{border-color:var(--ui-danger-border, #f2a29d);background:var(--ui-hover, #fcdbd8);color:var(--ui-danger, #9c1f17);outline:none}.project-mentions-badge svg{flex:none}.tag{display:inline-flex;align-items:center;gap:4px;width:fit-content;border-radius:999px;padding:2px 7px;background:var(--ui-subtle, #eef0ee);color:var(--ui-text, #4a524c);font-size:10px;font-weight:650}.tag-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:currentColor}.tag-red{--tag-color: #e04b45}.tag-orange{--tag-color: #ef9135}.tag-yellow{--tag-color: #dbb62f}.tag-green{--tag-color: #49a563}.tag-blue{--tag-color: #4c83db}.tag-purple{--tag-color: #9566ce}.tag-gray{--tag-color: #929994}.tag-dot[class*=tag-]{color:var(--tag-color)}.tag[class*=tag-]{border:1px solid color-mix(in srgb,var(--tag-color) 35%,transparent);background:color-mix(in srgb,var(--tag-color) 12%,var(--ui-tag-base, white))}.empty,.center-card{padding:50px;color:var(--ui-muted, #737a75);text-align:center}.lazy-load-state{min-height:104px;display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:var(--ui-muted, #68746d);text-align:center}.lazy-load-state.compact{min-height:72px;padding:18px 12px;font-size:12px}.lazy-load-error{flex-direction:column;color:var(--ui-danger, #6e403b)}.lazy-load-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.project-empty{grid-column:1 / -1;width:100%;min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;box-sizing:border-box;padding:64px 24px;border:1px dashed var(--ui-border, #cbd7ce);border-radius:14px;background:linear-gradient(145deg,var(--ui-surface, #fbfcfa),var(--ui-surface, #f2f7f3));text-align:center}.project-empty-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:18px;border-radius:18px;background:var(--ui-subtle, #dfeee4);color:var(--ui-accent, #176b44)}.project-empty h2{margin:0;color:var(--ui-accent, #203f2e);font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-.035em}.project-empty p{max-width:520px;margin:13px 0 0;color:var(--ui-muted, #6e7b72);font-size:15px;line-height:1.6}.project-empty-archived{min-height:280px;padding:40px 24px;border:1px solid var(--ui-border, #e0e7e1);background:var(--ui-surface, #fafcf9)}.project-empty-archived .project-empty-icon{width:50px;height:50px;margin-bottom:16px;border:1px solid var(--ui-border, #dce7df);border-radius:16px;background:var(--ui-subtle, #edf3ee);color:var(--ui-accent, #567562)}.project-empty-archived h2{font-size:clamp(20px,2vw,24px);font-weight:600;line-height:1.3;letter-spacing:-.02em}.project-empty-archived p{max-width:380px;margin-top:10px;font-size:13px}.project-empty-action{display:inline-flex;align-items:center;gap:7px;margin-top:22px;padding:8px 12px;border:1px solid var(--ui-border, #d2ded5);border-radius:8px;background:var(--ui-surface, #fff);color:var(--ui-accent, #365e45);font-size:12px}.project-empty-action:hover{border-color:var(--ui-accent-border, #9cbba7);background:var(--ui-hover, #edf4ef)}.project-empty-action:focus-visible{outline:2px solid var(--ui-accent-border, #176b44);outline-offset:3px}.project-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:22px 0 4px;color:var(--ui-muted, #66726a);font-size:12px}.project-pagination button{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--ui-border, #cbd4ce);border-radius:7px;padding:7px 10px;background:var(--ui-surface, white);color:var(--ui-text, #405248);font-size:12px}.project-pagination button:hover:not(:disabled){border-color:var(--ui-accent-border, #8bae9a);background:var(--ui-hover, #f2f7f3);color:var(--ui-accent, #176b44)}.table-card{overflow:hidden;background:var(--ui-surface, white);border:1px solid var(--ui-border, #dfe2de);border-radius:12px}.admin-user-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-bottom:16px}.admin-user-filters{display:flex;align-items:center;flex-wrap:wrap;flex:1 1 340px;min-width:0;gap:10px 14px}.admin-user-add{flex:none;margin-left:auto}.admin-user-search{display:flex;align-items:center;flex:1 1 240px;gap:9px;max-width:360px;min-width:0;padding:5px 10px;border:1px solid var(--ui-border, #cbd4ce);border-radius:8px;background:var(--ui-surface, white);color:var(--ui-muted, #6b7a70)}.admin-user-search:focus-within{border-color:var(--ui-accent-border, #648f77);box-shadow:0 0 0 3px #176b4410}.admin-user-search>svg{flex:none}.admin-user-search input{width:100%;min-width:0;border:0;outline:none;padding:6px 0;background:transparent;color:var(--ui-text, #263b2e);font-size:13px}.admin-user-search input::placeholder{color:var(--ui-muted, #829087)}.admin-user-search button{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--ui-muted, #6b7a70)}.admin-user-search button:hover{background:var(--ui-hover, #edf3ee);color:var(--ui-accent, #176b44)}.admin-user-count{color:var(--ui-muted, #738078);font-size:12px;white-space:nowrap}.admin-user-table{overflow-x:auto}.admin-user-table table{min-width:860px}.admin-user-table .admin-user-list-state{padding:32px 16px;color:var(--ui-muted, #6b7a70);text-align:center;font-size:13px}.admin-user-list-state>span{display:inline-flex;align-items:center;gap:7px;vertical-align:middle}.admin-user-list-state>button{margin-left:10px}.admin-user-pagination{flex-wrap:wrap}.admin-user-table td{vertical-align:middle}.admin-user-table td button{margin-right:0}.admin-user-identity{max-width:240px;overflow-wrap:anywhere}.admin-user-role{width:140px;padding:6px 9px;font-size:12px;border:1px solid var(--ui-border, #dce3de);border-radius:7px;background:var(--ui-surface, #fff)}.admin-user-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}.admin-user-actions,.admin-user-actions button{min-height:32px}.admin-user-badge,.admin-user-locked{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.admin-user-badge{padding:3px 8px;border-radius:20px;background:var(--ui-subtle, #eaf3ed);color:var(--ui-accent, #286247)}.admin-user-locked{color:var(--ui-muted, #627169)}.admin-user-table .admin-user-switch{display:inline-flex;align-items:center;width:32px;height:20px;padding:2px;border:1px solid var(--ui-border, #b6c1b9);border-radius:20px;background:var(--ui-subtle, #dce2dd);cursor:pointer}.admin-user-switch span{width:14px;height:14px;border-radius:50%;background:var(--ui-switch-thumb, white);box-shadow:0 1px 2px #0002;transition:transform .15s}.admin-user-table .admin-user-switch[aria-checked=true]{background:var(--ui-switch-on-bg, #27754f);border-color:var(--ui-accent-border, #27754f)}.admin-user-switch[aria-checked=true] span{transform:translate(12px)}.admin-user-switch:focus-visible{outline:2px solid var(--ui-accent-border, #27754f);outline-offset:3px}.admin-user-notice{color:var(--ui-accent, #286247);font-size:13px}.admin-user-form{border:0;padding:0;margin:0;min-width:0}table{width:100%;border-collapse:collapse}th,td{padding:14px 18px;border-bottom:1px solid var(--ui-border, #eceeeb);text-align:left;font-size:14px}th{background:var(--ui-surface, #f8f9f7);color:var(--ui-muted, #667069);font-size:12px;text-transform:uppercase}td small{display:block;color:var(--ui-muted, #7d837f);margin-top:3px}td button{margin-right:8px;border:1px solid var(--ui-border, #cdd2ce);background:var(--ui-surface, white);border-radius:5px;padding:5px 9px}.danger-text{color:var(--ui-danger, #b3261e)}.workspace{height:100vh;display:flex;flex-direction:column;overflow:hidden}.editor-topbar{height:56px;padding:0 14px;flex:none}.back{color:#fff;border:0;background:#ffffff10;width:32px;height:32px;display:grid;place-items:center;border-radius:6px}.project-heading{display:flex;flex-direction:column;min-width:0;margin-right:auto}.project-heading small{color:#b9d0c2;font-size:11px;margin-top:2px}.vim-status-badge{display:inline-flex;align-items:center;gap:5px;margin-right:8px;border:1px solid #7fd39e80;border-radius:999px;padding:5px 9px;background:#1d6b4638;color:#d7ffe3;font-size:10px;font-weight:750;letter-spacing:.04em;white-space:nowrap}.vim-status-badge svg{color:#9df0b5}.collaboration-presence{min-width:0;display:flex;align-items:center;gap:7px;padding-left:8px}.collaboration-status-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#efb84b;box-shadow:0 0 0 2px #efb84b2e}.collaboration-connected .collaboration-status-dot{background:#69d391;box-shadow:0 0 0 2px #69d3912e}.collaboration-disconnected .collaboration-status-dot{background:#e07167;box-shadow:0 0 0 2px #e071672e}.collaboration-avatars{display:flex;align-items:center;padding-left:8px}.collaboration-avatar{--session-color: #1677c8;position:relative;width:28px;height:28px;display:grid;place-items:center;margin-left:-8px;border:2px solid #214d35;border-radius:50%;background:var(--session-color);color:#fff;font-size:11px;font-weight:750;cursor:default;box-shadow:0 1px 4px #061c1145}.collaboration-avatar.editing:after{content:"";position:absolute;right:-2px;bottom:-2px;width:7px;height:7px;border:2px solid #214d35;border-radius:50%;background:#8ff0af}.collaboration-avatar.local{outline:1px solid #ffffff8a;outline-offset:-4px}.collaboration-avatar-overflow{appearance:none;padding:0;border-color:var(--ui-border, #72877b);background:var(--ui-surface, #f4f7f5);color:var(--ui-accent, #284536);font-family:inherit;font-size:10px;cursor:pointer}.collaboration-avatar-overflow:hover,.collaboration-avatar-overflow:focus-visible{background:var(--ui-hover, #dfe9e3);outline:2px solid var(--ui-accent-border, #9bc6aa);outline-offset:1px}.collaboration-avatar-tooltip{position:absolute;z-index:80;top:calc(100% + 9px);right:-8px;width:max-content;max-width:280px;display:none;gap:2px;padding:9px 11px;border:1px solid var(--ui-border, #d7ded9);border-radius:7px;background:var(--ui-surface, #fff);color:var(--ui-text, #20352a);font-size:12px;font-weight:400;line-height:1.35;text-align:left;box-shadow:0 8px 24px #061c1130}.collaboration-avatar-tooltip:before{content:"";position:absolute;top:-5px;right:15px;width:8px;height:8px;transform:rotate(45deg);border-left:1px solid var(--ui-border, #d7ded9);border-top:1px solid var(--ui-border, #d7ded9);background:var(--ui-surface, #fff)}.collaboration-avatar-tooltip strong,.collaboration-avatar-tooltip span,.collaboration-avatar-tooltip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collaboration-avatar-tooltip strong{font-size:13px}.collaboration-avatar-tooltip span{color:var(--ui-text, #526158)}.collaboration-avatar-tooltip small{margin-top:3px;color:var(--ui-muted, #77837b);font-size:11px}.collaboration-avatar:hover .collaboration-avatar-tooltip,.collaboration-avatar:focus-visible .collaboration-avatar-tooltip{display:block}.collaboration-recovery{min-width:0;display:inline-flex;align-items:center;gap:7px;margin:0 8px;border:1px solid #e0716780;border-radius:999px;padding:4px 6px 4px 9px;background:#6f2b2b66;color:#ffe0dd;font-size:10px;white-space:nowrap}.collaboration-recovery button{border:1px solid #ffffff55;border-radius:999px;padding:3px 7px;background:#ffffff18;color:inherit;font-size:10px}.collaboration-recovery button:hover{background:#ffffff2c}.compile-status-strip{min-height:31px;display:flex;align-items:center;justify-content:center;gap:7px;padding:6px 14px;background:var(--ui-warning-bg, #fff6dc);color:var(--ui-warning, #72530d);border-bottom:1px solid var(--ui-warning-border, #e8cd7d);font-size:11px}.compile-status-strip.failed{background:var(--ui-danger-bg, #fff0ee);color:var(--ui-danger, #9a3028);border-bottom-color:var(--ui-danger-border, #e8aaa4)}.editor-actions .compile.cancel-compile{border-color:var(--ui-danger-border, #c9675f);background:var(--ui-surface, #fff5f3);color:var(--ui-danger, #9b342d)}.editor-actions .compile.cancel-compile:hover:not(:disabled){border-color:var(--ui-danger-border, #a8463f);background:var(--ui-hover, #ffe9e6)}.workspace-update-banner{min-height:34px;display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 14px;border-bottom:1px solid var(--ui-warning-border, #dfb25e);background:var(--ui-warning-bg, #fff3d8);color:var(--ui-warning, #62460e);font-size:11px}.workspace-update-banner>svg{flex:none;color:var(--ui-warning, #b97817)}.workspace-update-banner button{flex:none;border:1px solid var(--ui-warning-border, #c9963d);border-radius:5px;padding:4px 8px;background:var(--ui-surface, #fff);color:inherit;font:inherit;font-weight:650}.workspace-update-banner button:hover{border-color:var(--ui-warning-border, #9b6b16);background:var(--ui-hover, #fff8e9)}.client-tool-recoveries{flex:none;display:flex;flex-direction:column}.client-tool-recovery{min-height:34px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:6px 14px;border-bottom:1px solid var(--ui-warning-border, #e4bf78);background:var(--ui-warning-bg, #fff8e8);color:var(--ui-warning, #6f4d10);font-size:11px}.client-tool-recovery>svg{flex:none;color:var(--ui-warning, #b97817)}.client-tool-recovery>span{min-width:0;flex:0 1 auto;line-height:1.35}.client-tool-recovery>span strong{margin-right:3px}.client-tool-recovery-actions{flex:none;display:inline-flex;align-items:center;gap:5px}.client-tool-recovery-actions button{border:1px solid var(--ui-warning-border, #d5a553);border-radius:5px;padding:4px 8px;background:var(--ui-surface, #fff);color:var(--ui-warning, #6f4d10);font:inherit;cursor:pointer}.client-tool-recovery-actions button:hover:not(:disabled){border-color:var(--ui-warning-border, #a86b0f);background:var(--ui-hover, #fff1cd)}.client-tool-recovery-actions button:disabled{cursor:not-allowed;opacity:.5}.formatter-diagnostics-dismiss{width:25px;height:25px;display:grid;place-items:center;flex:none;border:1px solid transparent;border-radius:5px;padding:0;background:transparent;color:var(--ui-warning, #8f5b0d);cursor:pointer}.formatter-diagnostics-dismiss:hover{border-color:var(--ui-warning-border, #d5a553);background:var(--ui-hover, #fff1cd)}.editor-actions{display:flex;align-items:center;gap:8px}.editor-actions button{padding:8px 10px;display:inline-flex;align-items:center;gap:6px;border-radius:6px;border:1px solid #ffffff28;color:#fff;background:#ffffff0d;font-size:12px;white-space:nowrap}.editor-actions .compile{background:#f3b943;border-color:#f3b943;color:#193023;font-weight:700}.editor-actions button.active{background:var(--ui-accent-bg, #d9eadf);color:var(--ui-accent, #164c33)}.editor-actions .comments-action.active:hover:not(:disabled){background:var(--ui-accent-bg, #c6e2cf);color:var(--ui-accent, #164c33)}.editor-actions .comments-action.active:hover:not(:disabled) svg,.editor-actions .comments-action.active:hover:not(:disabled) span{color:inherit}.editor-actions .snapshots-action,.editor-actions .git-action{background:#ffffff0d;color:#fff}.editor-actions .comments-action:hover:not(:disabled),.editor-actions .snapshots-action:hover:not(:disabled),.editor-actions .git-action:hover:not(:disabled){background:#ffffff20}.comments-action-count{align-self:flex-start;margin:-4px 0 0 -3px;font-size:9px;font-weight:750;line-height:1;opacity:.82}.editor-actions .comments-action.active .comments-action-count{opacity:.72}.editor-actions .git-action:disabled{cursor:not-allowed;opacity:.45}.layout-menu{position:relative}.editor-actions .layout-trigger{min-width:138px;justify-content:flex-start;padding-block:5px}.layout-trigger>span{min-width:0;display:flex;flex:1;flex-direction:column;align-items:flex-start;line-height:1.15}.layout-trigger>span small{color:var(--ui-muted, #b9d0c2);font-size:9px;font-weight:500;letter-spacing:.025em;text-transform:uppercase}.layout-trigger.active>span small{color:var(--ui-accent, #52715f)}.layout-popover{position:absolute;z-index:100;top:calc(100% + 8px);right:0;width:290px;padding:7px;border:1px solid var(--ui-border, #d4dcd6);border-radius:9px;background:var(--ui-raised, white);color:var(--ui-text, #25362c);box-shadow:0 14px 38px #061c1138}.layout-popover-title{padding:6px 8px 8px;color:var(--ui-muted, #768178);font-size:10px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.editor-actions .layout-option{width:100%;min-height:52px;display:grid;grid-template-columns:25px minmax(0,1fr) 18px;gap:9px;padding:8px 9px;border:0;color:var(--ui-text, #25362c);background:transparent;text-align:left}.editor-actions .layout-option:hover,.editor-actions .layout-option.selected{background:var(--ui-accent-bg, #edf5ef);color:var(--ui-accent, #185d3d)}.layout-option>span{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.layout-option strong{font-size:12px}.layout-option small{color:var(--ui-muted, #748078);font-size:10px;line-height:1.35;white-space:normal}.toast{position:fixed;z-index:10;top:66px;left:50%;transform:translate(-50%);background:#8f271f;color:#fff;padding:9px 16px;border-radius:7px;font-size:13px;box-shadow:0 8px 30px #0003}.toast.success{background:#1d6b46}.global-tooltip{position:fixed;z-index:1500;width:max-content;max-width:min(320px,calc(100vw - 16px));box-sizing:border-box;padding:6px 8px;border:1px solid #12241a;border-radius:6px;transform:translate(-50%,-100%);background:#1c2d23;color:#fff;font:500 11px/1.35 Inter,ui-sans-serif,system-ui,sans-serif;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 6px 18px #06180e40}.work-grid{min-height:0;flex:1;background:var(--ui-surface, white)}.resize-handle{position:relative;width:6px;flex:0 0 6px;display:grid;place-items:center;background:var(--ui-subtle, #e4e7e4);color:var(--ui-muted, #98a09a);outline:none;transition:background .12s ease}.resize-handle:hover,.resize-handle[data-resize-handle-active]{background:#89ad98;color:#fff}.resize-handle svg{pointer-events:none}.sync-resize-handle{z-index:20!important;overflow:visible}.sync-direction-buttons{position:absolute;z-index:21;top:50%;left:50%;display:flex;flex-direction:row;gap:2px;padding:3px;transform:translate(-50%,-50%);border:1px solid var(--ui-border, #aebdb3);border-radius:7px;background:var(--ui-surface, #fff);box-shadow:0 4px 16px #15251b38}.sync-direction-buttons button{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:4px;padding:0;background:transparent;color:var(--ui-accent, #214d35);font-size:17px;font-weight:750;line-height:1}.sync-direction-buttons button:hover:not(:disabled){background:var(--ui-hover, #deebe2);color:var(--ui-accent, #176b44)}.sync-direction-buttons button:disabled{cursor:not-allowed;opacity:.35}.sync-resize-handle .resize-grip{opacity:0}.cm-ySelectionInfo{opacity:1!important;padding:2px 5px!important;border-radius:4px 4px 4px 0;font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;font-size:10px!important;transform:translateY(-2px);box-shadow:0 2px 5px #0002}.left-panel,.context-panel,.source-panel,.preview-panel{min-width:0;min-height:0;border-right:1px solid var(--ui-border, #dfe2de)}.left-panel,.source-panel,.preview-panel,.context-panel{height:100%}.left-panel{display:flex;flex-direction:column;overflow:hidden}.files-panel{position:relative;min-height:180px;flex:3;display:flex;flex-direction:column;overflow:hidden;border-bottom:1px solid var(--ui-border, #dfe2de)}.files-panel.drop-active{outline:2px solid var(--ui-accent-border, #2c9564);outline-offset:-2px}.file-drop-overlay{position:absolute;z-index:8;inset:42px 0 0;min-height:130px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:16px;background:var(--ui-subtle, #e8f4edee);color:var(--ui-accent, #185d3c);text-align:center;pointer-events:none;backdrop-filter:blur(2px)}.file-drop-overlay strong{font-size:13px}.file-drop-overlay span{max-width:90%;overflow:hidden;color:var(--ui-muted, #5e7668);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.file-upload-feedback{flex:none;display:grid;grid-template-columns:15px minmax(0,1fr) 22px;align-items:center;gap:5px;padding:6px 9px;border-bottom:1px solid var(--ui-border, #e2e8e3);background:var(--ui-surface, #f5f8f6);color:var(--ui-text, #52645a)}.file-upload-feedback.uploading{grid-template-columns:15px minmax(0,1fr)}.file-upload-feedback.success{background:var(--ui-accent-bg, #eff7f1);color:var(--ui-accent, #286244)}.file-upload-feedback.error{background:var(--ui-danger-bg, #fff2f1);color:var(--ui-danger, #a33030);border-color:var(--ui-danger-border, #f0d4d1)}.file-upload-feedback-text{min-width:0;overflow-wrap:anywhere;font-size:10px;line-height:1.35}.file-upload-feedback-text small{margin-left:5px;color:var(--ui-muted, #69796f);font-size:9px;white-space:nowrap}.file-upload-feedback-dismiss{width:22px;height:22px;display:grid;place-items:center;border:0;border-radius:4px;padding:0;background:transparent;color:inherit;cursor:pointer}.file-upload-feedback-dismiss:hover{background:var(--ui-hover, #0000000b)}.file-upload-feedback-dismiss:focus-visible{outline:2px solid var(--ui-accent-border, #579474);outline-offset:1px}.outline-panel{min-height:150px;flex:2;overflow:auto}.panel-title{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--ui-border, #e6e8e5);color:var(--ui-muted, #647069);text-transform:uppercase;font-size:11px;font-weight:700}.panel-title>span{min-width:0;display:flex;align-items:center;gap:6px}.panel-title .outline-heading{width:auto;min-width:0;display:inline-flex;align-items:center;gap:6px;padding:0 5px;overflow:hidden;color:inherit;font:inherit;text-overflow:ellipsis;text-transform:inherit;white-space:nowrap}.panel-title .outline-heading:disabled{cursor:default;opacity:1}.panel-title .outline-heading:disabled:hover{background:transparent;color:inherit}.word-count-actions{flex:none;display:flex;align-items:center;gap:2px;margin-left:auto}.panel-title .word-count-actions button{width:auto;height:26px;display:inline-flex;align-items:center;gap:3px;padding:0 5px;color:var(--ui-muted, #52685a);font-size:9px;text-transform:none;white-space:nowrap}.panel-title .word-count-actions button:hover:not(:disabled){background:var(--ui-hover, #e8f1eb);color:var(--ui-accent, #176b44)}.panel-title .word-count-actions button:disabled{opacity:.4}.panel-title button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--ui-muted, #5d6961)}.panel-title button:hover{background:var(--ui-hover, #e8eeea);color:var(--ui-accent, #176b44)}.panel-title .file-size-toggle{width:auto;min-width:0;display:inline-flex;padding:0 5px;font:inherit;text-transform:inherit;cursor:pointer}.panel-title .file-size-toggle[aria-pressed=true]{color:var(--ui-accent, #176b44);background:var(--ui-accent-bg, #e4f0e8)}.file-tools{flex:none;display:flex;align-items:center;gap:4px;margin-left:8px}.file-tools button{box-sizing:border-box}.file-list{min-height:0;flex:1;overflow-y:auto;padding:6px 7px 10px;scrollbar-gutter:stable}.file-format-footer{flex:none;padding:8px 8px 9px;border-top:1px solid var(--ui-border, #dfe6e1);background:var(--ui-surface, #f8faf8);box-shadow:0 -2px 7px #1f382708}.file-format-label{display:flex;align-items:center;gap:4px;margin:0 3px 6px;color:var(--ui-muted, #637169);font-size:9px;font-weight:750;letter-spacing:.08em;line-height:1;text-transform:uppercase}.file-format-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.file-format-actions button{min-width:0;height:28px;overflow:hidden;border:1px solid var(--ui-border, #d1dbd3);border-radius:999px;padding:0 8px;background:var(--ui-surface, #fff);color:var(--ui-muted, #77827b);font:600 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.file-format-actions button:hover:not(:disabled){border-color:var(--ui-border, #9bb6a4);background:var(--ui-hover, #f2f8f3);color:var(--ui-accent, #245b3b)}.file-format-actions button.active{border-color:var(--ui-accent-border, #8aaf98);background:var(--ui-accent-bg, #eaf5ee);color:var(--ui-accent, #1c5b38);font-weight:700}.file-format-actions button:disabled{cursor:not-allowed;border-color:var(--ui-border, #e2e7e3);background:var(--ui-surface, #f7f8f7);color:var(--ui-muted, #a1aaa4);opacity:1}.file-format-actions button.active:disabled{border-color:var(--ui-border, #c8d8cd);background:var(--ui-hover, #eff5f0);color:var(--ui-muted, #6f8778)}.file-entry{min-width:0;height:calc(1em + 18px);min-height:30px;display:flex;align-items:center;border-radius:5px;color:var(--ui-text, #4f5952)}.file-entry:hover{background:var(--ui-hover, #f0f3f0)}.file-entry.active,.file-entry.selected{background:var(--ui-accent-bg, #e2efe7);box-shadow:inset 3px 0 #28724e;color:var(--ui-accent, #15583a);font-weight:650}.file-list.folder-selected .file-entry.active{background:transparent;box-shadow:none;color:var(--ui-text, #4f5952);font-weight:400}.file-entry.move-drag-source{opacity:.48}.file-entry.folder-entry.move-drop-target{background:var(--ui-subtle, #dff1e6);box-shadow:inset 0 0 0 1px #4a9a70;color:var(--ui-accent, #15583a)}.file-list.root-drop-target{background:var(--ui-surface, #f2f8f3);box-shadow:inset 0 0 0 1px #9bc5a9}.file-entry-main[draggable=true]{cursor:grab}.file-entry-main[draggable=true]:active{cursor:grabbing}.file-entry-main{min-width:0;height:100%;flex:1;overflow:hidden;display:flex;align-items:center;gap:5px;border:0;padding:0 4px;background:transparent;color:inherit;text-align:left;font-size:inherit}.file-entry-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-entry-main .file-type-icon{flex:none}.file-entry-main svg.file-type-icon{color:var(--ui-accent, #28724e)}.file-entry-main img.file-type-icon{object-fit:contain}.file-entry-main .file-type-icon-pdf{color:var(--ui-danger, #b0444b)}.file-entry-main .file-type-icon-image{color:var(--ui-purple, #7b55a5)}.file-entry-main .file-type-icon-bib{color:var(--ui-info, #176b8f)}.file-entry-main .file-type-icon-latexmkrc{color:var(--ui-info, #656c8d)}.file-entry-main .file-type-icon-markdown{color:var(--ui-info, #3d6da8)}.file-entry-main .file-type-icon-text{color:var(--ui-muted, #69766f)}.file-entry-main .file-type-icon-code{color:var(--ui-accent, #28724e)}.file-entry-main .file-type-icon-spreadsheet{color:var(--ui-accent, #3c815b)}.file-entry-main .file-type-icon-archive{color:var(--ui-warning, #a8732c)}.file-entry-main .file-type-icon-audio,.file-entry-main .file-type-icon-video{color:var(--ui-pink, #a15183)}.file-entry-main .file-type-icon-file{color:var(--ui-muted, #78837b)}.file-entry-main small{flex:none;padding:1px 4px;border-radius:999px;background:var(--ui-subtle, #d9eadf);color:var(--ui-accent, #1d5b3e);font-size:8px;line-height:1.35}.file-entry-size{flex:none;margin-right:5px;color:var(--ui-muted, #78837b);font-size:.86em;font-variant-numeric:tabular-nums;white-space:nowrap}.folder-entry .file-entry-main svg:first-child{color:var(--ui-muted, #78837b)}.folder-entry .file-entry-main svg:nth-child(2){color:var(--ui-warning, #d49b2d)}.file-entry-action{width:26px;height:26px;flex:none;display:none;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--ui-muted, #657069)}.file-entry:hover .file-entry-action,.file-entry:focus-within .file-entry-action{display:grid}.file-entry-action:hover{background:var(--ui-hover, #dfe7e1);color:var(--ui-accent, #176b44)}.resource-download{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.resource-preview-message{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--ui-text, #536158);text-align:center}.resource-preview-message strong{color:var(--ui-text, #263d2e);font-size:15px}.resource-preview-message span{max-width:440px;color:var(--ui-muted, #748078);font-size:12px}.resource-image-wrap{display:flex;max-height:min(620px,65vh);align-items:center;justify-content:center;overflow:auto;padding:8px;background:var(--ui-subtle, #e9ecea);border-radius:7px}.resource-image{display:block;max-width:100%;max-height:min(590px,62vh);object-fit:contain}.resource-pdf{width:100%;height:min(650px,68vh);border:1px solid var(--ui-border, #d9dfda);border-radius:6px;background:#69706c}.resource-text{max-height:min(650px,68vh);overflow:auto;margin:0;padding:14px;border:1px solid var(--ui-border, #d9dfda);border-radius:6px;background:var(--ui-surface, #f7f9f7);color:var(--ui-text, #26352c);font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.source-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;height:100%;min-height:0}.editor-tabs-bar{flex:none;min-height:35px;background:var(--ui-subtle, #eaefe9);border-bottom:1px solid var(--ui-border, #d4ded7);display:flex;align-items:stretch;padding:4px 6px 0;overflow:hidden}.editor-tabs-scroll{display:flex;align-items:stretch;gap:3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.editor-tabs-scroll::-webkit-scrollbar{display:none}.editor-tab-item{display:inline-flex;align-items:center;max-width:220px;border:1px solid var(--ui-border, #ccd6ce);border-bottom:0;border-radius:6px 6px 0 0;background:var(--ui-subtle, #dce4de);color:var(--ui-muted, #55665c)}.editor-tab-item:hover{background:var(--ui-hover, #e6eee8);color:var(--ui-text, #1e3628)}.editor-tab-item.active{background:var(--ui-surface, #ffffff);border-color:var(--ui-border, #cad7ce);box-shadow:0 -1px 3px #0000000a}.editor-tab{display:inline-flex;align-items:center;gap:5px;min-width:0;flex:1 1 auto;padding:4px 7px 4px 10px;border:0;border-radius:6px 0 0;background:transparent;color:inherit;font:inherit;font-size:12px;text-align:left;cursor:pointer;user-select:none;white-space:nowrap}.editor-tab:hover{color:var(--ui-text, #1e3628)}.editor-tab.active{color:var(--ui-accent, #184f36);font-weight:600}.editor-tab:focus-visible{position:relative;z-index:1;outline:2px solid var(--ui-accent-border, #4c9a6d);outline-offset:-2px}.editor-tab-icon{display:inline-flex;align-items:center;color:var(--ui-muted, #697a70)}.editor-tab.active .editor-tab-icon{color:var(--ui-accent, #184f36)}.editor-tab-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-tab-badge{font-size:9px;padding:1px 4px;border-radius:4px;background:var(--ui-subtle, #e3eee6);color:var(--ui-accent, #1a6442);font-weight:600;flex-shrink:0}.editor-tab-close{display:inline-flex;align-items:center;justify-content:center;width:22px;height:24px;border:0;border-radius:0 5px 0 0;background:transparent;color:var(--ui-muted, #76887e);padding:0;cursor:pointer;flex-shrink:0}.editor-tab-close:hover{background:var(--ui-hover, #cbd7cf);color:var(--ui-text, #153123)}.editor-tab-item.active .editor-tab-close:hover{background:var(--ui-subtle, #e3ece5);color:var(--ui-accent, #184f36)}.editor-tab-close:focus-visible{position:relative;z-index:1;outline:2px solid var(--ui-accent-border, #4c9a6d);outline-offset:-2px}.editor-content-container{position:relative;flex:1 1 auto;min-height:0;height:100%;overflow:hidden}.editor-centered-notice{position:absolute;z-index:8;top:50%;left:50%;max-width:calc(100% - 32px);transform:translate(-50%,-50%);pointer-events:none;border:1px solid #69a780;border-radius:8px;padding:9px 15px;background:#1d6b46ed;color:#fff;font:600 12px/1.4 inherit;text-align:center;box-shadow:0 8px 26px #071d1238}.editor-shell{height:100%;min-height:0;display:flex;flex-direction:column;color:var(--tl-ink);background:var(--tl-editor-bg)}.editor-shell .editor-host{height:auto;min-height:0;flex:1 1 auto}.editor-host,.cm-editor{height:100%;min-height:0}.editor-host .cm-editor{font-family:inherit;font-size:inherit;line-height:inherit;color:var(--tl-ink);background:var(--tl-editor-bg)}.editor-host .cm-gutters{color:var(--tl-gutter);background:var(--tl-editor-bg);border-color:var(--tl-border)}.editor-host .cm-content{caret-color:var(--tl-cursor)}.editor-host .cm-cursor,.editor-host .cm-dropCursor{border-left-color:var(--tl-cursor)}.editor-host .cm-foldPlaceholder{background:var(--tl-literal-bg);border-color:var(--tl-border);color:var(--tl-bracket)}.editor-host .cm-selectionMatch{background:var(--tl-active-line)}.editor-host .cm-tooltip{color:var(--tl-ink);background:var(--tl-completion-bg);border-color:var(--tl-completion-border)}.editor-host .cm-tooltip-section:not(:first-child){border-top-color:var(--tl-completion-border)}.editor-host .cm-tooltip .cm-tooltip-arrow:before{border-top-color:var(--tl-completion-border);border-bottom-color:var(--tl-completion-border)}.editor-host .cm-tooltip .cm-tooltip-arrow:after{border-top-color:var(--tl-completion-bg);border-bottom-color:var(--tl-completion-bg)}.editor-host .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--tl-completion-active-bg);color:var(--tl-completion-active-fg)}.editor-host .cm-tooltip-autocomplete-disabled ul li[aria-selected]{background:var(--tl-muted-fg)}.editor-host .cm-diagnostic{color:var(--tl-ink)}.editor-host .cm-diagnostic-error{border-left-color:var(--tl-error)}.editor-host .cm-diagnostic-warning{border-left-color:var(--tl-warning)}.editor-host .cm-diagnostic-info{border-left-color:var(--tl-hint)}.editor-host .cm-lintRange-error{background-image:none;text-decoration:underline wavy var(--tl-error);text-underline-offset:2px}.editor-host .cm-lintRange-warning{background-image:none;text-decoration:underline wavy var(--tl-warning);text-underline-offset:2px}.editor-host .cm-lineNumbers .cm-activeLineGutter{color:var(--tl-gutter-active);background:transparent}.editor-host .cm-activeLine{background:var(--tl-active-line)}.editor-host .cm-selectionBackground{background:var(--tl-selection-inactive-bg)}.editor-host .cm-editor.cm-focused>.cm-scroller>.cm-selectionLayer .cm-selectionBackground{background:var(--tl-selection-bg)}.editor-host .cm-content ::selection,.editor-host .cm-content::selection{background:var(--tl-selection-inactive-bg)}.editor-host .cm-focused .cm-content ::selection,.editor-host .cm-focused .cm-content::selection{background:var(--tl-selection-bg)}:root[data-theme=dark] .editor-host .cm-editor:has(.cm-selectionBackground) .cm-activeLine{background:transparent}.editor-host .cm-matchingBracket,.editor-host .cm-tl-environment-match{background:var(--tl-match-bg)}.editor-host .cm-nonmatchingBracket{color:inherit;background:transparent;text-decoration:underline wavy var(--tl-error) 2px;text-underline-offset:2px}.editor-host .cm-editor{font-variant-ligatures:contextual;font-feature-settings:"liga" 1,"calt" 1}.editor-host .cm-scroller{min-height:0;height:auto;flex:1 1 auto;overflow:auto;font-family:inherit;line-height:inherit}.editor-host .cm-panels{flex:none}.editor-host .cm-vim-panel{min-height:25px;display:flex;align-items:center;box-sizing:border-box;width:100%;border-top:1px solid var(--tl-vim-border);padding:3px 10px;background:var(--tl-vim-bg);color:var(--tl-vim-fg);font:11px/1.3 SFMono-Regular,Consolas,monospace}.vim-editor-status{min-height:25px;flex:0 0 25px;display:flex;align-items:center;box-sizing:border-box;border-top:1px solid var(--tl-vim-border);padding:3px 10px;background:var(--tl-vim-bg);color:var(--tl-vim-fg);font:11px/1.3 SFMono-Regular,Consolas,monospace}.editor-host .cm-content,.editor-host .cm-gutters{font-family:inherit;font-size:inherit}.cm-editor.cm-focused{outline:none}.editor-host .cm-spell-error-active{border-radius:2px;background:var(--tl-spell-active-bg);box-shadow:0 0 0 1px var(--tl-spell-active-border);color:var(--tl-spell-active-fg);text-decoration:underline wavy var(--tl-spell-active-line) 1.5px;text-decoration-skip-ink:none}.editor-host .cm-panel.cm-search{padding:8px 38px 8px 10px;border-top:1px solid var(--tl-border);background:var(--tl-panel-bg);color:var(--tl-panel-fg);box-shadow:0 -3px 10px var(--tl-tooltip-shadow);font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:12px;line-height:1.4}.editor-host .cm-panel.cm-search .cm-textfield{min-width:170px;height:29px;margin:2px 6px 2px 0;border:1px solid var(--tl-input-border);border-radius:5px;padding:4px 8px;background:var(--tl-input-bg);color:var(--tl-input-fg);outline:none;font-family:inherit;font-size:12px}.editor-host .cm-panel.cm-search .cm-textfield:focus{border-color:var(--tl-focus);box-shadow:0 0 0 2px var(--tl-focus-ring)}.editor-host .cm-panel.cm-search .cm-button{height:29px;margin:2px 5px 2px 0;border:1px solid var(--tl-control-border);border-radius:5px;padding:3px 9px;background:var(--tl-input-bg);background-image:none;color:var(--tl-control-fg);font-family:inherit;font-size:12px;text-transform:none}.editor-host .cm-panel.cm-search .cm-button:hover{border-color:var(--tl-hover-border);background:var(--tl-hover-bg)}.editor-host .cm-panel.cm-search label{display:inline-flex;align-items:center;gap:3px;margin:3px 9px 3px 0;color:var(--tl-panel-muted);font-family:inherit;font-size:12px}.editor-host .cm-panel.cm-search input[type=checkbox]{accent-color:var(--tl-accent)}.editor-host .cm-panel.cm-search [name=close]{top:8px;right:10px;width:25px;height:25px;border-radius:5px;color:var(--tl-muted-fg);font-size:19px;line-height:1}.editor-host .cm-panel.cm-search [name=close]:hover{background:var(--tl-close-hover-bg);color:var(--tl-hover-fg)}.editor-host .cm-search-count{display:inline-flex;align-items:center;min-height:29px;margin:2px 5px 2px 4px;color:var(--tl-secondary-fg);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.editor-host .cm-searchMatch{background:var(--tl-search-bg);outline:1px solid var(--tl-search-outline)}.editor-host .cm-searchMatch.cm-searchMatch-selected{background:var(--tl-search-bg);outline:2px solid var(--tl-warning)}.editor-host .cm-spell-error{text-decoration:underline wavy var(--tl-error) 1.5px;text-decoration-skip-ink:none;text-decoration-thickness:1.5px}.editor-host .cm-grammar-warning{text-decoration:underline wavy var(--tl-warning) 1.5px;text-decoration-skip-ink:none;text-decoration-thickness:1.5px}.editor-host .cm-latex-writing-issue{text-decoration:underline dotted var(--tl-hint) 1.5px;text-decoration-skip-ink:none;text-decoration-thickness:1.5px}.editor-host .cm-tl-command{color:var(--tl-cmd)}.editor-host .cm-tl-structure{color:var(--tl-structure);font-weight:600}.editor-host .cm-tl-environment{color:var(--tl-env)}.editor-host .cm-tl-heading{font-weight:600}.editor-host .cm-tl-bracket{color:var(--tl-bracket);font-weight:400}.editor-host .cm-tl-special{color:var(--tl-special)}.editor-host .cm-tl-key{color:var(--tl-key)}.editor-host .cm-tl-comment{color:var(--tl-comment);font-style:normal;font-weight:400}.editor-host .cm-code-comment{color:var(--tl-code-comment);font-style:normal}.editor-host .cm-selected-comment,.editor-host .cm-selected-comment :is(.cm-tl-comment,.cm-code-comment){color:var(--tl-comment-selected)}:root[data-theme=dark] .editor-host .cm-activeLine{--tl-comment: var(--tl-comment-selected);--tl-code-comment: var(--tl-comment-selected)}:root[data-theme=dark] .editor-host :is(.cm-tl-comment,.cm-code-comment)::selection{color:var(--tl-comment-selected)}:root[data-theme=dark] .editor-host :is(.cm-tl-comment,.cm-code-comment) .cm-searchMatch,:root[data-theme=dark] .editor-host .cm-searchMatch :is(.cm-tl-comment,.cm-code-comment),:root[data-theme=dark] .editor-host :is(.cm-tl-comment,.cm-code-comment).cm-searchMatch{color:var(--tl-comment-selected)}.editor-host .cm-tl-literal{color:inherit;background:var(--tl-literal-bg);font-weight:400}.editor-host .cm-tl-math-delimiter,.editor-host .cm-tl-math-command,.editor-host .cm-tl-math-command .cm-tl-command{color:var(--tl-math)}.editor-host .cm-tl-comment-task,.editor-host .cm-tl-comment-task .cm-tl-comment,.editor-host .cm-tl-comment-task .cm-selected-comment,.editor-host .cm-selected-comment .cm-tl-comment-task{color:var(--tl-task);font-weight:600}.editor-host .cm-editor :is(.cm-matchingBracket,.cm-tl-environment-match),.editor-host .cm-editor :is(.cm-matchingBracket,.cm-tl-environment-match) *{color:var(--tl-match-fg)}.editor-host .cm-latex-citation-key,.editor-host .cm-latex-label-key{color:var(--tl-key)}.editor-host :is(.cm-latex-citation-key,.cm-latex-label-key).cm-reference-navigation-active{border-radius:2px;background:color-mix(in srgb,var(--tl-key) 10%,var(--tl-reference-bg));text-decoration:underline solid var(--tl-key) 1px;text-decoration-skip-ink:none;text-underline-offset:2px;cursor:pointer}.spell-suggestions-menu{position:fixed;z-index:1200;display:flex;min-width:190px;max-width:250px;flex-direction:column;gap:3px;padding:7px;border:1px solid var(--tl-tooltip-border);border-radius:7px;background:var(--tl-tooltip-bg);box-shadow:0 10px 28px var(--tl-tooltip-shadow);color:var(--tl-tooltip-fg);font-size:12px}.spell-suggestions-title{padding:3px 6px 5px;color:var(--tl-tooltip-muted);font-size:10px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.spell-suggestions-message{padding:3px 6px 6px;border-bottom:1px solid var(--tl-tooltip-separator);color:var(--tl-tooltip-detail);font-size:11px;line-height:1.4}.spell-suggestions-menu button{min-height:29px;border:1px solid transparent;border-radius:5px;padding:4px 8px;background:transparent;color:var(--tl-tooltip-action);font:inherit;text-align:left;cursor:pointer}.spell-suggestions-menu button:hover:not(:disabled),.spell-suggestions-menu button:focus-visible:not(:disabled){border-color:var(--tl-tooltip-hover-border);background:var(--tl-tooltip-hover-bg);outline:none}.spell-suggestions-menu button:disabled{color:var(--tl-tooltip-disabled);cursor:not-allowed;opacity:.7}.spell-suggestions-empty,.spell-suggestions-readonly{display:block;padding:4px 6px;color:var(--tl-tooltip-disabled);font-size:10px;line-height:1.35}.spell-suggestions-readonly{border-top:1px solid var(--tl-tooltip-separator);margin-top:3px;padding-top:7px}.cm-tooltip:has(.texlite-math-hover){max-width:min(720px,calc(100vw - 28px));border:1px solid var(--tl-tooltip-border);border-radius:7px;padding:0;background:var(--tl-tooltip-bg);box-shadow:0 10px 26px var(--tl-tooltip-shadow);color:var(--tl-tooltip-fg);font-family:Inter,ui-sans-serif,system-ui,sans-serif}.texlite-math-hover{max-width:min(680px,calc(100vw - 52px));min-width:56px;overflow:auto;padding:10px 13px;color:var(--tl-tooltip-fg);font-size:14px;line-height:1.45;white-space:nowrap}.texlite-math-hover.display{padding:13px 17px;white-space:normal}.texlite-math-hover .katex-display{margin:0}.texlite-math-hover-error{color:var(--tl-error);font-size:11px;white-space:normal}.cm-tooltip:has(.cm-bibtex-tooltip){max-width:min(420px,calc(100vw - 28px));border:1px solid var(--tl-tooltip-border);border-radius:8px;padding:0;background:var(--tl-tooltip-bg);box-shadow:0 10px 26px var(--tl-tooltip-shadow);color:var(--tl-tooltip-fg);font-family:Inter,ui-sans-serif,system-ui,sans-serif}.cm-bibtex-tooltip{max-width:min(396px,calc(100vw - 52px));padding:10px 12px;font-size:12px;line-height:1.45}.cm-bibtex-tooltip-field-name{margin-bottom:3px;color:var(--tl-tooltip-action);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700}.cm-bibtex-tooltip-description{color:var(--tl-tooltip-fg)}.cm-bibtex-tooltip-required{margin-top:6px;color:var(--tl-key)}.cm-bibtex-tooltip-optional{margin-top:3px;color:var(--tl-tooltip-detail)}.cm-bibtex-tooltip-example-label{margin-top:7px;color:var(--tl-tooltip-muted);font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.035em}.cm-bibtex-tooltip-example{max-height:160px;margin:3px 0 0;overflow:auto;padding:7px 8px;border-radius:5px;background:var(--tl-tooltip-example-bg);color:var(--tl-tooltip-fg);font:11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.cm-bibtex-tooltip-example-inline{margin-top:7px;color:var(--tl-tooltip-detail);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.cm-bibtex-tooltip-note{margin-top:7px;color:var(--tl-tooltip-muted);font-size:11px}.cm-source-comment{background:var(--tl-comment-bg);border-bottom:2px solid var(--tl-comment-border);cursor:text}.editor-host .cm-comment-pin{display:inline-block;min-width:14px;margin:0;padding:0 2px;border:0;border-radius:3px;background:transparent;color:var(--tl-comment-border);font:inherit;font-size:11px;line-height:inherit;vertical-align:baseline;cursor:pointer}.editor-host .cm-comment-pin:hover{background:var(--tl-comment-hover-bg);color:var(--tl-comment-hover-fg)}.editor-host .cm-comment-pin:focus-visible{outline:2px solid var(--tl-comment-border);outline-offset:1px}.editor-host .cm-lineNumbers{min-width:calc(3.16em + 11px)}.cm-selection-line-actions{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}.editor-host .cm-lineNumbers .cm-selection-action-button{width:1.58em;height:1.58em;display:inline-grid;place-items:center;margin:0;padding:0;border:0;border-radius:5px;background:var(--tl-selection-action-bg);color:var(--tl-selection-action-fg);cursor:pointer;vertical-align:middle;box-shadow:0 1px 2px var(--tl-tooltip-shadow)}.editor-host .cm-lineNumbers .cm-selection-action-button:hover{background:var(--tl-selection-action-hover-bg);color:var(--tl-selection-action-hover-fg);box-shadow:0 1px 3px var(--tl-tooltip-shadow)}.editor-host .cm-lineNumbers .cm-selection-history{background:var(--tl-history-action-bg);color:var(--tl-history-action-fg)}.editor-host .cm-lineNumbers .cm-selection-history:hover{background:var(--tl-history-action-hover-bg);color:var(--tl-history-action-hover-fg)}.editor-host .cm-lineNumbers .cm-selection-action-button:focus-visible{outline:2px solid currentColor;outline-offset:1px}.editor-host .cm-lineNumbers .cm-selection-action-button svg{width:1.16em;height:1.16em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.preview-panel{display:flex;flex-direction:column;background:#6f7471}.preview-tabs{min-height:48px;flex:none;display:flex;align-items:stretch;padding:5px 6px 0;background:#4d544f}.preview-tab-list{min-width:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px}.preview-tabs button{min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:6px 6px 0 0;background:transparent;color:#d7dcd8;font-size:11px}.preview-tabs button.active{background:var(--ui-accent-bg, #f3f4f1);color:var(--ui-accent, #184f36);font-weight:700}.preview-tabs button span{min-width:17px;padding:1px 4px;border-radius:999px;background:var(--ui-hover, #ffffff20);font-size:9px}.preview-tabs button.active span{background:var(--ui-hover, #dfe8e2)}.preview-tabs .pdf-tab{justify-content:flex-start;padding:0 12px;font-size:12px}.preview-tabs .pdf-tab-icon{width:16px;height:16px;flex:none;object-fit:contain}.preview-tabs button .pdf-tab-label{min-width:0;overflow:hidden;padding:0;border-radius:0;background:transparent;display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:12px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.preview-tabs button.active .pdf-tab-label{background:transparent}.preview-tabs .pdf-tab small{max-width:100%;overflow:hidden;color:var(--ui-muted, #bcc4bf);font-size:8px;font-weight:400;line-height:1;text-overflow:ellipsis;white-space:nowrap}.preview-tabs .pdf-tab.active small{color:var(--ui-muted, #65756c)}.preview-tabs .diagnostics-tab{min-width:112px}.pdf-download-top{flex:none;display:inline-flex;align-items:center;gap:5px;margin-left:4px;padding:0 11px;border:0;border-radius:6px 6px 0 0;color:var(--ui-info, #a9cce8);font-size:10px;text-decoration:none;white-space:nowrap}.pdf-download-top:hover{background:var(--ui-hover, #d7ecff24);color:#eaf5ff}.preview-subtabs{height:36px;flex:none;display:flex;align-items:center;gap:3px;padding:4px 7px;border-bottom:1px solid var(--ui-border, #cfd6d1);background:var(--ui-subtle, #e4e9e5)}.preview-subtabs button{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:0;border-radius:5px;background:transparent;color:var(--ui-muted, #58665d);font-size:10px}.preview-subtabs button:hover{background:var(--ui-hover, #d8e3db);color:var(--ui-accent, #205c40)}.preview-subtabs button.active{background:var(--ui-accent-bg, #fff);color:var(--ui-accent, #184f36);font-weight:700;box-shadow:0 1px 3px #26312b22}.preview-subtabs button span{min-width:16px;padding:1px 4px;border-radius:999px;background:var(--ui-subtle, #d5ded7);font-size:9px;text-align:center}.preview-subtabs button.active span{background:var(--ui-hover, #dfe8e2)}.preview-content{min-height:0;flex:1}.preview-pdf{overflow:hidden}.pdf-viewer{position:relative;width:100%;height:100%;min-height:0;display:flex;flex-direction:column}.pdf-toolbar{height:36px;flex:none;display:flex;align-items:center;justify-content:flex-end;gap:3px;padding:4px 8px;border-bottom:1px solid #343a36;background:#414843;color:#e4e8e5;font:11px/1 Inter,ui-sans-serif,system-ui,sans-serif}.pdf-toolbar button{height:27px;min-width:27px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #ffffff24;border-radius:5px;padding:0 6px;background:#ffffff0b;color:inherit}.pdf-toolbar button:hover:not(:disabled){border-color:#ffffff48;background:#ffffff1b}.pdf-toolbar button:disabled{opacity:.3}.pdf-zoom-value{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}.pdf-toolbar .pdf-fit-width{margin-left:3px;padding:0 8px}.pdf-compiling-overlay,.pdf-loading-overlay,.pdf-load-error-overlay{position:absolute;z-index:4;top:47px;left:50%;display:inline-flex;align-items:center;gap:7px;transform:translate(-50%);border:1px solid #ffffff32;border-radius:999px;padding:6px 10px;background:#17231ce6;color:#fff;box-shadow:0 3px 12px #0005;font-size:12px;pointer-events:none}.pdf-load-error-overlay{border-color:#e8a59c;background:#6d2d29ed;pointer-events:auto}.pdf-load-error-overlay button,.pdf-page-error button,.preview-empty button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid currentColor;border-radius:6px;padding:4px 8px;background:transparent;color:inherit;font-size:12px;cursor:pointer}.pdf-load-error-overlay button:hover,.pdf-page-error button:hover,.preview-empty button:hover{background:#ffffff24}.pdf-loading-state{width:100%;height:100%;min-height:220px;display:grid;place-items:center;align-content:center;gap:10px;background:#6f7471;color:#eef2ef;font-size:12px}.pdf-document{position:relative;width:100%;min-width:0;min-height:0;flex:1;overflow-x:scroll;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--ui-muted, #aeb8b1) var(--ui-text, #4f5652);scrollbar-width:auto;scrollbar-gutter:stable;padding:14px 14px 20px;background:#6f7471}.pdf-document::-webkit-scrollbar{width:12px;height:12px}.pdf-document::-webkit-scrollbar-track{background:#4f5652}.pdf-document::-webkit-scrollbar-thumb{min-width:38px;border:2px solid var(--ui-border, #4f5652);border-radius:999px;background:var(--ui-hover, #aeb8b1)}.pdf-document::-webkit-scrollbar-thumb:hover{background:var(--ui-hover, #d5dcd7)}.pdf-document::-webkit-scrollbar-corner{background:#4f5652}.pdf-pages{min-width:100%}.pdf-loading{min-height:220px;display:grid;place-items:center;align-content:center;gap:10px;color:#eef2ef;font-size:12px}.pdf-page{position:relative;flex:none;max-width:none;overflow:hidden;margin:0 auto 16px;background:#fff;box-shadow:0 3px 14px #0004}.pdf-page.loading{background:#f7f8f7}.pdf-page-error{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:var(--ui-surface, #f7f8f7);color:var(--ui-danger, #6d2d29);font-size:12px;text-align:center}.pdf-page canvas{display:block;width:100%!important;max-width:100%;height:auto!important}.pdf-annotation-layer{position:absolute;inset:0;z-index:3;pointer-events:none}.pdf-annotation-link{position:absolute;display:block;pointer-events:auto;border-radius:2px;background:transparent;cursor:pointer}.pdf-annotation-link:hover{background:#3f9b6426;box-shadow:inset 0 0 0 1px #3f9b6440}.pdf-page figcaption{position:absolute;right:7px;bottom:5px;padding:2px 5px;border-radius:4px;background:#26312bb5;color:#fff;font-size:9px;pointer-events:none}.pdf-sync-marker{position:absolute;z-index:2;width:14px;height:14px;border:3px solid #ef9c24;border-radius:50%;transform:translate(-50%,-50%);background:#ffe0a580;box-shadow:0 0 0 4px #ef9c2435;pointer-events:none;animation:sync-pulse 1.2s ease-out}@keyframes sync-pulse{0%{box-shadow:0 0 0 14px #ef9c2460}to{box-shadow:0 0 0 4px #ef9c2435}}.preview-empty{height:100%;display:grid;place-content:center;gap:8px;color:#e7e9e7;text-align:center}.preview-empty span{font-size:12px;color:#c2c7c4}.preview-log,.preview-warnings,.preview-errors{overflow:auto;background:#202522}.preview-clean{overflow:auto;background:var(--ui-surface, #f4f6f4)}.preview-artifacts{overflow:hidden;background:var(--ui-surface, #f4f6f4)}.artifact-browser{width:100%;height:100%;min-height:0;display:grid;grid-template-columns:minmax(135px,38%) minmax(0,1fr)}.artifact-list{min-width:0;overflow:auto;border-right:1px solid var(--ui-border, #d9dedb);background:var(--ui-surface, #fff)}.artifact-row{min-width:0;display:flex;align-items:stretch;border-bottom:1px solid var(--ui-border, #edf0ee)}.artifact-row.active{background:var(--ui-hover, #e5f0e9)}.artifact-row>button{min-width:0;flex:1;display:flex;align-items:center;gap:7px;padding:8px 6px 8px 9px;border:0;background:transparent;color:var(--ui-text, #33463b);text-align:left}.artifact-row>button:disabled{cursor:default;opacity:.7}.artifact-row>button>span{min-width:0;display:flex;flex-direction:column;gap:2px}.artifact-row strong{overflow:hidden;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.artifact-row small{color:var(--ui-muted, #89928c);font-size:9px}.artifact-row>a{width:30px;flex:none;display:grid;place-items:center;color:var(--ui-info, #3c6fa3)}.artifact-row>a:hover{background:var(--ui-hover, #e5f1fb);color:var(--ui-info, #245a8b)}.artifact-preview{min-width:0;min-height:0;display:flex;flex-direction:column;background:#202522;color:#dbe2dd}.artifact-preview>header{height:36px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border-bottom:1px solid #39413c;background:#303732;font-size:11px}.artifact-preview>header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artifact-preview>header a{flex:none;display:inline-flex;align-items:center;gap:4px;color:#a9cce8}.artifact-preview>header a:hover{color:#eaf5ff}.artifact-preview>pre{min-height:0;flex:1;margin:0;overflow:auto;padding:13px;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.55 SFMono-Regular,Consolas,monospace}.compile-output{min-height:100%;margin:0;padding:16px;color:#dbe2dd;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.55 SFMono-Regular,Consolas,monospace}.compile-output.compile-warning{color:#ffdfa0;background:#2d281c}.compile-output.compile-error{color:#ffc2bd;background:#301e1d}.compile-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#bfc7c1;font-size:12px}.compile-empty.compile-warning{color:#e8c46d;background:#2d281c}.compile-empty.compile-error{color:#e99b94;background:#301e1d}.compile-clean-panel{max-width:820px;margin:0 auto;padding:24px;color:var(--ui-text, #30453a)}.compile-clean-intro{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--ui-warning-border, #e3d1a7);border-radius:9px;background:var(--ui-surface, #fffaf0);color:var(--ui-warning, #80631f);box-shadow:0 3px 12px #5c48100d}.compile-clean-intro>div{min-width:0}.compile-clean-intro strong{display:block;font-size:14px}.compile-clean-intro p,.compile-clean-actions p{margin:5px 0 0;color:var(--ui-muted, #718078);font-size:11px;line-height:1.5}.compile-clean-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.compile-clean-actions article{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;min-width:0;padding:14px;border:1px solid var(--ui-border, #d4dfd7);border-radius:8px;background:var(--ui-surface, #fff)}.compile-clean-actions article.danger{border-color:var(--ui-danger-border, #e3c9c5)}.compile-clean-action-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:var(--ui-subtle, #e7f2ea);color:var(--ui-accent, #28714a)}.compile-clean-actions article.danger .compile-clean-action-icon{background:var(--ui-subtle, #f8e8e6);color:var(--ui-danger, #a6433a)}.compile-clean-actions strong{color:var(--ui-text, #2d4638);font-size:12px}.compile-clean-actions article.danger strong{color:var(--ui-danger, #874039)}.compile-clean-actions button{display:inline-flex;align-items:center;gap:5px;margin-top:12px;padding:6px 10px;border:1px solid var(--ui-border, #b8d1bd);border-radius:5px;background:var(--ui-surface, #f0f8f1);color:var(--ui-accent, #21633d);font-size:11px}.compile-clean-actions button:hover:not(:disabled){border-color:var(--ui-accent-border, #79aa86);background:var(--ui-hover, #e3f2e6)}.compile-clean-actions button.danger{border-color:var(--ui-danger-border, #e2b9b4);background:var(--ui-surface, #fff4f2);color:var(--ui-danger, #a23d35)}.compile-clean-actions button.danger:hover:not(:disabled){border-color:var(--ui-danger-border, #c8837a);background:var(--ui-hover, #fce7e4)}.compile-clean-actions button:disabled{cursor:not-allowed;opacity:.45}.compile-diagnostic-list{min-height:100%;padding:8px;background:#202522;overflow:auto}.compile-diagnostic-list.compile-warning{background:#2d281c}.compile-diagnostic-list.compile-error{background:#301e1d}.compile-diagnostic-row{display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;width:100%;padding:9px 10px;border:0;border-bottom:1px solid var(--ui-focus-ring, #ffffff12);border-radius:4px;background:transparent;color:#eef2ef;text-align:left}.compile-diagnostic-row:not(:disabled):hover{background:var(--ui-hover, #ffffff10);box-shadow:inset 2px 0 #63b889}.compile-diagnostic-row:disabled{opacity:.78;cursor:default}.compile-diagnostic-row>span{min-width:0;display:grid;gap:4px}.compile-diagnostic-row strong{font-size:11px;font-weight:500;white-space:normal}.compile-diagnostic-row small{color:var(--ui-muted, #aeb8b1);font:10px/1.4 SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.compile-warning .compile-diagnostic-row>svg{color:var(--ui-warning, #e8c46d)}.compile-error .compile-diagnostic-row>svg{color:var(--ui-danger, #e99b94)}.context-panel{border-right:0;overflow:auto}.drawer-title{position:sticky;top:0;z-index:2;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--ui-border, #e3e6e3);background:var(--ui-surface, white);font-size:13px}.drawer-title button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--ui-muted, #737a75)}.drawer-title button:hover{background:var(--ui-hover, #edf1ee)}.drawer-title-actions{min-width:0;display:flex;align-items:center;gap:4px}.settings-drawer-title>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-title .drawer-settings-save{width:auto;min-width:0;display:inline-flex;align-items:center;gap:5px;padding:0 7px;border:1px solid var(--ui-border, #c9d0ca);background:var(--ui-surface, white);color:var(--ui-text, #252b27);font-size:10px;font-weight:700;line-height:1;white-space:nowrap}.drawer-title .drawer-settings-save:hover{border-color:var(--ui-border, #aeb8b0);background:var(--ui-hover, #f5f7f5);color:var(--ui-text, #1d2520)}.drawer-title .drawer-settings-save span{overflow:hidden;text-overflow:ellipsis}.drawer-title .drawer-mention-read-all{width:auto;min-width:0;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid var(--ui-info-border, #cbd8f1);border-radius:5px;background:var(--ui-surface, #f4f8ff);color:var(--ui-info, #285a99);font-size:10px;font-weight:700;line-height:1;white-space:nowrap}.drawer-title .drawer-mention-read-all:hover{border-color:var(--ui-info-border, #91add5);background:var(--ui-hover, #e7f0ff);color:var(--ui-info, #174d8e)}.comment-review-controls{position:sticky;top:42px;z-index:1;display:flex;flex-direction:column;border-bottom:1px solid var(--ui-border, #e4e8e4);background:var(--ui-surface, #fbfcfb)}.comment-current-controls{position:sticky;top:42px;z-index:1;padding:7px 9px;border-bottom:1px solid var(--ui-border, #e4e8e4);background:var(--ui-surface, #fbfcfb)}.comment-current-controls button{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--ui-border, #d5ddd7);border-radius:6px;padding:5px 8px;background:var(--ui-surface, white);color:var(--ui-text, #405b4b);font-size:11px}.comment-current-controls button:hover{background:var(--ui-hover, #edf3ef);border-color:var(--ui-border, #b9cbbf)}.comment-review-queue-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 9px}.comment-review-group{display:inline-flex;min-width:0;overflow:hidden;border:1px solid var(--ui-border, #d5ddd7);border-radius:6px;background:var(--ui-surface, #fff)}.comment-review-group button{min-width:0;border:0;border-right:1px solid var(--ui-border, #e2e7e3);padding:4px 6px;background:transparent;color:var(--ui-muted, #68736c);font-size:10px;line-height:1.25;white-space:nowrap}.comment-review-group button:last-child{border-right:0}.comment-review-group button:hover{background:var(--ui-hover, #f0f5f1);color:var(--ui-accent, #285d3d)}.comment-review-group button.active{background:var(--ui-accent-bg, #e7f2ea);color:var(--ui-accent, #176b44);font-weight:750}.comment-review-sort-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:7px 9px;border-top:1px solid var(--ui-border, #e4e8e4);background:var(--ui-surface, #fff)}.comment-review-sort{margin-left:auto;display:inline-flex;align-items:center;gap:2px;padding:0 4px;border:1px solid var(--ui-border, #d5ddd7);border-radius:6px;color:var(--ui-muted, #68736c);font-size:10px}.comment-review-sort select{min-width:0;height:24px;border:0;padding:3px 1px;background:transparent;color:inherit;font-size:10px}.comment-review-sort:hover{background:var(--ui-hover, #f3f6f4)}.comment-review-sort:focus-within{outline:2px solid var(--ui-info-border, #82aed8);outline-offset:1px}.comment-review-sort select:focus-visible{outline:none}.comment-review-sort option{background:var(--ui-surface, white);color:var(--ui-text, #405147)}.comment-unread-toggle{flex:none;display:inline-flex;align-items:center;gap:3px;border:1px solid transparent;border-radius:6px;padding:4px;background:transparent;color:var(--ui-muted, #68736c);font-size:10px;white-space:nowrap}.comment-unread-toggle:hover{background:var(--ui-hover, #f3f6f4)}.comment-unread-toggle.active{border-color:var(--ui-info-border, #b6cce7);background:var(--ui-info-bg, #edf5ff);color:var(--ui-info, #2563a6)}.comment-unread-toggle span{font-size:9px;font-variant-numeric:tabular-nums}.comment-participant-filter{min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.comment-participants-trigger-group{max-width:100%;display:inline-flex;align-items:stretch;overflow:hidden;border:1px solid var(--ui-border, #d5ddd7);border-radius:6px;background:var(--ui-surface, white);color:var(--ui-muted, #68736c)}.comment-participants-trigger-group.active{border-color:var(--ui-info-border, #a4c1e2);background:var(--ui-info-bg, #edf5ff);color:var(--ui-info, #2563a6)}.comment-participants-toggle{min-width:0;min-height:24px;display:inline-flex;align-items:center;gap:4px;border:0;padding:4px 6px;background:transparent;color:inherit;font-size:10px}.comment-participants-toggle:hover,.comment-participants-toggle[data-state=open]{background:var(--ui-hover, #edf4ef)}.comment-participants-toggle svg{flex:none}.comment-participants-toggle .expanded{transform:rotate(180deg)}.comment-participants-summary{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comment-participants-extra-count{flex:none;font-size:9px;font-variant-numeric:tabular-nums}.comment-participants-clear{flex:none;display:grid;place-items:center;width:24px;border:0;border-left:1px solid var(--ui-info-border, #c9d9ec);padding:0;background:transparent;color:inherit}.comment-participants-clear:hover{background:var(--ui-hover, #dceaff)}.comment-participants-scope{color:var(--ui-info, #627991);font-size:9px}.comment-participants-popover{z-index:110;width:255px;max-width:calc(100vw - 20px);max-height:var(--radix-popover-content-available-height);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--ui-border, #d5ddd7);border-radius:10px;padding:6px;background:var(--ui-raised, white);color:var(--ui-text, #405147);font-size:12px;box-shadow:0 8px 28px #20312726}.comment-participants-popover:focus{outline:none}.comment-participants-heading{flex:none;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 6px 6px}.comment-participants-heading h2{margin:0;color:var(--ui-text, #526359);font-size:11px;font-weight:650}.comment-participants-heading button{flex:none;border:0;border-radius:4px;padding:3px 4px;background:transparent;color:var(--ui-info, #2563a6);font-size:10px}.comment-participants-heading button:hover{background:var(--ui-hover, #edf5ff)}.comment-participants-list{min-height:0;max-height:220px;overflow:auto}.comment-participant-option{display:flex;align-items:center;gap:8px;padding:7px 6px;border-radius:6px;cursor:pointer}.comment-participant-option:hover{background:var(--ui-hover, #f3f6f4)}.comment-participant-option.selected{background:var(--ui-hover, #edf5ff)}.comment-participant-option:focus-within{outline:2px solid var(--ui-info-border, #82aed8);outline-offset:-2px}.comment-participant-avatar{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--ui-subtle, #e8eef5);color:var(--ui-info, #54718e);font-size:11px;font-weight:650}.comment-participant-identity{min-width:0;display:flex;flex-direction:column;gap:1px;overflow-wrap:anywhere}.comment-participant-identity strong{font-size:11px;font-weight:600}.comment-participant-identity small{color:var(--ui-muted, #7a8790);font-size:10px}.comment-participants-popover input{flex:none;margin:0;accent-color:var(--ui-info, #2563a6)}.comment-participants-empty{margin:0;padding:12px 6px;color:var(--ui-muted, #758078);font-size:11px}.comment-participants-root-only{flex:none;display:flex;align-items:center;gap:8px;margin-top:6px;border-top:1px solid var(--ui-border, #e4e8e4);padding:9px 6px 4px;color:var(--ui-muted, #68736c);font-size:11px;cursor:pointer}.comment-participants-root-only:has(input:disabled){color:var(--ui-muted, #9ca69f);cursor:default}.comment-review-navigation{margin-left:auto;display:inline-flex;align-items:center;overflow:hidden;border:1px solid var(--ui-border, #d5ddd7);border-radius:6px;background:var(--ui-surface, #fff);color:var(--ui-muted, #68736c)}.comment-review-navigation button{display:grid;width:25px;height:25px;place-items:center;border:0;background:transparent;color:inherit}.comment-review-navigation button:hover:not(:disabled){background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}.comment-review-navigation button:disabled{cursor:default;color:var(--ui-muted, #c6cec8)}.comment-review-navigation output{min-width:33px;padding:0 4px;color:var(--ui-text, #59635c);font-size:10px;font-variant-numeric:tabular-nums;text-align:center}.comment-review-error{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:8px 9px 0;padding:6px 7px;border:1px solid var(--ui-danger-border, #ecc4c1);border-radius:6px;background:var(--ui-surface, #fff7f6);color:var(--ui-danger, #9d342e);font-size:10px}.comment-review-error span{min-width:0;overflow-wrap:anywhere}.comment-review-error button{flex:none;border:0;border-radius:4px;padding:3px 5px;background:var(--ui-subtle, #f6e3e1);color:var(--ui-danger, #8a2b26);font-size:10px;font-weight:700}.comment-review-error button:hover{background:var(--ui-hover, #efd1ce)}.comment-review-loading{padding:7px 10px 0;color:var(--ui-muted, #758078);font-size:10px}.tabs{height:42px;display:flex;border-bottom:1px solid var(--ui-border, #e3e6e3)}.tabs button{flex:1;border:0;background:var(--ui-surface, white);color:var(--ui-muted, #707872);font-size:12px}.tabs button.active{color:var(--ui-accent, #176b44);border-bottom:2px solid var(--ui-accent-border, #176b44);font-weight:700}.outline{padding:10px 8px}.outline-row{min-width:0;display:flex;align-items:stretch}.outline-row:hover,.outline-row:focus-within{background:var(--ui-hover, #edf3ef);color:var(--ui-accent, #176b44)}.outline-row.current{background:var(--ui-subtle, #e2efe7);color:var(--ui-accent, #176b44);font-weight:700}.outline-guides{flex:none;background:repeating-linear-gradient(to right,var(--ui-border, #dfe5e0) 0,var(--ui-border, #dfe5e0) 1px,transparent 1px,transparent 12px)}.outline-toggle,.outline-toggle-spacer{width:18px;flex:0 0 18px;align-self:stretch}.outline-toggle{display:grid;place-items:center;border:0;padding:0;background:transparent;color:var(--ui-muted, #7c8981);cursor:pointer}.outline-toggle:hover,.outline-toggle:focus-visible{background:var(--ui-hover, #dcebe1);color:var(--ui-accent, #176b44);outline:none}.outline-item{min-width:0;flex:1;display:flex;align-items:center;border:0;padding:6px 0;background:transparent;color:inherit;cursor:pointer;font-size:12px;text-align:left}.outline-item:focus-visible{background:var(--ui-hover, #edf3ef);color:var(--ui-accent, #176b44);outline:1px solid var(--ui-accent-border, #75a68a);outline-offset:-1px}.outline small{flex:none;min-width:22px;margin-left:4px;color:var(--ui-muted, #a1a7a2)}.outline-title{min-width:0;overflow:hidden;color:var(--ui-text, #3f4942);text-overflow:ellipsis;white-space:nowrap}.outline-row.current .outline-title{color:inherit}.padded{padding:14px}.comments{padding:9px}.comment-thread-slot{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr}.comment-thread-slot-content{min-width:0;min-height:0}.comment-thread-slot.is-exiting{pointer-events:none;animation:comment-thread-exit var(--comment-exit-duration, .28s) cubic-bezier(.22,1,.36,1) both}.comment-thread-slot.is-exiting>.comment-thread-slot-content{overflow:hidden}@keyframes comment-thread-exit{0%{grid-template-rows:1fr;opacity:1;transform:translate(0)}45%{grid-template-rows:1fr;opacity:.2;transform:translate(8px)}to{grid-template-rows:0fr;opacity:0;transform:translate(8px)}}@media(prefers-reduced-motion:reduce){.comment-thread-slot.is-exiting{animation-duration:1ms}}.comments article{margin-bottom:9px;padding:10px;border:1px solid var(--ui-border, #dde2de);border-radius:7px;font-size:12px;cursor:pointer;user-select:text;-webkit-user-select:text}.comments article.resolved{background:transparent}.comments article.resolved .comment-content{color:var(--ui-muted, #59655e)}.comments article.orphaned{border-color:var(--ui-danger-border, #d8847d);background:var(--ui-danger-bg, #fff4f2)}.comments article.mention-target,.comments .comment-reply.mention-target{border-color:var(--ui-warning-border, #d5a83f);background:var(--ui-warning-bg, #fff9e9);box-shadow:0 0 0 3px #e8c46933}.comments article.review-current{border-color:var(--ui-accent-border, #75a68a);box-shadow:inset 3px 0 #2f7a4e}.comments article.resolved.review-current .comment-content{color:var(--ui-text, #202421)}.comments header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.comments header small{color:var(--ui-muted, #858b87)}.comments time{flex:none;color:var(--ui-muted, #8b928d);font-size:9px;white-space:nowrap}.comment-times{flex:none;display:flex;align-items:flex-end;flex-direction:column;gap:2px}.comment-times small{font-size:8px;white-space:nowrap}.comment-header-actions{flex:none;display:flex;align-items:flex-start;gap:4px}.comment-actions-menu{flex:none;display:inline-flex}.comment-actions-menu-trigger{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:5px;padding:0;background:transparent;color:var(--ui-muted, #7c8780)}.comment-actions-menu-trigger:hover,.comment-actions-menu-trigger[data-state=open]{background:var(--ui-hover, #e5ece7);color:var(--ui-text, #40584a)}.comment-actions-menu-content{z-index:110;min-width:150px;max-width:calc(100vw - 16px);max-height:var(--radix-dropdown-menu-content-available-height);overflow:auto;padding:4px;border:1px solid var(--ui-border, #d5ddd7);border-radius:8px;background:var(--ui-raised, white);color:var(--ui-text, #405147);box-shadow:0 8px 28px #20312726}.comment-actions-menu-content [role=menuitem]{display:flex;align-items:center;gap:7px;border-radius:5px;padding:7px 8px;font-size:11px;outline:none;cursor:pointer}.comment-actions-menu-content [role=menuitem][data-highlighted]{background:var(--ui-hover, #edf3ef)}.comment-actions-menu-content .danger-text{color:var(--ui-danger, #a7312a)}.comment-actions-menu-content .danger-text[data-highlighted]{background:var(--ui-hover, #fff1ef)}.comment-author{min-width:0;display:flex;flex-direction:column;gap:1px}.comment-author strong,.comment-author small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comment-author.participant-match strong,.comment-author.participant-match small{align-self:flex-start;max-width:100%;border-radius:3px;padding:0 2px;background:var(--ui-surface, #edf5ff);color:var(--ui-info, #2563a6)}.comment-location{margin-top:5px;color:var(--ui-muted, #768079);font-size:10px;overflow-wrap:anywhere}.comments blockquote{margin:8px 0;padding:6px 8px;border-left:2px solid var(--ui-accent-border, #85ad96);background:var(--ui-page, #f4f7f5);color:var(--ui-muted, #657069);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.comments p{white-space:pre-wrap;user-select:text;-webkit-user-select:text;cursor:text}.comments blockquote,.comments .comment-content{user-select:text;-webkit-user-select:text;cursor:text}.comments .comment-content{overflow-wrap:anywhere}.comment-inline-mention{color:var(--ui-info, #2563a6);font-style:italic;font-synthesis:style;font-weight:650}.comments .resolve{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--ui-accent, #176b44);padding:0;font-size:11px}.comment-replies{display:flex;flex-direction:column;gap:7px;margin:10px 0 8px;padding-left:9px;border-left:1px solid var(--ui-border, #dce0e4)}.comment-replies-list{display:flex;flex-direction:column;gap:7px}.comments .comment-replies-toggle{display:inline-flex;align-items:center;align-self:flex-start;gap:4px;border:1px solid var(--ui-border, #e0e5e1);border-radius:5px;padding:4px 6px;background:var(--ui-surface, #fafbfa);color:var(--ui-muted, #68736c);font-size:10px;line-height:1.4;text-align:left}.comments .comment-replies-toggle:hover{border-color:var(--ui-border, #bdcec3);background:var(--ui-hover, #eef4f0);color:var(--ui-accent, #285d3d)}.comments .comment-replies-toggle:focus-visible{outline:2px solid var(--ui-info-border, #82aed8);outline-offset:2px}.comment-reply{position:relative;padding:7px 8px;border-radius:6px;background:var(--ui-raised, #f5f7f5)}.comment-reply p{margin:7px 0 1px}.comment-actions{display:flex;align-items:center;gap:12px}.comment-resolution{display:flex;justify-content:flex-end;align-items:baseline;gap:5px;margin:8px 0;color:var(--ui-muted, #68736c);font-size:10px;line-height:1.5;text-align:right;overflow-wrap:anywhere}.comment-resolution>span{min-width:0}.comment-resolution>svg{flex:none;align-self:flex-start;margin-top:2px}.comment-resolution small{font-size:inherit}.comment-resolution-user{font-weight:700;font-style:italic;font-synthesis:style}.comments .reply-action{display:inline-flex;align-items:center;gap:4px;border:0;padding:0;background:transparent;color:var(--ui-muted, #526c5d);font-size:11px}.comment-mention{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:7px;padding:5px 6px;border:1px solid var(--ui-info-border, #c9d8f0);border-radius:5px;background:var(--ui-surface, #f1f6ff);color:var(--ui-info, #315c92);font-size:10px}.comment-mention>span{min-width:0;display:inline-flex;align-items:center;gap:3px;font-weight:650}.comments .comment-mention button{flex:none;border:0;border-radius:4px;padding:3px 5px;background:var(--ui-info-bg, #dceaff);color:var(--ui-info, #24568d);font-size:9px;font-weight:700}.comments .comment-mention button:hover{background:var(--ui-hover, #cbdefb);color:var(--ui-info, #164a82)}.comment-reply-form{display:flex;flex-direction:column;gap:7px;margin-top:9px}.comments .comment-form-error{margin:0;padding:6px 8px;border:1px solid var(--ui-danger-border, #ecc4c1);border-radius:5px;background:var(--ui-danger-bg, #fff7f6);color:var(--ui-danger, #9d342e);font-size:11px;overflow-wrap:anywhere}.comment-draft-restored{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;color:var(--ui-muted, #68736c);font-size:11px}.comment-draft-restored button{border:1px solid var(--ui-border, #cbd6cf);border-radius:5px;padding:3px 6px;background:var(--ui-surface, #f5f8f6);color:var(--ui-accent, #285d3d);font-size:inherit}.comment-edit-form{margin:7px 0}.comment-reply-form textarea{width:100%;resize:vertical;border:1px solid var(--ui-border, #cbd2cc);border-radius:6px;padding:7px 8px;outline:none;font-size:11px}.comment-reply-form textarea:focus{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 2px #176b4420}.mention-textarea{position:relative;display:block;min-width:0}.mention-textarea>textarea{box-sizing:border-box}.mention-menu{position:absolute;z-index:18;left:0;right:0;bottom:calc(100% + 4px);display:flex;flex-direction:column;max-height:190px;overflow:auto;padding:4px;border:1px solid var(--ui-border, #c8d3ca);border-radius:7px;background:var(--ui-raised, #fff);box-shadow:0 10px 24px #20312722}.mention-menu button{min-width:0;display:flex;align-items:center;gap:6px;border:0;border-radius:5px;padding:6px 7px;background:transparent;color:var(--ui-text, #405147);font-size:11px;text-align:left}.mention-menu button:hover,.mention-menu button.active{background:var(--ui-accent-bg, #eaf3ec);color:var(--ui-accent, #176b44)}.mention-menu button>svg{flex:none;color:var(--ui-accent, #5b826a)}.mention-menu button>span{min-width:0;display:flex;align-items:baseline;gap:4px}.mention-menu strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-menu small{flex:none;color:var(--ui-muted, #7a847d);font-size:10px}.comment-reply-form>div{display:flex;justify-content:flex-end;gap:5px}.comment-reply-form button{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--ui-border, #cbd2cc);border-radius:5px;padding:5px 7px;background:var(--ui-surface, white);font-size:10px}.comment-reply-form button.primary{border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.settings{display:flex;flex-direction:column;gap:14px}.settings>section{display:flex;flex-direction:column;gap:14px}.settings button{border:1px solid var(--ui-border, #c9d0ca);background:var(--ui-surface, white);border-radius:6px;padding:7px 9px;font-size:12px}.settings-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--ui-border, #d7ded8);border-radius:9px;background:var(--ui-surface, #f4f7f4)}.settings-tab{display:inline-flex;flex:1;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:var(--ui-muted, #66716a);font-weight:650}.settings-tab:hover{background:var(--ui-hover, #eaf1eb)!important;color:var(--ui-accent, #31523e)}.settings-tab.active{border-color:var(--ui-border, #c8d9cb)!important;background:var(--ui-accent-bg, white)!important;color:var(--ui-accent, #176b44);box-shadow:0 1px 2px #233c2a12}.settings-tab:focus-visible{outline:2px solid var(--ui-accent-border, #176b44);outline-offset:1px}.settings-actions{display:flex;width:100%;justify-content:flex-end;padding-top:2px}.settings-section-title{display:flex;align-items:center;gap:7px;color:var(--ui-accent, #31523e);font-size:13px}.dictionary-heading{flex-wrap:wrap}.harper-cli-status{margin-left:auto;display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid var(--ui-border, #d9ded9);border-radius:999px;background:var(--ui-surface, #f7f9f7);color:var(--ui-muted, #6d776f);font-size:10px;line-height:1.2}.harper-cli-status.available{border-color:var(--ui-accent-border, #bddbc7);background:var(--ui-accent-bg, #f0f8f2);color:var(--ui-accent, #187348)}.harper-cli-status.error{border-color:var(--ui-danger-border, #e7beb9);background:var(--ui-danger-bg, #fff3f1);color:var(--ui-danger, #a3342c)}.harper-cli-status button{display:grid;place-items:center;width:18px;height:18px;min-height:18px;padding:0;border:0;background:transparent;color:inherit}.harper-cli-status button:hover{background:var(--ui-hover, #0000000d)}.settings-description{margin:0;color:var(--ui-muted, #7b837e);font-size:11px;line-height:1.45}.compiler-versions{margin-top:22px;padding-top:16px;border-top:1px solid var(--ui-border, #dde4df)}.compiler-versions-toggle{display:inline-flex;align-items:center;gap:6px}.compiler-versions h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:12px;font-weight:600;color:var(--ui-muted, #69766e)}.compiler-versions dl{margin:0;font-size:12px}.compiler-versions dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:5px 0}.compiler-versions dt{color:var(--ui-muted, #69766e)}.compiler-versions dd{margin:0;text-align:right;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ui-text, #26352c)}.compiler-versions dd.compiler-version-unknown{font-family:inherit;color:var(--ui-muted, #69766e)}.browser-tool-status{min-width:116px;flex:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px 9px;border:1px solid var(--ui-border, #d9ded9);border-radius:7px;background:var(--ui-surface, #f7f9f7);color:var(--ui-muted, #6d776f);font-size:10px}.browser-tool-status strong{min-width:0;overflow:hidden;color:var(--ui-text, #344d3c);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.browser-tool-status span{font-weight:700;white-space:nowrap}.browser-tool-status.loading{border-color:var(--ui-warning-border, #e4d7ad);background:var(--ui-surface, #fffaf0);color:var(--ui-warning, #9a6b18)}.browser-tool-status.working{border-color:var(--ui-accent-border, #bddbc7);background:var(--ui-accent-bg, #f0f8f2);color:var(--ui-accent, #187348)}.browser-tool-status.error{border-color:var(--ui-danger-border, #e7beb9);background:var(--ui-danger-bg, #fff3f1);color:var(--ui-danger, #a3342c)}.tex-fmt-options-heading{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}.tex-fmt-options-heading>span:first-child{min-width:0}.browser-tool-status.compact{min-width:0;flex:none;display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:999px;font-size:10px;line-height:1;white-space:nowrap}.browser-tool-status.compact span{font-size:10px}.browser-tool-status.compact .browser-tool-reload{grid-column:auto;display:grid;place-items:center;width:18px;height:18px;min-height:18px;margin:-1px -3px -1px 0;padding:0;border:0;border-radius:50%;background:transparent;color:inherit}.browser-tool-status.compact .browser-tool-reload:hover{background:var(--ui-hover, #0000000d)}.browser-tool-reload{grid-column:1 / -1;display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:26px;margin-top:2px;border:1px solid var(--ui-danger-border, #dca9a3);border-radius:5px;background:var(--ui-surface, #fff);color:var(--ui-danger, #922d27);font-size:10px;font-weight:700}.browser-tool-reload:hover{border-color:var(--ui-danger-border, #bf7770);background:var(--ui-hover, #fff8f7)}.settings .editor-preference{display:flex;flex-direction:column;gap:4px}.settings .editor-preference .field-hint{margin:0 9px;line-height:1.4}.settings .editor-checkbox{flex-direction:row;align-items:center;gap:7px;padding:8px 9px;border:1px solid var(--ui-border, #d9ded9);border-radius:7px;font-weight:500}.settings .editor-checkbox input{width:auto;margin:0;accent-color:var(--ui-accent, #176b44)}.spell-check-result{display:inline-flex;align-items:center;gap:6px;color:var(--ui-muted, #66716a);font-size:11px}.spell-check-result.has-issues{color:var(--ui-danger, #a3342c);font-weight:650}.settings .editor-preference .spell-check-result{margin:4px 9px 0;flex-wrap:wrap}.spell-check-controls{display:inline-flex;align-items:center;gap:2px;margin-left:3px;color:var(--ui-danger, #6f4a45);font-weight:500}.spell-check-controls button{width:24px;height:24px;display:inline-grid;place-items:center;border:1px solid var(--ui-danger-border, #d7b8b4);border-radius:4px;padding:0;background:var(--ui-surface, #fff8f7);color:var(--ui-danger, #8e4a42)}.spell-check-controls button:hover:not(:disabled){border-color:var(--ui-danger-border, #b98279);background:var(--ui-hover, #fce9e6)}.spell-check-controls button:disabled{cursor:not-allowed;opacity:.35}.spell-check-position{min-width:34px;text-align:center;color:var(--ui-danger, #825850);font-variant-numeric:tabular-nums;white-space:nowrap}.password-generator{display:flex;align-items:stretch;gap:7px}.password-generator input{min-width:0;flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.password-generator button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 10px;border:1px solid var(--ui-border, #c9d0ca);border-radius:6px;background:var(--ui-surface, #f6f8f6);color:var(--ui-accent, #31523e);font-size:11px;white-space:nowrap}.password-generator button:hover{border-color:var(--ui-border, #8eaa98);background:var(--ui-hover, #edf3ef)}.settings-save{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px}.tex-fmt-options-editor{resize:vertical;font:12px/1.5 SFMono-Regular,Consolas,monospace!important}.settings .latexmkrc-warning{display:flex;align-items:flex-start;gap:6px;color:var(--ui-warning, #805a24)}.latexmkrc-warning svg{flex:none;margin-top:1px}.tex-fmt-options-editor{min-height:100px}.dictionary-add{display:flex;align-items:stretch;gap:7px}.dictionary-add input{min-width:0;flex:1}.dictionary-add input::placeholder{font-size:11px}.dictionary-add button{flex:none;color:var(--ui-accent, #176b44)}.dictionary-words{display:flex;flex-wrap:wrap;gap:6px}.dictionary-word{display:inline-flex;align-items:center;gap:3px;min-height:27px;padding:3px 5px 3px 8px;border:1px solid var(--ui-border, #d5ded7);border-radius:999px;background:var(--ui-surface, #f1f6f2);color:var(--ui-accent, #31523e);font-size:11px}.dictionary-word code{font:11px/1.2 SFMono-Regular,Consolas,monospace}.dictionary-word button{width:20px;height:20px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:var(--ui-muted, #748078)}.dictionary-word button:hover{color:var(--ui-danger, #a7312a)}.dictionary-empty{color:var(--ui-muted, #7b837e);font-size:11px}.dictionary-error{margin:-6px 0 0;font-size:11px}.share-dialog{display:flex;flex-direction:column;gap:16px}.share-owner{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:8px;background:var(--ui-subtle, #edf4ef);color:var(--ui-accent, #18583a)}.share-owner>span{display:flex;flex-direction:column;gap:2px}.share-owner small{color:var(--ui-muted, #6f7d74);font-size:10px;text-transform:uppercase}.share-add{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;align-items:end;gap:9px;padding-bottom:16px;border-bottom:1px solid var(--ui-border, #e4e7e4)}.share-add .icon-button{height:39px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;font-size:12px}.shared-members-heading{display:flex;align-items:center;justify-content:space-between;color:var(--ui-text, #48524b);font-size:13px}.shared-members-heading span{min-width:22px;padding:2px 6px;border-radius:999px;background:var(--ui-subtle, #e8ece9);color:var(--ui-muted, #6a746d);font-size:10px;text-align:center}.shared-members{display:flex;flex-direction:column;gap:7px}.shared-member{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px;border:1px solid var(--ui-border, #dfe3df);border-radius:8px}.member-identity{min-width:0;display:flex;align-items:center;gap:9px}.member-identity>span:last-child{min-width:0;display:flex;flex-direction:column}.member-identity strong,.member-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-identity small{color:var(--ui-muted, #7c857e);font-size:10px}.member-avatar{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--ui-subtle, #dfece4);color:var(--ui-accent, #176b44);font-size:12px;font-weight:750}.member-controls{display:flex;align-items:center;gap:5px}.member-controls select{border:1px solid var(--ui-border, #cbd2cc);border-radius:6px;padding:6px 8px;background:var(--ui-surface, white);font-size:11px}.icon-only{width:31px;height:31px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent}.icon-only:hover{background:var(--ui-hover, #f8e9e7)}.share-empty{min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--ui-muted, #89928c);font-size:12px}.spin{animation:spin .8s linear infinite}.dialog-overlay{position:fixed;z-index:100;inset:0;background:#101b152e;animation:fade-in .12s ease-out}.dialog-content{position:fixed;z-index:101;top:50%;left:50%;width:min(460px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 40px));overflow:auto;transform:translate(-50%,-50%);background:var(--ui-raised, white);border-radius:12px;box-shadow:0 25px 80px #0004;animation:dialog-in .15s ease-out}.dialog-content.dialog-draggable{transform:translate(calc(-50% + var(--dialog-drag-x, 0px)),calc(-50% + var(--dialog-drag-y, 0px)))}.dialog-content.dialog-draggable[data-dragging=true]{animation:none}.dialog-wide{width:min(660px,calc(100vw - 32px))}.dialog-extra-wide{width:min(900px,calc(100vw - 32px))}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 22px 14px;border-bottom:1px solid var(--ui-border, #e5e8e5)}.dialog-drag-handle{cursor:grab;touch-action:none;user-select:none}.dialog-content[data-dragging=true] .dialog-drag-handle{cursor:grabbing}.dialog-drag-handle .dialog-close{cursor:pointer}@media(pointer:coarse){.dialog-drag-handle{cursor:default;touch-action:auto}}.dialog-header h2{margin:0;font-size:19px}.dialog-header p{margin:6px 0 0;color:var(--ui-muted, #737a75);font-size:12px;line-height:1.5}.dialog-close{border:0;background:transparent;color:var(--ui-muted, #6d746f);font-size:22px}.dialog-body{padding:20px 22px}.dialog-body .warning{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 11px;border:1px solid var(--ui-warning-border, #e4cf91);border-radius:7px;background:var(--ui-warning-bg, #fff8df);color:var(--ui-warning, #735a18);font-size:11px;line-height:1.5}.dialog-body .warning svg{flex:none;margin-top:1px}.word-count-source{margin:0 0 15px;color:var(--ui-muted, #68766d);font-size:11px}.word-count-source code{color:var(--ui-accent, #315b43);font:11px/1.4 SFMono-Regular,Consolas,monospace}.word-count-source a{margin-left:8px;color:var(--ui-accent, #176b44);font-size:10px}.word-count-template-note{margin:-6px 0 15px;color:var(--ui-muted, #7b7566);font-size:10px;line-height:1.45}.word-count-loading{min-height:150px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--ui-muted, #52685a);font-size:12px}.word-count-result{display:grid;gap:16px}.word-count-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.word-count-total{display:flex;align-items:baseline;gap:8px;padding:15px 16px;border:1px solid var(--ui-border, #cfe0d3);border-radius:9px;background:var(--ui-surface, #edf6ef);color:var(--ui-accent, #1e5f3d)}.word-count-total svg{align-self:center}.word-count-total strong{font-size:28px;line-height:1;letter-spacing:-.03em}.word-count-total span{color:var(--ui-accent, #52705d);font-size:11px}.word-count-total small{display:block;margin-top:2px;color:var(--ui-muted, #75847a);font-size:9px;font-weight:400;line-height:1.25}.word-count-characters{border-color:var(--ui-border, #d8ddea);background:var(--ui-surface, #f1f3f9);color:var(--ui-info, #405989)}.word-count-characters span{color:var(--ui-info, #617092)}.word-count-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0}.word-count-breakdown div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px solid var(--ui-border, #edf0ed)}.word-count-breakdown dt{color:var(--ui-muted, #68766d);font-size:11px}.word-count-breakdown dd{display:inline-flex;align-items:baseline;gap:3px;margin:0;color:var(--ui-text, #2f4938);font-size:12px;font-variant-numeric:tabular-nums;font-weight:650}.word-count-breakdown dd small{color:var(--ui-muted, #77847c);font-size:9px;font-weight:500}.word-count-warning{margin:0}.system-metrics-dialog{display:flex;flex-direction:column;width:min(820px,calc(100vw - 32px));max-height:min(860px,calc(100dvh - 40px));overflow:hidden;color:var(--ui-text, #25372c)}.system-metrics-dialog .dialog-header{padding:24px 26px 18px;background:linear-gradient(115deg,color-mix(in srgb,var(--ui-accent, #176b44) 5%,var(--ui-raised, #fff)),var(--ui-raised, #fff) 75%)}.system-metrics-dialog .dialog-header h2{font-size:20px;font-weight:650;letter-spacing:-.025em}.system-metrics-dialog .dialog-header,.system-metrics-dialog .dialog-footer{flex:none}.system-metrics-dialog .dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 26px;scrollbar-width:thin;scrollbar-color:var(--ui-border, #cbd7ce) transparent}.system-metrics-dialog .dialog-footer{align-items:center;justify-content:space-between;gap:12px;padding:12px 26px}.metric-refresh-status{color:var(--ui-muted, #65756c);font-size:11px;font-variant-numeric:tabular-nums}.system-metrics-dialog .dialog-footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;background:var(--ui-raised, #fff);color:var(--ui-text, #34483c);font-size:12px;font-weight:550}.system-metrics-dialog .dialog-footer button:hover:not(:disabled){border-color:var(--ui-accent-border, #a5c3b1);background:var(--ui-accent-bg, #edf5ef)}.system-metrics-dialog .dialog-footer button:focus-visible{outline:2px solid var(--ui-accent, #176b44);outline-offset:3px}.system-metrics{display:grid;gap:24px}.metric-resource-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.metric-resource-panels>.metric-section{grid-template-rows:auto 1fr auto}.metric-section{display:grid;gap:12px;min-width:0}.metric-section h3{margin:0;display:flex;align-items:center;gap:8px;color:var(--ui-text, #34483c);font-size:12px;font-weight:650;letter-spacing:.015em}.metric-section h3 svg{color:var(--ui-muted, #718278);stroke-width:1.6}.metric-section p{margin:0;font-size:13px}.metric-section .metric-memory-note{padding:0 2px;color:var(--ui-muted, #69776e);font-size:10px;line-height:1.6}.metric-resource-overview{display:grid;align-content:start;gap:18px;padding:18px;border:1px solid var(--ui-border, #dce5de);border-radius:11px;background:linear-gradient(155deg,color-mix(in srgb,var(--ui-accent, #176b44) 3%,var(--ui-surface, #fff)),var(--ui-surface, #fff) 75%)}.metric-resource-heading{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.metric-resource-heading>div{display:flex;align-items:baseline;gap:9px}.metric-resource-heading strong{display:inline-flex;align-items:baseline;gap:5px;color:var(--ui-text, #213d2b);font-size:30px;font-weight:650;line-height:1.2;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.metric-resource-heading>span,.metric-resource-heading>div>span{color:var(--ui-muted, #69776e);font-size:12px}.metric-resource-bar{display:flex;height:18px;overflow:hidden;border:1px solid color-mix(in srgb,var(--ui-border, #dce5de) 65%,transparent);border-radius:5px;background:var(--ui-subtle, #eef2ef);cursor:help}.metric-resource-bar:focus-visible{outline:2px solid var(--ui-accent, #176b44);outline-offset:3px}.metric-resource-bar>span{flex:none;height:100%;box-shadow:inset -1px 0 0 var(--ui-surface, #fff);transition:width .24s ease-out}.resource-segment-service{background:var(--ui-accent, #438e65)}.resource-segment-tex{background:var(--ui-info, #527eac)}.resource-segment-other{background:var(--ui-muted, #9ba89f)}.resource-segment-free{background:var(--ui-subtle, #eef2ef)}.metric-resource-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin:0}.metric-resource-legend>div{min-width:0}.metric-resource-legend dt{display:flex;align-items:center;gap:6px;color:var(--ui-muted, #69776e);font-size:11px;line-height:1.5}.metric-resource-legend dd{margin:5px 0 0 13px;color:var(--ui-text, #34483c);font-size:14px;font-weight:550;font-variant-numeric:tabular-nums}.metric-resource-dot{flex:none;width:7px;height:7px;border-radius:2px}.metric-resource-dot.resource-segment-free{border:1px solid var(--ui-border, #bac9bf)}.metric-value-unit{color:var(--ui-muted, #63766a);font-size:12px;font-weight:500;letter-spacing:0}.metric-unavailable{font-size:18px;line-height:1.9;letter-spacing:-.01em;color:var(--ui-muted, #63766a)}.metric-runtime{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 0;border-block:1px solid var(--ui-border, #e0e7e1)}.metric-runtime-item{min-width:0;display:grid;align-content:start;gap:6px;padding:0 16px}.metric-runtime-item:first-child{padding-left:2px}.metric-runtime-item:last-child{padding-right:2px}.metric-runtime-item+.metric-runtime-item{border-left:1px solid var(--ui-border, #e0e7e1)}.metric-runtime-label{display:flex;align-items:center;gap:7px;min-height:20px;color:var(--ui-muted, #69776e);font-size:11px}.metric-runtime-label svg{flex:none;stroke-width:1.6}.metric-runtime-item strong{color:var(--ui-text, #34483c);font-size:19px;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.system-metrics-dialog .metric-runtime-detail{display:inline-flex;flex:none;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--ui-muted, #69776e);cursor:help}.system-metrics-dialog .metric-runtime-detail:hover{background:var(--ui-hover, #edf3ef);color:var(--ui-accent, #276a45)}.system-metrics-dialog .metric-runtime-detail:focus-visible{outline:2px solid var(--ui-accent, #176b44);outline-offset:2px}.metric-latency{display:flex;align-items:center;justify-content:space-between;gap:16px}.metric-latency dl{display:flex;gap:22px;margin:0}.metric-latency dl>div{display:grid;gap:4px}.metric-latency dt{color:var(--ui-muted, #69776e);font-size:10px}.metric-latency dd{margin:0;color:var(--ui-text, #34483c);font-size:13px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-latency dl>div:nth-child(2) dd{color:var(--ui-accent, #276a45)}.metric-table-wrap{overflow-x:auto;border:1px solid var(--ui-border, #dfe5df);border-radius:9px}.metric-table{width:100%;border-collapse:collapse;color:var(--ui-text, #34483c);font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.metric-table th{background:var(--ui-surface, #f6f8f5);color:var(--ui-muted, #69776e);font-size:10px;font-weight:550}.metric-table th,.metric-table td{padding:10px 12px;border-bottom:1px solid var(--ui-border, #e8ede8);text-align:right}.metric-table th:first-child,.metric-table td:first-child{text-align:left;padding-left:16px}.metric-table td:first-child{font-weight:500}.metric-table th:last-child,.metric-table td:last-child{padding-right:16px}.metric-table td:nth-child(5){color:var(--ui-accent, #276a45);font-weight:600}.metric-table tbody tr:hover{background:var(--ui-surface, #f8faf7)}.metric-table tbody tr:last-child td{border-bottom:0}.metric-section .metric-empty{padding:22px 16px;border:1px dashed var(--ui-border, #dce5de);border-radius:9px;background:var(--ui-surface, #fafbf9);color:var(--ui-muted, #69776e);font-size:12px;text-align:center}@media(max-width:640px){.metric-resource-panels{grid-template-columns:minmax(0,1fr)}.system-metrics-dialog .dialog-header,.system-metrics-dialog .dialog-body{padding:18px}.system-metrics-dialog .dialog-footer{padding:12px 18px}.metric-resource-overview{padding:16px;gap:18px}.metric-runtime-item{padding:0 10px}.metric-runtime-item strong{font-size:16px}.metric-latency{align-items:flex-start;flex-direction:column;gap:12px}.metric-latency dl{width:100%;justify-content:space-between;gap:12px}}@media(prefers-reduced-motion:reduce){.metric-resource-bar>span{transition:none}}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 22px;border-top:1px solid var(--ui-border, #e5e8e5);background:var(--ui-surface, #f8f9f7)}.dialog-footer button{border:1px solid var(--ui-border, #cbd2cc);border-radius:7px;padding:8px 14px;background:var(--ui-surface, white)}.dialog-footer .update-dismiss-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:var(--ui-border, #dcc9c4);background:var(--ui-surface, #fff9f7);color:var(--ui-danger, #7d4941);font-size:13px;font-weight:500;box-shadow:0 1px 2px #63362b0a;transition:background-color .15s,border-color .15s}.dialog-footer .update-dismiss-action:hover:not(:disabled){border-color:var(--ui-danger-border, #c99085);background:var(--ui-hover, #ffede7)}.dialog-footer .primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.dialog-footer .danger,button.danger{border-color:var(--ui-danger-border, #b3261e);background:#b3261e;color:#fff}.citation-library-dialog{display:flex;flex-direction:column;gap:12px}.citation-library-tabs{display:flex;gap:4px;padding:3px;border:1px solid var(--ui-border, #d7ded8);border-radius:9px;background:var(--ui-surface, #f4f7f4)}.citation-library-tabs button{display:inline-flex;flex:1;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ui-muted, #66716a);font-size:12px}.citation-library-tabs button:hover{background:var(--ui-hover, #eaf1eb);color:var(--ui-accent, #31523e)}.citation-library-tabs button.active{border-color:var(--ui-border, #c8d9cb);background:var(--ui-accent-bg, white);color:var(--ui-accent, #176b44);box-shadow:0 1px 2px #233c2a12}.citation-library-tabs button span{min-width:18px;padding:1px 5px;border-radius:999px;background:var(--ui-subtle, #e7eee8);font-size:10px}.citation-library-search{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid var(--ui-border, #ccd6ce);border-radius:7px;background:var(--ui-surface, white);color:var(--ui-muted, #68766d)}.citation-library-search-row{display:flex;align-items:stretch;gap:8px}.citation-library-search-row .citation-library-search{min-width:0;flex:1}.citation-add-entry-button{display:inline-flex;align-items:center;gap:5px;flex:none;border:1px solid var(--ui-accent-border, #176b44);border-radius:7px;padding:0 11px;background:#176b44;color:#fff;font-size:11px}.citation-add-entry-button:hover{background:#125937}.citation-library-search input{min-width:0;flex:1;border:0;padding:9px 0;outline:0;font-size:12px}.citation-library-search span{flex:none;color:var(--ui-muted, #8a958d);font-size:10px}.citation-tag-bar{display:flex;align-items:flex-start;gap:12px}.citation-tag-filter-catalog{flex:1;min-width:0}.citation-tag-filter-clip{overflow:hidden}.citation-tag-filters{position:relative;min-width:0;display:flex;flex-wrap:wrap;gap:5px}.citation-tag-filters button{display:inline-flex;align-items:center;gap:5px;max-width:190px;height:28px;min-width:0;border:1px solid transparent;border-radius:999px;padding:5px 8px;background:var(--ui-surface, #f1f4f1);color:var(--ui-muted, #5f6e64);font-size:10px;white-space:nowrap}.citation-tag-name{overflow:hidden;text-overflow:ellipsis}.citation-tag-filters button:hover{background:var(--ui-hover, #e6eee8)}.citation-tag-filters button.active{border-color:var(--ui-accent-border, #9cbea6);background:var(--ui-accent-bg, #e8f2eb);color:var(--ui-accent, #176b44)}.citation-tag-manage,.citation-tag-expand{display:inline-flex;align-items:center;gap:4px;min-height:28px;border:1px solid var(--ui-border, #bdc9c0);border-radius:6px;padding:5px 8px;background:var(--ui-surface, white);color:var(--ui-accent, #31523e);font-size:10px;white-space:nowrap}.citation-tag-manage{flex:none}.citation-tag-expand{margin-top:5px;border-color:transparent;color:var(--ui-muted, #66776c)}.citation-tag-manage:hover,.citation-tag-expand:hover{background:var(--ui-hover, #edf4ef)}.citation-tag-management-fields{border:0;padding:0;margin:0;min-width:0}.citation-tag-management-fields .tag-management-create{margin-bottom:14px}.citation-entry-list{display:flex;flex-direction:column;gap:8px;max-height:46vh;overflow:auto;padding:1px}.citation-entry-item{display:flex;flex-direction:column;gap:6px}.citation-entry-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid var(--ui-border, #dce3de);border-radius:8px;background:var(--ui-surface, #fbfcfb)}.citation-entry-card.already-in-file{border-color:var(--ui-border, #d7ddd8);background:var(--ui-subtle, #f0f2f0);filter:grayscale(.35)}.citation-entry-card.already-in-file .citation-entry-heading code,.citation-entry-card.already-in-file .citation-entry-main>strong,.citation-entry-card.already-in-file .citation-entry-main>p{color:var(--ui-muted, #7c867f)}.citation-entry-card.selected{position:relative;z-index:1;border-color:var(--ui-accent-border, #70a982);background:var(--ui-hover, #f0f8f2);box-shadow:0 0 0 2px #2f7a5824,0 6px 16px #244c3520}.citation-entry-card.selected .citation-entry-heading code{color:var(--ui-accent, #0f633d)}.citation-entry-main{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.citation-entry-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.citation-entry-heading code{color:var(--ui-accent, #176b44);font:650 11px/1.3 SFMono-Regular,Consolas,monospace}.citation-entry-heading>span{color:var(--ui-muted, #859189);font-size:10px}.citation-entry-heading>.citation-entry-venue{max-width:22rem;overflow:hidden;border-radius:999px;padding:2px 6px;background:var(--ui-subtle, #edf0ff);color:var(--ui-info, #4b5ca8);font-size:9px;font-style:italic;font-synthesis:style;text-overflow:ellipsis;white-space:nowrap}.citation-entry-heading em{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:2px 6px;background:var(--ui-subtle, #e8f2eb);color:var(--ui-accent, #26704a);font-size:9px;font-style:normal}.citation-entry-heading em.private{background:var(--ui-subtle, #edf0ee);color:var(--ui-muted, #69756d)}.citation-entry-main>strong{overflow:hidden;color:var(--ui-text, #2b3b31);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.citation-entry-main>p{margin:0;overflow:hidden;color:var(--ui-muted, #718078);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.citation-entry-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.citation-tag-pill{display:inline-flex;align-items:center;gap:4px;border:1px solid color-mix(in srgb,var(--tag-color) 35%,transparent);border-radius:999px;padding:2px 6px;background:color-mix(in srgb,var(--tag-color) 12%,var(--ui-tag-base, white));color:var(--ui-text, #526158);font-size:9px}.citation-tag-dot{width:7px;height:7px;flex:none;display:inline-block;border-radius:50%;background:var(--tag-color)}.citation-tag-filters .citation-tag-dot{background:var(--tag-color)}.citation-entry-actions{display:flex;flex:none;flex-wrap:wrap;justify-content:flex-end;gap:5px}.citation-entry-actions button{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--ui-border, #cbd5ce);border-radius:6px;padding:6px 8px;background:var(--ui-surface, white);color:var(--ui-muted, #52685a);font-size:10px;white-space:nowrap}.citation-entry-actions button:hover:not(:disabled){border-color:var(--ui-border, #8eaa98);background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}.citation-entry-actions button.primary{border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.citation-entry-actions button.saved{border-color:var(--ui-accent-border, #acd0b8);background:var(--ui-surface, #edf7f0);color:var(--ui-accent, #17623d)}.citation-library-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--ui-muted, #7b887f);text-align:center}.citation-library-empty strong{color:var(--ui-text, #526158);font-size:13px}.citation-library-empty span{max-width:360px;font-size:11px;line-height:1.45}.citation-library-notice{display:flex;align-items:center;gap:6px;margin:0;padding:8px 10px;border:1px solid var(--ui-accent-border, #acd0b8);border-radius:7px;background:var(--ui-surface, #edf7f0);color:var(--ui-accent, #17623d);font-size:11px}.citation-library-notice button{display:grid;place-items:center;width:21px;height:21px;margin-left:auto;border:0;border-radius:4px;background:transparent;color:inherit}.citation-current-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.citation-current-heading>div{min-width:0;display:flex;flex-direction:column;gap:3px}.citation-current-heading strong{color:var(--ui-accent, #31523e);font-size:13px}.citation-current-heading span{color:var(--ui-muted, #78857c);font-size:10px}.citation-current-heading button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--ui-accent, #176b44);font-size:10px;white-space:nowrap}.citation-edit-panel,.citation-tag-editor{display:flex;flex-direction:column;gap:9px;padding:10px 11px;border:1px solid var(--ui-border, #cbd9ce);border-radius:8px;background:var(--ui-surface, #f5f9f6)}.citation-edit-header{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ui-accent, #31523e);font-size:11px}.citation-edit-header>div{min-width:0;display:flex;flex-direction:column;gap:3px}.citation-edit-header small{color:var(--ui-muted, #78857c);font-size:10px;font-weight:400;line-height:1.4}.citation-edit-header button{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:4px;background:transparent;color:var(--ui-muted, #68766d)}.citation-edit-header button:hover{background:var(--ui-hover, #e2ece4)}.citation-edit-panel textarea{width:100%;resize:vertical;border:1px solid var(--ui-border, #cbd5ce);border-radius:6px;padding:8px;outline:0;font:11px/1.5 SFMono-Regular,Consolas,monospace}.citation-edit-panel textarea:focus{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 2px #176b4420}.citation-modal-form{display:flex;flex-direction:column;gap:12px}.citation-modal-form.citation-edit-panel{padding:0;border:0;background:transparent}.citation-entry-item>.citation-edit-panel,.citation-entry-item>.citation-tag-editor{margin:0 7px 0 12px;border-left:3px solid var(--ui-accent-border, #70a982)}.citation-edit-actions{display:flex;justify-content:flex-end;gap:6px}.citation-edit-actions button{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--ui-border, #bdc9c0);border-radius:6px;padding:6px 9px;background:var(--ui-surface, white);color:var(--ui-muted, #52685a);font-size:10px}.citation-edit-actions button.primary{border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.citation-tag-choice-list{display:flex;flex-wrap:wrap;gap:7px}.citation-tag-choice-list label{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--ui-border, #d4ded6);border-radius:999px;padding:5px 7px;background:var(--ui-surface, white);color:var(--ui-text, #526158);font-size:10px}.citation-tag-choice-list input{width:auto;accent-color:var(--ui-accent, #176b44)}.citation-library-page .citation-library-dialog{gap:16px;font-size:14px}.citation-library-page .citation-library-tabs button{min-height:40px;font-size:14px}.citation-library-page .citation-library-tabs button span{font-size:12px}.citation-library-page .citation-library-search{min-height:42px;padding:0 12px}.citation-library-page .citation-library-search input{padding:11px 0;font-size:14px}.citation-library-page .citation-library-search span{font-size:12px}.citation-library-page .citation-add-entry-button{min-height:40px;gap:6px;padding:0 14px;font-size:14px}.citation-library-page .citation-tag-filters{gap:6px}.citation-library-page .citation-tag-filters button{height:32px;padding:6px 10px;font-size:12px}.citation-library-page :is(.citation-tag-manage,.citation-tag-expand){min-height:32px;padding:6px 10px;font-size:12px}.citation-library-page .citation-entry-list{gap:10px}.citation-library-page .citation-entry-card{gap:16px;padding:14px 16px}.citation-library-page .citation-entry-main{gap:5px}.citation-library-page .citation-entry-heading code{font-size:13px;line-height:1.4}.citation-library-page .citation-entry-heading>span{font-size:12px}.citation-library-page .citation-entry-heading em{font-size:11px}.citation-library-page .citation-entry-main>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;font-size:14px;line-height:1.45}.citation-library-page .citation-entry-main>p{font-size:12px;line-height:1.5}.citation-library-page .citation-tag-pill{font-size:11px}.citation-library-page .citation-entry-actions{gap:7px}.citation-library-page :is(.citation-entry-actions,.citation-edit-actions) button{min-height:34px;gap:5px;padding:7px 10px;font-size:13px}.citation-library-page .citation-entry-actions button svg{width:15px;height:15px}.citation-library-page .citation-library-pagination{gap:12px;margin-top:10px;font-size:13px}.citation-library-page .citation-library-pagination button{min-height:34px;padding:7px 10px;font-size:13px}.citation-library-page .citation-library-notice{font-size:13px}.citation-library-page .citation-library-notice button{width:28px;height:28px}.citation-library-page .citation-library-empty{min-height:190px;gap:9px}.citation-library-page .citation-library-empty strong{font-size:16px}.citation-library-page .citation-library-empty span{max-width:440px;font-size:13px;line-height:1.5}.citation-library-page .citation-edit-header{font-size:14px}.citation-library-page .citation-edit-header small{font-size:12px}.citation-library-page .citation-edit-panel textarea{font-size:13px;line-height:1.6}.form-stack{display:flex;flex-direction:column;gap:14px}.import-error{margin:0;padding:10px 12px;border:1px solid var(--ui-danger-border, #e3b5b1);border-radius:8px;background:var(--ui-surface, #fff3f2);line-height:1.45}.form-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:650}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid var(--ui-border, #cbd2cc);border-radius:8px;padding:10px 11px;background:var(--ui-surface, white);outline:none}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 3px #176b4420}.upload-picker{position:relative;min-height:116px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:20px;border:1.5px dashed var(--ui-border, #aebbb2);border-radius:10px;background:var(--ui-surface, #f6f8f6);color:var(--ui-muted, #5f6b63);transition:border-color .15s ease,background .15s ease}.upload-picker:hover,.upload-picker:focus-within{border-color:var(--ui-accent-border, #4f8a68);background:var(--ui-hover, #f0f6f2)}.upload-picker.has-file{border-style:solid;border-color:var(--ui-accent-border, #83aa91);background:var(--ui-surface, #edf5ef);color:var(--ui-accent, #276044)}.upload-picker>svg{flex:none;color:var(--ui-accent, #176b44)}.upload-picker-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.upload-picker-copy strong,.upload-picker-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-picker-copy strong{color:var(--ui-text, #29382f);font-size:13px}.upload-picker-copy span{color:var(--ui-muted, #758078);font-size:11px}.upload-picker>button{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ui-border, #9fb0a4);border-radius:7px;padding:8px 11px;background:var(--ui-surface, white);color:var(--ui-accent, #235c3d);font-size:12px;font-weight:650}.upload-picker>button:hover{border-color:var(--ui-accent-border, #176b44);background:var(--ui-hover, #e4efe8)}.upload-picker>.upload-clear{position:absolute;top:7px;right:7px;width:26px;height:26px;display:grid;place-items:center;border:0;padding:0;background:transparent;color:var(--ui-muted, #6c776f)}.upload-picker>.upload-clear:hover{background:var(--ui-hover, #dce9e0);color:var(--ui-danger, #9d2f27)}.upload-picker.is-disabled{opacity:.72}.project-import-progress{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:10px 11px;border:1px solid var(--ui-border, #dce7df);border-radius:8px;background:var(--ui-surface, #f7faf8);color:var(--ui-text, #496052);font-size:12px;font-weight:600}.project-import-progress-label{display:contents}.project-import-progress-label>span{grid-column:1;align-self:center;line-height:1.4}.project-import-progress-label>small{grid-column:2;grid-row:1;align-self:center;color:var(--ui-accent, #176b44);font-size:12px;font-variant-numeric:tabular-nums;font-weight:650}.project-import-progress progress{grid-column:1 / -1;width:100%;height:8px;overflow:hidden;border:0;border-radius:999px;background:var(--ui-subtle, #e2ebe5);accent-color:var(--ui-accent, #176b44)}.project-import-progress progress::-webkit-progress-bar{border-radius:999px;background:var(--ui-subtle, #e2ebe5)}.project-import-progress progress::-webkit-progress-value{border-radius:999px;background:#27804f;transition:width .12s ease-out}.project-import-progress progress::-moz-progress-bar{border-radius:999px;background:#27804f}.project-import-progress .import-progress-hint{grid-column:1 / -1;color:var(--ui-muted, #68786e);font-size:11px;font-weight:450;line-height:1.45}.choice-group{display:flex;flex-direction:column;gap:10px;border:1px solid var(--ui-border, #dfe3df);border-radius:8px;padding:14px}.choice-group legend{padding:0 5px;font-size:12px;color:var(--ui-muted, #69716b)}.choice-group label{font-size:13px}.tag-assignment-list{display:flex;flex-direction:column;gap:7px}.tag-assignment-list label,.tag-assignment-list button{display:flex;align-items:center;gap:9px;min-height:38px;border:1px solid var(--ui-border, #dce1dd);border-radius:7px;padding:8px 10px;background:var(--ui-surface, white);color:var(--ui-text, #38423b);font-size:13px;text-align:left}.tag-assignment-list label:hover,.tag-assignment-list button:hover{border-color:var(--ui-accent-border, #8bae9a);background:var(--ui-hover, #f4f8f5)}.tag-assignment-list input{width:auto;accent-color:var(--ui-accent, #176b44)}.tag-management{display:flex;flex-direction:column;gap:15px}.tag-management-create{display:grid;grid-template-columns:minmax(0,1fr) 126px auto;align-items:end;gap:9px;padding:11px;border:1px solid var(--ui-border, #dbe4dd);border-radius:9px;background:var(--ui-surface, #f7faf7)}.tag-management-field{min-width:0;display:flex;flex-direction:column;gap:5px}.tag-management-field>span{color:var(--ui-muted, #637168);font-size:10px;font-weight:700;letter-spacing:.015em;text-transform:uppercase}.tag-management-field input,.tag-management-field select{width:100%;min-width:0;height:34px;border:1px solid var(--ui-border, #cbd5ce);border-radius:6px;padding:6px 8px;background:var(--ui-surface, white);color:var(--ui-text, #2c4234);outline:0;font-size:12px}.tag-management-field input:focus,.tag-management-field select:focus{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 2px #176b4420}.tag-management-create .primary{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 10px;font-size:11px;white-space:nowrap}.tag-management-loading,.tag-management-empty{min-height:112px;display:flex;align-items:center;justify-content:center;gap:7px;margin:0;border:1px dashed var(--ui-border, #d6dfd8);border-radius:8px;color:var(--ui-muted, #768279);font-size:12px}.tag-management-list{display:flex;flex-direction:column;gap:7px}.tag-management-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 10px;border:1px solid var(--ui-border, #e0e6e1);border-radius:8px;background:var(--ui-surface, white)}.tag-management-item.editing{border-color:var(--ui-accent-border, #9abca5);background:var(--ui-surface, #fbfdfb);box-shadow:0 0 0 2px #176b440c}.tag-management-item-main{min-width:0;display:flex;align-items:center;gap:9px}.tag-management-item-main .tag-dot{width:11px;height:11px}.tag-management-item-main>div{min-width:0;display:flex;align-items:baseline;gap:8px}.tag-management-item-main strong{min-width:0;overflow:hidden;color:var(--ui-text, #2c4234);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.tag-management-item-main small{flex:none;color:var(--ui-muted, #7a857e);font-size:10px}.tag-management-item-actions{display:flex;align-items:center;gap:2px}.tag-management-item-actions button{width:29px;height:29px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--ui-muted, #64726a)}.tag-management-item-actions button:hover:not(:disabled){background:var(--ui-hover, #eaf1eb);color:var(--ui-accent, #176b44)}.tag-management-item-actions button.danger-text{color:var(--ui-danger, #b3261e)}.tag-management-item-actions button.danger-text:hover:not(:disabled){background:var(--ui-hover, #fff0ef);color:var(--ui-danger, #9f251e)}.tag-management-edit{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) 126px auto;align-items:end;gap:9px;padding-top:9px;border-top:1px solid var(--ui-border, #e1e9e2)}.tag-management-edit-actions{display:flex;align-items:center;gap:5px}.tag-management-edit-actions button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid var(--ui-border, #c7d1c9);border-radius:6px;padding:7px 9px;background:var(--ui-surface, white);color:var(--ui-text, #516259);font-size:11px}.tag-management-edit-actions button.primary{border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.project-icon-picker{display:flex;flex-direction:column;gap:12px}.project-icon-search{display:flex;align-items:center;gap:8px;border:1px solid var(--ui-border, #cbd5ce);border-radius:8px;padding:0 10px;background:var(--ui-surface, #fff);color:var(--ui-muted, #6b7970)}.project-icon-search:focus-within{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 2px #176b4420}.project-icon-search input{width:100%;min-width:0;height:36px;border:0;outline:0;background:transparent;color:var(--ui-text, #26362d);font:inherit;font-size:13px}.project-icon-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:7px;max-height:410px;overflow:auto;padding:2px}.project-icon-option{min-width:0;min-height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid var(--ui-border, #dce4de);border-radius:8px;padding:7px 6px;background:var(--ui-surface, #fff);color:var(--ui-text, #526058);font-size:10px;font-weight:650;line-height:1.2;text-align:center}.project-icon-option:hover{border-color:var(--ui-accent-border, #91b49c);background:var(--ui-hover, #f5faf6);color:var(--ui-accent, #176b44)}.project-icon-option:focus-visible{outline:3px solid var(--ui-focus-ring, #176b4455);outline-offset:1px}.project-icon-option.selected{border-color:var(--ui-accent-border, #4f9567);background:var(--ui-accent-bg, #eaf5ed);color:var(--ui-accent, #176b44);box-shadow:inset 0 0 0 1px #4f956744}.project-icon-option-glyph{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:var(--ui-subtle, #e5f0fb);color:var(--ui-info, #1b5aa0)}.project-icon-option.selected .project-icon-option-glyph{background:var(--ui-accent-bg, #d8eddf);color:var(--ui-accent, #176b44)}.project-icon-picker-empty{margin:0;padding:14px;border:1px dashed var(--ui-border, #d4ded6);border-radius:8px;color:var(--ui-muted, #768279);font-size:12px;text-align:center}.project-icon-advanced{display:grid;gap:6px;border-top:1px solid var(--ui-border, #e3e9e4);padding-top:12px}.project-icon-advanced>label{color:var(--ui-text, #314339);font-size:12px;font-weight:700}.project-icon-advanced-input{min-width:0;display:flex;align-items:center;gap:8px;border:1px solid var(--ui-border, #cbd5ce);border-radius:8px;padding:0 8px 0 10px;background:var(--ui-surface, #fff)}.project-icon-advanced-input:focus-within{border-color:var(--ui-accent-border, #176b44);box-shadow:0 0 0 2px #176b4420}.project-icon-advanced-input input{width:100%;min-width:0;height:34px;border:0;outline:0;background:transparent;color:var(--ui-text, #26362d);font:inherit;font-size:13px}.project-icon-advanced-preview{width:26px;height:26px;display:grid;place-items:center;flex:none;border-radius:6px;background:var(--ui-subtle, #e5f0fb);color:var(--ui-info, #1b5aa0)}.project-icon-advanced>p{margin:0;color:var(--ui-muted, #718076);font-size:11px;line-height:1.45}.project-icon-advanced>p a{color:var(--ui-accent, #176b44);font-weight:650}.checkbox-field{display:flex;align-items:center;gap:8px;font-size:13px}.checkbox-field input{width:auto}.selection-preview{max-height:130px;overflow:auto;margin:14px 0 0;padding:10px 12px;border-left:3px solid var(--ui-warning-border, #d6a128);background:var(--ui-surface, #fff8e5);white-space:pre-wrap;font:12px/1.5 SFMono-Regular,Consolas,monospace}.git-dialog{display:flex;flex-direction:column;gap:14px}.git-dialog-modal-fullscreen{top:0;left:0;width:100vw;height:100vh;max-height:100vh;transform:none;overflow:hidden;border-radius:0}.git-loading{min-height:120px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--ui-muted, #6e7871);font-size:13px}.git-message{margin:0;display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid;border-radius:7px;font-size:12px}.git-message.error{border-color:var(--ui-danger-border, #e2b4b0);background:var(--ui-danger-bg, #fff2f1)}.git-message.success{border-color:var(--ui-accent-border, #acd0b8);background:var(--ui-accent-bg, #edf7f0);color:var(--ui-accent, #17623d)}.git-section{display:flex;flex-direction:column;gap:11px;padding:14px;border:1px solid var(--ui-border, #dfe4e0);border-radius:9px;background:var(--ui-surface, #fbfcfb)}.git-section-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;padding:0;background:transparent;color:var(--ui-muted, #607068);text-align:left}.git-section-toggle:hover{color:var(--ui-accent, #176b44)}.git-section-heading{min-width:0;display:flex;align-items:flex-start;gap:8px;color:var(--ui-accent, #27533a)}.git-section-heading>svg{flex:none;margin-top:1px}.git-section-heading>div,.git-section-heading>span{min-width:0;display:flex;flex-direction:column;gap:3px}.git-section-heading strong{font-size:13px}.git-section-heading small{max-width:650px;overflow:hidden;color:var(--ui-muted, #78817b);font-size:10px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.git-section-content{display:flex;flex-direction:column;gap:11px;padding-top:2px}.git-token-guidance{display:flex;flex-direction:column;gap:4px;padding:10px 11px;border:1px solid var(--ui-border, #c6d9cb);border-left:3px solid var(--ui-accent-border, #28714b);border-radius:7px;background:var(--ui-surface, #f0f7f2)}.git-token-guidance strong{color:var(--ui-accent, #225d3c);font-size:11px}.git-token-guidance span{color:var(--ui-muted, #66756b);font-size:10px;line-height:1.5}.git-token-guidance .git-token-highlight{color:var(--ui-info, #1769aa);font-style:italic;font-weight:750}.git-account-guidance{margin:0;color:var(--ui-text, #536059);font-size:12px;line-height:1.5}.account-github-encryption-note{margin:0;font-size:11px}.git-account,.git-repository-card{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:7px;background:var(--ui-subtle, #eaf3ed);color:var(--ui-accent, #23563a);font-size:12px}.git-account>span{min-width:0;flex:1}.git-account button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--ui-danger, #a3342c);font-size:10px}.git-inline-actions,.git-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.git-inline-actions{justify-content:space-between}.git-inline-actions a,.git-repository-card a{display:inline-flex;align-items:center;gap:4px;color:var(--ui-accent, #176b44);font-size:11px;text-decoration:none}.git-inline-actions button,.git-action-row button,.git-primary-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--ui-border, #bdc9c0);border-radius:6px;padding:7px 9px;background:var(--ui-surface, white);color:var(--ui-accent, #31523e);font-size:11px}.git-action-row .git-discard-button:not(:disabled){border-color:var(--ui-danger-border, #d9aaa5);color:var(--ui-danger, #9b332b)}.git-action-row .git-discard-button:not(:disabled):hover{background:var(--ui-hover, #fff0ee)}.git-primary-action{align-self:flex-start;border-color:var(--ui-accent-border, #176b44);background:#176b44;color:#fff}.git-repository-card{justify-content:space-between}.git-repository-card>div{min-width:0;display:flex;flex-direction:column;gap:3px}.git-repository-card strong,.git-repository-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.git-repository-card small{color:var(--ui-muted, #6e7c73);font-size:10px}.git-count{min-width:17px;padding:1px 5px;border-radius:999px;background:var(--ui-subtle, #d9e9df);font-size:9px}.git-diff-section{padding-bottom:0;overflow:hidden}.git-diff-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.git-diff-controls{display:flex;align-items:center;gap:7px;flex:none}.git-diff-font-controls{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--ui-border, #cbd5ce);border-radius:6px;padding:2px;background:var(--ui-surface, white);color:var(--ui-muted, #52685a)}.git-diff-font-button{width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:4px;padding:0;background:transparent;color:inherit}.git-diff-font-button:hover:not(:disabled){background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}.git-diff-font-value{min-width:34px;color:var(--ui-muted, #52685a);font-size:10px;font-variant-numeric:tabular-nums;text-align:center}.git-diff-fullscreen{width:29px;height:29px;flex:none;display:grid;place-items:center;padding:0!important;border:1px solid var(--ui-border, #cbd5ce)!important;border-radius:6px!important;background:var(--ui-surface, white)!important;color:var(--ui-muted, #52685a)}.git-diff-fullscreen:hover{border-color:var(--ui-border, #8eaa98)!important;background:var(--ui-hover, #edf4ef)!important;color:var(--ui-accent, #176b44)}.git-diff-section.is-fullscreen,.git-diff-section:fullscreen{position:fixed;z-index:1000;inset:0;width:100vw;height:100vh;max-height:none;box-sizing:border-box;margin:0;padding:20px!important;border:0;border-radius:0;overflow:hidden;background:var(--ui-surface, #fbfcfb)}.git-diff-section.is-fullscreen .git-diff,.git-diff-section:fullscreen .git-diff{flex:1;min-height:0;max-height:none;margin:0}.git-diff-section.is-fullscreen .git-diff-empty,.git-diff-section:fullscreen .git-diff-empty{flex:1;min-height:0;margin:0}.git-diff{max-height:360px;margin:0 -14px;overflow:auto;padding:11px 0;background:#202522;color:#d9e1dc;font:10px/1.5 SFMono-Regular,Consolas,monospace;tab-size:4}.git-diff span{display:block;min-width:max-content;padding:0 12px;white-space:pre}.git-diff span.addition{background:#173b28;color:#bfe8cb}.git-diff span.deletion{background:#442421;color:#f1c1bc}.git-diff span.hunk{background:#283a48;color:#b8daf4}.git-diff span.header{color:#e8cf8b;font-weight:650}.git-diff-empty{margin:0 -14px;padding:28px;background:#252a27;color:#b9c0bc;font-size:12px;text-align:center}.git-history{max-height:300px;display:flex;flex-direction:column;gap:5px;overflow:auto}.git-history article{min-width:0;display:grid;grid-template-columns:66px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid var(--ui-border, #e2e6e3);border-radius:6px;background:var(--ui-surface, white)}.git-history code{color:var(--ui-accent, #176b44);font-size:10px}.git-history article>div{min-width:0;display:flex;flex-direction:column;gap:2px}.git-history article strong,.git-history article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.git-history article strong{font-size:11px}.git-history article small{color:var(--ui-muted, #7b847e);font-size:9px}.git-history article>span{display:flex;gap:3px}.git-history button{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--ui-muted, #52685a)}.git-history button:hover{background:var(--ui-hover, #e8f0eb);color:var(--ui-accent, #176b44)}.git-history button.is-active,.git-history button[aria-pressed=true]{background:var(--ui-accent-bg, #dcebe1);color:var(--ui-accent, #176b44)}.git-force-checkout{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--ui-danger-border, #e4b9b5);border-radius:8px;background:var(--ui-surface, #fff6f5)}.git-force-checkout input{margin-top:2px;accent-color:var(--ui-danger, #b3261e)}.git-force-checkout span{display:flex;flex-direction:column;gap:3px}.git-force-checkout strong{color:var(--ui-danger, #932c25);font-size:12px}.git-force-checkout small{color:var(--ui-muted, #7d6562);font-size:10px;line-height:1.45}.quick-open-dialog>label{display:flex;align-items:center;gap:8px;border:1px solid var(--ui-border, #bfcac2);border-radius:7px;padding:0 10px;background:var(--ui-surface, #fff)}.quick-open-dialog>label:focus-within{border-color:var(--ui-accent-border, #418060);box-shadow:0 0 0 2px #41806020}.quick-open-dialog input{width:100%;border:0;outline:0;padding:10px 0;background:transparent}.quick-open-results{max-height:420px;overflow:auto;margin-top:8px;border:1px solid var(--ui-border, #d9e0db);border-radius:7px}.quick-open-results button{display:grid;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;gap:6px;width:100%;padding:8px 10px;border:0;border-radius:0;background:var(--ui-surface, #fff);text-align:left}.quick-open-results button+button{border-top:1px solid var(--ui-border, #eef1ef)}.quick-open-results button.active{background:var(--ui-accent-bg, #e4efe8);color:var(--ui-accent, #195f3d)}.quick-open-results span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:11px/1.4 JetBrains Mono,monospace}.selection-history-modal{width:min(820px,calc(100vw - 32px))}.selection-history-dialog{display:flex;flex-direction:column;gap:12px;min-height:240px}.selection-history-loading,.selection-history-empty{flex:1;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--ui-muted, #68736b);text-align:center;font-size:12px}.selection-history-empty>svg{color:var(--ui-muted, #72867a)}.selection-history-empty strong{color:var(--ui-text, #304137);font-size:14px}.selection-history-empty span{max-width:390px;line-height:1.5}.selection-history-loading{flex-direction:row}.selection-history-message,.selection-history-boundary{margin:0;padding:9px 11px;border-radius:7px;font-size:11px;line-height:1.45}.selection-history-boundary{border:1px solid var(--ui-warning-border, #ead39b);background:var(--ui-surface, #fff8e6);color:var(--ui-warning, #73551b)}.selection-history-list{display:flex;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}.selection-history-entry{overflow:hidden;border:1px solid var(--ui-border, #dce4de);border-radius:8px;background:var(--ui-surface, #fff);box-shadow:0 1px 1px #17321a08}.selection-history-entry>header{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 10px;border-bottom:1px solid var(--ui-border, #edf0ee);background:var(--ui-surface, #f7faf8)}.selection-history-authors{flex:1;min-width:0;display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;color:var(--ui-accent, #2d4c3a);font-size:12px}.selection-history-authors>svg{color:var(--ui-accent, #5d806c);flex:none}.selection-history-author-list{min-width:0;display:inline-flex;flex-wrap:wrap;gap:3px 6px;color:var(--ui-text, #4c5b51)}.selection-history-author-list>span{white-space:nowrap}.selection-history-author-list>span+span:before{content:",";margin-right:6px;color:var(--ui-muted, #8a948d)}.selection-history-entry time{flex:none;color:var(--ui-muted, #758077);font-size:10px;font-variant-numeric:tabular-nums}.selection-history-tabs{display:flex;align-items:center;gap:3px;padding:7px 10px 0;background:var(--ui-surface, #fff)}.selection-history-tabs button{border:0;border-bottom:2px solid transparent;border-radius:4px 4px 0 0;padding:4px 8px 5px;background:transparent;color:var(--ui-muted, #68766d);font-size:11px}.selection-history-tabs button:hover{background:var(--ui-hover, #f1f6f2);color:var(--ui-accent, #355840)}.selection-history-tabs button.active{border-bottom-color:var(--ui-accent-border, #34845a);color:var(--ui-accent, #235e3b);font-weight:650}.selection-history-content{padding:8px 10px 10px}.selection-history-content pre{max-height:220px;margin:0;overflow:auto;border:1px solid var(--ui-border, #e5e9e6);border-radius:6px;padding:8px 9px;background:var(--ui-surface, #fbfcfb);color:var(--ui-text, #334139);font:11px/1.5 SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere}.selection-history-semantic-diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.selection-history-diff-side{min-width:0;overflow:hidden;border:1px solid var(--ui-border, #e2e7e3);border-radius:6px;background:var(--ui-surface, #fbfcfb)}.selection-history-diff-side>header{padding:5px 8px;border-bottom:1px solid var(--ui-border, #e7ece8);color:var(--ui-muted, #66736a);font-size:10px;font-weight:650}.selection-history-diff-side.previous>header{background:var(--ui-surface, #fff7f5);color:var(--ui-danger, #8a514a)}.selection-history-diff-side.current>header{background:var(--ui-surface, #f2faf4);color:var(--ui-accent, #34714a)}.selection-history-diff-side pre{min-height:34px;max-height:220px;margin:0;overflow:auto;border:0;border-radius:0;padding:8px 9px;background:transparent;color:var(--ui-text, #334139);font:11px/1.5 SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre-wrap;overflow-wrap:anywhere}.selection-history-diff-side .addition{background:var(--ui-subtle, #d9f0df);color:var(--ui-accent, #195b32);border-radius:2px}.selection-history-diff-side .deletion{background:var(--ui-danger-bg, #f9dfdc);color:var(--ui-danger, #873a34);border-radius:2px;text-decoration:line-through;text-decoration-thickness:1px}.selection-history-diff-side .omitted{color:var(--ui-muted, #889289)}.selection-history-content small,.selection-history-content-unavailable{display:block;margin:6px 0 0;color:var(--ui-muted, #727c75);font-size:10px;line-height:1.4}.selection-history-content-unavailable{border:1px solid var(--ui-warning-border, #ead39b);border-radius:6px;padding:8px 9px;background:var(--ui-surface, #fff8e6);color:var(--ui-warning, #73551b)}@media(max-width:640px){.selection-history-semantic-diff{grid-template-columns:1fr}}.history-dialog-modal{width:min(1120px,calc(100vw - 32px));height:min(840px,calc(100vh - 40px));max-height:min(840px,calc(100vh - 40px));display:flex;flex-direction:column;overflow:hidden}.history-dialog-modal .dialog-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:14px 18px;overflow:hidden}.history-dialog{flex:1;height:100%;min-height:0;display:flex;flex-direction:column;border:1px solid var(--ui-border, #d9e0db);border-radius:8px;overflow:hidden;background:var(--ui-surface, #fff)}.history-loading{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:420px;color:var(--ui-muted, #68736b)}.history-message{margin:10px}.history-dialog-layout{display:grid;grid-template-columns:270px minmax(0,1fr);grid-template-rows:minmax(0,1fr);flex:1;min-height:0;height:100%;overflow:hidden}.history-timeline{display:flex;flex-direction:column;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;border-right:1px solid var(--ui-border, #d9e0db);background:var(--ui-surface, #f5f7f5)}.history-stats{position:sticky;top:0;z-index:2;flex-shrink:0;display:grid;gap:5px;padding:10px 12px;border-bottom:1px solid var(--ui-border, #d8dfda);background:var(--ui-subtle, #edf3ef);color:var(--ui-text, #33483b)}.history-stats header{display:flex;align-items:center;justify-content:space-between;gap:8px}.history-stats header span{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700}.history-stats header button{width:26px;height:26px;display:grid;place-items:center;border:0;padding:0;background:transparent;color:var(--ui-danger, #9d332b)}.history-stats header button:hover:not(:disabled){background:var(--ui-hover, #f5deda)}.history-stats strong{font-size:11px}.history-stats small{color:var(--ui-muted, #68766d);font-size:9px;line-height:1.4}.history-stats progress{width:100%;height:6px;border:0;border-radius:999px;overflow:hidden;accent-color:var(--ui-accent, #34845a)}.history-stats.exceeded progress{accent-color:var(--ui-danger, #bd483e)}.history-stats .history-storage-warning{color:var(--ui-danger, #9d332b)}.history-timeline>button{display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;width:100%;padding:11px 12px;border:0;border-bottom:1px solid var(--ui-border, #e1e6e2);border-radius:0;background:transparent;text-align:left;color:var(--ui-text, #34443a);flex-shrink:0}.history-timeline>button:hover{background:var(--ui-hover, #eaf0ec)}.history-timeline>button.active{background:var(--ui-hover, #dfece4);box-shadow:inset 3px 0 #28734b}.history-timeline>button span{min-width:0;display:grid;gap:2px}.history-timeline>button strong,.history-timeline>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-timeline>button small{color:var(--ui-muted, #68736b);font-size:10px}.history-item-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.history-item-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--ui-text, #253329);flex:1;min-width:0}.history-reason-badge{display:inline-flex;align-items:center;flex:none;padding:1px 5px;border-radius:4px;font-size:9px;font-weight:500;line-height:1.4;white-space:nowrap;background:var(--ui-subtle, #edf2ee);color:var(--ui-muted, #55685c)}.history-reason-badge.reason-autosave{background:var(--ui-subtle, #edf2ee);color:var(--ui-muted, #55685c)}.history-reason-badge.reason-file{background:var(--ui-subtle, #eef2f7);color:var(--ui-info, #445367)}.history-reason-badge.reason-settings{background:var(--ui-warning-bg, #fef3c7);color:var(--ui-warning, #92400e)}.history-reason-badge.reason-git{background:var(--ui-subtle, #f3e8ff);color:var(--ui-purple, #6b21a8)}.history-reason-badge.reason-restore{background:var(--ui-info-bg, #e0f2fe);color:var(--ui-info, #0369a1)}.history-reason-badge.reason-checkpoint{background:var(--ui-warning-bg, #ffedd5);color:var(--ui-warning, #9a3412)}.history-reason-badge.reason-initial{background:var(--ui-subtle, #e6f4ea);color:var(--ui-accent, #137333)}.history-timeline>button.active .history-reason-badge{background:var(--ui-accent-bg, #ffffffcc);color:var(--ui-accent, #205c38)}.history-load-more{flex:none;padding:9px 11px 11px;border-top:1px solid var(--ui-border, #dfe6e0);background:var(--ui-surface, #f0f4f1)}.history-load-more button{width:100%;min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--ui-border, #c9d5cc);border-radius:6px;padding:5px 8px;background:var(--ui-surface, #fff);color:var(--ui-accent, #31523e);font-size:10px;font-weight:650}.history-load-more button:hover:not(:disabled){border-color:var(--ui-border, #97b2a1);background:var(--ui-hover, #f7faf7);color:var(--ui-accent, #1d5838)}.history-load-more button:disabled{cursor:wait;opacity:.62}.history-detail{min-width:0;min-height:0;height:100%;overflow-y:auto;padding:14px}.history-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}.history-detail-header>div{display:grid;gap:4px}.history-detail-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.history-detail-title-row strong{font-size:15px;color:var(--ui-text, #1d2b22);word-break:break-word}.history-detail-header small{display:flex;align-items:center;gap:4px;color:var(--ui-muted, #68736b)}.history-snapshot-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:8px 0 13px;border-bottom:1px solid var(--ui-border, #e2e7e3)}.history-snapshot-actions button,.history-file-list button,.history-file-actions button{-webkit-appearance:none;appearance:none}.history-snapshot-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;white-space:nowrap}.history-delete-action{border:0;border-radius:6px;padding:6px 4px;background:transparent;color:var(--ui-danger, #a3342c);font-size:11px;font-weight:600}.history-delete-action:hover:not(:disabled){background:var(--ui-hover, #fff0ee);color:var(--ui-danger, #8d2720)}.history-restore-project{margin-left:auto;border:1px solid var(--ui-accent-border, #176b44);border-radius:7px;padding:7px 11px;background:#176b44;color:#fff;font-size:11px;font-weight:700;box-shadow:0 1px 2px #123c2a26}.history-restore-project:hover:not(:disabled){border-color:var(--ui-accent-border, #115736);background:#115f3b;box-shadow:0 2px 5px #123c2a2b}.history-snapshot-actions button:focus-visible,.history-file-actions button:focus-visible{outline:2px solid var(--ui-accent-border, #70ad88);outline-offset:2px}.history-label{display:flex;gap:8px;margin-bottom:12px}.history-label label{flex:1;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--ui-border, #cdd6cf);border-radius:6px;background:var(--ui-surface, #fff)}.history-label input{width:100%;border:0;padding:8px 0;outline:0}.history-files{display:flex;flex-direction:column;gap:7px}.history-files-toolbar{display:flex;align-items:center;gap:8px}.history-files-heading{display:inline-flex;align-items:center;gap:6px;color:var(--ui-text, #425347);font-size:11px;font-weight:650}.history-files-heading span{line-height:1}.history-file-tabs-row{min-width:0;display:flex;align-items:center;gap:10px}.history-file-list{min-width:0;flex:1;display:flex;gap:5px;overflow-x:auto;padding-bottom:2px;min-height:34px}.history-file-list button{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;min-height:32px;max-width:230px;border:1px solid var(--ui-border, #cbd5ce);border-radius:6px;padding:6px 9px;background:var(--ui-surface, #fff);color:var(--ui-text, #435047);font-size:11px;font-weight:600;line-height:1.2;box-shadow:none}.history-file-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-file-list button small{padding:1px 4px;border-radius:8px;background:var(--ui-warning-bg, #f2d675);color:var(--ui-warning, #695414);font-size:9px}.history-file-list button:hover:not(:disabled){border-color:var(--ui-accent-border, #91ae9c);background:var(--ui-hover, #f4f8f5);color:var(--ui-accent, #245a3d)}.history-file-list button.active{border-color:var(--ui-accent-border, #418060);background:var(--ui-accent-bg, #e7f0ea);color:var(--ui-accent, #1d5c3b);box-shadow:inset 3px 0 #3ba86c}.history-file-list button:focus-visible{outline:2px solid var(--ui-accent-border, #70ad88);outline-offset:2px}.history-file-actions{flex:none;display:flex;gap:5px;padding-left:10px;border-left:1px solid var(--ui-border, #e1e6e2)}.history-file-actions button{display:inline-flex;align-items:center;gap:5px;min-height:31px;border:1px solid var(--ui-border, #bdc9c0);border-radius:6px;padding:6px 9px;background:var(--ui-surface, #fff);color:var(--ui-accent, #31523e);font-size:11px;font-weight:600;white-space:nowrap}.history-file-actions button:hover:not(:disabled){border-color:var(--ui-border, #8eaa98);background:var(--ui-hover, #edf4ef);color:var(--ui-accent, #176b44)}@supports not selector(:focus-visible){.history-snapshot-actions button:focus,.history-file-list button:focus,.history-file-actions button:focus{outline:2px solid var(--ui-accent-border, #70ad88);outline-offset:2px}}.history-comparison{min-height:360px;margin-top:10px;border:1px solid #d8dfda;border-radius:7px;overflow:hidden;background:#202522;display:flex;flex-direction:column}.history-attachment-change{display:flex;align-items:center;gap:8px;margin:10px 0 0;padding:11px 12px;border:1px solid var(--ui-border, #d8dfda);border-radius:7px;background:var(--ui-surface, #f5f8f6);color:var(--ui-text, #526258);font-size:12px;overflow-wrap:anywhere}.history-attachment-change>svg{flex:none}.history-comparison>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #36413a;background:#28302b;color:#d9e1dc}.history-comparison-meta{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.history-comparison-meta strong{font-size:12px;color:#f0f4f1}.history-comparison-meta small{display:inline-flex;align-items:center;gap:6px;color:#97a69c;font-size:11px}.history-commit-summary{display:inline-flex;align-items:center;gap:6px;color:#97a69c;font-size:11px;flex-wrap:wrap}.history-commit-author{color:#f0f4f1;font-weight:600}.history-mode-toggle{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--ui-border, #3d4a41);border-radius:999px;background:var(--ui-subtle, #1a201c)}.history-mode-toggle button{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:999px;padding:4px 9px;background:transparent;color:var(--ui-muted, #9fac9f);font-size:11px;cursor:pointer;transition:background-color .15s ease,color .15s ease;white-space:nowrap}.history-mode-toggle button:hover{color:var(--ui-text, #f0f4f1);background:var(--ui-hover, #28332c)}.history-mode-toggle button.active{background:var(--ui-accent-bg, #eff7f1);color:var(--ui-accent, #1d613c);font-weight:700;box-shadow:inset 0 0 0 1px var(--ui-accent-border, transparent),0 1px 2px #0000004d}.history-diff-stats{display:inline-flex;align-items:center;gap:5px;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;font-weight:700;margin-left:2px}.history-diff-stats .addition{color:#52c478}.history-diff-stats .deletion{color:#f28277}.history-diff-controls{display:flex;align-items:center;gap:9px;flex:none;flex-wrap:wrap}.history-diff-control-group{display:inline-flex;align-items:center;flex:none}.history-diff-control-divider{width:1px;height:21px;flex:none;background:#4a574e}.history-git-diff{min-height:330px;max-height:430px;margin:0!important;border-radius:0}.history-diff-empty{min-height:330px;margin:0!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#8e9e93;font-size:12px;text-align:center}.history-comparison-empty{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#8e9e93;background:#202522}.history-comparison.is-fullscreen,.history-comparison:fullscreen{position:fixed;z-index:1000;inset:0;width:100vw;height:100vh;max-height:none;box-sizing:border-box;margin:0;padding:18px!important;border:0;border-radius:0;overflow:hidden;background:#202522;display:flex;flex-direction:column}.history-comparison.is-fullscreen>header,.history-comparison:fullscreen>header{background:#28302b;border-color:#36413a}.history-comparison.is-fullscreen .history-git-diff,.history-comparison:fullscreen .history-git-diff{flex:1;min-height:0;max-height:none}.history-comparison.is-fullscreen .history-diff-empty,.history-comparison:fullscreen .history-diff-empty{flex:1;min-height:0}.history-comparison.is-fullscreen .history-comparison-empty,.history-comparison:fullscreen .history-comparison-empty{flex:1;min-height:0}@keyframes fade-in{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translate(-50%,-48%) scale(.98)}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.project-list-header,.project-grid.list-view .project-card.project-list-row{grid-template-columns:36px minmax(220px,1fr) 95px 88px 110px 36px 36px;gap:9px;padding-left:10px;padding-right:10px}.project-list-header{padding-left:11px;padding-right:11px}.project-list-avatar{width:36px;height:36px}.editor-actions button{padding:8px}.editor-actions button svg+*{display:none}.editor-actions .comments-action,.editor-actions .snapshots-action{padding:7px 6px}.editor-actions .comments-action svg+*,.editor-actions .snapshots-action svg+*{display:inline}}@media(max-width:960px){.project-list-header,.project-grid.list-view .project-card.project-list-row{grid-template-columns:36px minmax(200px,1fr) 95px 110px 36px 36px}.project-list-header-created,.project-list-created{display:none}.project-list-avatar{width:36px;height:36px;font-size:15px}}@media(max-width:860px){.project-catalog-layout{display:block}.project-tag-sidebar{position:static;width:100%;margin-bottom:10px}.project-tag-toggle{width:100%;justify-content:space-between;padding:8px 10px}.project-tag-toggle-copy span,.project-tag-toggle-chevron{display:inline}.project-tag-filters{position:static;width:auto;margin-top:7px;grid-template-columns:repeat(4,minmax(0,1fr));box-shadow:none}}@media(min-width:1660px){.project-tag-filters{right:calc(100% + 12px);left:auto}}@media(max-width:720px){.dashboard{padding:28px 18px}.section-title{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:24px}.section-title h1{font-size:25px}.project-list-header{display:none}.project-grid.list-view{gap:7px}.project-grid.list-view .project-card{height:68px;min-height:68px}.project-grid.list-view .project-card.project-list-row{grid-template-columns:36px minmax(0,1fr) minmax(118px,145px) 36px;gap:8px;padding:0 8px}.project-list-owner,.project-list-created,.project-list-mentions{display:none}.project-list-avatar{width:36px;height:36px}.project-list-title{font-size:15px}.project-list-modified{font-size:12px}.project-list-modified small{font-size:10px}.project-action-menu-trigger{width:32px;height:32px;min-width:32px;min-height:32px}.project-action-menu-list .project-action-menu{right:36px;width:min(208px,calc(100vw - 42px))}.section-title>.dashboard-back-button{align-self:flex-start}.citation-library-page .citation-library-dialog{padding:12px}.citation-library-page .citation-library-search{flex-wrap:wrap;gap:4px 8px;padding:8px 12px}.citation-library-page .citation-library-search input{padding:3px 0}.citation-library-page .citation-library-search span{flex-basis:100%;padding-left:23px}.citation-library-search-row{flex-direction:column}.citation-add-entry-button{min-height:34px;justify-content:center}.citation-entry-card{flex-direction:column}.citation-entry-actions{width:100%;justify-content:flex-start}.upload-picker{grid-template-columns:auto 1fr}.upload-picker>button{grid-column:1 / -1;justify-content:center}.share-add{grid-template-columns:1fr}.shared-member{align-items:flex-start}.member-controls{flex:none}.history-dialog-modal{height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.history-dialog-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr}.history-timeline{max-height:200px;border-right:0;border-bottom:1px solid var(--ui-border, #d9e0db)}.history-files{grid-template-columns:1fr}.history-comparison>header{flex-wrap:wrap}.tag-management-create,.tag-management-edit{grid-template-columns:minmax(0,1fr) 118px}.tag-management-create>.primary,.tag-management-edit-actions{grid-column:1 / -1}.tag-management-edit-actions{justify-content:flex-end}}@media(max-width:620px){.history-file-tabs-row{align-items:flex-start;flex-wrap:wrap}.history-file-list{flex-basis:100%}.history-file-actions{margin-left:auto}.history-diff-control-divider{display:none}}@media(max-width:520px){.project-grid.list-view .project-card.project-list-row{grid-template-columns:36px minmax(0,1fr) 88px 36px;gap:8px}.project-list-avatar{width:36px;height:36px;font-size:15px}.project-list-tags,.project-list-modified small{display:none}.project-tag-filters,.project-icon-options{grid-template-columns:repeat(3,minmax(0,1fr))}.tag-management-create,.tag-management-edit{grid-template-columns:1fr}.tag-management-item-main>div{flex-direction:column;align-items:flex-start;gap:2px}}:root{color-scheme:light;--muted: #737a75}:root[data-theme=dark]{color-scheme:dark;--ui-page: #1e222a;--ui-surface: #282c34;--ui-raised: #303640;--ui-subtle: #242831;--ui-hover: #343d49;--ui-border: #485261;--ui-text: #d7dae0;--ui-muted: #adb6c4;--ui-accent: #96d4b3;--ui-accent-bg: #293f35;--ui-accent-border: #5e8b74;--ui-danger: #f2aaa0;--ui-danger-bg: #482f32;--ui-danger-border: #8c5d57;--ui-warning: #e5c07b;--ui-warning-bg: #463c2a;--ui-warning-border: #927a44;--ui-info: #a9c8f5;--ui-info-bg: #293d57;--ui-info-border: #5d7ca7;--ui-purple: #ceb4eb;--ui-purple-bg: #3c334b;--ui-purple-border: #8f75ac;--ui-pink: #edafcf;--ui-pink-bg: #483344;--ui-pink-border: #9a708b;--ui-focus-ring: #82c7af60;--ui-tag-base: #282c34;--ui-switch-thumb: #e2e7ef;--ui-switch-on-bg: #27754f;--muted: var(--ui-muted)}:where(:root[data-theme=dark]) :where(button,input,select,textarea){color:inherit}:where(:root[data-theme=dark]) :where(input,select,textarea){background-color:var(--ui-surface)}:root[data-theme=dark] :is(input,textarea)::placeholder{color:#99a5b4;opacity:1}:root[data-theme=dark] option{background:var(--ui-surface);color:var(--ui-text)}:root[data-theme=dark] .login-page{background:radial-gradient(circle at 50% 0,#273e34,var(--ui-page) 50%)}:root[data-theme=dark] .login-card{background:var(--ui-surface)}:root[data-theme=dark] .dialog-overlay{background:#080c127a}:root[data-theme=dark] :is(.preview-panel,.pdf-document,.pdf-loading-state){background:#373e48}:root[data-theme=dark] :is(.preview-tabs,.pdf-toolbar){background:var(--ui-raised)}:root[data-theme=dark] .pdf-document{scrollbar-color:#7d8799 #282c34}:root[data-theme=dark] .pdf-document::-webkit-scrollbar-track,:root[data-theme=dark] .pdf-document::-webkit-scrollbar-corner{background:#282c34}:root[data-theme=dark] .pdf-document::-webkit-scrollbar-thumb{background:#7d8799;border-color:#282c34}:root[data-theme=dark] .pdf-document::-webkit-scrollbar-thumb:hover{background:#a0a8b7}.theme-switcher{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--ui-border, #dce4de);border-radius:9px;background:var(--ui-subtle, #f5f7f5)}.theme-switcher button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:33px;padding:6px 5px;border:0;border-radius:6px;background:transparent;color:var(--ui-muted, #526158);font-size:11px;font-weight:500;white-space:nowrap}.theme-switcher button>svg{flex:none}.theme-switcher button:hover{background:var(--ui-hover, #eaf2ec);color:var(--ui-accent, #176b44)}.theme-switcher button[aria-pressed=true]{background:var(--ui-accent-bg, #e0efe5);color:var(--ui-accent, #176b44);font-weight:650;box-shadow:inset 0 0 0 1px var(--ui-accent-border, #bed7c7)}.theme-switcher button:focus-visible{outline:2px solid var(--ui-accent, #176b44);outline-offset:2px}
@@ -1 +1 @@
1
- import{c as e}from"./index-BgeOKYIx.js";const n=e("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);export{n as M};
1
+ import{c as e}from"./index-DF5cor0N.js";const n=e("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);export{n as M};
@@ -1 +1 @@
1
- import{c as e}from"./index-BgeOKYIx.js";const n=e("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);const a=e("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);export{a as M,n as a};
1
+ import{c as e}from"./index-DF5cor0N.js";const n=e("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);const a=e("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);export{a as M,n as a};
@@ -1 +1 @@
1
- import{c as e}from"./index-BgeOKYIx.js";const a=e("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);export{a as P};
1
+ import{c as e}from"./index-DF5cor0N.js";const a=e("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);export{a as P};
@@ -1 +1 @@
1
- import{c as e}from"./index-BgeOKYIx.js";const t=e("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{t as R};
1
+ import{c as e}from"./index-DF5cor0N.js";const t=e("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);export{t as R};
@@ -1 +1 @@
1
- import{c}from"./index-BgeOKYIx.js";const r=c("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);export{r as S};
1
+ import{c}from"./index-DF5cor0N.js";const r=c("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);export{r as S};
@@ -1 +1 @@
1
- import{c as a}from"./index-BgeOKYIx.js";const e=a("Sigma",[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]]);export{e as S};
1
+ import{c as a}from"./index-DF5cor0N.js";const e=a("Sigma",[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]]);export{e as S};